2.5 · SLPaper 1Paper 2

Modelling with functions

In a minute

Six families model real situations: lines, , exponentials, powers of xx, cubics and waves. Each constant means something in context. Find the key features with your GDC, then say what they mean.

You'll be able to

  • Build and use linear and linear models, and interpret the and the starting value.
  • Find the , vertex, zeros and intercepts of a quadratic model, using your GDC for the .
  • Use and decay models and write down the equation of the horizontal .
  • Model direct and with y=axny = ax^{n}, and explain the vertical asymptote when n<0n < 0.
  • Use cubic models, finding zeros and turning points with your GDC.
  • Find the , and of a sine or cosine model, and use the model to predict.
Before you start2 quick questions on what this builds on
Check yourself
A line passes through the points (2,7)(2, 7) and (6,19)(6, 19). Find its gradient.
Check yourself
Use your GDC to solve x2−3x−5=0x^{2} - 3x - 5 = 0. Give the positive solution to 3 s.f.

Revise first: 1.2 Arithmetic sequences and series, 1.3 Geometric sequences and series, 1.4 Compound interest and depreciation, 1.5 Exponents and introductory logarithms, 1.8 Solving equations with technology, 2.1 Straight-line equations, 2.2 Function concepts, domain and range and 2.4 Key features of graphs

Linear and piecewise linear models

A taxi charges 44 dollars, plus 2.52.5 dollars per kilometre. Each extra kilometre adds the same amount, so the graph is a straight line.

mm has units such as dollars per kilometre. The values f(0),f(1),f(2),…f(0), f(1), f(2), \ldots form an with mm.

Some situations change rule partway. A pool floor is flat, then slopes, then is flat again. Each part is a straight line.

0 5 8 10 15 18 20 25 0 1 2 3 Distance from the shallow end, x (m) Depth, d (m) d = 1.1 gradient 0.19 d = 3
Three straight pieces make one model.
Worked exampleA candle is 2424 cm tall when lit and 1515 cm tall 2.52.5 hours later, burning at a constant rate. (a) Find a model h(t)=mt+ch(t) = mt + c for its height in cm after tt hours. (b) Interpret the gradient. (c) Find how long it lasts.

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

  1. (a) c=h(0)=24c = h(0) = 24, and m=15−242.5=−3.6m = \frac{15 - 24}{2.5} = -3.6. So h(t)=−3.6t+24h(t) = -3.6t + 24.
Worked exampleThe figure shows the depth dd m of a 2525 m pool, xx m from the shallow end: 1.11.1 m for 0≤x<80 \le x < 8, rising steadily to 33 m at x=18x = 18, then 33 m to the end. (a) Write down the piecewise model. (b) Find where the depth is 22 m.

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

  1. (a) Middle gradient: 3−1.118−8=0.19\frac{3 - 1.1}{18 - 8} = 0.19, through (8,1.1)(8, 1.1).
Check yourself
A household's monthly electricity bill is modelled by B=0.28k+12B = 0.28k + 12 dollars, where kk is the number of kilowatt-hours used. What does 0.280.28 represent?
Check yourself
A phone plan costs 1515 dollars a month and includes 55 GB of data. Extra data costs 44 dollars per GB, with part of a GB charged in proportion. Find the cost, in dollars, of a month in which 8.58.5 GB is used.

Quadratic models

A rocket's height or a profit as the price rises goes up to a peak and back down, symmetrically. A quadratic model fits.

The is (0,c)(0, c). The is the turning point: a maximum if a<0a < 0, a minimum if a>0a > 0.

The is the vertical line through the vertex. The , where f(x)=0f(x) = 0, give the .

In the formula booklet
f(x)=ax2+bx+c  ⇒  axis of symmetry is x=−b2af(x) = ax^{2} + bx + c \;\Rightarrow\; \text{axis of symmetry is } x = -\frac{b}{2a}

This is in the formula booklet. Substitute that xx into ff to get the maximum or minimum value.

Find the zeros, the of f(x)=0f(x) = 0, on the GDC. Reject any the context rules out, such as a negative time.

