Inverse Function Notes

Definition of a Function

  • A function is a rule that assigns each input to exactly one output.

  • Example: f(x)=x2f(x) = x^2

    • For every input xx, there is exactly one output x2x^2.

    • If x=3x = 3, then f(3)=32=9f(3) = 3^2 = 9.

Vertical Line Test

  • A visual way to check if a graph represents a function.

  • If any vertical line intersects the graph more than once, the graph is not a function.

  • Example: Parabola y=x2y = x^2 passes the vertical line test.

    • Any vertical line touches the parabola at only one point.

Definition of a One-to-One Function

  • For a one-to-one function, each output is the result of exactly one input.

  • No different inputs yield the same output.

  • Example: f(x)=x2f(x) = x^2 is not a one-to-one function.

    • For x=2x = 2 and x=2x = -2, f(2)=f(2)=4f(2) = f(-2) = 4.

    • Two different inputs yield the same output (4).

Horizontal Line Test

  • A visual way to check if a function is one-to-one.

  • If any horizontal line intersects the graph of the function at more than one point, the function is not one-to-one.

  • Example: Parabola y=x2y = x^2 fails the horizontal line test.

    • A horizontal line like y=4y = 4 intersects the parabola at x=2x = 2 and x=2x = -2.

Examples

  • f(x)=x3f(x) = x^3

    • Passes the vertical line test, so it is a function.

    • Passes the horizontal line test, so it is a one-to-one function.

  • f(x)=sin(x)f(x) = \sin(x)

    • Passes the vertical line test, so it is a function.

    • Fails the horizontal line test, so it is not a one-to-one function.

  • f(x)=exf(x) = e^x

    • Passes the vertical line test, so it is a function.

    • Passes the horizontal line test, so it is a one-to-one function.

  • Circle with radius 2 (

    • Fails the vertical line test, so it is not a function.

    • Fails the horizontal line test, so it is not a one-to-one.

Inverse Functions

  • If ff is a function from domain XX to range YY, then its inverse is denoted as f1f^{-1}.

  • f1f^{-1} is a relation from YY to XX.

  • Domain of f1f^{-1} is the range of ff, and range of f1f^{-1} is the domain of ff.

  • f1f^{-1} acts like an undo button that reverses the mapping of ff.

  • If f(3)=8f(3) = 8, then f1(8)=3f^{-1}(8) = 3 (switching input and output).

Condition for f1f^{-1} to be a Function

  • For f1f^{-1} to be a function (not just a relation), ff must be a one-to-one function.

  • If ff is not one-to-one, f1f^{-1} is only a relation.

  • Example: f(x)=x2f(x) = x^2

    • Is a function, but not a one-to-one function.

    • f1f^{-1} is not a function.

    • f1f^{-1} takes 4 and gives back two different outputs, 2 and -2, violating the definition of a function.

Important Notes About Inverse Functions

  • For every xx in the domain of ff, f1(f(x))=xf^{-1}(f(x)) = x.

  • For every yy in the domain of f1f^{-1}, f(f1(y))=yf(f^{-1}(y)) = y.

Steps to Find the Inverse Function

  1. Replace f(x)f(x) with yy.

  2. Switch xx with yy.

  3. Solve for yy.

  4. Replace yy with f1(x)f^{-1}(x).

Example 1

  • Given: f(x)=1x337f(x) = \frac{1}{\sqrt[3]{x - 3}} - 7

  • Find: f1(x)f^{-1}(x)

  1. Replace f(x)f(x) with yy: y=1x337y = \frac{1}{\sqrt[3]{x - 3}} - 7

  2. Switch xx with yy: x=1y337x = \frac{1}{\sqrt[3]{y - 3}} - 7

  3. Solve for yy:

    • x+7=1y33x + 7 = \frac{1}{\sqrt[3]{y - 3}}

    • y33=1x+7\sqrt[3]{y - 3} = \frac{1}{x + 7}

    • y3=(1x+7)3y - 3 = \left(\frac{1}{x + 7}\right)^3

    • y=(1x+7)3+3y = \left(\frac{1}{x + 7}\right)^3 + 3

  4. Replace yy with f1(x)f^{-1}(x): f1(x)=(1x+7)3+3f^{-1}(x) = \left(\frac{1}{x + 7}\right)^3 + 3

Example 2

  • Given: f(x)=3x74x+3f(x) = \frac{3x - 7}{4x + 3}

  • Find: f1(x)f^{-1}(x)

  1. Replace f(x)f(x) with yy: y=3x74x+3y = \frac{3x - 7}{4x + 3}

  2. Switch xx with yy: x=3y74y+3x = \frac{3y - 7}{4y + 3}

  3. Solve for yy:

    • x(4y+3)=3y7x(4y + 3) = 3y - 7

    • 4xy+3x=3y74xy + 3x = 3y - 7

    • 4xy3y=3x74xy - 3y = -3x - 7

    • y(4x3)=3x7y(4x - 3) = -3x - 7

    • y=3x74x3y = \frac{-3x - 7}{4x - 3}

    • y=3x+734xy = \frac{3x + 7}{3 - 4x}

  4. Replace yy with f1(x)f^{-1}(x): f1(x)=3x+734xf^{-1}(x) = \frac{3x + 7}{3 - 4x}

Checking the Work

  • Choose an input xx for the original function ff.

  • Calculate the output f(x)f(x).

  • For the inverse function f1f^{-1}, if you input f(x)f(x), the output must be xx.

  • Ex: f(0)=3(0)74(0)+3=73f(0) = \frac{3(0) - 7}{4(0) + 3} = -\frac{7}{3}

  • f1(73)=3(73)+734(73)=0f^{-1}(-\frac{7}{3}) = \frac{3(-\frac{7}{3}) + 7}{3 - 4(-\frac{7}{3})} = 0

Example 3

  • Given: f(x)=x2+33x2f(x) = \frac{x^2 + 3}{3x^2}

  • Find: f1(x)f^{-1}(x)

  • Problem: Every xx variable has an even exponent.

  • If we plug in xx or x-x, we will get the same output.

  • This function ff is not one-to-one; It's a many-to-one function.

  • For this original function, which is not one-to-one, you can't find an inverse function.

Even function definition
  • Definition f(x)=f(x)f(x) = f(-x)

  • All even function are symmetric about y-axis, therefore it does not pass the horizontal line test.

How to make it a one-to-one function
  • We can restrict its domain to have one-to-one part of it

  • If we restrict just ourself to positive part of its domain, under the condition x > 0, you make this function a one-to-one

  1. y=x2+33x2y = \frac{x^2 + 3}{3x^2}

  2. x=y2+33y2x = \frac{y^2 + 3}{3y^2}

  3. Solve of y:

    • 3xy2=y2+33xy^2 = y^2 + 3

    • 3xy2y2=33xy^2 - y^2 = 3

    • y2(3x1)=3y^2(3x - 1) = 3

    • y2=33x1y^2 = \frac{3}{3x - 1}

    • y=33x1y = \sqrt{\frac{3}{3x - 1}}

  4. f1(x)=33x1f^{-1}(x) = \sqrt{\frac{3}{3x - 1}}

Example 4

  • Finding the inverse function of f(x)=ln(x)f(x) = \ln(x)

  1. Change f(x)f(x) into yy: y=ln(x)y = \ln(x)

  2. Switch xx and yy: x=ln(y)x = \ln(y)

  3. Solve for yy:

    • x=loge(y)x = \log_{e}(y)

    • ex=ye^{x} = y

  4. Change yy: f1(x)=exf^{-1}(x) = e^{x}

Recalling important notes in form of ln and exponential function
  • f(f1(x))=xf(f^{-1}(x)) = x

  • f1(f(x))=xf^{-1}(f(x)) = x

  • ln(ex)=xln(e^{x}) = x

  • eln(x)=xe^{ln(x)} = x

Example 5

  • Finding the inverse function of f(x)=log2(x3)5f(x) = log_{2}(x-3) - 5

  1. Change f(x)f(x) into yy: y=log2(x3)5y = log_{2}(x-3) - 5

  2. Switch xx and yy: x=log2(y3)5x = log_{2}(y-3) - 5

  3. Solve for yy:

    • x=log2(y3)5x = log_{2}(y-3) - 5

    • x+5=log2(y3)x + 5 = log_{2}(y-3)

    • 2x+5=y32^{x+5} = y-3

    • 2x+5+3=y2^{x+5} + 3 = y

  4. Change yy: f1(x)=2x+5+3f^{-1}(x) = 2^{x+5} + 3