views
Finding the Inverse of a Simple Function
Look for a function in the form of y = a x 2 + c {\displaystyle y=ax^{2}+c} y=ax^{2}+c. If you have the “right” kind of function to begin, you can find the inverse using some simple algebra. This form is something of a variation of y = a x 2 + c {\displaystyle y=ax^{2}+c} y=ax^{2}+c. Comparing this to a standard form quadratic function, y = a x 2 + b x + c {\displaystyle y=ax^{2}+bx+c} y=ax^{2}+bx+c, you should notice that the central term, b x {\displaystyle bx} bx, is missing. Another way to say this is that the value of b is 0. If your function is in this form, finding the inverse is fairly easy. Your beginning function does not have to look exactly like y = a x 2 + c {\displaystyle y=ax^{2}+c} y=ax^{2}+c. As long as you can look at it and see that the function consists only of x 2 {\displaystyle x^{2}} x^{2} terms and constant numbers, you will be able to use this method. For example, suppose you begin with the equation, 2 y − 6 + x 2 = y + 3 x 2 − 4 {\displaystyle 2y-6+x^{2}=y+3x^{2}-4} 2y-6+x^{2}=y+3x^{2}-4. A quick examination of this equation shows that there are no terms of x {\displaystyle x} x to the first power. This equation is a candidate for this method to find an inverse function.
Simplify by combining like terms. The initial equation may have multiple terms in a combination of addition and subtraction. Your first step is to combine like terms to simplify the equation and rewrite it in the standard format of y = a x 2 + c {\displaystyle y=ax^{2}+c} y=ax^{2}+c. Taking the sample equation, 2 y − 6 + x 2 = y + 3 x 2 − 4 {\displaystyle 2y-6+x^{2}=y+3x^{2}-4} 2y-6+x^{2}=y+3x^{2}-4, the y-terms can be consolidated on the left by subtracting a y from both sides. The other terms can be consolidated on the right by adding 6 to both sides and subtracting x^2 from both sides. The resulting equation will be y = 2 x 2 + 2 {\displaystyle y=2x^{2}+2} y=2x^{2}+2.
Determine the domain and range of the simplified function. Recall that the domain of a function consists of the possible values of x that can be applied to provide a real solution. The range of a function consists of the values of y that will result. To determine the domain of the function, look for values that create a mathematically impossible result. You will then report the domain as all other values of x. To find the range, consider the values of y at any boundary points and look at the behavior of the function. Consider the sample equation y = 2 x 2 + 2 {\displaystyle y=2x^{2}+2} y=2x^{2}+2. There is no limitation on allowable values of x for this equation. However, you should recognize that this is the equation of a parabola, centered at x=0, and a parabola is not a function because it does not consist of a one-to-one mapping of x and y values. To limit this equation and make it a function, for which we can find an inverse, we must define the domain as x≥0. The range is similarly limited. Notice that the first term, 2 x 2 {\displaystyle 2x^{2}} 2x^{2}, will always be positive or 0, for any value of x. When the equation then adds +2, the range will be any values y≥2. Defining the domain and range at this early stage is necessary. You will use these definitions later in defining the domain and range of the inverse function. In fact, the domain of the original function will become the range of the inverse function, and the range of the original will become the domain of the inverse.
Switch the roles of the x and y terms. Without changing the equation in any other way, you need to replace all appearance of y with an x, and all appearances of x with a y. This is the step that actually “inverts” the equation. Working with the sample equation y = 2 x 2 + 2 {\displaystyle y=2x^{2}+2} y=2x^{2}+2, this inversion step will result in the new equation of x = 2 y 2 + 2 {\displaystyle x=2y^{2}+2} x=2y^{2}+2. An alternate format is to replace the y terms with x, but replace the x terms with either y − 1 {\displaystyle y^{-}1} y^{-}1 or f ( x ) − 1 {\displaystyle f(x)^{-}1} f(x)^{-}1 to indicate the inverse function.
Rewrite the inverted equation in terms of y. Using a combination of algebraic steps, and taking care to perform the same operation evenly on both sides of the equation, you will need to isolate the y variable. For the working equation x = 2 y 2 + 2 {\displaystyle x=2y^{2}+2} x=2y^{2}+2, this revision will look like the following: x = 2 y 2 + 2 {\displaystyle x=2y^{2}+2} x=2y^{2}+2 (original starting point) x − 2 = 2 y 2 {\displaystyle x-2=2y^{2}} x-2=2y^{2} (subtract 2 from both sides) x − 2 2 = y 2 {\displaystyle {\frac {x-2}{2}}=y^{2}} {\frac {x-2}{2}}=y^{2} (divide both sides by 2) ± x − 2 2 = y {\displaystyle {\sqrt {\frac {x-2}{2}}}=y} {\sqrt {{\frac {x-2}{2}}}}=y (square root of both sides; remember that the square root results in both positive and negative possible answers)
Determine the domain and range of the inverse function. As you did at the beginning, examine the inverted equation to define its domain and range. With two possible solutions, you will select the one that has a domain and range that are inverses of the original domain and range. Examine the sample equation solution of ± x − 2 2 = y {\displaystyle {\sqrt {\frac {x-2}{2}}}=y} {\sqrt {{\frac {x-2}{2}}}}=y. Because the square root function is not defined for any negative values, the term x − 2 2 {\displaystyle {\frac {x-2}{2}}} {\frac {x-2}{2}} must always be positive. Therefore, allowable values of x (the domain) must be x≥2. Using that as the domain, the resulting values of y (the range) are either all values y≥0, if you take the positive solution of the square root, or y≤0, if you select the negative solution of the square root. Recall that you originally defined the domain as x≥0, in order to be able to find the inverse function. Therefore, the correct solution for the inverse function is the positive option. Compare the domain and range of the inverse to the domain and range of the original. Recall that for the original function, y = 2 x 2 + 2 {\displaystyle y=2x^{2}+2} y=2x^{2}+2, the domain was defined as all values of x≥0, and the range was defined as all values y≥2. For the inverse function, now, these values switch, and the domain is all values x≥2, and the range is all values of y≥0.
Check that your inverse function works. To make sure that your work is correct and your inverse is the right equation, select any value for x and place it into the original equation to find y. Then, put that value of y in the place of x in your inverse equation, and see if you generate the number that you started with. If so, your inverse function is correct. As a sample, select the value x=1 to place in the original equation y = 2 x 2 + 2 {\displaystyle y=2x^{2}+2} y=2x^{2}+2. This gives the result y=4. Next, place that value of 4 into the inverse function x − 2 2 = y {\displaystyle {\sqrt {\frac {x-2}{2}}}=y} {\sqrt {{\frac {x-2}{2}}}}=y. This does give the result of y=1. You can conclude that your inverse function is correct.
Completing the Square to Determine the Inverse Function
Set up the quadratic equation in the proper form. In order to begin finding the inverse, you must begin with the equation in the format f ( x ) = a x 2 + b x + c {\displaystyle f(x)=ax^{2}+bx+c} f(x)=ax^{2}+bx+c. If necessary, you may need to combine similar terms to get the equation into this format. With the equation written this way, you can begin to tell some information about it. The first thing to notice is the value of the coefficient a. If a>0, then the equation defines a parabola whose ends point upward. If a<0, the equation defines a parabola whose ends point downward. Notice that a≠0. If it did, then this would be a linear function and not quadratic.
Recognize the standard format of the quadratic. Before you can find the inverse function, you will need to rewrite your equation into the standard format. The standard format for any quadratic function is f ( x ) = a ( x − h ) 2 + k {\displaystyle f(x)=a(x-h)^{2}+k} f(x)=a(x-h)^{2}+k. The numerical terms a, h and k will be developed as you transform the equation through a process known as completing the square. Notice that this standard format consists of a perfect square term, ( x − h ) 2 {\displaystyle (x-h)^{2}} (x-h)^{2}, which is then adjusted by the other two elements a and k. To get to this perfect square form, you will need to create certain conditions in your quadratic equation.
Recall the form of a perfect square quadratic function. Remember that a quadratic function that is a perfect square originates with two binomials of ( x + b ) ( x + b ) {\displaystyle (x+b)(x+b)} (x+b)(x+b), or ( x + b ) 2 {\displaystyle (x+b)^{2}} (x+b)^{2}. When you perform this multiplication, you get a result of x 2 + 2 b x + b 2 {\displaystyle x^{2}+2bx+b^{2}} x^{2}+2bx+b^{2}. Thus, the first term of the quadratic is the first term of the binomial, squared, and the last term of the quadratic is the square of the second term of the binomial. The middle term is comprised of 2 times the product of the two terms, in this case 2 ∗ x ∗ b {\displaystyle 2*x*b} 2*x*b. To complete the square, you will be working in reverse. You will start with x 2 {\displaystyle x^{2}} x^{2} and some second x-term. From the coefficient of that term, which you can define as “2b,” you will need to find b 2 {\displaystyle b^{2}} b^{2}. This will require a combination of dividing by two and then squaring that result.
Make sure the coefficient on x 2 {\displaystyle x^{2}} x^{2} is 1. Recall the original form of the quadratic function a x 2 + b x + c {\displaystyle ax^{2}+bx+c} ax^{2}+bx+c. If the first coefficient is anything other than 1, then you must divide all terms by that value, to set a=1. For example, consider the quadratic function f ( x ) = 2 x 2 + 6 x − 4 {\displaystyle f(x)=2x^{2}+6x-4} f(x)=2x^{2}+6x-4. You must simplify this by dividing all terms by 2, to yield the resulting function f ( x ) = 2 ( x 2 + 3 x − 2 ) {\displaystyle f(x)=2(x^{2}+3x-2)} f(x)=2(x^{2}+3x-2). The coefficient 2 will remain outside of the parentheses and will be part of your final solution. If all terms are not multiples of a, you will wind up with fractional coefficients. For example, the function f ( x ) = 3 x 2 − 2 x + 6 {\displaystyle f(x)=3x^{2}-2x+6} f(x)=3x^{2}-2x+6 will simplify to f ( x ) = 3 ( x 2 − 2 x 3 + 2 ) {\displaystyle f(x)=3(x^{2}-{\frac {2x}{3}}+2)} f(x)=3(x^{2}-{\frac {2x}{3}}+2). Work carefully with the fractions as necessary.
Find one-half of the middle coefficient and square it. You already have the first two terms of the perfect square quadratic. These are the x 2 {\displaystyle x^{2}} x^{2} term and whatever coefficient appears in front of the x-term. By taking that coefficient to be whatever value it is, you will add or subtract whatever number is necessary to create a perfect square quadratic. Recall from above that the required third term of the quadratic is this second coefficient, divided by two, and then squared. For example, if the first two terms of your quadratic function are x 2 + 3 x {\displaystyle x^{2}+3x} x^{2}+3x, you will find the needed third term by dividing 3 by 2, which gives the result 3/2, and then squaring that, to get 9/4. The quadratic x 2 + 3 x + 9 / 4 {\displaystyle x^{2}+3x+9/4} x^{2}+3x+9/4 is a perfect square. As another example, suppose your first two terms are x 2 − 4 x {\displaystyle x^{2}-4x} x^{2}-4x. Half of the middle term is -2, and then you square that to get 4. The resulting perfect square quadratic is x 2 − 4 x + 4 {\displaystyle x^{2}-4x+4} x^{2}-4x+4.
Add AND subtract the needed third term, at the same time. This is a tricky concept but it works. By both adding and subtracting the same number in different locations of your function, you are really making no change to the value of the function. However, doing this will allow you to get your function into the proper format. Suppose you have the function f ( x ) = x 2 − 4 x + 9 {\displaystyle f(x)=x^{2}-4x+9} f(x)=x^{2}-4x+9. As noted above, you will use the first two terms to work on completing the square. Using the middle term of -4x, you will generate a third term of +4. Add and subtract 4 to the equation, in the form f ( x ) = ( x 2 − 4 x + 4 ) + 9 − 4 {\displaystyle f(x)=(x^{2}-4x+4)+9-4} f(x)=(x^{2}-4x+4)+9-4. The parentheses are placed just to define the perfect square quadratic that you are creating. Notice the +4 inside the parentheses and the -4 on the outside. Simplify the numbers to give the result of f ( x ) = ( x 2 − 4 x + 4 ) + 5 {\displaystyle f(x)=(x^{2}-4x+4)+5} f(x)=(x^{2}-4x+4)+5.
Factor the perfect square quadratic. The polynomial inside the parentheses should be a perfect square quadratic, which you can rewrite in the form ( x + b ) 2 {\displaystyle (x+b)^{2}} (x+b)^{2}. In the example from the prior step, f ( x ) = ( x 2 − 4 x + 4 ) + 5 {\displaystyle f(x)=(x^{2}-4x+4)+5} f(x)=(x^{2}-4x+4)+5, the quadratic factors into ( x − 2 ) 2 {\displaystyle (x-2)^{2}} (x-2)^{2}. Carry along the rest of the equation, so your solution will be f ( x ) = ( x − 2 ) 2 + 5 {\displaystyle f(x)=(x-2)^{2}+5} f(x)=(x-2)^{2}+5. This is the same function as your original quadratic, f ( x ) = x 2 − 4 x + 9 {\displaystyle f(x)=x^{2}-4x+9} f(x)=x^{2}-4x+9, simply revised into standard f ( x ) = a ( x − h ) 2 + k {\displaystyle f(x)=a(x-h)^{2}+k} f(x)=a(x-h)^{2}+k form. Notice that for this function, a=1, h=2, and k=5. The value of writing the equation in this form is that a, being positive, tells you that the parabola points upward. The values of (h,k) tell you the apex point at the bottom of the parabola, if you wanted to graph it.
Define the domain and range of the function. The domain is the set of x-values that can be used as input into the function. The range is the set of y-values that can be the outcome. Recall that a parabola is not a function with a definable inverse, because there is not a one-to-one mapping of x-values to y-values, as a result of the symmetry of the parabola. To resolve this problem, you need to define the domain as all values of x that are greater than x=h, the apex point of the parabola. Continue working with the sample function f ( x ) = ( x − 2 ) 2 + 5 {\displaystyle f(x)=(x-2)^{2}+5} f(x)=(x-2)^{2}+5. Because this is in standard format, you can identify the apex point as x=2, y=5. Thus, to avoid the symmetry, you will only work with the right-side of the graph, and set the domain as all values x≥2. Inserting the value x=2 into the function gives the result of y=5. You can see that the values of y will increase as x increases. Therefore the range of this equation is y≥5.
Switch the x and y values. This is the step where you begin to find the inverted form of the equation. Leave the equation in its entirety, except for switching these variables. Continue to work with the function f ( x ) = ( x − 2 ) 2 + 5 {\displaystyle f(x)=(x-2)^{2}+5} f(x)=(x-2)^{2}+5. Insert x in place of f(x), and insert y (or f(x), if you prefer) in place of x. This will yield the new function x = ( y − 2 ) 2 + 5 {\displaystyle x=(y-2)^{2}+5} x=(y-2)^{2}+5.
Rewrite the inverted equation in terms of y. Using a combination of algebraic steps, and taking care to perform the same operation evenly on both sides of the equation, you will need to isolate the y variable. For the working equation x = ( y − 2 ) 2 + 5 {\displaystyle x=(y-2)^{2}+5} x=(y-2)^{2}+5, this revision will look like the following: x = ( y − 2 ) 2 + 5 {\displaystyle x=(y-2)^{2}+5} x=(y-2)^{2}+5 (original starting point) x − 5 = ( y − 2 ) 2 {\displaystyle x-5=(y-2)^{2}} x-5=(y-2)^{2} (subract 5 from both sides) ± x − 5 = y − 2 {\displaystyle {\sqrt {x-5}}=y-2} {\sqrt {x-5}}=y-2 (square root of both sides; remember that the square root results in both positive and negative possible answers) ± x − 5 + 2 = y {\displaystyle {\sqrt {x-5}}+2=y} {\sqrt {x-5}}+2=y (add 2 to both sides)
Determine the domain and range of the inverse function. As you did at the beginning, examine the inverted equation to define its domain and range. With two possible solutions, you will select the one that has a domain and range that are inverses of the original domain and range. Examine the sample equation solution of ± x − 5 + 2 = y {\displaystyle {\sqrt {x-5}}+2=y} {\sqrt {x-5}}+2=y. Because the square root function is not defined for any negative values, the term x − 5 {\displaystyle {x-5}} {x-5} must always be positive. Therefore, allowable values of x (the domain) must be x≥5. Using that as the domain, the resulting values of y (the range) are either all values y≥2, if you take the positive solution of the square root, or y≤2 if you select the negative solution of the square root. Recall that you originally defined the domain as x≥2, in order to be able to find the inverse function. Therefore, the correct solution for the inverse function is the positive option. Compare the domain and range of the inverse to the domain and range of the original. Recall that for the original function the domain was defined as all values of x≥2, and the range was defined as all values y≥5. For the inverse function, now, these values switch, and the domain is all values x≥5, and the range is all values of y≥2.
Check that your inverse function works. To make sure that your work is correct and your inverse is the right equation, select any value for x and place it into the original equation to find y. Then, put that value of y in the place of x in your inverse equation, and see if you generate the number that you started with. If so, your inverse function is correct. As a sample, select the value x=3 to place in the original equation f ( x ) = x 2 − 4 x + 9 {\displaystyle f(x)=x^{2}-4x+9} f(x)=x^{2}-4x+9. This gives the result y=6. Next, place that value of 6 into the inverse function x − 5 + 2 = y {\displaystyle {\sqrt {x-5}}+2=y} {\sqrt {x-5}}+2=y. This does give the result of y=3, which is the number you started with. You can conclude that your inverse function is correct.
Using the Quadratic Formula
Remember the Quadratic Formula for solving x. Recall that, when solving quadratic equations, one method was to factor them, if possible. If factoring did not work, then you could resort to the Quadratic Formula, which would yield the real solutions for any quadratic formula. You can use the Quadratic Formula as another method to find inverse functions. The Quadratic Formula is x=[-b±√(b^2-4ac)]/2a. Notice that the Quadratic Formula will result in two possible solutions, one positive and one negative. You will make this selection based on defining the domain and range of the function.
Begin with a quadratic equation to find the inverse. Your quadratic equation must begin in the format f ( x ) = a x 2 + b x + c {\displaystyle f(x)=ax^{2}+bx+c} f(x)=ax^{2}+bx+c. Take whatever algebraic steps you must in order to get your equation into that form. For this section of this article, use the sample equation f ( x ) = x 2 + 2 x − 3 {\displaystyle f(x)=x^{2}+2x-3} f(x)=x^{2}+2x-3.
Graph the equation to define the domain and range. Determine the graph of the function, either by using a graphing calculator or just plotting various points until the parabola appears. You will find that this equation defines a parabola with its apex at (-1,-4). Thus, to define this as a function that will have an inverse, define the domain as all values of x≤-1. The range will then be all y≥-4.
Interchange the variables x and y. To begin finding the inverse, switch the variables x and y. Leave the equation unchanged, except for reversing the variables. At this stage, you will replace x for f(x). Using the working equation f ( x ) = x 2 + 2 x − 3 {\displaystyle f(x)=x^{2}+2x-3} f(x)=x^{2}+2x-3, this will give the result x = y 2 + 2 y − 3 {\displaystyle x=y^{2}+2y-3} x=y^{2}+2y-3.
Set the left side of the equation equal to 0. Recall that to use the Quadratic Formula, you must set your equation equal to 0, and then use the coefficients in the formula. Similarly, this method of finding an inverse function begins by setting the equation equal to 0. For the sample equation, to get the left side equal to 0, you must subtract x from both sides of the equation. This will give the result 0 = y 2 + 2 y − 3 − x {\displaystyle 0=y^{2}+2y-3-x} 0=y^{2}+2y-3-x.
Redefine the variables to fit the Quadratic Formula. This step is a bit tricky. Recall that the Quadratic Formula solves for x, in the equation 0 = a x 2 + b x + c {\displaystyle 0=ax^{2}+bx+c} 0=ax^{2}+bx+c. So, to get the equation you currently have, 0 = y 2 + 2 y − 3 − x {\displaystyle 0=y^{2}+2y-3-x} 0=y^{2}+2y-3-x, to match that format, you need to redefine terms as follows: Let y 2 = a x 2 {\displaystyle y^{2}=ax^{2}} y^{2}=ax^{2}. Therefore, x=1 Let 2 y = b x {\displaystyle 2y=bx} 2y=bx. Therefore, b=2 Let ( − 3 − x ) = c {\displaystyle (-3-x)=c} (-3-x)=c. Therefore, c=(-3-x)
Solve the Quadratic Formula using those redefined values. Normally, you would place the values of a, b and c into the Quadratic Formula to solve for x. However, recall that you previously switched x and y for finding the inverse function. Therefore, when you use the Quadratic Formula to solve for x, you are really solving for y, or the f-inverse. The steps of solving the Quadratic Formula will work like this: x=[-b±√(b^2-4ac)]/2a x=(-2)±√((-2)^2-4(1)(-3-x)) / 2(1) x=((-2)±√(4+12+4x))/2 x=(-2±√(16+4x))/2 x=(-2±√(4)(4+x))/2 x=-2±2√(4+x))/2 x=-1±√(4+x) f-inverse = -1±√(4+x) (This final step is possible because you earlier put x in place of the f(x) variable.)
Write out the two possible solutions. Notice that the Quadratic Formula gives two possible results, using the ± symbol. Write out the two separate solutions to make it easier to define the domain and range and make the correct final solution. These two solutions are: f − 1 = − 1 + 4 + x {\displaystyle f^{-1}=-1+{\sqrt {4+x}}} f^{{-1}}=-1+{\sqrt {4+x}} f − 1 = − 1 − 4 + x {\displaystyle f^{-1}=-1-{\sqrt {4+x}}} f^{{-1}}=-1-{\sqrt {4+x}}
Define the domain and range of the inverse function. Notice that, for the square root to be defined, the domain must be x≥-4. Recall that the domain of the original function was x≤-1 and the range was y≥-4. To choose the inverse function that matches, you will need to choose the second solution, f − 1 = − 1 − 4 + x {\displaystyle f^{-1}=-1-{\sqrt {4+x}}} f^{{-1}}=-1-{\sqrt {4+x}} as the correct inverse function.
Check that your inverse function works. To make sure that your work is correct and your inverse is the right equation, select any value for x and place it into the original equation to find y. Then, put that value of y in the place of x in your inverse equation, and see if you generate the number that you started with. If so, your inverse function is correct. Using the original function f ( x ) = x 2 + 2 x − 3 {\displaystyle f(x)=x^{2}+2x-3} f(x)=x^{2}+2x-3, choose x=-2. This will give the result of y=-3. Now put the value of x=-3 into the inverse function, f − 1 = − 1 − 4 + x {\displaystyle f^{-1}=-1-{\sqrt {4+x}}} f^{{-1}}=-1-{\sqrt {4+x}}. This turns out the result of -2, which is indeed the value that you started with. Therefore, your definition of the inverse function is correct.
Comments
0 comment