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.

In this lesson

Before you start
  • Year 11 functions and algebra
  • Methods differentiation for stationary-point analysis
01 / LEARN

Understand the idea.

Order matters

In the composition (f⁡∘g⁡)⁢(x)=f⁡(g⁡(x)), g⁡ acts first. Treat its complete rule as the input of f⁡, using brackets where needed. Reversing the order usually changes both the rule and the allowed inputs.

Check two conditions: x must belong to the domain of the inner function, and the resulting inner output must belong to the domain of the outer function. Neither condition can be replaced by simplifying the final rule.

Simplification does not restore inputs

For real-valued functions, a square root needs a nonnegative radicand, a logarithm needs a positive argument, and a denominator must be nonzero. Apply these restrictions at the stage where each operation occurs.

Simplification can hide an earlier restriction. If (x)2 simplifies to x, the original square root still required x≥0. A function is its rule together with its domain, not the algebraic expression alone.

02 / WORKED EXAMPLES

See the method in action.

EXAMPLE 01

Root after a line

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

Worked solution

  1. 1

    Substitute g⁡ into f⁡.

    f⁡(g⁡(x))=(2⁢x+3)−1=2⁢x+2.

    The whole output of the linear function replaces the input of the square root.

  2. 2

    Find the first composition domain.

    2⁢x+2≥0 ⇒ x≥−1.

    The inner linear function accepts every real input, and the outer radicand must be nonnegative.

  3. 3

    Reverse the order.

    g⁡(f⁡(x))=2x−1+3.

    Now the root function acts first and its output enters the linear function.

  4. 4

    Find the reverse composition domain.

    x−1≥0 ⇒ x≥1.

    The inner root restricts x; the outer linear function places no additional restriction.

Answer

f⁡(g⁡(x))=2⁢x+2, x≥−1; g⁡(f⁡(x))=2x−1+3, x≥1.

EXAMPLE 02

A hidden restriction survives

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

Worked solution

  1. 1

    Apply the inner-domain restriction.

    f⁡(x)=x⇒x≥0.

    The real square root must exist before the outer function can act.

  2. 2

    Compose and simplify on that domain.

    g⁡(f⁡(x))=(x)2−4=x−4,x≥0.

    Squaring undoes the root only at inputs where the root was defined.

  3. 3

    Check for further restrictions.

    dom⁢(g⁡∘f⁡)=[0,∞).

    The outer polynomial accepts every output of the root, so there is no additional exclusion.

Answer

x≥0.

03 / YOUR TURN

Try it yourself.

Check your understanding

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

Show answer & reasoning

x=4.

The composition is f⁡(g⁡(x))=1x−4. At x=4, the inner function produces zero, which the reciprocal cannot accept; therefore 4 is excluded.

Keep practising

6 worksheet questions · 20 marks

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)=1x−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)=1x. 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)=1x−2 and g⁡(x)=x2. Find the domain of f⁡∘g⁡.
    3 marks

    f⁡(g⁡(x))=1x2−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)=1x. Compare f⁡∘g⁡ and g⁡∘f⁡.
    4 marks

    Substitute into the outer rule in each order.

    The expressions and excluded inputs differ.

    1x+1 with x≠0; 1x+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…
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 ↗

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