VertexMath · MHF4U · Free worksheet

Combining Functions Review

Try each problem first. You don’t need to finish everything.

Core path ~55 min Full sheet ~1 h 45 min

Recommended: K1–K5, then one A and one T problem

K = Knowledge & Understanding · A = Application · T = Thinking · Boss = Challenge

vertexmath.ca Hints, answers & more worksheets

Show your work on separate paper. Show your work in the dot-grid space.

Core Skills (K)

Sums & Differences · Products & Quotients · Composition · Solving

K1 Sums & Differences

  1. a)
    For f(x)=3x2−2x+5f(x)=3x^2-2x+5 and g(x)=x2−4x+7g(x)=x^2-4x+7, simplify (f−g)(x)(f-g)(x).
  2. b)
    For p(x)=x+2p(x)=\sqrt{x+2} and q(x)=4−xq(x)=\sqrt{4-x}, state the domain of (p+q)(x)(p+q)(x) in interval notation.
  3. c)
    The lines y=f(x)y=f(x) and y=g(x)y=g(x) are graphed below. Each grid square is 1 unit. Evaluate (f+g)(4)(f+g)(4), then find the value of xx where (f+g)(x)=0(f+g)(x)=0.
    Two lines on a grid. Line f rises, crossing the x-axis at 2 and passing through (-2, -4) and (4, 2). Line g falls, crossing the y-axis at 3 and passing through (-2, 4) and (4, 1).xy−4−3−123459−5−4124567fg
Stuck? Peek at a hint

Put brackets around g(x)g(x) before subtracting, so the minus sign reaches every term. For the graph, read f(4)f(4) and g(4)g(4) separately, then add.

K2 Products & Quotients

  1. a)
    For f(x)=x+4f(x)=x+4 and g(x)=2x−3g(x)=2x-3, simplify (fg)(x)(fg)(x).
  2. b)
    For f(x)=x2−9f(x)=x^2-9 and g(x)=x2+x−6g(x)=x^2+x-6, simplify (fg)(x)\left(\dfrac{f}{g}\right)(x) and state its domain.
  3. c)
    For u(x)=x−1u(x)=\sqrt{x-1} and v(x)=x−4v(x)=x-4, state the domains of (uv)(x)\left(\dfrac{u}{v}\right)(x) and (vu)(x)\left(\dfrac{v}{u}\right)(x) in interval notation.
Stuck? Peek at a hint

Find the domain from the original ff and gg before you cancel anything. Then remove every xx that makes the denominator function zero.

K3 Composition from a Table

Use the table of values for ff and gg.

xx −2-2−1-100112233
f(x)f(x) 3300−1-1003388
g(x)g(x) 223311−2-200−1-1
  1. a)
    Evaluate f(g(0))f(g(0)) and g(f(0))g(f(0)).
  2. b)
    Evaluate (g∘g)(1)(g\circ g)(1) and (f∘g)(2)(f\circ g)(2).
  3. c)
    Find every xx in the table for which f(g(x))=0f(g(x))=0.
Stuck? Peek at a hint

Work from the inside out: find the inner value g(a)g(a) in the table first, then look up that number in the xx row again.

K4 Composition Rules

  1. a)
    For f(x)=x2+xf(x)=x^2+x and g(x)=x−2g(x)=x-2, simplify f(g(x))f(g(x)).
  2. b)
    For the same ff and gg, simplify g(f(x))g(f(x)).
  3. c)
    For p(x)=x2−5p(x)=x^2-5 and q(x)=x+3q(x)=\sqrt{x+3}, simplify p(q(x))p(q(x)) and state its domain in interval notation.
Stuck? Peek at a hint

Replace every xx in the outer function by the whole inner expression, in brackets.

K5 Solving with Combined Functions

  1. a)
    Find the points of intersection of f(x)=x2−2xf(x)=x^2-2x and g(x)=x+4g(x)=x+4.
  2. b)
    For p(x)=x+6p(x)=\sqrt{x+6} and q(x)=xq(x)=x, solve p(x)=q(x)p(x)=q(x).
  3. c)
    For f(x)=(x+1)2f(x)=(x+1)^2 and g(x)=x−3g(x)=x-3, solve (fg)(x)>0(fg)(x)>0. Give your answer in interval notation.
Stuck? Peek at a hint

Set the two expressions equal (or move everything to one side) and solve. Then substitute each answer, or a test point from each interval, into the original.

Real World (A)

Profit Models · Damped Motion · Composite Models

A1 Festival Food Truck

