# Newton Raphson Method Text Book Notes: Nonlinear Equations

```Newton Method of Solving Nonlinear
Equations
In the Newton-Raphson method, the root is not bracketed. Only one initial
guess of the root is needed to get the iterative process started to find the root of an
equation. Hence, the method falls in the category of open methods.
Newton-Raphson method is based on the principle that if the initial guess
of the root of f(x)=0 is at xi, then if one draws the tangent to the curve at f(xi), the
point xi+1 where the tangent crosses the x-axis is an improved estimate of the root
(Figure 1).
Using the definition of the slope of a function, at x  xi
f (xi ) = tan θ
 i)==
f (x
f(xi )  0
xi  xi 1
which gives
xi 1 = xi -
f(xi )
f'(x i )
(1)
Equation (1) is called the Newton-Raphson formula for solving nonlinear
equations of the form f x   0 . So starting with an initial guess, xi, one can find
the next guess, xi+1, by using equation (1). One can repeat this process until one
finds the root within a desirable tolerance.
Algorithm
The steps of the Newton-Raphson method to find the root of an equation f(x) = 0
are
1. Evaluate f(x) symbolically
2. Use an initial guess of the root, xi, to estimate the new value of the root
xi+1 as
xi 1 = xi -
f(xi )
f'(x i )
3. Find the absolute relative approximate error, a as
a =
xi 1- xi
 100
xi 1
4. Compare the absolute relative approximate error, a
with the pre-
specified relative error tolerance, s . If a &gt; s , then go to step 2, else
stop the algorithm. Also, check if the number of iterations has exceeded
the maximum number of iterations.
f(x)
x f x 
f(xi)
i,
i
f(xi+1)

xi+2
xi+1
xi
X
```
The text passage provides a detailed explanation of the Newton-Raphson method for solving nonlinear equations, including the formula and algorithm steps. It does not contain any specific mathematical questions or answers.
no_question
Given a text passage, determine:
    1. If it contains a mathematical question (including word problems or calculations)
    2. If an answer to that mathematical question is provided in the text

First, describe the content structure you found in 1-2 sentences.

Then provide your analysis in the following format:
TYPE: <one of the following values>
- NO_QUESTION
- SINGLE_QUESTION
- SINGLE_QUESTION_WITH_ANSWER
- MULTIPLE_QUESTIONS
- MULTIPLE_QUESTIONS_WITH_ANSWERS
system
# Newton Raphson Method Text Book Notes: Nonlinear Equations

```Newton Method of Solving Nonlinear
Equations
In the Newton-Raphson method, the root is not bracketed. Only one initial
guess of the root is needed to get the iterative process started to find the root of an
equation. Hence, the method falls in the category of open methods.
Newton-Raphson method is based on the principle that if the initial guess
of the root of f(x)=0 is at xi, then if one draws the tangent to the curve at f(xi), the
point xi+1 where the tangent crosses the x-axis is an improved estimate of the root
(Figure 1).
Using the definition of the slope of a function, at x  xi
f (xi ) = tan θ
 i)==
f (x
f(xi )  0
xi  xi 1
which gives
xi 1 = xi -
f(xi )
f'(x i )
(1)
Equation (1) is called the Newton-Raphson formula for solving nonlinear
equations of the form f x   0 . So starting with an initial guess, xi, one can find
the next guess, xi+1, by using equation (1). One can repeat this process until one
finds the root within a desirable tolerance.
Algorithm
The steps of the Newton-Raphson method to find the root of an equation f(x) = 0
are
1. Evaluate f(x) symbolically
2. Use an initial guess of the root, xi, to estimate the new value of the root
xi+1 as
xi 1 = xi -
f(xi )
f'(x i )
3. Find the absolute relative approximate error, a as
a =
xi 1- xi
 100
xi 1
4. Compare the absolute relative approximate error, a
with the pre-
specified relative error tolerance, s . If a &gt; s , then go to step 2, else
stop the algorithm. Also, check if the number of iterations has exceeded
the maximum number of iterations.
f(x)
x f x 
f(xi)
i,
i
f(xi+1)

xi+2
xi+1
xi
X
```
user
The text passage provides a detailed explanation of the Newton-Raphson method for solving nonlinear equations, including the formula and algorithm steps. It does not contain any specific mathematical questions or answers.

TYPE: NO_QUESTION