<<

Elementary Functions Chapter 1, Functions c Ken W. Smith, 2013

Version 1.3, January 8, 2014

These notes were developed by professor Ken W. Smith for MATH 1410 sections at Sam Houston State University, Huntsville, TX. This material was covered in six 80-minute class lectures at Sam Houston in Summer 2013. (Sections 1.0 and 1.1 were combined in one lecture since 1.0 is a brief review.) In addition to these class notes, there is a slide presentation version of these notes and a set of Worksheets. All of these are available on Blackboard.

Contents

1 Functions and 3 1.0 Algebra excellence ...... 3 1.0.1 Exponential notation – merely an abbreviation! ...... 3 1.0.2 Kilobytes and powers of ten (an application to computer science) ...... 4 1.0.3 arithmetic: a review of A2 − B2 and other basic factoring ...... 5 1.0.4 Simplifying complicated fractions ...... 6 1.0.5 Other resources for algebra review...... 7 1.1 An introduction to functions ...... 8 1.1.1 The machine ...... 8 1.1.2 Functions as ordered pairs ...... 10 1.1.3 Functions defined by equations ...... 12 1.1.4 The ...... 14 1.1.5 Other resources for functions and function notation...... 15 1.2 Graphs of functions ...... 17 1.2.1 Using ordered pairs to draw functions ...... 17 1.2.2 Intercepts of the graph of a function ...... 19 1.2.3 Intervals in which the function rises or falls ...... 21 1.2.4 The vertical line test definition of a function ...... 22 1.2.5 Piecewise functions ...... 22 1.2.6 Other resources for graphing functions...... 26 1.3 Transformations of functions ...... 27 1.3.1 Vertical shifts ...... 27 1.3.2 Horizontal shifts ...... 28 1.3.3 Vertical expansions ...... 29 1.3.4 Horizontal expansions ...... 29 1.3.5 Combining these expansions ...... 30 1.3.6 Resources for function transformations...... 33 1.4 Symmetries of functions ...... 34 1.4.1 ...... 34 1.4.2 Periodic functions ...... 37 1.4.3 The greatest integer function and other interesting examples ...... 38 1.4.4 Resources for function symmetries...... 39 1.5 Function composition ...... 41 1.5.1 The algebra of functions ...... 41 1.5.2 Composing two functions ...... 41 1.5.3 Order is important! (f ◦ g 6= g ◦ f!)...... 43 1.5.4 Chaining functions together ...... 44 1.5.5 Resources for the composition of functions...... 45

1 1.6 Inverse functions ...... 46 1.6.1 The concept of ...... 46 1.6.2 Changing the domain in order to create an inverse function...... 47 1.6.3 Finding the inverse of a function ...... 48 1.6.4 The geometric meaning of inverse (and the horizontal line test) ...... 50 1.6.5 The mathematical meaning of “inverse” ...... 50 1.6.6 Requirements for the existence of an inverse function* ...... 51 1.6.7 Resources for inverse functions...... 52

2 1 Functions and Polynomials 1.0 Algebra excellence Before we study the elementary functions of science and calculus, we need some comfort with algebra. In this brief lecture we review two important ideas: (1) computations using exponential notation and (2) operations of polynomial arithmetic. These are two major algebra computations we will do throughout this class (and scientists will use throughout their careers!) This review is brief and is not intended to be comprehensive. Our class will assume that students are comfortable with most of the major concepts of elementary and intermediate algebra and we will not, in general, review those concepts in this class.

1.0.1 Exponential notation – merely an abbreviation! We abbreviate x · x · x by x3. This notation (merely an abbreviation!) quickly leads to some rules on how one should treat exponents. For example, since

x3 · x2 = (x · x · x) · (x · x) = x5 then when we multiply objects with the same base (x) we should add the exponents:

xmxn = xm+n. (1)

Similarly, x3 x · x · x x x x = = = x, x2 x · x 1 x x so when we divide objects with the same base (x) we should subtract the exponents:

xm = xm−n. (2) xn

What if we use exponents in , that is, we raise x to a power and then raise that result to a second power? For example,

(x3)2 = (x · x · x)2 = (x · x · x)(x · x · x) = x · x · x · x · x · x = x6.

Here our “abbreviation” leads us to multiplying exponents. We may generalize from this that

(xm)n = xmn. (3)

Repeated leads to multiplying exponents.

Our understanding of the exponent “abbreviation” has quickly led us to three natural rules about manipulating exponents. These algebra “rules” are merely the effects of the algebraic symbolism.

There are other effects of our algebraic symbolism. Once we get used to the impact of this notation, we see that since multiplying by 1 leaves a number unchanged and since multiplication by x0 also leaves a number unchanged (xnx0 = xn+0 = xn) then 1 and x0 must be the same:

x0 = 1. (4)

3 We can extend our exponent notation to rational exponents. Since

1 2 1 ·2 1 (x 2 ) = x 2 = x = x and since √ ( x)2 = x

1 √ then x 2 must represent x. More generally, denominators in exponents represent roots:

1 √ x q = q x. (5)

Some examples. First we practice our understanding of exponentiation:

2 1. Simplify 8 3 . 2 1 We solve this by recognizing that the fractional exponent 3 represents ( 3 )(2), so we will take a 1 cube root (that is the meaning of the exponent 3 ) and then we will square the result. Solution. √ 2 1/3 2 3 2 2 8 3 = (8 ) = ( 8) = 2 = 4.

Here is another, similar example.

3 2. Simplify 4 2 . Solution. √ 3 1/2 3 3 3 4 2 = (4 ) = ( 4) = 2 = 8

1.0.2 Kilobytes and powers of ten (an application to computer science) Here is an application appearing in a number of computer science computations. We note that 210 = 1024 while 1000 = 103. The computer scientist works with computer registers which use bits (zeroes and ones) and so storage and memory are measured in powers of two. (We say that computer science computations are done in base two.) Yet the language of computer science is often based on our traditional powers of ten, where Greek prefixes such as kilo- represent a thousand, mega- represents a million and giga- a billion. However, to a computer scientist, the prefix kilo- really represents 210, not 103. A kilobyte is 210 = 1024 bytes; a gigabyte is 230 bytes. Let us approximate 230 as a power of ten: Since 230 = (210)3 and since we approximate 210 or 103 then 230 = (210)3 ≈ (103)3 = 109.

Exercise. How many digits are there in 2300?

Solution. Write 2300 = (210)30 ≈ (103)30 = 1090. Now 1090 = 1 × 1090 is 1 followed by 90 zeroes so 1090 has 91 digits. Therefore 2300 should have 91 digits. (A detour to WolframAlpha and a quick computation indeed gives

2300 = 2037035976334486086268445688409378161051468393665936250636140449354381299763336706183397376

You can check that this has 91 digits! But since 210 > 103, it turns out that 2300 is more closely approximated by 2 × 1090 than 1 × 1090 .)

4 Practice. Here are some sample problems from an old precalculus quiz.

Simplify the following expressions: √ 3 x6 1. √ x2

1 (x6) 3 x−2 2. x4 Solutions. √ 1. We follow the meaning of the exponent, rewriting expressions such as 3 x6 as x2 since (x2)3 = x6. So √ 3 x6 x2 √ = = x. x2 x

2 6 1 2 2 −2 x 2. We first simplify the numerator, noting that (x ) 3 = x and x x = = 1. So x2

1 (x6) 3 x−2 x2x−2 1 = = or x−4 x4 x4 x4

1.0.3 Polynomial arithmetic: a review of A2 − B2 and other basic factoring There are some basic polynomial expansion concepts that will appear throughout precalculus, calculus, and computations in the sciences. For example, at one point we learned to use the distributive law to expand (“FOIL”) expressions like:

(x + 5)(x − 3) = x2 − 3x + 5x − 15 = x2 + 2x − 15 and then to factor expressions like x2 + 2x − 15 by reversing this process.

If we expand the expression (A + B)2 = (A + B)(A + B) we discover, in addition to the obvious squares A2 and B2 the “cross term” 2AB. However, if instead we expand (A + B)(A − B) we obtain A2 − B2; the cross term involved both AB and −AB and these cancelled out. We will use these basic patterns repeatedly in this course:

(A + B)2 = A2 + 2AB + B2 (6) and (A + B)(A − B) = A2 − B2 (7) In the first case (equation 6), notice the existence of a middle term caused by our polynomial expansion. Don’t make the “freshman” mistake of thinking that (A + B)2 is just the sum of the squares of A and B! In the second case (equation 7), we see that the difference of two squares nicely factors into the of the sum and difference of the elements.

Examples. Here are some other simplification problems. Each involves factoring of some type. Notice that the expression we are factoring in problems 2 and 3 have the same pattern as problem 1; recognizing that pattern leads us to our solution.

Simplify:

5 x2 − 9 1. x + 3 x4 − 9 2. x2 + 3 x − 9 3. √ x + 3 Solutions. x2 − 9 (x − 3)(x + 3) 1. = = x − 3. x + 3 x + 3 x4 − 9 (x2 − 3)(x2 + 3) 2. = = x2 − 3. x2 + 3 x2 + 3 √ √ x − 9 ( x) − 3)( x + 3) √ 3. √ = √ = x − 3. x + 3 x + 3

1.0.4 Simplifying complicated fractions Once we learn these abbreviations that we call “exponentiation”, we can often use polynomial arithmetic (factoring polynomials) to simplify an expression. For example, we may need to simplify a complex fraction such as

2x3 + x2 3 2 2x + x 1 4 ÷ = x . x4 x2 1 x2 1 Recall that dividing by is the same as multiplying by x2 so x2