A food truck at a summer festival in Ottawa sells xx meals a day when it charges p(x)=15−0.025xp(x)=15-0.025x dollars per meal. Its daily cost is C(x)=4x+400C(x)=4x+400 dollars.

  1. a)
    Write the revenue R(x)=x⋅p(x)R(x)=x\cdot p(x) and the profit P(x)=R(x)−C(x)P(x)=R(x)-C(x) in simplified form.
  2. b)
    How many meals must the truck sell to break even? For which numbers of meals does it make a profit?
  3. c)
    The truck's fridge holds ingredients for only 150 meals a day. How many meals should it sell to make the most profit? State the price per meal and the daily profit.
Stuck? Peek at a hint

Multiply out x(15−0.025x)x(15-0.025x), then subtract all of C(x)C(x) in brackets.

A2 Diving Board

After a diver leaves a diving board, the vertical position of the board's tip, in centimetres above its rest position, is modelled by d(t)=12(0.5)tcos⁡(2πt)d(t)=12(0.5)^t\cos(2\pi t), where tt is the time in seconds.

  1. a)
    Evaluate d(0.5)d(0.5) and d(1)d(1), to one decimal place. Where is the tip at each time?
  2. b)
    The factor 12(0.5)t12(0.5)^t sets the size of each swing. After how many seconds are the swings smaller than 0.5 cm? Round to one decimal place.
  3. c)
    Evaluate the swing size 12(0.5)t12(0.5)^t at t=10t=10. According to the model, does the board ever stop moving? Is the model still useful at t=10t=10?
Stuck? Peek at a hint

For (b), solve 12(0.5)t=0.512(0.5)^t=0.5 using logarithms.

A3 Weather Balloon

A weather balloon rises so that its altitude, in kilometres, tt minutes after launch is h(t)=0.3th(t)=0.3t. Up to an altitude of 11 km, the air temperature in °C at altitude hh km is T(h)=15−6.5hT(h)=15-6.5h.

  1. a)
    Find T(h(t))T(h(t)) in simplified form. What do its input and its output represent?
  2. b)
    When does the balloon reach air at −24-24 °C, and at what altitude?
  3. c)
    Evaluate T(h(50))T(h(50)). Should you believe the result? State the domain of T∘hT\circ h in this context.
Stuck? Peek at a hint

The balloon's altitude depends on time, and the temperature depends on altitude: hh is the inner function.

Think It Through (T)

Error Analysis · Building Functions

T1 Spot the Flaw

A student solves f(x)≥g(x)f(x)\ge g(x) for f(x)=x3f(x)=x^3 and g(x)=4xg(x)=4x:
"x3≥4xx^3\ge4x. Divide both sides by xx: x2≥4x^2\ge4. Therefore x≤−2x\le-2 or x≥2x\ge2."

  1. a)
    Test x=−1x=-1 and x=−3x=-3 in the original inequality. What does each test show about the student's answer?
  2. b)
    Identify the flawed step and explain what went wrong.
  3. c)
    Solve x3≥4xx^3\ge4x correctly. Give your answer in interval notation.
Stuck? Peek at a hint

For (c), write x3−4x≥0x^3-4x\ge0 and factor completely.

T2 Build It Backwards

Many answers are possible. Neither ff nor gg may be y=xy=x.

  1. a)
    Find ff and gg such that f(g(x))=(3x−1)5+2f(g(x))=(3x-1)^5+2.
  2. b)
    Write k(x)=x2+1k(x)=\sqrt{x^2+1} as f(g(x))f(g(x)) in two different ways.
  3. c)
    Find two functions ff and gg with f(g(x))=g(f(x))f(g(x))=g(f(x)) for every xx. Show that they work.
Stuck? Peek at a hint

Ask what is done to xx first: that step is the inner function gg.

Boss Level

Optional challenge

Going in Circles

Let f(x)=11−xf(x)=\dfrac{1}{1-x}. Define f1(x)=f(x)f_1(x)=f(x) and fn+1(x)=f(fn(x))f_{n+1}(x)=f(f_n(x)), so fnf_n applies ff a total of nn times.

  1. a)
    Simplify f2(x)=f(f(x))f_2(x)=f(f(x)).
  2. b)
    Simplify f3(x)f_3(x).
  3. c)
    Find f2026(2)f_{2026}(2).
Stuck? Peek at a hint

For (a), write 1−11−x1-\dfrac{1}{1-x} as a single fraction first. For (c), apply ff to 22 a few times and watch for a repeat.

vertexmath.ca Hints, answers & more worksheets

Free to print, copy, adapt and share for classroom use · CC BY-NC 4.0 · © VertexMath

Answer key

Final answers only. Try first, then check.

Core Skills

