14.04.2017 Views

Numerical Analysis By Shanker Rao

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

34 NUMERICAL ANALYSIS<br />

The above value of x 1<br />

is a closer approximation to the root of f(x) = 0 than x 0<br />

. Similarly if x 2<br />

denotes a better approximation, starting with x 1<br />

, we get<br />

Proceeding in this way we get<br />

x<br />

f x1<br />

= x −<br />

f ′ x<br />

2 1<br />

bg<br />

bg .<br />

1<br />

f x<br />

xn+ 1 = xn<br />

−<br />

f ′ x<br />

b b ng . (12)<br />

The above is a general formula, known as Newton–Raphson formula. Geometrically, Newton’s<br />

method is equivalent to replacing a small arc of the curve y = f(x) by a tangent line drawn to a point<br />

of the curve. For definition sake, let us suppose f ′′ bg x > 0, for a ≤ x ≤ b and f(b) > 0 (see Fig.<br />

2.3) whose x 0<br />

= b, for which f x f ′′ x > .<br />

bg bg<br />

0 0 0<br />

Draw the tangent line to the curve y = f(x) at the point B 0<br />

[x 0<br />

, f(x 0<br />

)].<br />

Let us take the abscissa of the point of intersection of this tangent with the<br />

x-axis, as the first approximation x 1<br />

of the root of c. Again draw a tangent line through B [x 1<br />

, f(x 1<br />

)],<br />

whose abscissa of the intersection point with the x-axis gives us the second approximation x 2<br />

of the root<br />

c and so on. The equation of the tangent at the point B x<br />

[x n<br />

, f(x n<br />

)] [n = 0, 1, 2, …, n] is given by<br />

b ng b ngb ng.<br />

y − f x = f ′ x x − x<br />

Putting y = 0, x = x n + 1'<br />

we get<br />

f x<br />

xn+ 1 = xn<br />

−<br />

f ′ x<br />

Y<br />

b b ng .<br />

B 0<br />

B 1<br />

b<br />

x<br />

B 2<br />

O<br />

fa ( )<br />

a<br />

C<br />

= n<br />

x´<br />

x 2<br />

x 1<br />

x n<br />

X<br />

A<br />

Fig. 2.3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!