2x3+x2 3 2 3 2 x4 2x + x 2 2x + x 1 = ( 4 )(x ) = 2 x2 x x We factor the numerator and simplify.

x2(2x + 1) x2 = ( )(2x + 1) = 1(2x + 1) = 2x + 1. x2 x2

2x3 + x2 A Worked Problem. Simplify x4

x2 1 Solution. Factor the numerator: 2x3 + x2 = x2(2x + 1). Then simplify = . So x4 x2 2x3 + x2 x2(2x + 1) 2x + 1 = = . x4 x4 x2

To succeed in calculus, we need comfort with these algebra techniques. Practice these techniques through- out the semester, so that you can indeed be comfortable with your algebra!

6 1.0.5 Other resources for algebra review The material in this section is review material in a precalculus class and is usually not explicitly covered in a textbook. In the textbook by Ratti & McWaters, Precalculus, A Unit Circle Approach, 2nd ed., c. 2014, here at Amazon.com this material appears in appendices A.1, A.3, A.4. In the textbook by Stewart, Precalculus, Mathematics for Calculus, 6th ed., c. 2012, (here at Amazon.com) this material appears in sections 1.2, 1.3 and 1.4. (In July 2013 the first textbook was $147 at Amazon.com and the second textbook was $136 at Amazon.com They are even more expensive in campus bookstores.)

There are lots of online resources for reviewing algebra. Here are additional sets of resources, in addition to the class notes and class presentations.

1. Dr. Paul’s Dawkins’ webpage of algebra notes (Dr. Dawkins is a professor at Lamar University.) There is good review material at (a) integer exponents and (b) rational exponents and (c) radicals.

2. There are some nice algebra videos from Khan Academy. Khan Academy is a good place to review your algebra! 3. The textbook at Understanding Algebra by James Brennan is free and available online.

Homework. As class homework, please complete Worksheet 1.0A, Algebra Excellence, available through the class webpage or Blackboard.

7 1.1 An introduction to functions We study the most fundamental concept in mathematics, that of a function. In this lecture we first define a function and then examine the domain of functions defined as equations involving real numbers.

1.1.1 The function machine Functions are the most important concepts in mathematics. In this class we will study the so-called “elementary” functions. To understand the elementary (most common) functions in mathematics, we need to first understand functions and function notation.

Definition of a function and function notation. A function f from a set X to a set Y assigns to each element of X an element of Y . We could write

f : a 7→ b to indicate that f sends a to b. But the most common notation (and the notation we will use) is

f(a) = b.

This notation means that when the input a is inserted into the function f, the output is b.

Some people picture a function as a machine, dropping x-values into one end of the machine and picking up y-values at the other end. Here is a picture from Wikipedia:

Figure 1. The function machine (from Wikipedia, author Wybailey, available under the Creative Commons license.)

The set X of inputs is called the domain of the function f. The set Y of all conceivable outputs is the of the function f. The set of all outputs is the range of f. The range is a of Y .

The most important criteria for a function is this:

A function must assign to each input a unique output.

We cannot allow several different outputs to correspond to an input.

8 Here (from Wikipedia) is an example of a function from a set X to the set Y . The function maps 1 to D, 2 to C and 3 to C. Note that each element of X has a unique output in Y . (The function is not named here.)

Figure 2. A function

However the below is not a function. Some items in X are not mapped anywhere; worse, the item 2 has two outputs, both B and C.

Figure 3. Not a function (Figures 2 and 3 are from Wikipedia, author Bin im Garten, available under the Creative Commons license.)

Functions occur naturally in our world. When we pull out an attribute of an object, we are essentially creating a function. (We can maps elements to elements, they do not need to be numbers!) For example, the set X below has polygons with various colors. The question, “What is the color of a polygon?” could be viewed as a function that maps to polygons to colors.

9 Figure 4. The function “color” (from Wikipedia, author Wybailey, available under the Creative Commons license.)

In this example, the function from the set X to the set Y maps the four polygonal shapes in X to their color. We might name this function “color”, so, for example,

color(yellow rectangle) = yellow

Functions occur throughout our modern technological society. Every US citizen is assigned a social security number. The social security number could be viewed as a function SSN mapping US citizens to nine digit numbers. If this is to truly be a function then for each input (a US citizen) there must be a unique output. We don’t want anyone to have two (or more) social security numbers or there will be confusion about their identity (and worse – from the government’s point of view – confusion about their wages and taxes!) In a similar way, at Sam Houston State University, all students and staff (current and past) are assigned a Sam ID. This is (as of 2013) a nine-digit number which begins with three zeroes. We can view this as a function SamID, mapping students/staff to nine digit numbers. For example,

SamID(Ken W Smith) = 000354765.

This function exists so that data about students/staff (classes, grades, salary, etc.) can be kept in a computer database, tracked by a single number.

1.1.2 Functions as ordered pairs A function maps elements of a domain D into a codomain C. Although functions in science are often defined by equations, they do not have to be. (The SamID function is not defined by an equation.) In the most general form, a function is a collection of ordered pairs satisfying certain requirements. For example, we might consider the sets D := {1, a, b, z, orange} and C := {r, s, t, u, v, 1000}. We could create a function f by assigning to each member of D a member of C. For example:

input output 1 r a s b r z 1000 orange 1000

This is a function: the domain is clearly the elements of D and each element of D has a unique output!

10 Notice that not all elements of the codomain appear as outputs and that some of them occur as outputs more than once. That is fine; the restrictions in the definition of function focus primarily on the domain D. If the domain is finite, we may define a function by a table (as above) or by a list of ordered pairs (the entries in the table.) For example, we can restate the function f above by writing f as a set of ordered pairs:

f = {(1, r), (a, s), (b, r), (z, 1000), (orange, 1000)} The range of a function is the collection of outputs of the function. This is a subset of the codomain. Although the codomain of the function above is the set C = {r, s, t, u, v, 1000}, the range of the function f defined above is {r, s, 1000}. (Think of the codomain as the collection of potential outputs and the range as the collection of true outputs.)

Worked Exercise. Consider the function with domain D = {−2, −1, 0, 1, 2}, codomain the real numbers R, defined by the formula g(x) = x2. 1. Display the function g in tabular form, and

2. Display the function g as a set of ordered pairs. 3. Give the range of the function g.

Solution. 1. As a table, we can write out the function g as

x g(x) −2 4 −1 1 0 0 1 1 2 4

2. As a set of order pairs, g = {(−2, 4), (−1, 1), (0, 0), (1, 1), (2, 4)}

3. The range of the function g is {0, 1, 4}.

Another example. Consider the function defined in figure 2, earlier.

11 Write this function in both tabular form and as a set of ordered pairs.

Solution. In tabular form we have: X Y 1 D 2 C 3 C As ordered pairs, the function is the set

{(1,D), (2,C), (3,C)}.

1.1.3 Functions defined by equations Most of the functions that we will explore in mathematics and science are defined by some equation. For example, consider the function f : R → R defined by mapping a to the number that is one more than its square, that is f(x) = x2 + 1. This function maps real numbers (the set R) to real numbers and so the domain of f is R and the codomain of f is R. However, the range of f is the set of all real numbers greater than or equal to 1. In notation,the domain of f is (−∞, ∞) and the range is [1, ∞.).

We can often define a function implicitly in an equation involving two variables. Traditionally we use the letter x for the input variable and the letter y for the output variable. The equation x2 − y = −1 defines the function f(x) = x2 + 1 discussed above. As another example, consider the linear equation

2x + 3y − 4 = 0.

This equation can be viewed as defining a function with inputs x and outputs y. From this viewpoint, we can solve for y and get 3y = 4 − 2x and so 1 y = (4 − 2x). 3 We might then explicitly define the function 1 f(x) = (4 − 2x). 3 Note that our choice of x as input and y as output was somewhat arbitrary. We could have decided (contrary to custom!) that y is the input and x is the output. Then, solving for x, we have

2x = 4 − 3y so 1 x = (4 − 3y) 2 and so we can create the function x = g(y) (with input y and output x!) 1 g(y) = (4 − 3y). 2

12 Some worked exercises.

1. Does the equation x2y = 4 define y as a function of x? (If it does, give the domain of the implied function.) 1 Solution. We attempt to solve for y. We may multiply both sides of the equation by as long x2 4 as x is not zero. This gives us y = . Is there a problem with x = 0? No, x = 0 does not allow x2 x2y = 4, so x will never be zero in this equation. 4 YES; y = . x2 The domain of this function is all real numbers except zero. In interval notation this is (−∞, 0) ∪ (0, ∞).

2. Does the equation xy2 = 4 define y as a function of x? 1 Solution. If we attempt to solve for y, we multiply both sides of the equation by (as long as x 4 x 6= 0) and so we have y2 = . But now, what is y? y could be positive or negative – there will x generally be two choices here. NO; for example, if x = 1 then we don’t know if y = 2 or y = −2.

3. Does the equation x2y = 0 define y as a function of x? (Why/why not?) Solution. Although it might be tempting to solve for y, first notice that if x is zero then y could be 0 or 1 or 2.71828 or anything! So the input x = 0 does not give a unique output. This is not a function. NO; if x = 0 then y could be anything. (Note how this is different than problem 1. In problem 1, x = 0 is not a possible input in the equation. But here x = 0 is a possibility for a solution to the equation!)