K1
  • a) (f−g)(x)=2x2+2x−2(f-g)(x)=2x^2+2x-2
  • b) [−2,4][-2,4]
  • c) (f+g)(4)=3(f+g)(4)=3; x=−2x=-2
K2
  • a) (fg)(x)=2x2+5x−12(fg)(x)=2x^2+5x-12
  • b) (fg)(x)=x−3x−2\left(\dfrac{f}{g}\right)(x)=\dfrac{x-3}{x-2}; D={x∈R∣x≠−3, x≠2}D=\{x\in\mathbb{R}\mid x\ne-3,\ x\ne2\}
  • c) uv\dfrac{u}{v}: [1,4)∪(4,∞)[1,4)\cup(4,\infty); vu\dfrac{v}{u}: (1,∞)(1,\infty)
K3
  • a) f(g(0))=0f(g(0))=0; g(f(0))=3g(f(0))=3
  • b) (g∘g)(1)=2(g\circ g)(1)=2; (f∘g)(2)=−1(f\circ g)(2)=-1
  • c) x=0x=0 and x=3x=3
K4
  • a) f(g(x))=x2−3x+2f(g(x))=x^2-3x+2
  • b) g(f(x))=x2+x−2g(f(x))=x^2+x-2
  • c) p(q(x))=x−2p(q(x))=x-2; D=[−3,∞)D=[-3,\infty)
K5
  • a) (−1,3)(-1,3) and (4,8)(4,8)
  • b) x=3x=3 (the value x=−2x=-2 is extraneous)
  • c) (3,∞)(3,\infty)

Real World

A1
  • a) R(x)=15x−0.025x2R(x)=15x-0.025x^2; P(x)=−0.025x2+11x−400P(x)=-0.025x^2+11x-400
  • b) Break even at 4040 or 400400 meals; profit for 40<x<40040<x<400 (41 to 399 meals).
  • c) 150 meals at $11.25 each, for a profit of $687.50. The vertex (x=220x=220, $810) is out of reach, and PP is still increasing at x=150x=150.
A2
  • a) d(0.5)≈−8.5d(0.5)\approx-8.5: 8.5 cm below rest; d(1)=6.0d(1)=6.0: 6 cm above rest.
  • b) After about 4.64.6 s (t>log⁡224≈4.58t>\log_2 24\approx4.58).
  • c) About 0.0120.012 cm (0.1 mm). The model never reaches 00, since (0.5)t>0(0.5)^t>0, so it never stops. A real board stops because of friction, and a 0.1 mm swing can't be seen: past about 5 s the model describes no visible motion.
A3
  • a) T(h(t))=15−1.95tT(h(t))=15-1.95t; input: minutes since launch; output: the air temperature (°C) at the balloon.
  • b) After 2020 minutes, at 66 km.
  • c) T(h(50))=−82.5T(h(50))=-82.5 °C, but h(50)=15h(50)=15 km is above 11 km, where TT no longer applies (real air there stays near −56-56 °C). Domain: 0≤t≤11030\le t\le\frac{110}{3}, about [0,36.7][0,36.7] minutes.

Think It Through

T1
  • a) x=−1x=-1: −1≥−4-1\ge-4 is true, but the student left it out. x=−3x=-3: −27≥−12-27\ge-12 is false, but the student included it.
  • b) Dividing by xx: the sign of xx is unknown, so for x<0x<0 the inequality should flip, and x=0x=0 (a solution) is lost.
  • c) [−2,0]∪[2,∞)[-2,0]\cup[2,\infty)
T2
  • a) e.g. g(x)=3x−1g(x)=3x-1, f(x)=x5+2f(x)=x^5+2
  • b) e.g. g(x)=x2+1g(x)=x^2+1, f(x)=xf(x)=\sqrt{x}; or g(x)=x2g(x)=x^2, f(x)=x+1f(x)=\sqrt{x+1}
  • c) e.g. f(x)=x+2f(x)=x+2, g(x)=x−5g(x)=x-5: both composites equal x−3x-3. Or f(x)=2xf(x)=2x, g(x)=3xg(x)=3x: both equal 6x6x.

Boss Level

Boss
  • a) f2(x)=x−1xf_2(x)=\dfrac{x-1}{x} (x≠0,1x\ne0,1)
  • b) f3(x)=xf_3(x)=x (x≠0,1x\ne0,1)
  • c) −1-1 (since 2026=3⋅675+12026=3\cdot675+1, f2026(2)=f(2)f_{2026}(2)=f(2))

Free worksheet · vertexmath.ca · Free to print and share for classroom use

Free to print, copy, adapt and share for classroom use · CC BY-NC 4.0 · © VertexMath

vertexmath.ca Hints, answers & more worksheets

Free cheat sheet

