Ctrl+k

Determine the domain of a composite function

For a real-valued composite g(f(x))g(f(x)), the domain consists of inputs xx for which f(x)f(x) is defined and whose output f(x)f(x) lies in the domain of gg; it is not generally found by simply intersecting the domains of ff and gg. Determining it involves applying restrictions from denominators, even roots, logarithms, or other formulas and expressing the resulting set in interval, inequality, or set notation. The focus is on standard algebraic and graphical functions, excluding abstract-domain and complex-valued cases.

Detailed Explanation: Determine the domain of a composite function

To determine the domain of a composite function g(f(x))g(f(x)):

  1. Find where the inner function f(x)f(x) is defined.
  2. Find the domain restriction for the outer function gg.
  3. Make sure the output of f(x)f(x) satisfies the restriction for gg.
  4. Write the allowed xx-values in interval or inequality notation.

Example

Find the domain of

g(f(x))=1x−1−2,g(f(x))=\frac{1}{\sqrt{x-1}-2},

where

f(x)=x−1andg(u)=1u−2.f(x)=\sqrt{x-1} \quad\text{and}\quad g(u)=\frac{1}{u-2}.

Step 1: Restrict the inner function

The expression inside an even root must be nonnegative:

x−1≥0.x-1\ge 0.

Therefore,

x≥1.x\ge 1.

So far, the domain of ff is [1,∞)[1,\infty).

Step 2: Apply the restriction from the outer function

The denominator of g(u)=1u−2g(u)=\frac{1}{u-2} cannot equal zero. Thus,

u−2≠0,u-2\ne 0,

so the input to gg must satisfy

u≠2.u\ne 2.

In the composite function, the input to gg is f(x)=x−1f(x)=\sqrt{x-1}. Therefore,

x−1≠2.\sqrt{x-1}\ne 2.

Solve this restriction:

x−1≠4x-1\ne 4

and hence

x≠5.x\ne 5.

Step 3: Combine the restrictions

The two restrictions are

x≥1andx≠5.x\ge 1 \quad\text{and}\quad x\ne 5.

Therefore, the domain is

[1,5)∪(5,∞).\boxed{[1,5)\cup(5,\infty)}.

Notice that we did not simply intersect the domains of ff and gg. We had to check whether the output of ff was allowed as an input for gg.

Learn by doing: Determine the domain of a composite function

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Practice with unlimited practice problems

Function Composition to Domain - Integer over Root of Linear to Number Line


    ?