More examples. Let us practice the function notation, f(x). A formula for f(x) tells us how the input x leads to the output f(x). For example, suppose f(x) = x2 − 9. Compute: 1. f(0), 2. f(1), 3. f(−1), 4. f(−5), 5. f(−x) 6. f(x + h), √ 7. f( x), 8. f(2a + 1), 9. −f(x) + 2 Solutions. If f(x) = x2 − 9 then

13 1. f(0) = 02 − 9 = −9 .

2. f(1) = (1)2 − 9 = 1 − 9 = −8 .

3. f(−1) = (−1)2 − 9 = 1 − 9 = −8 .

4. f(−5) = (−5)2 − 9 = 25 − 9 = 16 .

5. f(−x) = (−x)2 − 9 = x2 − 9 .

6. f(x + h) = (x + h)2 − 9 = (x2 + 2xh + h2) − 9 = x2 + 2xh + h2 − 9 , √ 7. f( x) = x − 9 ,

8. f(2a + 1) = (2a + 1)2 − 9 = (4a2 + 4a + 1) − 9 = 4a2 + 4a − 8 ,

9. −f(x) + 2 = −(x2 − 9) + 2 = −x2 + 11 .

1.1.4 The domain of a function

The domain of a function is generally viewed as the largest√ possible set of inputs into the function. For example, the domain of the function f(x) = x is all real numbers greater than or equal to zero. In interval notation we write [0, ∞). Note that we cannot evaluate f(x) at negative numbers (if we assume we are always working with real numbers.) We often need to find the domain of a function and if the inputs are real numbers, express the domain in interval notation. When we do this, it is often easier√ to ask the question, “What is not in the domain?”. For example, in the square root function, f(x) = x we might ask the question, “Which numbers do not have a square root?” Since the square of a real number cannot be negative, then our answer is “We cannot take the square root of negative numbers.” So the domain must√ be numbers which are not negative, that is, zero and positive real numbers. So the domain of f(x) = x is [0, ∞). (We can indeed take the square root of 0 so we want to include 0 in the domain.)

1 2x − 3 Example. Find the domain of the function g(x) = + + x − 5. x + 2 2x + 1

Solution. What numbers cannot serve as input to g(x)? Since we cannot have denominators equal to 1 zero then x = −2 cannot be an input; neither can x = − 2 . So the domain of this function g is all real 1 numbers except x = −2 and x = − 2 . There are several ways to write the domain of g. Using set notation, we could write the domain as 1 {x ∈ : x 6= −2, − }. R 2

1 This is a precise symbolic way to say, “All real numbers except −2 and − 2 .” We could also write the domain in interval notation: 1 1 (∞, −2) ∪ (−2, − ) ∪ (− , ∞). 2 2 This notation says that the domain includes all the real numbers smaller than −2, along with all the real 1 1 numbers between −2 and − 2 , along with (in addition) the real numbers larger than − 2 .

14 Some worked exercises. √ 1. Find the domain of the function f(x) = 2 − x Solution. Since the square root function requires nonnegative inputs, we must have 2 − x ≥ 0. Add x to both sides of the inequality to get 2 ≥ x. In interval notation this is (−∞, 2]. Answer: The domain is (−∞, 2].

√ 2. Find the domain of the function f(x) = x − 1 Solution. Since the square root function requires nonnegative inputs, we must have x − 1 ≥ 0. If we add 1 to both sides of the inequality we have x ≥ 1. Answer: The domain is [1, ∞).

√ x − 1 3. Find the domain of the function f(x) = x − 3 Solution. Again, as in the previous problem, we must have x ≥ 1 but we must also prevent the denominator from being zero, so x cannot be 3, either. Answer: The domain is [1, 3) ∪ (3, ∞).

√ x − 1 4. Find the domain of the function f(x) = x2 − 6x + 8 Solution. We must have x ≥ 1 and we must prevent the denominator from being zero. The denominator factors as x2 − 6x + 8 = (x − 2)(x − 4), so x cannot be 2 or 4. So our answer is all real numbers at least as big as 1 and not equal to 2 or 4. In interval notation, our answer is: The domain is [1, 2) ∪ (2, 4) ∪ (4, ∞.)

1.1.5 Other resources for functions and function notation In the free textbook, Precalculus, by Stitz and Zeager (version 3, July 2011, available at stitz-zeager.com) this material is covered in sections 1.3-1.5. Other textbook resources on function definitions are: 1. In the free textbook, Precalculus, An Investigation of Functions, by Lippman and Rassmussen (Edition 1.3, available at www.opentextbookstore.com) this material is covered in sections 1.1-1.2. 2. In the textbook by Ratti & McWaters, Precalculus, A Unit Circle Approach, 2nd ed., c. 2014, here at Amazon.com this material appears in section 1.3. In the textbook by Stewart, Precalculus, Mathematics for Calculus, 6th ed., c. 2012, (here at Amazon.com) this material appears in section 2.1. (In July 2013 the first textbook was $147 at Amazon.com and the second textbook was $136 at Amazon.com They are even more expensive in campus bookstores.)

There are lots of online resources for studying the basic function concepts. Here are some I recommend. 1. Khan Academy videos on functions 2. Dr. Paul Dawkins’ notes on the definition of a function 3. Wikipedia’s explanation of functions. 4. This video at Education Portal 5. A Math Insight video about the “function machine” is here; check out Meat-a-morphosis, here.

15 Homework. As class homework, please complete Worksheet 1.1A, Definition of a function, available through the class webpage or on Blackboard.

16 1.2 Graphs of functions 1.2.1 Using ordered pairs to draw functions If we describe our function using an equation y = f(x) with inputs x and outputs y, then we may view the inputs, x, as elements of a horizontal line in the plane and record outputs y on a vertical line. The graph of a function in the Cartesian plane is the set of values (x, f(x)). Combining functions with the geometry of the plane gives us a nice visual way to see and understand a function. This idea was first introduced in the 17th century by (among others) Rene Descartes and so the plane in which we draw our graph is called the Cartesian plane. We graph the function f with x values increasing along a horizontal axis and y values increasing along a vertical axis. It is customary to draw the x-axis along the horizontal line where y = 0 and draw the y-axis along the vertical line where x = 0. Most graphs of functions y = f(x) can be sketched by creating a table of values (x, y) and then making some reasonable assumptions as to how these points should be connected. For example, consider the function f(x) = x2. We can create a table of values. (Notice that we input some values which are not integers!)

x f(x) −2 4 −1 1 −0.5 0.25 0 0 0.5 0.25 1 1 2 4

We can then plot the points (−2, 4), (−1, 1), (−0.5, 0.25), ... on the Cartesian plane and use these points to guide us on filling in the rest of the curve. Of course modern software (and graphing calculators) can do this for us, plotting hundreds of points and connecting the dots....

Figure 5. The graph of the function f(x) = x2 (created by the author, using Sage.)

17 Some worked examples. For each function, create a table of values (with at least 5 points, where at least one of which does not have integer value for x) and then graph the function. 1. f(x) = x3 − x 2. f(x) = |x|. √ 3. f(x) = 3 x

Solutions. (The graphs in this section were generated by the author using Sage.) 1. Here is a table of a few values for the function f(x) = x3 − x x f(x) = x3 − x −2 −6 −1 0 −0.5 −0.625 0 0 1 0 2 6 If we connect the dots, we should get something like this:

2. Here is a table of values for the function f(x) = |x|.

x f(x) = |x| −2 2 −1 1 −0.5 0.5 0 0 1 1 2 2

If we connect the dots, we should get something like this:

18 √ 3. Here is a table of values for the function f(x) = 3 x √ x f(x) = 3 x −8 −2 −1 −1 1 1 − 8 − 2 0 0 1 1 8 2

If we connect the dots, we should get something like this:

1.2.2 Intercepts of the graph of a function An x-intercept is a place where the graph touches the x-axis, that is, where y = 0. A y-intercept is a place where x = 0 so that the function has a point on the y-axis. Given an equation for a function f(x), it is easy to determine the y-intercept: simply compute f(0). It can be harder to find the x-intercepts of the function since we are seeking to solve the equation f(x) = 0 for x-values. Here are some examples of how one might approach this problem.

19 Examples. Find the intercepts of the following functions 1. f(x) = x2 − 2x − 3. (x + 1)(x2 − 6x + 8) 2. g(x) = . x + 2 1 2x − 3 3. h(x) = + + x − 5. x + 2 2x + 1

Solutions. 1. f(x) = x2 − 2x − 3 has y-intercept (0, −3) since f(0) = −3. To find the x-intercepts of the function, we need to solve the equation 0 = x2 − 2x − 3. We may factor x2 − 2x − 3 = (x − 3)(x + 1) and solve 0 = (x − 3)(x + 1). The product of two expressions is zero if and only if one of the expressions is zero so either 0 = x − 3 or 0 = x + 1. Thus the x-intercepts occur where x = 3 or x = −1. So the x-intercepts are (−1, 0) and (3, 0). 2. The function g(x) is a “”, that is, a ratio of two polynomials. We should take a moment and consider the denominator of this function. The denominator is zero when x = −2 and so the function g(x) is undefined at x = −2. x = −2 cannot then give us any point on the graph, much less an intercept. (x + 1)(x2 − 6x + 8) (1)(8) To find the y-intercept of g(x) = , merely plug in 0: g(0) = = 4 so the x + 2 2 y-intercept is (0, 4). (x + 1)(x2 − 6x + 8) To find the x-intercept of g(x) = , we set the function equal to zero and solve: x + 2 (x + 1)(x2 − 6x + 8) 0 = . x + 2 Multiply both sides by the numerator x + 2

0 = (x + 1)(x2 − 6x + 8)