Worked exampleA juice stall sells smoothies at xx dollars each. Its daily profit, in dollars, is modelled by P(x)=−40x2+520x−900P(x) = -40x^{2} + 520x - 900. (a) Write down P(0)P(0) and interpret it. (b) Find the price that gives the greatest profit, and the greatest profit.

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

  1. (a) P(0)=−900P(0) = -900: selling at 00 dollars loses 900900 dollars a day, the stall's daily costs.
Worked exampleA model rocket's height, hh m, tt seconds after launch from a platform is h(t)=−4.9t2+31t+0.6h(t) = -4.9t^{2} + 31t + 0.6. (a) Write down the platform's height. (b) Use your GDC to find when the rocket lands, to 3 s.f. (c) State a suitable domain.

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

  1. (a) h(0)=0.6h(0) = 0.6, so the platform is 0.60.6 m high.
Check yourself
A power cable hangs between two poles. Its height above the ground is y=0.015x2−0.6x+12y = 0.015x^{2} - 0.6x + 12 metres, where xx is the horizontal distance in metres from the left pole. Find the height of the cable at its lowest point, in metres.
Check yourself
A workshop's monthly profit, in thousands of dollars, from making xx thousand chairs is P(x)=−0.8x2+9.6x−14P(x) = -0.8x^{2} + 9.6x - 14. Use your GDC to find the smaller value of xx at which the workshop breaks even (P=0P = 0). Give your answer to 3 s.f.

Exponential growth and decay

A hot drink cools fast, then slowly, towards room temperature. Each minute the gap shrinks by the same factor, as with in 1.4.

With k>0k > 0, the model shows when a>1a > 1 in kax+cka^{x} + c, or r>0r > 0. It shows when 0<a<10 < a < 1 in kax+cka^{x} + c, when a>1a > 1 in ka−x+cka^{-x} + c, or when r<0r < 0.

At x=0x = 0, f(0)=k+cf(0) = k + c. In a decay model the exponential term shrinks towards 00, so f(x)f(x) approaches cc but never reaches it.

In a decay model it is the long-term value, such as room temperature. Write it as an equation in the question's letters, such as T=21T = 21.

Worked exampleThe temperature of a cup of tea, T ∘CT\,^{\circ}\mathrm{C}, tt minutes after it is made is modelled by T(t)=70(0.93)t+21T(t) = 70(0.93)^{t} + 21. (a) Find the temperature when the tea is made. (b) Find the temperature after 1010 minutes, to 3 s.f. (c) Write down the equation of the horizontal asymptote and interpret it.

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

  1. (a) T(0)=70(0.93)0+21=70+21=91 ∘CT(0) = 70(0.93)^{0} + 21 = 70 + 21 = 91\,^{\circ}\mathrm{C}.
Worked exampleThe number of bacteria in a culture after tt hours is modelled by N(t)=450e0.32tN(t) = 450\mathrm{e}^{0.32t}. (a) Use your GDC to find when it reaches 10 00010\,000, to 3 s.f. (b) Give one limitation of the model.

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

  1. (a) Write down the equation: 450e0.32t=10 000450\mathrm{e}^{0.32t} = 10\,000.
Check yourself
A car's value, in dollars, tt years after it is bought is modelled by V(t)=18000(0.85)t+2000V(t) = 18000(0.85)^{t} + 2000. Which is the equation of the horizontal asymptote of the graph?
Check yourself
The amount of a medicine in a patient's blood, tt hours after a dose, is modelled by D(t)=240×1.6−tD(t) = 240 \times 1.6^{-t} milligrams. Find the amount after 33 hours, in milligrams, to 3 s.f.

Direct and inverse variation

Double a circle's radius and its area is 44 times bigger. Double your speed and a journey takes half the time. Both are models y=axny = ax^{n}, with nn an integer.

Why the asymptote? axm\frac{a}{x^{m}} has no value at x=0x = 0, and its size grows without limit as xx gets close to 00.

xyxy is constant only when n=−1n = -1. For n=−2n = -2, doubling xx divides yy by 44.

Take nn from the words: "inversely as the square" means n=−2n = -2. Then substitute one known pair to find aa. Never choose nn from whether the data rise or fall.

Worked exampleThe braking distance, dd metres, of a car is proportional to the square of its speed, vv km/h. At 5050 km/h the braking distance is 1414 m. (a) Find a model for dd. (b) Find the braking distance at 9090 km/h, to 3 s.f.

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

  1. (a) d=av2d = av^{2}, and 14=a×50214 = a \times 50^{2} gives a=0.0056a = 0.0056. So d=0.0056v2d = 0.0056v^{2}.
