Question Statement
Find the real root of the equation x3−3x−5=0 correct to three decimal places using the Newton-Raphson method, with initial approximation x0=2.
Background and Explanation
The Newton-Raphson method is an iterative numerical technique for approximating roots of real-valued functions. It refines an initial guess by using the function's derivative to find where the tangent line crosses the x-axis, typically converging rapidly when the initial guess is close to the true root.
Solution
Given the function:
f(x)=x3−3x−5
Differentiate with respect to x to find f′(x):
f′(x)=3x2−3
The general Newton-Raphson formula is:
xn+1=xn−f′(xn)f(xn)
where f′(xn)=0 and n=0,1,2,…
Substituting our specific function and its derivative:
f(xn)=xn3−3xn−5
f′(xn)=3xn2−3
Therefore:
xn+1=xn−3xn2−3xn3−3xn−5
Simplifying by combining terms over a common denominator:
xn+1=3xn2−3xn(3xn2−3)−(xn3−3xn−5)
Expanding the numerator:
xn+1=3xn2−33xn3−3xn−xn3+3xn+5
⇒xn+1=3xn2−32xn3+5
Substitute n=0 into equation (i) using x0=2:
x1=3x02−32x03+5=3(2)2−32(2)3+5=3(4)−32(8)+5=12−316+5=921=2.3333
Substitute n=1 using x1=2.3333:
x2=3x12−32x13+5=3(2.3333)2−32(2.3333)3+5=2.2806
Substitute n=2 using x2=2.2806:
x3=3x22−32x23+5=3(2.2806)2−32(2.2806)3+5=2.2790
Substitute n=3 using x3=2.2790:
x4=3x32−32x33+5=3(2.2790)2−32(2.2790)3+5=2.2790
Comparing the results up to three decimal places:
Since x3 and x4 agree to three decimal places, the iteration has converged.
Therefore, the root of the equation x3−3x−5=0 correct to three decimal places is 2.279.
- Newton-Raphson Iteration Formula: xn+1=xn−f′(xn)f(xn)
- Polynomial Differentiation: dxd(x3−3x−5)=3x2−3
- Simplified Iteration for This Problem: xn+1=3xn2−32xn3+5
- Convergence Criterion: Successive approximations agree to the required number of decimal places (three decimal places in this case)
Summary of Steps
- Define the function and its derivative: f(x)=x3−3x−5 and f′(x)=3x2−3.
- Derive the specific iteration formula: Substitute into Newton-Raphson to get xn+1=3xn2−32xn3+5.
- Calculate x1: Using x0=2, obtain x1=2.3333.
- Calculate x2: Using x1=2.3333, obtain x2=2.2806.
- Calculate x3: Using x2=2.2806, obtain x3=2.2790.
- Calculate x4: Using x3=2.2790, obtain x4=2.2790.
- Verify convergence: Confirm x3 and x4 match to three decimal places, giving the final answer 2.279.