and factor the expression on the right:

0 = (x + 1)(x − 2)(x − 4)

The expression on the right is zero whenever any of its terms are zero, so the x-intercepts are (−1, 0), (2, 0) and (4, 0).

1 2x−3 3. The y intercepts of the function h(x) = x+2 + 2x+1 + x − 5 occur where x = 0 so 1 0 − 3 1 15 y = + + 0 − 5 = − 3 − 5 = − . 0 + 2 0 + 1 2 2 15 Thus the y-intercept is (0, − ). 2 The x-intercept is where y = 0 so we examine the equation 1 2x − 3 0 = + + x − 5 x + 2 2x + 1 and solve for x.

20 Multiply both sides by the denominators x + 2 and 2x + 1 to clear denominators and we have

0 = (2x + 1) + (x + 2)(2x − 3) + (x + 2)(2x + 1)(x − 5).

Expanding this out and simplifying, we have

0 = (2x + 1) + (2x2 + x − 6) + (2x3 − 5x2 − 23x − 10)

so 0 = 2x3 − 3x2 − 20x − 15. A graphing calculator helps us find that x = −1 is one of the solutions to this equation; there are two more solutions which are a bit more complicated, involving the quadratic formula; these are 1 √ (5 ± 3 5). We will look more at this problem later. 4

1.2.3 Intervals in which the function rises or falls A variety of applications in science require that we understand the intervals where a function is rising or falling and that we be able to compute the local minimums and locals maximums of a function. We will want to know the x values for which f(x) is as large as possible (in some specific region) or where f(x) is as small as possible. Later, in calculus, we will find a universal approach to this very important problem, but at this stage, we are content to draw graphs and find minimums and maximums visually.

Example. Consider the function f(x) = x4 − 8x2 with graph given below:

Figure 6. The graph of the quartic polynomial f(x) = x4 − 8x2.

Where is this function increasing? Where is it decreasing? What are the low points on the curve (local minimums)? What are the high points on the curve (local maximums)? From the picture we can see that the function drops to the point (−2, −16), rises to the origin (0, 0), drops again to the point (2, −16) and then rises after that. So the function is decreasing for x-values in the region (−∞, −2) ∪ (0, 2), and rising in the region (−2, 0) ∪ (2, ∞). The local minimums are (−2, −16) and (2, −16); a local maximum occurs at the point (0, 0).

21 1.2.4 The vertical line test definition of a function In the definition of function, we require that a function have a unique output for each input. The geometric version of this requirement is the “vertical line test”. The points in the plane corresponding to a fixed x-value form a vertical line. For example, the line x = 3 is a vertical line consisting of all points of the form (3, y) for any value of y. If our graph is the graph of a function then each vertical line will touch the graph in exactly one point, at the y value y = f(x). So to see if our graph is the graph of a function, draw vertical lines and see if these lines intersect the graph exactly once. In the below (figure 7), a vertical line (in yellow) corresponding to a particular x-value hits the curve at exactly one point. This should be true for all the elements in the domain of the function.

Figure 7. The vertical line test (from Wikipedia, author Wybailey, available under the Creative Commons license.)

1.2.5 Piecewise functions Functions need not be described by an equation. Some, like the function “color” described in section 1.1, will not involve equations at all. Other functions can be described, not by a single formula, but by a collection of them. Many functions involve jumps of some type, or different formulas depending upon various of the domain. A piecewise function is a function which is described for “pieces” of the real line. It will obey one rule in one region and another rule in another region. One of the simplest such functions might be described by the question, “How much does it cost to mail a letter?” Let us assume that we are mailing a letter that weights less than 4 ounces. The US Postal Service offers a price chart which is copied below.

22 Figure 8. Cost of mailing a letter (December 2012.)

The leftmost column describes an input variable, the weight of the letter in ounces. The second column gives the cost if the first-class mail is an ordinary letter. One should interpret this information as follows:

If the letter is between 0 and 1 ounce in weight, the cost is 45 cents.

If the letter is more than 1 ounce in weight, but no more than 2 ounces, the cost is 65 cents. If the letter is more than 2 ounces in weight, but no more than 3 ounces, the cost is 85 cents. If the letter is more than 3 ounces in weight, but no more than 3.5 ounces, the cost is $1.05. (105 cents)

If the letter is more than 3.5 ounces in weight (but less than 4 ounces), then one should use a large envelope and the cost is $1.50.

(Although the USPS chart described mail costs for mail up to 13 ounces, for convenience, I have assumed that we are not mailing anything heavier than 4 ounces.) We can describe this “cost of first-class” function as follows. Here the input x, is weight in ounces, and   45, if 0 ≤ x ≤ 1   65, if 1 < x ≤ 2 the output f(x) is cost in cents. The cost of a letter of weight x is then f(x) = 85, if 2 < x ≤ 3   105, if 3 < x ≤ 3.5  150, if 3.5 < x ≤ 4

Below is the graph of this function. Note the use of open circles to describe points not part of the function graph and closed dark circles to describe points that are on the function graph, at the end of a curve.

23 Figure 9. Graph of the piecewise function defined by postal rates.

Three worked examples. Consider the function defined in “pieces” as follows:

 2x + 1, if x ≤ 0 f(x) = x2 + 1, if x > 0

Compute f(2), f(0), f(−2) and graph this function.

Solution. Here, if x ≤ 0 then the function obeys the rule f(x) = 2x + 1. Thus f(−2) = 2(−2) + 1 = −3 and f(0) = 2(0) + 1 = 1. But if x > 0 then f(x) = x2 + 1 and so f(2) = 22 + 1 = 5. The graph of the function appears in figure 10. Notice how the two “pieces” are glued together; we can see the line y = 2x + 1 in the region where x ≤ 0 and the y = x2 + 1 in the region to the right of the y-axis.

Figure 10. A piecewise defined function.

24 Example 2. Another example: graph the function  2x + 2, if x ≤ 1  f(x) = 4, if x > 1

Then compute f(0), f(1), f(2) and f(100).

Solution. Since x = 0 and x = 1 both fall in the region where x ≤ 1, we have that f(0) = 2(0) + 2 = 2 and f(1) = 2(1) + 2 = 4. Since x = 2 and x = 100 both fall in the region where x > 1 then f(2) = 4 and f(100) = 4. Here is the graph:

Figure 11. A function defined in two pieces Example 3. Graph the function below and compute f(−1), f(0.5), f(1.5), f(2.5), f(3.5).

 2  x , if x ≤ 0   0, if 0 ≤ x < 1 f(x) = 1, if 1 ≤ x < 2   2, if 2 ≤ x < 3  x, if x ≥ 3

Solution. f(−1) = (−1)2 = 1 since x = −1 ≤ 0. But f(−0.5) = 0 since 0 ≤ 0.5 < 1 Similarly f(1.5) = 1, f(2.5) = 2 and f(3.5) = 3.5. The graph is:

Figure 12. A function defined in five pieces

25 Note in Figure 12 the use of closed dark circle to indicate that the point (such as (1, 1)) is on the graph and the use of light, open circles to indicate that a point (such as (1, 0) or (2, 1)) is not on the graph.)

1.2.6 Other resources for graphing functions In the free textbook, Precalculus, by Stitz and Zeager (version 3, July 2011, available at stitz-zeager.com) this material is covered in section 1.6.

In the free textbook, Precalculus, An Investigation of Functions, by Lippman and Rassmussen (Edition 1.3, available at www.opentextbookstore.com) this material is covered in section 1.3.

In the textbook by Ratti & McWaters, Precalculus, A Unit Circle Approach, 2nd ed., c. 2014, here at Amazon.com this material appears in section 1.4. In the textbook by Stewart, Precalculus, Mathematics for Calculus, 6th ed., c. 2012, (here at Amazon.com) this material appears in sections 2.2 and 2.3. (In July 2013 the first textbook was $147 at Amazon.com and the second textbook was $136 at Amazon.com They are even more expensive in campus bookstores.)

There are lots of online resources for learning about graph of elementary functions. Here are some I recommend.

1. Dr. Paul’s online notes on graphing functions 2. A Khan Academy video on graphing functions

Homework. As class homework, please complete Worksheet 1.2A, Functions and their graphs, available through the class webpage.

26 1.3 Transformations of functions In this course we learn to identify a variety of functions: linear functions, quadratic and cubic functions, general polynomial and rational functions, exponential and logarithmic functions, and inverse trig functions. Many of these functions can be identified by their “shape”, by general prop- erties of their graph. Instead of trying to remember the shapes of millions of different functions, we will identify some basic functions and then recognize transformations of the functions that give (essentially) the same shape. For example, the graphs of the functions f(x) = x2 and f(x) = 3(x − 5)2 + 7 are the same shape. Indeed, if one plots them on the x-interval [−1000, 1000] one gets the following pictures (below, in figure 15.) The graph of y = x2 is on the left; the graph of y = 3(x − 5)2 + 7 is on the right. If one looks carefully, one can see that the labels on the y-axis have changed, otherwise the graphs are the same.

Figure 13. Graphs of y = x2 and y = 3(x − 5)2 + 7 (Generated by the author using Sage.)

There are four types of transformations we will study in this section. In the first two types, we simply shift the graph by a fixed amount, either vertically or horizontally. In the last two types of transformations, we expand/shrink the graph by a fixed ratio, either vertically or horizontally.

1.3.1 Vertical shifts It is easy to shift the graph y = f(x) up by a fixed positive amount c. Just add c to the y-value, that is, create the graph of y = f(x) + c. If we can shift up by a fixed amount then shifting down is also easy – just make c negative. If c is negative then the graph of y = f(x) + c shifts the graph down by |c|. (For example, y = f(x) − 2 will shift the graph down by 2.)

