Other models AI SL
Not every situation is a straight line, a parabola or an exponential. This page covers the models that remain: piecewise models that change rule at a boundary, direct and inverse variation, cubic models, and sinusoidal models for anything that repeats in a cycle, such as daylight hours or a tide. Choose the model from the context, find any unknown constants from the given values, then use the calculator to answer the question and say what the answer means with units.
Formulas at a glance
None of the model forms on this page is in the IB formula booklet, so you build each model from the context. The period of a sinusoidal model is 360 divided by , with the angle in degrees, and the calculator must be in degree mode.
Sinusoidal model (sine form)
Not in the bookletSinusoidal model (cosine form)
Not in the bookletLength of one full cycle (degrees)
Period
Not in the bookletCubic model
Not in the bookletDifferent rule on different intervals
A different formula on each interval
Not in the bookletWhich method to use
Look for the wording of the context first, then choose the model and the tool.
| The question has | Use | Notes |
|---|---|---|
| "Varies directly with", "is proportional to" | , or for a power | Find by substituting one pair of values, then use the model |
| "Varies inversely with", for example with the square of the distance | , or | The product (or ) is always |
| A rule that changes at a boundary, such as a charge or tariff | A piecewise model: compare the input with the boundary and use that piece | Check which piece includes the boundary value from the inequality signs |
| A piecewise model with a target output, such as "the bill is $80" | Compare the target with the output at the boundary to choose the piece, then solve in that piece | Check that the answer lies inside the chosen piece |
| A cubic model, with a greatest value, least value or zeros | Graph it and use the maximum, minimum and zero tools, or the polynomial solver | A cubic can have turning points and up to three zeros. Check the domain |
| The amplitude, principal axis or period of a sinusoidal model | Amplitude , principal axis , period | The period formula is for degrees and is not in the booklet |
| The value of a sinusoidal model at a given time | Substitute the time with the calculator in degree mode | Radian mode gives a different, wrong value with no warning |
| The times at which a sinusoidal model reaches a given value | Graph the model and the line, then find every intersection in the interval | Expect two answers in each cycle unless the value is the maximum or minimum |
Piecewise and other models
Direct variation, inverse variation, piecewise models and cubic models describe relationships that are not a single straight line. Direct variation is , inverse variation is , and a piecewise model uses a different rule on each part of its domain. A cubic model can have turning points and up to three zeros, so graph it and use the maximum, minimum and zero tools. Find any constant from a known pair of values, then use the model to make predictions.
Key relationships
Neither variation form below appears in the formula booklet - you set them up from the description each time.
Direct variation
grows in proportion to . Find by substituting one known pair of values, then use the model for any other input.
Inverse variation
shrinks as grows. The inverse-square version works the same way, just with in the denominator.
Key terms
What is the constant of variation?
The constant is the fixed number that links the two variables in a variation model. Find it by substituting one known pair of values and solving for .
e.g. If varies directly with and when , then , so .
What does 'varies directly with the square' mean?
It means , so doubling multiplies by . Substitute a known pair of values to find .
e.g. If and when , then , so .
What does the graph of an inverse variation look like?
For positive values, the graph of is a curve that falls as increases and gets close to both axes without touching them. The product always equals .
e.g. For , the points , and all have .
Which piece applies at the boundary value?
The inequality signs decide. A sign or includes the boundary value in that piece, while or excludes it.
e.g. If for and for , then uses , giving .
Worked example, step by step
The question Calculator needed for the solving step [6 marks]
An electricity company charges for each kilowatt-hour (kWh) used up to kWh. For every kilowatt-hour above it charges . The cost, dollars, of using kWh is modelled by
(a) Find the cost of using kWh.
(b) Find the cost of using kWh.
(c) A customer's bill is . Find the number of kilowatt-hours the customer used.
Worked solution: worked example
Answer: (a) (b) (c) kWh
Step 1 - Read the model and its boundary.
There are two rules, or pieces, and the boundary is . Use the first piece when and the second piece when . At the boundary the first piece gives , which is where the second piece starts.
Why? A piecewise model is only one rule at a time. Before you substitute, compare the input with the boundary, because using the wrong piece gives a sensible-looking but wrong answer.
Step 2 - Cost of 150 kWh.
Since , use the first piece: The cost is . M1 - Use the first piece, , with A1 -
Why? The input is on the first side of the boundary, so the first rule applies and the second rule is ignored.
Step 3 - Cost of 320 kWh.
Since , use the second piece: The cost is . M1 - Use the second piece with A1 -
Why? The is the cost of the first kWh, and only the kWh above the boundary are charged at the higher rate.
Step 4 - Choose the piece for a bill of $80.
The cost at the boundary is , and , so the customer used more than kWh. Use the second piece and set it equal to : M1 - Use the second piece and set it equal to (or enter the equation for the solver or a graph)
Why? When you are given the output, compare it with the output at the boundary to decide which piece to use. Any bill above must come from the second piece.
Step 5 - Solve and check the piece.
Solve on the calculator (the equation solver, or graph and ): So the customer used about kWh. Check: , so the second piece was the right one, and . A1 -
Why? Always check that the answer lies inside the piece you used. If it did not, the piece chosen was wrong and the other piece would need to be tried.
M1 Use the first piece, , with
A1
M1 Use the second piece with
A1
M1 Use the second piece and set it equal to (or enter the equation for the solver or a graph)
A1
Now you try: enter your answers to be marked
These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 8 marks
Calculator steps: Enter a calculation on the home screen, Find a maximum, minimum or zero of a graph (stationary points), Find where two graphs meet (intersection)
Common mistakes
- Substituting into the wrong piece of a piecewise model. Always check the input against the stated interval boundaries first - using the wrong formula gives a plausible-looking but wrong answer.
- Confusing direct and inverse variation. "Varies directly" means (both grow together); "varies inversely" means (one grows as the other shrinks). Misreading the wording flips the whole model.
- Applying the tax rate to the whole income, not just the excess. In a banded model like , the rate only applies above the threshold - forgetting to subtract the threshold first overstates the answer.
Sinusoidal models
A sinusoidal model describes a repeating pattern using or . The amplitude is , the period is and the principal axis is , which let you find the greatest and least values and solve for when the model takes a given value. Keep your GDC in degree mode.
The two forms
You find amplitude , period , or the equation of the principal axis , but you are not expected to convert between the sine and cosine forms.
Key terms
What is the principal axis?
The principal axis is the horizontal line through the middle of the graph, halfway between the maximum and minimum values. The graph oscillates equally above and below it.
e.g. For , the principal axis is .
How do you find the maximum and minimum values?
The maximum is and the minimum is , because sine and cosine take values between and .
e.g. For , the maximum is and the minimum is .
How do sine and cosine models differ?
For positive , a sine graph starts on the principal axis and rises, whereas a cosine graph starts at its maximum. Either type can model a pattern, depending on where the data begins.
e.g. equals when , whereas equals when .
How do you solve a sinusoidal equation with a GDC?
Graph the model and the horizontal line for the required value, then find every intersection within the domain. There is usually more than one solution, so check the whole interval.
e.g. Solving for gives and .
Worked example, step by step
The question Calculator needed, in degree mode [6 marks]
The number of hours of daylight, , in a northern city is modelled by , where is the number of months after 21 March and .
(a) Write down the maximum number of hours of daylight.
(b) Find the period of the model.
(c) Find the times in the year when there are hours of daylight.
Worked solution: worked example
Answer: (a) hours (b) months (c) and months after 21 March
Step 1 - Read the model.
Compare with : the amplitude is , the principal axis is and .
Why? The coefficient of the sine is the amplitude, and the constant added is the principal axis, the middle line that the graph oscillates about.
Step 2 - Find the maximum.
The maximum is the principal axis plus the amplitude: . The greatest number of daylight hours is . A1 -
Why? The sine term takes values from to , so the model swings from to . The amplitude is half the range, not the maximum itself.
Step 3 - Find the period.
The period is months. M1 - Use period with A1 -
Why? The period is the time for one full cycle. It is not in the booklet, and it is divided by only when the angle is in degrees.
Step 4 - Set up the equation.
Set : Put the calculator in degree mode, graph and for , and find the points where they meet. M1 - Set and attempt to solve with technology (graph the model and )
Why? A sine curve crosses a height between its minimum and maximum twice in each cycle, so look for two solutions in the first year. Degree mode matters, because the model is written with .
Step 5 - Read both solutions.
The intersection tool gives and , in months after 21 March. Check by hand: , and . The two times are symmetrical about the peak at . A1 - A1 -
Why? Both values are inside , and the next solutions would be a year later. Putting a value back into the model confirms it.
A1
M1 Use period with
A1
M1 Set and attempt to solve with technology (graph the model and )
A1
A1
Now you try: enter your answers to be marked
State the amplitude.
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 7 marks
Calculator steps: Switch between degrees and radians, Find where two graphs meet (intersection), Find a maximum, minimum or zero of a graph (stationary points)
Common mistakes
- Leaving the GDC in radian mode. AI sinusoidal models are written with the angle in degrees, like - a calculator left in radian mode gives a completely different, wrong value with no warning.
- Reading off the wrong quantity. The amplitude is , not the maximum value - the maximum is and the minimum is . Mixing these up is a common slip when a question asks for "the maximum" rather than "the amplitude".
- Only finding one solution when two exist. A sine curve usually crosses a given height twice per cycle; if a question expects two answers over an interval, check the graph for a second intersection rather than stopping after the first.
Using your GDC
The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.
Enter a calculation on the home screen
Used in: Piecewise and other models
How to enter a calculation on a TI-84 Plus CE
Type a calculation and press enter | |
Go to the home screen: press 2nd mode (QUIT) from any menu or app. Press clear if the entry line is not empty. |
|
Type the calculation as you would write it, then press enter. For press 3 ( 2 . 4 ) x² − 5 × 1 . 8 enter. The calculator understands a number next to a bracket as a multiplication, so × is not needed in . If a fraction, square root or power template is on the screen, press ▶ to move out of it before you carry on typing. |
3(2.4)²-5*1.8 8.28 |
Use the last answer in the next calculation | |
To increase the answer by 15%, press × 1 . 1 5 enter on a blank line. The calculator puts Ans, the last answer, in front of the operator for you. You can also type Ans yourself, anywhere in a calculation: press 2nd (−) (ANS), for example 2nd (−) (ANS) × 1 . 1 5 enter. , which is to 3 significant figures. |
Ans*1.15 9.522 |
To use an earlier entry or answer, press ▲ to move up through the history, then enter to paste the highlighted one on the entry line. Press 2nd enter (ENTRY) to bring back your last entry and change it. |
|
Ans always holds the last answer that was worked out, so if you do a different calculation in between, Ans changes. Type a number you need later, or keep it on the screen, rather than relying on Ans for many steps.
The full guide: Enter a calculation on the home screen
Find where two graphs meet (intersection)
Used in: Piecewise and other models, Sinusoidal models
How to find where two graphs meet on a TI-84 Plus CE
Graph both and use intersect | |
Press Y=, clear any old functions with clear, then type X,T,θ,n x² − 3 next to Y1=. Press ▼ and type 2 X,T,θ,n + 1 next to Y2=. |
Plot1 Plot2 Plot3 \Y1=X²-3 \Y2=2X+1 \Y3= |
Press window and set Xmin = −3, Xmax = 5, Ymin = −4, Ymax = 10. For a negative number use the (−) key, not the subtraction key. Press graph. Both curves should show, with two crossing points on the screen. |
WINDOW Xmin=-3 Xmax=5 Xscl=1 Ymin=-4 Ymax=10 Yscl=1 |
Press 2nd trace (CALC) and choose 5:intersect. First curve? appears with the cursor on one graph: press enter. Second curve? appears: press enter again. If more than two graphs are drawn, use ▲ or ▼ to put the cursor on the right graph before pressing enter. |
|
Guess? appears. Use ◀ or ▶ to move the cursor close to the right-hand crossing, then press enter. The screen shows Intersection with and . |
|
For the other crossing, repeat 2nd trace 5:intersect, enter, enter, and this time move the guess close to the left-hand crossing before pressing enter. and . |
|
The guess decides which crossing the calculator finds, so give a guess near the point you want. A crossing outside the window cannot be found, so check WINDOW first.
The full guide: Find where two graphs meet (intersection)
Find a maximum, minimum or zero of a graph (stationary points)
Used in: Piecewise and other models, Sinusoidal models
How to find a maximum, minimum or zero on a TI-84 Plus CE
Graph the function and use the CALC menu | |
Press Y=, clear any old functions with clear, then type X,T,θ,n ^ 3 − 6 X,T,θ,n x² + 5 X,T,θ,n + 4 next to Y1=. |
Plot1 Plot2 Plot3 \Y1=X^3-6X²+5X+4 \Y2= |
Press window and set Xmin = −2, Xmax = 6, Ymin = −15, Ymax = 10. For a negative number use the (−) key, not the subtraction key. Press graph. The graph should show the turning points and the places where it crosses the x-axis. |
WINDOW Xmin=-2 Xmax=6 Xscl=1 Ymin=-15 Ymax=10 Yscl=1 |
For the local maximum, press 2nd trace (CALC) and choose 4:maximum. Left Bound? appears with the cursor on the graph: use ◀ to move it to the left of the maximum, then press enter. Right Bound? appears: use ▶ to move to the right of the maximum and press enter. Guess? appears: move the cursor close to the maximum, between the two bounds, and press enter. With more than one graph drawn, use ▲ or ▼ first to put the cursor on the right graph. The screen shows Maximum with and . |
|
For the local minimum, press 2nd trace and choose 3:minimum, then set the left bound, the right bound and the guess in the same way, with the bounds either side of the minimum. The screen shows Minimum with and . |
|
For a zero (a place where the graph crosses the x-axis), press 2nd trace and choose 2:zero. Set the left bound on one side of the crossing and the right bound on the other, then give a guess between them. Each search finds one zero, so repeat with the bounds round each of the other crossings. The zero between and is , with . |
|
Put the left and right bounds either side of the point you want, and the guess between them. A bound or guess that is outside the window, or on the wrong side, gives an error or a different point.
The full guide: Find a maximum, minimum or zero of a graph (stationary points)
Switch between degrees and radians
Used in: Sinusoidal models
How to switch between degrees and radians on a TI-84 Plus CE
Mode screen | |
Press mode to open the mode screen. The angle setting is the line that shows RADIAN and DEGREE. The highlighted word is the one in use. |
NORMAL SCI ENG FLOAT 0 1 2 3 4 5 6 7 8 9 RADIAN DEGREE |
Press ▼ until the cursor is on that line. Press ▶ to move to DEGREE (or ◀ to move to RADIAN), then press enter to select it. |
NORMAL SCI ENG FLOAT 0 1 2 3 4 5 6 7 8 9 RADIAN DEGREE |
Press 2nd mode (QUIT) to return to the home screen. The angle mode you chose now shows in the status bar at the top of the screen. |
|
Check the mode with a test calculation | |
Type sin 3 0 ) and press enter. In degree mode is . Any other value means the calculator is in radian mode. In radian mode the same keys give to 3 decimal places, because 30 is then read as 30 radians. |
DEGREE: sin(30) 0.5 RADIAN: sin(30) -.9880316241 |
Find an angle from a ratio (inverse sine, cosine, tangent) | |
Set the angle mode the question needs, as above. To find the angle whose sine is , press 2nd sin (sin⁻¹). The screen shows sin⁻¹(. |
|
Type 5 ÷ 8, close the bracket with ) and press enter. In degree mode to 1 decimal place; in radian mode the same keys give to 3 decimal places. For or press 2nd cos or 2nd tan instead. |
DEGREE: sin⁻¹(5/8) 38.68218745 RADIAN: sin⁻¹(5/8) .6751315329 |
The mode stays as you leave it until you change it again, and it applies only to new calculations: press enter on an old line to recalculate it in the new mode.
The full guide: Switch between degrees and radians
See the full list of GDC guides for every calculator task.
Syllabus content covered
| Code | Syllabus content |
|---|---|
| SL2.5 | Modelling with linear models, including piecewise linear models, for example horizontal distances of an object to a wall, depth of a swimming pool, mobile phone charges. Direct and inverse variation: , ; the -axis as a vertical asymptote when . Cubic models: . |
| SL2.5 | Sinusoidal models: , . Students will not be expected to translate between and , and will only be required to predict or find amplitude , period , or equation of the principal axis . |
| SL2.6 | Modelling skills: determine a reasonable domain for a model; find the parameters of a model by setting up and solving equations simultaneously (using technology), by consideration of initial conditions or by substitution of points into a given function; comment on the appropriateness and reasonableness of a model; reading, interpreting and making predictions based on the model. |
| SL2.4 | Determine key features of graphs: maximum and minimum values, intercepts, zeros of functions, using graphing technology. Finding the point of intersection of two curves or lines using technology. |
Official IB source: Mathematics: applications and interpretation subject brief (PDF, ibo.org).
Quick questions
What is a piecewise model?
A piecewise model uses a different formula on different parts of the domain, such as a tax rate that changes above a threshold. Always check which interval the input falls into before substituting.
How do you find the amplitude of a sinusoidal model?
In or , the amplitude is , the coefficient multiplying the sine or cosine term.
What is the difference between direct and inverse variation?
Direct variation is , where increases as increases. Inverse variation is , where decreases as increases. In both, is a constant found by substituting one known pair of values.
How do you find the period of a sinusoidal model?
The period is when the angle is measured in degrees, which is how AI sinusoidal models are usually written.
How do I find the constant in an inverse variation?
Multiply the known pair of values, because . If workers take hours, then , so .
Why does my GDC give wrong values for a sine model?
The GDC must be in degree mode because the model is written with angles in degrees. In radian mode the same input gives a different value.
How do I calculate tax when the rate changes in bands?
Apply each rate only to the income inside its band. With 0% on the first $12,000 and 25% on income above that, an income of $20,000 pays 25% of $8,000, which is $2,000.
How do I find the value of the model at a given time?
Substitute the time into the formula with the calculator in degree mode. For at , .
How can I tell whether two quantities vary directly?
Check whether the ratio is the same for every pair of values. If it is constant, the relationship is direct variation and its graph is a straight line through the origin.
How many times does a sinusoidal model reach a given value?
A value strictly between the minimum and the maximum is reached twice in each period. A value equal to the maximum or minimum is reached once in each period.
Ready to practise properly?
Practice questions on every section, marked instantly like the real exam.