Numerical methods in context
Studying this course? Keep your progress in one place.
Key facts
- Model the situation: define the variable, write the relationship and rearrange to .
- Keep the domain from the context in mind.
- Locate a root by a sign change of a continuous ; trap it in an interval to the accuracy asked.
- Rearrange to and iterate; a limit satisfies .
- Convergence needs . Give the answer in context, with units.
From a context to an equation
Define the variable, write the relationship and move everything to one side.
Many real problems end in an equation that cannot be solved by algebra, such as or . First model the situation, then state the domain.
Open box from a cm by cm sheet, squares of side removed: .
- 1
Define
Say what the variable means.
- 2
Relate
Write the relationship between the quantities.
- 3
Rearrange
Move everything to one side to make f(x) = 0.
- 4
Domain
State the sensible range for the variable.
Worked example
Form an equation for a box volume of cm³.
- 1
Set .
- 2
Divide by : .
- 3
Domain: the width must be positive, so .
Why does the box problem need ?
Locating a root
Show a change of sign of a continuous function, then trap the root in an interval to the accuracy asked.
If is continuous and changes sign on , there is a root there. State the values, the continuity and the conclusion. For , and .
For the box, and give . A discontinuity, such as on , can fake a sign change.
has and . Is there a root in ?
Iteration formulae
Rearrange into ; if converges, it converges to a root .
Use the iterative formula from a starting value . The same equation can be rearranged in several ways. From : , or .
Show each step of a rearrangement in a ‘show that’ question.
- Limit
Worked example
Use with .
- 1
- 2
,
- 3
and
If converges to , what is true of ?
Convergence and choosing a rearrangement
The sequence converges to when .
A positive gradient gives a staircase approaching from one side; a negative gradient gives a cobweb spiralling in.
For , use . Here near , so it converges quickly: . But has a large gradient near the root and diverges.
Staircase
- One side
Cobweb
- Alternating
Diverges
- Moves away
For , . At what happens?
Solving a contextual problem
Locate the root, iterate, then state the answer with its meaning and units.
For take . Always give the final answer in the units and with the meaning of the context.
Worked example
Solve , where is in hours.
- 1
and : sign change, so .
- 2
and , so .
- 3
Iterate from : , , , ... The values oscillate and close in on .
- 4
Interpret: the two quantities are equal about hours after the start.
Why does the iteration for oscillate either side of the root?
Try an exam question
Show that has a root between and , and use with to find and to 3 decimal places.
[4 marks]
- [1] and , with continuous.
- [1]Change of sign, so a root lies between and .
- [1].
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Which statement correctly justifies that has a root between and ?
1 mark, marked against the mark scheme
Which statement correctly justifies that has a root between and ?
1 mark, marked against the mark scheme