Consider the graph of y = x2. The graph of y = x2 + 1 shifts the graph of y = x2 up one unit. The graph of y = x2 + 3 shifts the graph of y = x2 up three units. The graph of y = x2 − 2 shifts the graph down by two units. Let’s graph these all on one plane (see figure 14) to show the effect of the shifting.

27 Figure 14. Graphs of y = x2 (thick black curve), y = x2 + 1 (green), y = x2 + 3 (blue), y = x2 − 2 (red), (Generated by the author using Sage.)

1.3.2 Horizontal shifts Horizontal shifts are very similar, but their is a subtlety here. Because the horizontal x-axis represents inputs to the function, if we want to shift the curve to the right (in the positive x-direction) by a positive amount c then we need to “prepare” the input by subtracting the amount c from x before it is inserted into the function. This may be the opposite of what one expects, but by subtracting c from x, we make an input x − c on the left of x act like the input x and this shift, moving x − c to x is a shift to the right. Below in figure 15, as an example, are the graphs of y = x2, y = (x − 1)2 and y = (x − 3)2. Notice that by replacing x by x−3, we have shifted the graph of y = x2 three to the right, in the positive x-direction. If we want to shift the graph left by a positive amount c then we add c to x before inserting it into the function. For example, the graph of y = (x + 2)2 will shift the parabola of y = x2 to the left by 2.

Figure 15. Graphs of y = x2 (thick black curve), y = (x − 1)2 (green), y = (x − 3)2 (blue), y = (x + 2)2 (red), (Generated by the author using Sage.)

28 1.3.3 Vertical expansions What if we want to expand or shrink the image of our graph? We can do this in the vertical (y-direction) simply by multiplying our function by a constant. For example, if we have the graph y = f(x) then the graph of y = 3f(x) will stretch (expand) the graph by a factor of 3 in the y-direction. The graph of 1 y = f(x) will contract (shrink) the graph by a factor of 3. 3 Multiplying f(x) by −1 will flip the graph over, reflecting it across the x-axis, replacing positive y-values by negative ones and conversely, replacing negative y-values by positive ones. This is our first example of a reflection. The graph of y = −f(x) is a reflection of y = f(x) across the x-axis.

1.3.4 Horizontal expansions We can also expand or contract a graph in the horizontal direction, along the x-axis. But, just like horizontal shifts, because the horizontal axis represents the input variable, the action may be the reverse of what one might expect. To expand the graph horizontally by a factor of 2, we must divide x by 2 before inserting it into the function. x For example, here in thick black ink is the graph of y = x2. In lighter blue ink is the graph of y = ( )2. 2 By dividing by two, we have stretched the graph in the horizontal direction by a factor of 2.

x Figure 16. Graphs of y = x2 (thick black curve), y = ( )2 (thin blue), 2 If instead we multiply the input variable x by a constant, we will contract (shrink) the graph in the horizontal direction. In the picture below, the graph of y = x2 is again a thick black curve; the graph of y = (2x)2 is the thinner green curve and if we graph y = (5x)2 we get the curve in red, shrunk even more in the horizontal direction. If we replace x by −x, we interchange the role of positive and negative x-values and so we reflect the graph across the y-axis. This is our second example of a reflection.

29 Figure 17. Graphs of y = x2 (thick black curve), y = (2x)2 (thin green) and y = (5x)2 (thin red)

1.3.5 Combining these expansions In summary, 1. To shift a function up by c units, replace y = f(x) by y = f(x) + c. 2. To shift a function to the right by c units, replace y = f(x) by y = f(x − c). 3. To expand a function vertically by a factor of c, replace y = f(x) by y = cf(x). x 4. To expand a function horizontally by a factor of c, replace y = f(x) by y = f( ). c We can combine these various transformations by creating a sequence of transformations. For example, we could translate a function in a diagonal direction, over to the right by 2 and then up by 2 by replacing f(x) by f(x − 2) + 2. Notice that replacing x by x − 2 moves the graph 2 units to the right; adding 2 to the entire function moves the graph up two units. A sequence of transformations then combine into a single form, changing y = f(x) into the expression

y = af(b(x − c)) + d where first subtracting c translates everything to the right by c units, then multiplying by b inside the function shrinks the graph in the horizontal direction about the point (c, 0) by a factor of b while multiplying by a on the outside of the function expands the graph vertically by a factor of a. Finally, adding d to the entire piece raises the graph d units up. When in doubt about the type of transformation involved, it is always easy to pick several nice points in the new graph and ask where they came from in the old graph. For example, in the expression y = af(b(x − c)) + d, the new x values x = c and x = c + 1 lead to the computation of f(0) and f(b) and so correspond to old points where x was zero and where x was equal to b.

30 Some worked examples.

1. Consider the two graphs below. The first is the graph of f(x) = |x|. The second is a graph in which the original graph has been contracted horizontally by a factor of two and then shifted 2 units to the right and up 1 unit. What is the function graphed in the graph at the right?

Figure 18. A transformation of the graph of the function.

Solutions. We first contract the graph horizontally by a factor of 2, replacing x by 2x. Then we shift the graph to the right by 2, replacing x by x − 2. Lastly we add 1 to the result. So the expression |x| becomes |2(x − 2)| + 1. Therefore the graph in question is f(x) = |2(x − 2)| + 1.

2. What transformations (in order) must be done to the graph of y = f(x) to create the graph of x − 5 y = 2f( ) − 7 ? 3 Solutions. Do the following steps, in this order: (a) Shift right by 5, (b) Expand horizontally by a factor of 3 about the point (5, 0), (c) Expand vertically by a factor of 2, (d) Shift down 7.

3. The graph of y = f(x) is drawn in red below.

Figure 19. A particular graph, waiting to be transformed.

31 For each of the graphs, below (drawn in blue) first describe the transformation that turns the above graph into the new graph and then express this transformation algebraically in terms of the original function f(x). (For example, the answer to problem (a) is “The graph is shifted up 3 units” and “y = f(x) + 3”)

(a)

(b) (c) (d) (e)

Solutions. (b) The graph is shifted right 2 units and up 4 units; y = f(x − 2) + 4 (c) The graph is shifted left 4 units and up 2 units; y = f(x + 4) + 2 (d) The graph is reflected across the x-axis; y = −f(x). x (e) The graph is stretched horizontally by a factor of 2; y = f( ). 2

One more example. Here is an example that shows up in engineering applications. The “sinc” function is defined in terms of the sine function as sin x sinc(x) := . x But sometimes it is more natural to “normalize” it by replacing x by πx so that sin πx sinc(x) := . πx What is the effect of this “normalization”? Replacing x by πx creates a horizontal contraction by a factor of π. Here, below (from Wikipedia), are the two functions graphed together.

32 Figure 20. The sinc function and its normalization (from Wikipedia, author Georg-Johann, available under the Creative Commons license.)

1.3.6 Resources for function transformations In the free textbook, Precalculus, by Stitz and Zeager (version 3, July 2011, available at stitz-zeager.com) this material is covered in section 1.7.

In the free textbook, Precalculus, An Investigation of Functions, by Lippman and Rassmussen (Edition 1.3, available at www.opentextbookstore.com) this material is covered in section 1.5.

In the textbook by Ratti & McWaters, Precalculus, A Unit Circle Approach, 2nd ed., c. 2014, here at Amazon.com this material appears in section 1.5. In the textbook by Stewart, Precalculus, Mathematics for Calculus, 6th ed., c. 2012, (here at Amazon.com) this material appears in section 2.5. (In July 2013 the first textbook was $147 at Amazon.com and the second textbook was $136 at Amazon.com They are even more expensive in campus bookstores.)

There are lots of online resources for studying the transformations of functions. Here are some I recommend.

1. This Youtube video describes all four types of transformations in a function in one basic formula (y = af(b(x − c)) + d) with nice animations showing the transformations. 2. This applet at the Wolfram site allows one to experiment with changing the values of the af(b(x − c)) + d to see how they move the graph. 3. A webpage at Purplemath forums has a tutorial and nice examples.

4. The webpage at Mathisfun is another webpage with a nice introduction to the topic of transforma- tions.

Worksheet to go with these notes. As class homework, please complete Worksheet 1.3A, Transformations of functions, available through the class webpage.

33 1.4 Symmetries of functions 1.4.1 Even and odd functions A symmetry of a function is a transformation of the function that leaves the graph unchanged. For example, consider the functions f(x) = x2 and g(x) = |x|. Their graphs are drawn in figure 21. Both of these functions have the property that their graphs allow us to view the y-axis as a mirror. A reflection across the y-axis leaves the function unchanged. This reflection is an example of a symmetry.

Figure 21. Symmetry about the x-axis. In most cases, a symmetry of a function can be represented by an algebra statement. Here, reflection across the y-axis interchanges positive x-values with negative x-values, swapping x and −x. Therefore f(−x) = f(x). The statement, “For all x ∈ R, f(−x) = f(x)” is equivalent to the statement “The graph of the function is unchanged by reflection across the x-axis.”

What other symmetries might functions have? We can reflect a graph about the x-axis by replacing f(x) by −f(x). However, it is unlikely that a graph is fixed by this reflection since whenever a number is equal to its negative, then the number is zero. (x = −x =⇒ 2x = 0 =⇒ x = 0.) So if f(x) = −f(x) then f(x) = 0. However, it is possible for us to reflect a graph across first one axis and then the other. Reflecting a graph across the y-axis and then across the x-axis is equivalent to rotating the graph 180◦ around the origin. When this happens, f(x) = −f(−x). If f(x) = −f(−x) then we have rotational symmetry about the origin. In this case, we may multiply both sides of the equation by −1 and write f(−x) = −f(x).

