Numerical Analysis problem Newton's method

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
carrab
Messages
1
Reaction score
0
View attachment 6617

Can anyone help in the solution of this problem? how can i determine the zero x*??
 

Attachments

  • problem 2.PNG
    problem 2.PNG
    5.6 KB · Views: 172
Mathematics news on Phys.org
Hello, and welcome to MHB, carrab! (Wave)

To find the zero, I would equate the function $f$ to zero, and solve for $x$:

$$f(x)=0$$

$$x^3-8=0$$

$$x^3-2^3=0$$

When you factor as the difference of cubes, what do you find?
 
"Newton's method" is a numerical method for solving an equation that basically replaces the function at a given value of x by the tangent function at that point. Here the function is [tex]f(x)= x^3- 8[/tex] which has derivative [tex]f'(x)= 3x^2[/tex], the derivative at [tex]x_0[/tex] [tex]f(x_0)= 3x_0^2[/tex] while the value of the function is [tex]x_0^3- 8[/tex]. So the tangent function at [tex]x= x_0[/tex] is [tex]y= 3x_0^2(x- x_0)+ x_0^3- 8[/tex]. Setting that equal to 0, [tex]3x_0^2(x- x_0)+ x_0^3- 8= 0[/tex], [tex]3x_0^2(x- x_0)= 8- x_0^3[/tex], [tex]x- x_0= \frac{8- x_0^3}{3x_0^2}[/tex], and [tex]x= x_0+ \frac{8- x_0^3}{3x_0^2}[/tex].

Start with some reasonable value for [tex]x_0[/tex] and calculate the next value for x: with, say, [tex]x_0= 1[/tex], [tex]x= 1+ \frac{8- 1}{3}= 1+ \frac{7}{3}= \frac{10}{3}[/tex]. Now take [tex]x_0= \frac{10}{3}[/tex] and calculate the next value for x. Repeat until you get two consecutive values for x that are closer together than your allowable error.

[tex]x_0= 0[/tex] is not a "good" starting value (in fact, it is impossible) because the denominator, [tex]3x_0^2[/tex], would be 0.