University Institute of Engineering Department of Computer Science and Engineering
University Institute of Engineering Department of Computer Science and Engineering
ENGINEERING
DEPARTMENT OF COMPUTER SCIENCE
AND ENGINEERING
• Introduction
• The Newton-Raphson method, also known simply as Newton's method, is a powerful and widely used
technique for finding successively better approximations to the roots (or zeroes) of a real-valued function. It
is an iterative method that uses the derivative of the function to find its roots. This method is particularly
useful because of its rapid convergence, especially when close to the root.
• Basic Principle
• The Newton-Raphson method is based on the idea of linear approximation. Given a function f(x) and its
derivative f′(x), we start with an initial guess for a root of f(x)=0. The function is approximated by its tangent
line at and the root of this tangent line is taken as the next approximation This process is repeated until
convergence.
2
Mathematical Formulation
• The iterative formula for the Newton-Raphson method is:
3
Pseudocode
• Here's a simple pseudocode representation of the Newton-Raphson method:
4
5
6
Advantages and Disadvantages
• Advantages:
• Rapid Convergence: The method typically converges very quickly when near the root.
• Simplicity: The formula is straightforward to implement and understand.
• Wide Applicability: Useful for a variety of functions, provided the derivative can be
computed.
• Disadvantages:
• Derivative Requirement: The method requires the function to be differentiable and the
derivative to be known.
• Initial Guess Sensitivity: Poor initial guesses can lead to divergence or slow convergence.
• Multiple Roots and Singularities: The method may fail or behave unpredictably near multiple
roots or singularities.
7
Applications
8
Conclusion
• The Newton-Raphson method is a robust and efficient tool for finding the roots of functions.
Its fast convergence and simplicity make it a popular choice for numerical analysts and
engineers. However, care must be taken in choosing the initial guess and ensuring the
function and its derivative are well-behaved to guarantee the method's success.
9
THANK YOU
10