So far, we have discussed two types of symmetry for graphs of functions: 1. Reflection symmetry about the y-axis, in which case f(−x) = f(x).

2. symmetry about the origin, in which case f(−x) = −f(x). We note that functions like f(x) = x2 and f(x) = x4, where the exponent on x is even will have the property that f(−x) = f(x) since −1 to an even integer power is equal to 1. Similarly, functions like f(x) = x, f(x) = x3 and f(x) = x5, where the exponent on x is odd will have the property that f(−x) = −f(x) since −1 to an odd power is equal to −1. This motivates the following definitions.

34 Definition. A function f(x) is even if f(−x) = f(x). The function is odd if f(−x) = −f(x).

An even function has reflection symmetry about the y-axis; an odd function has rotational symmetry about the origin. We can decide algebraically if a function is even, odd or neither by replacing x by −x and computing f(−x). If f(−x) = f(x), the function is even. If f(−x) = −f(x), the function is odd.

Examples. The graphs of a variety of functions are given below (on this page and the next). Consider the symmetries of the graph y = f(x) and decide, from the graph drawings, if f(x) is odd, even or neither.

(a) (b)

(c) (d)

(e) (f)

35 (g) (h)

(i) (j)

Solutions. Graphs (a), (c), (g) and (j) are even functions since a reflection across the y-axis preserves symmetry. All the other graphs represent odd functions since a rotation of 180◦ about the origin preserves the graph.

Three worked exercises. 1. Graph the function f(x) = x3 − 4x and then decide if the function is even, odd, or neither. Solution. This function is odd since it is symmetric about the origin. Here is the graph:

36 We can check this algebraically:

f(−x) = (−x)3 − 4(−x) = −x3 + 4x = −(x3 − 4x) = −f(x).

x 2. Decide algebraically if the function f(x) = is even, odd, or neither. 1 + x2 Solution. x −x If f(x) = then f(−x) = . Since (−x)2 = x2 we can simplify this to 1 + x2 1 + (−x)2 −x x f(−x) = = − = −f(x). 1 + (−x)2 1 + x2

So f(x) is odd. 3. Decide algebraically if the function f(x) = x5 + 7x2 − 3x + 5 is even, odd, or neither. Solution. If f(x) = x5 + 7x2 − 3x + 5 then

f(−x) = (−x)5 + 7(−x)2 − 3(−x) + 5 = −x5 + 7x2 + 3x + 5.

Since f(−x) = −x5 + 7x2 + 3x + 5 is neither equal to f(x) nor equal to −f(x) then f(x) is neither even nor odd.

Testing the concepts. There is a function which is both even and odd! What is it?

1.4.2 Periodic functions Some graphs have translation symmetry, that is, we may shift the graph along the x-axis a certain amount and leave the graph unchanged. In this case the function is periodic; there is a real number c so that if we shift the graph to the right by c units, then the graph is unchanged. Algebraically, we write f(x − c) = f(x). The smallest positive real number c such that f(x − c) = f(x) is called the period of the function f. We will see this phenomenon (periodic functions and translation symmetry) throughout our study of . For example, if we look at graphs (a), (c), (d) and (e) in the previous collection of graphs, we see graphs that appear to represent periodic functions.

(a) (c)

37 (d) (e) The functions with graphs (a) and (d) have period 2π, slightly more than 6. Graph (c) represents a function with period 2 and graph (e) represents a function with period π, slightly larger than 3. We will look more closely at periodic functions several times in this course.

1.4.3 The greatest integer function and other interesting examples We digress to introduce a function common in mathematics and computer science. The greatest-integer function, f(x) = bxc, takes as input a real number and rounds the number down to the greatest integer less than or equal to it. For example, it rounds 3.1 to 3, so b3.1c = 3. If the input is already an integer, the output is unchanged. For example, b5c = 5. If the number x is positive, bxc is essentially the value of x with everything to the right of the decimal place stripped away. So it is easy to compute bxc when x ≥ 0. One has to be careful if x is negative – we always round down here, so b−1.1c = −2 Here is a graph of the greatest-integer function.

Figure 22. The greatest-integer function The greatest-integer function is also called the floor function since is rounds down to the integer “on the floor”, below x. Notice a certain symmetry of this function: if we translate the graph up and

38 to the right (at an angle of 45◦) then we get the same graph back. In other words, if f(x) = bxc then f(x) = f(x − 1) + 1. A function related to the greatest-integer function is the fractional-part function. The floor function throws away the decimal part of a positive real number. What if, instead, we keep only the decimal part? The fractional-part function g(x) = x − bxc keeps just the remainder, after we remove the integer part. The fractional-part function is an example of a sawtooth function – it is periodic with very sharp edges!

Figure 23. A graph of the “fractional part” function.

1.4.4 Resources for function symmetries Function symmetries are often covered in a section or chapter on function transformations. Here are some textbook resources on function symmetries.

In the free textbook, Precalculus, by Stitz and Zeager (version 3, July 2011, available at stitz-zeager.com) even and odd functions are covered in section 1.6, the section on function tranformations. (See page 95.) Periodic functions are covered in section 10.5, in the study of trigonometric functions.

In the free textbook, Precalculus, An Investigation of Functions, by Lippman and Rassmussen (Edition 1.3, available at www.opentextbookstore.com) even and odd functions are covered in section 1.5, the section on function transformations (see page 71.) Periodic functions are covered in chapter 6 (beginning at page 353) as that textbook moves from triangle trigonometry to circular functions.

In the textbook by Ratti & McWaters, Precalculus, A Unit Circle Approach, 2nd ed., c. 2014, here at Amazon.com this material appears in section 1.5, along with the material on transformations. In the textbook by Stewart, Precalculus, Mathematics for Calculus, 6th ed., c. 2012, (here at Amazon.com) this material appears in in section 2.5, along with the material on transformations. (In July 2013 the first textbook was $147 at Amazon.com and the second textbook was $136 at Amazon.com They are even more expensive in campus bookstores.)

There are lots of online resources for studying function symmetry. Here are some I recommend.

1. Wikipedia on function parity

2. Paul’s online notes on function symmetry

39 3. Applet and exercises at Khan Academy

Worksheet to go with these notes. As class homework, please complete Worksheet 1.4A, Symmetries of functions, available through the class webpage.

40 1.5 Function composition 1.5.1 The algebra of functions Given two functions, say f(x) = x2 and g(x) = x + 1, we can, in obvious ways, add, subtract, multiply and divide these functions. For example, the function f + g is defined simply by (f + g)(x) = x2 + (x + 1); the function f − g is defined simply by (f + g)(x) = x2 − (x + 1). Similarly (f · g)(x) = (x2) · (x + 1) and f x2 ( )(x) = . g x + 1 f In the last case we should note that the function ( )(x) is not defined wherever g(x) is zero and so, in g f x2 this case, −1 is not in the domain of ( )(x) = . g x + 1

The operations of addition, subtraction, multiplication and division are easily and naturally defined on functions. But a more important between functions is the operation of function composition.

1.5.2 Composing two functions In an earlier lecture, a function was defined as a map from one set to another, taking each input to a unique output. If we have a second function acting on the outputs of another, we can combine the functions, creating the composition of the two functions. If f is a function from the set X into the set Y and if g is a function from the set Y into the set Z then g ◦ f is a function from the set X into the set Z defined by first allowing f to map elements of X into Y and then allowing elements of Y to be mapped by g into Z Here is a picture of this composition of two functions (copied from the Wikipedia article on function composition):

