Tuesday, 4 August 2020

How to find the inverse of a function

A foundational part of learning algebra is learning how to find the inverse of a function, or f(x). The inverse of a function is denoted by f^-1(x), and it's visually represented as the original function reflected over the line y=x. This article will show you how to find the inverse of a function.

Steps

  1. 1
    Make sure your function is one-to-one. Only one-to-one functions have inverses.
    • A function is one-to-one if it passes the vertical line test and the horizontal line test. Draw a vertical line through the entire graph of the function and count the number of times that the line hits the function. Then draw a horizontal line through the entire graph of the function and count the number of times this line hits the function. If each line only hits the function once, the function is one-to-one.
      • If a graph does not pass the vertical line test, it is not a function.
    • To algebraically determine whether the function is one-to-one, plug in f(a) and f(b) into your function and see whether a = b. As an example, let's take f(x) = 3x+5.
      • f(a) = 3a + 5; f(b) = 3b + 5
      • 3a + 5 = 3b + 5
      • 3a = 3b
      • a = b
    • Thus, f(x) is one-to-one.
  2. 2
    Given a function, switch the x's and the y's. Remember that f(x) is a substitute for "y."
    • In a function, "f(x)" or "y" represents the output and "x" represents the input. To find the inverse of a function, you switch the inputs and the outputs.
    • Example: Let's take f(x) = (4x+3)/(2x+5) -- which is one-to-one. Switching the x's and y's, we get x = (4y + 3)/(2y + 5).
  3. 3
    Solve for the new "y." You'll need to manipulate the expressions to solve for y, or to find the new operations that must be performed on the input to obtain the inverse as an output.
    • This can be tricky depending on your expression. You may need to use algebraic tricks like cross-multiplication or factoring to evaluate the expression and simplify it.
    • In our example, we'll take the following steps to isolate y:
      • We're starting with x = (4y + 3)/(2y + 5)
      • x(2y + 5) = 4y + 3 -- Multiply both sides by (2y + 5)
      • 2xy + 5x = 4y + 3 -- Distribute the x's
      • 2xy - 4y = 3 - 5x -- Get all the y terms on one side
      • y(2x - 4) = 3 - 5x -- Reverse distribute to consolidate the y terms
      • y = (3 - 5x)/(2x - 4) -- Divide to get your answer
  4. 4
    Replace the new "y" with f^-1(x). This is the equation for the inverse of your original function.
    • Our final answer is f^-1(x) = (3 - 5x)/(2x - 4). This is the inverse of f(x) = (4x+3)/(2x+5).
    Advertisement


from Fruitty Blog https://ift.tt/3i6hTJQ
via IFTTT

No comments: