2.5 Modelling with functions

2.5 Modelling with functions

IB Maths: Applications and Interpretation SL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A linear model has a constant rate of change; the gradient is that rate, with units.
  • A quadratic model has one turning point, on the axis x=−b2ax=-\dfrac{b}{2a}; it is a maximum if a<0a<0.
  • An exponential model kax+cka^x+c has horizontal asymptote y=cy=c; compound interest and cooling are examples.
  • Inverse variation y=axy=\dfrac{a}{x} has the yy-axis as a vertical asymptote; cubic models have up to 2 turning points.
  • A sinusoidal model repeats: amplitude ∣a∣|a|, period 360∘b\frac{360^\circ}{b}, principal axis y=dy=d.
  • Always state a sensible domain and answer in context with units.

Linear and piecewise models

A linear model f(x)=mx+cf(x)=mx+c changes by the same amount for each unit of xx; a piecewise model uses different lines on different parts of the domain.

A linear model f(x)=mx+cf(x)=mx+c has a constant rate of change. The gradient mm is the change in ff per unit of xx, and cc is the value when x=0x=0. It links to straight lines (SL 2.1) and arithmetic sequences.

A piecewise model uses a different line on different parts of the domain, for example mobile phone charges or taxi fares. Always interpret the gradient and intercept in context, with units.

24681012510152025303540xy(2, 12)(10, 32)F(x)
A taxi charges 12 AED for the first 2 km, then 2.50 AED per km. The graph is flat to x=2x=2, then rises with gradient 2.5.

Worked example

A taxi charges 12 AED for the first 2 km, then 2.50 AED per km. Find the cost of a 10 km journey.

In F(x)=12+2.5(x−2)F(x)=12+2.5(x-2) for x>2x>2, what does 2.5 represent?

Quadratic models

A quadratic model has one turning point, the vertex, on the axis of symmetry x=−b2ax=-\frac{b}{2a}.

A quadratic model is f(x)=ax2+bx+cf(x)=ax^2+bx+c, a≠0a\neq0. Its graph is a parabola with yy-intercept (0,c)(0,c), axis of symmetry x=−b2ax=-\frac{b}{2a} and vertex on that axis, a maximum if a<0a<0 and a minimum if a>0a>0. The zeros are where f(x)=0f(x)=0.

Profit P(x)=−2x2+24x−54P(x)=-2x^2+24x-54 thousand AED from selling xx hundred items has zeros x=3x=3 and x=9x=9, so the model breaks even at 300 and 900 items. The axis is x=6x=6 and the maximum is P(6)=18P(6)=18 thousand AED.

24681012−60−50−40−30−20−101020xy(3, 0)(9, 0)(6, 18)(0, -54)P(x)
Profit P(x)=−2x2+24x−54P(x)=-2x^2+24x-54: break-even at x=3x=3 and x=9x=9, maximum 18 at x=6x=6.

For f(x)=ax2+bx+cf(x)=ax^2+bx+c with a<0a<0, the vertex is a...

Exponential models

An exponential model multiplies by a constant factor in equal steps and approaches a horizontal asymptote y=cy=c.

An exponential model is f(x)=kax+cf(x)=ka^x+c (growth if a>1a>1, decay if 0<a<10<a<1) or f(x)=kerx+cf(x)=ke^{rx}+c (r>0r>0 growth, r<0r<0 decay). The graph has a horizontal asymptote y=cy=c; the initial value is k+ck+c.

Links: compound interest (SL 1.4) and geometric sequences. 2000 AED at 4% compound interest gives A(t)=2000(1.04)tA(t)=2000(1.04)^t, so A(10)=2960.49A(10)=2960.49 AED.

A cooling drink T=20+60e−0.1tT=20+60e^{-0.1t} has asymptote T=20T=20, the room temperature.

51015202530354020406080xyT = 20(0, 80)T(t)
T=20+60e−0.1tT=20+60e^{-0.1t} starts at 80 and decays towards the asymptote T=20T=20.

What is the horizontal asymptote of f(x)=5(2x)+3f(x)=5(2^x)+3?

Variation and cubic models

A power model f(x)=axnf(x)=ax^n is direct variation when n>0n>0 and inverse variation when n<0n<0; a cubic has up to two turning points.

A power model f(x)=axnf(x)=ax^n (n∈Zn\in\mathbb{Z}) describes direct variation when n>0n>0 (such as area against radius) and inverse variation when n<0n<0 (such as y=axy=\frac{a}{x}), with the yy-axis as a vertical asymptote.

T=60nT=\frac{60}{n} hours for nn workers: 4 workers take 15 hours.

A cubic model f(x)=ax3+bx2+cx+df(x)=ax^3+bx^2+cx+d has up to 3 zeros and 2 turning points. Cutting squares of side xx from a 20 cm by 15 cm sheet gives V=4x3−70x2+300xV=4x^3-70x^2+300x, with maximum 379379 cm3^3 at x=2.83x=2.83 on 0<x<7.50<x<7.5.

123456750100150200250300350400xy(2.83, 379)V(x)
Volume of the open box: maximum 379 cm3^3 at x=2.83x=2.83, on the domain 0<x<7.50<x<7.5.

T=60nT=\frac{60}{n} hours for nn workers. How long do 5 workers take?

Sinusoidal models

A sinusoidal model repeats regularly; find its amplitude, period and principal axis.

A sinusoidal model f(x)=asin⁡(bx)+df(x)=a\sin(bx)+d or acos⁡(bx)+da\cos(bx)+d repeats regularly. At SL you only find or predict the amplitude ∣a∣|a|, the period 360∘b\frac{360^\circ}{b} and the principal axis y=dy=d, midway between the maximum d+ad+a and minimum d−ad-a.

T(t)=6sin⁡(15t∘)+24T(t)=6\sin(15t^\circ)+24 models temperature tt hours after 06:00: amplitude 6, period 36015=24\frac{360}{15}=24 hours, axis T=24T=24, maximum 30 °C and minimum 18 °C.

51015202530354045101520253035xyT = 24(6, 30)(18, 18)T(t)
T(t)=6sin⁡(15t∘)+24T(t)=6\sin(15t^\circ)+24 (15° is π12\frac{\pi}{12} radians): period 24 hours, axis T=24T=24.

For y=6sin⁡(15x∘)+24y=6\sin(15x^\circ)+24, what is the period?

Choosing a model

Choose the model from the shape of the data and the context, state a sensible domain, and answer in context with units.

Match the shape to a model: a constant rate of change is linear; one symmetric turning point is quadratic; multiplying by a constant factor, or levelling off, is exponential; a decreasing curve with a vertical asymptote at x=0x=0 is inverse variation; a regular repeating pattern is sinusoidal.

Always state the domain that makes sense, and answer in context with units, giving 3 significant figures (money to 2 d.p.).

0.511.522.533.542468xyLinearQuadraticExponentialSinusoidal
Illustrative shapes of four models: linear, quadratic, exponential and sinusoidal. Choose the one that matches the pattern in the data.

Linear

  • Constant rate of change

Quadratic

  • One symmetric turning point

Exponential

  • Constant factor, or levels off

Sinusoidal

  • Regular repeating pattern

The water level at a harbour rises and falls every 12 hours. Which model fits best?

Try an exam question

A cooling drink has temperature T=20+60e−0.1tT=20+60e^{-0.1t} degrees Celsius, tt minutes after it is poured. (a) Write down the initial temperature. (b) State the room temperature. (c) Find the temperature when t=10t=10. (d) Find when the temperature is 3030 °C.

[5 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find the cost of using 9 GB in a month.

1 mark, marked against the mark scheme

Revision notes