Topic 2.7 · Applications and Interpretation HL

The order is worth seven baht

A shop takes 100 baht off and adds 7% VAT. On a 1,000 baht ticket price that comes to 963 one way round and 970 the other. The seven baht is the VAT on the discount, and it is seven baht at every price.

1000 baht
963discount, then VAT
970VAT, then discount
7 baht apartverdict

The same two operations. Only the order changes, and the gap never does.

Writing it down

Call the two operations d for discount and v for VAT:

  1. d(x) = x − 100
  2. v(x) = 1.07x

Then the two orders are two different composite functions:

  1. (v ∘ d)(x) = v(d(x)) = 1.07(x − 100) = 1.07x − 107
  2. (d ∘ v)(x) = d(v(x)) = 1.07x − 100

Subtract them and the x disappears: the gap is 7, whatever the price. That is the 7% VAT on the 100 baht that one order charges and the other does not.

(f ∘ g)(x) means f(g(x)): g happens first. The function written on the inside runs first, which is the opposite of the reading order and the reason people get it backwards. Read it right to left, like putting on socks before shoes.

Undoing it

A customer paid 963 baht. What was the ticket price? Undo the chain, in the opposite order, undoing each step:

  1. The last thing done was ×1.07, so undo it first: 963 ÷ 1.07 = 900
  2. Then undo the discount: 900 + 100 = 1000

As a formula, if y = 1.07(x − 100) then x = y/1.07 + 100. Notice the order reversed: the inverse of a composite undoes the last step first. Socks then shoes going on, shoes then socks coming off.

The defining property is the one worth checking every time:

(f ∘ f⁻¹)(x) = (f⁻¹ ∘ f)(x) = x

If putting a number through both does not give you the number back, one of the two is wrong. It costs one substitution.

When an inverse does not exist

Take g(x) = (x − 3)² − 2.

  1. g(1) = 2. And g(5) = 2 as well.
  2. So if g⁻¹(2) existed it would have to be 1 and 5 at the same time, which is not a function.
  3. g has no inverse as it stands.

The fix is to cut the domain so each output happens once. The vertex is at x = 3, so restrict to x ≥ 3 (or to x ≤ 3, which gives a different inverse). With x ≥ 3:

  1. y = (x − 3)² − 2, so (x − 3)² = y + 2
  2. x − 3 = +√(y + 2), taking the positive root because x ≥ 3
  3. g⁻¹(x) = 3 + √(x + 2)

Check: g⁻¹(2) = 3 + √4 = 5, and g(5) = 2. And g⁻¹(7) = 3 + √9 = 6.

Choosing the root is the whole restriction. If you restrict to x ≤ 3 then x − 3 is negative, so the inverse is 3 − √(x + 2) and g⁻¹(2) is 1 instead of 5. Both are correct inverses of different functions. A question that restricts the domain for you has told you which sign to take, and students who write the plus out of habit lose the mark on half of them.

On the GDC: composing and checking

Define the two functions once and the machine will compose them either way round, which makes the seven baht a thing you can see rather than a thing you are told.

When you may use it. Applications. A calculator is allowed in every paper.

TI-Nspire CX II

  1. In a Calculator page: d(x):=x-100 and v(x):=1.07*x, using ctrl var for the :=
  2. v(d(1000)) gives 963, and d(v(1000)) gives 970
  3. Define the inverse too: w(y):=y/1.07+100, then w(v(d(1000))) gives 1000
  4. That last line is the check: in and straight back out again

Casio fx-CG50

  1. MENU → Graph, with Y1=X-100 and Y2=1.07X
  2. Back in Run-Matrix, a composite is Y2(Y1(1000)), using VARS → GRAPH → Y to type the Y names
  3. EXE gives 963, and Y1(Y2(1000)) gives 970
  4. To see an inverse, graph a function and Y=X together on equal scales and look at the reflection

The mark people lose. Composing in the reading order. (f ∘ g)(x) is f(g(x)), so g runs first, and a student who works left to right computes the other composite and gets a number that is wrong by exactly the amount this page is about. Write the brackets out before touching the machine. The other one is forgetting that the inverse of a composite reverses the order as well as each step: undo the last operation first.

Your turn

1. With d(x) = x − 100 and v(x) = 1.07x, what is v(d(500))? Give it to 2 decimal places.

2. And d(v(500)), to 2 decimal places?

3. A customer paid 963 baht after the discount and then VAT. What was the ticket price, in baht?

4. For g(x) = (x − 3)² − 2 restricted to x ≥ 3, what is g⁻¹(7)?

5. Why does g(x) = (x − 3)² − 2 need a restricted domain before it has an inverse?

Question 5. Why does g of x equals x minus 3 all squared minus 2 need a restricted domain before it has an inverse?
Where the marks go

1 markThe composite written correctly, with the inside function applied first.

1 markSimplifying it, where the question asks.

1 markThe inverse, with the steps undone in reverse order.

1 markIts domain, or the restriction that makes it exist.

That last mark is the one HL questions are built around, and it is a sentence. If you restrict a domain, say which half you took and why.

Want a verdict on your own draft?

These pages are free and stay free, but they are general and your IA is not. Send me your research question, or whatever exists so far, and I will tell you in writing whether the topic has a ceiling on it, where the marks are going, and what to change first. That costs nothing and it comes back within 24 hours.

Written by a serving IB Diploma and Career-related Programme Coordinator and Head of Mathematics, who reads internal assessments across every subject group every year. If you then want the whole draft reviewed properly against all five criteria, that is the paid one, and it is refunded if it does not name at least three specific things to fix.

Send me your question, free

Already have a full draft? Have the whole thing reviewed against all five criteria, $99.