Worked exampleLight intensity II lux from a lamp is inversely proportional to the square of the distance xx m. At 22 m it is 4545 lux. (a) Find a model for II. (b) Find where it is 55 lux. (c) Comment on the model as xx gets close to 00.

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

  1. (a) I=ax−2I = ax^{-2}, and 45=a445 = \frac{a}{4} gives a=180a = 180. So I=180x−2I = 180x^{-2}.
Check yourself
The time, tt hours, to paint a hall is inversely proportional to the number of painters, ww. Four painters take 99 hours. How many hours do six painters take?
Check yourself
Which statement is true for the model y=12x−3y = 12x^{-3}, x>0x > 0?

Cubic models

Some quantities rise, dip and rise again. A parabola has one turning point; a cubic can have two.

Find a cubic's zeros and turning points on the GDC, and write down what you entered.

A context limits the domain: lengths can't be negative. Use only the part of the graph inside it.

Worked exampleSquares of side xx cm are cut from the corners of a 3030 cm by 2020 cm card, and the sides folded up into an open box. (a) Show that its volume is V(x)=4x3−100x2+600xV(x) = 4x^{3} - 100x^{2} + 600x. (b) State the domain. (c) Use your GDC to find the greatest volume, to the nearest cm³.

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

  1. (a) The base is (30−2x)(30 - 2x) by (20−2x)(20 - 2x) and the height is xx, so V=x(30−2x)(20−2x)V = x(30 - 2x)(20 - 2x).
Worked exampleA café's monthly profit, PP thousand dollars, tt months after opening is P(t)=0.05t3−1.2t2+8t−10P(t) = 0.05t^{3} - 1.2t^{2} + 8t - 10, 0≤t≤140 \le t \le 14. (a) Interpret P(0)P(0). (b) Use your GDC to solve P(t)=0P(t) = 0, to 3 s.f. (c) When does the model predict a loss?

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

  1. (a) P(0)=−10P(0) = -10: when it opens, the café is losing 10 00010\,000 dollars a month.
Check yourself
A scatter graph of data rises to a peak, falls to a low point, then rises again. Which type of model fits it best?
Check yourself
The number of people in a theme park tt hours after it opens is modelled by N(t)=−4t3+54t2+150N(t) = -4t^{3} + 54t^{2} + 150, for 0≤t≤13.50 \le t \le 13.5. Use your GDC to find the greatest number of people in the park.

Sinusoidal models

Tides, a seat on a Ferris wheel and the hours of daylight repeat in smooth waves. A sinusoidal model describes them.

The ∣a∣|a| is the height of the wave above its middle line, the y=dy = d. The is the length of one full wave.

Learn this
amplitude=∣a∣=max−min2,d=max+min2,period=360∘b\text{amplitude} = |a| = \frac{\text{max} - \text{min}}{2}, \qquad d = \frac{\text{max} + \text{min}}{2}, \qquad \text{period} = \frac{360^{\circ}}{b}

So the maximum is d+∣a∣d + |a| and the minimum is d−∣a∣d - |a|. If xx is a time, the period is in that time unit.

0 3 6 9 12 15 18 21 24 0 2 4 6 8 10 Hours after midnight, t Depth, D (m) principal axis D = 6.2 amplitude 2.6 max 8.8 min 3.6 period 12 hours
D(t)=2.6cos⁡(30t)+6.2D(t) = 2.6\cos(30t) + 6.2: amplitude 2.62.6, principal axis D=6.2D = 6.2, period 36030=12\frac{360}{30} = 12 hours.

You only find or use these three features; you won't convert between sine and cosine. Set the GDC to degrees first.

Worked exampleA Ferris wheel seat moves between 22 m and 3838 m above the ground, one turn every 1515 minutes. Its height tt minutes after it is at the bottom is h(t)=acos⁡(bt)+dh(t) = a\cos(bt) + d, b>0b > 0. Find aa, bb and dd.

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

  1. d=38+22=20d = \frac{38 + 2}{2} = 20, the height of the centre. ∣a∣=38−22=18|a| = \frac{38 - 2}{2} = 18, the radius.
