2.2 · SLPaper 1Paper 2

Function concepts, domain and range

27 min read

In a minute

A gives exactly one output for each input. Its is the inputs it accepts and its is the outputs it gives. An undoes it: for a one-to-one ff, solving f(x)=10f(x) = 10 means finding f−1(10)f^{-1}(10).

You'll be able to

  • Explain functions and their graphs, and use notation such as f(x)f(x), v(t)v(t) and C(n)C(n).
  • Find the domain and range of a function, using a graph to see the range.
  • Use a function as a , with a domain that fits the context.
  • Describe an inverse as undoing a function, and as a reflection in y=xy = x.
  • Solve f(x)=kf(x) = k as f−1(k)f^{-1}(k), knowing that only functions have inverses.
Before you start3 quick questions on what this builds on
Check yourself
Find the value of 2x2−3x+42x^{2} - 3x + 4 when x=−3x = -3.
Check yourself
Solve 5x−8=275x - 8 = 27.
Check yourself
Solve 6−2x≥06 - 2x \ge 0.

Functions and function notation

A is like a vending machine: press B4 and you always get the same snack.

In f(x)=3x−2f(x) = 3x - 2, ff names the function and xx is the input. f(4)f(4) is the output for the input 44, so f(4)=10f(4) = 10. It never means ff times 44.

Other letters work the same way: v(t)v(t) could be a velocity at time tt, and C(n)C(n) the cost of nn tickets.

The graph of ff is every point (x,f(x))(x, f(x)), drawn as y=f(x)y = f(x).

Worked exampleA cup of tea is T(t)=21+64(0.94)tT(t) = 21 + 64(0.94)^{t} °C, tt minutes after it is poured. Find T(15)T(15) to 3 s.f. and say what it means.

Try it first, then reveal one step at a time.

  1. Replace tt with 1515 and type it into the GDC in one go: T(15)=21+64(0.94)15=46.2986…T(15) = 21 + 64(0.94)^{15} = 46.2986\ldots
Worked exampleA sunflower is h(w)=2.5w2+3w+5h(w) = 2.5w^{2} + 3w + 5 cm tall ww weeks after planting, for 0≤w≤80 \le w \le 8. (a) Find h(6)h(6). (b) Find h(6)−h(5)h(6) - h(5) and say what it means.

Try it first, then reveal one step at a time.

  1. (a) h(6)=2.5(36)+3(6)+5=113h(6) = 2.5(36) + 3(6) + 5 = 113. After 66 weeks it is 113113 cm tall.
Check yourself
A bike-share ride of mm minutes costs C(m)=1.25+0.15mC(m) = 1.25 + 0.15m dollars. Find C(24)C(24).
Check yourself
Which of these rules is NOT a function?

Domain and range

Some inputs break a rule: you can't take the square root of a negative number or divide by zero.

This is not the range of a data set, which is one number: largest minus smallest.

A question may state the domain, as in “f(x)=x2f(x) = x^{2}, 0≤x≤40 \le x \le 4”. If not, use every real number that works. Two common rules find the ones that don't:

1. A square root needs the expression inside it to be ≥0\ge 0.

2. A denominator can't be 00. So 8x−1\frac{8}{x - 1} has domain x≠1x \ne 1.

Write a domain with the input, such as x≥4x \ge 4, and a range with the output, such as f(x)≥3f(x) \ge 3.

Worked exampleFind the domain and range of f(x)=5−x+3f(x) = 5 - \sqrt{x + 3}.

Try it first, then reveal one step at a time.

  1. Domain: the square root needs x+3≥0x + 3 \ge 0, so x≥−3x \ge -3.

A graph shows the range: it is every height on the yy-axis that the graph reaches. Look for its lowest and highest points, if it has them.

1 2 3 4 5 6 2 4 6 8 10 12 0 x y (0, 7) (2, 3) lowest (5, 12) highest range
The end values alone, 77 and 1212, would miss the dip to 33.
Worked exampleLet g(x)=x2−4x+7g(x) = x^{2} - 4x + 7, for 0≤x≤50 \le x \le 5. Use your GDC to find the range of gg.

Try it first, then reveal one step at a time.

  1. Graph y=x2−4x+7y = x^{2} - 4x + 7 for 0≤x≤50 \le x \le 5. The minimum tool gives (2,3)(2, 3), inside the domain.
