Newton's Method - Cube Root Of 5

In summary: Newton iteration"?In summary, the conversation discusses using Newton's method to compute the cube root of 5 and determining the first 10 iterations. It also touches on finding the fixed points of the iteration and determining whether they are attracting or repelling. The conversation concludes with the question of how to determine fixed points analytically and what it means if the iterations do not appear to converge to a point.
  • #1
twoski
181
2

Homework Statement



Use Newtons method to compute the cube root of 5. Do the first 10 iterations. [itex]x_{(0)}=1[/itex]

determine the fixed points of the iteration and determine whether they are repelling/attracting. if attracting, then determine if the convergence is linear or quadratic. draw the x[itex]^{(k+1)} vs. x^{(k)}[/itex] diagram. for what values of [itex]x^{(0)}[/itex] does Newton's method converge?

The Attempt at a Solution



So i did the first 10 iterations for x^(n). After n=5, all following iterations will give the same value.

I am confused as to how we determine what the fixed points are and whether they are attracting/repelling.
 
Physics news on Phys.org
  • #2
Fixed points are points where x^(n+1)=x^(n). See how this can happen with Newton, and it will directly give you all fixed points. If there is some sequence converging to that point, it is attracting, but there is a more formal method to judge this in general: see how the difference to the fixed point evolves for points close to this fixed point.
 
  • #3
So in the case of this assignment, anything from n=6 and up can be considered a fixed point. To determine whether they are attracting or repelling, I'm still not quite sure what to do. Which sequence converges to the point?
 
  • #4
twoski said:
So in the case of this assignment, anything from n=6 and up can be considered a fixed point.
The fixed point is a value for x, it has nothing to do with n. Your values are approximations to that fixed point - with infinite precision, they would always change, approaching the fixed point.

To determine whether they are attracting or repelling, I'm still not quite sure what to do. Which sequence converges to the point?
What about the series you calculated?
 
  • #5
So my 10 iterations are meant to help me find a value for x which i can say is a fixed point? My professor mentioned that a fixed point must intersect with the line y=x. If i draw out the graph of [itex]x^{3}-5[/itex] it would seem that the points of intersection should be around 3 and -0.5, more or less. 1.709975 appears to be where the graph intersects with the x axis.
 
  • #6
twoski said:
So my 10 iterations are meant to help me find a value for x which i can say is a fixed point?
I think you should give an analytic expression for the fixed point.
My professor mentioned that a fixed point must intersect with the line y=x.
Be careful how he used y and x here. y is not the same as your f(x).

1.709975 appears to be where the graph intersects with the x axis.
Which is approximately the cube root of 5.
 
  • #7
I'm completely lost here, so I'm backtracking and starting with the definition of a fixed point. It is an element of the function's domain that is mapped to itself by the function. Since i have to find a fixed point for each Newton iteration, i must compare each result of the 10 completed Newton iterations and if they are the same then i can conclude that a point is fixed if the previous point is the same. However, each point after the 4th iteration is technically not the same since they differ by very very small amounts. I assume we are supposed to approximate since it would be unlikely for there to be no fixed points.

Therefore i would say that the fixed points of the Newton iteration are from x^(5) to x^(10)? If i have to determine it analytically then would i just say [itex]\sqrt[3]{5}[/itex]?

After each iteration, the value becomes slightly smaller and smaller, so would that mean it is converging on [itex]\sqrt[3]{5}[/itex]?
 
  • #8
twoski said:
I'm completely lost here, so I'm backtracking and starting with the definition of a fixed point. It is an element of the function's domain that is mapped to itself by the function.
Good.
Since i have to find a fixed point for each Newton iteration, i must compare each result of the 10 completed Newton iterations and if they are the same then i can conclude that a point is fixed if the previous point is the same.
No! That would mean you just look at 10 arbitrary values.
You have to determine it analytically.
If i have to determine it analytically then would i just say [itex]\sqrt[3]{5}[/itex]?
Right.

