Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
1 The behind the 2 Contents Update Notice ................................................................................................................................. 7 Introduction .................................................................................................................................... 8 Absolute Value Equations ............................................................................................................. 11 Absolute Value Functions and Piecewise Functions ................................................................. 16 Summary ................................................................................................................................... 19 Inequalities.................................................................................................................................... 20 Inequalities Involving Absolute Value ....................................................................................... 21 Tolerance Levels ........................................................................................................................ 24 Linear Inequalities ..................................................................................................................... 25 Non-Linear Inequalities ............................................................................................................. 26 Summary ................................................................................................................................... 29 Exponents...................................................................................................................................... 30 Conversion Factors and Exponents ........................................................................................... 31 Scientific Notation ..................................................................................................................... 32 Fractional Exponents ................................................................................................................. 32 Summary ................................................................................................................................... 33 Exponent Practice ..................................................................................................................... 34 Roots ............................................................................................................................................. 35 Square Roots ............................................................................................................................. 35 Simplifying Square Roots........................................................................................................... 36 Cube Roots ................................................................................................................................ 38 More Roots ................................................................................................................................ 39 Imaginary Numbers ................................................................................................................... 40 Equations Containing Radicals .................................................................................................. 42 Summary ................................................................................................................................... 43 3 Factoring ....................................................................................................................................... 44 Quadratic Equations .................................................................................................................. 44 Simple Factoring Review ........................................................................................................... 44 Finding Two Numbers that Multiply to P and Add to S ............................................................ 46 The Difference of Two Squares ................................................................................................. 47 More Complex Factoring ........................................................................................................... 49 Completing the Square and the Quadratic Formula ................................................................. 53 The Quadratic Formula and Factors .......................................................................................... 60 The Sum or Difference of Two Cubes ........................................................................................ 61 Calculator Programs .................................................................................................................. 64 Factoring Summary ................................................................................................................... 67 Manipulating Graphs of Functions ............................................................................................... 69 Finding the Vertex and the Axis of Symmetry........................................................................... 70 Order of Operations for Function Transformations .................................................................. 73 Summary ................................................................................................................................... 76 Polynomials ................................................................................................................................... 77 Sketching the Function .............................................................................................................. 77 Synthetic Division ...................................................................................................................... 78 Finding the Value of P(a) Using Synthetic Division ................................................................... 79 Finding the Zeros ....................................................................................................................... 80 The Intermediate Value Theorem ............................................................................................. 83 Number of Turns ....................................................................................................................... 83 Descartesβ Rule of Signs ............................................................................................................ 83 The Binomial Theorem .............................................................................................................. 87 Summary ................................................................................................................................... 89 Inverse Functions .......................................................................................................................... 90 Composing Functions .................................................................................................................... 94 Finding the Domain and Range ..................................................................................................... 96 Even and Odd Functions ............................................................................................................... 99 4 Rational Expressions and Functions............................................................................................ 100 Adding, Subtracting, and Simplifying Rational Expressions .................................................... 100 Rational Equations .................................................................................................................. 103 Vertical Asymptotes ................................................................................................................ 104 Range of a Rational Function .................................................................................................. 106 Horizontal and Slant Asymptotes ............................................................................................ 109 Rational Inequalities ................................................................................................................ 112 Summary ................................................................................................................................. 113 Exponential Functions and Logarithms ....................................................................................... 114 Exponential Functions ............................................................................................................. 114 Modified Exponential Functions ............................................................................................. 114 The Number e.......................................................................................................................... 115 Compound Interest and Other Increases (and Decreases) ..................................................... 119 Logarithms ............................................................................................................................... 120 Graphing Logarithmic Functions ............................................................................................. 124 Half-Life ................................................................................................................................... 127 Summary ................................................................................................................................. 128 Parabolas..................................................................................................................................... 130 Quadratic Equations and Parabolas ........................................................................................ 130 Basic Graphs ............................................................................................................................ 133 Shifted Parabolas..................................................................................................................... 136 Side-Opening Parabolas .......................................................................................................... 138 Summary ................................................................................................................................. 140 Circles and Ellipses ...................................................................................................................... 141 The Foci of an Ellipse ............................................................................................................... 144 Equations of Circles and Ellipses ............................................................................................. 145 Eccentricity of an Ellipse.......................................................................................................... 147 Deriving the Equation of an Ellipse (Optional) ........................................................................ 147 The Area of an Ellipse (Optional) ............................................................................................ 149 5 Summary ................................................................................................................................. 150 Hyperbolas .................................................................................................................................. 151 Asymptotes of a Hyperbola ..................................................................................................... 154 Shifting Hyperbolas ................................................................................................................. 156 Deriving the Equation of a Hyperbola (Optional) ................................................................... 156 Reciprocal Functions ............................................................................................................... 157 Summary ................................................................................................................................. 158 Sequences and Series.................................................................................................................. 159 Arithmetic Sequences ............................................................................................................. 159 Geometric Sequences ............................................................................................................. 160 Arithmetic Series ..................................................................................................................... 162 Geometric Series ..................................................................................................................... 164 Summary ................................................................................................................................. 166 Systems of Equations .................................................................................................................. 168 Linear Programming.................................................................................................................... 171 Matrices ...................................................................................................................................... 173 Solving Systems of Linear Equations with Matrices ................................................................ 173 Matrix Multiplication .............................................................................................................. 175 Determinants........................................................................................................................... 178 Cramerβs Rule .......................................................................................................................... 182 Identity Matrices ..................................................................................................................... 187 Inverse Matrices ...................................................................................................................... 188 Solving Systems with an Infinite Number of Solutions ........................................................... 191 Trigonometry .............................................................................................................................. 194 Inverse Trigonometric Functions ............................................................................................ 208 Other Trigonometric Ratios..................................................................................................... 210 The Law of Cosines .................................................................................................................. 212 The Law of Sines ...................................................................................................................... 215 Trigonometric Identities ......................................................................................................... 217 6 Solving Trigonometric Identity Equations ............................................................................... 224 Modeling Change with Sine Functions .................................................................................... 224 Graphing a Modified Trigonometric Function ........................................................................ 226 Equations of the Form A sin x + B cos x .................................................................................. 228 7 Update Notice Use only recently saved copies of this file. Download the latest version at http://www.guidedcourses.com. If download is not available, or to report errors or typos in this document, contact Textbooks differ in the order in which they cover material. This document contains a navigation pane so you can look for your topic. Many document readers have an option to show the table of contents as a navigation pane. Alternatively, use the search function of your pdf reader to quickly find what you are looking for. Last updated: October 15, 2014. Donβt see your topic? Check the Algebra 1 topics at http://www.guidedcourses.com. Copyright ©2013 E. Biltek 8 Introduction Young children ask a lot of βwhyβ questions. Why canβt we have candy for dinner? Why do I have to go to school? Why do I get boogers in my nose? Eventually they learn that they live in a society where things are done a certain way, and they should be asking less disruptive βhowβ questions. How questions are civilization-maintaining questions, and they depend on the civilization that you live in. How do you make fire? How do you turn wheat into bread? How do you download and install a program? These important questions guide the transfer of skills from one generation to the next, but not always in the best way. There is an old story about a daughter who asks her mother why she should cut off the end of a ham before roasting it. The mother replies that this is how she has always done it, and that was the way her mother used to do it. When they ask grandma about it, she says that she always cut off the end of the ham because she had a small roasting pan and the ham wouldnβt fit otherwise! Why do you do it this way? Is there a better way to do it? Why do it at all? What if...? These are civilization-advancing questions that promote understanding and independent thinking. Unfortunately mathematics sometimes gets transferred from one generation to the next using only a βhow toβ approach. Even in college the only questions students ask in a calculus class are along the lines of βHow do you do problem 98 in section 3.2?β One statistics professor actually told her students, βOn the test, try to determine if it is a chapter 4 problem or a chapter 5 problem. If it is a chapter 4 problem, use the formulas from chapter 4 on your formula sheet. Otherwise, use the chapter 5 formulas.β Now that we can program computers to do math problems for us, this kind of thing is not just boring; itβs rather pointless. You can memorize steps, but how long will you remember them? And what will you really have learned after you do all 98 problems in section 3.2? Yes this book will show you how to do math problems. It will also encourage you to go behind the scenes to learn the secrets of why we can solve problems that way. One way to do that is by asking a lot of questions. It also helps to realize that creating math problems is not the exclusive domain of math textbook writers. It can actually be done by untrained people in their own home (provided they wear safety goggles). You can take a difficult math problem and make your own, easier version of it. Then you can experiment with this simpler problem to see how a method works, and why it works. How will I know if I have the right answer to a problem? This is an important question. Look for the green color coding in the text to help you figure it out for different types of problems. 9 When things get tough: 1. DO NOT PANIC! This stuff may seem hard, but itβs math, not magic. There is always a logical reason for what is going on, and this book is here to help you find it. 2. Read slowly. Imagine us having a very leisurely conversation about the topic, and backtracking when things donβt seem clear. 3. Replace βI donβt get itβ with βI donβt believe itβ. Thatβs what I always do because it puts the burden of proof on the textbook or the teacher rather than implying that Iβm not smart . Also, questioning and trying things out on your own is much better than just blindly believing anything that is printed. 4. For each topic, read only the sections you need. Courses vary a lot in what they contain and adding extra detail will rarely help you to understand the subject better. Spend your time learning the basics. 5. Still donβt believe it? E-mail [email protected] . Graphing Please note that it is not necessary to buy a graphing calculator for Algebra 2 and Pre-Calculus. You can download the free MathGV graphing software at http://www.mathgv.com/ so you can experiment with different function graphs. It provides nicer and larger pictures than a calculator. To graph functions using MathGV, select File β New 2D Cartesian Graph. Then select Graph β New 2D Function. An alternative for both Windows and Mac is the free program Geogebra. This program allows you to play around with math in various ways. It has an input bar at the bottom that lets you type the equation of your function using y and x. Some things are awkward to graph because they must be rearranged first, like y2 + x2 = 1, but Geogebra will do this for you. Just enter y^2+x^2=1 in the input line. The one drawback to this program is that you can only move things when the MOVE button is active. To graph functions using a TI-84 calculator, press βY=β and enter your function. To insert an x, press the button labeled βX,T,Ø,nβ. Press βGRAPHβ to see the graph. If necessary, adjust the viewing rectangle by pressing βWINDOWβ. 10 Text Color Coding: Caution, or really important stuff Examples (you may have to create your own) Check your answers Summary Copyright ©2013 E. Biltek 11 Absolute Value Equations First, you should make sure that you feel comfortable solving basic equations that donβt involve absolute value. If you need some review, see βBalancing Equationsβ in the Pre-Algebra / Algebra 1 e-book. Sample questions of increasing difficulty are provided here so you can test your skills. Solutions are located at the bottom of this page.1 1. x + b β 20 = 13 + b , solve for x 3 2. 4 = 5 x β 2 3. 1.2x = 3x β 6 4. Solve by cross-multiplying: 4 x = 7 12 5. 8 + bx = 12 + 2x, solve for x 6. x = 4x 2 , find both values of x The absolute value sign changes a negative number into a positive quantity. If the number inside the sign is positive or zero, it remains unchanged. The absolute value sign is sometimes found in equations, where it creates two distinct possibilities. Example First, let's solve a really simple equation: |x| = 5. The absolute value sign only actually does something when x is negative. For x β₯ 0 we can just write the equation as x = 5. On the other hand, if x is a negative number it is changed into a positive number. That is, x becomes the opposite, or -x. In this case the equation reads: -x = 5. Now we multiply both sides by -1 to get x = -5. The two possibilities are: x = 5 or x = -5. Thatβs easy since we could have guessed it in the first place. This is also the basis for a 1 Solutions: 1. x = 33 2. x = 10 3. x = 30 9 4. x = 48 7 5. x = 4 bβ2 1 6. x = 0 or x = 4 12 commonly used shortcut. People often solve simple equations of the type |β¦β¦..| = 5 by saying that β¦β¦.. = 5 or β¦β¦.. = -5. For example, |3x + 2| = 8 could be solved by saying: 3x + 2 = 8 or 3x 1 + 2 = -8 which solves to x = 2 or x = - 3 . 3 Caution: an equation like |4x| = -20 will have no solution. The part with the absolute value sign can never be negative! If the equation is more complicated, the usual strategy is to isolate the absolute value expression and deal with it last, as shown in the next example. Example Solve: 4|6x β 7| β 8 = 12 The absolute value sign is not mentioned in the order of operations phrase Please Excuse My Dear Aunt Sally, but that doesnβt mean that you can just reach inside of it. Sometimes students will try to solve this kind of problem by combining like terms, like adding the -7 and -8 together first, or multiplying out 4(6x β 7). Donβt do that! Things inside an absolute value sign require special handling. Isolate the part with the absolute value sign: 4|6x β 7| = 20 |6x β 7| = 5 6x β 7 = 5 or 6x β 7 = -5 6x = 12 6x = 2 x=2 x= = 2 1 6 3 Check your answers by substituting them back into the original equation! These steps work well as long as you have a simple equation with just one absolute value expression. However, as soon as you try solving equations with more than one absolute value sign, or inequalities containing the absolute value sign, things can get confusing. For this reason you may want to look beyond the steps to see what the absolute value sign is actually doing to the expression inside of it. That takes a bit longer, but it really helps you to understand this topic better. 13 Example Consider the equation |x + 1| = 5. The absolute value sign always creates two possibilities. The first possibility is that x + 1 was positive or zero, so the absolute value sign did nothing to it. It was unchanged, so we could just remove the absolute value bars. The second possibility is that the expression was negative and the absolute value sign made it positive. When the expression x + 1 is changed by the absolute value sign, it turns into the opposite: - (x + 1) For x + 1 β₯0 x+1=5 x=4 For x + 1 < 0 - (x + 1) = 5 x + 1 = -5 [multiplying both sides by -1] x = -6 The answers are: x = 4 or x = -6 Example We can still use the same strategy if we have an equation like this: |x β 7| + 3 = 5. There is no need to isolate the absolute value part now, because we are dealing with it directly: For x β 7 β₯ 0 xβ7+3=5 xβ4=5 x=9 For x β 7 < 0 - (x β 7) + 3 = 5 -x+7+3=5 - x + 10 = 5 - x = -5 or x=5 Notice that these solutions match the conditions that we set for them. If x β 7 β₯ 0 then we can add 7 to both sides to get x β₯ 7. The solution x = 9 meets the condition x β₯ 7. In the same way, if x β 7 < 0 then x < 7, and the solution x = 5 is reasonable. Both solutions make the equation |x β 7| + 3 = 5 true. 14 To practice solving absolute value equations, you should create your own. Pick a value for x, make the problem, and then pretend you donβt know what x is. If you donβt get the original value for x when you solve the problem, troubleshoot carefully. Create a simpler problem if things donβt work out. That may seem like a lot of work, but itβs worth it. If the unknown value x is present more than once in an equation containing absolute value signs, there could be extraneous solutions. Extraneous solutions are the results of your correct calculations that nevertheless do not fit back into the original equation. These extraneous solutions are caused by sign changes produced by the absolute value sign; they do not appear if the absolute value sign is removed from the equation before you start solving it. Example Solve |x + 6| = 2x + 15. If the expression βx + 6β is positive or zero, the absolute value sign does nothing, so we try removing it. For x + 6 β₯ 0: x + 6 = 2x + 15 6 = x + 15 -9 = x Already we know that this will not work, because if x = -9 then the expression x + 6 is not positive. x + 6 β₯ 0 means x β₯ -6, and -9 doesnβt fit that. Checking the whole equation, we get |-9 + 6| = 2(-9) + 15 |-3| = -18 + 15 3 = -3. x = -9 is an extraneous solution. If the expression x + 6 is negative, the absolute value sign changed it to its opposite, - (x + 6): -(x + 6) = 2x + 15 -x β 6 = 2x + 15 -6 = 3x + 15 -21 = 3x x = -7 This solution makes the expression x + 6 negative as we had assumed (if x + 6 < 0 then x < -6). Inserting x = -7 into the original equation gives 15 |-7 + 6| = 2(-7) + 15 |-1| = -14 + 15 1 = 1. x = -7 is the correct solution. Example Letβs look at an equation that contains not one but two absolute value signs: |x β 4| = |2x β 2| β 2 This actually creates four distinct possibilities! Weβll look at each one in turn. 1. Both expressions inside the absolute value signs were positive or zero so they did not change. x β 4 = 2x β 2 β 2 x = 2x Subtract 2x from each side: -x = 0 x = 0. We can see that this solution will not work. If x β 4 actually was a positive number or zero then x could never be zero; it has to be at least 4. This is an extraneous solution. If you substitute it into the original equation you can see that it wonβt work. 2. The first expression, x β 4, was positive or zero while the second expression, 2x β 2, was negative. The first expression stayed the same, but 2x β 2 was changed by the absolute value sign: x β 4 = - (2x β 2) - 2 x β 4 = -2x + 2 β 2 x = -2x + 4 3x = 4 x = 4/3. Again we get an extraneous solution because this value is less than 4. 3. The first expression was negative and the second is positive or zero: - (x - 4) = 2x β 2 β 2 - x + 4 = 2x β 4 - x = 2x β 8 -3x = -8 x = 8/3. This value meets both requirements, making x β 4 negative and 2x β 2 positive. 16 It works as a solution when you substitute it back into the original equation. 4. Both expressions were negative: -(x β 4) = -(2x β 2) β 2 -x + 4 = -2x + 2 β 2 -x + 4 = -2x - x = -2x β 4 x = -4. This value makes both x β 4 and 2x - 2 negative. It is a valid solution and it makes the original equation true. Note that if the problem had contained only the absolute value expressions and nothing else, the solution would have been simpler. If we were solving |x β 4| = |2x β 2|, then we could see that - (x β 4) = - (2x β 2) is the same as (x β 4) = (2x β 2), and - (x β 4) = (2x β 2) is the same as (x β 4) = - (2x β 2). The only thing that matters here is if the expressions had the same sign before the absolute value operation, or if they had different signs. There are only two possibilities. Absolute Value Functions and Piecewise Functions Of course, where there is an equation there can be a function. Recall that functions are relations that have a unique output for every input. First draw the straight line y = x. Then graph y = |x|. This function takes the part of the line y = x that is to the left of the y-axis and makes it positive. The result is a V-shaped graph. The point of the V is located at (0,0). To graph absolute value functions on a TI-84 graphing calculator, press the βY=β button as usual. Then press the MATH button and use the right arrow key to get to the NUM menu. The first choice on this menu is βabs(β, and once you select it you will be able to enter abs(x). To graph absolute value functions using MathGV, select File β New 2D Cartesian Graph. Then select Graph β New 2D Function. Type in abs(x). In Geogebra, type y = abs(x) into the input bar at the bottom of the screen. Turning the expressions on each side of an absolute value equation into functions and graphing them allows you to check your solutions. The x values of the intersect points are the solutions to the equation. For the example in the previous section, graph y = abs(x-4) and y = abs(2x-2)-2. Here are some examples of absolute value equations that have 2 solutions, one solution, and no solutions: 17 |x + 2| = 2 |x + 2| + 1 = -7|x + 2| + 1 |x + 2| + 1 = - |x β 3| If you graph these equations as two separate functions you can see why. The graphs that you just created are all V-shaped, and similar to y = |x|. To create a narrower βVβ, we can take the line y = 2x and apply the absolute value sign: y = |2x|. Since the number 2 is always positive, we could also write that as y = 2|x|. Now try to see if you can flatten the V shape of y = |x| by modifying the function. There has to be something you can use to multiply by that will make the slope less steep. The V shapes created by these functions are easy to turn upside down. To do so all we need is to give every y value a minus sign: - y = |2x|. Rewrite that as y = - |2x| , or y = -2|x|, to get a standard function. To emphasize that it is a function, you could write it as f(x) = - |2x|. The advantage of this notation is that you can show what value of x you used to get a particular result. For y = -|2x|, when x = -5, we just say that y = -10. With function notation like f(x) = - |2x|, we can say that f(-5) = -10. It is also not difficult to take a V-shaped function like y = |x| and shift it up or down. All we need to do is add something to the function or subtract something from it. If you graph y = |x| β 4 you will see that the whole graph has shifted down by 4 units, and that the point of the V is now located at (0,-4). Notice that y = |x| β 4 is really the same as y + 4 = |x|. Adding 4 to the value of y caused the function to shift down. In the same way, adding something to x will cause the graph to shift left, toward the negative xdirection. Example Look at the graph of y = |x + 2| that you created earlier. You might think that adding two units to x would cause the graph to move 2 units to the right, but it shifts to the left instead. It may help you to think of it this way: by adding 2 units to x we have made it possible for a smaller x to do the same job that a larger x did before. The graph shifts toward the smaller x values. Example Predict what will happen if you graph y = |x β 3| β 5. 18 Subtracting 3 from x will cause the original base function y = |x| to shift to the right, since a larger x is now needed to do the same job that x did before. The function moves 3 units in a positive horizontal direction. Subtracting 5 from the total function value (which is the same as adding 5 to y) will cause the function to shift down by 5 units. If you graph this function by hand, you can see that, like all absolute value functions, it has two parts: y = x β 3 β 5 for x β 3 β₯ 0 (which means that x β₯ 3), and y = -(x β 3) β 5 for x β 3 < 0 (which means that x < 3). We can simplify this and then write it in piecewise notation: y=xβ8 y=-xβ2 for x β₯ 3 for x < 3 Or more properly as a piecewise function: f(x) = xβ8 for x β₯ 3 -x β 2 for x < 3 Note the use of a bracket, { , to indicate that this is a single function that follows two different rules depending on the input value of x. Piecewise functions may have more than two parts, and are used for situations other than those involving absolute value. For example, you may get a better price on some items if you buy larger quantities. Practice 1. Solve for x: |x β 4| = |2x β 2| 2. Write y = -5|x + 6| + 10 as a piecewise function. Use a graphing calculator or graphing software to check your work. 3. Senior Services Inc. wants to supply home nursing care and light housekeeping for elderly people. Their proposed rates are $30 per hour or partial hour for visits of 4 hours or less, and $28 per hour or partial hour for visits of more than 4 hours. Minimum visit time is one hour. Write a function to calculate the total cost of a home visit. 4. Graph your function on paper. You will have to adjust the scale of the vertical axis. Note that it is not continuous; there is a break in the line. It also does not start at zero since the minimum time is one hour. Graphing the end points of lines for such functions requires special care. Use a closed circle to indicate that a point is included, and an open circle to show that a particular point is not included in the graph. 5. Because the function is not continuous, a visit of 4 hours and 10 minutes would end up costing less than a visit of 4 hours. After considering the graph, Senior Services Inc. changes its 19 fee schedule to read as follows: Visits are $30 per hour for the first 4 hours, and $25/hour for each additional hour or part thereof. Minimum visit time is one hour. Write and graph the new function. 6. A function is also needed to convert the hours (h) and minutes (m) recorded on the nursing aidesβ time sheets to hours. For example, 2 hours and 9 minutes needs to be converted to 2.15 hours. This is a function in two variables. Write it as z = ________________ or f(h,m) = ________________ . Summary |x| = 5 means x = 5 or -x = 5 Watch out for extraneous solutions! Use y = abs(x) to graph absolute value functions. Modifying the graph of y = |x|: y = |cx| changes the slope of the lines y = -|x| flips graph upside down y = |x| + b moves graph up or down by b units y = |x + a| moves graph left by a units if a is positive, and right by a units if a is negative. Absolute value functions can be written as piecewise functions. Use the two different possibilities created by the absolute value sign as the conditions that specify which function rule to use. 20 Inequalities Consider the inequality 4 > 3. Now multiply both sides by -1. You get -4 < -3. Solving inequalities works like solving equations, except that the inequality sign turns around when you multiply or divide by a negative number. That is, the reality represented by the sign turns around, but unfortunately the sign itself needs to be adjusted manually ο. Donβt forget to do this!! While equations usually have no more than a few solutions, inequalities tend to have infinitely many. A simple inequality like 3 β 2x β₯ 9 solves as -2x β₯ 6, so x β€ -3. The division by -2 meant that the sign had to be adjusted. The expression x β€ -3 describes the infinitely many solutions for this inequality quite well, but there are several other ways to write the same thing. Interval notation shows the solutions by marking their boundaries: (-β, -3]. The interval extends from negative infinity to -3. The square bracket at the end indicates that -3 is included in the solution. If you wanted to show x < -3 you would write (-β, -3). Because infinity is not a number, it can never be βincludedβ as if the interval ended there. Always use a curved parenthesis before or after the infinity symbol. Another way to write x β€ -3 is by using set-builder notation. This shows the set of all numbers x such that x is less than or equal to -3: { x l x β€ -3 }. Your teacher may also want you to graph solutions like this on a number line. Just remember the conventions for that: a closed circle means that the indicated number is included in the solution, while an open circle means that the number is not part of the solution. In this case you need a closed circle at -3. The arrow indicates that the line continues to the left infinitely far. Practice solving some basic inequalities by creating your own, like maybe 5x + 3 > 10x - 22. Use Geogebra to check your solutions. The input line accepts <, >, <= and >=. Look for the x-values of the indicated solutions (you may have to zoom out). Because you donβt specify a y-value, Geogebra assumes that y can be anything. 21 Inequalities Involving Absolute Value If you follow the method outlined in the section on absolute value, these inequalities should not be too difficult to manage. Example In our first example, the part with the absolute value is greater than something: l 5x + 2 l > 12 There are two possibilities. First, 5x + 2 was a positive quantity or zero and the absolute value sign did not change it. 5x + 2 β₯ 0, so 5x β₯ -2 and x β₯ - 2 5 2 For x β₯ - : 5 5x + 2 > 12 5x > 10 x > 2. 2 This solution is compatible with x being greater than or equal to - , so x > 2 is valid. Using 5 interval notation we would write that as (2, β), which says that x is in the interval from 2 to infinity with the number 2 itself not included. If we wanted to include the number 2 we would use the notation [2, β). Notice that since βinfinityβ is not a number, β itself is never marked as included in the interval. The other possibility is that 5x + 2 was a negative quantity that was made positive by the absolute value sign: - (5x + 2) > 12 (5x + 2) < -12 Remember to turn the inequality sign around when you divide by -1. Notice that now you no longer need the parentheses: 5x + 2 < -12 5x < -14 x<- 14 5 . 22 There is no problem with the solution x < - 14 5 ; no values of x less than - 14 5 will interfere with 2 the expression 5x + 2 being negative since 5x + 2 < 0 means x < - . Using interval notation we 5 would write (- β, - 14 5 ). Our final solution is: x < - 14 5 or x > 2. Example Now letβs look at a situation where the part with the absolute value is less than something: l x l < 3. If you stop and think carefully, you will realize that the actual value of x must be between β 3 and 3, so we could write -3 < x < 3. Personally I tend to be too lazy to think carefully every time I do this stuff, so let me first do a problem the same way we did before. l 2x + 4 l < 10 Consider the possibility that that 2x + 4 was positive or zero, so it is unchanged: 2x + 4 < 10. 2x < 6, so x < 3. You may think that this solution implies that x can be any value so long as it is less than 3. However, the condition for obtaining this answer is that 2x + 4 is positive or 0. Only some values for x will make that true: 2x + 4 β₯ 0 2x β₯ - 4 x β₯ -2 Provided that x is bigger than or equal to -2, the solution of the inequality is x < 3. Therefore the permissible values of x are between -2 and 3: -2 β€ x < 3. Now think about the possibility that 2x + 4 was negative: - (2x + 4) < 10 2x + 4 > - 10 2x > - 14 x > -7 23 Notice that I marked a minus sign in red in this solution too, because it is easy to forget it when you are concentrating on turning your inequality sign around. In order for 2x + 4 to be negative, there is another restriction on x: 2x + 4 < 0 2x < -4 x < -2 Provided that x < -2, the solution to the inequality is x > -7. This part of the solution gives us -7 < x < -2 Combining our two solutions we get -7 < x < 3 Here is the more sophisticated, and much faster, way to do the same problem: l 2x + 4 l < 10 really means -10 < 2x + 4 < 10. Do not be intimidated by the two inequality signs. Just follow the logical steps and subtract 4 from all parts of the inequality so it is still true: -14 < 2x < 6. Next, divide by 2 all the way along: -7 < x < 3. Notice that this is a lot easier, so it does help to put some thought into it up front. To graph the solution for this example you need two open circles because the numbers -7 and 3 are not included: Your graphing calculator or graphing software can help you check your answers. Turn the expressions on each side of the inequality into functions and graph them. If you graph y = abs(2x+4) and y = 10, you will see that the inequality is true when -7 < x < 3. The x-values of the intersect points are -7 and 3. If you have an expression like 4 l 2x + 5 l - 3 < 9, first change it so that the absolute value sign is on one side by itself: 4 l 2x + 5 l < 12, and l 2x + 5 l < 3. Now we know that 2x +5 must be between -3 and 3: -3 < 2x + 5 < 3. Subtract 5 from both sides: -8 < 2x < -2, so -4 < x < -1. Alternatively, you can do it the long way around and get the same answer. Practice solving some basic linear inequalities (no exponents on x) by creating your own. Use graphing software to check your solutions. 24 Tolerance Levels Sometimes you may be asked to create your own absolute value expressions. Letβs look at a real-life example. The other day I bought a pack of six 500ml soft drink bottles. When I got home I noticed that one of these sealed bottles contained noticeably less liquid than the others. βWhat a rip off!β and βIs that safe to drink?β were the reactions from my family. Manufacturers normally try to avoid situations like this by establishing tolerance levels for the filling process. If all 500ml bottles contain between 499 and 501 milliliters consumers are unlikely to notice the difference, because a milliliter is a small amount of liquid that fits in a cube with sides of 1cm. Another way of writing this tolerance level is to say that bottles should contain 500ml ± 1ml. The difference can be positive or negative, so long as it is not more than 1 ml. This is an ideal situation for the use of an absolute value sign: |ππππ’ππ‘ ππ ππππ’ππ ππ πππ‘π‘ππ β 500ππ| β€ 1ml Your word problem might say: create an absolute value equation that shows that bottles of a certain brand of soft drink should be filled to contain between 499 and 501 ml. To create an inequality like this from a word problem, find the midpoint of the acceptable range of values. In this case the acceptable range is from 499 to 501, so the midpoint is 500 and the range is 501 β 499 = 2. The difference between the actual amount and the midpoint should not be more than half the range: |πππ‘π’ππ π£πππ’π β ππππππππ‘| β€ ½ the range. Example The safe storage temperature for a vaccine is between 1 and 4 degrees Celsius. Find an absolute value expression for the storage temperature. There is a range of 3 degrees for the safe temperature, and the midpoint of that range is 2.5 degrees Celsius. |πππ‘π’ππ π‘πππππππ‘π’ππ β 2.5 πππππππ πΆ| β€ 1.5 degrees C. This says that we would like the storage temperature to be 2.5 degrees C, with no more than 1.5 degrees of variation on either side. SUMMARY 25 l x l > 3 means x > 3 or βx > 3. That works out to x > 3 or x < -3. l x l < 3 means -3 < x < 3 If you need x to be within a certain range, find the midpoint of that range: |x β ππππππππ‘| β€ ½ the range. Linear Inequalities Linear equations are equations like y = 4x + 2 that graph as a line. The general form of a linear equation is y = mx + b, where m is the slope, and b is the y-intercept. If you need some review on working with linear equations, check out βCaution! Steep Slope Aheadβ and βLinear Equationsβ in the Pre-Algebra / Algebra 1 e-book. Linear inequalities are very similar to linear equations. To graph them, first graph the line of the corresponding linear equation. Then consider if you want y to be bigger than that or smaller. If y is larger than the value indicated by the line, shade the area above the line to show the solution of the inequality. Otherwise shade the area below the line. If the values on the line are not included in the inequality, as in y > 4x + 2, draw a dashed line to represent y = 4x + 2. Then shade the area above the line: If the values on the line are to be included, use a solid line instead. 26 When you solve a system of two equations, the solution is usually a single point, and it is found where the two lines intersect. You can solve a system of two inequalities, like y > 4x + 2 1 y β€ - 3x β 1 If there is a solution, the result will be a region of overlap: Non-Linear Inequalities For those inequalities that involve higher powers of x, it really helps to think of the problem as a comparison between two functions. Letβs look at something we can draw a simple picture for: x2 < 4. We can think of that this way: 27 Here we are visualizing the function y = x2, and asking where the function value is less than 4. Notice that the red line represents the function y = 4. We can see that x should be between -2 and 2 by looking at the picture. It is also easy to solve x2 < 4 without a picture. If you donβt see the answer right away, you can first solve x2 = 4, which gives x = 2 or x = -2. Where would x2 be less than 4? Well, that should either be in the interval (-2, 2), or outside of it. Here you can use test values. Pick a value in the interval, like x = 0. Now the inequality works. Pick one below or above the interval, like -3 or 3, and you get 9 < 4 which is not true. This is a good general way to solve an inequality. First look where the equality points are, and then use some test values to see where the inequality holds. Because we are doing non-linear inequalities here, it is often to our advantage to rearrange them to get an inequality that is less than or greater than zero. This makes the equality points much easier to find. (x β 2)(x + 3) = 0 is much easier to solve than (x β 2)(x + 3) = 4. For the first equation we can say that x β 2 is zero or x + 3 is zero, or both are zero. However, for the second equation we cannot say that x β 2 = 4 or x + 3 = 4! To illustrate, I have changed the inequality x2 < 4 to x2 β 4 < 0, and adjusted the picture: 28 We can think of this as taking the function y = x2 β 4, and asking where the function values are negative. First look at where the function is equal to zero. x2 β 4 = 0 can be factored as (x + 2)(x β 2) = 0. This shows that the equality points are still -2 and 2. The function touches the x-axis at x = 2 and x = -2, so if it is going to change from positive to negative or negative to positive that would happen at these points. We can quickly see where the function is less than zero by using test values or a graphing calculator. Test values require that you test in between the equality points and on both sides of them. In this case you might use -3, 0 and 3. When you use a test value, you can insert it into the original inequality, into the adjusted form that has 0 on one side, or into the factored form. For example, a test value of 3 can be put into x2 < 4 , into x2 β 4 < 0, or (x + 2)(x β 2) < 0, all with the same result. However, if you are working with more complex inequalities and you donβt have a calculator handy, it may be to your advantage to put your test values into the factored form. That way you do not have to actually calculate specific values. Instead, you can just look for positives and negatives, like this: (-3 + 2)(-3 β 2) < 0 The first part, (-3 + 2), is negative, and the second part, (-3 β 2), is also negative. Multiplying two negative quantities will always produce a positive number, so we can tell right away that -3 doesnβt work. A test value of 0 gives us (0 + 2)(0 - 2), which produces the negative value we want. A positive value results when we test x = 3. Report your answer as the interval (-2, 2). 29 Note that the endpoints of the interval are not included, because the inequality has a < sign and not a β€ sign. Including -2 or 2 would make (x + 2)(x β 2) equal to zero. Sometimes inequalities donβt factor quite so nicely, and the equality points end up being icky fractions, like this: (3x β 2)(7x β 5) > 0. When you solve (3x β 2)(7x β 5) = 0, you get x = 2 3 or 5 x = 7. Now it is not so easy to get a test value that is in between 2/3 and 5/7. Here we can cheat a little and work with the equality points themselves. First test a value that is just a little tiny bit less than 2/3. (3x β 2) is 0 at x = 2/3, but if you use your imagination you can see that it would be negative if you put in something for x that is just a little smaller than x = 2/3. When x is 2/3, (7x β 5) works out to 15 3 β 5 to get 0, so 14 3 14 3 β 5. We would need β 5 is negative, and it is still negative slightly below 2/3. Now we have a negative quantity times a negative quantity, which will give a positive and make the inequality true. Next, check just a very, very tiny bit above 2/3. (3x β 2) turns positive as soon as you get even the minutest fraction above 2/3. (7x β 5) will still be negative at that point, because it requires an x value of 5/7 or above in order to change its sign. (3x β 2)(7x β 5) gives a positive times a negative, which is a negative value. The inequality is false when x is between 2/3 and 5/7. Now we will check just a little above 5/7: (3x β 2) is still positive, and so is (7x β 5). Because we are multiplying two positive values, the inequality is true for x > 5/7. In fact, the only place where the inequality is not true is between 2/3 and 5/7, an interval so small that you canβt see the negative part of the function on your graphing calculator unless you zoom in really close. Summary To solve a non-linear inequality it is usually best to rearrange to get a zero on one side. Look where the equality points are, then use test values to see where the inequality holds. Factoring can help you find the equality points. 30 Exponents Exponents are the second item in βPlease Excuse My Dear Aunt Sallyβ. This means that they have a very high priority in the order of mathematical operations. An exponent on something generally belongs exclusively to that one thing, unless there are parentheses present. So, 3x 2 is just 3x2, because the exponent applies only to the x. However, once you place some parentheses they get priority, and the exponent applies to the entire thing inside those parentheses. (3x)2 means 3x β 3x which is 9x2. First we will do some multiplication involving exponents, which is the easiest part. x3 · x4 = ? This really means x · x · x times x · x · x · x, which equals xxxxxxx. Now you have 7 x's in a row, which is x7. Notice that the exponents simply add up. x3 · x4 = x7. This also means that x5 · x5 = x10. Once mathematicians figure something like this out, they can't resist creating a formula, like xa · xb = xa+b. Donβt be intimidated by such formulas that simply restate what was already explained. Say something like, "Yeah, you just said that, duhh!" Then look it over carefully, just to... uh... make sure the mathematician hasn't made a mistake. Division with exponents is not much harder. We already know that 5x x multiply by x and then divide by x, you have effectively done nothing. = 5, because if you 5xx xx is also 5. Just cross off one x above the line and one below the line, until all of the useless x's are gone. can also write this as x5 x3 = x2 x3 x2 xxx xx = x. We = x1, which is just x. Another example: , because we can remove 3x's above the division line and 3 x's below the division line. Because of how this works, we can quickly divide by subtracting the exponents. x7 x4 = x7-4 = x3. Write this out completely and make sure that you believe it is correct. The general formula for this is of course [ ]: Notice that using this method, x1 x1 xa xb = xa-b. is x1-1 which is x0. Since any number divided by itself is 1, x0 must mean 1. However x cannot be 0 here since we canβt divide by 0. 00 is undefined. 31 Another thing that happens when you start subtracting exponents is that you end up with negative exponents. Consider x2 x5 . You can write that as xx / xxxxx. Once you have removed two sets of x's that are not doing anything, you end up with 3x's below the line, or 1 / xxx: xx xx β 1 = xxxxx xxxxx = 1 xxx If you just subtract the exponents that would leave you with x-3. This tells you that x-3 means 1 x3 . That's just the way things work out. So x-a is 1 xa . Because an expression like x-4 is really a fraction, you should treat it like one. divided by 5: 6 x 1 x4 means 6 ÷ β2 ÷5= 1 x2 = 1 x4 6 x2 1 β 1 5 1 1 x4 ÷ = = 6x2 1 1 1 5 5x4 β = xβ4 5 means x-4 . . As a shortcut, you might notice that you can move the part with the negative exponent to the other side of the division line to get a positive exponent. That is not a substitute for understanding what is going on, but it does save a lot of time. Multiplying with exponents causes us to have to add the exponents. You can also [trust mathematicians to think of this] put an exponent on something that already has an exponent. This is called raising a power to a power, and it looks like (x 2 )3 . Thinking carefully about what this means, we rewrite it as x2β x2β x2 = xx β xx β xx or x6. Basically, we end up with x2·3 = x6. So, when you raise a power to another power, you multiply the exponents. (x 2 )3 = x6. Be careful when there are multiple things inside the parentheses. (xy)3 means xy β xy β xy = x β x β x β y β y β y = x3y3. Conversion Factors and Exponents Conversion factors also work when you need more complicated units like square feet or cubic yards. For example, to find out how many square feet are in 3 square yards, we can use the 3 feet conversion factor and simply square it: 1 yard 32 9 feet2 3 feet 2 3 yards2 x (1 yard) = 3 yards2 x = 27 ft2 2 1 yard Donβt forget that when you square 3 feet you get 9 square feet, not 3 ft 2. Draw a picture if necessary to see how that works. If the side of a square is 3 ft, the area is 9 ft2. Scientific Notation Visit this website for a thorough explanation of scientific notation: http://ieer.org/resource/classroom/scientific-notation Scientific notation also helps by getting rid of those potentially confusing zeroes at the beginning of numbers. If you write 0.03880 in scientific notation, it looks like this: 1 0.03880 = 3.880 x 100 1 Because 100 can be written as 10-2, the actual notation used is 3.880 x 10-2. Now it is clear that 0.03880 has 4 significant figures. The zeros at the beginning of the number are not involved in showing how precise the measurement was. If you know how to work with exponents, you can easily multiply scientific numbers. For example, (2 x 10-5) x (6 x 10-3) = 2 x 6 x 10-5 x 10-3 = 12 x 10-8. Because the first number is 10 or larger, we have to make it 10 times smaller, which means that 10-8 has to be 10 times larger to keep the number the same: 12 ÷ 10 = 1.2, and 10-8 x 10 = 10-8 x 101 = 10-7. The final answer is 1.2 x 10-7. Fractional Exponents 1 What about exponents that are fractions? Do they exist? Let's consider x 2 . We know that when we multiply things with exponents, we can just add the exponents. So 1 1 1 1 x 2 β x 2 = x 2+2 = x1. 33 This means that x1/2 has to represent a number that, when multiplied by itself, is x. The only candidate for this is βx, since βx β βx = x. There is no other choice than to conclude that x 1 2 = βx. 1 1 1 1 So what is x 3 ? There would have to be a number such that x 3 β x 3 β x 3 = x. This is the 1 number we call the cube root of x, or 3βx. By now you can probably guess that x 4 is the fourth 1 root of x, 4βx . Creating a general formula: x n = nβx or the nth root of x. 2 At some point you are going to see some very scary looking fractional exponents, like x 3 . Do not despair! Just use your knowledge of fractions to see how such an exponent could have been created. We know that when we raise a power to a power, the two numbers are 2 1 1 2 multiplied. That means that x 3 could have been created in two ways: (x 2 )3 or (x 3 ) . 2 3 3 2 Therefore, x 3 = βx 2 = ( βx) . Both these forms mean the same thing. Because it is more 2 3 trouble to use parentheses, youβll usually see x 3 written as βx 2 . Notice that it is the 3 denominator of the fractional exponent that determines what kind of root is involved. x 5 means 5 βx 3 , a n n and x can be written as βx a . Just remember that scary-looking exponents follow the same rules as regular exponents! If you 1 have a complex problem like: simplify β x 4 1 x4 1 1 , go ahead and apply the regular rule for division 1 1 which means subtracting exponents: - - = - . Our answer is x β2 which means 4 4 Summary xa · xb = xa+b xa xb = xa-b 2 1 1 x2 or 1 . βx 34 1 x-a is xa x0 = 1 (x a )b = xab (xy)a = xaya x 1 n n = βx a n a x = nβx a or ( nβx) Exponent Practice 1. Show that 32(2x)β5 xβ1 xβ4 =1 2. Show that 27-1x-14y-12(3x4y3)4 = 3x2 3. 5 x 100 = 4. 254 = 5 5. Complete the worksheets available at http://ieer.org/resource/classroom/scientific-notation 35 Roots The Latin word for root is βradixβ, as in radishes which are the edible roots of a plant, so youβll see roots referred to as radicals. Square Roots By definition, the square root of a number is something that can be multiplied by itself to give that number: βx β βx = x. If that doesnβt seem obvious, just try it out with a real number like β25. All positive numbers have both a positive and a negative square root. By convention β9 means the positive square root of 9 which is 3. If we want to indicate the negative square root of 9 we write -β9. Negative numbers do not have real square roots. It is possible to take the square root of a negative number by using the imaginary number i, which is defined as ββ1. Weβll take a closer look at square roots of negative numbers at the end of this chapter. The important equations to remember for manipulating square roots are: βab = βaβb a and β = b βa βb By definition, βab β βab = ab. We can easily verify that βaβb is actually the same as βab, since βaβb β βaβb = βaβaβbβb = ab. Caution: this simple relationship leads some students to think that βa + b = βa + βb. You can confirm that this is not true by using some real numbers: β9 + 25 = β9 + β25, which means that β34 would be equal to 3 + 5. The actual square root of 34 is not a nice number, but you can be sure that it isnβt 8, since 8 is the square root of 64. You can also prove that it is not true in a general way. βa + b β βa + b = a + b. However, (βa + βb) β (βa + βb) = βa β βa + βaβb + βbβa + βbβb = a + 2βaβb + b. Not the same thing. βa + b β βa + βb Division works nicely: βa βa β βb βb = a β aβ a ,= βbβb b so βa βb a must be the same as the square root of , b a βb. This last fact means that you can rewrite something like β125 β5 as β 125 5 = β25 = 5. 36 When we multiply, we add exponents: x3 β x2 = xβxβx β xβx = x5. Just keep that in mind when you are looking for something that multiplied by itself is equal to x, or x1: x? β x? = x1 There is only one thing that we can put for the question mark so that the exponents add to 1. x1/2 β x1/2 = x. Therefore, x1/2 means βx When we take the square root of an unknown, like βx, we have to keep two things in mind: The value under the square root sign must be positive to start with (unless we allow the result to be an imaginary number), and the result is going to be positive. For example, if you are asked to simplify βx 2 , the first condition is taken care of because x2 is always positive. However, the resulting square root is positive, even if x was negative to start with. By definition, βx means the positive square root of x. [The negative square root of x is written as βx.] You might be tempted to write βx 2 = x, but that doesnβt work so well if x was, say, -3. To make sure that you actually get a positive number you should use absolute value signs: βx 2 = |x|. Think of these lines as safety bars that make sure that the square root is positive. Use the safety bars all the time as a habit, and then just remove them if you find they are not needed. β4x 6 = |2x 3 |, but 2 is already positive so it doesnβt need safety bars. Write β4x 6 = |2x 3 | = 2|x 3 |. Many times the absolute value sign can be removed completely: βx 8 = |x 4 | = x 4 since x 4 can never be negative. For most textbook problems the roots provided in the problem are considered to be real numbers rather than imaginary numbers. If you see something like βx 3 , you can usually assume that x3 is positive or zero. If x3 isnβt negative, then x cannot be a negative number. βx 3 = βx 2 β x = xβx. No absolute value sign is used because the question implies that x is positive. Simplifying Square Roots Using the idea that βab = βaβb, you can simplify an expression like β50 . It goes like this: β50 = β25 β 2 = β25 β β2 = 5β2. What if the question is a little harder, like: simplify β420 ? The tree method breaks down a number into its prime factors. The numbers spread out like branches of a tree. You can just divide without worrying about prime numbers. Here I started 37 by dividing 420 by 4, but I could have divided by 2 first, or by 7, or by 10, or anything that works. The end result is always the same - just try it yourself to see that you get the same answer. The prime factors are like the leaves at the end of the branches. Circle them when you are done and put them in order: 420 = 2 β 2 β 3 β 5 β 7 β420 = β2 β 2 β 3 β 5 β 7 = β22 β β3 β 5 β 7 = 2β105 Another example: Simplify β1248 Break down the number 1248 into its prime factors: 1248 = 3 β 416 416 = 2 β 208 208 = 2 β 104. 104 = 2 β 52. 52= 2 β 26 26 = 2 β 13 This shows that 1248 = 3 β 2 β 2 β 2 β 2 β 2 β 13. That is the same as 25 β 3 β 13. So, β1248 = β25 β 3 β 13 = β24 β 2 β 3 β 13 = 22 β β2 β 3 β 13 which is 4β78. Note that the square root of 24 is 22, because 22 β 22 = 24. 38 β26 is 23, since 23 β 23 = 26. While it may look fine to us to write something like β5 , math teachers get very upset if you β3 leave a root in the denominator of a fraction. For this reason you should always remove such a root as soon as you notice it. Fortunately that can be done easily by multiplying both the top and the bottom of the fraction by the offending square root, as follows: Since β3 β β3 is just 3, this can be written as simplify that to β5 β3 . 3 β5 β3 · , β3 β3 = β5ββ3 . β3ββ3 Remembering that βaβb = βab , we β5β3 β15 . Now our answer is . 3 3 Do not try to get around having a square root in the denominator by writing β5 β3 5 as β . Leaving 3 a fraction under a square root sign is also not acceptable to math teachers. It is possible to remove a square root from the denominator of a fraction if it appears along with a regular number. For the expression βx , you can multiply the top and bottom by 4 + β3 4 β β3 to take advantage of the difference of two squares [a2 β b2 = (a + b)(a β b)]: 4ββ3 βx (4ββ3) 4βxβ βxβ3 βx β = 2 = 4 + β3 4ββ3 16β3 4 2 β β3 = 4βxβ β3x 13 There are no tricks to rearrange βa + b or βa β b. It is NOT true that βa + b = βa + βb. We can easily see that since β9 + 16 is not equal to β9 + β16. Do remember that regular math continues under the square root sign. This may allow you to factor something out of an expression and then move it outside the square root sign, like this: β4x + 100 = β4(x + 25). Now you have two things under the square root that are multiplied by each other, so you can write β4 · βx + 25 , which is 2βx + 25. Cube Roots Cube roots are easier to manage because we donβt have to worry about positives and negatives. The number under the cube root sign can be either positive or negative, and the 39 answer already has the correct sign automatically. The cube root of a positive number is always positive, and the cube root of a negative number is always negative. No absolute value signs are needed when you are taking the cube root of an unknown. You can manipulate cube roots using equations similar to those we used above for square roots: 3 3 3 βab = βa βb 3 3 a βa βb = 3 and βb for all positive and negative values of a and b. Cube roots can also be indicated by a fractional exponent. Because x1/3 β x1/3 β x1/3 = x, we say 3 that x1/3 = βx. You can rewrite the rules above using fractional exponents: (ab)1/3 = a1/3 b1/3, 1 1 a 3 and ( ) b a3 = 1 b3 3 Cube roots can be simplified in the same way as square roots. For example, β250 can be 3 3 3 3 3 written as β5 β 5 β 5 β 2 or β53 β 2. We can split that up into β53 β β2, which simplifies to 5 β2. Math teachers donβt like cube roots as denominators either. Remove them just like for square 5 3 roots. For something like 3 , you can multiply the top and bottom by β32 . This has the β3 advantage of turning the denominator into something with a nice cube root: 5 3 β3 3 β32 β3 = 2 β3 3 5 β32 3 β33 3 = 5 β32 3 More Roots Once you understand square roots and cube roots really well, you should not have problems n with other roots. For all even values of n, βx works like square roots do. Make sure the value 4 under the root sign is positive, and remember that the answer is always positive. βx 4 = |x|. Use an absolute value sign first, and then see if it is needed or not. For odd powers of n, you do not need to worry about signs. You can take the root of a negative number, and the absolute value sign is not needed in the answer because it will just be positive or negative as required. 5 βx 5 = x. 3 As we saw earlier, roots can be represented by fractional exponents. βx = x1/2 and βx = x1/3. In n general, βx = x1/n 40 3 3 You can also convert radical expressions into fractional exponents. For example, β16 = β24 = 10 5 24/3. Sometimes this form is easier to work with. To simplify β34 β β33 , use fractional 5 10 exponents: β34 β β33 = 34/10 β 33/5 = 32/5 β 33/5 = 35/5= 3. When you have a 4th root of a number squared, you can convert that to a simple square root: 4 1 2 1 4 1 β52 = (52 )4 = 54 = 52 = β5. Just be careful when you do that with an unknown: βx 2 = (x 2 )4 = β|x|, since the original x could have been a negative number. Imaginary Numbers Once you start using the quadratic formula to solve quadratic equations, square roots of negative numbers appear naturally. For a very long time people refused to even consider these roots, probably due to a general dislike of negative numbers. Finally ββ1 was defined as the imaginary number i. This means that i β i = -1. 2i is 2ββ1 and 3i is 3ββ1and so on. These are valid numbers in their own right, and we can put them on a number line: ..., 4i, -3i, -2i, -i, 0, i, 2i, 3i, 4i, ... When you need to take the square root of a negative number it helps to split the number up. ββ4 = β4 β β1 = β4 β ββ1 = 2i 2i β 2i = 2 β 2 β i β i = 4 β -1 = -4 The most common error students make is to say that ββ2 is 2i. If you split the number up it is easier to see that this isnβt true: ββ2 = β2 β β1 = β2 β ββ1 = β2 β i That last expression can be written as iβ2 or (β2)i so you donβt accidentally slip i underneath the square root sign. βImaginaryβ numbers turned out to have some very practical uses, especially in physics and electrical engineering. It is also fun to leave the boring regular number line and go off in a different direction. The most logical, and most useful, direction for that is at right angles to our plain number line. Having two different number lines at right angles allows us to create a number plane. 41 2 The quadratic formula often leaves us with numbers that look like 3 + 2i and 3 β 2i, or 5 + 2 and 5 - β13 5 β13 5 i i. These numbers are called complex numbers. If you got them from the quadratic formula they always come in pairs due to the ± sign in the formula. Complex numbers have a real part and an imaginary part, and we use those parts to place them on the number plane. Measure the real part along the real number axis, and the imaginary part along the imaginary number axis: Here point A represents 3 β 2i. Point B is the location of 4 β 3i Just like for numbers on a number line, the βsizeβ or modulus of these complex numbers is determined by the distance of the number from the origin. Since distance is always positive we need to use the absolute value sign. (The absolute value sign changes a negative number into a positive quantity. If the number inside the sign is positive or zero, it remains unchanged.) |3 β 2i| refers to the βsizeβ of this number, which is its distance from the origin of the number plane. It is represented by the blue line in the image above. We find this distance by taking the square root of the squares of the individual components according to the Pythagorean Theorem: |3 β 2i| = β32 + |β2|2 = β13 42 |4 β 3i| = β42 + |β3|2 = β25 = 5 This shows that 4 - 3i has a larger absolute value than 3 - 2i, which makes sense because it is located further from the origin. Equations Containing Radicals Because we use the expression βx to represent only the positive square root of x, we may occasionally find that we have extraneous solutions to our equations. This happens whenever the negative square root tries to go along for the ride, usually when we do a squaring operation to get rid of a square root. Take for example the equation x + 2βx β 8 = 0. We can easily eliminate the confusing square root here by isolating it on one side of the equation and then squaring: 2βx = 8 β x, so 4x = 64 β 16x + x2. Rearranging, we get x2 β 20x + 64 = 0. [Why isolate the square root first? Try doing it the other way so you can see what happens.] This factors to (x β 4)(x β 16) = 0, giving solutions of x = 4 or x = 16. When you plug these solutions back into the original equation, you see that 16 doesnβt work. If we allowed βx to also represent the negative square root we could actually make it fit: 16 + 2(-4) β 8 =0, but that isnβt how we have defined things. Mathematicians donβt like surprises, so βx is always predictably positive. The equation x + 2βx β 8 = 0 is actually easier to solve by substitution because this method alerts us to the presence of the negative root. We substitute x = (βx)2. Now the equation looks like this: (βx)2 + 2βx β 8 = 0 and we can solve it as a quadratic equation. This equation factors into (βx + 4)( βx β 2) = 0, which tells us that βx = -4 or βx = 2. Since βx is never negative, we can immediately eliminate the first solution, so we know that x = 4 is the only answer. When your equation contains square roots, it is usually relatively easy to solve by squaring, although you may have to do that twice for the more complex ones. If there is a cube root, you can raise things to the 3rd power. You may also encounter equations with potentially confusing fractional exponents, but those are easier than they look. Here is one you already know: 43 βx = 5 1 1 x 2 = 5 You want x, which is really x1, so 2 should be multiplied by 2: 1 2 (x 2 ) = 52 x = 25 Now try this one: 2 2 3 3 2 x 3 = 4 We can remove by multiplying it by the reciprocal . However, when we multiply by a fractional exponent with an even denominator, weβre really taking an even root. In this case we are taking a square root, which you can see if we do it in two stages: 2 3 (x 3 ) = 43 x2 = 43 1 1 (x 2 )2 = (43 )2 Whenever you are taking a square root on both sides, those square roots could be either positive or negative. Account for that by putting ± on the right side: 3 x = ±β43 Remember that you can also write β43 as β4 . Either way the answer is x = ± 8. Summary Isolate the radical on one side of the equation, and then eliminate it. Check for extraneous solutions! Always put your solutions back into the original equation. If the radical equation looks somewhat similar to a quadratic, you may be able to substitute x = (βx)2. Get rid of confusing fractional exponents by raising both sides to the reciprocal power. (Donβt forget to use a ± sign when the denominator of the fraction you are using is even.) 44 Factoring Quadratic Equations Rectangles have always been important to people. We build rectangular buildings and farm rectangular plots of land. Practical considerations prompted ancient mathematicians to start working with rectangles, and then they just naturally got carried away and discovered polynomials. How did this happen, and more importantly, why didnβt they just leave things alone? What matters to us about our rectangular buildings and fields is their usable area. If both the width and the length of a rectangle are unknown, we could call them x and y and say the area is xy. However, especially for buildings, we usually have some kind of relationship between the sides in mind before we start constructing. Imagine you are a mathematician working for the ancient king Mahotep I. The king wants a new audience hall with an area four times as big as the current one. The architect chooses to have the length of the hall twice as long as the width, and the required area is 5200 square cubits (a cubit is approximately the distance from your elbow to the tip of your middle finger). You call the width x, and the length 2x. The area will be 2x2 = 5200, so x = β2600. You look up the square root of 2600 in your table of squares and think you are done. Then the architect informs you that he has to add an extra 2 cubits to the width to accommodate five large statues of the king along the western wall, but the required area will stay the same. Your new calculations are: (x + 2) β 2x = 5200, or 2x2 + 4x = 5200. Eek, you have just discovered the quadratic equation, and now you are stuck solving it too. You divide by 2 to get x2 + 2x = 2600, but now what? How can we find x? Actually people were able to do this a long time ago, and their methods are still used today. Simple Factoring Review Factoring can help you find solutions to quadratic equations containing only one unknown value. These equations are named after their highest power term, x2 (x squared). The root "quadr" means 4 and "quadrus" means square, since a square has four sides. Originally these equations came from problems involving squares and rectangles. The general form of a quadratic equation is: ax2 + bx + c = 0 where a, b and c are constants. 45 Now if you try to actually find the value of x for any quadratic equation, you can see that it is a bit of a challenge. Just try 3x2 + 5 - 2x2 = -6x - 3. Quick, what is x? Using factoring, we will see that there are actually 2 different answers that are both correct. The first step in factoring a quadratic equation is to get it in a form you can recognize and deal with easily. If you have an equation like 3x2 + 5 - 2x2 = -6x - 3, you'll never be able to factor it until you clean it up a little. It's sort of like cleaning up your room to help you find something you've lost. The equation rearranges to: x2 + 6x + 8 = 0. Next, we have to realize that many quadratic equations are the product of two simple factors, like (x + p)(x + q), where p and q can be either positive or negative numbers. To see how this works, do the following multiplications: (x + 3)(x + 1) (x + 2)(x + 4) (x - 5)(x - 6) (x + 3)(x - 2) In each case, the result is a quadratic expression of the form x2 + ...x + .... Usually mathematicians write these general quadratics as x2 + bx + c. If you look closely at your answers, you'll see that b is always the sum of whatever numbers we picked for p and q, while c is always the product of p and q. Watch what happens when we multiply just using p and q: (x + p)(x + q) = x(x + q) + p(x +q) = x2 + qx + px + pq This can be written as x2 + (p + q)x + pq. That's always how things work out. The middle term ends up as the sum of p and q [times x], and the last term is the product pq. For the equation x2 + 6x + 8 = 0 we need to look for p and q such that p + q is 6, and pq is 8. The only two numbers that fit this description are 2 and 4. It doesn't matter which one we call p and which one we call q, because (x + 2)(x + 4) is the same as (x + 4)(x + 2). So now we have changed x2 + 6x + 8 = 0 into (x + 2)(x + 4) = 0. At first you may not think that helps, but 0 has a remarkable property. If you take two numbers and multiply them to get 0, it means that at least one of the two numbers has to be 0. So either (x + 2) = 0, or (x + 4) = 0, or 46 both of them are 0. This gives us two answers for the value of x: x = -2, or x = -4. Plug these values into the original equation to see for yourself that they are both correct. There is an interesting way to actually see the answers. We can create the equation y = x2 + 6x + 8. This gives many points (x,y) for which the equation is true. At the point where y = 0 we should find our answers x = -2 and x = -4. Use MathGV or a graphing calculator to confirm this. At this point you should stop to realize that while it is very helpful to rewrite x2 + 6x + 8 = 0 as (x + 2)(x + 4) = 0, it would not at all be useful to rearrange an equation like x2 + 6x + 8 = 3 into (x + 2)(x + 4) = 3. Here you cannot say that either x + 2 must be 3, or x + 4 = 3, or they are both 3. That trick only works with zero! To solve x2 + 6x + 8 = 3, first rewrite it as x2 + 6x + 5 = 0, and then factor it. Finding Two Numbers that Multiply to P and Add to S Most students have to spend a lot of time finding two numbers that multiply to some product P and add to some sum S. That isnβt as hard as it seems at first, and youβll find it less frustrating if you follow a few simple rules. 1. Decide if you are looking for two positive numbers, two negative numbers, or one positive and one negative number. For example, if two numbers multiply to 15 and add to -8, they would have to both be negative to make that work. If the numbers multiply to -60, there has to be one positive and one negative. If they multiply to 100 and add to 25, they must both be positive. 2. If one number is positive and the other is negative, decide which one should be βlargerβ. If you want a positive sum, the positive number must be larger than the negative one. If the sum should be negative, pick the larger number and give it a minus sign. 3. Work systematically. Divide the product P by all possible factors in turn. Always start with 1! Remember that a number is only divisible by 3 if the sum of its digits is divisible by 3. Also, if you divide it by 2 and the result is even, you can divide it by 4. If you divide it by 3 and the result is even, it is also divisible by 6, and so on. Eventually you will reach a halfway point, after which the numbers repeat in reverse order, so you can stop. Suppose are factoring x2 β 8x β 84. You need two numbers that multiply to -84 and add to -8. One will be positive and one will be negative, and the larger number needs a minus sign: 47 1 x -84 2 x -42 3 x -28 4 x -21 6 x -14 Only the last two numbers add to -8. The quadratic expression x2 β 8x β 84 factors to (x + 6)(x β 14). The Difference of Two Squares Sometimes your problem doesn't look like the standard quadratic equation, such as x 2 β 4 = 0. This equation can be solved by writing it as x2 = 4, which means that x is 2 or -2. It can also be solved by factoring. We do this by using the difference of two squares, which you hopefully remember from Algebra 1. If not, here is a review: We can represent the difference of two squares with a paper square. Draw a square with sides a. On one corner of this square cut out a smaller square with sides b, which is the yellow area in the picture. Get rid of the small square. That is it already: a2 β b2. To see that this is the same as (a + b)(a β b), cut off one of the rectangular parts that is sticking out, and rotate it 1/4 turn. Now lay it against the remaining part to make a rectangle. The two sides of your rectangle are a + b and a β b, so its area is (a + b)(a β b). 48 You can see that the area of the rightmost figure is (a + b)(a β b) This tells you that x2 β 4 = (x + 2)(x β 2). If (x + 2)(x β 2) = 0, your answers are also x = -2 and x = 2. It is a good idea to create another graph [y = x2 β 4] to check these answers. Another way to look at x2 β 4 is to write it as x2 β 0x β 4. Now you could factor it by looking for two numbers that multiply to -4 and add to 0. Those numbers are 2 and -2, so the answer would still be (x + 2)(x β 2). Even if you find this approach easier, you should still know the difference of two squares for more complex situations. When you get to more difficult exams, the difference of squares may be disguised better, like 1 - (x + 3)2. Don't get confused; this is still a simple difference of two squares. It factors into (1 + (x + 3))(1 - (x + 3). Pay careful attention to - signs as you change this to (x + 4)(-x β 2). There is also another way to solve 1 β (x + 3)2 = 0. You can square (x + 3) first, so the equation turns into 1 β (x2 + 6x + 9) = 0. Be careful now; everything in the parentheses has to be subtracted from 1. Doing this carefully, we get 1 β x2 β 6x β 9 = 0, which rearranges to -x2 β 6x β 8 = 0. To get rid of the confusing - sign in front of x2, we divide both sides by -1. Again be very careful; every term has to be divided by -1. We end up with x2 + 6x + 8 = 0. Entirely by 49 coincidence, this is the same equation we factored earlier in this chapter. Look back a few paragraphs to see that the answers are -4 and -2, which are the same answers we get by factoring this as a difference of two squares. An even more clever way to disguise the difference of two squares is by squaring a square: a4 - 24 If we can recognize this as the difference of two squares we can factor it. a4 is really (a2)2, and 24 is (22)2. Therefore, the equation factors to a4 - 24 = (a2 + 22)(a2 β 22) = (a2 + 4)(a2 β 4) a2 β 4 can be further factored into (a + 2)(a β 2) If you don't recognize the problem as either a difference of two squares, or as a standard quadratic equation, you can often still factor it. Take the equation 15x2 + 5x = 0 for example. The largest factor that 15x2 and 5x have in common is 5x, so you can write the equation as 5x(3x + 1) = 0. This means that either 5x or 3x + 1 or both have to be zero. The answers are x = 0 and x = -1/3. More Complex Factoring Sometimes the quadratic equation will be presented to you with the middle term split up, like this: x2 + 4x + 5x + 20 = 0. This is a subtle hint that you're expected to factor the equation by a method known as grouping. Grouping works by taking the four terms on the right side of the equation and putting them in two groups: x2 + 4x β 5x + 20 = (x2 + 4x) β (5x β 20). Be careful when you are placing the second set of parentheses to account for possible sign changes. Notice that one of the + signs had to be changed to a β sign. Next, factor each group separately to get x(x + 4) β 5(x + 4). Because you have x times x + 4 and - 5 times x + 4, you can change that to (x β 5)(x + 4) [verify that by multiplying (x β 5)(x + 4) back out]. Therefore the equation x2 + 4x β 5x + 20 = 0 factors to (x β 5)(x + 4) = 0, and x has to be 5 or -4. You'd get these same answers if you had added the middle terms up first. x2 + 4x β 5x + 20 = 0 is the same as x2 β 1x + 20 = 0. Using the standard method you'd look for two numbers that add up to -1 and multiply to 20, and again you get (x β 5)(x + 4) = 0 50 There may be a number in front of x2, as in 2x2 + 10x + 4 = 0. The first thing to do is to see if you can get rid of it. In this particular case you can divide the entire equation by 2 to get x2 + 5x + 2 = 0. This factors as (x + 4)(x + 1) = 0, and the answers are -4 and -1. If there is no equals sign, and you are just asked to factor 2x2 + 10x + 4, put the 2 in front: 2x2 + 10x + 4 = 2(x + 4)(x + 1). Potentially confusing is the presence of a minus sign in front of the x, as in -x2 + x + 2. Fortunately this is easy to remove; just factor out -1: -x2 + x + 2 -1(x2 β x β 2) - (x + 1)(x β 2) Usually you cannot remove the number in front of x2. An equation like 6x2 + 17x + 5 = 0 would be very hard to solve by guessing. We need a more systematic approach. Let's start by seeing how such a complex equation is created. The real factors of 6x2 + 17x + 5 are (2x + 5) and (3x + 1), so weβll multiply those out to see how they generate the left side of the equation: (2x + 5)(3x + 1) 2x(3x + 1) + 5(3x + 1) 6x2 + 2x + 15x + 5 6x2 + 17x + 5 Notice that if only we could take 6x2 + 17x + 5 and go back to the step just before that, 6x2 + 2x + 15x + 5, we could factor by grouping like this: 6x2 + 2x + 15x + 5 (6x2 + 2x) + (15x + 5) 2x(3x + 1) + 5(3x + 1) (2x + 5)(3x + 1) Aaggh, so close! But how could we know that the middle term of 6x2 + 17x + 5 was created by adding 2x and 15x? Maybe it was 6x2 + 16x + x + 5 instead. Does it matter? Well, let me try to factor 6x2 + 16x + x + 5 by grouping: 6x2 + 16x + x + 5 51 (6x2 + 16x) + (x + 5) 2x(3x + 8) + 1(x + 5) Now the two things in the parentheses are different. It is not possible to combine them into two factors. If you donβt split the middle term up in just the right way things just donβt work out. To see if we can recover those two numbers that should make up the coefficient of the middle term, weβll use the general factors (mx + p) and (nx + q) [where m and n are letters that stand for random numbers just like p and q] Multiplying these factors gives: (mx + p)(nx + q) mx(nx + q) + p(nx + q) mnx2 + mqx + npx + pq. Since mq and np are just numbers, that would be written as: mnx2 + (mq + np)x + pq Comparing this with the actual quadratic, 6x2 + 17x + 5, we see that (mq + np) = 17. The numbers that we need to split up the middle term correctly are mq and np, but how to find them? Every quadratic expression can be written in the form ax2 + bx + c, where a, b and c are positive or negative numbers, or b and/or c could be 0. For mnx2 + (mq + np)x + pq, the number a is mn, and the number c is pq. When we multiply those two numbers, we get mnpq. However, that is also what you get when you multiply mq and np, the two numbers we are looking for. This tells you that if you multiply the first number and the last number in your quadratic, you get a number that the two numbers you want will multiply to. For 6x2 + 17x + 5, multiplying the first and the last number gives you 6 β 5 = 30. So, to find mq and np, look for two numbers that add to 17 and multiply to 30. After a bit of trial and error you would determine that these numbers are 2 and 15. Now we use these two numbers to work backwards and split up the middle term. Write 6x2 + 17x + 5 as 6x2 + 2x + 15x + 5, or 6x2 + 15x + 2x + 5. When we write an equation as mnx2 + mqx + npx + pq, we can factor it by grouping in two ways: (mnx2 + mqx) + (npx + pq) = mx(nx + q) + p(nx + q) = (mx + p)(nx + q) or (mnx2 + npx) + (mqx + pq) = nx(mx + p) + q(mx + p) = (nx + q)(mx + p) 52 We can do the same thing with 6x2 + 17x + 5 in a less abstract way, using the numbers 2 and 15 that we found by trial and error: 6x2 + 2x + 15x + 5 = 2x(3x + 1) + 5(3x + 1) = (2x + 5)(3x + 1) 6x2 + 15x + 2x + 5 = 3x(2x + 5) + 1(2x + 5) = (3x + 1)(2x + 5) For a quadratic that has a number in front of the x2, like 6x2 + 17x + 5, the best strategy is to find two numbers that add up to the middle number, 17, and multiply to 6 · 5, the product of the first and the last number. This method is called the ac method of factoring because we multiply a and c in the expression ax2 + bx + c. Although you can factor simpler quadratics where a = 1 this way too, that is more work than you need to do. Now to solve the original equation. We have seen that 6x2 + 17x + 5 = 0 is the same as (3x + 1)(2x + 5) = 0. This means that 3x + 1 = 0 or 2x + 5 = 0, giving answers of x = -1/3 or x = -5/2. There is a shortcut used by some teachers, although it is hard to remember long term. Learn it if you have to, otherwise donβt bother. You multiply the first and last numbers to get mnpq and put that in the top part of the X. Put the middle number, which represents mq + np in the bottom part of the X. Find your two numbers np and mq, and place them on the sides as shown, above the first number mn. Then simplify the fractions and you will have p, m, q and n. Here is how it works: 53 m = 3, p = 1, n = 2 and q = 5: (3x + 1)(2x + 5) Completing the Square and the Quadratic Formula There are two ways to solve a quadratic equation. Usually you first learn to solve these equations by changing them to a form where there is a zero on one side, and then factoring them. This method takes advantage of the fact that if a β b = 0, then either a = 0 or b = 0 or both a and b are equal to zero. For example, if 5 β b = 0 there is no other choice; b must be 0. We write the quadratic as ( β¦ )( β¦ ) = 0 and solve the parts separately. Because your textbook carefully selects suitable problems for you, you may not notice that only some quadratic equations can be solved this way. If you want to be able to solve any quadratic equation you should complete the square. Many thousands of years ago the ancient Babylonians discovered this method by actually drawing squares to represent the squaring of numbers. The purpose of doing so was to find the area of the square, which would tell you the length of the sides, and therefore the value of the unknown x. It looked like this: Suppose that you have an equation like x2 + 6x = 91. You draw a corresponding picture that has a square with area x2 and two rectangles with an area of 3x each. 54 From the original problem, you know that you have just drawn a figure with a total area of 91. To complete the square, you have to add a little piece with an area of 3 times 3, or 9. Once you have done that, your figure will be a perfect square with a total area of 91 + 9, or 100. Now that we know the area of the completed square, the solution is obvious just by looking at the picture. The only value for x that would give a completed square with a total area of 100 is x = 7. For cases where it is not immediately obvious, write out what you did: 55 x2 + 6x = 91 x2 + 3x + 3x = 91 x2 + 3x + 3x + 9 = 91 + 9 x2 + 6x + 9 = 100 The sides of the completed square are x + 3 long, so its area is (x + 3)2 (x + 3)2 = 100 (x + 3) = 10 x=7 Because we are looking at a real square, we cannot consider the negative square root, -10, which would lead us to a value for x of -13. Thousands of years ago people either ignored these negative values or considered them evil. Today we know we can work with them, so the old simple method of completing an actual square has fallen out of favor, but the idea is still useful. For a simple quadratic equation like x2 + 8x - 20 = 0, we can find x by factoring: (x + 10)(x - 2) = 0, so x = -10 or x = 2 Completing the square can also be done easily by rewriting the equation as x2 + 8x = 20. Draw a square with sides x to represent x2. Then split the number in front of the x term, 8, in half to add two pieces with area 4x to your square. Now you can see that a square piece with an area of 16 (sides of length 4) is needed to complete the square. Add 16 to both sides to get x2 + 8x + 16 = 20 + 16. x2 + 8x + 16 = 36 (x + 4)2 = 36 x + 4 = ±β36 Your picture should show a square with sides x + 4 and an area of 36. For that to work out x must be 2. The negative solution gives x + 4 = -6 so x = -10. Surprisingly, we can still use the ancient method of literally completing the square when a quadratic equation has a negative number in front of the x term. Let's tackle x2 - 4x = 21. First, we'll draw a square with sides x. Then we will attempt to subtract 4x by removing 2x from both sides: 56 Now there is a problem, since there is not another piece with area 2x to remove. Let's fix that by adding a little piece. Just remember to add it on both sides of the equation: x2 - 4x + 4 = 21 + 4. 57 Since x2 - 4x + 4 = 25, the area that remains after we have added the little piece and taken away two strips of 2x is 25. Each side of the remaining square is x β 2 long, which has to equal 5. That means x = 7, and this solution fits the original equation x2 - 4x = 21. The negative square root of 25 is -5, which provides the other solution: x β 2 = -5, so x = -3. If you look at the pictures carefully, you will see that completing the square doesnβt work so well when there is a number in front of the x2 part of the equation, like 3x2 + x β 18. Make sure to get rid of the 3 before completing your square. This is easy to do if you have an equation with a zero on one side, since you can divide both sides by 3: 3x2 + x β 18 = 0 1 x2 + 3 x β 6 = 0 1 1 Now you need to split 3 x in half. To quickly divide 3 by 2, just shove a 2 underneath the 1 fraction line: . This makes the fraction 2 times smaller (dividing by 2 is the same as 2β3 1 multiplying by 2 ). 1 1 1 = 2β3 6 1 2 1 2 x2 + 3 x + (6) β 6 = 0 + (6) 1 1 1 1 (x + 6 )2 β 6 = 36 (x + 6 )2 = 6 - 36 = 1 215 x + 6 = ± β 36 216 36 1 - 36 58 1 x=-6± β215 6 = β1±β215 6 ____________________________________________________________________________ If you are asked to complete the square when there is no equals sign, as in 3x2 + 4x β 18, you can put the 3 outside parentheses, and work inside those parentheses to complete the square: 4 3(x2 + 3 x β 6) 2 2 4 2 2 2 2 3(x2 + 3 x + (3) β (3) β 6) Notice the clever trick of both adding and subtracting (3) . 2 2 2 3((x + 3 )2 β (3) β 6) 2 3((x + 3 )2 β 2 3(x + 3 )2 β 58 ) 9 58 Be careful to multiply everything by 3, including the last term! 3 Note that this was not an equation, so there is no actual solution (no values for x). ____________________________________________________________________________ The method of completing the square has been generalized as the quadratic formula. The following explanation shows where the quadratic formula comes from. Instead of solving a specific quadratic equation like the ones above, we solve the general quadratic ax2 + bx + c = 0. By doing this we end up with a way to solve all quadratic equations, without having to go through all those hard steps each time. a x2 + b x + c = 0 b c a a a, b and c are numbers in a quadratic equation x2 + x + = 0 x2 + b a (x + (x + (x + Divide both sides by the number a b 2 b 2 c x+( ) + 2a =( ) a 2a b 2 b 2 ) + 2a b 2 c =( ) a 2a b 2 ) = (2a) β 2a b 2 Complete the square b2 c ) = 4a2 β a 2a c a Subtract c/a from both sides Square the first fraction 59 (x + (x + b2 b 2 b2 β4ac ) = 2a 2a x=x=x=- 4ac ) = 4a2 β 4a2 2a b x+ π±= b 2 b 2a b 2a b 2a = ±β ±β ± ± 4a2 b2 β4ac 4a2 b2 β4ac 4a2 βb2 β4ac β4a2 βb2 β4ac 2a βπ±βπ π βπππ ππ Multiply the top and bottom of the second fraction by 4a Combine the two fractions Take the square root on both sides Subtract p b 2a from both sides βp βq = β q Take the square root of 4a2 Combine the two fractions. Notice that the fraction line extends all the way underneath βb. In Algebra 2, you will often encounter equations that need to have a common factor taken out. Always look for this first. An example would be 4x3 + 16x2 β 8x = 0. Here there are only three terms, but it is not a quadratic equation. While it is possible to solve cubic equations in general, the method is complicated and tedious, and it is not commonly taught anymore. After all, we have graphing calculators and computers now. So, if you see a cubic equation with three or more terms chances are it has a common factor that can be taken out. 4x3 + 16x2 β 8x = 0 can be written as 4x(x2 + 4x - 2) = 0. Since 4x could be 0, this shows that x = 0 is one solution. The part in the parentheses can then be solved by using the quadratic formula. Your answers from the quadratic formula would be x = -2 ± β6. If you are looking for factors rather than answers, you could write: x = -2 + β6 , so x + 2 - β6 = 0 x = -2 - β6 , so x + 2 + β6 = 0 That means that 4x3 + 16x2 β 8x = 0 could be written like this: 4x(x + 2 - β6)( x + 2 + β6 ) = 0. You should multiply this out to see that it is correct. Fortunately teachers rarely ask for factors that contain radicals. 60 There may also be scary-looking 4th degree, or quartic, equations or expressions to factor. If there are no common factors, these can usually be handled by a sneaky substitution method. x4 - 6x2 + 8 would be so easy to factor if it looked like x2 - 6x + 8. We can make that happen by substituting something like u = x2. Now we get u2 - 6u + 8, which factors to (u - 4)(u - 2). Since u = x2, that gives us (x2 - 4)(x 2 - 2). Often we skip the u part and substitute directly, creating (x2)2 β 6(x2) + 8, so we can factor straight to (x2 - 4)(x2 - 2). Many times at least one of the resulting factors is the difference of two squares, so it should be factored further. (x2 - 4) = (x + 2)(x β 2). (x2 - 2) could also be factored further as (x + β2 )(x - β2), but again that is usually not required. If you have an equation rather than an expression, as in x4 - 6x2 + 8 = 0, you can write (x2 - 4)(x2 - 2) = 0. Then you can say that (x2 - 4) = 0 so x2 = 4, and (x2 - 2) = 0 so x2 = 2. The solutions are x = ± 2 and x = ± β2. Any 4th degree expressions with only two terms are usually the difference of two squares: x4 β 16 can be written as (x2)2 β 42, which factors to (x2 + 4)(x2 β 4). Note that one of these resulting terms is also the difference of two squares, so we get (x2 + 4)(x + 2)(x β 2). It is not uncommon for test questions to disguise the difference of two squares by multiplying both terms by some other factor. For example, 3x4 β 48y4 should be rewritten as 3(x4 β 16y4). Now you can see the difference of two squares: 3((x2)2 - (4y2)). The Quadratic Formula and Factors Factor 21x2 β 29x + 10. To factor this you need two numbers that multiply to 210 and add to -29. It takes a fair bit of work to find these numbers, which are -14 and -15. If you have a calculator handy you may want to use the quadratic formula instead. All quadratic equations that have real number solutions can be solved this way. When you do that the answers you get are 2/3 and 5/7, but now what? Remember that the quadratic formula gives you the values for x that make 21x 2 β 29x + 10 equal to zero. In this case, it tells you that x = 2/3 or x = 5/7. Do not be tempted to 2 5 29 3 7 21 write (x - )(x - ) = 0! Multiplying this out would give you x2 - x+ 10 21 = 0, which is a polynomial equation that has the same zeroes as 21x2 β 29x + 10. [You can see that if you divide both sides of 21x2 β 29x + 10 = 0 by 21.] 61 Instead, take the equations for x and rearrange them to get the actual factors: 2 x = , so 3x = 2 and 3x β 2 = 0. 3 5 x = , so 7x = 5 and 7x β 5 = 0. 7 Now we can write (3x β 2)(7x β 5) = 0, and the factored form of the expression is (3x β 2)(7x β 5). Note that this is really also what you should do when you get whole number values for x, like for example x = 4 and x = -5. Rearrange to get x - 4 = 0 or x + 5 = 0, and write the factored form as (x β 4)(x + 5). If you find values for x, substitute them into the original equation to see if they are correct. Be careful, since you could be missing one of the solutions and not know it. When you donβt have an equation and you are just factoring an expression, multiply your factors back out to see if you get the original expression back. If you have solved a quadratic equation by factoring, also use the quadratic formula to check your answers. For any polynomial equation, use a graphing calculator or graphing software to check the zeros. The function crosses or touches the x-axis at these points. The βCALCβ function on your graphing calculator will help you find the exact points. Geogebra allows you to place a new point at the intersection of the graph and the x-axis, and displays the coordinates of the point. If you are using math GV you have to zoom in on the point and use the mouse marker values to estimate the pointβs location. (If you zoom in a lot you can get accuracy up to two places after the decimal point.) The Sum or Difference of Two Cubes Another change from Algebra 1 is that you may encounter the sum or difference of two cubes: a3 + b3 = (a + b)(a2 β ab + b2) a3 β b3 = (a β b)(a2 + ab + b2) As an example, letβs find x if 8x3 + 27 = 0. To use the formula above, just rewrite this as the sum of two cubes: 62 (2x)3 + 33 = (2x + 3)((2x)2 β 6x + 32) = 0 (2x + 3)(4x2 β 6x + 9) = 0 Either (2x + 3) = 0 or 4x2 β 6x + 9 = 0 That last equation can be solved using the quadratic formula: x = x= β(β6)±β(β6)2 β4(4)(9) 2(4) = 6 ±β36β126) 8 = 6 ±ββ90 8 = βb±βb2 β4ac 6 ±ββ1 β 9 β10 8 2a = 6 ± 3iβ10 8 The difference of two cubes can be found by actually taking a cube with sides a and removing a little cube with sides b from it at one of the top corners. When you do that, the remaining volume can be found as follows: On the bottom there is a volume of the height,(a β b), times the bottom, a2. The part above that has height b. Looking at this from the top, you can divide that into two sections: a smaller section with top area b times (a β b), and a larger section with top area a times (a β b). The total volume is found by adding up these three sections: a2(a β b) + b2(a β b) + ab(a β b) = (a β b)(a2 + ab + b2) Once you have found the difference of two cubes by simple geometry, you can derive the formula for the sum of two cubes by substituting βb for b in the equation a3 β b3 = (a β b)(a2 + ab + b2): a3 β (-b)3 = (a β - b)(a2 + a(-b) + (-b)2) a3 β β b3 = (a + b)(a2 β ab + b2) a3 + b3 = (a + b)(a2 β ab + b2) If you have already learned about imaginary numbers, you can now find two complex cube 3 roots for every number that has a nice cube root. For example, we know that β8 = 2, but letβs 3 set it equal to x just for fun: β8 = x. Then raise both sides to the third power: (81/3)3 = x 3 , which means that 8 - x 3 = 0. Hey, we can write that as the difference of two cubes: 23 β x3 = 0, and this factors as (2 β x)(x2 + 2x + 22) = 0. One of the answers is x = 2 as we would expect. The other two answers come from using the quadratic formula to solve (x2 + 2x + 22) = 0. We get x = 63 β2 ±β4β16 β2 ±ββ12 2 2 , which works out to = β2 ±ββ3β4 2 = β2 ±2ββ3 2 , so the answers are x = -1 + iβ3 and -1 β iβ3. 23 = 8, (-1 + iβ3)3 = 8, and (-1 β iβ3)3 = 8. The idea of the difference of two cubes may have played an important role in a historical mystery. The ancient Egyptians knew a lot about pyramids. They were apparently able to determine that the volume of a pyramid is 1/3 that of the rectangular box that would contain it. They did many calculations involving pyramids, and surprised todayβs mathematicians by finding a formula for the volume of a square pyramid that has its top cut off. No records survive to show how they accomplished this, but it seems amazing that they would come up with a formula like1/3 H(S2 + Ss + s2) when they didnβt know algebra. In this formula, H is the height of the cut-off pyramid, S is the bottom side, and s is the top side. Today we can use algebra to find this formula. The top part of a pyramid may be smaller than the whole, but it has the same proportions as the original pyramid. So, if we have a cut-off pyramid with a base of S2 and a top surface of s2, the original pyramid would have had a height of kS (where k is some constant) and the small pyramid that was cut off the top would have a height of ks. To solve this in a general way we can start with blocks. Take a rectangular block with base S2 and height kS. Then remove a smaller block with base s2 and height ks. The result can be expressed like this: kS β S2 β ks β s2 That is equal to k(S3 β s3), which we know factors as k(S β s)(S2 + Ss + s2). Change that to (kS β ks)(S2 + Ss + s2), because kS β ks represents the height of the bottom part of the pyramid. Now take 1/3 of this volume to account for the fact that we are dealing with pyramids rather than blocks. The formula is 1/3 H(S2 + Ss + s2), where H is the height of the cut-off pyramid. But how did the ancient Egyptians figure that out? They didnβt know algebra! Were they contacted by aliens who supplied them with the correct formula? No one really knows what happened, but the only example that we found solves for the volume of the bottom half of a pyramid with base 4 and height 12. Here is a hypothetical story that might explain how the Egyptians found the solution. I know when I cut a square pyramid out of a block of clay, the volume of that pyramid is 1/3 of the block. More of that volume is in the bottom half. I wonder: what could be the volume of the 64 bottom half of the pyramid? Letβs start with a fresh block of clay. Hmm, I could cut out a pyramid and then cut it in half, but thatβs a lot of work and it would be hard to find the volume of the bottom piece when Iβm done. Why donβt I just leave the block and remove from it a block that would contain the top piece of the pyramid. How big would that smaller block have to be? Well, if Iβm cutting the pyramid exactly in half, the top piece would still have the same proportions as the original. Letβs say the original pyramid is 4 units by 4 units on the bottom, and 12 units high. Then the top half would be 2 units by 2 units on the bottom and 6 units high. I can just remove a 2 by2 by 6 block that would contain the top part. Ugh, that would be hard to cut out of the middle of the block. Iβll take it out of the top corner instead. There, I took a block that contained the original pyramid, and removed a block that contained the top half. 1/3 of the remaining shape is the bottom half of the pyramid. Now, what is the volume of the remaining clay? The bottom area is the square of the base, so 4 times 4. On the top surface we have 2 squared and 2 times 4. The height of each piece is 6, so the total is 6 times (16 + 4 + 8). Now take a third part of that, which is 2 times (16 + 4 + 8). Thatβs 56. I can see that it is right, because the volume of the original pyramid was 1/3 times 12 times 42, and I removed the top part with volume 1/3 times 6 times 22. That is 64 β 8 = 56. The general formula must be 1/3 of H times (S2+ s2+ sS). Calculator Programs Factoring can be a real pain. You often have to find two numbers that add up to something and multiply to something else, which is hard if those numbers are large. If you own a TI-84 or similar calculator you may want to program it to do this for you. The idea behind this is that we can use algebra to find the numbers we want. Suppose that I am factoring 6x2 + 25x + 26. Now I need two numbers that add up to 25 and multiply to 6 times 26, or 156. I can call these numbers x and y, and write two equations: x + y = 25 xy = 156 This system of equations is easy to solve by substitution. Letβs eliminate y, by saying that y = 25 β x. Now substitute that into the second equation to get x(25 β x) = 156 25x β x2 = 156 -x2 + 25x β 156 = 0 65 x2 β 25x + 156 = 0 Hmm, that looks like an equation that can be solved by using the quadratic formula, which is easily programmed into a calculator (see later in this section). It can tell you that there are two possible values for x which are 12 and 13. Those are the numbers you want. Now try solving this in a general way. Let x + y = the sum, and xy = the product: x+y=S xy = P We can eliminate either x or y, with the same result. Let y = S β x, and substitute that into xy = P. You get x(S β x) = P Sx β x2 = P -x2 + Sx β P = 0 x2 β Sx + P = 0. Remember that S and P are just numbers. Plug them into the quadratic equation: x= βb±βb2 β4ac 2a = β(βS)±β(βS)2 β4P 2 = S±βS2 β4P 2 Here is a sample program for the TI-84: PRGM β NEW β ENTER Use the ALPHA function of your calculator to enter a name for the program, up to eight characters long. This same function is used to enter text or variables in your program. Commands are actions that the program must perform. They are entered by pressing the PRGRM key. Each separate line in your program starts with β:β, which the calculator puts in for you when you hit the enter key. When you tell the program to display a particular variable it will display the numerical value stored in that variable. This numerical value can be entered by the user through the Prompt command, or through calculations performed by the program. : Prompt S,P [The Prompt command is in PRGM β I/O which stand for Input/Output] : S2- 4P STOβA [Use the STO key. This stores the value of S2- 4P in the variable A] : If A<0 [The If command is in PRGM β CTL, which is already open as soon as you hit PRGM. The Then and Else commands are found in the same place. The < symbol is in TEST, which is located just above the MATH key] 66 : Then : Disp βNo Real Solutionsβ : Else [Disp is in PRGM β I/O. Note that the text is in quotation marks.] : (S + β(S 2 β 4P))/2 STOβB : (S - β(S 2 β 4P))/2 STOβC : Disp B,C : End [In PRGM β CTL.] Leave this screen by entering QUIT [2ND β MODE] To run your program, press PRGM β ENTER, and ENTER again. The display should show S=? Enter the sum of the two numbers and press ENTER. The display will then show P=? Enter the product of the two numbers. Press ENTER to see the two numbers. To use the TI-84 with the general quadratic formula, try the following program: :Prompt A, B, C :(B2 β 4AC) STOβD :DISP β SQRTβ :DISP D :If D<0 :Then : Goto 10 :Else [Leave some spaces by pressing ALPHA β 0 for the space symbol] [Goto is in PRGRM. Bypasses the next calculations if D is negative] :-B β (βB2 β 4AC) STOβE :2A STOβF : -B + (βB2 β 4AC) STOβG :DISP E/F β¦Frac :DISP G/F β¦Frac :DISP E/F :DISP G/F :Lbl 10 :END [β¦Frac is located in MATH, and displays the answer as a fraction] [Lbl is in PRGRM] First, the program will display the value under the square root sign, so you can check on your manual calculations. If this value is negative no answers are displayed. If the answers are integers, the program will display them twice. Otherwise, the answers will be shown as fractions first, and then as decimal numbers. 67 Factoring Summary First Always check to see if you can remove a common factor: 25x2 + 10x = 5x(5x + 2). If there is a β sign in front, divide everything by -1: -x2 + 4x β 4 = -1(x2 β 4x + 4). Factor by Grouping Specially designed polynomials can be factored by grouping. There are usually 4 or 6 terms: 3x3 β 12x2 β 4x + 16 = (3x3 β 12x2) β (4x β 16) = 3x2(x β 4) β 4(x β 4) = (3x2 β 4)(x β 4). Quadratic Binomial 16x2 β 1 = (4x + 1)(4x β 1). Difference of two squares: a2 β b2 = (a + b)(a β b). Quadratic Trinomial 1. x2 + 5x + 6 = (x + 3)(x + 2). Find two numbers that add to 5 and multiply to 6, and then use those numbers for the factors. 2. 6x2 β 7x β 5 = 6x2 + 3x β 10x β 5 = (6x2 + 3x) β (10x + 5) = 3x(2x + 1) β 5(2x + 1) = (3x β 5)(2x + 1). When there is a number in front of the x2, use the AC method of factoring. Find two numbers that multiply to 6 β -5, which is -30, and add to -7. Use those numbers to split up the middle term. Cubic Binomial 8x3 + 27 = (2x + 3)(4x2 + 6x + 9). Sum or difference of two cubes: a3 + b3 = (a + b)(a2 β ab + b2 ) or a3 β b3 = (a β b)(a2 + ab + b2). Cubic Trinomial x3 + 8x2 + 16x = x(x2 + 8x + 16) = 2x(x + 4)(x + 4). Create a quadratic trinomial by factoring out the x. Quartic Binomial x4 β 16 = (x2)2 β 42 = (x2 + 4)(x2 β 4) = (x2 + 4)((x + 2)(x β 2). Write it as the difference of two squares. Quartic Trinomial x4 + 7x2 β 8 = (x2)2 + 9(x2) + 8 = (x2 + 8)(x2 β 1) = (x2 + 8)(x + 1)(x β 1). Write it as a quadratic. 68 Other Polynomials In the chapter on Polynomials you will learn how to make intelligent guesses to find one of the zeros, or get one of the real zeros by using a graphing calculator. That gives you one factor. You can then divide by that factor to get a simpler polynomial that is easier to factor. 69 Manipulating Graphs of Functions [To graph functions using MathGV, select File β New 2D Cartesian Graph. Then select Graph β New 2D Function. To graph functions using a TI-84 calculator, press βY=β and enter your function. To insert an x, press the button labeled βX,T,Ø,nβ. Press βGRAPHβ to see the graph. If necessary, adjust the viewing rectangle by pressing βWINDOWβ.] Graph the following functions: y=x y = x2 yβ2=x y β 2 = x2 y+5=x y + 5 = x2 Notice that you have to rearrange some of these functions in order to graph them. When you subtract 2 from y, this adds 2 to the value of the function, which moves the graph 2 units higher up on the y-axis. When you add 5 to y, this subtracts 5 from the value of the function so the graph appears 5 units lower down. Graph the following functions: y=x y = x2 y=x-2 y = (x - 2)2 y=x+5 y = (x + 5)2 Subtracting 2 from x shifts the graph 2 units to the right. It now takes a larger x to do the same job that x did before, which causes the graph to appear further to the right. Adding 5 to x causes the graph to shift 5 units to the left. A smaller x can now do the same job that x did before, causing the graph to appear further to the left. Try this out with some other functions, like y = x3, y = βx or y = |x| [To graph absolute value functions on a TI-84 graphing calculator, press the βY=β button as usual. Then press the MATH button and use the right arrow key to get to the NUM menu. The first choice on this menu is βabs(β, and once you select it you will be able to enter abs(x). If you are using MathGV, type in abs(x).] 70 Next, try graphing the following functions: y = x2 + 2 y = x2 + 2 This is the same as y = 5(x2 + 2) 5y = x2 + 2 This is the same as y = 5(x2 + 2) 5 1 x 2 y=( ) +2 5 y = (5x)2 + 2 You should notice that when y is divided by 5, this causes the entire function value to be 5 times larger. The function stretches in the y-direction. When y is multiplied by 5, the function shrinks by a factor of 5 in the y-direction. The same thing happens when x is divided by 5: the function stretches by a factor of 5 in the x-direction. When x is multiplied by 5 the function shrinks by a factor of 5 in the x-direction. To reflect a function over the x-axis (to turn it upside down), replace y with β y and adjust the function: y = |x| β - y = |x| β y = - |x| To reflect a function over the y-axis (create a mirror image of it), replace x with β x: y = |x| β y = |βx| Hey, wait a minute; nothing happened on that last one. Or did it...? Finding the Vertex and the Axis of Symmetry The functions y = |x| and y = x2 have a bottom point called the vertex. If you flip these functions upside down they have a top point. The vertex is either the minimum or the maximum point of the function. For these basic functions the vertex is located at (0,0), but of course it moves if you start manipulating the function. 71 y = |x| can be shifted up by subtracting something from y, which is the same as adding something to the right side of the equation. Letβs call that something k: y = |x| + k Here k could be a negative number, which means that the graph would shift down. The whole graph moves either k units up or k units down. That means the vertex moves to the point (0,k). Try that out with some real numbers for k to verify that the vertex does in fact end up at (0,k). Next, we could subtract something directly from x to move the graph to the right: y = |x β h| + k However, if we pick a negative number for h the graph will shift to the left instead. Either way, the whole graph will move h units horizontally. The vertex will end up at (h,k). To stretch or compress the graph, we can multiply the right side of the equation by some number a: y = a|x β h| + k This does not affect the position of the vertex, which stays at (h,k). Check it out by picking some random (small) values for a, h and k. The absolute value function is symmetrical. The line of symmetry, also called the axis of symmetry, is a vertical line that passes through the vertex. For the unmodified function, y = |x|, the axis of symmetry passes through (0,0), and we can describe it by using the equation x = 0. [This says that x = 0 regardless of the value of y, so it produces a vertical line through the origin.] When we manipulate the function so that the vertex moves to the point (h,k), the axis of symmetry also shifts, to become x = h. Example Find the vertex, axis of symmetry, and the x and y-intercepts for the function f(x) = 2|x + 5| β 4. That f(x) part looks a bit scary, so Iβll rewrite it as y = 2|x + 5| β 4. It looks like the basic graph of y = |x| has been shifted 5 units to the left, and 4 units down. [h = -5 and k = -4]. That would put the vertex at (-5,-4). The axis of symmetry has to pass through that, so it is a vertical line at x = -5. The y-intercept always occurs where x is 0, so just substitute 0 for x to find y: y = 2|0 + 5| β 4 = 6. The y-intercept is at (0,6). 72 The x-intercept always occurs where y = 0: 0 = 2|x + 5| β 4. Rearrange that to find x: 4 = 2|x + 5| so 2 = |x + 5|. That means either x + 5 = 2 or x + 5 = -2. The x-intercepts are at x = -3 and x = -7, as you can also see in the picture below. Notice that the x-coordinate of the vertex is exactly in the middle between -3 and -7. The function y = x2 can be modified in the exact same way as y = |x|, so we can find the vertex and the axis of symmetry in the same way. y = a(x β h)2 + k The vertex ends up at the point (h,k). The axis of symmetry is the line x = h. To find the xintercept, set y equal to 0. To find the y-intercept, let x = 0. But wait, my function looks like this: y = x2 + 6x β 16. Now how do I find the vertex? If you have already learned how to complete the square (see βFactoringβ) you can rewrite this equation as y = x2 + 6x + β¦ β 16. Add 9 to both sides to make a nice square: 73 y + 9 = x2 + 6x + 9 β 16. Now write it as a square: y + 9 = (x + 3)2 β 16, which simplifies to y = (x + 3)2 β 25. The vertex will be located at (-3, -25). However, if you have practiced completing the square on more complex equations you know it can be a bit of a pain. Letβs look at an easier alternative. For the simple parabolas y = x2 and y = ax2, the only way that y can be zero is if x is zero. That means that these parabolas just touch the x-axis at one point, which is also the location of the vertex. If these simple parabolas are shifted left or right there will still be only one x-intercept. If you move the parabola so that it shifts down, there will be two x-intercepts. They will be located where y is zero. Because the parabola is symmetrical, the axis of symmetry will always be between those zero points. Just remember that if you are looking for the location of the vertex: if you know the x-intercepts, the x-coordinate of the vertex will be in between them. How do you normally find the x-intercepts of y = x2 + 6x β 16? Well, you would set y equal to zero to get 0 = x2 + 6x β 16, which you can then solve by factoring or by using the quadratic equation. Factoring gives (x + 8)(x β 2) = 0, so x = -8 or x = 2. The x-coordinate of the vertex is in between those, so take the average: (-8 + 2)/2 = -3. When x = -3, y = (-3)2 + 6(-3) β 16 = -25. If you use the quadratic equation to solve ax2 + bx + c = 0, you find that the x-intercepts are at βbββb2 β4ac 2a and βb+βb2 β4ac 2a . In between those is the x-coordinate of the vertex, For the function y = x2 + 6x β 16, a = 1 and b = 6, so βb . 2a βb β6 = = -3. 2a 2 Order of Operations for Function Transformations 1. Vertical Shifts Look at your function equation carefully so you donβt make order of operation errors involving vertical shifts. Do vertical shifts last. Consider y = 4βx β 2. This first picture shows the graph of y = βx multiplied by 4 (blue curve), and then shifted down by 2 units (red curve): 74 This second picture shows the graph of y = βx shifted down by 2 units (blue curve), and then stretched by a factor of 4 through multiplication (red curve): 75 The correct order is the first one; multiply by 4 first and then subtract 2. That is what y = 4βx β 2 really means. The red curve in the second picture shows y = 4(βx β 2) which is y = 4βx β 8. For the function y = -3(x β 2)2 + 1 the multiplication by -3 is not intended to include the + 1 part, so account for this in your transformations. You can flip the graph of (x β 2)2 and then stretch by a factor of 3, or stretch it first and then flip it. You can even start with y = x2, flip it, stretch it, and then move it to the right by 2 units. However, the shift up must be done last. The multiplication by -3 applies only to (x β 2)2, not to + 1. 2. Reflection over the Y-Axis: -x Graph the function y = |βx + 4|. This transformation moves the graph 4 units to the right. As each y-value is calculated, x is made negative first, and then 4 is added. We might expect that the graph would be flipped over the y-axis first, which is an invisible change, and then moved 4 units to the left. However, if you look back at why adding 4 to x moves graphs to the left you can see that we said that a smaller x can now do the job that x did before. For y = (x + 4) 2 a value of -4 for x gives the same y value that x = 0 would have without the addition of 4. When x is negative however, we would need a bigger x instead: y = (-x + 4)2 requires a value of x = 4 to do the job that x = 0 did before. The curve shifts to the right. Horizontal shifts occur in the opposite direction when x is negative. 3. Horizontal Stretches and Compressions If you are expected to do horizontal stretches and compressions you have to also be careful x 1 3 about your horizontal shifts. Consider y = 4 (5 + 2) - 3. Notice that here 2 is not added x x directly to x. Order of operations says that 5 must be done first, so 2 is being added to 5. The result of that cannot be predicted from our simple formula of βx + 2 shifts the graph two units to the leftβ. Rewrite the equation so we can see more clearly what is happening to x: x 1 3 4 (5 + 2) β 3 = 1 x+10 3 4( 5 ) 1 1 3 - 3 = 4(5 (x + 10)) β 3 Now we can see that there is really a shift to the left of 10 units. 76 Summary For y = f(x) and a constant c > 0: For y = f(x) and a constant c > 1: y y β c = f(x) Shifts graph up y + c = f(x) Shifts graph down cy = f(x) y = f(x - c) Shifts graph right y = f (c ) Stretches graph horizontally y = f(x + c) Shifts graph left y = f(cx) Shrinks graph horizontally - y = f(x) y = f(-x) Reflects graph over the x-axis Reflects graph over the y-axis c = f(x) x Stretches graph vertically Shrinks graph vertically Do vertical shifts last. If x is negative horizontal shifts occur in the opposite direction. 77 Polynomials Sketching the Function The first, or leading, term of a polynomial function dominates at large positive or negative values of x. The leading term has the highest degree, and that term changes in value a lot more with changing values of x. If the leading term is positive and its power is odd the value of the whole polynomial will be negative for large negative values of x, and positive for large positive values of x. We say that the βend behaviorβ is βdown and upβ, since the left end of the graph points down and the right end keeps going up. That situation reverses if the leading term is negative and odd: the end behavior will be up and down. If the leading term is positive and has an even power, the functionβs value will be positive at both very large and very small values of x; the end behavior is βup and upβ. Or, if the leading term is negative with an even power, both ends of the graph will point down. The constant term is the y-intercept, since all the terms containing x will be zero when x = 0. A polynomial of degree n has at most n roots, or zeros. If you know the zeros you can mark them as points on the x-axis. Some of these roots may be complex so they are not included in our sketch, and there may be repeated (duplicate) roots. The number of times a root is repeated is called its multiplicity. The graph crosses the x-axis where there is a zero of odd multiplicity, and just touches it where there is a zero of even multiplicity. To understand why this happens, look at values of x close to the zero value. If (x β 4) is one of the roots, the value of this term is zero at x = 4, which makes the entire polynomial have a value of zero. Just before that, say at x = 3.9, the value of the term (x β 4) will be negative, making the entire polynomial negative before another term can interfere. Just after that, at x = 4.1, the term will be positive and make the polynomial positive. This results in the graph crossing the x-axis. Now letβs look at the case where the zero has an even multiplicity. If the term (x β 4) is a root that is repeated twice, we can write it as (x β 4)2. (x β 4)2 is positive at any value of x close to 4, whether that value is slightly less than 4 or slightly greater. The function stays positive and just touches the x-axis at the zero. If the zero x = 4 has a multiplicity of 3, the factored form of the polynomial contains (x β 4)3. This expression is negative when x < 4, and positive when x > 4. The function will cross the x axis at x = 4. The curve flattens where a zero has multiplicity 3 or higher. Compare the graphs of y = x3 and y = x5, and also compare y = x2 with y = x4. You can see how the curve flattens. Do some 78 calculations with sample values of x close to 0 to see what causes this flattening. Synthetic Division Example: divide 2x5 + 3x4 + 25x2 β 1 by x + 3 To see why synthetic division works, first try this problem using real long division: 2x4 β 3x3 + 9x2 β 2x + 6 x + 3 β 2x5 + 3x4 + 0x3 + 25x2 + 0x β 1 - (2x5 + 6x4) -3x4 + 0x3 - (-3x4 β 9x3) 9x3 + 25x2 - (9x3 + 27x2) -2x2 + 0x - (-2x2 β 6x) 6x - 1 - (6x + 18) -19 It is easy to make mistakes here, because you are often subtracting negative numbers. Synthetic division is a shortcut that changes the subtraction into addition, and it is more efficient because you donβt have to write out all those xβs. To divide by x + 3, we use the number -3 in our synthetic division. (To divide by x β 3 we would use 3.) Use -3 to do the synthetic division. First write out all of the coefficients of the polynomial to be divided, with their proper signs. Remember that some of the coefficients may be zero which causes the corresponding term to be invisible. Caution: you must write the zero coefficients into your synthetic division, which is easy to forget! The polynomial in this example has zero coefficients for the terms with x3 and x. Write it out like this: -3 __β 2 3 0 25 0 -1 _________________________________ 79 Now we are ready to start the division. Take the first coefficient, 2 in this case, and put it below the line. Next, multiply 2 times -3, and place the result of that below the next coefficient. Add 3 and -6, and place the result below the line. This gives you the next multiplication: -3 times -3. Put the result below the next coefficient in line, and add again. Use the result for the next multiplication, and so on, like this: -3 __β 2 3 0 25 0 -1 -6 9 -27 6 -18 _________________________________ 2 -3 9 -2 6 -19 The very last number below the line is the remainder. The other numbers represent the coefficients of the polynomial that is the result of the division. Its degree will always be one less than the degree of the polynomial you started with because you have divided by a simple polynomial of degree 1. The result of the above division is: 2x5 + 3x4 + 25x2 β 1 divided by x + 3 = 2x4 β 3x3 + 9x2 β 2x + 6 plus -19/(x + 3). Check your answer by multiplying the result of your synthetic division by x+3, and add the remainder -19. You should get the original polynomial back. If the remainder is zero, you know that you have found a factor of the original polynomial. Look at the result of your division and factor the new polynomial if possible. Unfortunately synthetic division only works when you are dividing by a simple expression like x + 3. If you want to divide your polynomial by something with a higher power of x, like x 2 + 1, you must use long division. Finding the Value of P(a) Using Synthetic Division Polynomial functions are sometimes indicated by P(x) rather than f(x) to emphasize that the function is a polynomial rather than another type of function. If you have a polynomial function like P(x) = x5 β 12x4 + x3 +2x2 β x + 15, it can be a bit of a pain to find the value of the function for 80 a specific value of x. You can do this quickly and easily through synthetic division. The principle is this: If you do 13 divided by 4, the answer is 3 with a remainder of 1. That means that 13 = 3 β 4 + 1. In the same way, if you divide x5 β 12x4 + x3 +2x2 β x + 15 by (x β 5), your answer is x4 β 7x3 - 34x2 - 168x - 841, with a remainder of -4190. Therefore, x5 β 12x4 + x3 +2x2 β x + 15 = (x β 5)( x4 β 7x3 - 34x2 - 168x - 841) - 4190. Now if you take x to be equal to 5, this reads: x5 β 12x4 + x3 +2x2 β x + 15 = (5 β 5)( x4 β 7x3 - 34x2 - 168x - 841) - 4190 = 0 - 4190. So now we know that P(5) is -4190, which is the remainder you get when you divide P(x) by (x β 5). In general, when you divide P(x) by (x β a), you get some other polynomial Q(x), plus a remainder R. P(x) = (x β a) β Q(x) + R. Now set x = a so we can find P(a): P(a) = (a β a) β Q(a) + R = 0 β Q(a) + R = R. This means that P(a) = R. For any polynomial P, P(a) is equal to the remainder that is left when you divide P by (x β a). If a happens to be a zero of the polynomial, P(a) is equal to zero, and the remainder is zero as we would expect. Finding the Zeros The zeros of a polynomial are those values of x that make the polynomial have a value of 0. If you can factor the polynomial it is easy to see the zeros: x3 + x2 β 8x β 12 = 0 (x + 2)(x + 2)(x - 3) = 0 The zeros are -2, -2 and 3. If you consider complex factors, all polynomials can be factored completely. This means that an nth degree polynomial has n zeros. The easiest way to find the zeros of a polynomial is to use a graphing calculator or graphing software. This shows the real zeros. You can then divide by those zeros to find any complex zeros that you canβt see on the graph. Be careful: if the function just touches the x-axis at one spot there is a definitely a repeated zero present. You can divide a polynomial of degree 3 or higher by this zero at least 2 times to get a remainder polynomial that may or may not have complex zeros. For example, graph the function y = x3 + x2 β 8x β 12. You can see the repeated zero at x = -2 on the graph. Divide by (x + 2) twice [or by (x + 2)2 once] to see that the polynomial factors as (x + 2)(x + 2)(x - 3). To see why the function just touches the x-axis at the repeated zero and then heads back down, first substitute x = -1.9, and then x = -2.1. The function has a negative value on both sides of x = -2 81 because (x + 2)2 is always positive. It is the other factor, x β 3, that determines when the function will be positive or negative. Calculators and computers are nice to have, but they donβt work by magic. Someone first has to think of ways to do something, and then write a program that a machine can execute. We can find zeros of a polynomial manually although it can get complicated and tedious. Here we will just consider some of the basic principles of how this can be done. Suppose a polynomial has only integer roots, for example: a, b and c. We can write this polynomial as (x β a)(x β b)(x β c). [The value of this polynomial will be zero when x = a, or x = b or x = c.] When we multiply this out, the first term will be x3 and the last term will be βabc. The roots of the polynomial will always be factors of the constant term (the last term of the polynomial, which may be zero). By looking at all the possible factors of the constant term, we can guess at the roots. If we manage to find one root, say b, we can divide the polynomial by (x β b) to make it easier to find the other roots. When all the roots are integers, the coefficient of the first term of the polynomial is always 1. If there is another coefficient, we can divide by it when we look for the zeros. For example: 3x3 β 7x2 β 14x + 24 = 0 can be changed to 3(x3 β 7 2 x 3 β 14 24 3 3 x+ ) = 0. Now we can see that at least some of the roots would be fractions. All of the roots of the part in parentheses will multiply out to 24 3 . It is very tempting, but do not simplify 24 3 to 8, because that would cause a loss of information and hide some of the roots! The top part of each fraction must be a factor of 24 and the bottom part a factor of 3. This is a specific example of the Rational Zeros Theorem. Any of the numbers suggested as possible roots by the Rational Zeros Theorem can be either positive or negative. Note that the bottom part can always be 1, so integer roots are always a possibility. The actual roots of this particular polynomial are -2, 3, and 4 3 , and the complete factorization is 4 3(x + 2)(x β 3)(x β 3) which can also be written as (x + 2)(x β 3)(3x β 4) Please note that the Rational Zeros Theorem works for polynomials that have rational zeros (zeros that can be written as a ratio, which includes integers. When you use the quadratic formula to find zeros, youβll often end up with square roots that cannot be converted to a rational number. Even though the graph of a polynomial shows real zeros where the function crosses or touches the x-axis these may not be rational zeros, and you may search for them in vain by using the Rational Zeros Theorem. 82 Synthetic division gives us a good way to test all the possible rational zeros. If we think that z is a possible zero of the polynomial, we want to divide it by x β z to see if the remainder is 0. Use z in the synthetic division. Usually it is easiest to start with the positive integers, but if all the terms of your polynomial are positive it will not have a positive zero. For example, if you look carefully at 5x3 + 3x2 + 8x + 17, you will see that no positive value for x will make this polynomial zero. Once you have been doing synthetic division for a while, you may notice that if you take a polynomial with a positive leading term and divide it by larger and larger positive numbers, the resulting numbers below the line eventually all become positive. Once that happens, there is no way that these numbers can become negative or zero again as we keep dividing by a larger and larger positive number. Try it out for yourself. Because of this, once the numbers below the line are all positive or zero, we know that there are no zeros larger than the number we are dividing by. We call this number the upper bound, and donβt waste time looking for larger positive zeros. If your polynomial happens to have a negative leading term, just divide it by -1; it will still conveniently have the same zeros. A somewhat similar thing happens when we divide our polynomial by smaller and smaller negative numbers. The numbers below the line eventually become alternating positive or negative numbers (consider 0 positive or negative as needed). When you see that happening you should know that there is no point in searching for smaller zeros. This is the lower bound. To take advantage of the upper and lower bounds when looking for zeros, start your search somewhere in the middle of the range of potential positive or potential negative zeros. When you find one zero, look at the result of your division. This new polynomial should also have some zeros, so start looking for them. The new polynomial will have fewer potential rational zeros, and none of them will be outside the upper and lower bounds you determined for the original polynomial. This may allow you to eliminate some possibilities right away. Also, this polynomial will have its own upper and lower bounds that can guide you. If all the terms of the new polynomial are positive, there are no sign changes (so no positive zeros), and you need to start looking for negative zeros. When you find another zero, there is again a new polynomial that results from the division. Eventually you are down to a quadratic, or seconddegree polynomial, and you can factor it or use the quadratic formula to find the remaining zeros. Thanks to the quadratic formula, complex zeros and zeros with a square root that canβt be simplified always come in pairs. Use a graphing calculator or graphing software to check that you have found the correct number of real zeros. Make sure you look at the degree of your polynomial and account for all the zeros that it should have. An n-th degree polynomial has n zeros, some of which may be complex zeros that always come in pairs. 83 The Intermediate Value Theorem This sounds complicated, but it is really a big βDUH!!β If a function is continuous (it is a line with no gaps or holes), its value has to change from positive to negative, or negative to positive, in order to cross the x-axis. Suppose that we check the function value at say x = 1, and find that it is positive. Next we evaluate the function at x = 2 and find that it is negative. We reason that the function line must have crossed the x axis somewhere in between x = 1 and x = 2, so there is a zero between 1 and 2. Number of Turns Any graph can have one zero, since all it has to do is cross the x-axis. However, in order for there to be another zero the graph has to turn. That is, the direction of the curve has to change from going up to going down, or from going down to going up. For each additional zero there must be another turn. If there are, for example, 5 potential zeros, then there are 4 potential turns. A 5th degree polynomial may have 5 zeros, 3 zeros, or 1 zero. There may be 4 turns, 2 turns, or no turn. Keep in mind that a turn in the graph does not necessarily result in a zero. The graph may turn, and then turn again before it reaches the x-axis. That is two turns that are βwastedβ in terms of creating a zero. So, do not assume that a 5 th degree polynomial with 3 zeros has only 2 turns, since it may have either 2 or 4 turns. The only thing you could say for sure is that there must be at least 2 turns if there are 3 zeros. Descartesβ Rule of Signs Because all of the possible zeros of a polynomial can be either positive or negative, it sometimes helps to know how many potential positive and negative zeros there are. In particular, if there is no possibility that there are any positive zeros at all you donβt need to waste your time checking for them. Descartesβ Rule of Signs can help you with that. Poor Mr. Descartes did not own a graphing calculator or a computer because these items did not exist yet. When he needed to graph a function he first had to invent the Cartesian 84 coordinate system, and then draw the function by hand, most likely using the methods we already looked at. From his perspective, the rule of signs probably seemed natural. Letβs look at a polynomial function with three roots. We will know that it has three roots because we are going to construct the polynomial ourselves by multiplying (x + 2)(x - 2)(x β 4). You can see that there will be one negative root, at x = -2, and two positive roots. We can quickly multiply (x + 2)( x β 2) to get x2 β 4. Then we multiply that by (x β 4) to get x3 β 4x2 β 4x + 16. Here is the graph of this polynomial, showing the expected roots: The behavior of this function would not be a total surprise to you if you were used to calculating the values by hand. Letβs do that now. When x = 0, all terms are 0 except the last. The value is 16, a relatively large positive number. When x = 1, we get 1 β 4 β 4 + 16. The value is still positive, but the two negative terms - 4x2 and β 4x are starting to pull it in a negative direction. By the time we get to x = 2 we have 8 β 16 β 8 + 16 and the functions is at zero. Once 85 x = 3, the - 4x2 term is very prominent, pulling the function to its maximum negative value: 27 β 36 β 12 + 16. Past this point, the first term starts to play a bigger role. Because it takes x to the third power this term grows very rapidly with increasing values of x. It soon takes the function to zero (64 β 64 β 16 + 16), and now there is no turning back. X = 5 gives 125 β 100 β 20 + 16 = 21, and by the time we are at x = 10 the first term really starts to leave the others behind: 1000 β 400 β 40 + 16. What determines the zeros of this function is the change in direction that occurs as first the end positive term, then the negative terms, and then the lead positive term become prominent in setting the value of the function. In fact, the maximum number of positive zeros is determined by how many βsign changesβ occur in the function when you substitute a positive number for x. βSign changesβ are changes in the signs of the terms as you read from left to right: +x3 β 4x2 β 4x + 16. Here the changes have been marked in red to show where they occur. There are two sign changes, so the maximum number of positive zeros is 2. Now letβs look at what happens at negative values for x. At x = -1, we get (-1)3 β 4(-1)2 β 4(-1) + 16, which is -1 -4 + 4 + 16. Here the function is still positive. Once x = -2, we have -8 - 16 + 8 + 16. The first two terms end up negative and they quickly start pulling the function down to zero and beyond. Larger negative values of x will do nothing to turn that around, and the functionβs value remains negative. For this function, negative numbers βseeβ only one sign change. The function is positive at zero, and then crosses the x-axis as it gets more negative. To see that there is one sign change for negative numbers, substitute βx for x in the function: (-x)3 β 4(-x)2 β 4(-x) + 16 = -x3 β 4x2 + 4x + 16. The maximum number of negative zeros is determined by how many βsign changesβ occur in the function when you substitute a negative number for x. Is there always a zero for every sign change in the function? No, not really. In the function we just looked at the x2 and x terms had a big advantage because they each had a coefficient of 4, giving them more influence at low values of x. When that coefficient is gone they hardly make a dent against the large positive term 16, even though they are working together to pull the function down. Here the red line shows the function x3 β x2 β x + 16, and you can see that there is only one zero: 86 There is still a βdipβ in the function on the positive side, but the loop does not reach all the way down past the x-axis. That effectively removes two of the potential zeros. If the loop is long enough that it just touches the x-axis it will result in a repeated zero at that point. A prediction of a single zero on the positive or negative side will always work because that doesnβt involve a loop. The function simply crosses the x-axis once. So, we can say that we can find the maximum number of positive or negative zeros by looking at sign changes. If there are actually fewer zeros, that is caused by one or more loops of the curve failing to reach the x-axis, resulting in 2, 4, 6, or some even number fewer zeros than expected. Donβt forget either that one or more of the zeros of a polynomial could actually be 0, which is neither positive nor negative. Another consideration is that when you do not get as many zeroes as you would expect, the missing zeroes are actually complex numbers generated by the negative root in the quadratic formula. These complex solutions always come in pairs because there is both a positive and a negative complex root for a negative number. 87 The Binomial Theorem You can thank (or not) Isaac Newton for this theorem, which allows you to quickly expand an expression like (a + b)n. By using successively larger values of n and observing the resulting pattern, Newton was able to find a general formula for these expansions. He then cleverly extrapolated his results to fractional values for n to get an expression for βa + b, which is really (a + b)1/2. Oddly enough, when you use fractional values for n your answer ends up having an infinite number of terms! Letβs see how it works. (a + b)0 = 1 (a + b)1 = a+b 2 2 (a + b) = a + 2ab + b2 (a + b)3 = a3 + 3a2b + 3ab2 + b3 (a + b)4 = a4 + 4a3b + 6a2b2 + 4ab3 + b4 Notice that this pattern creates a symmetrical pyramid. The exponents of a and b are completely predictable. For (a + b)n, the first term is always an, which we could also write as anb0 (recall that any number raised to the 0th power is 1 β see βExponentsβ in Algebra 1.) The second term always has an - 1b1, and the pattern continues with an - 2b2, an - 3b3, and so on until we reach a0bn. Also note that the exponents of a and b for each term always add up to n: for a4 + 4a3b1 + 6a2b2 + 4a1b3 + b4 the sum of the exponents is always 4. The number in front of the ab parts is called the coefficient. If there is no number the coefficient is 1. The Instead of writing out the entire pyramid shown above, we can quickly find the coefficients from Pascalβs Triangle: 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 etc. The coefficients of the outside terms are always 1, while the coefficient of any other term is always the sum of the coefficients of each two terms directly above it. The coefficients also 88 correspond to the formula for choosing some items from a number of items, where the order of the chosen items does not matter. This is called Combinations (see βChoices and Chancesβ in Algebra 1.) The first coefficient corresponds to choosing 0 items from a list of n, also written as n ( ) β read βn choose 0.β So, for (a + b)5 we would find the first coefficient by counting how 0 many ways we could choose 0 items out of a list of 5. Of course there is only 1 way to do that; 5 we just donβt select any. For the next coefficient we use ( ), or 5 choose 1. There are 5 1 different ways to do that, and the coefficient is 5. For the third coefficient we choose 2 items 5 out of 5, ( ). This is slightly more complicated. For our first item we have 5 choices, but once 2 we have selected that item there are only 4 choices for the second item. That gives 5 β 4 = 20 possibilities, but recall that the order of the chosen items doesnβt matter. The choice of βitem 3 and item 5β is the same as the choice of βitem 5 and item 3.β For every combination of two items, there is another one with those same two items reversed. The total number of possible 5 choices must be divided by 2: 20 ÷ 2 = 10. The third coefficient is the result of ( ). When we 3 choose 3 items out of 5, we have 5 choices for the first, 4 for the second, and 3 for the third, for a total of 5 β 4 β 3 = 60 possibilities. However, many of those possibilities are the same. We have to divide that by the number of ways in which we can arrange the chosen items. When you have 3 items, you have 3 choices for the first one, 2 for the second, and 1 for the third. There are a total of 3 β 2 β 1 = 6 different ways to order these three items. That means we have to divide the total number of possibilities by 6 to account for the fact that many of our choices are really the same thing. 60 ÷ 6 = 10. Because of the symmetry of the coefficients we donβt have to go any further. The remaining coefficients are 5 and 1. There is a formula to calculate how to choose k things from a list of n items, if the order doesnβt matter. A shorthand notation has been developed for this, because it gets very tedious to write things like 10 β 9 β 8 β 7 β 6 β 5 β 4 β 3 β 2 β 1. Instead we write 10!, which is 10 factorial. The 5! 5 formula for ( ) would be . The 2! On the bottom makes sure that we get 5 β 4 β 3 choices, 2!3! 3 and then we have to divide by the number of ways to rearrange 3 items which is 3 β 2 β 1 or 3!. It may look complicated to calculate same as 5β4 2β1 5! 2!3! , but a lot of the terms cancel out: 5β4β3β2β1 2β1 β 3β2β1 is the . Always cancel the longest string of numbers, top and bottom. n! n In general, for n Choose k, ( ), the formula is . k (nβk)!n! A note of caution here: k starts at 0, for the first term. This means that k would be 3 for the 4 th term. Remember to subtract 1 from each term number! Also, check your work using Pascalβs 89 triangle, or a calculator. On the TI-84 calculator press MATH and navigate to PRB. Here you will find both ! and nCr. This last part stands for n Choose r. You must choose n first before selecting nCr, and then you can enter r, which corresponds to k in the formula above. Summary For synthetic division, use the number that would be the actual root of the polynomial. If you are dividing by (x β 2), use 2 in your synthetic division. To quickly find the value of a polynomial when you choose a specific number for x, divide the polynomial by that number using synthetic division. The remainder will be the value you want. A polynomial with only positive terms has no negative zeros. The maximum number of positive or negative zeros of a polynomial is determined by how many sign changes occur when you insert a positive or negative value for x. When a function changes from positive to negative, and vice versa, it must cross the x-axis which results in a zero. An nth degree polynomial has at most n-1 turns. The graph of a polynomial crosses the x-axis where there is a zero of odd multiplicity, and just touches it where there is a zero of even multiplicity. The curve flattens where a zero has multiplicity 3 or higher. An nth degree polynomial has n zeros. Use the Rational Zeros Theorem to find potential rational zeros. Divide the polynomial by its first coefficient, and then look for factors of the constant (last) term. Do not simplify the fraction. Once you have found one zero check the polynomial that results from the division for additional zeros. Complex zeros and βsquare rootβ zeros always come in pairs. n To find the terms of (a + b)n you can use Pascalβs Triangle, or ( )an-kbk where k starts at 0 and k goes up to n. 90 Inverse Functions The inverse of a function is a process that βundoesβ the operation of the function. If function f adds 2 to x, the inverse of f subtracts 2 from x. So, if f(x) = x + 2, and g(x) = x β 2, then these functions are inverses of each other. You can check this by picking a random value of x, say 5, and inserting it into the function f. The result is x + 2, or 7. If you then insert this result as the x-value for function g, the output is 7 β 2 = 5, the value you started with. The inverse of a function f is often written as f-1. Note that here -1 does NOT indicate an exponent. f-1(x) is not 1 equal to f(x) ! Finding inverse functions is not particularly difficult. First write the function in x,y notation, so write f(x) = x + 2 as y = x + 2. Then we just switch x and y around: y = x + 2 changes into x = y + 2. In this way the input becomes the output. After you do that however you should rearrange the function so that it again says y = β¦; in this case y = x β 2. The only potentially difficult part here is solving for y which takes good algebra skills. When you take a function and switch x and y around, you end up with a new relation between x and y, but this relation is not necessarily a function. The original function may have two different x values that result in the same output value. For example, look at f(x) = x2. We can write this as y = x2, so the inverse is x = y2. Taking the square root on both sides we get ±βπ₯ = y, or y = ±βπ₯ (there is always both a positive and a negative square root). Here negative values for x are not permitted, but that is not a problem since the original y values were all positive to start with. The range, or collection of output values for y, becomes the domain, or collection of input values for x, of the inverse function. The image below shows the original function in red, and the inverse in blue. Notice that the inverse is the original graph mirrored in the line y = x. The inverse graph is not a function because it fails the vertical line test. A vertical line drawn on the graph intersects the function more than once. Every valid input for x except 0 results in two different values for y. 91 Mathematicians are a little obsessive compulsive about that sort of thing, so they like to have that fixed. The domain of a function is the collection of valid input values for the function, and we can take care of the problem by restricting the domain. In this case we will restrict the domain of f(x) = x2 to values greater than or equal to zero. 92 There, that takes care of things. The domain of the original function consists of the input values for x. The range of the original function consists of the output values for y. When we switch x and y around, the domain becomes the range and vice versa. Example Find the inverse of the function y = 1 (x+1)2 . Determine the domain and range of both the function and the inverse. We find the inverse by simply switching x and y around: x = 1 (y+1)2 . Take the square root on both sides, remembering that there is always a negative square root: ±βx = use a shortcut: If 2 = 6 3 6 1 2 ± βx then 3 = , so therefore y + 1 = 1 . Here we can y+1 . Now we see that y = ± 1 βx β 1. The domain of the original function is all real numbers except for x= -1. The range consists of positive numbers due to the square on the bottom. When x is very close to -1 the number on the bottom is very small. That results in a really large output. When x is a large positive or 93 negative number, the output is nearly 0, but it never actually gets there. The range is the interval (0, β). The inverse is not a function. The input x must be greater than 0 to avoid having a negative number under the square root sign, or a division by 0. The domain is the interval (0, β). The range is all numbers except for -1. This is caused by the fact that 1 βx can never quite reach 0, no matter how large a value for x we select. Notice that the domain of the inverse relation is the range of the original function, and vice versa. 94 Composing Functions Thankfully, composing functions is much easier than composing music. For most functions, we insert a value of x, and out comes a value for f(x). The idea of composition is that we can insert the output of one function as the input of another. This usually involves a function f(x), and a second function g(x). f β¦ g means βf composed with gβ. The function f will now take the output of the function g. The notation f(g(x)) shows what is happening. For example, if f(x) = βπ₯, and g(x) = x + 2, then f β¦ g would be f(x+2), which is βπ₯ + 2. The new function that results from the composition is usually called h(x), so we can say that h(x) = βπ₯ + 2 in this case. If f and g are inverses of each other, then f(g(x)) = x and g(f(x)) is also x. That is what inverse functions do. One function changes x into something, and then the inverse function reverses that change. Normally we have to be careful about the domain of a function, so that we do not put something into the function that wouldnβt make sense. For f(x) = 1 x we know not to put 0 for x. However, if we are creating a new function h(x) that is f(x) composed with g(x) = x β 2, we must make sure that g(x) is not zero, so that 0 will not be the input for f(x). In this case we will exclude x = 2 from the domain, so that we can use the output of g(x) in f(x) without creating a problem. Sometimes both functions have restrictions. For example, f(x) = β4 β x, and g(x) = βx. We will be doing f β¦ g, which gives us the new function h(x) = β4 β βx. We start by looking at g(x). The restriction on x here is that x β₯ 0, so that there will not be a negative number under the square root sign. f(x) on the other hand can take any number that is less than or equal to 4. A negative number would be fine, but 5 would not be a suitable input. Therefore we have to put additional restrictions on x. If we want βx to be less than or equal to 4, x must be less than or equal to 16. In addition we still have the original restriction that x cannot be negative. The domain of the new function will be the interval [0, 16]. When you are dealing with a function that is the result of a composition, it is sometimes tempting to just look at the function itself to determine the domain. This is not suitable. For example, take the function h(x) = x - 1, which was created by composing f(x) = x 2 with 95 g(x) = βx β 1. We might think that there would be no restrictions on the domain of h(x) by just looking at it. However, no values of x smaller than 1 can be put into the function g(x). This also restricts the domain of h(x) to values larger than or equal to 1. To see this more clearly, look at h(x) before it was simplified: h(x) = (βx β 1)2 . ______________________________________________________________________________ Just as we can compose functions, we can also decompose them. If we have a function h(x) = (x + 2)2, we can look at it as the composition of two separate functions: f(x) = x2 and g(x) = x + 2. h(x) is f β¦ g. or f(g(x)). The ability to view a single function as consisting of a composition of two (or more) separate functions can come in handy at times, as we will see when we try to determine the range of a fairly complex function. 96 Finding the Domain and Range In most cases it is not very difficult to determine the domain and then find the range of possible output values of a function. Some functions have a restriction on their domain, for example f(x) = βx. Because the functions we deal with involve only real numbers, no negative value may appear under the square root sign. The domain is the interval [0, β), and as output it will return values that are anywhere from zero to positive infinity for all possible values of x in the domain. If you are lucky your course may only ask you to determine the domain and range of fairly simple functions. Examples of increasing complexity are provided here for you to use as needed. Example 1 Find the domain and range of the function f(x) = βx 2 β 9. Because of the square root in this function, there is a restriction on the domain. x 2 β 9 must not be negative. Start by saying that x2 β 9 β₯ 0. Therefore, x2 β₯ 9. Be careful when you take the square root on both sides because the inequality sign complicates things a bit. If x 2 = 9, we just consider that there is both a positive and a negative square root of 9, and write that x = 3 or -3. The negative possibility will flip the inequality around, so that x β₯ 3 or x β€ -3. Now that you know how to actually take the square root of x2, you can write that like this: βx 2 β₯ β9 |x| β₯ 3 x β₯ 3 or - x β₯ 3 x β₯ 3 or x β€ -3 The domain is (-β, -3] βͺ [3, β). The two intervals are joined by a βunionβ sign. Since the smallest value for x2 β 9 is 0, the range is the interval [0, β). In your own work use your teacherβs preferred notation to indicate the domain and range. Example 2 3 3 Find the domain and range of f(x) = - 4 β5x 2 β 1 + 2. 97 It is more difficult to imagine the range of a complex function, so we would like to determine it in a systematic way. The nice thing about this function is that there are no restrictions on the domain (the possible input values), because there is a cube root which is fine to use with negative values. The domain is the interval (-β, β). We can just imagine putting large negative numbers, 0, or large positive numbers into the function. It is easiest to decompose this function into several parts. Isolating the cube root first is not so helpful, because its output can be anywhere from β infinity to + infinity. We have to start by considering the range of what we are taking the cube root of. First letβs look at the range of 5x2, which is of course 0 to + infinity. Next look at the range of 5x2 β 1, which is -1 to + infinity (subtracting 1 from infinity doesnβt really make a dent in it). Next we can take the cube root of all of these numbers. The cube root of -1 is -1, which is the smallest possible output here. Taking the cube root of + infinity (so to speak) still leaves you with + infinity. The range is still -1 to + infinity. 3 3 After this, we have to multiply by - 4. The result of this operation ranges from 4 to - infinity, 3 which is more properly ordered as -β to 4. The last thing that needs to be done is to add 2, 3 3 which brings the range to: - β to (and including) 24, or (- β, 24] which is our final answer. Example 3 Find the domain and range of f(x) = β 1 2 β3x 2 β 3 + 4. This function has a restriction on its domain due to the square root. No negative number may appear under the square root sign, so 3x2 β 3 must be positive or zero: 3x2 β 3 β₯ 0 3x2 β₯ 3 x2 β₯ 1 βx 2 β₯ β1 |x| β₯ 1 x β₯ 1 or - x β₯ 1 x β₯ 1 or x β€ -1. The domain therefore excludes the interval (-1,1), but that doesnβt keep the range from going all the way from 0 to + infinity for the part with the square root. The 1 restriction on the domain doesnβt affect the range. Multiply this range by - 2 to get 98 0 to - infinity. (Cutting infinity in half doesnβt make a dent in it either!) Turn that around to get - β to zero, and add 4 which leaves you with β infinity to 4, or (- β, 4]. For additional information, see βRange of a Rational Functionβ. 99 Even and Odd Functions In calculus, you will be determining the area between the curve of a function and the x-axis over a certain interval, say between -2 and 2. For the function f(x) = x2, the area under the curve in the interval -2 to 0 is exactly the same as the area in the interval 0 to 2. When you look at the graph you can see why: y = x2 is symmetric about the y-axis. Many functions are symmetrical like this so it is often faster to calculate half the area (starting at 0) and then double it. You can recognize even functions, because they all have the property that f(x) = f(-x). Just put βx into the function in place of x and see if you get the same result. An area under a curve (between the curve and the x-axis) that lies below the x-axis is considered to be a negative area. If you attempt to calculate the area under f(x) = x 3 you will end up with a value of 0. If you look at the graph of y = x3 you can see why: f(x) = x3 is an odd function. The area below the x-axis is exactly equal to the area above the x-axis so the two values cancel each other out. If you rotate the graph around the origin 180 degrees, it looks exactly the same. Odd functions are also easy to spot because f(-x) = - f(x). For an odd function, the area under the curve from βa to a is always 0. Remember that because it can save you a lot of work in a calculus course. 100 Rational Expressions and Functions Rational expressions are those that can be written as a ratio of two polynomials. In practical terms, this means that weβll be dealing with a fraction that has x in the denominator, and usually in the numerator too. Adding, Subtracting, and Simplifying Rational Expressions The first thing that you are likely to learn to do with rational expressions is to simplify them. It is very much easier to see what is going on when an expression is composed of a single fraction. For example, you may be asked to change x+3 - xβ3 x(xβ2) x(x+2) lot of work, so letβs solve an easier problem: 1 10 to a single fraction. That looks like a 1 + 15. As you know from basic arithmetic, we need a common denominator to be able to add these fractions [the fractions must both be the same size]. To do that we must find a number that both 10 and 15 βgo intoβ. We could just multiply 10 and 15 to get 150 so we can be sure that it will work out, but thatβs overkill in this case. The number 30 is much more suitable since it is the smallest number that is divisible by both 10 and 15. It is the LCD, which stands for least common denominator [or liquid crystal display, depending on what you are reading]. How can we find the LCD? Well, letβs look at what makes up the numbers 10, 15, and 30: 10 = 2 β 5 15 = 3 β 5 30 = 2 β 3 β 5 You need to stop here and make sure you understand how the number 30 βcontainsβ both the number 10 and the number 15. Create your own numerical examples if you need to. Now letβs go back to x+3 x(xβ2) - xβ3 . x(x+2) What is the smallest expression that contains x(x-2) and x(x+2)? The factors we need are x, (x-2), and (x+2). It is not necessary to use two copies of x. The expression we want for the LCD is x(x-2)(x+2). This is divisible by both x(x-2) and x(x+2). You may think you should multiply out this expression right away, but it is actually to your advantage to leave the common denominator in its factored form. That way you can quickly check for any factors that cancel out on the top and bottom at the end. To get the first fraction to have a denominator equal to 101 the LCD, we must multiply the bottom by (x+2), so we have to do that to the top also to avoid changing the fraction: x+3 x(xβ2) β x+2 = x+2 (x+3)(x+2) x(xβ2)(x+2) The second fraction needs to be multiplied by (x-2) on the top and bottom: xβ3 x(x+2) β xβ2 = xβ2 (xβ3)(xβ2) x(x+2)(xβ2) Now the denominators are the same. Because we are subtracting the numerators, we have to multiply out the expressions on the top of each fraction: (x+3)(x+2) - (xβ3)(xβ2) x(xβ2)(x+2) x(x+2)(xβ2) = x2 +5x+6 x(xβ2)(x+2) - x2 β5x+6 x(xβ2)(x+2) = x2 +5x+6β(x2 β5x+6) x(xβ2)(x+2) = 10x x(xβ2)(x+2) Because we left the denominator in factored form, we can easily see that x can be canceled out. We can divide the top and bottom by x, provided that x is not zero. We can never divide by zero, but x could not have been zero to start with since it appears in the denominator of one of the original fractions. 10 x β 0, x β 2, x β -2 This is the same as (xβ2)(x+2) 10 x2 β4 x β 0, x β 2, x β -2 Notice that we have to specify that x cannot be zero in the answer because you can no longer see it by looking at the rational expression. Also, x cannot be 2 or -2. ____________________________________________________________________________ Sometimes you need to factor one or more of the denominators so that you can find the least common denominator. For example: 2x+8 x2 +9x+20 + x (x+5) = Factor the quadratic to see that the LCD is (x+4)(x+5): 2x+8 (x+5)(x+4) + x (x+5) = 2x+8 (x+4)(x+5) + x(x+4) (x+5)(x+4) Now the top part can be factored: x2 +6x+8 (x+5)(x+4) = (x+4)(x+2) (x+5)(x+4) = (x+2) (x+5) x β -4, x β -5 = 2x+8+x2 +4x (x+5)(x+4) = x2 +6x+8 (x+5)(x+4) 102 We may divide the top and bottom by (x + 4) to cancel it out, provided that (x - 4) is not zero. Notice that value of -4 or -5 for x would not be allowed in the original expression anyway. You can use any value for x other than -4 and -5 to check your work. Try using x = 10 to check that 2x+8 x2 +9x+20 + x (x+5) = (x+2) (x+5) ___________________________________________________________________________ If your rational expression appears as a single fraction that has other fractions contained within it, there is a special trick you can use. Because it is already one fraction, you now have the option of multiplying both the top and the bottom by the same thing. If we pick that thing strategically, we can actually get rid of all of the fractions on the top and bottom in a single operation. The trick is to multiply both the top and bottom of your fraction by the LCD of all the fractions you want to eliminate. Take a look at an example: 1 3 + x y 1 +1 x Here the LCD of the little fractions is xy. We can multiply the top and the bottom of the main fraction by xy to get rid of all the little ones: 1 3 + x y 1 +1 x β xy xy = xy 3xy + y x xy +xy x = y+3x y+xy = y+3x y(1+x) xβ 0 This is much faster than eliminating these little fractions individually, but we can still do so if we want or if we donβt remember the trick to use. Letβs do it the other way too. First eliminate the fractions on the top: 1 x 3 y y xy + = + 3x xy = y+3x xy Then do the bottom one, where the LCD is 1 β x: 1 x + 1= 1 x x 1+x x x + = Now we have: y+3x xy 1+x x 103 To divide by a fraction you multiply by its reciprocal: y+3x xy ÷ 1+x x y+3x = xy β x 1+x = x(y+3x) xy(1+x) = y+3x y(1+x) xβ 0 You can see that this other way takes longer, so if you have a lot of these problems to do you will want to remember the trick. Rational Equations When you have an equation, you can multiply both sides by the LCD to quickly clear all those annoying fractions. Factor if necessary to find the LCD: 5 x+2 5 x+2 + + 3 xβ5 3 xβ5 = = 13 x2 β3xβ10 13 (x+2)(xβ5) The LCD is (x + 2)(x β 5) so we multiply each fraction on both sides of the equation by whatever it takes to get that least common denominator. Donβt start multiplying everything out completely, since the goal is to eliminate factors: 5(xβ5) (x+2)(xβ5) + 3(x+2) (x+2)(xβ5) 5(xβ5)+3(x+2) (x+2)(xβ5) = = 13 (x+2)(xβ5) 13 (x+2)(xβ5) Notice that the denominators are equal, so the numerators must be too: 5(x β 5) + 3(x + 2) = 13. Now we can multiply things out and solve: 5x β 25 + 3x + 6 = 13 8x β 19 = 13 8x = 32, so x = 4 Just remember to check that your final solution does not give a zero value for the denominator of any of the fractions! Sometimes that may mean that there is no solution to the equation at all. 104 In general, finding a common denominator so that you only have to worry about the numerator works well for solving rational equations. Alternatively, it is also possible to create one fraction on each side of the equals sign so that you can cross-multiply: 4 xβ1 + 14 x+2 4(x+2) (xβ1)(x+2) = 15 x + 4x+8+14xβ14 (xβ1)(x+2) 18xβ6 (xβ1)(x+2) = 14(xβ1) (x+2)(xβ1) = = 15 x 15 x 15 x x(18x β 6) = 15(x β 1)(x + 2) 18x2 β 6x = 15x2 + 15x β 30 3x2 β 21 x + 30 = 0 x2 β 7x + 10 = 0 (x β 2)(x β 5) = 0 x = 2 or x = 5 Just a word of caution: If you need to divide both sides of an equation by an expression containing x, make sure that it is not zero. For example, if you divide both sides of an equation by x + 4, immediately write x β -4. Vertical Asymptotes The most important thing to remember about rational functions is that we must never, ever divide by zero. Therefore we have to very carefully exclude any values of x that would make 1 the denominator zero. If you look at the graph of the function y = , you can see that this smart x function already knows that since it very carefully avoids the value x = 0: 105 For this function the line x = 0 is a vertical asymptote, which is a line that the function gets close to but never reaches. How does this clever function magically know to avoid x = 0? Think about it before you continue reading. Thanks to modern technology, vertical asymptotes can seem quite mysterious. Youβre just getting used to the idea of rational functions when all of a sudden these strange vertical lines start to appear. Early pioneers of rational functions noticed these lines and named them, but they were not very surprised by them. If you calculate function values by hand you can see exactly what causes vertical asymptotes. Letβs take a closer look at the function f(x) = 1 x . We can easily see that inserting x = 0 here is a big no-no, because it would cause a division by 0. This function has no output value for x = 0. What is more interesting is what happens on either side of 0. We canβt use 0 for x, but we can 106 use a value that is really close to 0, such as 0.001. Inserting this for x, we get 1 .001 , which is 1000. Dividing by such a small number causes the function to output a large positive value. The closer we get to 0 the larger this value gets. 1 .00001 = 100,000. Eventually it approaches positive infinity. On the other side of 0 we can pick a small negative number like -.001 to insert for x. Now the output value is -1000. The closer we get to 0 the more negative the function value, so it goes to negative infinity. On either side of the non-permissible value x = 0, the function approaches negative or positive infinity, creating a vertical asymptote. Is there always a vertical asymptote where there would be a zero in the denominator? No, there is a reason why there may not be one. Consider the function(x) = x2 β1 xβ1 . If you factor the top part, you see that it is composed of (x - 1)(x + 1). The function still does not exist at x = 1, but now there is a difference in what happens on either side of 1. At x = 0.999 we get -0.001 on the bottom, but the top is (-0.001)(0.999 + 1). The division by the small negative number cancels out, and the function returns a value of 1.999. On the other side of 1, at x = 1.001, the same thing happens. The division by 0.001 cancels to give a function value of 2.001. As we get closer and closer to 1 on either side, the function value gets closer and closer to 2, even though it never actually gets there. There is no asymptote; there is just a βholeβ in the graph at the point (1,2). The function f(x) = (xβ1)(x+1) xβ1 is not the same as f(x) = x + 1 because they have different domains, but the βholeβ at (1,2) is infinitely tiny. Textbooks often indicate this type of discontinuity by marking a little open circle on the graph. Personally I have always been disappointed that you canβt actually see this hole when you use a graphing calculator, but it really is infinitely small which makes it invisible no matter how much you zoom in. Range of a Rational Function The domain restriction on a rational function affects the range. If the function has a little hole in its graph, the y value at the hole must be excluded from the range. If there is a vertical asymptote it may take the range to positive or negative infinity, or both. Example Find the range of f(x) = x+1 x2 β1 Here we need to make sure that x2 β 1 is not zero, so we must exclude x = 1 and x = -1. Another problem we have is that it is not immediately clear what happens to this function when x is a very large positive or a very large negative number. Since there is a difference of two squares 107 in this function, the easiest way to figure things out is to factor and divide: We end up with the simplified function g(x)= 1 xβ1 x+1 x2 β1 = x+1 . (x+1)(xβ1) which has a different domain. Now it is easier to see that when x is a very large positive number the output gets closer and closer to zero, and when x is a very large negative number the output gets closer and closer to zero too. Try this out with a few actual numbers so you can see what is happening. We end up with a smaller and smaller positive or negative fraction. It is not possible for the function to actually reach 0, so that has to be excluded from the range. Because the function never reaches 0, the x-axis is considered a horizontal asymptote of the function. An asymptote is a line that a function gets close to but never reaches. The other interesting thing that happens with this function is when we approach the value x = 1. Taking a value for x close to 1 on the right (positive) side, such as 1.001, we see that we get a large positive number: 1 1.001β1 = 1000 The closer we get to 1, the larger the result: 1 1.00001β1 = 100,000, and so on, all the way to + infinity. Approaching 1 from the left or negative side results in a larger and larger negative number: 1 0.999β1 1 = -1000, and 0.99999β1 = -100,000, which eventually takes us to βinfinity. The line x = 1 is a vertical asymptote of this function. Vertical asymptotes tend to appear at points where the function does not exist (the denominator is 0). Next we have to check what happens near x = -1. Because we used the trick of factoring and dividing, we can plug -1 directly into the simplified function even though we could not put it 1 1 into the original. The result of that is β1β1 = β2. Even though the simplified function will accept 1 the value x = -1 our original function does not. The best it can do is approach the value - 2 π₯+1 1 really, really closely. f(x) = π₯2 β1 has an infinitely small hole in it at (-1,-1/2) , so - 2 must be excluded from the range. The infinitely small hole is plugged when we replace f(x) by the simplified version g(x). So, while the function output goes from β infinity to + infinity, the two values that must be 1 excluded from the range are - 2 and 0. x+1 Here is a picture of f(x) = x2β1 . Notice that the hole at (-1, -1/2) is not visible ο. 108 Summary The value of x that would make a factor of the denominator zero must be excluded from the domain of the function. There is a vertical asymptote here, unless the same factor is also present in the numerator in which case there is an infinitely tiny βholeβ in the graph. 109 Horizontal and Slant Asymptotes In the previous section, we found that the value of the function f(x) = x+1 x2 β1 approaches zero for very large or very small values of x. We did this by factoring x2 β 1 into (x+1)(x-1) and dividing, so we could see more easily what happens when x approaches positive or negative infinity. However, you may not always be able to simplify a function in this way. In general, when a function is composed of one polynomial divided by another polynomial, there is a handy trick we can always use to find what happens at very small or very large values 1 of x. This trick is based on the fact that x gets smaller and smaller as x gets larger and larger. It never actually reaches zero, but we can keep getting closer and closer to 0 by taking larger and 1 larger values of x. Zero is considered the limit of the expression x as x goes on to infinity. Zero 1 is also the limit of x as x goes to negative infinity. The word limit is sometimes defined as the value that a function approaches but can never reach. Infinity is hard to imagine, so we could have some philosophical discussions about limits, but for practical purposes the idea is really useful. Letβs see how it works. Example 1 Find what happens to f(x) = x+1 x2 β1 at very large positive or very negative values of x. (Determine the end-behavior of f(x) as x approaches positive or negative infinity.) To take advantage of the limit of 1 x as x gets very large or very negative, divide the top and bottom polynomial by the highest power of x in the denominator. Note that this means dividing every single term, because it is easy to forget some. Here x2 is the highest power of x in the denominator, so that is what we divide by. For f(x) = Simplifying, we get f(x) = 1 1 + x x2 1. 1β 2 x makes sense that the limit of 1 x2 x+1 x2 β1 Now, if we say that the limit of that gives us f(x) = 1 x x 1 + x2 x2 x2 1 β x2 x2 . as x goes to infinity is zero, it as x goes to infinity would also be zero. This expression actually approaches zero faster, but it never actually gets there either (hmmβ¦). Anyway, we 1 can make a nice approximation by replacing all of the expressions xn with the number 0, so that 1 1 + x x2 1 1β 2 x 0+0 turns into 1β0, which is 0. This tells you that as x gets larger and larger, the output of the function approaches 0, although it never actually gets there. Zero is not included in the range 110 1 of the function. Conveniently, xn also goes to zero as x gets to be more and more negative, giving us the same result in this case for smaller and smaller values of x. Note that if you were looking for the range rather than the end behavior you would still have to go back and check what happens near the values 1 and -1, which is a little more work if you donβt simplify the function first. Letβs look at a slightly more difficult example: Example 2 Find the end behavior of f(x) = x3 +3x2 +4x+7 . x5 +x4 +2x2 +10 What happens to this function when we have very large or very small values of x? To find out, divide all the terms by the largest power of x in the denominator, which is x5 in this case. After simplifying, we end up with f(x) = happens to something like 10 x 1 3 4 7 + + + x2 x3 x4 x5 1 2 10 . 1+ + 3 + 5 x x x Now we have to stop and consider what when x gets very large (or very negative). If you think about that for a while you will realize that it is just the same as for 1 x ; the expression eventually gets very close to zero. If we replace all of the expressions of the form a xn with zero, we see that the value of this function approaches 0 as x approaches positive or negative infinity. Your textbook will likely have many examples for you to try. After you have been doing these problems for a while, you will notice a pattern: 1. If the power of the leading term (leading term = term with the highest power) on the top is smaller than the power of the leading term on the bottom, the function will always approach 0. The x-axis will be a horizontal asymptote. 2. If the leading term on the top has the highest power, the function will approach positive or negative infinity. 3. If the powers of the top and bottom leading terms are equal, the function approaches a definite number which is determined by the coefficients of the leading terms. There will be a horizontal asymptote. 4. If the power of the top leading term is one higher than the power of the bottom leading term, the function will have a slant asymptote. A slant asymptote is a line that is not horizontal or vertical. Like other lines, it can be described by a linear equation. The function approaches the line but never touches it. What creates this slant asymptote? Letβs look at an example. 111 Example 3 Describe the end behavior of f(x) = x2 β1 x+2 . We expect this function to have a vertical asymptote at x = -2, but it also has a slant asymptote. Use long division or synthetic division to divide x2 - 1 by x + 2. The result is x β 2, with a 3 remainder of 3. This can be written as x β 2 + x+2 . When x gets larger and larger, the remainder 3 x+2 gets smaller and smaller until it approaches zero. At large values of x, the function can be approximated by x β 2, although it never quite gets there. The same goes for very small values of x. The red line in this picture is y = x β 2: Whenever a rational function has a top leading term that is one degree higher than the bottom 112 leading term, the result of the division is a linear expression and a remainder that gets close to zero at very small or very large values of x. Rational Inequalities Rational inequalities have an unknown in the denominator, and that unknown may appear in the numerator also. x+3 5 > 4 is not considered a rational inequality, because we can just 1 multiply both sides by 5 to get x + 3 > 20. However, > 2 is not so easy to change into a regular x inequality. We might be tempted to multiply by x to get 1 > 2x, but there is a bit of a problem 1 1 with that. Try - 4 as a test value: 1 > 2 β - 4 is true, but 1 β1/4 > 2 is not. The fact is that x is an unknown that can be either positive or negative, so if we multiply by x we should turn the inequality sign around if x is negative, and leave it the same if x is positive. This would lead to two separate inequalities, one for a negative x and one for a positive x. Things could get even more complicated if we have something like (x + 5)(3x β 1) in the denominator. To avoid this difficulty, we do not multiply inequalities by unknowns. Do not multiply both sides by the LCD like we did with equations. To solve the inequality directly we can use a different strategy. 1 First, we want to get a zero on one side of the inequality. For > 2 we would subtract 2 on x both sides: 1 x β 2 > 0. Next, we put everything over a common denominator so we can deal with the numerator and the denominator separately: 1 x β 2x x 1β2x x >0 > 0. Now we look for the values of x where the expression is zero: 1β2x x = 0. The only way to get 0 1 here is if the numerator is 0. 1 β 2x = 0, so x = 2. This is the point where the function y = 1β2x x would touch the x-axis, so this is where we look for the expression to potentially change from positive to negative or the other way around. Using 1 as a test value, I see that 1 1β2x x is negative 1 when x > 2. When x is just slightly smaller than 2, the expression is positive and the inequality is true. However, the function y = 1β2x x has another trick up its sleeve. It does not exist at x = 0, which means that it has a vertical asymptote here. Function values may be the same on either side of an asymptote, or they may be opposite in sign. Therefore, I have to check if the function 113 changes sign to the left of x = 0, and yes it does. x = 0 is not in the domain of the function, but it obviously has to be considered when we are solving the inequality. In general, we need to find the zeroes of the denominator as well as the zeros of the numerator. Order these numbers from least to greatest, and check what happens in between them. One more point to keep in mind for these rational inequalities is that the zeros on the bottom are values that are not allowed under any circumstances because they would cause us to divide by zero. This is important when your inequality contains a β€ or β₯ sign. Look at this example: 5x xβ4 β€ 0. The values we use to check are the zeros of the top and the bottom, which would be 0 and 4. Below 0, the function is positive and the inequality is false. Between 0 and 4, the function is negative. Above 4, the function is positive and again the inequality is false. Because there is a less than or equal sign, we may be tempted to report that the inequality is true on the interval [0, 4]. However, while it is perfectly fine to include 0, the number 4 must not be used in this case to avoid the great sin of dividing by zero. Do not include 4 in your answer. This number does not make 5x xβ4 equal to zero. Give the interval [0, 4) as your answer instead. Summary For rational inequalities always start by getting a zero on one side. Next put everything on the other side over a common denominator. There are equality points where the numerator is zero. There are also potential changeover points where the denominator is zero. Use test values to see where the inequality holds. Check your work by using a graphing calculator or graphing software. 114 Exponential Functions and Logarithms Exponential Functions When people say that something is increasing exponentially, they mean that it is getting bigger very fast, although they may not always use the term in a mathematically correct sense. An example of a true exponential increase is the initial growth of a bacterial colony. Each bacterium divides in two to reproduce, so the more bacteria there are the faster the colony grows: 1 bacterium β 2 bacteria β 4 bacteria β 8 bacteria β 16 bacteria β¦. The function y = x2 increases very quickly with increasing values of x, but y = 2x increases a lot faster. When x = 2, x2 is equal to 2x. When x = 10 however, x2 is 100 while 2x = 1024. For the function y = 2x, the value of the function is multiplied by 2 every time x increases by 1. Basic exponential functions have the form y = bx. Here b is the βbaseβ that is raised to whatever power you choose for x. The base b cannot be a negative number because of alternating positive and negative values, and missing points for some fractional exponents [(-4)1/2 for example would be a problem since that is ββ4.] On the other hand, negative values for x are perfectly fine to use. Remember that b-3 means 1 b3 , which is always a positive value because b is never negative. All basic (unmodified) exponential functions have graphs that are entirely above the x-axis. They get really, really close to the x-axis, but they can never actually touch it (the x-axis is a horizontal asymptote). There is no exponent that you can put on the base b that gives you a value of zero β try it out for yourself. Since b0 = 1, the graph always passes through the point (0,1), for any value of b. When b > 1, the value of an exponential function increases quickly (exponential growth). Values for b that are between 0 and 1 are interesting because they result in rapidly decreasing values (exponential decay). We canβt use 0 or 1 as values for the base, because these numbers would give straight lines rather than exponential curves. Modified Exponential Functions We can modify basic exponential functions in several ways. This is often useful when we want to create a function to model exponential growth that we see in experimental data. When we look at such data, we usually find that they donβt have a value of 1 at the starting point. There may be some initial amount or a certain number of organisms, and then there is an exponential increase or decay over time. You can take the function y = bx and multiply it by some constant, 115 say 10, to get y = 10bx. Now the function values will start at 10 when x = 0: y = 10 β b0 = 10 β 1 = 10. For the general constant c, the function y = cbx will have a value of c at x = 0. Instead of passing through the point (0,1) the graph will pass through the point (0,c). This multiplication does not affect the horizontal asymptote. Just like any other graph, the graph of y = cbx can be shifted up or down by adding or subtracting some constant. To shift the graph of y = 10(3)x down by 5 units, just write y = 10(3)x - 5. Before the shift, the x-axis was a horizontal asymptote of the function. When you shift the graph down by 5 units, the horizontal asymptote also shifts down, to the line y = -5. In general, shift the graph of y = cbx up or down by writing y = cbx + k, where k is a positive or a negative number. The horizontal asymptote will then be the line y = k. One example of a modified exponential function is Newtonβs Law of cooling. This law lets you calculate the temperature of a hot object with an initial temperature T i, at any given time t. How fast the object cools depends on the difference between its initial temperature and the temperature of its surroundings, Ts: T(t) = Ts + (Ti β Ts)ekt where k is a small negative constant that can be determined experimentally. Notice that this is an exponential function that has been shifted up by an amount equal to Ts, the temperature of the surroundings. If you are working with experimental data you will want to subtract T s from all of the measurements so that you can determine the exponential function more easily. For any function of x, we can subtract something directly from x in the formula. If we put in (x β 2) instead of x, that means that x now has to be 2 units bigger to do the same job that it did before. The curve shifts to the right. That is a little counterintuitive, since we are subtracting and we might expect that the graph would shift to the left if we donβt stop and think about it carefully. If we add something to x in the formula, the graph shifts to the left. The general formula looks like this: y = cbx-h, or y = cbx-h + k if you are shifting up or down also. The Number e Exponential functions increase faster and faster as their y-value increases. The rate of increase at a particular point depends on the value of the function at that point, just like the number of new rabbits there will be in a growing colony a year from now depends on how many rabbits there are right now. Consider the function y = 2x. When x = 1 the value of the function (the y value) is 2. Because the function increases ever faster as it goes, we want to approximate the 116 rate of increase by looking at the value of the function between x = 1 and a point very close to that, say x = 1.001. At x = 1.001, y = 21.001 = 2.00138677. The function value has increased by 0.00138677. That means that y has increased by 0.00138677 units for an increase of 0.001 units in x. The average rate of increase is defined as the change in y divided by the change in x, or 0.00138677 ÷ 0.001 which works out to 1.38677. When x = 3, y = 8, and at x = 3.001 y is equal to 8.00554710. Now the rate of increase is approximately (8.0055471 - 8) ÷ 0.001 = 5.54710. So, when the value of the function is 2, the rate of increase is 1.38677, and when the value of the function is 8, the rate of increase is 5.54710. The function y = 2x increases at a rate that is less than its value, at any given point. If you do the same calculations for the function y = 3x, you will find that at any given point the function is increasing faster than its value at that point β see table below. There is a base, a number between 2 and 3, for which the function y = bx increases at a rate exactly equal to itself at any point. This special number is the number e. Like Ο, e has an infinite number of digits. The number e is 2.7182818228β¦, and it can be found on your TI 83 or 84 graphing calculator above the division key. The table below uses spreadsheet calculations to find the rate of increase for the three functions y = 2x, y = ex, and y = 3x more accurately by measuring over very small intervals. Notice that at x = 1, the value of the function y = ex is approximately 2.718, and it is increasing at a rate of 2.718. When x = 2, the function value is 7.389, and the rate of increase is also 7.389, and so on. x y= 2x 1 1.0001 2 2.0001 3 3.0001 4 4.0001 2 2.000139 4 4.000277 8 8.000555 16 16.00111 Rate of y= ex Increase 1.386342 2.718282 2.718554 2.772685 7.389056 7.389795 5.54537 20.08554 20.08755 11.09074 54.59815 54.60361 Rate of y=3x Increase 2.718418 3 3.00033 7.389426 9 9.000989 20.08654 27 27.00297 54.60088 81 81.0089 Rate of Increase 3.296018 9.888054 29.66416 88.99248 This image shows the graphs of y = 2x (blue), y = ex (green), and y = 3x (red): 117 The number e is a βnaturalβ base for an exponential function, providing a perfectly balanced rate of increase. This amazing number can also generate a spiral that occurs naturally in many places in the real world. The logarithmic spiral is generated by graphing the equation r = eΞΈ. This is an equation in polar coordinates instead of Cartesian coordinates, and it uses the radius of the curve as it relates to the angle ΞΈ that the radius makes with the positive part of the xaxis. Polar coordinates greatly simplify the equations of many curves. In the picture below, you can see the radius at a 45 degree angle drawn as a red line. I actually used the modified equation r = e0.00349ΞΈ to generate the curve so it would produce a nice image. If you substitute 45 degrees for ΞΈ, you can see that the particular radius represented by the red line has a length of about 1.17 units. As the angle ΞΈ increases, the radius also increases in such a way that the curve keeps its same shape. Below the graph is a photograph of a Nautilus shell, which allows the animal to keep the same shape as it grows. 118 Photo by Chris 73 119 The number e is related to the number Ο and the imaginary number i by the equation eΟi = -1. Compound Interest and Other Increases (and Decreases) One way of getting interest is through simple interest. With simple interest, your interest is paid out to you directly and not added to your account. If you do not add more money to your account (or withdraw from it), each interest payment is the same. Calculating simple interest is straightforward. First you determine the principal, which is the original amount of money that you deposited. You multiply the principal P by the interest rate r, to get the interest Pr. For example, if you have $100 and the interest rate is 5% per year, the interest will be 100 times 5%, or 100 times 0.05, which comes out to $5. If you invest your money for a longer period at a simple interest rate, your total interest will be I = Prt, where t is the number of years, or the number of other time intervals at which the interest is paid out. When you get compound interest on your money, that means that the interest is added to your account, and the next time interest is calculated you get interest on the new amount. This gives you interest on your interest, so your money grows more quickly. Regular bank accounts are set up this way. To simplify things, we will first look at interest that is compounded yearly (annually). The first time the interest is calculated, it is just like simple interest. Your principal is multiplied by the interest rate r to get the amount of interest. Now you have your principal P, and also the interest, Pr, where r is expressed as a fraction or decimal. The amount in your account is P + Pr, which can also be written as P(1 + r), so your money has been multiplied by 1 + r. The multiplication by 1 is what preserves your original amount, and the multiplication by r provides the interest. This multiplication by 1 + r happens every year. For year 2, you have P(1 + r) in your account. Again your money is multiplied by 1 + r, so now you have P(1+ r)(1 + r). After 3 years, the money in your account is P(1 + r)(1 + r)(1 + r). We can write that as P(1 + r) 3. After y years, the total amount is P(1 + r)y. Most banks compound your interest monthly rather than yearly. Unfortunately when they do this calculation, they donβt multiply your money by (1 + the yearly rate); you only get 1/12 th of the annual rate at this time. However, over the course of a year, your money is multiplied by 1 r 12 ) . 12 r 12 + r/12 twelve times, which is P times (1 + your money has been multiplied by (1 + After y years of this monthly compounding, ) y times, for a total of P times (1 + 12 r 12y ) . 12 Do your own calculations to see that after 3 years of 5% simple interest on $100 you would have $115.00 (assuming you didnβt spend your interest payment when you received it). With 120 interest compounded yearly, an initial amount of $100 will increase to a total of $115.76. The same principal invested at 5% compounded monthly for 3 years would grow to $116.15. The more frequently the interest is compounded the faster your money increases, because you get interest on your interest more often. If interest is compounded n times yearly, then after y r r years you have P(1 + )ny. Each year your money is multiplied by (1 + )n. As n gets very large n n r n the expression (1 + ) reaches a limit, because the extra bits of interest we are compounding n on get smaller and smaller. This is where we again meet the number e, or 2.7182818β¦.. As n r gets bigger and bigger, (1 + )n gets closer and closer to er. This can be shown by using larger n and larger values of n (grab a calculator and try it out), or through calculus. If the bankβs computer system was busy calculating your interest day and night, after y years you would have an amount very close to Pery in your account (where P is your principal and r is the interest rate). There are other problems that are very similar to compound interest problems. These are cases where the increase or decrease depends on the quantity already present, such as the population growth of a city, or the number of people remaining in a stadium at a given time after a sports event. The increase or decrease is given as a percentage. If the rate is stated as a percentage per unit of time, such as βan annual increase of 12%β, use the compound interest formula A = P(1 ± r)t. A is the amount at time t, P is the original amount, and r is the rate of increase or decrease. You would use the + sign when there is an increase, and the minus sign if there is a decrease. If the rate is applied continually you are expected to use the Pert formula: A = Pert. The problem usually makes it clear that this is the case. Logarithms Early in the 16th century, progress in astronomy was held back by the difficult calculations required to decipher the workings of the solar system. Logarithms provided a much appreciated solution. The usefulness of logarithms was discovered independently by John Napier, a Scottish baron, and Jost Bürgi, a Swiss clockmaker. Logarithms are really just exponents, and we already know that we can multiply two the same numbers raised to different powers by just adding the exponents: xa + xb = xa + b. In the same way, we can divide quickly and easily by subtracting the exponents: xa ÷ xb = xa β b. Both Napier and Bürgi reasoned that if they could express any number as some base x raised to a power, they could multiply 121 and divide easily, which was very important at a time when calculators had not yet been invented. Logarithms quickly became very popular. Henry Briggs proposed using the number 10 as a base, and soon extensive tables were published showing numbers and their base 10 logarithms. These base 10 logs are now available by using the LOG key on your calculator. When we use 10 as a base, the log of 100 is 2, because 100 = 102. The log of 1000 is 3, because 103 = 3, and so on. Numbers that are not powers of 10 have logs that are expressed as rounded-off decimal values. For example, the base 10 log of 5 is .69897β¦. This means that 100.69897 is approximately 5. Logarithmic functions are the inverse of exponential functions. Letβs say you have the number 4, and you put it into the exponential function y = 10x. The result of that is 104 or 10,000. Then you put 10,000 into the logarithmic function y = log x. Now you get back to 4. That works the other way too: start with 10,000 and take the log to get 4. Put 4 into the exponential function y = 10x to get back to 10,000. As we saw earlier, an exponential function only outputs positive values. You can only use positive numbers as an input for a logarithmic function. Logarithms are exponents, and it does not make sense to ask for say, the base 10 logarithm of -100. There is no exponent we can put on the number 10 that will give a value of -100. We can use negative exponents, like 10-2, but this will always produce a positive value. 10-2 means 1 102 which is 0.01. Logarithms of negative numbers are not defined. Letβs see how we would do a simple multiplication using base 10 logarithms. We will multiply 12,879 x 23,457. The log of 12,879 is approximately 4.1098821, and the log of 23,457 is about 4.3702725. This means that we can rewrite our problem as follows: 12,879 x 23,457 = 104.1098821 x 104.3702725. To multiply these two numbers we add their exponents, so we get 104.1098821 + 4.3702725, which is 108.4801546 = 302,102,695. The real answer for 12,879 x 23,457 is 302,102,703, however it would take a very long time to obtain this answer if you were multiplying without a calculator. The simple addition problem 4.1098821 + 4.3702725 can be done quite quickly on paper, with far less risk of error. The logarithmic values themselves used to be available in tables, so people could just look them up. Carrying these tables around and searching for values was somewhat inconvenient, so people designed slide rules. These devices featured movable rows of numbers that were spaced according to the value of their logarithms. Slide rules also allowed the more complex operations of multiplication and addition to be reduced to simple addition and subtraction. The results were usually approximate, but good enough for most purposes. When Enrico Fermi created the worldβs first self-sustaining nuclear reaction, he was monitoring it using his slide rule. However, as soon as calculators became widely available people discarded their slide rules because they could get faster and more accurate results by using a calculator. 122 Although logarithms are no longer used to simplify calculations, they are still important in mathematics, science, engineering, and computer applications. The basic rules of using logarithms are not hard to learn, and easy to re-create using simple base 10 logarithm examples. 103 β 102 = 105. We add the exponents, so we add the logs: Log (103 β 102) = log (103) + log (102) = 3 + 2 = 5 General rule: log (ab) = log a + log b 105 ÷ 103 = 102. We subtract the exponents, so we subtract the logs: log (105 ÷ 103) = log (105) β log (103) = 5 β 3 = 2 a General rule: log ( ) = log a β log b b (104)2 = 108. We multiply the exponents. The exponent on the outside is always there, so grab it first: log (104)2 = 2 β log (104) = 2 β 4 = 8 General rule: log (ax) = x log a I have a nice calculator, but it only does logarithms in two kinds of bases. The first, as we have already seen, is the common base 10 log, just labeled LOG. The other one is the natural logarithm, ln. Natural logarithms use the special number e as a base. The number e is also the base for the natural exponential function y = ex. At any given point, this special function increases at a rate that is exactly equal to its value at that point. Logarithms can have any positive number as a base, so you will often see something like log25. This means the base 2 log of 5, and if you want to find the value of it you should ask to what power 2 should be raised to create the number 5: 2x = 5 Here x is the base 2 logarithm of 5. Solve for x by taking the base 10 logarithm of both sides: log 2x = log 5 x log 2 = log 5 x= log 5 log 2 123 The reason I chose to take the base 10 logarithms on both sides is that my calculator can find those. I could also have used the natural logarithms, in which case the answer would be x= ln 5 . Both answers give the same numerical value for x, about 2.3219. ln 2 In general, if we want the base b logarithm of the number a, just call it x: logb a = x bx = a x log b = log a x= log a log b Whenever you are doing problems with exponents, always check if you can change the base. Watch for the numbers 4 [22], 8 [23], 25 [52] and 125 [53]. Example 1 Simplify: 2 ln 8 β 3 ln 4 First put the exponents up: ln 82 β ln 43 82 Change it to a division: ln ( 3 ) 4 Change the base: ln ( (23 )2 26 ) = ln (26 ) = ln 1 = 0 (22 )3 Example 2 Solve for x: logx 2 + logx 4 = 3 logx (2 β 4) = 3 logx 8 = 3 8 = x3 x = 81/3 = 2. Although there are complex solutions for x they are not suitable here because these numbers cannot be used as the base of a logarithm. 124 Example 3 Solve for x: 5x 2 25x = 125 This problem is just screaming for you to adjust the base: 5x 2 (52 )x 5x = 53 2 52x 5x = 53 2 β2x = 53 x2 β 2x = 3 x2 β 2x β 3 = 0 (x + 1)(x β 3) = 0 x = -1 or x = 3. Both solutions work. Graphing Logarithmic Functions Taking a logarithm, which is finding an exponent, is the inverse of raising to a power. When two functions are inverses of each other we can graph them by reversing their x and y values, which reflects one graph over the line y = x to create the graph of the inverse function. If you think of the line y = x as a mirror, one graph is the mirror image of the other. The picture below shows the graphs of y = 2x (blue line) and y = log2 x (red line). To graph y = log2 x by hand, you can make a (small) table of values for the inverse function y = 2x: X Y -2 -1 0 1 2 1/4 1/2 1 2 4 125 This helps you see that the base 2 log of ¼ is -2, the base 2 log of ½ is -1, and so on. Choose these convenient values for x, and mark the corresponding y-values on your graph. To graph more complex functions like y = log3(x β 2) + 1, graph the parent function, y = log3x first by constructing a table for y = 3x. Then shift your points 2 units to the right and 1 unit up. If you try to graph logarithmic functions electronically you may run into a problem because your calculator or graphing software does not graph logarithms with a base other than 10 or e. You will have to adjust a function like y = log2 x yourself by turning both sides into a power of 2: 2y = 2log2 x 2y = x log(2y) = log x y log 2 = log x y= log x , which you would enter as y = log(x)/log(2). log 2 It may seem a bit odd that 2log2 x is equal to x. The base 2 logarithmic function is the inverse of the exponential function with base 2. One function βundoesβ the operation of the other. If you take any number x and find the base 2 log, and then put the result of that into the exponential function y = 2x, you get your original number x back. Try that out with a suitable number like 8, which is 23. The base 2 logarithm of 8 is 3. Now if you raise 2 to the power (log2 8) you just get 8, the number you started with. That is similar to taking the positive square root of a number 2 and then squaring the result: (β16) = 16. To get rid of the square root you use squaring. To get rid of log2 you raise to a power of 2: 2log2 8 = 8. 126 Just as a basic exponential function always includes the point (0.1) in its graph, the graph of a basic logarithmic function always passes through the point (0,1). Log 21 = 0 since 20 = 1. The log of 1 is always 0 for any base. Notice that when x is smaller than 1, this logarithmic function returns negative values. The base 2 logarithms of numbers less than 1 are negative, which means that we must raise 2 to a negative power to create such numbers. We can find the base 2 logarithms of very small positive numbers, but there is no logarithm of 0. It may look like the graph is touching the y-axis in the picture, but it actually only gets really, really close. The y-axis is a vertical asymptote. The next picture shows the functions y = (1/2)x (blue line), and y = log1/2 x (red line). Notice that these graphs still pass through the points (0,1) and 1,0). The x-axis is a horizontal asymptote for the exponential function, and the y-axis is a vertical asymptote for the logarithmic function. 127 Logarithmic functions can be modified and shifted in the same way as exponential functions. We can multiply the function by a constant, to get y = c logb x. Because logb 1 is always 0, c logb x is also 0, and the graph still passes though the point (1,0). To shift the graph up or down add k: y = c logb (x) + k. To shift right or left subtract h: y = c logb (x-h) + k. Note that if you shift the graph of a logarithmic function left or right, the vertical asymptote also shifts left or right. If you shift the graph h units to the right (which turns into left if h is negative), the vertical asymptote will be at the line y = h instead of at the y-axis. Half-Life Half-life is a specific type of exponential decay. The half-life function is an exponential function with a base of ½. Say we have an amount C of a substance that has a half-life of one year. The 128 1 amount remaining after 1 year is C β ( ). If two years go by, the original amount C gets cut in 2 1 2 1 3 2 2 half twice: Cβ ( ) . The remaining amount after 3 years is given by Cβ ( ) , and so on. After 1 y y years, the amount A that remains is given by the equation A = C (2) . Slightly confusing is what happens if we have a much longer half-life. First letβs try a half-life of 10 years, to make things easier to imagine. It now takes 10 years before we have half of the original amount left. 1 y How can we take the original equation A = C (2) and make the time take 10 times as long? Letβs try y 1 10 A = C (2) . Now 10 years have to go by to give us ½ the original amount. Thatβs all there is to it. If the half-life is a large scary number like 360,000 years, you just write the equation as y 1 360,000 A = C (2) . If your half-life is in different units, like 5 months, you can write the equation m 1 5 as A = C (2) and your answer will be in months. When you are actually using this equation, the question may ask something like: βOnly 15% of the original amount of carbon-14 remains in a sample. Carbon-14 has a half-life of 5730 years. How old is the sample?β Notice that the original amount of C-14 is not given. This really means that you can use whatever original amount you want, so long as the remaining amount is 15% of that. A convenient value to use is 1 [kg, gram, pound, whatever; it really doesnβt matter]: y 1 5730 0.15 = 1 β ( ) 2 , so we write that as 0.15 = (.5)y/5730 Now all we have to do is solve for the only unknown y. This can be done by taking a logarithm on both sides. Either the base 10 logarithm (LOG) or the natural logarithm (LN) will work here. Actually, any logarithm at all would work, but your calculator only does LOG or LN. log 0.15 = π¦ 5730 log(.5). Rearranging gives log 0.15 log 0.5 = y 5730 , and your calculator should tell you that the sample is about 15,683 years old. Summary Shifted exponential function: y = cbx-h + k. Horizontal asymptote at y = k. Basic exponential function: y = bx. y = bx always passes through the point (0,1), horizontal asymptote at y = 0. 129 When you use the number e as the base of a simple exponential function, the function increases at a rate equal to its value at any given point. log (ab) = log a + log b a log ( ) = log a β log b b log (ax) = x log a Change of base formula: logba = log a log b The logarithmic function is the inverse of the exponential function: b logb x = x Simple interest: I = PRt Total amount of money A that you have after y years if the interest is compounded n times per r year: A = P(1 + )ny 1 y h n A = C (2) A is the amount remaining after y years for a substance with a half-life of h years if the original amount was C. 130 Parabolas You can check your work with parabolas by using the free program Geogebra. Type the equation in the input field at the bottom, using β^β for the exponents. Quadratic Equations and Parabolas When we graph the simple equation y = x2 we create a parabola. The vertex of a parabola is its highest or lowest point. In this case the vertex or lowest point of the parabola is at (0,0). We can adjust the shape of the parabola by using the equation y = ax2, where a is some arbitrary constant. If a is a positive number larger than 1, the parabola looks βnarrowβ, and if a is a very small positive number the parabola flattens out. If a is negative the parabola flips over so that the vertex is at the top. Adding a number to the equation shifts the parabola up, or down if the number is negative: y = ax2 + k. This can also be written as y β k = ax2. Just as subtracting k from y shifts the parabola in the positive y direction, subtracting h from x will shift the parabola in the positive x direction: y β k = a(x β h)2, or y = a(x β h)2 + k. The vertex of this parabola is located at the point (h,k) All quadratic equations graph as parabolas. To change y = ax2 + bx + c to the more useful form above where you can read off the position of the vertex, just complete the square (see βCompleting the Square and the Quadratic Formulaβ). Example Find the vertex of the parabola y = 5x2 + 20x β 12 y 5 y 5 y 5 y 5 = x2 + 4x - 12 5 + 4 = x2 + 4x + 4 + 4 = (x + 2)2 = (x + 2)2 - 12 5 12 5 -4 12 5 131 y = 5(x + 2)2 β 12 β 20 y = 5(x + 2)2 β 32 The vertex is at (-2, -32) If you are working with parabolas a lot, you may get tired of completing the square each time. You can just do it once with the general equation of a parabola, and then use the result of that each time. Here is how it works: y = ax2 + bx + c y a y a y a = x2 + b a x+ c a b b 2a a + ( )2 = x2 + = (x + b 2 ) 2a y = a(x + b c 2a a x + ( )2 + c b a 2a + β ( )2 b 2 ) 2a +cβ b2 4a If you compare this to y = a(x β h)2 + k, you will see that - b 2a corresponds to h, the x-coordinate of the vertex. This means that we can take a shortcut. For example, the parabola y = 5x2 + 20x β 12 will have a vertex with x-coordinate - b 2a , or - 20 2β5 = -2. If we know that the x coordinate of the vertex is -2, the fastest way to find the y-coordinate is by substituting x = -2 in the equation of the parabola. y = 5 (-2)2 β 40 β 12 = -32. Now we can convert y = 5x2 + 20x β 12 to the vertex form y = a(x β h)2 + k faster than we did before. h and k are the coordinates of the vertex, which we just calculated, and a is the coefficient of the first term, 5. The vertex form is y = 5(x + 2)2 β 32. If you know the vertex and one point on a parabola, you can get the equation of the parabola. If you are modeling data that are given to you, look to see if the vertex is obvious from the data. (Parabolas are symmetrical, so look for similar y values on both sides of the point that you suspect could be the vertex. Sometimes the data need to be modeled by one half of a parabola, so the vertex is the starting point). When we know the vertex, we use the form y = a(x β h)2 + k. Simply fill in the values for h and k. For example, if the vertex is at (2,3), the 132 equation will look like this: y = a(x β 2)2 + 3. If you also have another point (x,y), you can put that into this equation to find a. Example The axis of symmetry of the parabola y = 3x2 + bx + 4 is the line x = 1. Find the value of b. Here we know that the vertex is located at some point (1,k). Letβs fill in what we know: y = a(x β 1)2 + k y = 3(x β 1)2 + k Now, how does that relate to y = 3x2 + bx + 4? Well, letβs just multiply (x β 1)2 out: y = 3(x2 β 2x + 1)2 + k y = 3x2 β 6x + 3 + k Because k is just a number, we can conclude that b must equal - 6. On the other hand, if you know that the vertex always occurs at x = - b 2a , you can simply fill in the values: x=1=- b 2β3 b 6 b=1β-6=-6 If you do not know where the vertex is but you have at least three points on the parabola, you can also find the equation. In this case you would use the form y = ax 2 + bx + c. Filling in three separate points will give you three equations where the only unknowns are a, b and c, which you can then solve for. It is particularly helpful if one of your points has an x-coordinate of 0, since that gives you the value of c directly. For three points (x1,y1), (x2,y2) and (x3,y3) we have: ax12 + bx1 + c = y1 ax22 + bx2 + c = y2 ax32 + bx3 + c = y3 133 Here the three unknowns, a b and c, can be found by solving this system of three linear equations. This is most easily done by solving the corresponding matrix (see Matrices). If we are provided with the coordinates of two points on a parabola, say (x1,y1) and (x2,y2), we can find a set of possible equations for that parabola as follows: y1 = ax12 + bx1 + c y2 = ax22 + bx2 + c Subtract these two equations to get: y1 β y2 = a(x12β x22) + b(x1 β x2) There are many possibilities for a and b, so there are an unlimited number of equations for the parabola that passes through the given two points. To find the simplest one, take a = 1. Solve for b, and then for c. Example Find the equation of the parabola that passes through the point (1,-2) and has its axis of symmetry at x = 3. The y-intercept is 8. This clever problem disguises the fact that it is providing you with 2 points on the parabola: (1,-2) and (0,8). The third piece of information is that the x-coordinate of the vertex is 3. That gives us a hint that we should be using the vertex form, y = a(x β h)2 + k, with h = 3: y = a(x β 3)2 + k Remember that k is the y-coordinate of the vertex, not the y-intercept! Use your two points to create two equations with two unknowns: -2 = a(1 β 3)2 + k 8 = a(0 β 3)2 + k Solve this system of equations to get a = 2 and k = -10. The equation of the parabola in standard form is y = 2x2 β 12x + 8. Basic Graphs Parabolas are a type of conic section. If you take a cone and cut it in various ways, you can get 134 a circle, an ellipse, a parabola, or a hyperbola. These conic sections have one or two special points called foci, except for the circle for which the focus is really the center. All parabolas have a single focus. This is the point that all light falling on a 3 dimensional parabolic mirror would be focused on. If you put a parabolic mirror in the sun you can boil water at the focus ( http://www.youtube.com/watch?v=0xfTl3Ugyjk&feature=related ). For other conic sections the distance to the focus is called c, but for a parabola this is a bit confusing because quadratic functions already have an end term called c which is not at all related to the focus. The distance from the vertex of a parabola to the focus is therefore called p by many textbooks, although others use c. Here is a picture of a parabola determined by the equation y = ax2 where a is a positive number. The distance from the vertex to the focus is p (or c, depending on your textbook), and the focus is located at (0,p). In this picture p is 4. The directrix is a line that runs perpendicular to the axis of symmetry of the parabola, at a distance of p below the vertex (or above it if the parabola opens down). In the picture above, the directrix is the blue line underneath the parabola. By definition, a parabola is the collection of all points (x,y) such that the distance from the focus to (x,y) is the same as the distance from 135 the point (x,y) to the directrix. That means that the red line in the picture is the same length as the green line. Then of course the squares of their lengths are also equal. It is not hard to find the length of the red line. By the Pythagorean theorem, the square of its length is equal to x2 + (y β p)2. The length of the entire green line is y + p, so the square of its length is (y + p)2. Now we can say that x2 + (y β p)2 = (y + p)2 Multiplying out, you get x2 + y2 β 2py + p2 = y2 + 2py + p2. A lot of that cancels out to give 4py = x2. We could also write that as y = 1 4p x2. Now we have two equations for this parabola: y = ax2 and y = This means that a = 1 4p 1 4p x2. , so if we know a we can find p. 4ap = 1 so p = 1 4a . For the parabola y = x2, or 1y = 1x2, the distance to the focus, p, must be ¼. For this basic parabola, the focus is located at (0, ¼). To get the focus at a nicer distance, I used y= 1 16 x2 to make the pictures for this section. That gives p = 4 and puts the focus at (0,4). It also flattens the parabola, and the flatter the parabola is the more the focus moves outward. In the video linked above, the focus was quite far away from the mirror. The next picture shows the latus rectum, which is a line through the focus that runs parallel to the directrix. It is marked in orange. Its main function seems to be to provide additional problems for students to solve. (It also puts more emphasis on the fact that for every parabola the distance from any point to the focus is the same as the distance from this point to the directrix.) If this item is in your course you will be asked to find the endpoints of the latus rectum, which is actually quite easy if you know where the focus is. 136 By definition, ½ the length of the orange line is equal to the black line (the distance from the focus to a point is equal to the distance from that point to the directrix). Because the distance from the vertex to the focus is p, the length of the black line is 2p. This means that the orange line has a total length of 4p. Because the focus is at (0,p) for this standard parabola, the endpoints of the latus rectum must be located at (-2p,p) and (2p,p). Shifted Parabolas When we start moving the vertex, the focus [and the latus rectum] move accordingly. Letβs change y = 1 4p x2 to (y β k) = 1 4p (x β h)2. The next picture shows that when we move the vertex to (h,k) from (0,0), the focus (marked by a black dot) moves from (0,p) to (h,p+k). 137 For this example I used y = 1 (x β 4)2 + 5. So, h = 4 and k = 5, which moved the focus from (0,4) 16 to (4,9). [Note that the points of the latus rectum also move h units to the right and k units up (or to the left and down if h and k are negative). They end up at (-2p+h, a + k) and (2p+h,p+k) or in this case (-4,9) and (12,9).] Now, how can we translate all of this to a parabola that opens downward? The basic equation of a parabola is y = ax2. The parabola opens up if a is positive, and down when a is negative. Since a = 1 4p , p will need to be a negative number. The distance to the focus is |p| since distance is always positive. In the image below p is -4, and the vertex of the parabola is shifted from (0,0) to (4,5): 138 Side-Opening Parabolas Next, we will look at parabolas that open to the side. All of these parabolas have equations of the form x = ay2. If a is a positive number the parabola opens to the right, as shown in this picture: 139 The focus of this parabola is located at (p,0), which happens to be the point (2,0) in this case. Again we see that by definition, the square of the length of the red line equals the square of the length of the green line. The length of the red line is x + p. We can find the length of the green line by using the Pythagorean Theorem. The square of the length is (x - p)2 + y2. Therefore, (x - p)2 + y2 = (x + p)2. x2 β 2px + p2 + y2 = x2 + 2px + p2, so after we cancel terms we get y2 = 4px, which is the same as x = 1 4p y2. 1 I made this parabola using the equation x = y2. This means that p = 2 and the focus ends up 8 at (2,0). [The length of the latus rectum is still 4p, which puts the endpoints at (p,2p), and (p,-2p).] 140 Again, we can move the vertex of the parabola to (h,k), using the equation (x β h) = 1 4p (y β k)2. That moves every point over. The focus ends up at (p+h,k) If a is a negative number the parabola opens to the left. The number p will be negative, and the distance to the focus is |p|. Summary For y = ax2 + bx + c, the graph is a parabola and the x-coordinate of the vertex is - b 2a y = ax2 Opens upwards if a > 0, and down if a < 0. Vertex at (0,0), focus at (0,p) y β k = a(x β h)2 Same, but vertex at (h,k), focus at (h,p+k) x = ay2 Opens to right if a > 0, and to left if a < 0. Vertex at (0,0), focus at (p,0) x β h = a(y β k) Same, but vertex at (h,k) and focus at (p+h,k) a= 1 4p so p = 1 4a 141 Circles and Ellipses Letβs set up a Cartesian coordinate system and draw it magnified, so that each unit is very large. Now draw a circle, centered at the origin, with a radius of 1. If your drawing is big enough, you can pick any point (x,y) on your circle and easily see that x2 + y2 = 1. This just happens because the distances x and y are perpendicular to each other, creating a right triangle with a hypotenuse of length 1. We can change the equation for this circle to one that makes it easier to graph using a calculator or computer. y2 = 1 - x2, which means that y = ± β1 β x 2 . Graph this as two separate functions to create a circle. If we want to make this circle bigger, we could change our equation to x2 + y2 = 9. If you look at this equation and graph it, you will see that it gives us a circle with a radius of 3. The graph of this equation is the red circle in the picture below. The general equation for a circle is x2 + y2 = r2, where r is the radius. Using this formula, or the equivalent y = ± βr 2 β x 2 , we can create a circle as big or small as we want. It is also possible to move the circle away from the center of our coordinate system. The green circle in the picture above has a radius of 1, and the center is located at the point (2,3). At first 142 it may seem that the simple relationship x2 + y2 = 1 no longer holds. However, we can account for the fact that the center has been moved. Pick a point (x,y) on the edge of the circle as shown in the picture below. The actual x distance that we use to calculate the radius is now x β 2, and the y distance is y β 3. We can say that (x β 2)2 + (y - 3)2 = 1. If we want the center to be at the point (h,k), we can write (x β h)2 + (y - k)2 = 1. For a circle with radius r, we would write (x β h)2 + (y - k)2 = r2. If we are planning to graph the circle we would rearrange that to (y β k)2 = r2 β (x β h)2, and then to y β k = ± βr 2 β (x β h)2 , or y = 143 ± βr 2 β (x β h)2 + k. For example, a circle with a radius of 1 centered at (2,3) would be drawn using the equation y = ± β1 β (x β 2)2 + 3. In the previous section we enlarged our circle with radius 1 by changing its equation to x2 + y2 = 9. Dividing both sides by 9, we can see that this equation could also be written as (x2 /9) + (y2 /9) = 1, or alternatively: (x/3)2 + (y/3)2 = 1. Dividing both x and y by 3 actually caused the little circle to stretch so that its radius is 3 times larger than it was before. Now letβs stretch our first circle just on the sides, so that it becomes wider only in the direction of the xaxis. This is surprisingly easy to do mathematically. The equation of the first circle was x 2 + y2 = 1. Now we write: (x/2)2 + y2 = 1. What is the effect of this change? Notice that the βheightβ of our circle doesnβt change. When x = 0, y is still 1, just as it was before. However, we now need a bigger x to create the same value of y. At y = 0, x is now 2 instead of 1. The βradiusβ of our circle has been stretched to a length of 2 units along the x-axis. It looks like an ellipse. In fact, it is an ellipse. To actually graph the equation (x/2)2 + y2 = 1 you need to solve for y: y = ± β1 β x2 4 . Graph the positive and negative parts of the equation separately. Every ellipse has a shortest βradiusβ and a longest βradiusβ at right angles to each other. By convention, the length of the longest radius is called βaβ and the length of the shortest radius is called βbβ. Because those are not real radii we instead talk about the longest axis, which is the major axis, and the shortest axis, which is called the minor axis. The length of the major axis is 2a, and the length of the minor axis is 2b. It is not necessary for the major axis of the ellipse to lie along the x-axis. Letβs stretch the ellipse in the y-direction. We can do this by writing: (x/2)2 + (y/3)2 = 1. This will cause the radius along the y-axis to be 3 units long (when x = 0, y = 3). βaβ now refers to the length of the radius along the y-axis, since it is the longest. The major axis of the ellipse lies along the y-axis, and it has a length of 6 units: 144 Remember that a is always larger than b for the ellipse! This is because we want to use 2a for the longest axis and 2b for the shortest axis. Write your equation as (x/a)2 + (y/b)2 = 1 for an ellipse with a horizontal longest axis, and (x/b)2 + (y/a)2 = 1 for an ellipse with a vertical longest axis. The vertices of an ellipse are considered to be the endpoints of the major axis [(0,3) and(-3,0) in the picture above]. The co-vertices are the endpoints of the minor axis [(2,0) and (-2,0)]. The Foci of an Ellipse If you lived in society that was not technologically developed, you could still easily draw a circle by connecting two sticks with a string, placing one in sandy ground and drawing the circle with the other by keeping the string taut, which keeps the radius constant. In the same way, you could draw an ellipse by tying each end of a string to two sticks, and placing them in the ground so that there is still a fair bit of slack in the string. You can then use a third stick to draw an ellipse by keeping the string stretched as far as possible. The points where you place the sticks in the ground are called the foci of the ellipse. The distance from each focus to the center of the ellipse is called βcβ. Because the string has a fixed length, the sum of the distances from each focus to a random point on the ellipse is always the same. The length of the longest βradiusβ or half-axis of the ellipse is βaβ. When your βpencilβ is at this point, you can see that the length of the string is c + a + (a β c), which is 2a. When the drawing instrument is at the end 145 of the shortest axis, the distance to each focus from this point is the same. This distance is βaβ, and the length of the shortest half-axis is βbβ, as shown in the image below: Using the Pythagorean Theorem we can see that a2 = b2 + c2, giving us the relationship between the three important measurements of an ellipse. Notice that the actual equation of the Pythagorean Theorem is c2 = a2 + b2, but the measurements of the ellipse have not been named to correspond to this convention. Probably mathematicians canβt imagine that anyone might be confused by anything mathematical, so they donβt feel a need to worry about this. You may find it easier to remember the odd equation a2 = b2 + c2 if you rewrite it as c2 = a2 β b2. There, now at least it looks a bit like the Pythagorean Theorem. Equations of Circles and Ellipses Just to make life difficult, your textbook may give you equations for circles and ellipses that are not in a convenient standard form. In fact, you may have difficulty telling whether you are dealing with a circle or an ellipse at all. It may help you to know how authors of textbooks can produce these equations for you to puzzle over. For example, letβs take the simple circle we looked at earlier: (x β 2)2 + (y - 3)2 = 1. You can easily see that this is a circle with radius 1 and center at (2,3). Now try actually expanding the squared parts: x2 β 4x + 4 + y2 β 6y + 9 = 1. 146 Rearrange that to x2 β 4x + y2 β 6y = - 12, and give it to someone you donβt like to graph out. For even more fun, multiply the whole equation by something, like maybe 42: 42x2 β 168x + 42y2 - 252y = - 504. Notice that no matter what I do to this equation of a circle, the coefficients of x2 and y2 will always be the same, which gives away the shape of the figure if you know what to look for. To actually get this back to a convenient standard format you must complete the square (see βFactoringβ): 42(x2 β 4x + β¦) + 42(y2 β 6y + β¦) = -504. The missing numbers are 4 and 9 as you can easily see by cheating and looking back at how we made the equation. You must add 42 β 4 and 42 β 9 to both sides of the equation to get 42(x2 β 4x + 4) + 42(y2 β 6y + 9) = -504 + 546. This gives you 42(x β 2)2 + 42(y β 3)2 = 42, and you can take it from there. The equation of an ellipse can also be rearranged. Take an average ellipse with its center at (h,k): (xβh)2 a2 + (yβk)2 b2 = 1 and multiply both sides by a2b2 to get b2(x β h)2 + a2(y β k)2 = a2b2. Then expand the squares, and multiply everything by a random large number. Notice that the coefficients of x2 and y2 will be different, but they will either both be positive or both be negative. This should suggest to you that the equation may represent an ellipse. Again complete the squares to get back to standard form. You can check your work using the free program Geogebra, which accepts an equation like x^2 β 4x + y^2 β 6y = - 12 in its input field and then draws the shape for you. Download it at http://www.geogebra.org/cms/ Example Find the location of the foci of the ellipse represented by 324(x β 1)2 + 25(y + 4)2 = 36 First divide both sides by 36 so you get a 1 on the right side: 25 9(x β 1)2 + 36(y + 4)2 = 1. Then you must make this look like the equation for an ellipse. Remembering that dividing by a fraction is the same as multiplying by its reciprocal, you write this as (xβ1)2 1 9 + (y+4)2 36 25 = 1. Now you can see that this is an ellipse with its center at (1, -4). By definition a is larger than b, so here 36/25 represents a2, and 1/9 represents b2. Because a and b are distances, their values are always positive. Take the positive square root to find that a is 6/5 and b is 1/3. Knowing that for every ellipse c2 = a2 - b2, we find that the value for 1 c2 = 299/225, meaning that c, the distance to the focus, is 15 β299. Because the foci are located on the long axis of the ellipse, the vertical axis in this case, they will be found at 1 1 (1, -4 + 15 β299) and (1, -4 - 15 β299). 147 Here is Geogebraβs interpretation of 324(x β 1)2 + 25(y + 4)2 = 36: Eccentricity of an Ellipse The distance to the focus, c, and half the length of the longest axis, a, can be used together to describe how flattened and stretched an ellipse is compared to a circle. We define the eccentricity of an ellipse as c/a. If we push the ellipse back into a circle, both foci come together to become the center of the circle, and the distance c is zero. When we stretch the ellipse out really far, the focus moves out farther and farther and starts coming quite close to the edge, although it never actually gets there (the ellipse would turn into a line segment if it did). Therefore, the eccentricity e is between zero and 1: 0 β€ e < 1. Deriving the Equation of an Ellipse (Optional) Those people who are naturally skeptical may wonder if the ellipse that we draw using two foci and a string is really the same kind of figure that we obtained by stretching a circle in one direction or another. Fortunately we can prove mathematically that this is indeed the case. 148 The following proof shows that for the ellipse (x/a)2 + (y/b)2 = 1, we can place two foci at distances βcβ from the origin, so that the sum of the distances from any point (x,y) on the ellipse to the foci is always the same, and adds up to 2a. Therefore, even though we used an equation to create the ellipse, it is still the same as if we had used two foci with a string and a pencil. Draw an ellipse with its major axis along the x-axis, and foci at (-c,0) and (c,0). Pick a random point (x,y) on the ellipse in Quadrant I (x and y are both positive). As we saw earlier, the sum of the distances between this point and the foci is 2a. Letβs call these distances d1 and d2, and use the Pythagorean Theorem to describe them. d12 = (x + c)2 + y2, and d22 = (c β x)2 + y2 Therefore, β(x + c)2 + y 2 + β(c β x)2 + y 2 = 2a You canβt just get rid of the square roots by squaring both sides, because (a + b) 2 = a2 + 2ab + b2. Rearrange the equation first, and then square: β(x + c)2 + y 2 = 2a - β(c β x)2 + y 2 (x + c)2 + y 2 = 4a2 β 4aβ(c β x)2 + y 2 + (c β x)2 + y2 Next, move the square root term to the left and everything else to the right so you can square again: 4aβ(c β x)2 + y 2 = - (x + c)2 β y2 + 4a2 + (c β x)2 + y2 1 β(c β x)2 + y 2 = 4π (-x2 β 2cx β c2 β y2 + 4a2 + c2 β 2cx + x2 + y2) This simplifies to β(c β x)2 + y 2 = 1 4π (-4cx + 4a2), or c β(c β x)2 + y 2 = a - x a (c β x)2 + y2 = a2 β 2cx + c2 2 x a2 149 c2 β 2cx + x2 + y2 = a2 β 2cx + x2 - c2 2 x + y2 = a2 - c2 a2 c2 x2 (1 - a2 Since 1 x2 c2 2 x a2 a2 β c 2 a2 ) + y2 = a2 - c2 c2 a2 c2 a a a = 2 - 2, we can change that to 2 + y2 = a2 β c2 Dividing both sides by a2 β c2, we get y2 x2 + a2 a2 β c 2 =1 Now substitute: b2 = a2 β c2, which gives the standard equation for an ellipse: x2 y2 a b2 + 2 =1 The Area of an Ellipse (Optional) To find the area of an ellipse we can compare it with a circle that has the same radius as the longest half-axis of the ellipse. x 2 y 2 a b An ellipse ( ) + ( ) = 1 has a major half-axis of length a and a minor half-axis of length b x 2 y 2 a a A circle x2 + y2 = a2 has a radius of length a. Rewrite that as ( ) + ( ) = 1. x 2 y 2 x 2 y 2 y b a a a b a a To change the circle ( ) + ( ) = 1 into the ellipse ( ) + ( ) = 1, we can divide by : y a ÷ b a = y a x a b = y b 150 As we saw earlier, taking the basic equation of a circle (x2 + y2 = 1) and dividing y by something causes the y value of the graph to be multiplied by that number. If we divide y by 3, every y 1 value on the graph becomes three times larger. If we would divide y by , the circle would be 3 y b a a squished by a factor of 3. Now we are dividing the original value by . By definition b is b smaller than a, so the circle becomes squished by a factor of . In fact, in this squished circle a every y value is only b a times as large as the original y value. You should confirm this by solving x2 both the equation of the ellipse and the circle for y2, to get y2ellipse = b2(1 - a2 ) and y2circle = a2(1 x2 a2 ) so that ye yc = b a The Italian mathematician Bonaventura Cavalieri (1598 β 1647) reasoned that we can divide both the circle and the ellipse up into infinitely tiny strips running from the top to the bottom. For each tiny strip of the ellipse the area is b a times as large as the area of a tiny strip of the b circle. If there are infinitely many such strips then the total area of the ellipse is exactly times a the area of the circle. b The area of a circle with radius a is Οa2. a times Οa2 is Οab, which is the area of the ellipse. Summary (x β h)2 + (y - k)2 = r2 (xβh)2 a2 (xβh)2 b2 + + (yβk)2 b2 (yβk)2 a2 A circle with radius r and center at (h,k) = 1, a > b An ellipse with a horizontal major axis and center at (h,k). = 1, a > b An ellipse with a vertical major axis and center at (h,k) c: The distance from the center of the ellipse to the foci. c2 = a2 β b2. Οab: The area of an ellipse with a major half-axis of length a and a minor half-axis of length b. Vertices: (-a,0) and (a,0) or (0,a) and 0,-a) Covertices: (0,b) and ((0,-b) or (-b,0) and (b,0) 151 Hyperbolas Eventually someone wondered what would happen if you take the equation x2 + y2 = 1 and change it to x2 - y2 = 1. Without using a graphing calculator, we can make some predictions about the resulting shape. If you look at x2 + y2 = 1, you can see that both x and y have a fixed range. y = ± β1 β x 2 , and x2 is always a positive number. The smallest value for x2 is 0, so y canβt be smaller than -1 or bigger than 1. Also, you canβt pick a value for x that is larger than 1 or smaller than -1. If you did, there would be a negative number under the square root sign. Even if you didnβt know that the equation represented a circle, you could predict that your graphing calculator would produce a figure with a definite size from this equation. Now look at x2 - y2 = 1. You can solve for y to see that there are no restrictions on the range: y = ± βx 2 β 1. This says that y can have any value, but x must not be in the interval between -1 and 1 to avoid having a negative number under the square root sign. You could also solve for x to see the same thing: x = ±βy 2 + 1. You can plug in any value for y, but the smallest value for y2 is 0 which then creates the restriction on x. No x values larger than -1 and smaller than 1 are possible, but there are no other restrictions on x. This means that the shape defined by this formula does not have a definite size; it extends infinitely far along the x-axis in both the negative and the positive direction. For each value of x, the formula supplies two possible values for y [a positive and a negative value]. As x 2 gets larger, so does y2 Letβs graph this shape. Enter the equation x2 - y2 = 1 in Geogebra, or rewrite it as y = βx 2 β 1 and y = - βx 2 β 1 to use a graphing calculator. When you look at the resulting picture, you shouldnβt really be surprised that it looks nothing like a circle. This shape is called a hyperbola. It has two branches, each infinitely large. 152 We can manipulate the shape of a hyperbola just like we did with a circle. The space between the two curves corresponds to the values of x that cannot fit in the equation. Letβs try x 2 stretching that space out a little: ( ) β y2 = 1. Now x has to be smaller than or equal to -3 or 3 bigger than or equal to 3, as in this picture: 153 This has the unintended consequence of squishing the curves, because we are actually stretching them out in the x-direction. That is easily fixed by changing our formula to x 2 y 2 (3) β (3) = 1 as in the following picture: The next logical question is what happens to the shape defined by x2 - y2 = 1 if we reverse x and y. The equation for that would be y2 - x2 = 1. Now there are certain values that y cannot be, while there are no restrictions on x. In this case y cannot be between -1 and 1. Our picture looks like this: 154 For the hyperbola, the distance βaβ has been defined as the distance from the center between the two branches to the closest point of each branch (the total distance between the branches is 2a). As we have already seen, this distance is determined by the number we use to divide x by [or y if it is the first term]. I know it is hard to remember, but this means that you must use a in the first term and b in the second, regardless of which one is larger. The general equation of x 2 y 2 y 2 x 2 a b a b a hyperbola is ( ) β ( ) = 1 or ( ) β ( ) = 1, depending on whether the curves open to the sides or to the top and bottom. You can also write these equations as y2 a2 β x2 b2 x2 y2 a b2 β 2 = 1 and =1 The vertices of a hyperbola are just like the vertex of a parabola. They are the points of the curve that are closest to the center of the hyperbola. If you have not shifted your hyperbola the vertices will be found at (a,0) and (βa,0) for a side-opening hyperbola, and at (0,a) and (0,-a) for a hyperbola that opens to the top and bottom. Asymptotes of a Hyperbola Letβs consider what happens to the equation be written as y2 a2 = x2 b2 y2 a2 β x2 b2 = 1 as x gets very large. y2 a2 β x2 b2 = 1 can + 1. As x gets bigger and bigger, so does y. Eventually, the 1 on the right side of the equation starts to look very small next to the other numbers. 155 y2 x2 a y2 b2 becomes nearly equal to 2 = x2 . Taking both the positive and negative square roots of that on each side we get a2 b2 y x ± =± a , but it never quite gets there. If it did, then weβd have b a a b b or ± y = ± x. Because the hyperbola never reaches these values, the lines y = x a and y = - x are asymptotes of the hyperbola. b Using a similar argument for x2 a2 β y2 x2 b a2 , which can be written as 2 b b a a = y2 b2 + 1, we find that the asymptotes for this parabola are y = x and y = - x. To illustrate, letβs look at a βside openingβ hyperbola with the equation x2 4 3 3 2 2 β y2 9 =1 The purple lines are the asymptotes of the hyperbola: y = - x and y = x. We define the foci of a hyperbola to lie inside each curve on an extension of the line segment we called βaβ, at a distance c from the center, such that c2 = a2 + b2. This should work well for 156 you, since it looks just like the original Pythagorean Theorem. We then find that for each point on the hyperbola the distance from that point to the far focus minus the distance from the point to the closest focus is a constant. By selecting one of the points at the center of the hyperbola, like (a,0) we can see that this constant is 2a: The distance from the point (a,0) to the focus (-c,0) is c + a. The distance from (a,0) to the focus (c,0) is c β a. Subtracting, we get (c + a) β (c β a) = 2a. Shifting Hyperbolas Without modification, the equations x2 y2 a b2 β 2 = 1 and y2 a2 β x2 b2 = 1 will always produce hyperbolas centered at the origin. You can shift them just like other conic sections. (xβh)2 a2 β (yβk)2 b2 = 1 and (yβk)2 a2 β (xβh)2 b2 = 1 are centered at (h,k). The asymptotes are also easy to shift. Just subtract h from x and k from y: b a a b y β k = ± (x β h) and y β k = ± (x β h). Deriving the Equation of a Hyperbola (Optional) We can prove that that for each point on the hyperbola the distance from any point (x,y) to one focus minus the distance from that point to the other focus is a constant. For convenience, pick a point (x,y) on the hyperbola (x/a)2 β (y/b)2 = 1 so that x and y are both positive [a point in the upper part of the right branch of the hyperbola]. The distance between this point and the left focus (-c,0) is β(c + x)2 + y 2 . The distance from the point to the right focus is β(c β x)2 + y 2 ). Therefore, β(c + x)2 + y 2 - β(c β x)2 + y 2 is a constant, which is 2a. Since β(c + x)2 + y 2 - β(c β x)2 + y 2 = 2a, we write β(c + x)2 + y 2 = 2a + β(c β x)2 + y 2 to make it easier to square both sides: (c + x)2 + y2 = 4a2 + 4aβ(c β x)2 + y 2 + (c - x)2 + y2. This expands to: c2 + 2cx + x2 + y2 = 4a2 + 4aβ(c β x)2 + y 2 + c2 β 2cx + x2 + y2 Removing the redundant terms and rearranging to make it easier to square again, we get 4cx β 4a2 = 4a β(c β x)2 + y 2 or cx β a2 = aβ(c β x)2 + y 2 157 Squaring both sides gives: c2x2 - 2a2cx + a4 = a2(c2 β 2cx + x2 + y2) , so c2x2 - 2a2cx + a4 = a2c2 β 2a2cx + a2x2 + a2y2 or c2x2 + a4 = a2c2 + a2x2 + a2y2 We want to get rid of c, since this is not part of the equation for the hyperbola. Substituting c2 = a2 + b2 leads us to conclude that: a2x2 + b2x2 + a4 = a4 + a2b2 + a2x2 + a2y2 , so b2x2 = a2b2 + a2y2 or b2x2 - a2y2 = a2b2 Now all we have to do is divide by a2b2 to get the equation of the original hyperbola (x/a)2 β (y/b)2 = 1. Reciprocal Functions 1 Surprisingly, the equation y = also describes a hyperbola. If you rewrite this equation as x yx = 1, you can see that as x gets bigger y gets smaller, and vice versa. There is a point where x and y are equal. At this point the hyperbola makes its closest approach to the origin and both x and y are equal to +β1, or -β1. Using this equation, it is not possible to get the curve to approach the origin more closely than a distance of β2. If you change the equation to y = 3/x, the shortest possible distance between the curve and the origin is β6, since both x and y are + or -β3 here. For this type of hyperbola, defined by y = n/x, the distance βaβ is equal to β2n. The asymptotes are the lines y = 0 and x = 0, since either y or x can be very very small but never reach 0. These lines are the x-axis and the y-axis respectively. 158 Summary For hyperbolas, put a first and b second, regardless of which one is larger, because a represents the space between the vertices. x2 y2 a b2 β 2 y2 a2 β x2 b2 b b a a = 1 A side-opening hyperbola. Asymptotes: y = x and y = - x a a b b = 1 A hyperbola that opens to the top and bottom. Asymptotes: y = x and y = - x 2a: The distance between the vertices (length of the transverse axis). 2b: The distance from the vertex to the asymptote (length of the conjugate axis). c: The distance from the center between the curves to the foci. c2 = a2 + b2. (xβh)2 a2 β (yβk)2 b2 = 1 and (yβk)2 a2 β (xβh)2 b2 = 1 are centered at (h,k). The asymptotes are easy to shift. Just subtract h from x and k from y: b a a b y β k = ± (x β h) and y β k = ± (x β h). 159 Sequences and Series Arithmetic Sequences There are two types of sequences that you will encounter most often. The first is the arithmetic sequence which progresses by adding the same constant amount to each previous term. An arithmetic sequence looks like this: 3, 5, 7, 9, 11, β¦. If you look carefully, you can see that the next number in this sequence should be 13, because the numbers are increasing by 2. The general form of an arithmetic sequence is: a1, a1 + d, a1 + 2d, a1 + 3d, β¦.. Here a1 (sometimes called a0 by those people who like to start at the very beginning) is just an arbitrary starting number. d is the common difference, the constant amount that is added each time. The common difference d is easily found by taking one of the terms and subtracting the previous term. d may be negative, in which case the numbers keep getting smaller. To find the next term in a sequence, take the last available term and add d. Keep doing that. In computer science, you would do this by creating a loop in your program that the computer keeps following over and over until some specified condition is met. This is called recursion. The recursive formula for finding each successive term just says in algebra what we just said in words: take the previous term (an β 1) and add d. an = an β 1 + d If you also know the first term, a1, you can generate the sequence from the recursive formula. Because arithmetic sequences are so regular, we can relatively easily predict what the n th term will be, even if we donβt know the term just before that. For example, if we want the 2nd term in the series 3, 5, 7, 9, 11, β¦ we would start with 3 and then add 2, the common difference. For the 3rd term we can start with 3 and add 2 two times to get 7. For the 4th term, start with 3 and add 2 three times to get 9. a1 = 3 160 a2 = 3 + 2 a3 = 3 + 2 β 2 a4 = 3 + 2 β 3 a5 = 3 + 2 β 4 Notice that each time the common difference is multiplied by a number that is 1 less than the number of the term. In general we can find an, the nth term of an arithmetic sequence or series by using the explicit formula: an = a1 + (n β 1)d Make your own simple sequence, and see if you can find the 5 th term by using the formula. Notice that the formula contains 3 main variables. Can you find the common difference if you know the first term and the fifth? Can you find the first term given the common difference and the fifth term? Example The following is an arithmetic sequence. Find the missing terms. β¦, 5, β¦, β¦., 3.5, β¦., At first you may wonder how you could find the missing terms with so little information. However, if you stop and think about it you should realize that to get from the number 5 to the number 3.5, the common difference d has been added three times. The common difference must be negative because the numbers are getting smaller. Since the total difference between these numbers is -1.5, the common difference must be -1.5 divided by 3, or -0.5. The sequence is: 5.5, 5, 4.5, 4, 3.5, 3,β¦. For an arithmetic sequence, an unknown term that is exactly halfway between two terms can be found by taking the average (arithmetic mean) of the two known terms. Try it out and see if you can understand why that is so. Geometric Sequences The second type of sequence that we need to consider is called geometric. This ordered progression is created by multiplying repeatedly by the same number. We start with an 161 arbitrary number a1, and then multiply each successive term by a number that will be the common ratio, r. The sequence looks like this: a1, a1r, a1r2, a1r3, β¦. An example would be: 5, 10, 20, 40, β¦. Here a1 is 5. The common ratio is easily found by taking a random term and dividing it by the previous term. We see that r is 2 in this geometric sequence. To find the next term, take the previous term, 40, and multiply it by 2 to get 80. Keep going. The recursive formula for a geometric sequence is: an = an-1 r The common ratio r in a geometric sequence is often a fraction, which causes the numbers to keep getting smaller. It can also be a negative number, which causes the numbers in the sequence to alternate between positive and negative. The 4th term in the sequence 5, 10, 20, 40 is a1r3, or 5 times 23, which is 40. To find the nth term of a geometric sequence without knowing the previous term, the logical formula would be: an = a1rn-1 Again, check that you can find the fifth term of a simple geometric series that you make up. Example 1 Find the missing terms of the geometric sequence: 1 ..., 1, β¦, β¦, 8. We can solve this if we can figure out the common ratio. Notice that 1 is not the first term in the sequence, but we know that each term is created by multiplying the previous term by r, the 1 1 1 common ratio. Therefore, 8 = 1 β r β r β r. This means that r3 = 8, so r is the cube root of 8. 3 1 3 β1 1 1 1 1 8 β8 2 2 4 8 β = 3 = . The sequence is 2, 1, , , . For any geometric sequence you can find an unknown term that is exactly between two known terms by taking the geometric mean of the two known terms. The geometric mean is a special kind of average. If you take any two numbers a and b and use them as the sides of a rectangle, the rectangle will have area ab. Now consider a square with that same area ab. The sides of the square will have length βab, which is the geometric mean of the two numbers a and b. For example, the geometric mean of 1 and 9 is β1 β 9 = 3. 162 Why does this work for a geometric sequence? Well, letβs find the fifth term in the sequence 3, 15, 45, 135, 405, 1215, 3645. Weβll pretend that we know only the third term, 45, and the seventh term, 3645. β45 β 3645 = 405. That isnβt magic, as you can see by looking at the structure of the terms. The third term is a1r2, and the 7th term is a1r6. When you take the geometric mean of these two terms, you get βa1 r 2 β a1 r 6 = β(a1 )2 r 8 = a1r4, the fifth term. Example 2 The 5th term of a geometric sequence is 324, and the 7th term is 2916. What is the first term? We can find r by saying that a7 is just a5 β r β r. That means that 2916 = 324r2. r2 = 2916 324 =9 r = 3. Substitute that into the explicit formula an = a1rn-1, along with one of the terms that we already know (a5 or a7): a5 = a1r5-1 324 = a1 β 34 This will tell you that a1 = 4. Check your answer by substituting the values for a1 and r into the other possible equation, 2916 = a1r7-1. Arithmetic Series An arithmetic series looks like an arithmetic sequence with plus signs between the terms: 3 + 5 + 7 + 9 + 11 + β¦ Because series have + signs they can be added up. Once you start learning about series, you will probably come across the summation sign Ξ£. This is the Greek letter S. It is really just a fancy S, and there is no reason to feel intimidated by it. This symbol allows you to quickly write a series without having to make all of those little + signs. The notation uses n for βa variable numberβ. The starting value for n appears underneath the Ξ£ sign, and the ending value is written above it. [Annoyingly, my text editor shows the starting and ending values for n next to the sign.] 163 β10 1 n simply means that the starting value of n is 1, the ending value is 10, and all those nβs need to be added up. β10 1 n = 1 + 2+ 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10. To write the series 3 + 5 + 7 + 9 + 11 + β¦. we have to get a little fancier. Using the formula an = a1 + (n-1)d, or just some common sense, we write β10 1 3 + 2(n β 1). Look at this notation carefully and translate it bit by bit. When n=1 we get 3, when n=2 we get 5, and so on. Of course mathematicians canβt just leave things alone; they have to simplify β10 1 3 + 2(n β 1) to 10 10 β1 3 + 2n β 2 which is the same as β1 2n + 1. Again translate it: when n=1 we get 3, etc. just like we did before. Infinite series often have an infinite sum, so you will be asked to find partial sums instead. A common question would be to find the sum of the first 20 terms of the series 3 + 5 + 7 + 9 + 11 + β¦. (The sum of the first 20 terms is usually indicated by writing S20). That would be a lot of work, so you might want to figure out a general way of doing this for any arithmetic series. Fortunately it is surprisingly easy. The method for adding up an arithmetic series was discovered by a young student who was told to add up the first 100 counting numbers. He could have done that the hard way, but he was smart and realized that these numbers come in pairs. The first number plus the last number add to 101. The second number, 2, and the second-last number, 99, also add to 101. This holds all the way, so that the two middle numbers, 50 and 51 again add up to 101. All we really have to do is say that there are 50 pairs of numbers, each with a sum of 101. The sum is 5050. That sure beats adding all those numbers one by one! The formula for this trick would be n 2 (1 + n). Try it out; it actually works whether n is even or odd. The sum of the first 11 counting numbers is 5.5 times 12 = 66. Now what would happen with numbers that are not consecutive, but still have regular spacing between them like in our arithmetic series? Letβs add up the first 6 terms of 3 + 5 + 7 + 9 + 11 + β¦. The 6th term of this series is 13. Again we can add these numbers in pairs, so we get 3 + 13, and 5 + 11, and 7 + 9. Because there are six numbers there are 3 pairs, and the sum is 3 times 16, or 6 2 (3 + 13). This shows us that the general formula for the sum of the first n terms of a series should be: Sn = n 2 (a1 + an ) Here an is the last one of the terms that you want to add. You should try that out with some examples so you can see that this formula always gives the correct answer for the sum. 164 To get back to our original question, we can now find the sum of the first 20 terms quite easily. Using our formula, we get S20 = n (a1 + an ) or 2 20 2 (3 + a20 ). The 20th term, a20, can be found from our previous formula an = a1 + (n-1)d. The 20th term is the first term, 3, plus 19 times the common difference of 2. That makes this term 41, and the sum will be 10(3 + 41) = 440. Geometric Series 5 + 10 + 20 + 40 + β¦ This is a geometric series. The general form of a geometric series is a + ar + ar2 + ar3 + ar4 + .... We have a natural tendency to order numbers from smallest to largest, so many geometric series that we might want to write would have an infinitely large sum. However, if the absolute value of the common ratio r is less than one, the terms of the series keep getting smaller and smaller, and the series actually has a definite sum. It may seem strange that you can add infinitely many numbers and get a definite answer, but it can really be done. You may wonder how mathematicians were able to accomplish this amazing feat. The trick involves finding a formula for the sum of the first n terms of a geometric series, and then getting rid of most of those terms through a simple subtraction. Watch closely, because it is a lot like magic: First we say that the sum of the first n terms, Sn, is: Sn = a1 + a1r + a1r2 + a1r3 + β¦β¦β¦β¦β¦. + a1rn-1 Then we multiply both sides by r, to get: r Sn = a1r + a1r2 + a1r3 + β¦β¦β¦β¦β¦. + a1rn Now we can subtract: Sn - r Sn = a1 β a1rn Because we are interested in the general sum Sn, we rewrite this as: Sn(1 β r) = a1 β a1rn, so Sn = ππ (πβπ« π§ ) πβπ« Example A finite geometric series with a common ratio of 3 has a sum of 728. The first term is 2. How many terms are there? If you look at the sum formula, you see that we know all of the variables except for n. 165 Sn = 728 = 728 = a1 (1βrn ) 1βr 2(1β3n ) 1β3 2(1β3n ) β2 728 = - (1 β 3n) 728 = -1 + 3n This tells us that 3n = 729. Because n is an exponent, we need something that will get it down for us. A log function will do that: n log 3 = log 729. The natural log function can also be used: n ln 3 = ln 729. Either way, your calculator will tell you that n = 6. There are 6 terms in the series. The formula Sn = a1 (1βrn ) 1βr works if you are adding up the first 6, or 10 or 100 terms of a series, but it is more interesting to see what happens when you are adding up infinitely many terms. In fact, things involving infinity are often rather interesting. As n gets larger and larger, so will rn if the absolute value of r is bigger than 1. In that case the sum of the series is infinite. However, if βrβ is smaller than 1, rn gets smaller and smaller as n gets larger. For example, if r = ½, then r2 = 0.25, r3 = 0.125, and r10 = 0.000975625. You can see where that is heading. We say that the limit of rn as n goes to infinity is zero. A limit is often defined as a value that we can get really, really close to, but never quite reach. Somewhere in the process of us adding up infinitely many terms, the r n part of the formula magically disappears, and we are left with Sn = π πβπ« . To see that this is correct, simply divide a by (1 β r) using long division. The result is a + ar + ar2 + ar3 + .... This formula makes mathematicians very happy, because we can now find the sum of the series. The subject of infinite series is very closely related to one of Zenoβs paradoxes. Zeno was a philosopher who lived in ancient Greece. He was interested in the question of infinite divisibility. He developed several paradoxes that help people think about this fascinating question. To see one of these paradoxes, pick a clear space in your home with a wall at the end of it. We will use a straight hallway as an example. Start at one end, and walk halfway to the other end. Estimate the halfway point between where you are and the end of the hallway, and 1 1 walk there. You have now walked a distance of 2 the hallway + 4 of the hallway. The remaining 166 1 1 distance is 4 of the hallway. Again go half of this distance, so that there is only 8 left. Keep repeating this procedure. Although you approach the end of the hallway very quickly, you can never actually get to the wall, since there is always some infinitely small distance left. Does that infinitely small distance ever become zero? If so when does that happen? If you walk down the hallway in such a weird way, you imagine an infinitely small distance between where you are and the end wall. If you were actually successful in creating this infinitely small distance, everything else would become infinitely large by comparison. Now your hallway is infinitely long, so you can never get to the end of it! The total distance from one end of the hallway to the other can be represented by the sum of the infinite series 1 2 1 1 1 1 1 + 4 + 8 + 16 + 32 + 64 + ... This is a geometric series with a first term of 1 2 and 1 a common ratio of . Use the formula for the sum of an infinite series to reassure yourself that 2 you still have 1 hallway [more or less... ]. The formula for the sum of an infinite series can be used for a commonly encountered type of geometric series, which is the repeating decimal. A number like 0.999999999β¦. is really a series that can be written as 9 + 10 9 + 100 9 + 1000 9 10000 + β¦. Notice that the first term, a is 9 , and the common ratio is 10 1 1 . Because β10βis less than 1, we 10 can use the formula above to find the sum, even though the series if infinite. The limit of the a sum Sn as n becomes infinite is Sn = 1βr = 9/10 1β 1 10 = 1. This does not actually prove that 0.9999999β¦. is equal to 1; it merely says that the limit is 1. Using this technique, we can easily convert a number with repeating decimals to a fraction. Try it out for yourself with 0.3333333β¦. [The alternative, simpler method is to say that S = 0.3333333β¦., so 10S = 3.333333β¦. Then 10S β S = 3.333333β¦ - 0. 0.3333333β¦, or 9S = 3, so S = 1/3. This is a good shortcut, but it doesnβt really include a convincing argument that it is a valid method when there are infinitely many numbers after the decimal point.] Summary Arithmetic Sequences and Series Recursive formula: an = an-1 + d The nth term: an = a1 + (n β 1)d 167 The sum of the first n terms: Sn = π§ π (ππ + ππ§ ) Geometric Sequences and Series Recursive formula: an = an-1 r The nth term: an = a1rn-1 The sum of the first n terms: Sn = π(πβπ« π§ ) πβπ« The sum of an infinite geometric series with βrβ< 1: Sn = π πβπ« 168 Systems of Equations If you have an equation with two unknowns, there is no way to get a specific numerical answer for one of the unknowns. However, if you have two equations containing the same two unknowns, you can usually find the values of both the unknowns. We can solve a system of equations by substitution, or by adding (or subtracting) the two equations - see Algebra 1 topics. If you are given three equations containing three unknowns, you can still use the same strategies. [Graphically the solution represents the intersection of three planes, since we can draw a plane using an equation like z = x + 2y + 3. These problems have been carefully selected for you so that the intersection is always a single point.] Use two of the equations to eliminate one of the unknowns. Addition is usually the most efficient method here. Then use another combination of two equations and again eliminate the same unknown. This should give you two different statements containing two unknowns, which can now be solved. If the unknowns are x, y and z, it is usually expected that you will eliminate x to get two equations containing y and z. Then you will use these two equations to obtain a value for z. The remaining variables are found by substituting the known values into the equations. 1) 2x + y + 3z = 1 2) 4x + 3y + 5z = 1 3) 6x + 5y + 5z = -3 Eliminate x from equations 1 and 2 by multiplying equation 1 by -2, and using addition. Be very careful to multiply the entire equation by -2: -4x β 2y β 6z = -2 4x + 3y + 5z = 1 y - z = -1 Eliminate x from equations 2) and 3) by multiplying the second equation by 3 and the third equation 3 by -2: 12x + 9y + 15z = 3 -12x - 10y - 10z = 6 - y + 5z = 9 Now solve the two equations with two unknowns: 169 y β z = -1 -y + 5z = 9 4z = 8 z=2 Substitution then gives y = 1 and x = -3. Always check your answers! To create your own problems, simply pick some (small) values for x, y and z, and create three equations. See if you can get your original numbers back when you solve the problem. A graphing calculator or computer can solve systems of equations and help you figure out where you made those pesky little mistakes. Here is an online one: http://easycalculation.com/matrix/matrix-algebra.php. To use your TI-84 calculator press 2nd -> matrix-> edit, and enter 3x4 as the size of the matrix. Enter only the coefficients of x, y and z, and the number after the equals sign. For the problem 2 1 3 1 above, the matrix would look like this: [4 3 5 1 ]. Press 2nd β> quit to leave the screen. 6 5 5 β3 Return to the matrix menu and select MATH. The option you want is rrref( , which is so far down that it is faster to scroll up. Now you have to enter the matrix you edited (usually matrix A), so press 2nd -> Matrix and select the proper matrix. When you press enter the solution appears in the following form: 1 0 0 β3 [0 1 0 1 ]. 0 0 1 2 This says that 1x + 0 y + 0z = -3 0x + 1y + 0z = 1 0x + 0y + 1z = 2. Systems of equations can also be solved if one or more of the equations are not linear. For example, we could solve y = x2 y=x 170 The solution would represent the point(s) where the curve and the line intersect. Because we are dealing with a curve and a line there are often two solution points. You can solve this system of equations by simple substitution: if y = x 2 and y = x, then x = x2. Be careful when solving this, since you may be tempted to divide both sides of the equation by x. Before you do that, consider if x could be 0! In this case that will give you one solution. For the other one you may divide by x to get 1 = x2. If you use subtraction you will get x2 β x = 0. This might suggest to you that you can factor: x(x β 1) = 0, so either x = 0 or x β 1 = 0. For x = 0, y = 0 and for x = 1,y = 1. The solutions are (0,0) and (1,1). A graph of both equations will show the intersect points. 171 Linear Programming Linear programming problems involve maximizing or minimizing some quantity that depends on more than one variable. While real-world problems of this type are often complex and best solved by a computer program, the ones in your course will be simple enough to solve by hand. The most common type of problem involves maximizing profit where this profit depends on two variables. Usually both x and y must be greater than or equal to zero, and there are various other constraints that limit the values of the variables in some way. To help us understand what it really going on here, we will look at a simple problem. Joeβs little factory produces white and neon-yellow ping pong balls. The maximum number of white balls that can be made is 8,000 (0 β€ x β€ 8,000), and the largest number of yellow balls that can be produced is 4,000 (0 β€ y β€ 4,000). Joeβs father is very wealthy and owns a chain of sports supply stores. Each month Joeβs father buys all of Joeβs ping pong balls and pays him whatever it costs to make them, plus $5,000. Find the maximum profit. In this odd but very simple arrangement the profit P is always 5,000, and this is represented by the equation P = 5,000 Because we are working with 3 variables in these problems, we need a 3-dimensional graph to really represent them properly. We use a z-axis that is perpendicular to the x-y plane, and graph P on the z-axis. Since P is always 5,000 in this problem, the graph is a level plane that sits at a distance of 5,000 above the x-y plane. This graph was created with MathGV, using the p, x and y values in thousands. The plane representing P appears at a distance of +5,000 along the z-axis. The boundaries of the plane are x = 0, x = 8,000, y = 0 and y = 4,000. 172 For this particular problem there is no minimum or maximum value for P. The plane is level and P is the same everywhere. One day Joe and his father have a fight, and Joe decides to sell his ping pong balls to a rival store instead. After looking at the numbers, Joe realizes that he can make a profit of 30 cents on the white ping pong balls, and 25 cents on the yellow ones. The equation that represents the total profit is now P = .30x + .25y. Find the values for x and y that will give the maximum profit, assuming that 0 β€ x β€ 8,000 and 0 β€ y β€ 4,000. The profit P can still be represented by a plane because this is a linear equation in x and y, but the plane is tilted. Again the boundaries of the plane are x = 0, x = 8,000, y = 0 and y = 4,000. The minimum value of P is at the lowest corner of the plane, which corresponds to x = 0 and y = 0. That really makes sense, since the lowest profit will occur when no ping pong balls are produced. The largest value of P is at the top corner of the plane, which corresponds to x = 8,000 and y = 4,000 on the graph. This means that x should be 8,000 and y should be 4,000 for maximum profit. That makes sense too since producing the maximum number of ping pong balls would make the most profit for Joe. Gab yourself a plane so you can try this out. The top of a box is most convenient. No matter how you tilt the plane, if there is a single highest point it is always at one of the corners. The corners of the plane are easy to find mathematically, since they are located where the boundary lines intersect. In our simple case, the top corner of the plane is sitting above the intersection of the lines x = 8,000 and y = 4,000. Plug these values into the equation for P to get 3400. In general, this works for non-rectangular planes too. All we need to do is find the boundary lines and see where they intersect, so we can find all the corners of the plane above them. Then we have to test out the different values of P at those points to see where P is the greatest. 173 Matrices Matrices were already used by the Chinese sometime before the year 200. They were developed to solve systems of linear equations. You are already familiar with simple systems like 5x + 3y = 11 x + 4y = 9 When you have more complicated systems of linear equations, they can be solved more efficiently using matrices. Computer programmers find matrices handy to store and manipulate data. Another use for matrices is to create secret codes that are just about impossible to break. Matrices are described by the number of rows and columns they have. The matrix 2 0 5 [ ] has two rows and three columns, so it is a 2 x 3 (read as 2 by 3) matrix. In general, β3 1 7 an m x n matrix has m rows and n columns. If two matrices have the same dimensions, you can add or subtract them by adding or subtracting their entries. Solving Systems of Linear Equations with Matrices Letβs see how we can use matrices to solve the simple system of equations mentioned above: 5x + 3y = 11 x + 4y = 9 The matrix associated with this system is called a coefficient matrix because it is made up of 5 3 the coefficients of the variables. The coefficient matrix is [ ]. The entire system can be 1 4 5 3 11 put into an augmented matrix, like this: [ | ] 1 4 9 Matrices may be manipulated to solve a system of equations. Valid manipulations are 1. Exchanging two rows 2. Multiplying a row by a constant 3. Changing a row by adding or subtracting a multiple of another row 174 You can perform any of these manipulations in any order until you get the desired result. For example, for the matrix [ 1 4 9 5 3 11 | ], we can exchange the two rows to get [ | ]. 5 3 11 1 4 9 Then we can change the bottom row by subtracting 5 times the top row from it. That gives us 1 4 9 [ | ]. Notice that the top row remains unchanged. 0 β17 β34 Now divide the bottom row by -17, to get [ 1 4 9 | ]. 0 1 2 When you change this augmented matrix back into a system of equations, you can find the solution: x + 4y = 9 0x + 1y = 2 Because y = 2, x must be equal to 1. Performing manipulations in a different order will give this same result β try it out. The Reduced Row Echelon Form allows you to read the solution to a system of equations directly from the resulting matrix. You can ask your graphing calculator to get it for you (rref in the βMATRIXβ section under βMATHβ), or find it by hand. To see how to do it manually we will look at an example: 2x + 3y = 13 x + 2y = 8 Ignore the variables, and enter the numbers into an augmented matrix: [ 2 3 13 | ] 1 2 8 The line always takes the place of the equals sign. (Your graphing calculator will not need a line to solve the system, so you would just enter the data into a 2 x 3 matrix.) We want to start by subtracting two times the second row from the first to get [ 0 β1 β3 | ] 1 2 8 Then we reverse the rows: [ 1 2 8 | ] 0 β1 β3 175 Next we would like to have a zero as the second entry in the first row, so we add two times the second row to the first: [ 1 0 2 | ] 0 β1 β3 Multiply the second row by -1 to get a positive leading entry: [ 1 0 2 | ] 0 1 3 Now convert this augmented matrix back to a system of equations to quickly see the solution: 1x + 0y = 2 0x + 1y = 3 Matrix Multiplication You can multiply a matrix by a constant, just by multiplying each entry in the matrix by the constant. To multiply two matrices, you multiply the rows of the first matrix by the columns of the second matrix. That seems rather arbitrary and confusing, but we can look at some history to see the reason for it. Back in the 19th century the mathematician Arthur Cayley was interested in changing points (x, y) to new points (xβ,yβ) in an orderly way. These changes are called transformations, and they work like this: xβ = ax yβ = dy This uses information from the original x coordinate to transform it to a new x coordinate, and information from the original y coordinate to transform it to a new y coordinate. a and d represent constants that accomplish the desired transformation. We can also use information from both the original x and y coordinate to determine the new x coordinate, and do the same for the new y coordinate: xβ = ax + by yβ = cx + dy 176 Here a, b, c and d are constants that accomplish this slightly more complicated transformation. Cayley used matrices as a shorthand notation for these transformations (you can imagine that he would get tired of writing the whole thing out completely each time). He just used the a b matrix [ ] to describe the transformation. Now we have a systematic way to transform c d x points (x, y) or vectors [y] into other points or vectors in a predictable and often useful way. Letβs look closely at some specific examples. Set up a coordinate system and draw an arrow from the point (0,0) to the point (3,4). By the Pythagorean Theorem, the length of this arrow will be 5 units. Next, we will reflect the arrow over a line. Here the line is looked at as a mirror, and each new point is the mirror image of the original point. If you reflect over the line y = x, what happens is that each x-coordinate turns into a y-coordinate and vice versa. Try it out. Our original arrow from (0,0) to (3,4) changes to an arrow from (0,0) to (4,3). We can write that as: xβ = 0x + 1y yβ = 1x + 0y The new x-coordinate is the old y-coordinate, and vice versa. We could write the 0 1 transformation we just did as [ ]. 1 0 Now letβs take the original arrow and rotate it clockwise by 90 degrees. The tip of the arrow is at (3,4), and after a 90 degree rotation the tip is at (4,-3), while the origin remains at (0,0). Notice that the original y coordinate of the tip has become the x coordinate, and the x coordinate has been multiplied by -1 and becomes the y coordinate. This transformation looks like this: xβ = 0x + 1y yβ = -1x + 0y The point (0,0) is unchanged, and (3,4) is transformed into (4,-3) If we apply this same transformation to our new arrow, it rotates another 90 degrees clockwise: xβ = 0xβ + 1yβ yβ = -1xβ + 0yβ Substituting for xβ and yβ, we could write this as one single transformation: xβ = 0(0x + 1y) + 1(-1x + 0y) yβ = -1(0x + 1y) + 0(-1x + 0y) which gives 177 xβ = 0x + 0y - 1x + 0y yβ = 0x - 1y + 0x + 0y so, xβ = -1x + 0y yβ = 0x β 1y This rotates our original arrow 180 degrees to put its tip at (-3,-4). Looking at the general case, two successive transformations can be written as xβ = ax + by yβ = cx + dy xββ = exβ + fyβ yβ = gxβ + hyβ where e, f, g, and h are the set of numbers that accomplish the second transformation. The e f shorthand for this second transformation would be [ ]. g h If we take these two transformations together, we see that xβ = e(ax + by) + f(cx + dy) yβ = g(ax + by) + h(cx + dy) (I just used copy and paste to substitute for xβ and yβ). Multiplying that out and rearranging to a new matrix form, we get: xβ = (ae + cf)x + (be + df)y yβ = (ag + ch)x + (bg + dh)y The product of the two transformations can be written as the new transformation matrix ae + cf be + df [ ] ag + ch bg + dh This leads us to the idea that we could multiply the two transformation matrices to get e f ae + cf be + df a b [ ]β[ ]= [ ] g h c d ag + ch bg + dh To get the first entry in the first column, multiply the first row by the first column. To get the second entry in the first column, multiply the second row by the first column. 178 To get the first entry in the next column, multiply the first row by the second column. To get the second entry in the next column, multiply the second row by the second column. Because of the way matrix multiplication is done it is not always possible to multiply two matrices. The number of columns in the first matrix must match the number of rows in the second matrix. Notice that the way this is set up is that when you multiply one matrix by a second, you put the second one in front. This is called pre-multiplying. Matrix multiplication is not commutative, which means that you donβt get the same result if you do it the other way around. Going back to our specific example of rotating an arrow, we can multiply the two matrices like this: [ 0 β 0 + 1 β β1 0β1+1β0 0 1 0 1 β1 0 ][ ]= [ ]=[ ] β1 β 0 + 0 β β1 β1 β 1 + 0 β 0 β1 0 β1 0 0 β1 This is the same transformation matrix we obtained above. Determinants The first point to note about determinants is that they only apply to square matrices. When there is a square coefficient matrix in a system of linear equations that system has the same number of statements as the number of unknowns. This is usually the ideal situation for getting a unique solution for the system. If there are fewer statements than unknowns the system will not have a unique solution. If there are more statements than unknowns the system is called overdetermined, and the additional statements may cause the system to be inconsistent so that there is no solution. Even if it is associated with a square matrix a system of linear equations may not have a unique solution. Consider the system 2x + 3y = 10 4x + 6y = 20 2 3 ], and if you try to solve it you get 4 6 0 = 0. For any x you select, there is a corresponding value of y that makes this system of equations true. The fact that there is no unique solution can be easily determined beforehand. It has a square coefficient matrix associated with it, [ 179 I have simply taken the first equation and multiplied it by 2 to get the second. This makes 2 and 3 nicely balanced with 4 and 6. In fact, 2 times 6 = 3 times 4, or 2 x 6 β 3 x 4 = 0. The numbers that come after the equals sign donβt really matter if we are just looking to see whether the system has a unique solution. If the 10 and the 20 balance in the same way as the left-hand parts of the equations, then the system has an infinite number of solutions. If they donβt balance in that way, there are no solutions at all. We can see if there is a unique solution or not 2 3 a b just by looking at the coefficient matrix [ ]. In general, for any matrix [ ], if 4 6 c d ad β bc = 0 then the corresponding system of equations does not have a unique solution. ad β bc is called the determinant of this 2 by 2 matrix. Actually, determinants make sense even in unexpected ways. If you look at a random matrix a a b b [ ] as being composed of two vectors, [ ] and [ ], the absolute value of the determinant c c d d turns out to be the area of the parallelogram defined by these two vectors. 180 a b This image shows two vectors [ ] and [ ]. The area of the parallelogram they define can be c d calculated. The total area of the large rectangle is (a + b)(c + d). From this we subtract the two small rectangles that have area bc, and also the four triangles. Two of the triangles have area ½ ac, and the other two have area ½ bd. The area of the parallelogram is (a + b)(c + d) β 2bc β ac β bd, which is ac + ad + bc + bd β 2bc β ac β bd = ad β bc. Then add an absolute value sign because area is always positive even when the vectors have negative components: |ad β bc|. If the determinant is zero, this area is zero because the vectors are parallel. Just draw the 3 2 vectors [ ]and [ ] from the example above so you can see what is happening. 6 4 a b ] will c d transform a figure (by moving its defining points) into a figure with an area given by the original area times the absolute value of the determinant of the matrix. Another interesting fact is that the linear transformation described by the matrix [ Even more amazing is that both of the above facts also apply to the determinants of 3 x 3 matrices if we consider volume rather than area. The determinant of an n x n matrix that is even larger represents the volume of a figure in n-dimensional space. ______________________________________________________________________________ The determinants of larger matrices are more difficult to find, but fortunately we have calculators that can do that for us. If you donβt have a graphing calculator handy you can still find the determinant manually. 2 0 4 Find the determinant of [3 1 2]. 5 4 6 The determinant of a matrix is usually indicated by placing lines on either side of the numbers, 2 0 4 like this: |3 1 2|. 5 4 6 First, select a row or column of your square matrix, preferably one with one or more zeros in it. Usually people select the first row or column so they donβt get mixed up, and for this example I will use the first row. Next, look at the first entry in your row, which is 2 in this case. This entry has the general form a11, where the subscripts mean the first row and the first column. Add these subscripts and note that the result is an even number. Next, cross out all of the entries 1 2 in both the row and the column that this entry belongs in. That leaves you with . The 4 6 1 2 determinant of this smaller matrix is called the minor of 2. Multiply 2 by its minor, | |. 4 6 181 The next entry in the row is 0, which is a12, indicating that it is in the first row and the second column. When you add these two subscripts you get an odd number, so we will subtract the product of this entry and its remaining determinant. After crossing out, we look for the 3 2 determinant of . So far our calculation reads: 5 6 1 2β| 4 2 3 |β0β| 6 5 2 | β¦. 6 The last entry in the row is 4, which is entry a13. Adding its subscripts gives an even number so 3 1 we add the product of this entry and its remaining determinant | |, to get: 5 4 1 2 3 2 3 1 2β| |β0β| |+4β| | which is equal to 2 β -2 β 0 + 4 β 7 = 24. (Choosing the row 4 6 5 6 5 4 with the 0 allowed me to skip calculating one of the determinants). In general, we find the determinant of a square n x n matrix A as follows: Mij is the smaller matrix obtained by deleting the row and column containing entry aij (where a ij is the entry in the ith row and jth column). The cofactor of entry aij is Aij, which is equal to (-1)i+j β det(Mij). Choose a row or column and multiply each successive entry by its cofactor. If we choose row i, then det(A) = ai1Ai1 + ai2Ai2 + ai3Ai3 + β¦+ainAin If we choose column j, then det(A) = a1jA1j + a2jA2j + a3jA3j + β¦+anjAnj Note that we could use this procedure with any size square (n x n) matrix, but when a minor is larger than 2 x 2 we have to find its determinant by using its entries multiplied by their cofactors, etc, etc. until the minors are small enough. This can get very tedious. ______________________________________________________________________________ If a matrix has one row or column consisting of all zeros, its determinant must be zero. You can see this by using this row or column to calculate the determinant, or by thinking about this matrix as the coefficient matrix of a linear system that does not have a unique solution. For example, the system x + 3y + 4z = 12 3x β y β 2z = 9 will not have a unique solution. It has an associated square coefficient 1 3 4 matrix [3 β1 β2]with a determinant of 0. 0 0 0 182 Cramerβs Rule We have seen that a system of linear equations can be solved by manipulating rows of its augmented matrix. Some people, like me, find that when they do this they inevitably make at least one small mistake and their solution doesnβt work out. Gabriel Cramer lived in the 18th century, so he didnβt have a graphing calculator. He came up with a clever way to solve systems of linear equations by just using determinants. Cramerβs rule uses a simple method, which is appreciated by a lot of students who are not allowed to use calculators for their exams. It also turned out to be very useful for solving other problems in advanced mathematics. To use Cramerβs rule, first find the determinant of the coefficient matrix associated with the system. Cramerβs rule works only if your system has a unique solution (the determinant of the coefficient matrix is not 0). As an example, we will solve the system x + 2y + z = 5 2x + 2y + z = 6 x + 2y + 3z = 9 Although there are only three unknowns here, I want to emphasize that Cramerβs Rule works for larger systems too. (Because larger systems are much more tedious to solve with this method you will hopefully never see them in homework or on exams.) We will call the 1 2 1 coefficient matrix of the system βAβ. The determinant of A, |2 2 1|, works out to -4. 1 2 3 Now we will solve for each unknown in turn. To find the value of x, replace the first column of 5 the coefficient matrix by the column on the right side of the equals sign, [6], so you get 9 5 2 1 [6 2 1]. We will call this new matrix Ax because we replaced the coefficients of x. It is also 9 2 3 often called A1, because the variables used for larger systems are x1, x2, x3, x4, etc. instead of just x, y and z. Now find the determinant of this new matrix, which is also -4. To get x divide the determinant of the new matrix by the determinant of the original matrix: x= det(Ax ) det(A) = β4 β4 =1 183 5 To find the next unknown, y, we replace the coefficients of y by [6], to get the new matrix Ay, 9 1 5 1 det(Ay ) which looks like this: [2 6 1]. y = = -4. det(A) 1 9 3 The last unknown, z, is equal to det(Az ) det(A) , where Az is obtained by replacing the coefficients of z 5 1 2 5 β8 by [6]. The determinant of Az, |2 2 6| is -8. z = =2 β4 9 1 2 9 ______________________________________________________________________________ A Closer Look at Cramerβs Rule This explanation uses a principle that you may not be familiar with, so we will consider it separately. Imagine that you have a stack of ten square crackers. If you move each cracker very slightly to one side, you will have a slanted stack of crackers that is the same height as the original stack. It is relatively easy to imagine that the volume of each stack is the same, because the amount of food is unchanged. However, it may be more difficult to see that the area of the sides is also unchanged. Consider the following image: 184 The area of strip ABCD is the same as the area of strip BCEF. To see that this is true, you can visualize the colored area as being made up of triangle ABE and strip BCEF. However, you can also see it as a combination of strip ABCD and triangle DCF. Triangle ABE and triangle DCF are the same size, so the two strips must have the same area. Cramerβs Rule can be derived using the principles of matrix and linear algebra, but it can also be shown to be true geometrically. Here we will consider a geometric proof for the simple case of a linear system with two equations, but the geometry also works in three dimensions and even beyond. Here is a random system of two linear equations: 2x + 4y = 10 6x + 1y = 13.5 2 4 The determinant of the coefficient matrix involves two vectors, [ ] and [ ]. The system could 6 1 be considered as a linear combination of these two vectors: 2 6 4 1 x[ ] + y[ ] = [ 10 ]. 13.5 Here the vectors are multiplied by x and y, which are just numbers. 2 As we saw before, the absolute value of the determinant of the coefficient matrix, [ 6 2 4 area of the parallelogram determined by [ ] and [ ]: 6 1 4 ] is the 1 185 2 4 The area of the parallelogram determined by x[ ] and [ ] has to be x times larger since one of 6 1 the sides has been multiplied by x. (x is actually 2, and you can see for yourself that the area is in fact twice as big.) This area represents x β det (A). Now we need to draw the vector [ 2 6 10 ] , which is equal to 13.5 4 1 x[ ] + y[ ]. Adding two vectors is simple, because a vector is just a 2 x 1 matrix. Matrices are added by simply adding their entries. For example, If you add the vectors [ 3 2 ] and [ ], you 11 4 5 3 would get the vector [ ]. You could also think of this as the vector [ ] taking you 3 units to 11 15 2 the right and 11 units up. The vector [ ] would then take you two additional units to the right 4 186 and another 4 units up. The next image shows the vector [ 2 10 ], created by adding x[ ] and 6 13.5 4 1 y[ ]: You can see from this picture that it should be possible to find x and y geometrically, but it actually takes a clever trick to do it properly. 10 4 The matrix Ax is [ ], because we replaced the first column by the numbers found to the 13.5 1 right of the equals sign. The determinant pf Ax represents the area of the parallelogram 4 10 defined by [ ] and [ ]. This area is marked βdet(Ax)β in the image below. 1 13.5 187 Here you can see that x β det(A) = det(Ax). Therefore, x = show that y = det(Ay ) det(A) det(Ax ) det(A) , and a similar argument would . Identity Matrices x x If we think of the coordinates (x,y) as the vector [y] (or the 2 x 1 matrix [y]), then the new xβ² vector [ ] that results from a transformation would be obtained by multiplying the original yβ² 188 vector by the transformation matrix: x ax + by xβ² a b [ ]=[ ] β [y] = [ ] cx + dy yβ² c d Again, notice the order in which this multiplication occurs. x" If we follow the first transformation with a second one, the second vector [ ] is obtained by y" e f a b x multiplying [ ]β[ ] β [ ]. g h c d y Matrix multiplication is associative, so you can either multiply the first two matrices first, or the last two first. Either way you get (ae + cf)x + (be + df)y x" [ ]=[ ] y" (ag + ch)x + (bg + dh)y x 1 We can also multiply a vector [y] by the identity matrix, [ 0 x x 1x + 0y 1 0 original vector at all: [ ][ ]=[ ] = [y]. 0x + 1y 0 1 y 0 ]. This does not change the 1 In fact, any suitably sized matrix may be pre-multiplied, and also post-multiplied if possible, by an identity matrix, and it will not change. Matrices are usually represented by a capital letter, and the identity matrix is represented by the letter I. We can write that A β I = A, and I β A = A 1 0 0 Larger identity matrices also exist, like [0 1 0]. Here we are adding an additional 0 0 1 x dimension. We can pre-multiply the vector [y] by this larger identity matrix, and it will not z change. Identity matrices are always square, which means that they have the same number of rows as columns. Inverse Matrices Many square matrices have an βinverseβ, A-1, such that A-1A = I , and also AA-1 = I. Inverse matrices can be used to solve a system of equations. Suppose we have a system of 2 equations like this: 189 2x + 3y = 13 x + 2y = 8 We can represent this system by a matrix equation as follows: [ 13 2 3 x ] [ ]=[ ] 8 1 2 y If we were to pre-multiply both sides of the equation by the inverse of [ [ 1 0 x 2 ] [ ] = (π‘βπ πππ£πππ π ππ [ 0 1 y 1 2 3 ], we would get: 1 2 13 3 ]) [ ] 8 2 The system of equations then turns into 1x + 0y = β¦. 0x + 1y = β¦. and the values for x and y can simply be read directly from the equations. This gives us a relatively easy way to solve a system of equations. Note that not every matrix has an inverse. In particular, if your system of equations does not have a solution you can be sure that the associated matrix does not have an inverse. That makes sense, because if there was an inverse matrix we should be able to use it to get a solution. Matrices that do not have an inverse are called singular matrices. There is an interesting way to find the inverse of a matrix. Since we know that A-1A = I, we can write the matrix A next to the matrix I, and manipulate both of them at the same time until we manage to turn A into I. At that point, we know that we have multiplied A by A-1 through our manipulations, and we have done the same to I. Since A-1I = A-1 , the inverse matrix will automatically appear where I used to be. In our example, we would write: ο©2 3 1 0οΉ οͺ1 2 0 1οΊ ο« ο» Multiply the second row by 2 and subtract it from the first row: [ 0 β1 1 β2 | ] 1 2 0 1 Reverse the top and bottom rows: [ 1 2 0 1 | ] 0 β1 1 β2 190 Multiply the bottom row by 2 and add it to the top row: [ 1 0 2 β3 | ] 0 β1 1 β2 Multiply the bottom row by -1: [ 1 0 2 β3 | ] 0 1 β1 2 The inverse matrix we want is now on the right side of the separation line in the augmented matrix. Pre-multiply both sides of the equation by the inverse matrix: [ 2 β3 2 ][ β1 2 1 3 π₯ 2 β3 13 ] [π¦ ] = [ ][ ] 8 2 β1 2 On the right side multiplying the matrix by its inverse gives the identity matrix. The left side 26 β 24 2 2 β3 13 works out to: [ ] [ ]=[ ]= [ ]. β13 + 16 3 8 β1 2 The net result is [ 1 0 x 2 ] [ ]= [ ], which says that 0 1 y 3 1x + 0y = 2 0x + 1y = 3 Inverse matrices are easy to obtain using a graphing calculator, however these calculators will also solve a system of equations for you directly if you just put it into an augmented matrix and ask for the reduced-row-echelon form. When the determinant of a matrix is 0, it does not have an inverse. It is impossible to manipulate such a matrix to change it into an identity matrix. If a system has no unique solution it makes sense that the coefficient matrix should not have an inverse, otherwise we should be able to solve it by using that inverse. A system of linear equations does not have a unique solution if the determinant of its coefficient matrix is 0. If the determinant is not zero, and the numbers on the left side of the equation are all zero, then the only solution is a zero value for all the variables. As an example, letβs look at 191 2x β 4y = 0 3x + 2y = 0 The coefficient matrix of this system, which we will call A, does not have a zero determinant. That means that there is an inverse. As a result, you can solve the system using A-1 as follows: x x 0 0 1 0 x 0 A-1A[y] = A-1[ ], so I[y] = [ ] or [ ][ ] =[ ] 0 0 0 1 y 0 This says that 1x + 0y = 0 0x + 1y = 0 and you can see that x = 0, y = 0 is the only solution for this system. Being able to find the determinant lets you figure this out. ______________________________________________________________________________ As we saw previously, a system of equations can just be solved without using an inverse matrix. A more interesting application of inverse matrices is in encryption. The data you want to encrypt is placed into a matrix A, which is then pre-multiplied by some random matrix B. The result is a new matrix BA. The data are now hopelessly difficult to recover for someone who does not know what matrix was used for the multiplication. However, you provide the person you are sending the data to with the inverse of matrix B. Then they can pre-multiply the matrix they receive by B-1 and recover the original data. The calculation is B-1BA = IA = A. A very simple example would be encrypting the word βbaseβ by using a = 1, b = 2 etc. We can place 2 19 2 3 this into a matrix as [ ]. Pre-multiply that by the non-singular matrix [ ], to get 1 5 1 2 2 3 2 19 7 53 [ ][ ], which is [ ] . This is the encrypted matrix that you would send. Now 1 2 1 5 4 29 2 3 2 β3 pre-multiply the encrypted data by the inverse of [ ], which we saw earlier is [ ]: 1 2 β1 2 [ 2 β3 7 ][ β1 2 4 14 β 12 53 ]=[ β7 + 8 29 106 β 873 2 19 ]=[ ]. The word βbaseβ has been recovered. β53 + 58 1 5 (See http://aix1.uottawa.ca/~jkhoury/cryptography.htm). Solving Systems with an Infinite Number of Solutions Letβs go back to the system we considered in the last section: 192 2x + 3y = 10 4x + 6y = 20 Since the determinant of the associated matrix is 0, there is no unique solution. If we multiply the first row by 2 and subtract it from the second row, we get 2x + 3y = 10 0x + 0y = 0 If the square coefficient matrix of a system can be reduced to one that has a row of zeros, its determinant must be 0 since the system canβt have a unique solution. There are infinitely many solutions, but βInfinitely many solutionsβ does not seem like a good answer to the matrix people. After all, you canβt just put in any solution here, such as x = 2 and y = 10. There may be infinitely many solutions but they are still specific ones. Therefore you may be asked to specify what kind of solutions you are talking about. Pick an answer for x, preferably the standard one which is Ξ±, and express the other variables in terms of Ξ± if possible. If that is not possible, use Ξ² for the next variable that you cannot express in terms of Ξ±. Then use Ξ³ if necessary, and so on. In this particular case we should select Ξ± for x, and then solve for y: 2Ξ± + 3y = 10. y = (10 - 2Ξ±)/3 so y = -2/3 Ξ± + 10/3. We can write our answer as a set of points (Ξ±, -2/3Ξ± + 10/3), or as a vector Ξ± [β2/3 Ξ± + 10/3]. The previous system of linear equations can be written as a matrix times a vector that equals another vector, like this: [ 2 3 x 10 ] [ ]= [ ] 4 6 y 20 x x The unknown vector can be expressed as [y] or for larger systems, [y]. Vectors however are not z limited to three dimensions. We can multiply an appropriately sized matrix by an unknown x1 x2 vector x, expressed like this: x3 . Consider the following example: x4 [β¦] - x1 + x2 β x3 + 3x4 = 0 3x1 + x2 β x3 β x4 = 0 2x1 β x2 β 2x3 β x4 = 0 This is an underdetermined system, and the associated matrix is not square (it would be square if 193 we added a row of zeros, and in that case the determinant would be 0). We already know there is no unique solution. This system can be manipulated until it simplifies to: x1 β x4 = 0 x2 + x4 = 0 x3 β x4 = 0 To write the solution we set x1 = Ξ±. This leads us to the conclusion that x4 = Ξ±, x2 = -Ξ±, and x3 = Ξ±. We can express this solution as a vector: Ξ± [βΞ±] . Ξ± Ξ± 194 Trigonometry (Additional trigonometry resources: www.themathpage.com, and www.intmath.com ) If you play around with circles long enough you will eventually discover the idea of angles. First there is a whole circle. Then there is a half-circle, a quarter- circle, and so on. Angles are a way to divide up a circle into measured parts. Dividing a circle into 360 degrees was a really good idea. The number 360 is naturally very βdivisibleβ, giving nice whole number angle measurements for 1/3 of a circle, 1/4, 1/5, 1/6, 1/8, 1/9, 1/10, 1/12 and more. This is a nice simple way to understand angles, and this is how students first learn about them. The other way to measure out parts of a circle is to relate them to the radius of the circle. This reflects our deeper understanding of the relationship between the radius of a circle, its circumference, and angles. To really understand this yourself, you need to actually work with a circle. Get some paper, a compass, and some thin string. If you do not have a compass, trace a circular object like a plate. The diameter of your circle is the largest distance across the circle. Use a ruler to find that, and then mark the center of the circle in the middle of the diameter. Once you have drawn a large circle, use a string to measure out the radius. Mark your string and lay it around the circumference of the circle. This is an angle of one radian. Here one radius is shown in green, and the string along the circumference is colored in red. 195 The red string is the same length as the radius. Because you know that the circumference of a circle is 2Οr, you can imagine that we can put 2Ο copies of the red string around the edge of the circle. That is not a whole number. The circumference of the circle is 6 times the radius and a bit more. 6.283185β¦β¦ radii fit around the circle, so there are that many radians in a circle. We usually just say that there are 2Ο radians, and 2Ο radians are equivalent to 360 degrees. That of course means that 180 degrees = Ο radians. Convert like this: 1 radian times 180 degrees Ο radians is about 57.3 degrees. Look at the picture of a radian again: one radian is a little smaller than a 60 degree angle. In trigonometry you can work with either radians or degrees. Just make sure your calculator is set to the right mode!! Always check this if you get an unexpected answer from your calculator. The TI 84 has a MODE button; just press it and adjust between degrees and radians. After people had played around with angles for a long time, they started to wonder about chords. These are lines that you draw from one point on the circle to another. Here is a chord (marked in red) associated with a specific angle: How long is the chord? Well, that depends on the angle, but of course also on the size of the circle. So, if you want to explore the relationship between the angle and the chord you should pick a fixed size for your circle. A convenient size would be to give the circle a radius of 1. βOne what?β you might ask. Fortunately that doesnβt really matter. It could be 1 inch, 1 centimeter, or even 1 yard. We just say that the circle has a radius of 1 unit. Once we have decided on the 196 size, we can look at different angles and see how long their chords are. The first one is obvious: an angle of 0 degrees has a chord of length 0. The next one is rather simple too: an angle of 180 degrees has an associated chord of 2 times the radius, or 2 units in our case. The length of the chord associated with an angle of 60 degrees is not too difficult to find if you remember your geometry. Look at the picture below to see that the angle and the chord form a triangle. The triangle must be isosceles since two of the sides are radii of the same circle. That means that the angles that are not labeled in the picture must both be equal. Because we already have a 60 degree angle, these angles have to both be 60 degrees so that the angles of the triangle will add up to 180 degrees. If all the angles are equal the triangle must be equilateral (all sides are equal). The length of the chord is 1 unit: 197 Using the Pythagorean Theorem, you can quickly find the chord length for a 90 degree angle. Since the chord is the hypotenuse for the 90 degree triangle, we find c by using a 2 + b2 = c2 or 12 + 12 = c2: 198 Eventually people make things more efficient and more standardized. Notice that I drew all of these angles facing to the right, because that eventually became the standard. Also, instead of working with chords mathematicians started working with half-chords that eventually came to be called sines (apparently due to a mistake in translating the Arabic word for βhalf-chordβ). Correspondingly, mathematicians also considered only half the angle. This picture shows the half-chord, or the sine, of 45 degrees (Ο/4 radians): Looking at things this way allows us to introduce a second measurement; the cosine: 199 Here the solid red line shows the sine of 30 degrees, and the green line shows the cosine. The red line and the green line intersect at a right angle. We can still calculate the distances from the original chord picture using the dashed lines. The solid red line has a length of ½. Using the Pythagorean Theorem, we see that the sine 2 + the cosine 2 = 1, or (1/2)2 + cosine 2 = 1. This means that the cosine of a 30 degree angle is the square root of ¾, or β3/2. Because the radius of the unit circle is 1, the relationship between the sine and the cosine is always βsine 2 + cosine 2 = 1β. The sine and cosine depend on an angle, so we should write this important trigonometric identity as: sine2x + cosine2x = 1. This says that (the sine of angle x)2 + (the cosine of angle x)2 = 1. If you know the sine of any angle you can calculate the cosine, and vice versa. It didnβt take long for someone to take the triangle made up of the sine, the cosine and the radius, and lift it right out of the unit circle: 200 Notice that the angle at the bottom right corner of this triangle is a 90 degree angle, making this a right triangle. Knowing the sine and cosine of various angles is useful for finding the length of the sides of a right triangle (sometimes students will mistakenly apply the same techniques to other types of triangles, with predictably poor results). Of course not all right triangles have a hypotenuse of 1, so we may have to enlarge our picture a little: Now we have a triangle with a hypotenuse of 3. The sides have been correspondingly enlarged to be 3 times the sine of 30 degrees, and 3 times the cosine of 30 degrees. This leads us to the idea that in any right triangle, the sine and cosine can be found by dividing the sides by the length of the hypotenuse. The sine of 30 degrees is the side opposite the angle divided by the 201 hypotenuse, and the cosine is the side adjacent to the angle divided by the hypotenuse. Tables listing the value of the sine and cosine for different angles were created a very long time ago, and today we can get these values from a calculator. (Windows: All Programs -> Accessories-> Calculator -> View -> Scientific.) Sine and cosine are usually abbreviated as sin and cos. We have already calculated the sine and cosine of 30 degrees, so for this triangle we can say that the red side has a length of 3 β ½ = 1.5, and the green side has a length of 3 β β3/2, which is about 2.6. Another measurement that came from the unit circle is the tangent. At first this was an actual tangent (a tangent is a line that touches a curve at exactly one point). In the picture below, a line has been drawn tangent to the unit circle. βThe tangentβ of 30 degrees is defined as the length of the orange line segment. First consider the larger triangle with the orange line as one of its sides. The bottom side of the triangle is a radius of the circle, so its length is 1. We could say that the orange line divided by the bottom side is the tangent ÷ 1 = the tangent. Now consider the smaller triangle with the red side and the green side. Because its angles are the same as the angles of the larger triangle, we can say that the red side ÷ the green side = the tangent ÷ 1. That means that the sine ÷ the cosine = the tangent. If you are working with a right-angled triangle rather than in the unit circle, you can find the tangent by dividing the side opposite the angle by the side adjacent to the angle. This gives you the same ratio as sine/cosine. Because this is a ratio, the length of the hypotenuse doesnβt matter at all. Your calculator will supply you with the value of the tangent (abbreviated as tan) of different angles, and you can use these values to figure out the lengths of the sides of various right triangles when some measurements are given. 202 For this right triangle we can use the tangent to find the length of side BC, given that AB is 7 units, and the angle at A is 45 degrees. Donβt rush to grab your calculator to find the tangent of 45 degrees. Instead, draw a 45 degree angle in a unit circle, and figure out the values of the sine and the cosine. Then you will know what the tangent is. After you find the length of side BC, you could use the Pythagorean Theorem to determine the length of AC, but you should also try using the sine or cosine. [Tangent of 45° = BC AB , sine of 45° = BC AC , and cosine of 45° = AB AC ] Right triangles are not always drawn in this same convenient position with the known angle in the bottom left corner. I used to turn the paper to adjust them, but I canβt do that so easily on my computer. Here is where it might help you to use the mnemonic βSOHCAHTOAβ. Youβll have to say that out loud a few times to remember it. It stands for Sine is Opposite ÷ Hypotenuse, Cosine is Adjacent ÷ Hypotenuse, Tangent is Opposite ÷ Adjacent. Opposite means the side opposite the angle. The adjacent side is the one touching the angle. The next advance in trigonometry was the addition of coordinate axes to the unit circle. This allows us to consider the sine and cosine values of angles larger than 90 degrees. The sine is now defined as the distance along the y-axis, and the cosine is the distance along the x-axis. Because we are placing the center of the unit circle at the origin of the coordinate system, the values of the sine and cosine will vary from -1 to 1. This is an important fact to note. Sine and cosine values are never greater than 1 or smaller than -1. The tangent however can have any value from negative to positive infinity. 203 Here the sine values of a 30° angle and a 150° angle are measured along the y-axis, so you can see that the sine of both these angles is the same. Supplementary angles (two angles that add to 180 degrees) always have the same sine values. If the angle is larger than 180° the sine value becomes negative. The next picture shows the important points on the unit circle, in radians. You should be able to reproduce this picture by yourself. The points in the 4th quadrant are often referred to as negative (clockwise) angle values to avoid more awkward fractions, but it is fine to use positive angle values instead. For each of the indicated angle values you should be able to calculate the sine, cosine and tangent by hand. Use a calculator to check if you are right (convert the radians to degrees, or set your calculator to radians). Note that as angle values get larger we just keep going around the circle. The point labeled 0 is the same as 2Ο, and Ο/2 is the same point as 2.5 Ο. There are an infinite number of ways to represent each point. 204 This illustration shows a sample calculation for the sine and cosine of Ο/3 or 60°: 205 I can see that the two blue lines are both radii of the unit circle, so their length is 1. I have drawn an extra line to complete the isosceles triangle. The two remaining angles must be identical because they are the base angles of a sideways isosceles triangle. Since all the angles are 60 degrees all of the sides have the same length and the triangle is equilateral. The dashed line divides it into two identical parts. The height of the dashed line represents the sine of 60 degrees, and it intersects the x-axis at the value of the cosine, which is exactly 1/2. Once we know the cosine value, we use the Pythagorean Theorem to find the height of the dashed line: 1 2 a2 + b2 = c2 , so (2) + b2 = 12 1 4 3 3 + b2 = 1, so b2 = 4 and b = β4 = β3 β4 = β3 2 Once you have calculated all the important sine and cosine values you can create nice graphs. In fact, the unit circle itself is a graph of the cosine vs. the sine. At each point on the unit circle the x value is the cosine and the y value is the sine. The unit circle is rarely talked about as a graph because it is not a function (there are two different y values for almost every x value). Instead of graphing y against x, we can graph both the sine and the cosine against different angle values. This creates graphs that actually represent functions. Before you draw such graphs, consider that we created the unit circle setup by using radians. The values of the sine and cosine vary between 1 radius of the unit circle in the negative direction to 1 radius in the positive direction. The angle units that go with these radius measures are radians. Using graph paper, graph the angle in radians against the value of the sine. Do not use degrees as a scale, since it would not be meaningful to graph a sine value of 1 unit on the y-axis against a degree value of 90 units along the x-axis. You should be able to create a fairly accurate copy of the graph below by yourself. 206 This graph shows that the sine value goes from 0 to 1 and back to 0 as the angle goes from 0 to Ο radians in the unit circle. As the angle continues to increase the sine value becomes negative, and then goes back to zero at an angle of 2Ο. After that the same process repeats endlessly as we go around the unit circle again and again. Repeating functions like this are called periodic functions. The sine function has a period of 2Ο. The negative values along the x-axis represent angles as we go around the unit circle in a clockwise direction rather than counterclockwise. Here the red line shows the cosine function. You should also create your own copy of this on graph paper. You can see that the cosine function is Ο/2 radians βbehindβ the sine function. We can say that the cosine of angle x = sine of (x + Ο/2). You can also say that the other way around: sin x = cos (x - Ο/2). 207 The following interesting picture shows the tangent function. The vertical lines are vertical asymptotes, which occur at points where the cosine is 0. Since the tangent is the sine divided by the cosine, it cannot exist at these points, but it gets larger and larger in either a positive or negative direction as it approaches them. The tangent function repeats, with a period of Ο. Make sure you understand why the tangent function has the shape and the period that it does by calculating sample values of the tangent at various points. 208 Inverse Trigonometric Functions If we have an angle of Ο/6 radians (30 degrees), we can figure out that the sine is ½. The inverse sine function takes the value of the sine, and gives us the angle. The inverse sine function is called the arcsine, and it is often written, confusingly, as sin -1x. This does not mean 1 sin x . If we know that the sine of an angle is 1, we might guess that the angle is Ο/2 radians. However, it could also be 5Ο 2 radians (450°), or 9Ο 2 radians, or β¦. The possibilities are endless because the sine function repeats endlessly. An inverse sine function can only be created by taking a portion of the sine curve that is small enough that it does not return multiple angles for a given value of sin (x). The part that is used for this purpose is the portion of the sine curve between - Ο/2 and Ο/2 radians (-90° to 90°). This may seem a bit hard to remember, but just think about what part of the unit circle you would choose if you were in charge. You have to allow for the full range of values of the sine, which is from -1 to 1. You could start that at Ο/2 and go to 3π 2 radians, but chances are that youβd leave it right where it is now just to avoid all those awkward fractions in between. As a result the inverse sine function, known as the arcsine function, will always return angles between - Ο/2 and Ο/2 radians. Any sine value is a valid input for this function (recall that the sine is always between -1 and 1). In the same way mathematicians have defined an inverse cosine function, which returns angles between 0 and Ο radians. Again the input had to be between -1 and 1, so the most convenient interval to choose was 0 to Ο radians. This allows for the full range of values of the cosine, and returns one unique angle for each one. If you look at the tangent function, you can see that over the interval - Ο/2 to Ο/2 radians the tangent goes from its minimum value (-infinity) to its maximum value (+infinity). Here again there are other intervals you could choose, but - Ο/2 to Ο/2 is the most convenient one. The arctangent function gives you angles between - Ο/2 and Ο/2 radians for any tangent value you enter. Range of Inverse Trigonometric Functions: Arcsin Arccos Arctan - Ο/2 to Ο/2 radians 0 to Ο radians - Ο/2 to Ο/2 radians (-90° to 90°) (0° to 180°) (-90° to 180°) 209 Whenever you use the inverse trigonometric functions and get a βwrongβ angle, remember that the angle you want may not be in the range of the function. Look for another angle that has the same sine, cosine or tangent value! To access the inverse trigonometric functions in the Windows calculator, set it to scientific view and press the βInvβ key. Sometimes you may be given a value of the arcsine, arccosine or arctangent and asked to calculate another trigonometric value for the corresponding angle. Such problems look like this: tan (arcsin (β3/2)) = ? To solve such problems quickly, draw a right-angled triangle using the known values as the sides. We know that the sine can be found by dividing the side opposite to the angle by the length of the hypotenuse, so we choose β3 for the opposite side and 2 for the hypotenuse: We could just as well have set the length of the hypotenuse at 1 and the length of the opposite side at β3/2, but doing things this way makes our calculations easier. We can quickly use the 2 Pythagorean Theorem to find the length of the adjacent side, which is β22 ββ3 = β4 β 3 =1. The picture then shows us that the tangent of angle x is β3 , since the tangent is the opposite 1 side divided by the adjacent side. tan (arcsin (β3/2)) = β3. 210 For some practice, show that sin (arccos β2 β2 )= 2 2 Other Trigonometric Ratios The inverse trigonometric functions are often written as sin-1, cos-1, and tan-1. This does not mean 1/sin, 1/cos and 1/tan, which refer to the cosecant, the secant, and the cotangent respectively. What I find the most confusing here is that 1 sin 1 is called the cosecant, while the secant. The tangent and cotangent are easier to remember: tan = sin , and cot = cos cos sin cos is . Apparently these inverse trigonometric ratios were once used to simplify calculations, but unfortunately they have failed to disappear with the advent of calculators and computers. Earlier, we looked at the important trigonometric identity sin2x + cos2x = 1, which is just the result of applying the Pythagorean Theorem. We can create another important identity from this by dividing both sides by cos2: sin2 x cos2 x + cos2 x cos2 x tan2x + 1 = = 1 cos2 x 1 cos2 x tan2x + 1 = sec2x Interestingly, the secant has a specific representation in our picture that shows the sine, cosine and tangent: 211 The purple line is the secant. If you apply the Pythagorean Theorem you can see that tan 2x + 1 1 = sec2x. You should also be able to use similar triangles to show that cos in the smaller triangle corresponds to sec 1 in the larger triangle. (The hypotenuse of the smaller triangle is the radius of the unit circle, so its length is 1 unit.) 1 cos x = sec x Here is a picture showing the cotangent in orange and the cosecant as a pink line. The two 30 degree angles are alternate interior angles. The cosine divided by the sine in the smaller triangle corresponds to the cotangent divided by 1 in the larger triangle. 1 divided by the sine in the small triangle corresponds to the cosecant divided by 1 in the large triangle. A third trigonometric identity can be created by dividing both sides of sin 2x + cos2x = 1 by sin2x: sin2 x sin2 x + cos2 x sin2 x 1 + cotan2x = = 1 sin2 x 1 sin2 x 1 + cotan2x = cosec2x Again, this identity can be derived directly from the picture above by applying the Pythagorean Theorem. 212 There are of course also inverse functions for the secant, cosecant and cotangent (sigh). Luckily they have the same range as their corresponding inverse functions: Range of Inverse Trigonometric Functions: Arcsin Arccosec - Ο/2 to Ο/2 radians - Ο/2 to Ο/2 radians (-90° to 90°) Arccos Arcsec 0 to Ο radians 0 to Ο radians (0° to 180°) Arctan Arccotan - Ο/2 to Ο/2 radians - Ο/2 to Ο/2 radians (-90° to 180°) The Law of Cosines The Pythagorean Theorem and trigonometric ratios help you find missing measurements of right triangles. If there is no right angle in your triangle, you need the law of cosines and the law of sines to find any missing measurements. Recall from geometry that once you draw two sides of a triangle the third side is already determined, since there is now only one way to complete it. This is expressed in the SAS Theorem: if you know the length of two sides and the angle between them, the whole triangle is known. In the picture below, imagine that we know side a, side b, and the angle between them at point C. This means that side c has a specific fixed length, and we want to find it. We can use the Pythagorean Theorem and trigonometric ratios to do so. You should note in the picture below that the convention is to label the sides so that they correspond to the angle opposite them. This makes sense, since the length of the side is dependent on the size of the opposite angle and vice versa. 213 Side c is the side of the triangle opposite point C. The smart thing to do is to draw an altitude of the triangle (dotted line) so that c becomes the hypotenuse of a right triangle. Then we can just use the Pythagorean Theorem to find the length of c. All we need is the length of the other two sides, and we can use trigonometric ratios to find those. Consider the angle at point C. The sine of angle C is the altitude divided by a, so the dotted line must have length a sin C. By the same reasoning you can see that the segment labeled a cos C divided by a actually represents the cosine of angle C. We can divide side b into two segments: a cos C and b minus a cos C. Applying the Pythagorean Theorem we get: c2 = (b β a cos C)2 + (a sin C)2 = b2 β 2ab cos C + a2(cos C)2 + a2 (sin C)2 (cos C)2 is normally written as cos2C and (sin C)2 is written as sin2C c2 = b2 β 2ab cos C + a2 (cos2C + sin2C) Since cos2C + sin2C = 1, we can simplify this to c2 = a2 + b2 β 2ab cos C 214 This is the law of cosines. The unknown side is c, and the rest of the formula refers to the other two sides and the angle between them. You might notice that the law of cosines looks a bit like the Pythagorean Theorem, and that is not a coincidence. When angle C is 90°, cos C is 0 and the law of cosines becomes the Pythagorean Theorem. If you really want to understand the law of cosines, you should draw your own copy of the triangle and find the formula for determining the length of side a or b when the other two sides are known. The answers you should get are: a2 = b2 + c2 β 2bc cos A b 2 = a2 + c2 β 2ac cos B Notice that in each case it is the angle between the two known sides that appears in the formula. Here is a different view of the law of cosines, showing that it works just as well for an obtuse triangle: For the angle supplementary to angle C, the sine is equal to sin C, and the cosine is equal to β cos C. c2 = (a sin C)2 + (b + - a cos C)2 215 = a2 sin2C + b2 β 2ab cos C + a2 cos2C = a2 (sin2C + cos2C) + b2 β 2ab cos C = a2 + b2 β 2ab cos C The Law of Sines sin A = sin C = h c h a k , so h = c sin A sin B = , so k = c sin B , so h = a sin C sin C = , so k = b sin C c k b c sin A = h = a sin C c sin B = k = b sin C c sin A = a sin C c sin B = b sin C sin A sin C sin B c b a = sin A a = sin B b = sin C c = sin C c 216 The law of sines also works for obtuse triangles. Here the angle labeled D is supplementary to angle B, so the sine value of angle D is the same as that of angle B: k sin A = , so k = c sin A c sin C = k a , so k = a sin C sin B = sin C = h c h b since sin B = sin D, so h = c sin B , so h = b sin C c sin A = a sin C c sin B = b sin C sin A sin C sin B c b a = = sin C c Although the law of sines seems straightforward, you may have some difficulties when you use it to determine the size of an obtuse angle in a triangle. The law of sines still works for obtuse triangles, but the problem is that angles in the second quadrant share sine values with angles in the first quadrant. The inverse sine function is set to only give you angles from -90 degrees to + 90 degrees. Therefore you will not be able to get an answer of an obtuse angle using the law of sines with the inverse sine function. Youβll get an angle that has the desired sine value, but it is 217 not the right one. To avoid this problem, look in advance for the largest angle in the triangle. The largest angle is always opposite the longest side. Then solve for the smaller angles first. Trigonometric Identities There are an awful lot of these things, and some teachers expect you to memorize most of the significant ones. If you are lucky you get to use a formula sheet for tests, so you can get away with just memorizing a few. Why memorize any at all, you may wonder. Well, knowing just a few of the crucial ones will help you get your work done a lot faster. We have already seen three major identities: 1. sin2x + cos2x = 1 This is the most important trig identity, and it can be found easily by applying the Pythagorean Theorem to the unit circle. It says that (the sine of angle x)2 plus (the cosine of angle x)2 must equal 1. Dividing both sides by cos2x, we get 2. tan2x + 1 = sec2x We can also divide by sin2x to get 3. 1 + cot2x = csc2x Now we will use the law of cosines to derive another important identity. This trick, probably discovered after some trial and error, provides an alternate expression for the cosine of angle x plus angle y. Because the cosine function is not a straight line, you cannot find the cosine of say 50 degrees by taking the sum of the cosine of 30 degrees and the cosine of 20 degrees. That last part may seem a bit obvious now, but take note of it because it is easy to forget when youβre up to your ears in sines and cosines of various unknown angles. cos (x + y) = cos x cos y β sin x sin y Unfortunately, this identity must be derived from the cosine of angle (x β y). The picture below shows angle x and angle y drawn in the unit circle. 218 Point A is the terminal point of angle x, so its coordinates are (cos x, sin x), and point B is the terminal point of angle y with coordinates (cos y, sin y). If you consider triangle ABC, you will see that the angle at C is (x β y). Triangle ABC has no right angles, so we cannot use the Pythagorean Theorem. However, we can use the law of cosines: c2 = a2 + b2 β 2ab cos C. Because we are working in the unit circle, the length of a and b is 1: c2 = 12 + 12 - 2β1β1β cos(x β y) c2 = 2 β 2 cos(x β y) This gives one expression for the length of c. However, because we have the coordinates of point A and point B we can also use the distance formula (Pythagorean Theorem) to calculate c2: c2 = (sin x β sin y)2 + (cos y β cos x)2 c2 = sin2x β 2sinxβsiny + sin2y + cos2y β 2cosyβcosx + cos2x c2 = sin2x + cos2x + sin2y + cos2y - 2sinx siny - 2cosx cosy As we saw before, sin2x + cos2x is equal to 1, and so is sin2y + cos2y: 219 c2 = 1 + 1 β 2sinx siny β 2cos x cosy c2 = 2 - 2sinx sin y β 2cos x cos y However, we just figured out that c2 is also equal to 2 β 2 cos(x β y). Therefore: 2 β 2 cos(x β y) = 2 β 2sin x sin y β 2cos x cos y β 2 cos(x β y) = - 2sin x sin y β 2cos x cos y Dividing both sides by -2, we get cos(x β y) = sin x sin y + cos x cos y Thatβs nice, but weβd rather have an expression for cos(x + y). To change that, we can insert (-y) into the formula: cos(x β(-y)) = sin x sin(-y) + cos x cos(-y) cos(x + y) = sin x sin(-y) + cos x cos(-y) Fortunately, there is some symmetry here. The cosine of y is always equal to the cosine of βy. Just look at the unit circle to see that it is so. The sine of y is equal in distance but opposite in value to the sine of βy: sin βy = - sin y. Now we can get the formula we want: cos(x + y) = -sin x sin y + cos x cos y cos(x + y) = cos x cos y β sin x sin y Once mathematicians had this formula, they wanted a similar one for sin(x + y). Here it would help to look back at the graph that showed how the sine and cosine are related. The picture below shows the graphs of the sine (blue) and the cosine (red) that we looked at earlier. However, it also includes an additional graph that shows β cosine (green): 220 Ο Earlier we looked at the graphs of sine and cosine and concluded that sin x = cos (x - 2 ) and Ο Ο cos x = sin(x + ). That means that cos (x + y) = sin ((x + y) + 2 ) = sin (x + y + Ο 2 2 ). Now we can change part of our formula: cos(x + y) = cos x cos y β sin x sin y sin(x + y + sin(x + Ο 2 Ο Ο 2 2 ) = sin(x + )cos y β sin x sin y Ο + y) = sin(x + )cos y β sin x sin y 2 Now, angle x is some arbitrary unknown angle. x + Ο 2 is also an arbitrary unknown angle. Letβs call it z for a moment, so we donβt get confused: sin(z + y) = sin z cos y β sin x sin y Hmm, this is almost perfect, except for that one bit that still contains x: sin x. Letβs see if we Ο can express sin x as something else. We already know that sin x = cos (x - ) but that doesnβt help because z = x + Ο 2 Ο 2 rather than x - . This is where the green line in the picture above comes 2 Ο in. It shows β cosine x, and you can use this graph to see that sin x = - cos (x + ). Now we can Ο 2 replace sin x with β cos(x + ), or β cos z: 2 sin(z + y) = sin z cos y - - cos z sin y sin(z + y) = sin z cos y + cos z sin y The letter z is not as commonly used for variables as x, so letβs change z to x: sin(x + y) = sin x cos y + cos x sin y Together, cos(x + y) = cos x cos y β sin x sin y and sin(x + y) = sin x cos y + cos x sin y are known as the angle addition formulas. These useful formulas are even more helpful when angle x = angle y. Just put x = y to translate the above formulas into the following: sin (2x) = 2 sin x cos x cos (2x) = cos2x β sin2x 221 There are times when it is awkward to deal with the square of a sine or cosine function, especially in calculus. Mathematicians have rearranged that last formula to help them get rid of such squared functions without getting an annoying square root: cos (2x) = cos2x β sin2x cos (2x) = cos2x β sin2x cos2x = cos (2x) + sin2x sin2x = cos2x β cos (2x) cos2x = cos (2x) + 1 β cos2x sin2x = 1 β sin2x β cos (2x) 2 cos2x = 1 + cos (2x) 2 sin2x = 1 β cos (2x) cos 2x = π+ππ¨π¬(ππ±) sin 2x = π πβππ¨π¬(ππ±) π Once you have these formulas, you can replace x with x/2 to derive the half-angle formulas: π± π+ππ¨π¬ π± π π cos = ±β π± πβππ¨π¬ π± π π sin = ±β Although it is not commonly used, there is also a tangent addition formula: tan (x + y) = tan(x + y) = sin(x+y) cos(x+y) sinx cosy+cosx siny cosx cosyβsinx siny Divide both the top and the bottom of this fraction by cosx cosy: tan(x + y) = sinx cosy+cosx siny cos x cos y cosx cosyβsinx siny cos x cos y tan(x + y) = sin x cos y cos x sin y β + β cos x cos y cos x cos y cos x cos y sin x sin y β β cos x cos y cos x cos y tan(x + y) = πππ§ π±+πππ§ π² πβπππ§ π± πππ§ π² = sinx cosy cosx siny + cos x cos y cos x cos y cosx cosy sinx siny β cos x cos y cos x cos y 222 Here is the only problem I have encountered that actually creates a use for the angle addition formula for the tangent: For the following figure, E is a point that moves along line DC. Find x when the angle between a and b is 60 degrees as shown. When the angle is 60 degrees as required, angles a and b add up to 120 degrees. Since the tangent of 120 degrees is -1.732, we can say that tan(a + b) = -1.732. However, tan(a + b) is not tan(a) + tan(b). The tangent addition formula tells us that tan(a + b) = tan(π)+tan(π) . 1βtan(π)tan(π) Reading from the figure, we find that tan(a) = 10/x, and tan (b) = 4/(8 - x). 223 tan(π)+tan(π) 1βtan(π)tan(π) 80β6x 8xβx2 8xβx2 β40 8xβ x2 = = 10 4 + x 8βx 10 4 1β( )( ) x 8βx = 10(8βx) 4x + x(8βx) x(8βx) 10 4 1β( )( ) x 8βx 80β6x 8xβ x2 8xβx 8xβx2 β40 2 β = = 80β10x+4x 8xβx2 40 1β 8xβ x2 = 80β6x 8xβx2 1(8xβx2 ) 40 β 2 8xβ x 8xβ x2 = 80β6x . 8xβx2 β40 Since we know that the tangent we want is -1.732, we solve 80β6x βx2 + 8x β40 = -1.732: 1.732x2 β 13.856x + 69.28 = 80 β 6x 1.732x2 β 7.856x β 10.72 = 0 By using the quadratic formula we can determine that the positive solution for x is 5.634. SUMMARY sin2x + cos2x = 1 tan2x + 1 = sec2x 1 + cot2x = csc x sin(x + y) = sin x cos y + cos x sin y cos(x + y) = cos x cos y β sin x sin y sin(2x) = 2 sin x cos x cos(2x) = cos2x - sin2x sin 2x = cos 2x = πβππ¨π¬(ππ±) π π+ππ¨π¬(ππ±) tan(x + y) = π πππ§ π±+πππ§ π² πβπππ§ π± πππ§ π² π± πβππ¨π¬ π± π π π± π+ππ¨π¬ π± π π sin = ±β cos = ±β 224 Solving Trigonometric Identity Equations It can be quite overwhelming to attempt to prove complex trigonometric identity equations, but it helps to use a systematic approach. 1. Reduce the angles, using the angle addition or double angle formulas above. If there is an uneven angle, like sin (3x), split it into sin (2x + x). Note that this is not sin (2x) + sin (x)! 2. Factor it if you can. 3. sin 4x, cos4x: factor as a difference of two squares if possible, or treat as (sin2x)(sin2x) or (cos2x)(cos2x). 4. Watch for the three obvious identities: sin2x + cos2x = 1 tan2x + 1 = sec2x 1 + cot2x = csc2x Try to rearrange things to take advantage of these identities. 5. sin2x = 1 β cos2x = (1 + cos x)(1 β cos x) 6. If you see an expression like (1 β cos x) or (1 + sin x) in a fraction, try to multiply both the numerator and denominator by the complementary terms (1 + cos x) or (1 β sin x) to take advantage of the difference of two squares. 1 β cos2x changes to sin2x. 7. Write everything in terms of only sin x and cos x, especially if that is all you see on the other side. 8. If the equation contains a fraction, try putting everything over a common denominator. If it is a fraction that contains fractions in the parts above and below the lines, multiply the top and bottom of the fraction by the least common denominator of all the fractions to clear them quickly. 9. Try to get a single term under the division line. 10. Sometimes moving a term to the other side will allow you to simplify the equation. Then you may be able to go back and do things more elegantly. Modeling Change with Sine Functions You should follow along with the explanations in this section by using Math GV Function Plotting Software (free download at http://www.mathgv.com). Select File -> New 2D Cartesian Graph, and then Graph ->New 2D Function. Use pi to represent Ο, and put the value of the sine in parentheses, like this: sin(2pi*x) or sin(2pi x). 225 Not only is the sine curve an interesting curve by itself, there are also many real events that can be described by this type of function because they go up and down periodically in the same way as the sine function. We can model these events with a sine curve by stretching or squishing the curve horizontally and/or vertically, and shifting it to the right or left, or up and down. This works just like you would do it with other functions. It just looks scarier because of the sine notation. First, letβs move our sine function over a little. The sine of 0 is 0, and while many events start out with a value of zero at time zero, some do not. Suppose that we are modeling a process that starts out at its maximum value at time 0. Our sine function has a maximum at Ο/2, so letβs shift the whole function over to the left to get the maximum value positioned at time zero. To move a function to the left, we add something to x. When you do that, you create a situation where a smaller x can do the same job that a bigger x did previously. I can shift the whole curve Ο/2 units to the right by adding Ο/2 to x, like this: f(x) = sin (x + Ο/2). Now x can be 0 and still give the function a value of sin (Ο/2). In fact, the entire curve has shifted to the left. Next we will consider that our imaginary process has a period corresponding to 1 second. Seconds you say? I thought we were working in radians, with stuff like 2Ο? Although this situation would be potentially confusing, we are fortunately just graphing things on a piece of paper or on a computer screen. We only need to have the function line up with simple βunitsβ along the x-axis, and then we can call those units seconds, or hours, or inches or whatever is appropriate to the situation. Right now we are calling the units radians, and one period of the function extends over 2Ο of them. Letβs change that a little. I am going to multiply x by 2Ο. This way, when the input is actually 1, the multiplication by 2Ο blows the value up to 2Ο. Once that has happened, the sine function really doesnβt see the difference. The function still does the same job, but it now can do that job with a scaled-down value of x. As a result, our graph has become squished up in the horizontal direction. Just graph y = sin (2Οx) to see that. When x is 0.5, 2Οx is Ο so we are at the half-way point in the period. The period is 1 unit, and instead of radians weβll label that seconds on our graph. But wait, what about our shift to the left? If you graph y = sin (2Οx), youβll see that a change of ¼ unit in x is required to shift the graph so that the maximum value occurs at x = 0. That makes sense, since the period is now 1. Graph y = sin (2Ο(x + ¼)). You get a sine wave with a period of 1 that is shifted ¼ units to the left. 2Ο(x + ¼) is the same as 2Οx + Ο/2. This says that once we magnify the value of x we still have a regular sine function, so we can just as easily shift it by adding Ο/2 to the inflated value of x. The function can be written as f(x) = sin (2Οx + Ο/2), or as f(x) = sin (2Ο(x + ¼)). This last form has the advantage of allowing you to read the actual magnitude of the shift directly from the way the function is written. 226 Once we have reached this point, it is a really a simple matter to stretch the period to have it occupy as many seconds as we want. For example, if we want a period of 6 seconds we just divide the part with the x by 6. If you graph y = sin ( 2Οx 6 + Ο/2), youβll see that you get the desired result. The actual magnitude of the shift can be seen by rewriting the equation as 2Ο 3 y = sin ( 6 (x + 2)). Here we are using seconds, but the units are really arbitrary. 2Οx y = sin ( 365 ) would nicely model a process that starts at zero and has a period of 365 days. Well, that takes care of the horizontal adjustments. The vertical changes we make are actually simpler to understand because they can be made as direct changes to the output. If we want the output of the function f(x) = sin (x) to be 3 times as big, we just write f(x) = 3 sin (x). This causes the value of the function to vary between -3 and 3 rather than between -1 and 1. The function becomes stretched out in the vertical direction. Shifting the entire function up or down is a simple matter of adding or subtracting the desired value. If we wanted f(x) = 3 sin (x) to return only positive values, we just add 3 to the output, like this: f(x) = 3 sin (x) + 3. Now the value of the function will vary between 0 and 6 rather than between -3 and 3. Graphing a Modified Trigonometric Function 1 1 Example: Graph y = 3 cos(Οx + Ο) β 1 1. Make a sketch of the original cosine function. I chose to include a full period between - Ο/2 and 3Ο/2. Notice that the length of the period is 2Ο. The green dots mark the minimum and maximum values, and the zero points. Location of green dots (from left to right) Ο (- 2 , 0) (0,1) Ο ( 2 , 0) (Ο,-1) ( 3Ο 2 , 0) 2. Look at the problem like this: y = 3 β (cosine of something) + 1. We know that the value of the cosine always goes from -1 to 1. This means that 3 times the cosine has a range of -3 to 3. The last part, + 1, says that 1 unit must be added to 227 the output of the cosine function. Now the values of the function will range from -2 to 4. Graph this using MathGV (as y = 3 cos(x) + 1) so you can see what it looks like: Location of green dots (from left to right) Ο (- 2 , 1) Ο (0,4) ( 2 , 1) (Ο,-2) 1 1 Ο Ο ( 3Ο 2 , 1) 3. Find the new period. y = 3 cos( x + ) β 1. Ignore the other parts for a moment, and 1 look only at cos(Οx). When x = 0, the cosine function βseesβ a value of zero and returns its maximum value. For the cosine function to βseeβ a full input of 2Ο, x must be 2Ο 2. 1 1 The multiplication by Ο caused the period to stretch by a factor of Ο. y = 3 cos(Οx) β 1 looks like this (notice that we have ignored the shift for the moment): Location of green dots (from left to right) (- Ο2 2 , 1) (0,4) ( Ο2 2 , 1) (Ο2,-2) 3Ο2 ( 2 , 1) 228 1 1 4. Now we rewrite the equation so that we can quickly see the shift. y = 3 cos( Οx + Ο) β 1 is 1 1 the same as y = 3 cos(Ο (x + 1)) β 1. The graph of y = 3 cos(Οx) β 1 must be shifted 1 unit to the left: Location of green dots (from left to right) (- Ο2 2 β 1 , 1) (-1,4) ( Ο2 2 (Ο2- 1, -2) β 1 , 1) 5. Convert to numbers so you can see that the dots are in the right place: (-5.93,1) (-1,4) (3.93,1) (8.87,-2) 3Ο2 ( 2 - 1, 1) (13.80,1) Equations of the Form A sin x + B cos x Rearranging things into different forms is very important in math. There are many instances where rearranging equations allows us to simplify something or get a form that is suitable for a particular method. Letβs go back to the trigonometric identity sin(x + y) = sin x cos y + cos x sin y. Once we select a Ο specific value for y, cos y and sin y become fixed numbers. Iβll pick an easy value, say 60° or , to illustrate this point. I donβt have the sine and cosine of a unit circle and figure out that sin Ο Ο 3 3 sin(x + ) = cos sin x + sin Ο 3 Ο 3 = β3/2 and cos Ο 3 Ο 3 3 memorized, but I can quickly draw = 1/2 cos x Ο sin(x + ) = ½ sin x + β3/2 cos x 3 In fact, for every value of y that I choose I can create such an equation. It will look like this: 229 sin(x + y) = A sin x + B cos x Here the number A represents cos y, and the number B is sin y. Flip the equation around to get A sin x + B cos x = sin(x + y) This shows that we can take the sum of a sine function, and a cosine function (which is really just a modified sine function) and express it as a single sine function. That is not very important to you and me, but folks in various engineering or physics fields actually have a use for this. Try it out for yourself by entering some functions into MathGV or your graphing calculator. For example, you can use y = 3sin(x) + 4cos(x). When you graph this you get a nice modified sine function. However, right away you can see a bit of a problem. You need βy =β to create a graph, but we have already used y in our equation to represent the second angle. Faced with this sort of problem, you or I would probably just change the angle variable to z, like this: A sin x + B cos x = sin(x + z). Unfortunately that kind of thing is not up to us, and someone else picked his or her favorite variable: Ø. This is the Greek letter phi, pronounced as either βfyβ or βfeeβ. This gives us sin(x + Ø) = A sin x + B cos x, here showing that you could decompose a single sine wave into two new modified sine waves. If you were actually working with this equation you would not find it quite satisfactory because of the restrictions on the numbers A and B. Since these numbers represent the sine and cosine of angle Ø they are restricted to values between -1 and 1. Well at least we have negative values available, but they are inconveniently small. You can of course multiply the entire equation by something, like this: 5 sin(x + Ø) = 5A sin x + 5B cos x, which is fine in this direction but not so helpful when youβre working the other way. Just look at 25 sin x + 14 cos x: what was A and what was B?? Here our only reasonable option is to let 25 be A and 14 be B, and use some unknown multiplier C on the other side: A sin x + B cos x = C sin(x + Ø). Now A represents C cos Ø and B is C sin Ø. That may seem complicated, but we can draw a simple picture showing angle Ø and its associated values: 230 Look at this picture carefully and verify that it is correct. Now, since C cos Ø = A and C sin Ø = B: This is nice, because we can see right away that C = βπ΄2 + π΅ 2 . So, instead of A sin x + B cos x = C sin(x + Ø) we can write A sin x + B cos x = βπ΄2 + π΅ 2 sin(x + Ø). Thatβs perfect. Starting with the function y = 25 sin x + 14 cos x, we can change it into a single sine function like this: 25 sin x + 14 cos x = β252 + 142 sin(x + Ø) B The specific angle Ø is easy to find, because we can see from the picture above that tan Ø = A. 231 14 If tan Ø = 25 = .56, then we can use the inverse tangent to find Ø. After I remember to set my calculator to radians, I get a value for Ø of .5105 radians. It is very important to use radians here rather than degrees because we are working with functions that we want to graph. (Recall that using degrees instead of radians would produce a distorted graph that is not really meaningful.) 25 sin x + 14 cos x = 28.65 sin(x + .5105) To check your work, graph both y = 25 sin x + 14 cos x and y = 28.65 sin(x + .5105). Both functions will coincide exactly. You will have to zoom out a fair bit since we picked such large numbers for A and B. Try your own example with smaller numbers. Once you start using negative numbers for A, which represents C cos Ø, you will end up with an angle Ø outside the range of the inverse tangent function. This is always something to watch for when using the inverse trigonometric functions. In the case of the tangent your result will usually be off by Ο radians in a clockwise or counterclockwise direction. For example, if A is negative and B is positive then you should look for the angle Ø in the second quadrant (between Ο 2 and Ο radians), where the cosine is negative and the sine is positive.