Polynomial is composed of two words: Poly (which means "many") and Nominal (which means "terms."). A polynomial is a mathematical equation made up of variables, constants, and exponents that are mixed using operations like addition, subtraction, multiplication, and division. The general form of a polynomial isÂ
f(x) = anxn + an−1xn−1 + ... + a2x2 + a1x + a0
Polynomials can be classified as monomials, binomials, and trinomials based on the number of terms present. For example, terms like x, 13y, 39, etc. are all monomials while terms like x2 + x, x10 - x4, etc. are termed as binomials because they consist of two terms. Similarly, such polynomials as having only three terms are termed trinomials.
Roots of a Polynomial
 The roots of a polynomial are the solutions to the given polynomial for which the unknown variable's value must be determined. We can evaluate the value of a polynomial to zero if we know the roots. A polynomial of degree 'n' in variable x is an equation of the type anxn + an-1xn-1 +...... + a1x + a0, where each variable has a constant as its coefficient. The phrase refers to each variable in an expression that is separated by an addition or subtraction sign. The greatest power of a polynomial variable is defined as the degree of the polynomial.
Newton's Method of Finding Roots of a Polynomial
Newton's method formula is used for finding the roots of a polynomial by iterating from one root to the next. Calculating the roots by this approach takes a long time for polynomials of greater degree, but for polynomials of lower degree, the results are quite rapid and near to the true roots of the equation. Using this strategy, we can identify the consecutive roots of an equation if we know any one of its roots. The formula for Newton's method of finding the roots of a polynomial is as follows:
x_1=x_0-\frac{f(x_0)}{f'({x_0})}
where,
- x0 is the initial value
- f(x0) is the function value at the initial value
- f'(x0) is the first derivative of the function value at initial value.
Derivation of Newton's Method
Newton's method begins with an initial guess that is relatively near to the correct root (solution), and then utilize the tangent line to acquire an even better x-intercept than our first guess or beginning point.
Assume we're looking for the root (or x-intercept) of f(x). This indicates we're looking for an in the image below. The trick of Newton's method is to draw a tangent line to the graph y = f(x) at the point (b, f(b)).

The crucial calculation in each stage of Newton's technique, as we just saw, is to discover where the tangent line to y = f(x) at the point (x1, y1) crosses the x-axis.
The point gradient form of equation of a line with slope m and passing through the point (x0, y0) is given as:
y - y0 = m(x - x0).
In this situation, the line has a slope of f'(xn). The x- intercept occurs where y = 0.
Thus, by setting y = 0, we have:
x_1=x_0-\frac{f(x_0)}{f'({x_0})}
Hence proved.
Sample Problems on Newton's Method for Finding Roots
Question 1. Starting with x0 = 5, find the next root of the equation x3 − 7x2 + 8x − 3 = 0.
Solution:
As per Newton's method, x_1=x_0-\frac{f(x_0)}{f'({x_0})}Â
.
Given: x0 = 5, f(x) = x3 − 7x2 + 8x − 3 = 0
⇒ f'(x) = 3x2 − 14x + 8
Now, x1 =Â x_0-\frac{f(5)}{f'({5})}
= 5 − (−13)/13
= 5 + 1
⇒ x1 = 6
Question 2. Starting with x0 = −3.5, find the next root of the equation x3 − x2 − 15x + 1 = 0.
Solution:
As per Newton's method, x_1=x_0-\frac{f(x_0)}{f'({x_0})}.
Given: x0 = 5, f(x) = x3 − x2 − 15x + 1 = 0
⇒ f'(x) = 3x2 − 2x − 15
Now, x1 =Â x_0-\frac{f(-3.5)}{f'({-3.5})}
= −3.5 − (−1.625)/28.75
⇒ x1 = −3.443
Question 3. Starting with x0 = 2, find the next root of the equation x2 − 2 = 0.
Solution:
As per Newton's method, x_1=x_0-\frac{f(x_0)}{f'({x_0})}Â
.
Given: x0 = 5, f(x) = x2 − 2 = 0
⇒ f'(x) = 2x
Now, x1 =Â x_0-\frac{f(2)}{f'({2})}
= 2 − 2/4
⇒ x1 = 1.5
Question 4. Starting with x0 = 1, find the next root of the equation −x3 + 4x2 − 2x + 2 = 0.
Solution:
As per Newton's method, x_1=x_0-\frac{f(x_0)}{f'({x_0})}.
Given: x0 = 5, f(x) = −x3 + 4x2 − 2x + 2 = 0.
Now, x1 =Â x_0-\frac{f(2)}{f'({2})}
= 1 − 3/3
⇒ x1 = 0
Question 5. Starting with x0 = 8, find the next root of the equation x3 − 10x2 + 9x − 12 = 0.
Solution:
As per Newton's method, x_1=x_0-\frac{f(x_0)}{f'({x_0})}.
Given: x0 = 5, f(x) = −x3 + 4x2 − 2x + 2 = 0.
Now, x1 =Â x_0-\frac{f(2)}{f'({2})}
= 1 − 3/3
⇒ x1 = 0
Question 6: Starting with x0 = 1.5, find the square roots by Newton's Method for Finding Roots of equation x3 - 3x2 + 2x - 1.
Solution:
The function is f(x) = x3- 3x2 + 2x + 1
The derivative of the function is f'(x) = 3x2 -6x +2
We are given x0= 1.5 as initial guess.
Newton's method is given by the formula:
x(n+1) = x(n) - f(x(n))/ f'(x(n))
where x(n) is the current estimate, and x(n+1) is the next estimate.
We start with x0 = 1.5.
f(x0) = f(1.5) = (1.5)^3 - 3(1.5)^2 + 2(1.5) - 1 = 0.875
f'(x0) = f'(1.5) = 3(1.5)^2 - 6(1.5) + 2 = 2.25
x1 = x0 - f(x0) / f'(x0) = 1.5 - 0.875 / 2.25 = 1.5 - 0.3889 = 1.1111
We repeat the process with x1 = 1.1111.
f(x1) = f(1.1111) = (1.1111)^3 - 3(1.1111)^2 + 2(1.1111) - 1 = 0.2344
f'(x1) = f'(1.1111) = 3(1.1111)^2 - 6(1.1111) + 2 = 1.3333
x2 = x1 - f(x1) / f'(x1) = 1.1111 - 0.2344 / 1.3333 = 1.1111 - 0.1759 = 0.9352
We continue this process until we reached a desired level of accuracy.
n | x(n) | f(x(n)) | f'(x(n)) | x(n+1) |
---|
0 | 1.5000 | 0.8750 | 2.2500 | 1.1111 |
---|
1 | 1.1111 | 0.2344 | 1.3333 | 0.9352 |
---|
2 | 0.9352 | 0.0639 | 0.8999 | 0.9915 |
---|
3 | 0.9915 | 0.0085 | 0.9833 | 0.9993 |
---|
4 | 0.9993 | 0.0006 | 0.9999 | 1.0000 |
---|
After several iterations, we find that the root of the equation x3 - 3x2 + 2x - 1 is approximately x ≈ 1.0000.
Question 7: Starting with x0 = 0.1, find the square roots by Newton's Method for Finding Roots of equation ln(x) - x/2.
Solution:
The function is f(x) = ln(x) - x/2
The derivative of f(x) id f'(x) = 1/x -1/2
We are given x0 = 0.1 as the initial guess.
Newton's method is given by the formula:
x(n+1) = x(n) - f(x(n))/ f'(x(n))
where x(n) is the current estimate, and x(n+1) is the next estimate.
We start with x0 = 0.1.
f(x0) = f(0.1) = ln(0.1) - 0.1/2 = -2.3026 - 0.05 = -2.3526
f'(x0) = f'(0.1) = 1/0.1 - 1/2 = 10 - 0.5 = 9.5
x1 = x0 - f(x0) / f'(x0) = 0.1 - (-2.3526) / 9.5 = 0.1 + 0.2477 = 0.3477
We repeat the process with x1 = 0.3477.
f(x1) = f(0.3477) = ln(0.3477) - 0.3477/2 = -1.0829 - 0.1739 = -1.2568
f'(x1) = f'(0.3477) = 1/0.3477 - 1/2 = 2.8823 - 0.5 = 2.3823
x2 = x1 - f(x1) / f'(x1) = 0.3477 - (-1.2568) / 2.3823 = 0.3477 + 0.5273 = 0.8750
We continue this process until we reached a desired level of accuracy.
n | x(n) | f(x(n)) | f'(x(n)) | x(n+1) |
---|
0 | 0.1000 | -2.3526 | 9.5000 | 0.3477 |
---|
1 | 0.3477 | -1.2568 | 2.3823 | 0.8750 |
---|
2 | 0.8750 | -0.2344 | 1.1429 | 0.6553 |
---|
3 | 0.6553 | -0.0539 | 1.5231 | 0.6394 |
---|
4 | 0.6394 | -0.0123 | 1.5664 | 0.6412 |
---|
5 | 0.6412 | -0.0028 | 1.5596 | 0.6412 |
---|
After several iterations, we find that the root of the equation ln(x) - x/2 is approximately x ≈ 0.6412.
Read More:
Practice Problems on Newton's Method for Finding Roots
1. Starting with x0 = 0.5. Find the square roots by Newton's Method for Finding Roots of equation cos(x) - x
2. Starting with x0 = 1. Find the square roots by Newton's Method for Finding Roots of equation ex - 3x
3. Starting with x0 = 0. Find the square roots by Newton's Method for Finding Roots of equation x3 - 2x + 2
4. Starting with x0 = 2. Find the square roots by Newton's Method for Finding Roots of equation ln(x) - 1
5. Starting with x0 = 1.2, find the square roots by Newton's Method for Finding Roots of equation 2x3 - 5x2 + 3x - 1.
6. Starting with x0 = 0.8, find the square roots by Newton's Method for Finding Roots of equation sin(x) - x/2.
7. Starting with x0 = 0.5, find the square roots by Newton's Method for Finding Roots of equation ex - 2x - 2.
8. Starting with x0 = 2.8, find the square roots by Newton's Method for Finding Roots of equation x4 - 4x3 + 5x2 - 4x + 1.
9. Starting with x0 = 1.8, find the square roots by Newton's Method for Finding Roots of equation x4 - 4x3 + 3x2 - 2x + 1.
10. Starting with x0 = 0.4, find the square roots by Newton's Method for Finding Roots of equation ex - 3x + 1.
11. Starting with x0 = 2.5, find the square roots by Newton's Method for Finding Roots of equation x4 - 4x3 + 7x2 - 10x + 5.
12. Starting with x0 = 0.3, find the square roots by Newton's Method for Finding Roots of equation ex - 2x - 1.
13. Starting with x0 = 0.9, find the square roots by Newton's Method for Finding Roots of equation sin(2x) - x.
14. Starting with x0 = 3.5, find the square roots by Newton's Method for Finding Roots of equation x6 - 6x5 + 15x4 - 20x3 + 15x2 - 6x + 1.
15. Starting with x0 = 0.2, find the square roots by Newton's Method for Finding Roots of equation ln(x) - x/3.
Conclusion
Newton's Method is a powerful and efficient algorithm for finding roots of real valued functions. By iteratively refining an initial estimate using the formula x(new) = x(old)/ x'(old), we can coverage to a root with high accuracy. The method's quadratic convergence rate makes it particularly useful for finding roots of functions with a simple root structure.
However it is essential to be aware of the method's limitations such as requirement for an initial estimate close to the root and potential for convergence to a local minimum or divergence if the initial estimate is poor.
Similar Reads
Newton's method in Machine Learning
Optimization algorithms are essential tools across various fields, ranging from engineering and computer science to economics and physics. Among these algorithms, Newton's method holds a significant place due to its efficiency and effectiveness in finding the roots of equations and optimizing functi
15 min read
Methods to Find Zeros of Functions
Zeroes of a function are those real, complex or imaginary values when put in the function the value of the function becomes zero. There are multiple methods to find zeroes of function according to the function type. Zeroes of a function are very important while describing that function or while plot
8 min read
Newton Raphson Method
Newton Raphson Method or Newton Method is a powerful technique for solving equations numerically. It is most commonly used for approximation of the roots of the real-valued functions.Newton-Raphson Method is a numerical technique for approximating the roots of real-valued functions.It starts with in
8 min read
Square Root Long Division Method
Square root by long division method: Square Root is defined as the product of a number that is multiplied by itself. For example, the square root of 16 is 4, because 4 multiplied by 4 which is 16. division method of the square root is the method of calculating the square root of large numbers quickl
12 min read
Find the fourth roots of 5(1 + iâ3)
Real and imaginary numbers combine to form complex numbers. The imaginary component, I (iota), indicates a square root of -1. The imaginary portion of a complex number is i. a + ib is a typical representation of complex numbers in their rectangular or standard form. For example, 100 + 25i is a compl
6 min read
Optimization in Neural Networks and Newton's Method
In machine learning, optimizers and loss functions are two components that help improve the performance of the model. A loss function measures the performance of a model by measuring the difference between the output expected from the model and the actual output obtained from the model. Mean square
12 min read
How to Find Square Root of a Number?
In everyday situations, the challenge of calculating the square root of a number is faced. What if one doesn't have access to a calculator or any other gadget? It can be done with old-fashioned paper and pencil in a long-division style. Yes, there are a variety of ways to do so. Let's start with dis
12 min read
How to Find the Cube Roots of a Number?
The cube root of a real number x is such a number that when multiplied twice by itself gives us the number x. In other terms, the result generated by multiplying a number x three times is known as the cube of that number. The cube root of the integer x3 is x. The sign âx or (x)1/3 represents a numbe
6 min read
Cube Root of 17576: Factorization and Estimation Method
The cube root of 17,576 is 26. This is because 17,576 = 263 = 26 Ã 26 Ã 26.We can calculate this using either the factorization or estimation method. In this article, we will discuss both methods in detail.What is Cube Root?The cube root of a number is a value that, when multiplied by itself three t
4 min read
Solve the Linear Equation using Substitution Method
A linear equation is an equation where the highest power of the variable is always 1. Its graph is always a straight line. A linear equation in one variable has only one unknown with a degree of 1, such as:3x + 4 = 02y = 8m + n = 54a â 3b + c = 7x/2 = 8There are mainly two methods for solving simult
10 min read