JentooACT®

ACT® · Math: Functions — Composition, Transformation, and Inverse Functions

Domain and Range of a Composition

The domain of f(g(x)) is every x that survives two checks: x must be allowed into g, and g(x) must be allowed into f. It is never just the domain of g alone.

Think of two machines wired in series. The first machine, g, takes in x and produces an output. That output feeds straight into the second machine, f. For the whole pipeline to work, x has to be legal for g, but that is not enough — the number g spits out has to be legal for f too. If f chokes on some value that g happily produces, that x gets kicked out of the domain of the composition, even though g itself was fine with it.

This is why composing functions can shrink the set of usable inputs. g might accept all real numbers, but if f is something like 1/x or √x, f is picky about what it accepts. Any x that makes g(x) land on a number f rejects — like 0 for a reciprocal, or a negative number for a square root — has to be excluded, even though g never complained. So the rule is: screen x against g's domain first, then take g(x) and screen that against f's domain. Both screens have to pass.

This connects directly to how composition itself is built: you always evaluate the inner function first, then feed the result into the outer one, so the domain logic follows the same inside-out order. It also sets up inverse functions, where swapping input and output roles means swapping domain and range, and transformations, where shifting or stretching a parent graph can shift or stretch its domain and range the same way.

Key terms

Composition
Combining two functions by feeding the output of one directly into the other, written f(g(x)).
Domain
The complete set of input values a function is allowed to accept.
Range
The complete set of output values a function can actually produce.
Inner function
In f(g(x)), the function g, which is evaluated first on the original input.
Outer function
In f(g(x)), the function f, which is evaluated second using the inner function's output.

Watch it explained

  1. How it worksHow do you screen an input against the inner function's domain and then the outer one's?
  2. Worked exampleFind the domain of f(g(x)) when f(x) = 1 over x and g(x) = x - 3.
  3. Common mistakeWhy doesn't a composition's domain just equal the inner function's domain?
  4. Going furtherWhat happens to the outputs of f(g(x)) when the inner function only ever returns non-negative numbers?

Check yourself

Your turneasy1 of 3
f(x) = 1/x and g(x) = x - 11. Which value of x must be excluded from the domain of f(g(x))?

End of topic.