Back to Numerical Methods repository
Numerical Methods2D

Roots of Equations - Theory & Concepts - Newton Raphson

Methods for finding roots of algebraic and transcendental equations.

Open the complete lesson

Newton-Raphson Method Visualization

Finding the root of f(x)=x24f(x) = x^2 - 4 using the Newton-Raphson method with initial guess x0=4x_0 = 4.

x_ix_i+1
Step 0 (Initial)Step 5

Iteration 0 Calculations

Current Guess (x_i)
4.0000
f(x_i) = 12.0000
Derivative (Slope)
8.0000
f'(x_i) = 8.0000
Formula
xi+1=xif(xi)f(xi)x_{i+1} = x_i - \frac{f(x_i)}{f'(x_i)}
xi+1=4.000012.00008.0000x_{i+1} = 4.0000 - \frac{12.0000}{8.0000}
Next Estimate (x_i+1)
2.500000
Relative Error:Initial estimate