Lab 0: Prerequisite Material

Functions

In calculus, both the sets D and R are subsets of the real numbers.

Functions can be described in four different ways.

  1. Verbally
    "Take each real number times itself."
  2. Numerically
    x−2−1011.52e3$\pi$
    f(x)410 1 2.25 4 e2 9$\pi$2
  3. Visually
  4. Algebraically
    $f(x) = x^2$

In calculus, you need to be able to work with functions in all four forms, but you will most frequently work with the algebraic form. Knowing the graphical form of various functions will be helpful to you throughout calculus.

When dealing with any expression, you need to be able to determine whether or not the expression is a function. You need to understand the definition of a function to make this determination. A layperson's definition of a function might be "for each x-value, there is one and only one y-value." The first example below is a function and the second one is not. Can you explain why (in both cases)?

Example 0.1:

F
x−2−1.5−10123
y542 1 4 3 5

Even though we have y-values that are the same, each of these y-values is associated with two different x-values so F is a function.

Example 0.2:

G
x−3−2−1−1012
y−1−54 3 2 3 7

Here we have the same x-values being mapped to two different y-values so G is not a function.

One advantage of the graphical representation of an expression is that it makes it easy to determine whether or not an expression is a function of x because you can use the vertical line test.

Example 0.3:

Function

In the graph above, you can see that no matter where a vertical line is drawn, it will never intersect the curve more than once.

Example 0.4:

Not a function

In this graph, you can see that the vertical line $x = 2$ will intersect the curve twice.

Different Kinds of Functions

There are numerous kinds of functions that you will encounter in calculus. The ones included in this section are ones that you should know how to graph and you should know characteristics of them. A highlighted label indicates that the example is a graph you should memorize, because the example is used frequently in calculus.

Example 0.5

