Solveeit Logo

Question

Question: What is the value of \(\sqrt {12} \) by Newton- Raphson’s method after the first iteration?...

What is the value of 12\sqrt {12} by Newton- Raphson’s method after the first iteration?

Explanation

Solution

We know that Newton- Raphson is a root finding algorithm which produces successively better approximations for roots or zero of real valued functions. We know that the iterative equation of Newton Raphson method is xn+1=xnf(xn)f(xn){x_{n + 1}} = {x_n} - \dfrac{{f({x_n})}}{{f'({x_n})}}. We should know that the first iteration is x0{x_0}, thus the formula is x1=x0f(x0)f(x0){x_1} = {x_0} - \dfrac{{f({x_0})}}{{f'({x_0})}}.

Complete step by step solution:
Here we have to find the value of 12\sqrt {12} by Newton- Raphson’s method after the first iteration.
Let us assume x=12x = \sqrt {12} . By squaring both the sides we have x2=(12)2{x^2} = {(\sqrt {12} )^2}.
So we have x2=12{x^2} = 12. By taking the constant term to the left side of the equation we have
x212=0{x^2} - 12 = 0.
Now the formula of the iterative equation of Newton Raphson method is xn+1=xnf(xn)f(xn){x_{n + 1}} = {x_n} - \dfrac{{f({x_n})}}{{f'({x_n})}}.
If f(x)=x212f(x) = {x^2} - 12, then we need the derivative so we have f(x)=2xf'(x) = 2x.
We will substitute f(x)=x212f(x) = {x^2} - 12 in the formula, and it can be written as xn+1=xnf(x2n12)2xn{x_{n + 1}} = {x_n} - \dfrac{{f({x^2}_n - 12)}}{{2{x_n}}}.
Now we have to find the first iteration i.e. n=0n = 0, so we have x1=x0f(x2012)2x0=x02+122x0{x_1} = {x_0} - \dfrac{{f({x^2}_0 - 12)}}{{2{x_0}}} = \dfrac{{x_0^2 + 12}}{{2{x_0}}}.
We know that 3<12<43 < \sqrt {12} < 4 or it can be written as 9<12<16\sqrt 9 < \sqrt {12} < \sqrt {16} .
From this our first iteration i.e. x0=3{x_0} = 3. By putting this in the formula we have 32+122×3=9+126\dfrac{{{3^2} + 12}}{{2 \times 3}} = \dfrac{{9 + 12}}{6}.
It gives us the value 3.53.5.
Now we put 3.53.5 in the equation i.e. x1=3.5(3.5)2122×3.5{x_1} = 3.5 - \dfrac{{{{(3.5)}^2} - 12}}{{2 \times 3.5}}.
On simplifying we have 3.512.251273.50.0357=3.46433.5 - \dfrac{{12.25 - 12}}{7} \Rightarrow 3.5 - 0.0357 = 3.4643.
Hence the required value is x1=3.4643{x_1} = 3.4643.

Note:
We should note that the formula of first iteration is x1=x0x02A2x0=x02+A2x0{x_1} = {x_0} - \dfrac{{x_0^2 - A}}{{2{x_0}}} = \dfrac{{x_0^2 + A}}{{2{x_0}}}, so if we have a guess x0{x_0}. We can get the more accurate value by calculating x02+A2x0\dfrac{{x_0^2 + A}}{{2{x_0}}}, where AA is the number which square root we are trying to find as we did in the above solution. We should know that x0{x_0} is our initial guess and x1{x_1} is a more accurate one.