Mathovore, everything you need to succeed in math: Common Core lessons, worksheets, tests and quizzes
Skip to content

Precalculus Functions Review Lesson: Domain, Composition and Inverses

    Key takeaway: This precalculus functions review lesson refreshes four core ideas: notation, domain, composition and inverses. The domain lists the allowed inputs, a composition \(f(g(x))\) feeds the output of one rule into another, and an inverse swaps inputs with outputs. Standards F-IF.A.1 and F-BF.B.4 describe the skills. Each example below shows the move and then the check, so you can test your own work.

    A function’s domain is the set of allowed inputs, a composition f(g(x)) feeds the output of g into f, and an inverse function undoes f by swapping inputs and outputs. Only one-to-one functions have inverses, so a function such as x squared needs a restricted domain like x at least 0 first.

    PrecalculusCommon Core: F-IF.A.1 · F-BF.A.1c · F-BF.B.4b · F-BF.B.4c · F-BF.B.4d

    Precalculus Functions Review Lesson: key facts

    • Standards F-IF.A.1, F-BF.A.1c, F-BF.B.4b, F-BF.B.4c and F-BF.B.4d: notation, composition, inverses and restricted domains.
    • Domain rules: no zero denominators, no negative numbers under even roots, and only positive inputs for \(\ln\).
    • In \(f(g(x))\), the input must be in the domain of \(g\) and \(g(x)\) must be in the domain of \(f\).
    • \(f^{-1}(f(x))=x\) and \(f(f^{-1}(x))=x\); the domain of \(f\) is the range of \(f^{-1}\) and the reverse.
    • A function has an inverse function only if it passes the horizontal line test; restrict the domain when it fails.

    What are function notation, domain and range?

    The symbol \(f(x)\) names the output of function \(f\) for the input \(x\). The domain is every input that gives a real output, and the range is every output the function produces. Two rules shrink a domain: never divide by zero, and never take an even root (or a logarithm) of a quantity that is not allowed.

    xy−4−3−2−11234567−3−2−11234(−2, −1)(2, 1)domain [−2, ∞)range [−1, ∞)f(x) = √(x + 2) − 1
    Domain (orange) is the set of inputs that work; range (green) is the set of outputs produced.
    Interval notation

    A square bracket includes an endpoint and a parenthesis excludes it. \([3,\infty)\) means \(x \ge 3\); \((-\infty,2)\) means \(x < 2\). The symbol ∪ joins separate pieces, so \(x \neq 4\) becomes \((-\infty,4)\) ∪ \((4,\infty)\).

    How do you compose functions?

    The composition \(f(g(x))\) (also written f ∘ g) feeds the output of \(g\) into \(f\). Its domain contains each \(x\) that is allowed in \(g\) and whose value \(g(x)\) is allowed in \(f\).

    x = 3gg(x) = 2x − 1g(3) = 55ff(x) = x² + 1f(5) = 26f(g(3)) = 26
    In f(g(x)) the output of g becomes the input of f.
    Order matters

    With \(f(x)=x^{2}+1\) and \(g(x)=2x-1\), we get \(f(g(x))=(2x-1)^{2}+1=4x^{2}-4x+2\) but \(g(f(x))=2x^{2}+1\). To decompose a function, find an inner piece and an outer piece, for example \(h(x)=\sqrt{x^{2}+9}\) is \(f(x)=\sqrt{x}\) after \(g(x)=x^{2}+9\).

    How do you find an inverse function?

    An inverse function \(f^{-1}\) undoes \(f\): if \(f(a)=b\) then \(f^{-1}(b)=a\). Its graph is the mirror image of the graph of \(f\) across \(y=x\).

    1. Write \(y=f(x)\).
    2. Swap \(x\) and \(y\).
    3. Solve the new equation for \(y\).
    4. Name the result \(f^{-1}(x)\) and verify that \(f^{-1}(f(x))=x\).

    Example: for \(f(x)=\frac{x}{x+2}\) swap to get \(x=\frac{y}{y+2}\), so \(xy+2x=y\) and \(y=\frac{2x}{1-x}\). Check: \(f(1)=\frac{1}{3}\) and \(f^{-1}(\frac{1}{3})=1\).

    xy−3−2−1123−3−2−1123(0, 1)(1, 2)(1, 0)(2, 1)ff⁻¹y = x
    The graph of f⁻¹ is the reflection of the graph of f across the line y = x.

    Why must a domain sometimes be restricted?

    Only one-to-one functions have inverse functions. The horizontal line test checks this: a horizontal line must never meet the graph twice.

    xy−3−2−1123−2−112345y = x²xy−3−2−1123−2−112345y = x³/4
    A horizontal line that meets a graph twice shows that the function is not one-to-one.

    The parabola \(y=x^{2}\) fails the test, but keeping only \(x \ge 0\) passes it and gives the inverse \(y=\sqrt{x}\).

    xy−3−2−11234−2−11234(2, 4)(4, 2)x², x < 0x², x ≥ 0√x
    Keeping only x ≥ 0 makes y = x² one-to-one, so its inverse is y = √x.

    Functions: Domain, Range, Composition and Inverses: frequently asked questions

    How do you write a domain in interval notation?

    List the allowed x-values from left to right, using brackets for included endpoints and parentheses for excluded ones or for infinity. For \(f(x)=\sqrt{x-1}\) the domain is \([1,\infty)\).

    Is f(g(x)) the same as g(f(x))?

    Usually not. With \(f(x)=x+3\) and \(g(x)=2x\), \(f(g(x))=2x+3\) but \(g(f(x))=2x+6\).

    How do you check that two functions are inverses?

    Show that \(f(g(x))=x\) and \(g(f(x))=x\) for every x in the proper domains. One composition alone is not enough to be sure.

    Why does y = x squared have no inverse function?

    Two different inputs such as \(-2\) and \(2\) give the same output \(4\), so reversing the rule would give two answers. Restricting to \(x \ge 0\) fixes that.

    How do you read an inverse value from a graph or table?

    To find \(f^{-1}(b)\), locate the output \(b\) and read the matching input. If the table shows \(f(4)=9\), then \(f^{-1}(9)=4\).

    What limits the inputs of a function?

    Look for three trouble spots. A denominator cannot be zero, an even root cannot hold a negative number, and a log needs a positive input. For \(f(x)=\frac{\sqrt{x-3}}{x-7}\), the root forces \(x\ge 3\), and the denominator removes 7. As a result, the domain is \([3,7)\cup(7,\infty)\).

    How do you compose two functions?

    Start with the inner rule. If \(f(x)=x^{2}-1\) and \(g(x)=x+3\), then \(f(g(x))=(x+3)^{2}-1=x^{2}+6x+8\). Reversing the order gives \(g(f(x))=x^{2}+2\), which differs. Therefore composition is not commutative. Decomposition runs the other way: \(h(x)=\frac{1}{(x-3)^{2}}\) splits into \(g(x)=x-3\) and \(f(x)=\frac{1}{x^{2}}\).

    How do you build an inverse function?

    Swap \(x\) and \(y\), then solve for \(y\). For \(f(x)=\frac{x+5}{2}\), swapping gives \(x=\frac{y+5}{2}\), so \(f^{-1}(x)=2x-5\). To confirm, compose both ways and look for \(x\). In addition, a graph supplies a shortcut: if \(f(4)=-1\), then \(f^{-1}(-1)=4\).

    Why does a domain sometimes need a restriction?

    The parabola \((x-4)^{2}\) fails the horizontal line test, so it has no inverse. Restricting to \(x\ge 4\) keeps one branch, and then \(f^{-1}(x)=4+\sqrt{x}\).

    How can you review these skills quickly?

    Choose one function with a root and a fraction. Write its domain, compose it with a line, and find its inverse after a restriction. Doing all three on one example reveals how the ideas connect.

    Next step after this precalculus functions review lesson: Functions: Domain, Range, Composition and Inverses worksheet

    Printable PDF · Lesson

    Precalculus Functions: Domain, Range, Composition and Inverses lesson

    • 📄 US Letter
    • 💾 125 KB
    • 🖨️ Black and white friendly
    Download the PDF

    See every chapter on the Precalculus math page.

    Rate this page

    Mathovore apps

    Our free apps and software

    Apps to practice math, and software for Windows.

    Discover
    Math textbooks to download in PDF, from grade 1 to precalculus