Euler Hall — free maths guides

Find the domain of a composite function from the inner function's range

State the two conditions a composite needs to be defined. The idea in plain words, a worked example, and a check with the answers shown — part of the free Precalculus guides.

Two conditions, and the second one is the surprising one

f(g(x))f(g(x)) is defined when:

  1. 1. the inner input is allowed —xx is ingg's domain; and
  2. 2. the inner VALUE is allowed by the outer rule —g(x)g(x) must lie whereff is defined.

The first condition is familiar. The second is the one that catches people out, because it is about the inner function's outputs rather than its inputs.

Why the outer rule constrains the inner output

The composite has no value when the outer rule cannot accept what the inner rule produces. So the condition is "the inner value must be in the outer rule's domain", which is a constraint on the inner output.

That is why the answer can be a union of two intervals, or empty. A root on the outside forbids the inner rule's negative outputs; a reciprocal on the outside forbids the inner rule's zeros. Neither constraint says anything about which inputs are convenient — both are about what the inner rule gives.

Worked example with a reciprocal outer rule

Find the domain ofy=1x2−4y=\dfrac{1}{x^2-4}.

Outer rule. A reciprocal forbids its input being zero, so the inner value must not be00.

Inner rule.x2−4=0x^2-4=0 atx=±2x=\pm2.

Domain. Every real number except22 and−2-2.

A second example, with a root outside.y=x−1y=\sqrt{x-1} overg(x)=x2g(x)=x^2 would bey=x2−1y=\sqrt{x^2-1}, whose domain needsx2≥1x^2\ge1:x≤−1x\le-1 orx≥1x\ge1. Again the condition is on the inner value.

A third, showing both conditions at once.y=xy=\sqrt{x} composed withg(x)=x−4g(x)=\sqrt{x-4}, that isy=x−4y=\sqrt{\sqrt{x-4}}. The inner rule needsx≥4x\ge4; the outer rule needs the inner value non-negative, which it automatically is. So the domain isx≥4x\ge4, and only one of the two conditions did any work.

By the end you can
  • State the two conditions a composite needs to be defined
  • Constrain the inner VALUE by the outer rule's domain
  • Solve the resulting inequality, including when it gives a union
  • Recognise an empty domain
Check yourself
  1. 1. Domain ofy=x−3y=\sqrt{x-3}?
  2. 2. Domain ofy=1x2−1y=\dfrac{1}{x^2-1}?
  3. 3. Domain ofy=9−x2y=\sqrt{9-x^2}?
  4. 4. When is a composite's domain empty?
Answers

1.x≥3x\ge3. 2. Every real number except11 and−1-1. 3.−3≤x≤3-3\le x\le3, since the radicand must be non-negative. 4. When the inner rule can never produce a value the outer rule accepts — for instance−x2−1\sqrt{-x^2-1}, whose radicand is always negative.

Work out where to start — free, no accountAnswer six real questions — free, no account