2.5 Modelling with functions

2.5 Modelling with functions

IB Maths: Applications and Interpretation HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A linear model f(x)=mx+cf(x)=mx+c has a constant rate of change; mm is the gradient.
  • A quadratic model has a parabola graph with an axis of symmetry x=−b2ax=-\dfrac{b}{2a}.
  • An exponential model f(x)=kax+cf(x)=ka^x+c has a horizontal asymptote y=cy=c.
  • Inverse variation y=axy=\dfrac{a}{x} has a vertical asymptote at x=0x=0.
  • A sinusoidal model repeats; find its amplitude, period and principal axis.
  • Always state a sensible domain and answer in context, with units.

Linear and piecewise models

A linear model changes by the same amount for every unit of xx; a piecewise model uses a different line on different parts of the domain.

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 is used for mobile phone charges, the depth of a swimming pool or the horizontal distance of an object to a wall.

12345678910510152025303540xy(2, 12)(10, 32)F(x)
Taxi fare: 12 AED for the first 2 km, then 2.50 AED per km. Two lines meet at (2, 12).
  • Gradient mmrate of change per unit of xx
  • Intercept ccvalue when x=0x=0

Worked example

A taxi charges 12 AED for the first 2 km, then 2.50 AED per km after that. Write the fare F(x)F(x) for xx km and find the fare for 10 km.

In the taxi model, what does the gradient 2.5 mean for x>2x>2?

Quadratic models

A quadratic model has a parabola graph with a maximum or minimum at its vertex.

f(x)=ax2+bx+cf(x)=ax^2+bx+c, a≠0a\neq0, has:

  • yy-intercept (0,c)(0,c)
  • axis of symmetry x=−b2ax=-\frac{b}{2a}
  • vertex on that axis: a maximum if a<0a<0, a minimum if a>0a>0
  • zeros where f(x)=0f(x)=0, found with your GDC
24681012−60−50−40−30−20−101020xy(3, 0)(9, 0)(6, 18)(0, −54)P(x) = −2x² + 24x − 54
Profit in thousand AED from xx hundred items: break-even at 300 and 900 items, maximum profit at 600 items.

The axis is x=−242(−2)=6x=-\frac{24}{2(-2)}=6 and the maximum profit is P(6)=18P(6)=18 thousand AED.

A quadratic model f(x)=−x2+8x−7f(x)=-x^2+8x-7 has zeros at x=1x=1 and x=7x=7. Where is its axis of symmetry?

Exponential models

An exponential model multiplies by a constant factor in equal steps, and its graph levels off at a horizontal asymptote.

The form 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). Also ka−x+cka^{-x}+c with a>1a>1 is decay.

The horizontal asymptote is y=cy=c. Links: compound interest (SL 1.4), geometric sequences (SL 1.3), amortization (SL 1.7).

51015202530354020406080xyT = 20(0, 80)T = 20 + 60e^(−0.1t)
A cooling drink approaches room temperature (20 °C) but never reaches it.

Compound interest: 2000 AED at 4% gives A(t)=2000(1.04)tA(t)=2000(1.04)^t, so A(10)=2960.49A(10)=2960.49 AED.

For T=20+60e−0.1tT=20+60e^{-0.1t}, what is the initial temperature?

Power and cubic models

Power models describe direct and inverse variation; a cubic has up to 3 zeros and 2 turning points.

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

A cubic model ax3+bx2+cx+dax^3+bx^2+cx+d has yy-intercept dd.

24681012510152025303540xyn = 0(4, 15)(8, 7.5)T = 60/n
nn workers take T=60nT=\frac{60}{n} hours: doubling the workers halves the time.
1234567100200300400xy(2.83, 379)V = 4x³ − 70x² + 300x
Open box from a 20 cm by 15 cm sheet: maximum V=379V=379 cm³ at x=2.83x=2.83, for 0<x<7.50<x<7.5.

For T=60nT=\frac{60}{n}, how long do 10 workers take?

Sinusoidal models

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

For f(x)=asin⁡(bx)+df(x)=a\sin(bx)+d or acos⁡(bx)+da\cos(bx)+d you need to find or predict:

  • the amplitude ∣a∣|a|, half the distance from maximum to minimum
  • the period 360∘b\frac{360^\circ}{b}
  • the principal axis y=dy=d, midway between the maximum d+ad+a and minimum d−ad-a

You do not need to convert between sin⁡x\sin x and cos⁡x\cos x.

24681012141618202224161820222426283032xyaxis T = 24(6, 30)(18, 18)T = 6 sin(15t°) + 24
Temperature tt hours after 06:00: amplitude 6, period 24 hours, maximum 30 °C, minimum 18 °C.

What is the period of y=3sin⁡(30x∘)+5y=3\sin(30x^\circ)+5?

Choosing a model

Choose the model from the shape of the data and the context, then state a sensible domain.

A decreasing curve with a vertical asymptote at x=0x=0 is inverse variation. Always state the domain that makes sense, and answer in context with units, giving 3 significant figures (money to 2 d.p.).

123456246810xylinearquadraticexponential, levelling offsinusoidal
Illustrative shapes: linear, quadratic, exponential (levelling off to an asymptote) and sinusoidal.

Linear

  • Constant rate of change

Quadratic

  • One turning point, symmetric

Exponential

  • Constant multiplying factor
  • Levels off to an asymptote

Sinusoidal

  • Regular repeating pattern

The mass of a sample halves every 6 days. Which model fits best?

Try an exam question

The profit PP (thousand AED) from selling xx hundred items is modelled by P(x)=−2x2+24x−54P(x)=-2x^2+24x-54. Use your GDC to find the break-even quantities, then find the number of items that gives maximum profit and that profit.

[4 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