Check yourself
Find the domain of p(x)=3x−12p(x) = \sqrt{3x - 12}.
Check yourself
Find the range of h(x)=10−(x−3)2h(x) = 10 - (x - 3)^{2} for 1≤x≤61 \le x \le 6.

Functions as models

Functions describe real things: a cost, a height, a temperature. The letters are quantities with units.

The context sets the . Time can't be negative, a count is a whole number, and a model may stop at an event, such as landing. Outside its domain a model can give nonsense.

Worked exampleA hot-air balloon descends. Its height in metres tt minutes after it starts to descend is H(t)=850−12.5tH(t) = 850 - 12.5t, until it lands. (a) Find when it lands. (b) Write down a suitable domain and the range of HH. (c) Interpret the 12.512.5.

Try it first, then reveal one step at a time.

  1. (a) Solve 850−12.5t=0850 - 12.5t = 0: t=85012.5=68t = \frac{850}{12.5} = 68 minutes.
Worked exampleA greenhouse's temperature in °C, tt hours after 06:00, is modelled by T(t)=0.04t3−0.9t2+5.4t+12T(t) = 0.04t^{3} - 0.9t^{2} + 5.4t + 12, 0≤t≤140 \le t \le 14. (a) Use your GDC to find the range of TT, to 3 s.f. (b) Comment on using the model at t=24t = 24.

Try it first, then reveal one step at a time.

  1. (a) Graph y=0.04x3−0.9x2+5.4x+12y = 0.04x^{3} - 0.9x^{2} + 5.4x + 12 for 0≤x≤140 \le x \le 14. The turning points are (4.14589…,21.7686…)(4.14589\ldots, 21.7686\ldots) and (10.8541…,15.7313…)(10.8541\ldots, 15.7313\ldots).
Check yourself
A car starts with 5252 litres of fuel. After tt hours of driving, F(t)=52−6.5tF(t) = 52 - 6.5t litres are left, until the tank is empty. Which is a suitable domain?
Check yourself
A ball's height in metres, tt seconds after it is thrown, is modelled by h(t)h(t). A student finds h(3.1)=−2.4h(3.1) = -2.4. What is the best interpretation?

Inverse functions

To turn °C into °F, multiply by 1.81.8, then add 3232. To go back, undo the steps in reverse order: subtract 3232, then divide by 1.81.8. That undoing rule is the , written f−1f^{-1}.

So if (a,b)(a, b) is on the graph of ff, then (b,a)(b, a) is on the graph of f−1f^{-1}.

1 2 3 4 5 6 7 1 2 3 4 5 6 7 x y y = x (2, 3) (3, 2) y = f(x) y = f⁻¹(x)
f(x)=2x−1f(x) = 2^{x} - 1 and its inverse. The point (2,3)(2, 3) on ff becomes (3,2)(3, 2) on f−1f^{-1}.
Worked exampleThe function F(c)=1.8c+32F(c) = 1.8c + 32 converts a temperature of cc °C into °F. (a) Describe in words what F−1F^{-1} does. (b) Find F−1(98.6)F^{-1}(98.6) and interpret it.

Try it first, then reveal one step at a time.

  1. (a) FF multiplies by 1.81.8, then adds 3232. So F−1F^{-1} subtracts 3232, then divides by 1.81.8: it converts °F back into °C.
Worked exampleLet f(x)=2x−1f(x) = 2^{x} - 1, as in the figure. (a) Find f(4)f(4). (b) Hence write down a point on the graph of y=f−1(x)y = f^{-1}(x), and f−1(15)f^{-1}(15).

Try it first, then reveal one step at a time.

  1. (a) f(4)=24−1=15f(4) = 2^{4} - 1 = 15, so (4,15)(4, 15) is on the graph of ff.
Check yourself
The point (4,−1)(4, -1) lies on the graph of y=f(x)y = f(x). Which point must lie on the graph of y=f−1(x)y = f^{-1}(x)?
Check yourself
A pool holds V(t)=1800+240tV(t) = 1800 + 240t litres of water tt minutes after a tap is turned on. Find V−1(9480)V^{-1}(9480).

Solving equations with inverses

Solving f(x)=10f(x) = 10 asks which input gives the output 1010. When ff has an inverse, that input is f−1(10)f^{-1}(10). So find f−1(10)f^{-1}(10) by solving f(x)=10f(x) = 10, for example by graphing y=f(x)y = f(x) and y=10y = 10 on your GDC.

