Function models
🖨 Print a self-study sheet Why print?
A ball is kicked from the ground and rises, slows, and falls back. A cup of tea cools quickly at first, then more and more slowly. The number of daylight hours rises through spring and falls through autumn, year after year. Each of these has its own shape, and if you can name the shape, you can predict what happens next.
That is what a model is: a function chosen because its shape matches the situation. In IB Maths AI you will rarely be told "use a quadratic". More often you are given a situation or a table and asked to decide. So this lesson is about recognising shapes, fitting them, and then asking honestly whether the answer makes sense.
Four shapes worth knowing
| Model | Form | Recognise it by |
|---|---|---|
| Linear | equal differences: the same amount added each step | |
| Quadratic | rises then falls (or the reverse); equal second differences | |
| Exponential | equal ratios: multiplied by the same factor each step; levels off towards | |
| Sinusoidal | repeats in cycles |
The parameters always mean something. In a linear model, is the rate of change and the starting value. In an exponential model, is the initial difference from the long-term value , and is the growth or decay factor. In a sinusoidal model, is the amplitude, the principal axis (the middle value), and the period is in degrees or in radians.
Quadratic models
A quadratic has a vertex, a highest or lowest point, at x=-\dfrac{b}{2a}. In context the vertex is often the answer to "how high?" or "what is the best value?", and the zeros mark where the model starts or stops making sense.
Exponential models
Exponential models describe growth and decay by a constant factor. With a constant c added, they level off towards the horizontal asymptote y=c, as a hot drink levels off at room temperature.
Sinusoidal models
When a quantity repeats, find the maximum and minimum first. The principal axis is halfway between them, the amplitude is half the distance between them, and the period comes from the context. Many AI questions use degrees, so check your calculator's mode.
Similar exercises
A phone plan costs 25 dollars for 2 GB of data and 37 dollars for 6 GB. Assuming a linear model, write the cost C in terms of the data g (in GB), and interpret the gradient.
What you need: gradient =\dfrac{37-25}{6-2}.
Show solution
The gradient is \dfrac{37-25}{6-2}=\dfrac{12}{4}=3, so C=3g+c. Substituting (2,\ 25) gives 25=6+c, so c=19.
The model is C=3g+19: each extra gigabyte costs 3 dollars, on top of a fixed 19 dollars.
So C=3g+19, and the gradient is the cost per gigabyte.
Answer. C=3g+19; 3 dollars per GB.
A small company's monthly profit, in thousands of dollars, when it makes x hundred items is P(x)=-2x^2+40x-150. Find the number of items that gives the greatest profit, and that profit.
What you need: the vertex is at x=-\dfrac{b}{2a}.
Show solution
The vertex is at x=-\dfrac{40}{2(-2)}=10, that is 1000 items.
The profit there is P(10)=-200+400-150=50 thousand dollars.
So making 1000 items gives the greatest profit, 50 thousand dollars.
Answer. 1000 items; 50 thousand dollars.
A culture has 500 bacteria at t=0 and 4000 after 3 hours. Assuming exponential growth N=500a^t, find a and predict N after 5 hours.
What you need: 500a^3=4000.
Show solution
From 500a^3=4000 we get a^3=8, so a=2: the number doubles every hour.
After 5 hours, N=500(2)^5=16\,000.
So a=2 and the model predicts 16\,000 bacteria after 5 hours.
Answer. a=2; 16\,000.
For y=4\sin(30x)+10, with x in degrees, state the amplitude, the period, the principal axis, and the maximum and minimum values.
What you need: amplitude |a|, period \dfrac{360}{b}, axis y=d.
Show solution
Here a=4, b=30 and d=10.
The amplitude is 4, the period is \dfrac{360}{30}=12, and the principal axis is y=10. The values therefore range from 10-4=6 to 10+4=14.
So the amplitude is 4, the period 12, the axis y=10, the maximum 14 and the minimum 6.
Answer. 4; 12; y=10; 14 and 6.
A scatter plot of the yield of a crop against the amount of fertiliser shows yield rising, reaching a peak and then falling. Which model would you try first, and why?
What you need: which shape rises and then falls?
Show solution
The data rise to a highest point and then fall, which is the shape of a parabola opening downwards.
So a quadratic model y=ax^2+bx+c with a<0 is the natural first choice; a linear or exponential model cannot turn around.
Answer. A quadratic model with a<0.
Applied exercises
A cup of tea cools according to T=20+60(0.9)^t, where T is in degrees Celsius and t in minutes.
a) Find the temperature after 10 minutes.
b) How long does it take to cool to 35^\circC?
c) What temperature does the tea approach in the long run?
What you need: solve 0.9^t=0.25 with logarithms or the GDC.
Show solution
a) T(10)=20+60(0.9)^{10}\approx40.9^\circC.
b) Setting T=35 gives 60(0.9)^t=15, so 0.9^t=0.25 and t=\dfrac{\ln0.25}{\ln0.9}\approx13.2 minutes.
c) As t grows, 0.9^t approaches 0, so T approaches 20^\circC, the temperature of the room.
So the tea is about 40.9^\circC after 10 minutes, reaches 35^\circC after about 13.2 minutes, and levels off at 20^\circC.
Answer. a) 40.9^\circC; b) 13.2 minutes; c) 20^\circC.
For the ball with h(t)=1.5+20t-4.9t^2, for how long is the ball higher than 15 m?
What you need: solve 4.9t^2-20t+13.5=0.
Show solution
Setting h(t)=15 gives 4.9t^2-20t+13.5=0. The GDC, or the quadratic formula, gives t\approx0.853 s and t\approx3.23 s.
The ball is above 15 m between these times, for 3.228-0.853\approx2.37 s.
So the ball is higher than 15 m for about 2.37 seconds.
Answer. About 2.37 s.
Plan A costs C=3g+19 dollars for g GB of data; plan B costs a flat 35 dollars. For which amounts of data is plan A cheaper?
What you need: solve 3g+19<35.
Show solution
Plan A is cheaper when 3g+19<35, that is 3g<16, so g<\dfrac{16}{3}\approx5.33.
So plan A is cheaper for less than about 5.33 GB a month; above that, plan B is cheaper.
Answer. For g<5.33 GB.
A patient takes 200 mg of a medicine, and 15\% of the amount in the body is removed each hour. After how many whole hours is there less than 50 mg left?
What you need: solve 200(0.85)^t<50.
Show solution
The amount after t hours is 200(0.85)^t, so we need 0.85^t<0.25, that is t>\dfrac{\ln0.25}{\ln0.85}\approx8.53.
Checking whole hours: after 8 hours, 200(0.85)^8\approx54.5 mg; after 9 hours, 200(0.85)^9\approx46.3 mg.
So less than 50 mg remains after 9 hours.
Answer. 9 hours.
Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.
Part I. Multiple choice
A constant factor each step is exponential growth.
It is the cost when m=0.
The vertex is (3,\ 7) and the parabola opens downwards.
60(0.9)^t\to0, so T\to20.
Part II. True or false
| a) The amplitude is 3. | ||
| b) The period is 12. | ||
| c) The minimum value is 2. | ||
| d) The maximum value is 9. |
The maximum is 5+3=8.
Part III. Short answer
2.5(6)+4=19.
\dfrac{18-6}{2}=6.
Show answers and explanations
- Part I, question 1: D. A constant factor each step is exponential growth.
- Part I, question 2: A. It is the cost when m=0.
- Part I, question 3: C. The vertex is (3,\ 7) and the parabola opens downwards.
- Part I, question 4: B. 60(0.9)^t\to0, so T\to20.
- Part II, question 1: a) True; b) True; c) True; d) False. The maximum is 5+3=8.
- Part III, question 1: 19. 2.5(6)+4=19.
- Part III, question 2: 6. \dfrac{18-6}{2}=6.