ASCENTLEARNING
Join a weekly class
Skip to learning content
Year 12 · Functions and graph sketching · 22 min

Composition and domain restrictions

Build a composite function and keep every domain restriction.

01 / LEARN

The idea, step by step

Order matters

In f composed with g, g acts first. Substitute its complete output into the rule for f, including brackets. The notation f(g(x)) is not a product and composition generally does not commute.

A composite exists only when x belongs to the inner domain and its resulting value belongs to the outer domain. Check both conditions before simplifying.

Simplification does not restore inputs

For a root, the radicand must be nonnegative; for a real logarithm, its argument must be positive; for a denominator, its value must be nonzero. Carry these restrictions through a simplification even if the final expression looks less restricted.

Checking a proposed domain by trying an endpoint often exposes a lost exclusion. The domain is part of the function, not an optional annotation.

A common trap

Using only the domain of the simplified expression.

Instead: Intersect the inner domain with the condition that its output is accepted by the outer function.

02 / WORKED EXAMPLES

See the thinking

Example 1

Root after a line

Let f⁡(x)=x−1 and g⁡(x)=2⁢x+3. Find both compositions and their domains.

  1. For f after g, require 2⁢x+3≥1.
  2. For g after f, the inner root requires x≥1; g accepts every real output.
f⁡(g⁡(x))=2⁢x+2, x≥−1; g⁡(f⁡(x))=2x−1+3, x≥1.
Example 2

A hidden restriction survives

Let f⁡(x)=x and g⁡(x)=x2−4. Find the domain of g⁡∘f⁡.

  1. The inner square root must be defined.
  2. After substitution, g⁡(f⁡(x))=x−4, but the original inner-domain restriction remains.
x≥0.

Check your understanding

For f⁡(x)=1⁢/⁢x and g⁡(x)=x−4, which input is excluded from f⁡(g⁡(x))?

Show answer

x=4.

It would send zero into the reciprocal.

03 / WORKSHEET

Your turn

6 questions · 20 marks · Work at your own pace.

Read the questions online
  1. Let f⁡(x)=x−1 and g⁡(x)=2⁢x+3. Find both compositions and their domains.
    4 marks
  2. Let f⁡(x)=1⁢/⁢(x−2) and g⁡(x)=x2. Find the domain of f⁡∘g⁡.
    3 marks
  3. For f⁡(x)=lnx and g⁡(x)=3−x, find (f⁡∘g⁡)⁢(x) and its domain.
    3 marks
  4. Let f⁡(x)=x and g⁡(x)=x2−4. Find the domain of g⁡∘f⁡.
    3 marks
  5. Let f⁡(x)=x+1 and g⁡(x)=1⁢/⁢x. Compare f⁡∘g⁡ and g⁡∘f⁡.
    4 marks
  6. Let f⁡(x)=4−x2 and g⁡(x)=x−1. Find the domain of f⁡∘g⁡.
    3 marks
Read the worked solutions

Equivalent correct methods earn the corresponding marks. Include units where asked.

  1. Let f⁡(x)=x−1 and g⁡(x)=2⁢x+3. Find both compositions and their domains.
    4 marks

    For f after g, require 2⁢x+3≥1.

    For g after f, the inner root requires x≥1; g accepts every real output.

    f⁡(g⁡(x))=2⁢x+2, x≥−1; g⁡(f⁡(x))=2x−1+3, x≥1.
  2. Let f⁡(x)=1⁢/⁢(x−2) and g⁡(x)=x2. Find the domain of f⁡∘g⁡.
    3 marks

    f⁡(g⁡(x))=1⁢/⁢(x2−2).

    Require x2−2≠0.

    All real x except ±2.
  3. For f⁡(x)=lnx and g⁡(x)=3−x, find (f⁡∘g⁡)⁢(x) and its domain.
    3 marks

    The logarithm requires 3−x>0.

    ln(3−x), x<3.
  4. Let f⁡(x)=x and g⁡(x)=x2−4. Find the domain of g⁡∘f⁡.
    3 marks

    The inner square root must be defined.

    After substitution, g⁡(f⁡(x))=x−4, but the original inner-domain restriction remains.

    x≥0.
  5. Let f⁡(x)=x+1 and g⁡(x)=1⁢/⁢x. Compare f⁡∘g⁡ and g⁡∘f⁡.
    4 marks

    Substitute into the outer rule in each order.

    The expressions and excluded inputs differ.

    1⁢/⁢x+1 with x≠0; 1⁢/⁢(x+1) with x≠−1.
  6. Let f⁡(x)=4−x2 and g⁡(x)=x−1. Find the domain of f⁡∘g⁡.
    3 marks

    Require −2≤x−1≤2.

    Add 1 throughout.

    −1≤x≤3.
Checking saved progress…

Continue learning

One-to-one functions

Next lesson
Curriculum reference & lesson scope

SACE Board of South Australia

Stage 2 Specialist functions and sketching graphs. Calculus-based analysis assumes concurrent Methods differentiation; real-polynomial division detail is taught in the separate Real Polynomials chapter.

Official curriculum source ↗
Back to Functions and graph sketching

Save your next step.

Create a free account to save your learning progress. Lessons and downloads stay free, with or without an account.

Create free account