Professional Documents
Culture Documents
P3 - Chapter6 - Numerical Solutions of Equations
P3 - Chapter6 - Numerical Solutions of Equations
Chapter 6
NUMERICAL SOLUTIONS OF
EQUATIONS
Learning Outcome 6.1
To be able to locate approximately a root of an equation by means of graphical considerations.
To be able to locate approximately a root of an equation searching for a sign change.
1. We can solve some of the equations easily by using methods that we learned before such as:
(i) solving x 2 4 x 5 0 by factorizing, completing square or using quadratic roots
formula.
(ii) solving x 3 8 0 by factorizing, or any other suitable method.
2. However, we are not able to get the root of some equations such as x 3 e x 0 .
When the roots of an equation cannot be found exactly, we can look for approximate solutions.
3. First we need to locate the roots roughly and this can be done by sketching graphs.
Example 1 MJ11/33/Q6(i)
By sketching a suitable pair of graphs, show that the equation cot x 1 x 2 , where x is in radians, has
1
only one root in the interval 0 x .
2
2. Each time the curve crosses the x -axis, the sign of y changes. Therefore, we use sign-change
rule to locate the roots of an equation.
Example 3 MJ11/33/Q6(ii)
1
Verify by calculation that the only one root of cot x 1 x 2 in the interval 0 x lies between
2
0.5 and 0.8.
Example 4 MJ12/31/Q10(ii)
It is given that there is exactly one real value of t satisfying the equation t 3 t 0.8 . Verify by
calculation that this value lies between 1.2 and 1.3.
To be able to understand the idea of, and use the notation for, a sequence of approximations
which converge to a root of an equation.
To be able to understand how a given simple iterative formula of the form xn1 F ( X n )
relates to the equation being solved, and use a given iteration, or an iteration based on a given
rearrangement of an equation, to determine a root to a prescribed degree of accuracy
(knowledge of the condition for convergence is not included, but candidates should understand
that an iteration may fail to converge).
.
6.2.1 Iteration
1. Iteration produces a sequence of values by using a formula (called iteration formula) of the
form xn1 f ( xn ) .
2. To use the iterative formula, a first / initial value, x1 must be chosen. This approximation to
the root to be found can be chosen by graphical method or sign-change method. Most of the
time, initial value will be given in the question.
(ii) The first approximation x 0 is substituted into the formula and gives a value call it y 0
which then becomes x1 . This process is illustrated by the arrows.
(iii) As the iteration is repeated, the arrows build into some sort of pattern. In this particular
case, they are moving (slowly) closer to the right-hand point of intersection, and so will
eventually lead to that solution.
Example 6 ON08/Q9
1
x
a
The constant a is such that xe dx 6 .
2
0
1
x
(i) Show that a satisfies the equation x 2 e 2 .
(ii) By sketching a suitable pair of graphs, show that this equation has only one root.
(iii) Verify by calculation that this root lies between 2 and 2.5.
(iv) Use an iterative formula based on the equation in part (i) to calculate the value of a correct to
2 decimal places. Give the result of each iteration to 4 decimal places.
2. If the equation x F (x) has a root, then a sequence by xn1 F ( xn ) with a starting value close
to the root will converge to the root if the gradient of the graph of y F (x) art and around the
root is not too large (roughly between -1 and 1).
4. The smaller the modulus of the gradient, the fewer steps will be needed to reach the root to a
given accuracy.
5. If the gradient is negative, the terms will be alternately above and below the root,
if the gradient is positive, the terms will approach the root steadily from one side.
Example 9 ON05/Q4
The equation x 3 x 3 0 has one real root, .
(i) Show that lies between 1 and 2.
Two iterative formulae derived from this equation are as follows:
xn1 xn 33 ------(B)
1
xn1 xn3 3 -------(A)
Each formula is used with initial value x1 1.5 .
(ii) Show that one of these formulae produces a sequence which fails to converge, and use the
other formula to calculate correct to 2 decimal places. Give the result of each iteration to 4
decimal places.
The diagram shows a sector OAB of a circle with centre O and radius r . The angle AOB is
1
radians, where 0 . The point N on OA is such that BN is perpendicular to OA . The area of
2
the triangle ONB is half the area of the sector OAB .
(i) Show that satisfies the equation sin 2 x x .
(ii) By sketching a suitable pair of graphs, show that this equation has exactly one root in the
1
interval 0 x .
2
(iii) Use the iterative formula xn1 sin 2 xn , with initial value x1 1 , to find correct to 2
decimal places, showing the result of each iteration.