Question
Using Newton's method, approximate the root of the equation x^3+x+2=0 with the initial guess x1=-1 gives: x2=? and x3=? answers are not 0 or -1
Answers
let f(x) = y = x^3 + x +2
dy/dx = 3x^2 + 1
newton's formula
x <sub>new</sub> = x <sub>old</sub> - f(x<sub>old</sub>/f '(x<sub>old</sub>)
x2 = -1 - (-1-1+2)/(3+1) = 1-0 = -1
since x1 = x1 exactly, x = -1 is a root
dy/dx = 3x^2 + 1
newton's formula
x <sub>new</sub> = x <sub>old</sub> - f(x<sub>old</sub>/f '(x<sub>old</sub>)
x2 = -1 - (-1-1+2)/(3+1) = 1-0 = -1
since x1 = x1 exactly, x = -1 is a root
Check for typo's in the question.
I believe there is only one real root for the given equation at -1.
So your initial guesses have to be complex, such as 1+i. Convergence will depend on the form of the iteration equation.
You can try
f(x)=(-2-x)^(1/3)
f(x)=-2-x^3
and all kinds of other ones.
The one that seems to converge best is
first make
x^3=-2-x
divide by x and take the square root to get
f(x)=sqrt(-1-2/x)
With a starting value of 1+i, ou should converge quite well, as the iterations alternate between the targeted root of (1/2)±sqrt(7)/2.
Once you have converged to one, you can take the conjugate for the other, without having to do the same things all over again.
I believe there is only one real root for the given equation at -1.
So your initial guesses have to be complex, such as 1+i. Convergence will depend on the form of the iteration equation.
You can try
f(x)=(-2-x)^(1/3)
f(x)=-2-x^3
and all kinds of other ones.
The one that seems to converge best is
first make
x^3=-2-x
divide by x and take the square root to get
f(x)=sqrt(-1-2/x)
With a starting value of 1+i, ou should converge quite well, as the iterations alternate between the targeted root of (1/2)±sqrt(7)/2.
Once you have converged to one, you can take the conjugate for the other, without having to do the same things all over again.
the targeted root of (1/2)±sqrt(7)/2<b>i</b>.
My last line should say:
since x2 = x1 exactly, x = -1 is a root
since x2 = x1 exactly, x = -1 is a root
I'll get it right this time!
the targeted root of (1/2)±<b>i</b>sqrt(7)/2.
the targeted root of (1/2)±<b>i</b>sqrt(7)/2.
Related Questions
Use Newton's method to solve the equation sec x = 4 in the interval x in (0, pi/2).
In other words...
Use Newton's method to approximate the root of the equation x^3+x+2=0 with initial guess x1=-1 gives...
Starting with an initial guess of x=2, use Newton’s method to approximate (Third root of 7). Stop t...
Problem (2): Use Newton's Method to find the only real root of the equation , correct to 9 decimal...