Worked exampleThe depth of a harbour, DD m, tt hours after midnight is D(t)=2.6cos⁡(30t)+6.2D(t) = 2.6\cos(30t) + 6.2, with 30t30t in degrees. (a) Write down the amplitude, the period and the principal axis. (b) A boat needs 55 m of water. Use your GDC to find when the depth first falls to 55 m, to 3 s.f.

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

  1. (a) Amplitude 2.62.6 m, period 36030=12\frac{360}{30} = 12 hours, principal axis D=6.2D = 6.2.
Check yourself
During its cooling cycle, the temperature inside a fridge is T(t)=1.2sin⁡(24t)+4T(t) = 1.2\sin(24t) + 4 degrees Celsius, tt minutes after the motor starts, with 24t24t in degrees. What is the lowest temperature?
Check yourself
The height of the tide at a pier, HH metres, tt hours after noon is modelled by H(t)=1.8sin⁡(28.8t)+3.5H(t) = 1.8\sin(28.8t) + 3.5, with 28.8t28.8t in degrees. Find the time, in hours, between one high tide and the next.

Common mistakes

  • Keeping a zero the context rules out, such as a negative time. Reject it and say why.
  • Interpreting a constant by its graph name. "cc is the yy-intercept" earns nothing; say what it means, such as the platform's height.
  • Giving y=0y = 0 as the asymptote of kax+cka^{x} + c. The exponential part tends to 00, so the asymptote is y=cy = c.
  • Using bb as the period, or a negative amplitude. With bxbx in degrees, the period is 360∘b\frac{360^{\circ}}{b} (b>0b > 0), and the amplitude is ∣a∣|a|.
  • Rounding too early. Keep the GDC's full value and round only the final answer.

Exam tips

  • "Write down" needs no working: read f(0)f(0), an asymptote or an amplitude from the model. For "find", write the equation you solve on the GDC: it earns the method mark.
  • "Interpret": say what the value means in context, with units.
  • For a limitation or a domain, use the context: heights can't be negative and growth can't go on for ever.

Key takeaways

Learn thisLinear model f(x)=mx+cf(x) = mx + c: mm is the rate of change and c=f(0)c = f(0) the starting value. A piecewise model uses one rule on each interval.
In bookletf(x)=ax2+bx+c  ⇒  axis of symmetry is x=−b2af(x) = ax^{2} + bx + c \;\Rightarrow\; \text{axis of symmetry is } x = -\frac{b}{2a}
Learn thisQuadratic ax2+bx+cax^{2} + bx + c, a≠0a \ne 0: yy-intercept (0,c)(0, c); the vertex is a maximum if a<0a < 0, a minimum if a>0a > 0. Reject zeros the context rules out.
Learn thisFor k≠0k \ne 0, kax+cka^{x} + c and ka−x+cka^{-x} + c (with a>0a > 0, a≠1a \ne 1) and kerx+ck\mathrm{e}^{rx} + c (with r≠0r \ne 0) have the horizontal asymptote y=cy = c, and f(0)=k+cf(0) = k + c.
Learn thisy=axny = ax^{n} with a≠0a \ne 0 and nn an integer: n>0n > 0 is direct variation (through the origin); n<0n < 0 is inverse variation, with the yy-axis as a vertical asymptote.
Learn thisCubic ax3+bx2+cx+dax^{3} + bx^{2} + cx + d, a≠0a \ne 0: at most two turning points and three zeros; yy-intercept (0,d)(0, d).
Learn thisasin⁡(bx)+da\sin(bx) + d or acos⁡(bx)+da\cos(bx) + d, with b>0b > 0 and bxbx in degrees: amplitude ∣a∣=max−min2|a| = \frac{\text{max} - \text{min}}{2}, period 360∘b\frac{360^{\circ}}{b}, principal axis y=d=max+min2y = d = \frac{\text{max} + \text{min}}{2}.

Practise this

21 past-paper questions on Modelling with quadratic and cubic functions in the AI HL bank, each with a mark scheme and a worked explanation.

Also: Modelling with linear and piecewise functions (6) · Direct and inverse variation (7) · Sinusoidal models (17)

Practise Modelling with quadratic and cubic functions →