After each iteration, the value becomes slightly smaller and smaller, so would that mean it is converging on [itex]\sqrt[3]{5}[/itex]?
The value becomes smaller? The difference to your fixed point gets smaller. It does converge, indeed.
 
  • #9
By determining the fixed points "analytically" am i just taking the x value that my iterations appear to be converging on and calling that my fixed point?

The iterations are just meant to approximate a fixed point, correct?

So if my Newton iterations are always pointing towards a certain value of x then how can they ever be repelling?
 
  • #10
twoski said:
By determining the fixed points "analytically" am i just taking the x value that my iterations appear to be converging on and calling that my fixed point?
That happens to be the same here, but it does not have to in the general case.

The iterations are just meant to approximate a fixed point, correct?
They are meant to find a numerical value for the point.

So if my Newton iterations are always pointing towards a certain value of x then how can they ever be repelling?
There are functions which are not as nice as your x^3-5. Try to find the first zero of cos(x), starting with x=0.1.
 
  • #11
In a general case, how would i analytically determine a fixed point? Say my iterations don't appear to converge to a point but instead oscillate or something, how am i supposed to interpret what it means?

I'm getting confused when i search for better notes on this material, half the time i end up finding notes on "fixed point iterations" which apparently isn't the same as Newton's method. Newton's method seems to be used exclusively for determining the zeroes for a function, i don't understand what it means when they ask me to find "fixed points of the Newton iteration"... If I've done the iteration properly then the series should show me the zeroes for the function, but are those the same as the fixed points?
 
Last edited:
  • #12
twoski said:
In a general case, how would i analytically determine a fixed point?
Write down the formula of the iteration, set initial and final point equal and solve.

Say my iterations don't appear to converge to a point but instead oscillate or something, how am i supposed to interpret what it means?
It means that your method is not converging for that starting value.

If I've done the iteration properly then the series should show me the zeroes for the function, but are those the same as the fixed points?
They are, and you can show that based on the formula of the Newton method.
 
  • #13
Alrght, so now i need to determine for which initial values Newton's method will converge for this problem. Is there a general method for doing this?

I also have to use the Chord method to solve this same problem. When i use the chord method, the values for x^(n) seem unpredicable. Obviously it should have the same fixed points as the Newton iteration but i can't determine that based on the iterations. How would i do this analytically?
 

1. What is Newton's Method?

Newton's Method is an iterative algorithm used to find the roots of a mathematical function. It is based on the idea of using tangent lines to approximate the root of a function and then using the intersection of the tangent line and the x-axis as a new point to iterate towards a more accurate solution.

2. How does Newton's Method find the cube root of 5?

In order to find the cube root of 5 using Newton's Method, we must first set up the function f(x) = x^3 - 5. Then, we use the initial guess of x = 2 and iterate using the formula: x_n+1 = x_n - (f(x_n)/f'(x_n)). This process is repeated until the solution converges to the desired precision. In this case, the cube root of 5 is approximately equal to 1.709976.

3. What is the convergence rate of Newton's Method?

The convergence rate of Newton's Method is quadratic, meaning that the number of accurate digits doubles with each iteration. This makes it a very efficient algorithm for finding roots of functions.

4. Can Newton's Method find the cube root of any number?

Yes, Newton's Method can be used to find the cube root of any number, as long as the function f(x) = x^3 - c, where c is the desired number, has a root. However, the initial guess may need to be adjusted in order to ensure convergence to the desired root.

5. What are the advantages of using Newton's Method to find roots?

One advantage of Newton's Method is its fast convergence rate, making it a efficient algorithm for finding roots. It also allows for the computation of complex roots and can be used for a wide range of functions. Additionally, the method can be easily adapted to find roots of higher degree polynomials, not just cube roots.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
3K
  • Calculus
Replies
13
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
Back
Top