0% found this document useful (0 votes)
6 views

Picards Method

Uploaded by

shalinishalu7128
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Picards Method

Uploaded by

shalinishalu7128
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Picard’s Method

Prerequisites
You should be familiar with the idea that a root of an equation is a value that makes that
equation zero. If y  f  x  is a function, then a root of the equation f  x   0 is a value x  

such that f    0 . You should also be familiar with the method of trial and improvement to

find a root.

Example (1)
Find by trial and improvement the positive root of y  x 2  x  7 giving your answer to 2 d.p.

Given y  x 2  x  7 we first look for a sign change.

y  0   7
y 1  1  1  7  7
y 2  4  2  7  5
y 3  9  3  7  1
y  4  16  4  7  5

S0 y  0 at x  3 and y  0 at x  4 , therefore the positive root lies between 3 and 4. A

first approximation for the root is   3.5  0.5 , which is only accurate to 1 s.f.

x
3  4

1

We now look to improve the approximation by narrowing the interval. An obvious


point to start is with x  3.5 .

y 3.5   3.5  3.5  7  1.75


2
y 0 3    3.5
y 3.2   3.2  3.2  7  0.04
2
y 0 3    3.2

© blacksacademy.net

1
y 3.1  3.1  3.1  7  0.49
2
y 0 3.1    3.2
y 3.15  3.15  3.15  7  0.2275
2
y 0 3.15    3.20
y 3.18   3.18   3.18  7  0.0676
2
y 0 3.18    3.20
y 3.19   3.19   3.19  7  0.0139
2
y 0 3.19    3.20
y 3.195  3.195  3.195  7  0.013025 y  0
2
3.19    3.195

Therefore,   3.19 2 d.p.

Trial and improvement is an example of an iterative method. The term “iterative” means that
the same process is repeated again and again. In this case we repeat the process of trying an x
value chosen from an interval which is known to contain the root. We repeat this until a
numerical value for the root is obtained to the required degree of accuracy. Trial and
improvement is a slow method of finding a root, meaning that many iterations (repeats) have
to be made in order to arrive at a value. In this chapter we introduce another iterative method
for finding a root. This is known as Picard’s method.

Finding roots by Picard’s method


Suppose  is a root of g  x   0 . Then  can sometimes be found by rearranging g  x  to

obtain an expression x  F  x  . That is

g  x   F x   x  0

Then the iteration formula


xn 1  F  x n 

can be used to find the root The use of this rearrangement of an equation is called Picard’s
method. Picard’s method is also called fixed-point iteration. Sometimes this formula does not
work because the values get larger and larger (diverge), not smaller and smaller (converge).

We require the values to converge. The formula x n 1  F  x n  only converges if F   x   1 near

the solution . We will illustrate the method and discuss the conditions for convergence at
the same time.

Example (2)

Solve g  x   0 where g  x   x 3  3x  1

Solution
1
x 3  3x  1  0  x
3

1  x3 
Hence, Picard’s method gives the iteration formula

© blacksacademy.net

2
x n 1 
1
3

1  xn
3

We need a starting value for the iteration. Now
g  0   1
g 1  3

So by linear interpolation x 0  0.25 should be a good starting value for the iteration.

Then

x1 
1
3
 1
 
1  x 0  1   0.25  0.328125...
3

3
3

Likewise
x 2  0.321557...
x 3  0.322250...

To 3 decimal places x 2  x 3  0.322 , hence,  = 0.322 (3 d.p.)

A graph illustrates why the method works, if it does.

y=x

F ()

y = F (x)

x
 x0

The diagram shows the graph of y  F  x  and y  x and the initial approximation, x 0 . At the

point of intersection, where x   , we have F     , hence g    F      0 . So this is a

solution of g  x   0 . The value of the first approximation is shown in the following diagram.

y=x

F (x 0)
y = F (x)

x
x1 x0

© blacksacademy.net

3
At the point of intersection y  F  x 0  with y  x we have the value of the second

approximation, x 1 . The following diagram shows how repetition of this process causes

successive approximations to converge on the root 

y=x

F (x 0 )
y = F (x)

x
x1 x2 x0

However, when the gradient of y  F  x  is greater than 1 around the root then the series of

successive terms generated by the method diverges away from , as the following diagram
illustrates

y
y = F (x)
y=x

x
x3 x1 x0 x2

So for the method to work we must have F   x   1 . Furthermore, the rate of convergence is

faster, the smaller F   x  is.

Example (2)
 
Prove that the equation 2x  ln x  x 2  1  1 has a root in 0,1 . Find it correct to 6
decimal places.

© blacksacademy.net

4
Solution
The equation may be rearranged as

x
1
2

ln x  x 2  1 
1
2

which puts it in the form x  f  x  required for Picard’s method. Let

f x  
1
2
 1
ln x  x 2  1  ,
2
 g x   f x   x

1
Since g  0   f  0   0   0 and g 1  f 1  1  0.94  1   0.06  0 , there is a root of
2

the equation g  x  0 between 0 and 1, which is also a root of the equation


2x  ln x  x 2  1  1 . 
To confirm that the iteration will converge, we calculate the derivative of f, i.e.
1 1
f  x    . Therefore
2 1  x2
1 1
f  x    1 for all x  0,1 .
2 1 x 2 2

So we can apply the iterative method. For this, let


x0  0
1
x n 1 
2
 1
ln x n  x n2  1  ,
2
 for all n  0

i.e. x n 1  f  xn 

x1  f  x 0   0.5
x 2  f  x1   0.7406059
x 3  f  x 2   0.8428074
x 4  f  x 3   0.8828737
x5  f  x 4   0.8980413
x 6  f  x 5   0.9037051
x 7  f  x 6   0.9058092
x 8  f  x 7   0.9065893
x 9  f  x 8   0.9068783
x10  f  x 9   0.90698542
x11  f  x10   0.9070250
x12  f  x11   0.9070397
x13  f  x12   0.9070451
x14  f  x13   0.9070472
x15  f  x14   0.9070479

Therefore   0.907048 (6 d.p.) since g  0.9070475  0 and g  0.9070485  0 .

© blacksacademy.net

You might also like