Professional Documents
Culture Documents
ROOTS OF EQUATIONS
Frequently in Maths we need to solve equations, we have methods to solve linear, quadratic and cubic equations but what
about other forms? We can rearrange equations to take the form 𝑓(𝑥) = 0, and if we graph this, the roots (or solutions) are
where the graph intersects the x-axis. If we look at a cubic graph, for example, we can see that either side of the root the graph
has the opposite sign.
We can therefore say that if a graph is continuous and has opposite signs at 𝑓(𝑝) and 𝑓(𝑞) then there must be at least one root
between p and q.
EXAMPLE
Show that the equation 𝑥 3 = 𝑥 + 1 has a root between 1 and 2, and find this root correct to 2 decimal places.
Therefore we know there is a solution between 1 and 2, because the value of 𝑓(𝑥) is close to 0 at 𝑥 = 1, it is best to look closer
to this value than to 𝑥 = 2
Therefore the root lies between 1.32 and 1.33, correct to 2 dp.
Finding roots by iteration involves making a trial or guess and then learning from this attempt so that we can make an
improvement. If we wish to solve an equation 𝑓(𝑥) = 0 by an iterative method, we need to find a relationship 𝑥𝑟+1 = 𝐹(𝑥𝑟 )
such that 𝑥𝑟+1 is a better approximation to the solution of the equation than 𝑥𝑟 .
EXAMPLE
1
Show that the equation 𝑥 2 − 3𝑥 + 1 = 0 has a root between 𝑥 = 2 and 𝑥 = 3. Using the rearrangement 𝑥 = 3 − , and an
𝑥
initial value of 𝑥 = 3, use an iterative method to find this root correct to two decimal places.
If 𝑓(𝑥) = 𝑥 2 − 3𝑥 + 1 then 𝑓(2) = −1 and 𝑓(3) = 1. The change in sign of 𝑓(𝑥) between 𝑥 = 2 and 3 shows that there is a
solution.
1 1
From the rearranged form 𝑥 = 3 − , we use the iterative formula 𝑥𝑟+1 = 3 − , with 𝑥0 = 3
𝑥 𝑥𝑟+1
1
𝑥1 = 3 − = 2.6667
3
1
𝑥2 =3− = 2.6250
2.6667
1
𝑥3 =3− = 2.6190
2.6250
1
𝑥4 =3− = 2.6182
2.6190
1
𝑥5 =3− = 2.6181
2.6182
We cannot assume that this method will always work for example:
Find the root to the equation 𝑥 3 + 2𝑥 − 4 = 0, using 𝑥0 = 1. We can rearrange this equation in more than one way:
1
𝑥𝑟+1 = 3√(4 − 2𝑥𝑟 𝑥𝑟+1 =(4 − (𝑥𝑟 )3 )
2
𝑥 = 1.5, 0.3125, 1.9847, −1.9089, 5.4779
𝑥 = 1.2599, 1.1397 1.193, 1.1704, 1.1839, 1.1774, 1.18