Figure 24. The function machine (from Wikipedia, author Tlep, available under the Creative Commons license.) Notice that in g ◦ f, f is the first function involved while g is the second! We read function notation (g ◦ f)(x) from right to left. (This right-to-left method of creating function composition is due to our basic function notation, f(x), since we want (g ◦ f)(x) to be the same as g(f(x)), inserting x first into f and then inserting f(x) into g. In the example above in figure 24, g ◦ f maps the elements of X as follows: a 7→ @

41 b 7→ @ c 7→ # d 7→!!

Some define a function as a “machine”, taking inputs and generating outputs.

When viewed that way, the composition of two functions will be a sequence of function machines:

Figure 25. The composition g ◦ f (This diagram and the previous were created by Wvbailey and available under the Creative Commons License)

We may take the Wikipedia example and suppose that f(x) = x2 and that f maps the set R into the set R. Suppose also, that g(x) = x + 1 and that g maps R to R. Then the function (g ◦ f) maps real numbers to real numbers. The function (g ◦ f) maps 3 to 10 since f maps 3 to 32 = 9 and g maps 9 to 10. If f and g are described by an equation then often (g ◦ f) can be described by an equation. In this case (g ◦ f)(x) = g(f(x)) = g(x2) = x2 + 1. So the composition function can be completely described by (g ◦ f)(x) = x2 + 1.

42 1.5.3 Order is important! (f ◦ g 6= g ◦ f!) If the codomain of the function f is the same as the domain of the function g, then we can compose first f then g to create (g ◦f). Or we can compose first g then f to create (f ◦g). But here, with the operation of function composition, the order of composition is important! The function (f ◦ g) is probably not the same function as (g ◦ f)! For example, if f(x) = x2 and g(x) = x + 1 then (as done above) we have

(g ◦ f)(x) = x2 + 1.

But on the other hand (f ◦ g)(x) = f(g(x)) = f(x + 1) = (x + 1)2. So

(g ◦ f)(x) = x2 + 1 but (f ◦ g)(x) = (x + 1)2.

In elementary algebra we learned the importance of parentheses, for example, that1 + x2 is quite different from (1 + x)2. The use of parentheses and the order of operations is especially important in the composition of functions. Here squaring and then adding one (g ◦ f) is different from adding one and then squaring (f ◦ g).

Some worked examples. Given the functions f and g, below, find the composition functions f ◦ g and g ◦ f. The function (f ◦g)(x) is the same as f(g(x)); (g ◦f)(x) is the same as g(f(x)). Please distinguish between your answer for f ◦ g and g ◦ f.

1. f(x) = x2 − 1 and g(x) = x + 2 √ 2. f(x) = x2 + 1 and g(x) = 3.

√ 3. f(x) = x2 + 9 and g(x) = x. √ 4. f(x) = x2 + 5 and g(x) = x − 5.

Solution.

1.( f ◦ g)(x) = f(g(x)) = f(x + 2) = (x + 2)2 − 1 = x2 + 4x + 4 − 1 = x2 + 4x + 3. (g ◦ f)(x) = g(f(x)) = g(x2 − 1) = (x2 − 1) + 2 = x2 + 1. (f ◦ g)(x) = x2 + 4x + 3 and (g ◦ f)(x) = x2 + 1.

√ 2. f(x) = x2 + 1 and g(x) = 3. √ √ 2 (f ◦ g)(x) = f(g(x)) = f( 3) = 3 + 1 = 3 + 1 = 4. √ √ (g ◦ f)(x) = g(f(x)). But g(anything) = 3, so the answer is 3.

√ (f ◦ g)(x) = 4 and (g ◦ f)(x) = 3. √ 3. f(x) = x2 + 9 and g(x) = x. √ (f ◦ g)(x) = ( x)2 + 9 = x + 9. √ (g ◦ f)(x) = x2 + 9.

√ (f ◦ g)(x) = x + 9 and (g ◦ f)(x) = x2 + 9.

43 √ 4. f(x) = x2 + 5 and g(x) = x − 5. √ (f ◦ g)(x) = ( x − 5)2 + 5 = (x − 5) + 5 = x. √ √ (g ◦ f)(x) = x2 + 5 − 5 = x2 = |x|.

(f ◦ g)(x) = x and (g ◦ f)(x) = |x|.

It is convenient at times to break a function down into pieces, so that we may view the function itself as a composition of two or more functions.√ For example, suppose h(x) = 3x + 4. If we input an x-value into h, we first compute 3x + 4 and then take the√ square root. So we may view the function h as a composition of a function g(x) = 3x + 4 and f(x) = x.

Some more worked examples.

1. For each of the functions f(x) and h(x) below, find a function g(x) such that h(x) = (f ◦ g)(x).

2 (a) f(x) = 10x, h(x) = 10(x −17). √ √ (b) f(x) = x, h(x) = x2 + 4.

Solution.

2 (a) h(x) = 10(x −17) = (f ◦ g)(x) if g(x) = x2 − 17. √ (b) h(x) = x2 + 4 = (f ◦ g)(x) if g(x) = x2 + 4.

2. For each function h given below, decompose h into the composition of two functions f and g so that h = f ◦ g.

(a) h(x) = (x + 5)2 √ (b) h(x) = 3 5x2 + 1

(c) h(x) = 2cos x

Solutions.

(a) h(x) = (x + 5)2 is the composition of g(x) = x + 5 and f(x) = x2. √ √ (b) h(x) = 3 5x2 + 1 is the composition of g(x) = 5x2 + 1 and f(x) = 3 x.

(c) h(x) = 2cos x is the composition of g(x) = cos x and f(x) = 2x. (We can find the functions g and f, even if we have not yet studied the function cos x – the notation leads us to the answer!)

1.5.4 Chaining functions together Once we understand function composition, there is no reason to stop at composing just two functions! We can compose a chain of functions, running an input x through one function after another.

44 √ For example, suppose that f(x) = x2, g(x) = 3x + 5 and h(x) = x. If we run x through f, g and h in that order we get p (h ◦ g ◦ f)(x) = h(g(f(x))) = h(g(x2)) = h(3x2 + 5) = 3x2 + 5.

There is no limit to the number√ of functions we can “chain” together. For example, suppose that f(x) = x2, g(x) = 3x + 5, h(x) = x and j(x) = cos(x). If we run x through f, g, h and j in that order we get p p (j ◦ h ◦ g ◦ f)(x) = j(h(g(f(x)))) = j(h(g(x2))) = j(h(3x2 + 5)) = j( 3x2 + 5) = cos( 3x2 + 5).

(We can do this even if we have not yet studied the cosine function cos(x) – we just follow our notation!) In calculus, after we study the of a function, we will learn to take the derivative of a “chain” of functions composed together in this manner. The method we develop there is called the “” for .

1.5.5 Resources for the composition of functions In the free textbook, Precalculus, by Stitz and Zeager (version 3, July 2011, available at stitz-zeager.com) this material is covered in section 5.1.

In the free textbook, Precalculus, An Investigation of Functions, by Lippman and Rassmussen (Edition 1.3, available at www.opentextbookstore.com) this material is covered in section 1.4.

In the textbook by Ratti & McWaters, Precalculus, A Unit Circle Approach, 2nd ed., c. 2014, here at Amazon.com this material appears in section 1.6. In the textbook by Stewart, Precalculus, Mathematics for Calculus, 6th ed., c. 2012, (here at Amazon.com) this material appears in section 2.6. (In July 2013 the first textbook was $147 at Amazon.com and the second textbook was $136 at Amazon.com They are even more expensive in campus bookstores.)

There are lots of online resources for studying the composition of functions. Here are some I recom- mend. In addition to the Wikipedia webpage on function composition there are also 1. Paul’s online math notes on function composition. 2. See these Khan Academy videos.

Worksheet to go with these notes. As class homework, please complete Worksheet 1.5A, Function composition, available through the class webpage.

45 1.6 Inverse functions In an earlier lesson, we introduced functions by assigning US citizens a social security number (SSN) or by assigning students and staff at Sam Houston State University a student ID (SamID) The function SamID assigns to each student or staff a nine digit number that begins with three zeroes. (The Sam ID of the author of these notes is 000354765, so SamID(Ken W. Smith) = 000354765. In practice, it is important not only that SamID be a function, but that the function process can be reversed. Computer databases at Sam Houston allow a staff member to type in the Sam ID and pull up information about the student/staff member. Each Sam ID number is linked to a unique student/staff member! This is the concept of an inverse function. If SamID maps student/staff to numbers, the inverse function, SamID−1 maps numbers to student/staff. (So SamID−1(000354765) = Ken W. Smith.)

1.6.1 The concept of inverse function In many applications, we need to reverse the function process, asking for the input x associated with an output y = f(x). We take the old output y and restore the original input x to create x = f −1(y).

Figure 26. The concept of an inverse function. (From Wikipedia, released into the public domain by its author Jim.belk at the wikipedia project.)

In the picture above, we have a function f from the set X (the domain) to Y (the codomain.) We would like to create an inverse function with domain Y that maps back to X. We write f −1 for the new function that reverses the process of function f. Suppose f : {a, b, c} → {1, 2, 3} is described by the first picture below (from the Wikipedia article on inverse functions.) Then f −1 is described by the second picture. Notice how f −1 reverses the inputs and outputs.

Figure 27. The concept of an inverse function. (From Wikipedia, released into the public domain by its author Jim.belk at the wikipedia project.)

46 1 Warning! The superscript −1 indicates the inverse function. f −1 is not the same as . f

Not every function has an inverse. Here are some examples. In the first case, we can reverse the process; in the second case we cannot.

Examples. 1. Consider the function f(x) = 3x + 5. If we use the letter y for outputs, then we can write this function in the form y = 3x + 5. Suppose we are given a particular output y. Can we recover x? Yes. Let’s take the equation y = 3x + 5 and solve for x: y − 5 y = 3x + 5 =⇒ y − 5 = 3x =⇒ = x. 3

y − 5 We have discovered that if we are given y then x = . 3 This gives x as a function of y! We have a new function, the inverse of the old. We could call this function g and write y − 5 g(y) = . 3 The function g is the inverse function of the function f. But it is customary to use x to represent inputs to a function and to use y for outputs, so in practice we will write x − 5 g(x) = . 3 (Notice how, at the last moment, merely because of our custom, we have switched the letters x and y.) It is also customary to write f −1 for the inverse function of f so our final solution is

x − 5 f −1(x) = . 3

2. Consider the function f(x) = x2 with domain R and codomain R. If we write y = x2, and we are given a particular value of y, say y = 25, can we reverse the process and find x? No, not in this case, for both x = −5 and x = 5 are mapped to y = 25 by this function. There are two different inputs that are both mapped to 25 so we cannot reverse our process in a unique way. The function f(x) = x2, with domain R, does not have an inverse function.

1.6.2 Changing the domain in order to create an inverse function. Occasionally, if a function does not have an inverse, we may be able to alter the domain of a function so that, on the new domain, the function is invertible. We can do that in this last example. We could change our function f(x) = x2 so that the domain is the interval [0, ∞) instead of (−∞, ∞). If we agree that no negative numbers are input into this function, then the ambiguity about x goes away. If y = 25 then x must be equal to 5, not −5. √ In this case, if f : [0, ∞) → (−∞, ∞) is defined by f(x) = x2 then the inverse function is f −1(x) = x.

When does a function f have an inverse? It turns out that there are two critical properties necessary for a function f to be invertible. The function needs to be “one-to-one” and “onto”.

47 1.6.3 Finding the inverse of a function A function f : D → C has an inverse f −1 : D → C if and only if f is both a one-to-one function and an onto function. If the function f is onto then every element of C has at least one preimage back in D. If the function f is one-to-one then every element of C which has a preimage has a unique preimage. (Recall that this uniqueness is the critical part of the definition of a function!) (We will examine the concepts one-to-one and onto in more detail in a later section.)

Finding an inverse function by reversing the operations Sometimes it is obvious that function has an inverse. Sometimes a function may be defined in terms of a sequence of operations and each of them is reversible. For example, consider the function f(x) = x + 4. What does f do to an input? Easy – it adds 4 to every input. How would one reverse that? By subtracting 4 from every input. So f −1(x) = x − 4. Consider the function f(x) = 3x. What does f do to every input? It multiplies each input x by 3. How would one reverse “multiplication by 3”. By dividing by 3. So the inverse function must divide each −1 x input by 3. With this simple logic, we see that f (x) = 3 . One more example, the more complicated invertible function seen earlier: suppose f(x) = 3x + 5. What is the inverse function? The function f(x) = 3x + 5 first multiplies the input by 3 and then adds 5. So to reverse this function process we should first subtract 5 and then divide by 3. So the inverse function x − 5 should be f −1(x) = . (Notice that when we reverse the processes here, we also reversed the order 3 of the operations. The function f multiplies and then adds so f −1 must first subtract and then divide.)

Finding an inverse function algebraically If the function f(x) is defined by an equation then we can also find the inverse algebraically. One way to do this is to write out the equation y = f(x) and solve for x, getting a function x = g(y). Once this is done, we bow to custom and swap the letters x and y so that x represents the input for our new function and y represents the output. Thus our final answer will be y = g(x). Here are some worked exercises.

Some worked exercises. Use algebra to find the inverse function of each function given below. 1. f(x) = x + 4 2. f(x) = 3x 3. f(x) = 3x + 5. √ 4. f(x) = x3 + 9 1 5. f(x) = x + 1

Solutions. Notice that the first three functions have already been solved before! Now we will do them algebraically. (Hopefully we will get the same answer!) The last two are a little more complicated. 1. To find the inverse of f(x) = x + 4 we write y = x + 4 and then solve for x by subtracting 4 from both sides: y − 4 = x. Now that we have solved for x, we swap letters x and y and write x − 4 = y. So our answer is

f −1(x) = x − 4.

2. To find the inverse of f(x) = 3x we write y = 3x and then solve for x by dividing both sides by 3: y/3 = x. Now that we have solved for x, we swap letters x and y and write x/3 = y. So our answer is

48 f −1(x) = x/3.

3. To find the inverse of f(x) = 3x + 5 we write y = 3x + 5 and then solve for x by subtracting 5 from y − 5 both sides and then dividing both sides by 3, to get = x. Now that we have solved for x, we 3 x − 5 swap letters x and y and write = y. So our answer is 3

x − 5 f −1(x) = . 3 √ √ 4. To find the inverse of f(x) = x3 + 9 we write y = x3 + 9 and then solve for x by squaring both sides: y2 = x3 + 9, then subtracting 9 from both sides, y2 − 9 = x3, and then taking the cube root of both sides,

p3 y2 − 9 = x.

Now that we have solved for x, we swap letters x and y and write

p3 y = x2 − 9.

So our answer is √ f −1(x) = 3 x2 − 9.

1 1 5. To find the inverse of f(x) = we write y = and solve for x by first multiplying both x + 1 x + 1 sides by the denominator x + 1. So y(x + 1) = 1. Now, to solve for x , we need to isolate x. Let’s multiply out:

yx + y = 1

and subtract y from both sides, yx = 1 − y. Finally we can solve for x by dividing both sides by y: 1 − y x = . y We have done all the important algebra. The last step is to swap variables: 1 − x y = x and so we have our answer 1 − x f −1(x) = . x

49 1.6.4 The geometric meaning of inverse (and the horizontal line test) When we create the inverse function, we interchange the inputs and outputs, creating a new function whose inputs are the old outputs and whose outputs are the old inputs. Geometrically, on the Cartesian plane, this has the effect of interchanging x and y and so swapping the x-axis with the y-axis. We can swap the x-axis with the y-axis if we reflect our graph across the line y = x. Here (from the Wikipedia article on inverse functions) is a picture displaying that effect. The graph of y = f(x) (in red) is reflected across the line y = x to become the graph of y = f −1(x) in blue.

Figure 28. The graph of a function (in red) and its inverse (in blue) (From Wikipedia, released into the public domain by its author Jim.belk.)

1.6.5 The mathematical meaning of “inverse” In mathematics, the “inverse” of an operation is something that undoes, reverses the operation. If our operation is addition then the inverse of 4 is −4. (−4 is called the “” of 4.) If our 1 1 operation is multiplication then the inverse of 4 is 4 .( 4 is called the “multiplicative inverse” of 4.) If we are composing functions then the inverse of f is the inverse function f −1. These types of inverses are different; don’t confuse them! If we compose f and f −1 we get the function which merely maps x to x. This is the “.” For example, if f(x) = x+4 then the function f adds four to the input x. The inverse function g(x) = x − 4 subtracts four from the input. If we apply f and then g we will first add four to x and then subtract four, returning to the original input. In functional notation, g(f(x)) = g(x + 4) = (x + 4) − 4 = x.

A worked exercise. √ √ 1. Verify, by function composition, that f(x) = x3 + 9 and g(x) = 3 x2 − 9 are inverse functions. Solution. We compute q p 3 p (g ◦ f)(x) = g( x3 + 9) = ( x3 + 9)2 − 9 = p3 (x3 + 9) − 9 = p3 (x3 = x. So (g ◦ f)(x) = x. Similarly, we can compute q √ p3 p3 (f ◦ g)(x) = f( x2 − 9) = ( x2 − 9)3 + 9 = p(x2 − 9) + 9 = x2 = x. (Here we need to assume that x is not negative.) So (f ◦ g)(x) = x.

50 Since the composition of f and g (in either order) return x to x, f and g are inverse functions.

1.6.6 Requirements for the existence of an inverse function* A function f : D → C has an inverse f −1 : D → C if and only if f is both a one-to-one function and an onto function. If the function f is onto then every element of C has at least one preimage back in D. If the function f is one-to-one then every element of C which has a preimage has a unique preimage.

One-to-one functions. A function like f(x) = x2 maps two different inputs, x = −5 and x = 5, to the same output, y = 25. But with a one-to-one function no pair of inputs give the same output. Here is a function we saw earlier. This function is not one-to-one since both the inputs x = 2 and x = 3 give the output y = C.

Figure 2, from section 1.1 (From Wikipedia) We can define one-to-one function more formally, as a mathematical implication:

A function f is one-to-one if f(a) = f(b) =⇒ a = b.

One can think of this implication this way: “A function is one-to-one if whenever it appears that two inputs a and b give the same output then in fact a and b were the same.” Let’s show that the function f(x) = 3x+5 defined earlier is one-to-one. We do this is a series of steps:

1. Suppose that f(a) = f(b). 2. Then 3a + 5 = 3b + 5.

3. Subtract 5 from both sides to get 3a = 3b. 4. Divide both sides by 3 to get a = b.

Since we have shown that f(a) = f(b) implies a = b, then the function f(x) is one-to-one.

Other common terms for one-to-one functions. A one-to-one function is sometimes called an injection or an . Wikipedia uses the term “injective function” in their article here.

Onto functions A function f : D → C is onto if every possible output in C is truly an output, that is, if the range of f is equal to the entire codomain C.

51 Figure 2, again.

In figure 2, above, the function is not onto because the element B is the codomain is not an output. (The element A is also not an output of the function.) In figure 2, the codomain is Y = {A, B, C, D} but the range is just {C,D}. If f(x) = y then we say that y is the image of x and that x is the preimage of y. If a function f : D → C is onto then every element of the codomain has a preimage.

Other common terms for onto functions. An onto function is sometimes called a surjection or a . Wikipedia uses the term “surjective function” in their article here.

1.6.7 Resources for inverse functions In the free textbook, Precalculus, by Stitz and Zeager (version 3, July 2011, available at stitz-zeager.com) this material is covered in section 5.2.

In the free textbook, Precalculus, An Investigation of Functions, by Lippman and Rassmussen (Edition 1.3, available at www.opentextbookstore.com) this material is covered in section 1.6.

In the textbook by Ratti & McWaters, Precalculus, A Unit Circle Approach, 2nd ed., c. 2014, here at Amazon.com this material appears in section 1.7. In the textbook by Stewart, Precalculus, Mathematics for Calculus, 6th ed., c. 2012, (here at Amazon.com) this material appears in section 2.7. (In July 2013 the first textbook was $147 at Amazon.com and the second textbook was $136 at Amazon.com They are even more expensive in campus bookstores.)

There are lots of online resources for studying function inverses. Here are some I recommend.

1. The Wikipedia article on inverse functions is excellent. It includes links to the articles on injective functions and surjective functions. 2. Paul’s online notes on on inverse functions.

3. Khan Academy video and examples on inverse functions.

Worksheet to go with these notes. As class homework, please complete Worksheet 1.6A, Inverse functions, available through the class webpage.

52