Function Composition and Inverse Function Finder

Composes two functions both ways, works out each composite's domain, finds inverses by undoing operations, checks one-to-one and graphs the reflection in y = x.

브라우저에서 실행됩니다. 파일은 기기 밖으로 나가지 않습니다. 확인하는 방법 보기

…

사용 방법

  1. 1
    Enter f and g

    Type both functions or press an example pair.

  2. 2
    Read the composites

    The Composition tab shows f(g(x)), g(f(x)) and their domains.

  3. 3
    Evaluate

    Enter a value of x to see g(x), then f(g(x)), worked from the inside out.

  4. 4
    Find the inverse

    The Inverse tab shows f⁻¹ with steps, the one-to-one check and the reflection graph.

  5. 5
    Practise

    Practice has three levels: evaluate, compose and invert.

  6. 6
    Save or print

    Save the pair or use Print / PDF for the results and steps.

이 도구 소개

Composition and inverses are where function notation stops being a label and becomes a tool. This finder takes two functions f and g and gives f(g(x)) and g(f(x)), simplified, and works out the domain of each composite from the unsimplified form, which is where students most often go wrong. For example, f(x) = x² + 1 and g(x) = √(x - 2) give f(g(x)) = x - 1, but only for x ≥ 2. You can evaluate both composites at a point and see the inside-out order. For inverses, the tool writes y = f(x), undoes each operation in reverse order with a named step (subtract, divide, take a root, take a logarithm, apply an inverse trigonometric function) and swaps the letters; rational functions of the form (ax + b)/(cx + d) are solved by collecting the x terms. A horizontal line check says whether f is one-to-one, and the graph shows f, its inverse and the mirror line y = x.

Composition

f(g(x)) means apply g first, then f. To find it, replace every x in f by the whole expression g(x). The order matters: f(g(x)) and g(f(x)) are usually different, and the tool shows both.

Domain of a composite

x must be in the domain of g, and g(x) must be in the domain of f. Simplifying can hide a restriction. The tool therefore finds the domain by testing the composite in its original nested form across the number line, and writes it in interval notation with open and closed ends.

Inverses

A function has an inverse only if it is one-to-one: no horizontal line meets its graph twice. To find it, write y = f(x), solve for x by undoing the operations in reverse order, then swap x and y. The graph of f⁻¹ is the mirror image of f in the line y = x, and the domain of f⁻¹ is the range of f. When f is not one-to-one, such as x², restrict its domain (to x ≥ 0) before inverting.

Worked example

f(x) = x² + 1 and g(x) = √(x - 2): f(g(x)) = (√(x - 2))² + 1 = x - 1 with domain [2, ∞), and g(f(x)) = √(x² - 1) with domain (-∞, -1] ∪ [1, ∞). f(g(6)) = f(2) = 5. For h(x) = (2x + 1)/(x - 3): y(x - 3) = 2x + 1, so x(y - 2) = 3y + 1 and h⁻¹(x) = (3x + 1)/(x - 2).

Limits

Inverses are found by undoing operations, so functions in which x appears more than once (other than (ax + b)/(cx + d)) are not inverted symbolically. Domains are found numerically on -20 ≤ x ≤ 20 and endpoints are rounded. Trigonometric inverses use the principal branch. The tool is a study aid; show the algebra yourself in assessments.

풀이 예시

f = x² + 1, g = √(x - 2): f(g(x)) = x - 1 on [2, ∞); (2x + 1)/(x - 3) has inverse (3x + 1)/(x - 2).

한눈에 보기

자주 묻는 질문

What does f(g(x)) mean?

Apply g to x first, then apply f to the result. Replace every x in f by g(x).

Why can the domain of f(g(x)) be smaller than the formula suggests?

Because x must first be allowed in g. Simplifying √(x - 2)² to x - 2 hides the condition x ≥ 2, which the tool keeps.

How is the inverse found?

By writing y = f(x), undoing the operations on x in reverse order, and swapping x and y at the end. Each step is listed.

What does one-to-one mean?

Different inputs always give different outputs, so a horizontal line meets the graph at most once. Only such functions have inverses.

Why is the inverse a reflection?

Swapping x and y swaps the coordinates of every point, which reflects the graph in the line y = x.

Can I practise?

Practice asks you to evaluate f(g(a)), find f(g(x)) and find inverses; equivalent forms are accepted.

완전 무료요금 없음, 가입 없음
파일은 비공개로 유지됩니다모든 작업이 브라우저 안에서 이루어집니다
내 언어로 쉽게여러 언어로 제공