Not every function can be undone. Water from a fountain is h(t)=12t−4t2h(t) = 12t - 4t^{2} metres high, tt seconds after it leaves the nozzle. It is 88 m high twice: at t=1t = 1 and at t=2t = 2.

0.5 1 1.5 2 2.5 3 2 4 6 8 10 0 t h (1, 8) (2, 8) h = 8 top (1.5, 9)
h=8h = 8 meets the whole curve twice, but the solid rising part only once.

A smaller domain can fix this. On 0≤t≤1.50 \le t \le 1.5, while the water rises, each height comes from one time.

Worked exampleUse the fountain model h(t)=12t−4t2h(t) = 12t - 4t^{2}, 0≤t≤1.50 \le t \le 1.5. (a) Find the range of hh. (b) Write down the domain of h−1h^{-1}. (c) Find h−1(8)h^{-1}(8) and interpret it.

Try it first, then reveal one step at a time.

  1. (a) h(0)=0h(0) = 0 and h(1.5)=9h(1.5) = 9, and the water rises the whole time. So the range is 0≤h(t)≤90 \le h(t) \le 9.
Worked exampleThe amount of a medicine in a patient's blood, in mg, tt hours after a dose is M(t)=40(0.82)tM(t) = 40(0.82)^{t}, t≥0t \ge 0. (a) Use your GDC to find M−1(10)M^{-1}(10), to 3 s.f., and interpret it. (b) Write down the domain of M−1M^{-1}.

Try it first, then reveal one step at a time.

  1. (a) MM always decreases, so it is one-to-one. M−1(10)M^{-1}(10) is the time when 1010 mg is left: write down 40(0.82)t=1040(0.82)^{t} = 10.
Check yourself
A podcast has P(t)=2400(1.035)tP(t) = 2400(1.035)^{t} subscribers tt months after launch. Use your GDC to find P−1(4000)P^{-1}(4000), to 3 s.f.
Check yourself
The function gg is defined by g(x)=5+x−2g(x) = 5 + \sqrt{x - 2} for x≥2x \ge 2. What is the domain of g−1g^{-1}?

Common mistakes

  • Writing a range in terms of xx, or as a point. A range lists outputs: write it with f(x)f(x) or yy, such as 3≤g(x)≤123 \le g(x) \le 12.
  • Finding a range from the end points alone. Check every turning point inside the domain too.
  • Reading f−1(x)f^{-1}(x) as 1f(x)\frac{1}{f(x)}. The −1-1 means “inverse”, not a power.
  • Keeping every solution of f(x)=kf(x) = k. Reject any outside the domain, such as a negative time.
  • Interpreting without context. Say what the value means, with units: “1010 mg is left after 6.996.99 hours”, not just “t=6.99t = 6.99”.

Exam tips

  • **Write down** the domain or range: no working is needed, but the notation must be right. Use the input, x≥−3x \ge -3, for a domain and the output, f(x)≤5f(x) \le 5, for a range.
  • To **find** f−1(k)f^{-1}(k), write down the equation f(x)=kf(x) = k, then solve it on your GDC. The written equation earns the method mark.
  • **Interpret** means say what the value means in context, with units. Check it is sensible: a time can't be negative.

Key takeaways

Learn thisA function gives exactly one output f(x)f(x) for each input xx in its domain.
Learn thisDomain: the inputs allowed. A square root needs its inside ≥0\ge 0, a denominator can't be 00, and in a model the context limits the inputs too.
Learn thisRange: the outputs over the domain, written with f(x)f(x) or yy. Read it from the graph, checking end points, turning points and any value the graph only approaches, which is not included.
Learn thisFor a one-to-one ff, f−1f^{-1} undoes ff: if f(a)=bf(a) = b, then f−1(b)=af^{-1}(b) = a. Its graph is the reflection of y=f(x)y = f(x) in y=xy = x. f−1(x)f^{-1}(x) is not 1f(x)\frac{1}{f(x)}.
Learn thisOnly a one-to-one function has an inverse. The domain of f−1f^{-1} is the range of ff, and the range of f−1f^{-1} is the domain of ff.
Learn thisFor a one-to-one ff and a value kk in its range, solving f(x)=kf(x) = k gives x=f−1(k)x = f^{-1}(k).

Practise this

18 past-paper questions on Properties of functions and graphs in the AI HL bank, each with a mark scheme and a worked explanation.

Practise Properties of functions and graphs →