Recent chats

What does it mean for two functions to be inverses?

Quick answer

Two functions are inverses when each undoes the other: applying one function and then the other returns the original input. Check both orders: g(f(x)) = x and f(g(x)) = x, for inputs where the compositions are defined. For example, if f(x) = 2x + 3, then g(x) = (x − 3)/2 reverses its steps. The inverse must also be a function on the domain you choose.

LET’S WORK THROUGH IT

The question, the details, the next step.

Question

What does it mean, in plain language, for two functions to be inverses?

Geez

They undo each other. If one function changes an input, its inverse takes the result back to that input. For instance, imagine a function that takes a number, doubles it, and adds 3. Its inverse must subtract 3 and then divide by 2. The order matters because the inverse reverses the original steps. More formally, for functions f and g to be inverses, applying them in either order must return the starting input: g(f(x)) = x and f(g(x)) = x, wherever those compositions are defined. [S1]

Follow-up question

Can you show that with actual functions and numbers?

Geez

Let f(x) = 2x + 3 and g(x) = (x − 3)/2. Try an input, say 4: f(4) = 11, and then g(11) = (11 − 3)/2 = 4. In reverse, g(4) = 1/2, and f(1/2) = 2(1/2) + 3 = 4. Each route comes back to 4.

The same check works with a general input. First:

  1. g(f(x)) = ((2x + 3) − 3)/2 = x.
  2. f(g(x)) = 2((x − 3)/2) + 3 = x.

Both compositions simplify to the original input, so these functions are inverses on the real numbers. [S1]

Follow-up question

Why do I need to check both orders? If one composition works, isn't that enough?

Geez

Checking both orders confirms that each function undoes the other, not just that one order happens to return the input. A useful check is to substitute the entire output of the first function into the second; do not simply swap symbols or cancel parts that are not factors.

For the example, g(f(x)) checks “do f, then undo with g,” while f(g(x)) checks “do g, then undo with f.” The two expressions are different calculations, even though both simplify to x here. The inverse-function test uses both compositions, on the relevant domains. [S1]

Follow-up question

Does every function have an inverse function, and what steps can I use to check a pair?

Geez

Not every function has an inverse function on its full domain. A function needs to be one-to-one on the domain being used; if it is not one-to-one there, restricting its domain may make it one-to-one. [S1] For example, a function that gives the same output for two different inputs cannot be undone uniquely from that output alone.

Use this reusable check:

  1. Write down f and the proposed inverse g, including the domains you are using.
  2. Substitute f(x) into g and simplify g(f(x)).
  3. Substitute g(x) into f and simplify f(g(x)) separately.
  4. Check that both results are x for inputs where each composition is defined.
  5. If a function fails the one-to-one requirement on its chosen domain, consider whether a restricted domain is intended.

For f(x) = 2x + 3 and g(x) = (x − 3)/2, both composition checks give x, so the pair passes. This test establishes the inverse relationship for the stated domains; it does not by itself tell you which domain to choose in a different problem.

A practical checklist

  • State the function and the proposed inverse.

  • Write down the domain assumptions for both functions.

  • Calculate g(f(x)) and simplify it.

  • Calculate f(g(x)) and simplify it separately.

  • Confirm that both results equal x wherever the compositions are defined.

A few more useful answers

Why is the order of the inverse’s steps reversed?

To undo a sequence of operations, reverse their order as well as their effects. For doubling and then adding 3, subtract 3 first, then divide by 2.

What does “one-to-one” mean here?

It means different inputs do not produce the same output. If two inputs share an output, that output alone cannot identify which input to recover. [S1]

Do inverse functions have to work for every possible input?

They only need to satisfy the composition checks on the relevant domains. The domain may be restricted when needed for the inverse to be a function. [S1]

Sources

References used for this guide.

  1. [S1] OpenStax Algebra and Trigonometry 2e, Section 3.7: Inverse Functions
    openstax.org · Checked

YOUR QUESTION. YOUR DETAILS.

Let’s work through your situation.

Get a tailored answer or help with your next task. Starts at $1, with a quote before you pay.

Ask your own question
← Back to Geez at Work