MHB Numerical Analysis problem Newton's method

AI Thread Summary
To determine the zero of the function f(x) = x^3 - 8, one can use Newton's method, which involves iterating values based on the tangent line at a given point. The derivative of the function is f'(x) = 3x^2, and the method requires setting up the equation for the tangent line. Starting with an initial guess, such as x_0 = 1, the next value can be calculated using the formula x = x_0 + (8 - x_0^3) / (3x_0^2). It is important to avoid using x_0 = 0 as a starting point due to the undefined derivative at that value. The process continues until two consecutive values are sufficiently close, indicating convergence to the zero.
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: 137
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 f(x)= x^3- 8 which has derivative f'(x)= 3x^2, the derivative at x_0 f(x_0)= 3x_0^2 while the value of the function is x_0^3- 8. So the tangent function at x= x_0 is y= 3x_0^2(x- x_0)+ x_0^3- 8. Setting that equal to 0, 3x_0^2(x- x_0)+ x_0^3- 8= 0, 3x_0^2(x- x_0)= 8- x_0^3, x- x_0= \frac{8- x_0^3}{3x_0^2}, and x= x_0+ \frac{8- x_0^3}{3x_0^2}.

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

x_0= 0 is not a "good" starting value (in fact, it is impossible) because the denominator, 3x_0^2, would be 0.
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top