Newton-Raphson Method - Examples with Answers

The Newton-Raphson method is an algorithm used to find the roots of a function. It is an iterative method that uses the derivative of the function to improve the accuracy of the root estimation at each iteration.

In this article, we will look at a brief introduction to the Newton-Raphson method, including its steps and advantages. We will also provide examples of using the method to find the root of a function.

CALCULUS
Formula for the Newton Raphson method

Relevant for...

Learning about the Newton-Raphson method with examples.

See examples

CALCULUS
Formula for the Newton Raphson method

Relevant for...

Learning about the Newton-Raphson method with examples.

See examples

Steps to apply the Newton-Raphson method

The Newton-Raphson method is an iterative algorithm for finding the roots of a function. To use the method, follow these steps:

1. Choose an initial value for x.

This value is an estimate where we expect there to be a root.

2. Find the value of the function using the value of x from step 1.

3. Find the value of the derivative of the function using the value of x from step 1.

4. Use the values found to update the root estimate using the following formula:

$$x_{r+1}=x_{r}-\frac{f(x_r)}{f^{\prime}(x_r)}$$

5. Repeat steps 2-4 until the root estimate converges to an accurate value.

Advantages and disadvantages of the Newton-Raphson method

One of the main advantages of the Newton-Raphson method is that it can converge to the root of a function quickly, often in a few iterations.

In addition, the method can handle functions of any complexity, including nonlinear functions. This makes it an efficient algorithm for finding roots of complex functions.

Another advantage of the Newton-Raphson method is that it uses the derivative of the function to approximate the root, which can provide a more accurate estimate of the root compared to other methods that don't use derivatives.

However, the Newton-Raphson method also has some drawbacks. One of the main drawbacks is that the method may not converge if the initial estimate is too far from the true root.

In addition, the method may converge to a local minimum or maximum rather than to the global minimum or maximum, which may lead to an incorrect estimate of the root.

Finally, the method requires the calculation of derivatives, which can be difficult for some functions.

Newton-Raphson method - Examples with answers

EXAMPLE 1

Use the Newton-Raphson method to find a negative root of the following cubic polynomial:

$$x^3-2x+1$$

Use as a starting point the value $latex x_0=-1.5$ to find by successive approximations the value of the root to three decimal places of precision.

Solution

EXAMPLE 2

Find to the nearest three decimal places the value of x that satisfies the following equation:

$$ln(x)=2$$

Solution

EXAMPLE 3

Find the value of x that satisfies the following equation:

$$ x^x = 5 $$

Solution

EXAMPLE 4

Interpret geometrically the meaning of the formula for the Newton-Raphson method:

$$ x_{i+1} = x_i - \frac{f(x_i)}{f'(x_i)}$$

Solution

EXAMPLE 5

Find the solutions to the following equation:

$$ cos(x) = x^2 $$

Solution

EXAMPLE 6

Find the roots of the function:

$$ tgh(x) + x^2 -1$$

Solution

EXAMPLE 7

Solve the following equation using the Newton-Raphson method:

$$ e^x = 2 - x^2 $$

with a minimum of four decimal places.

Solution

EXAMPLE 8

Use Newton-Raphson method to obtain an approximation of at least three exact decimal places of:

$$ \sqrt[6]2$$

Solution

EXAMPLE 9

Find an approximate value with at least three decimal places for:

$$\sqrt {\sqrt 2}$$

Solution

EXAMPLE 10

Use the Newton-Raphson method to find a decimal approximation for:

$$ln(13)$$

Solution

Newton-Raphson method - Practice problems

Newton-Raphson method quiz
Logo
You have completed the quiz!

Use the Newton Raphson method to find the root of $latex x\ln (x)=2$ that lies between $latex x=2$ and $latex x=3$.

Write the answer to three decimal places.

$latex x=$

See also

Interested in learning more about numerical methods? You can take a look at these pages:

Learn mathematics with our additional resources in different topics

LEARN MORE