Algebra Seminar Study Guide: Functions Function Definition and Notation Functions are often written as "f(x)" where x is the value of any real number. Example: f(x) = x+ 2 ("f of x is equal to x plus 2") is a function, because for every value of "x" you get only one value "x + 2". So: * f(2) = 4 * f(16) = 18 * f(-10) = -8 A function is a special relationship between values: Each of its input (domain, x) values gives back exactly one output (range, y) value. This is a function. You can tell by tracing from each x to each y. There is only one y for each x; there is only one arrow coming from each x. Domain: -3≤x≤1 Range: -6≤y≤15 Ha! Bet I fooled some of you on this one! This is a function! There is only one arrow coming from each x; there is only one y for each x. It just so happens that it's always the same y for each x, but it is only that one y. So this is a function; it's just an extremely boring function! Domain: -3≤x≤1 Range: -6= 𝑦 This one is not a function: there are two arrows coming from the number 1; the number 1 is associated with two different range elements. So this is a relation, but it is not a function. Domain: -3≤x≤1 Range: -6≤y≤15 Okay, this one's a trick question. Each element of the domain that has a pair in the range is nicely wellbehaved. But what about that 16? It is in the domain, but it has no range element that corresponds to it! This won't work! So then this is not a function. Heck, it ain't even a relation Domain: -3≤x≤1, 16 Range: -6≤y≤15 Vertical Line Test Functions also pass the “straight line” test. Looking at this function stuff graphically, what if we had the relation that consists of a set containing just two points: {(2, 3), (2, –2)}? We already know that this is not a function, since x = 2 goes to each of y = 3 and y = –2. If we graph this relation, it looks like: Notice that you can draw a vertical line through the two points, like this: This characteristic of non-functions was noticed by I-don't-know-who, and was codified in "The Vertical Line Test": Given the graph of a relation, if you can draw a vertical line that crosses the graph in more than one place, then the relation is not a function. Here are a couple examples: This graph shows a function, because there is no vertical line that will cross this graph twice. This graph does not show a function, because any number of vertical lines will intersect this oval twice. For instance, the y-axis intersects (crosses) the line twice. For more information, see http://www.purplemath.com/modules/fcns.htm Types of Functions 1. Continuous Functions- have no break in the domain or range 2. Discrete Functions- are often measured in whole numbers- for example, people, cars, stories of a building. For example, when graphing the amount of daylight for every day of the year, the graph should really contain 365 points rather than a continuous curve. There is no actual distinct value for day 48.25. 3. Piecewise Function- a function which is defined by multiple sub-functions Algebra Seminar - Classwork, Application of function notation 1. Swine Flu is attacking Porkopolis! The function below determines how many people have swine flu where t = time in days, and S = the number of people in the thousands. S(t) = 5t – 4 a. Find S(5) b. What does S(5) mean? c. Find t when S(t) = 6 d. What does S(t) = 6 mean? e. Does this Graph match the function S(t) = 5t – 4? Explain how you know. Algebra Seminar - Exit Task 2. Swine Flu is attacking Porkopolis! The function below determines how many people have swine flu where t = time in days, and S = the number of people in the thousands. S(t) = 3t – 4 f. Find S(4) g. What does S(4) mean? h. Find t when S(t) = 23 i. What does S(t) = 23 mean? j. Graph the function. Quadratics Study Guide Squares and Square Roots If: then: r2 = x r = ±√x The "plus or minus" is important because it allows you to find 2 solutions (roots) . Example: Solve x2-9 = 0 Start with: x2-9 = 0 Move 9 to right: x2 = 9 Take Square Root: x = ±√9 Answer: x = ±3 If we don't remember the "±" we would miss the "-3" answer Example: Solve for x: (x-3)2 = 16 Start with: (x-3)2 = 16 Take Square Root: x-3 = ±√16 = ±4 Move 3 to the right: x = 3±4 Answer: x = 7 or -1 Check: (7-3)2 = 42 = 16 Check: (-1-3)2 = (-4)2 = 16 From http://www.mathsisfun.com/algebra/square-root.html Forms of Quadratic Equations A quadratic function can be expressed in three formats: Standard (or general or expanded) form: Factored form: , where and are the roots of the quadratic equation Vertex form: , where h and k are the x and y coordinates of the vertex, respectively. For example: From: http://www.windberschools.org/153720101122139497/lib/153720101122139497/SMP08ALG_NA_TE2_C12_L03_12.pdf Factored Form and the Zero Product Property Finding Facored Form (to find the solution/roots) From a graph… The solutions (roots) are the x-intercepts (in this case the solutions are 1 and 5) From a table… The solutions can be found where y is equal to zero, in this case -2 and 0 From an equation in factored form.. See shaded box above Converting Between Forms of Quadratic Equations To convert the standard (expanded) form to factored form, one could: 1. A "quadratic" is a polynomial that looks like "ax2 + bx + c", where "a", "b", and "c" are just numbers. For the easy case of factoring, you will find two numbers that will not only multiply to equal the constant term " c", but also add up to equal "b", the coefficient on the x-term. For instance: Factor x2 + 5x + 6. I need to find factors of 6 that add up to 5. Since 6 can be written as the product of 2 and 3, and since 2 + 3 = 5, then I'll use 2 and 3. I know from multiplying polynomials that this quadratic is formed from multiplying two factors of the form "(x + m)(x + n)", for some numbers m and n. So I'll draw my parentheses, with an "x" in the front of each: (x )(x ) Then I'll write in the two numbers that I found above: (x + 2)(x + 3) This is the answer: x2 + 5x + 6 = (x + 2)(x + 3) This is how all of the "easy" quadratics will work: you will find factors of the constant term that add up to the middle term, and use these factors to fill in your parentheses. See lots of examples at http://www.purplemath.com/modules/factquad.htm This becomes slightly more complicated when the “ a” coefficient is not 1. To factor a "hard" quadratic, we have to handle all three coefficients, not just the two we handled in the "easy" case, because the leading coefficient (the number on the x2 term) is not 1. The first step in factoring will be to multiply "a" and "c"; then we'll need to find factors of the product "ac" that add up to "b". Factor 2x2 + x – 6. Looking at this quadratic, I have a = 2, b = 1, and c = –6, so ac = (2)(–6) = –12. So I need to find factors of –12 that add up to +1. The pairs of factors for 12 are 1 and 12, 2 and 6, and 3 and 4. Since –12 is negative, I need one factor to be positive and the other to be negative (because positve times negative is negative). This means that I'll want to use the pair "3 and 4", and I'll want the 3 to be negative, because –3 + 4 = +1. Now that I have found my factors, I will use what my students refer to as "box": I will draw a two-by-two grid, putting the first term in the upper left-hand corner and the last term in the lower right-hand corner, like this: Then I will take my factors –3 and 4 and put them, complete with their signs and variables, in the diagonal corners, like this: (It doesn't matter which way you do the diagonal entries; the answer will work out the same either way!) Copyright © Elizabeth Stapel 1999-2009 All Rights Reserved Then I'll factor the rows and columns like this: from the top row from the bottom row from the left column from the right column (Note: The signs for the bottom-row entry and the right-column entry come from the closest term that you are factoring from. Do not forget your signs!) Now that I have factored the box, I can read off my answer from across the top and along the left-hand side: 2x2 + x – 6 = (2x – 3)(x + 2). 2. use the quadratic formula to determine the two roots (more about this later) To convert the factored form (or vertex form) to standard form, one needs to multiply, expand and/or distribute the factors. For example: Vertex to standard: Factored to standard: use an area diagram with the factors as dimensions To convert the standard form to vertex form, one needs a process called completing the square. Completing the Square Say we have a simple expression like x2 + bx. Having x twice in the same expression can make life hard. What can we do? Well, with a little inspiration from Geometry we can convert it, like this: As you can see x2 + bx can be rearranged nearly into a square ... ... and we can complete the square with (b/2)2 In Algebra it looks like this: x2 + bx + (b/2)2 "Complete the Square" = (x+b/2)2 So, by adding (b/2)2 we can complete the square. And (x+b/2)2 has x only once, which is easier to use. Keeping the Balance Now ... you can't just add (b/2)2 without also subtracting it too! Otherwise the whole value would change. So I will show you how to do it properly with an example: Start with: ("b" is 6 in this case) Complete the Square: Also subtract the new term Simplify it and we are done. The result: x2 + 6x + 7 = (x+3)2 - 2 And now x only appears once, and your job is done! From: http://www.mathsisfun.com/alge bra/completing-square.html Examples: Completing the Square when you’re a coefficient (in standard form) is 1. Completing the Square when you’re a coefficient (in standard form) is not 1. Here are the steps for solving 2x2 + 8x +11 2x2 + 8x +11=0 Original equation set to 0 (set this to zero since the y value of 0 is where the xintercepts/solutions are found) 2 2x + 8x= -11 Subtract 11 from both sides 2 2(x + 4x)= -11 Factor out the 2 from the coefficients from the left side of the equation 2(x2 + 4x + 4) = -11+8 Divide the b coefficient by 2 and square it to find the c that makes perfect square trinomial (4/2 = 2; 22=4). Since you added the 4 x2 to left side of the equation to make it a perfect square trinomial, you need to add 4 x2 to the right side of the equation also to keep the equation balanced 2(x+2)2= -3 Simplify the right side of the equation, express the perfect square trinomial on the left as a squared binomial 2 −3 Solve for x. First divide both sides by 2. (x+2) = 2 Take the square root of both sides −3 x+2=√ 2 −3 𝑥 = −2√ 2 Subtract 2 from both sides. These roots do not represent real numbers because the number under the square roots sign is negative. Since every real number is on the x-axis, this is not. Therefore, this equation does not have roots (x-intercepts) and so has no solution. Vertex Form, Line of Symmetry, Minimum or Maximum Vertex Form of Equation The vertex form of a parabola's equation is generally expressed as : y= a(x-h)2+k (h,k) is the vertex as you can see in the picture below If a is positive then the parabola opens upwards like a regular "U". This means it has a minimum point at the vertex. If a is negative, then the graph opens downwards like an upside down "U". This means it has a maximum point at the vertex. The line of symmetry for the parabola runs through the vertex. The equation for this line of symmetry is x=whatever the x value is at the vertex coordinate (in other words, x=h) If |a| < 1, the graph of the parabola widens. This just means that the "U" shape of parabola stretches out sideways . If |a| > 1, the graph of the graph becomes narrower(The effect is the opposite of |a| < 1). http://www.mathwarehouse.com/geometry/parabola/standard-and-vertex-form.php Derivation of Quadratic Formula A Quadratic Equation looks like this: And it can be solved using the Quadratic Formula: That formula looks like magic, but you can follow the steps to see how it comes about. 1. Complete the Square It is hard to handle an equation where "x" appears twice, but there is a way to rearrange it so that "x" only appears once. It is called "Completing the Square" (please read that first!). So, let's go: Start with Divide the equation by a Put c/a on other side Add (b/2a)2 to both sides The left hand side is now in the x2 + 2dx + d2 format, where "d" is "b/2a" So we can re-write it this way: "Complete the Square" Quadratic Functions What information you have: 2. Now Solve For "x" Now we just need to rearrange the equation to leave "x" on the left Start with Square root Move b/2a to right That is actually solved! But let's simplify it a bit: Multiply right by 2a/2a Simplify: Which is the Quadratic formula we all know and love: From: http://www.mathsisfun.com/algebra/quadratic-equation-derivation.html 1. How to find the 2. solutio ns (also called roots or xintercepts)? 1. Use the Zero Product Property to find the two roots. 1. Find the midpoint of the roots (which will be the xcoordinate of the vertex), plug x back into the original equation to solve for y. Then you have your (x,y) for the vertex. 2. Force the standard form to become a perfect square trinomial (vertex form) by “completing the square”. Solve using square roots. Set f(x) or y equal to zero since y = 0 at the xintercepts. Then solve using square roots. 3. 4. 1. How to find the Graph the standard form equation in the graphing calc and zoom in on the x-intercepts with the table or graph. Use the quadratic equation: Force the standard form to become a perfect square trinomial (vertex form) by “completing the square”. Then look for the vertex in the equation (where h and k are the x and y coordinates of the vertex, respectively). vertex (also called maximum or minimum)? Change the standard form equation into factored form by finding a factorable trinomial = 2. Graph the standard form equation in the graphing calc and zoom in on the vertex with the table or graph. 3. Change to factored form (see above), find the midpoint of the roots (which will be the xcoordinate of the vertex), plug x back into the original equation to solve for y. 1. Look for the vertex in the equation: where h and k are the x and y coordinates of the vertex, respectively. Practice Problems 1. 2. Given the following quadratic Function (given in both standard and factored form), find the coordinates of the vertex and determine if there is a minimum or a maximum. = (x-2) (x+4) + 1 3. 4. Given the following quadratic Function (given in both standard and factored form), find the coordinates of the vertex and determine if there is a minimum or a maximum. = 5. Given the following quadratic Function (given in both standard and factored form), find the coordinates of the vertex and determine if there is a minimum or a maximum. = 6. Given the following quadratic Function (given in both standard and factored form), find the coordinates of the vertex and determine if there is a minimum or a maximum. = (x+1) (x+3) 6. Rewrite 7. in general form.