Combining Functions Cheat Sheet

The whole unit on one page: every rule, a worked example for each idea, and the traps that cost marks.

Unit Summary

One printable page with every rule.

Build your own

The same page with blanks: fill it in from memory, then check.

Phone card

The essentials on one screen. Save it to your photos.

Most testedFor f(x)=x−1f(x)=\sqrt{x-1} and g(x)=x2+2g(x)=x^2+2, find f(g(x))f(g(x)) and g(f(x))g(f(x)) with their domains. (card 4)

1Sums and differences

(f±g)(x)=f(x)±g(x)(f\pm g)(x)=f(x)\pm g(x)

UseDomain: where both ff and gg are defined. Graph: add (or subtract) the yy-values at each xx.

Examplef(x)=xf(x)=\sqrt x, g(x)=4−xg(x)=\sqrt{4-x}: f+gf+g has domain [0,4][0,4].

TrapSubtract every term of gg: (x2+1)−(2x−3)=x2−2x+4(x^2+1)-(2x-3)=x^2-2x+4, not x2−2x−2x^2-2x-2.

2Products and quotients

(fg)(x)=f(x) g(x)(fg)(x)=f(x)g(x)(fg)(x)=f(x)\,g(x)\qquad\left(\dfrac fg\right)(x)=\dfrac{f(x)}{g(x)}

UseDomain of f/gf/g: both defined and g(x)≠0g(x)\ne0, found before simplifying. Sign of fgfg: multiply the signs. y=ae−kxsin⁡xy=ae^{-kx}\sin x: the amplitude ae−kxae^{-kx} shrinks toward 00 but never reaches it.

Trap(x2−9)/(x+3)(x^2-9)/(x+3) simplifies to x−3x-3 but still excludes x=−3x=-3.

3Composition

(f∘g)(x)=f(g(x))(f\circ g)(x)=f(g(x))

UseInside first: apply gg, then ff. Replace every xx in ff with g(x)g(x). In general f(g(x))≠g(f(x))f(g(x))\ne g(f(x)), and f∘gf\circ g is not fgfg.

Examplef(x)=x2f(x)=x^2, g(x)=x+3g(x)=x+3: f(g(x))=(x+3)2f(g(x))=(x+3)^2, but g(f(x))=x2+3g(f(x))=x^2+3.

Trapf(g(2))f(g(2)): find g(2)g(2) first, then put it into ff. Not f(2)f(2) combined with g(2)g(2).

4Composite domain and decomposition

UseDomain of f∘gf\circ g: xx in the domain of gg and g(x)g(x) in the domain of ff. Find it before simplifying. To decompose, name the inner step gg and the outer step ff.

Examplef(x)=x−1f(x)=\sqrt{x-1}, g(x)=x2+2g(x)=x^2+2: f(g(x))=x2+1f(g(x))=\sqrt{x^2+1} on R\mathbb{R}; g(f(x))=x+1g(f(x))=x+1 on x≥1x\ge1.

Trapp(x)=x2p(x)=x^2, q(x)=x−2q(x)=\sqrt{x-2}: p(q(x))=x−2p(q(x))=x-2, but its domain is x≥2x\ge2, not R\mathbb{R}.

5Equations and inequalities

Usef(x)=g(x)f(x)=g(x): solve f(x)−g(x)=0f(x)-g(x)=0, or read the intersections from a graph. Inequality: everything on one side, factor, test every interval. Squaring both sides can add roots: check them.

TrapA squared factor never changes sign: (x+1)2(x−3)<0(x+1)^2(x-3)<0 means x<3x<3, x≠−1x\ne-1.

TrapNever divide by xx of unknown sign: x2>2xx^2>2x is x<0x<0 or x>2x>2.

6Modelling

UseProfit = revenue − cost: a difference. Price × quantity: a product. One quantity feeds the next: a composition, inner first. Check the domain against the context.

ExampleFuel V(d)=0.08dV(d)=0.08d L and cost C(V)=1.6VC(V)=1.6V: cost of a trip C(V(d))=0.128dC(V(d))=0.128d.

TrapUse the vertex only if it is in the allowed domain, such as below a capacity limit.

Which combination?

Quantities add or subtract f±gf\pm g
One quantity scales another fgfg
One output is the next input f(g(x))f(g(x))

More free MHF4U worksheets

Other courses

All MHF4U resources → · All free resources →

What is VertexMath?

VertexMath is daily math practice for Ontario high school students, with a tutor that asks questions instead of giving answers. These worksheets are free, whether or not you use it.

Visit vertexmath.ca →

Free to print, copy, adapt and share for classroom use · CC BY-NC 4.0 · © VertexMath