$f(x) = \Bigg\{ \begin{array}{cl} x & \text{if } x \leq 0 \\ x^2 + 2 & \text{if } x > 0 \end{array} $
Domain: all real numbers or in interval notation $(-\infty, \infty)$
Range: $(-\infty, 0] \cup (2, \infty)$

Example 0.6

$f(x) = |x| = \Bigg\{ \begin{array}{cl} -x & \text{if } x < 0 \\ x & \text{if } x \geq 0 \end{array} $
Domain: $(-\infty, \infty)$
Range: $[0, \infty)$

Some special polynomials that you should know well are graphed in the following examples.

Example 0.7

$f(x) = x$
Domain: $(-\infty, \infty)$
Range: $(-\infty, \infty)$

Example 0.8

$f(x) = x^2$
Domain: $(-\infty, \infty)$
Range: $[0, \infty)$

Example 0.9

$f(x) = x^3$
Domain: $(-\infty, \infty)$
Range: $(-\infty, \infty)$

Example 0.10

$f(x) = x^4$
Domain: $(-\infty, \infty)$
Range: $[0, \infty)$

When finding the domain of the root function, you should be careful. In calculus, we will be working with real numbers and since an even root of a negative number yields a complex number, the domain for the root function when n is a positive even integer will be $[0, \infty)$.

Example 0.11

$f(x) = \sqrt{x}$
Domain: $[0, \infty)$
Range: $[0, \infty)$

Example 0.12

$ f(x) = \sqrt[3]{x}$
Domain: $(-\infty, \infty)$
Range: $(-\infty, \infty)$

You need to be careful when finding the domain of rational functions. Be sure that you exclude from the domain x-values that would make $Q(x) = 0$. In addition, you want to be careful about x-values that make both $P(x) = 0$ and $Q(x) = 0$ as this results in the indeterminate form, $\frac{0}{0}$.

Example 0.13

$f(x) = \frac{1}{x}$ (reciprocal function)
Domain: $(-\infty, 0) \cup (0, \infty)$
Range: $(-\infty, 0) \cup (0, \infty)$

Example 0.14

$f(x) = \frac{1}{x^2}$
Domain: $(-\infty, 0) \cup (0, \infty)$
Range: $(0, \infty)$

Transformations of Functions

Now that we have encountered various types of functions, let's discuss how we can transform functions. Understanding these transformations and knowing the graphs that you have seen so far, you should be able to graph lots of functions very quickly.

Example 0.15

$y = \sqrt{x} + 3$

Example 0.16

$y = \sqrt{x} - 3$

Example 0.17

$y = \sqrt{x - 3}$

Example 0.18

$y = \sqrt{x + 3}$

Example 0.19

$y = -\sqrt{x}$

Example 0.20

$y = \sqrt{-x}$

Example 0.21

$y = 3|x| = |3x|$

Example 0.22

$y = \frac{1}{3}|x| = \left|\frac{1}{3}x\right|$

Combinations of Functions

We have already briefly discussed combining functions, using the composition of functions. We will discuss composition again as well as other operations that can be used to combine functions.

Two functions f and g can be combined to form new functions in a manner similar to the way we add, subtract, multiply, and divide real numbers.

  1. $(f + g)(x) = f(x) + g(x)$
  2. $(f - g)(x) = f(x) - g(x) $
  3. $(fg)(x) = f(x) \cdot g(x)$
  4. $\left(\frac{f}{g}\right)(x) = \frac{f(x)}{g(x)},$ $g(x) \ne 0$

Basic Trigonometric Review

Trigonometry is an essential part of the study of calculus. A good trigonometry background is essential for you as a student of calculus. This section will focus on some concepts from trigonometry that you need to know in order for you to be successful in the calculus sequence. Do not think of this section as a series of facts to memorize but rather information that you need to learn and understand.

Figure 0.1


$\begin{array}{rclcrcl} \sin(\alpha) & = & \frac{\text{opposite}}{\text{hypotenuse}} &&& \\ \cos(\alpha) & = & \frac{\text{adjacent}}{\text{hypotenuse}} &&& \\ \tan(\alpha) & = & \frac{\text{opposite}}{\text{adjacent}} & \implies & \tan(\alpha) & = & \frac{\sin(\alpha)}{\cos(\alpha)} \\ \csc(\alpha) & = & \frac{\text{hypotenuse}}{\text{opposite}} & \implies & \csc(\alpha) & = & \frac{1}{\sin(\alpha)} \\ \sec(\alpha) & = & \frac{\text{hypotenuse}}{\text{adjacent}} & \implies & \sec(\alpha) & = & \frac{1}{\cos(\alpha)} \\ \cot(\alpha) & = & \frac{\text{adjacent}}{\text{opposite}} & \implies & \cot(\alpha) & = & \frac{1}{\tan(\alpha)} \end{array}$

The Unit Circle

You need to know the values of all six trigonometric functions at any of the special angles on the unit circle. The special angles include all multiples of $\frac{\pi}{6} \; (30^{\circ})$, all multiples of $\frac{\pi}{4} \; (45^{\circ})$, all multiples of $\frac{\pi}{3} \; (60^{\circ})$, all multiples of $\frac{\pi}{2} \; (90^{\circ})$, and all multiples of $\pi \; (180^{\circ})$. If you can learn these values for the angles in quadrant I, then you should be able to translate this knowledge to any of the important angles in the other quadrants. Essentially, you need to know the Pythagorean Theorem, some geometry, and remember that you are using a unit circle (circle of radius 1). I credit the explanations that follow for cosine and sine to my colleague and friend, Dr. Christine Larson.

Most of you are more comfortable using degree measure for angles, but in calculus we always use radian measure. Now is a good time to review how to convert between the two angle measures. Hopefully you remember that $180^{\circ} = \pi$ radians. If you are given an angle in degrees and you want to convert it to radians, you will need to multiply the angle by $\frac{\pi \text{ radians}}{180^{\circ}}$. If you are given an angle in radians and want to convert it to degrees, you need to multiply the angle by $\frac{180^{\circ}}{\pi \text{ radians}}$.