• Support PF! Buy your school textbooks, materials and every day products Here!

Newton's Method - Cube Root Of 5

  • Thread starter twoski
  • Start date
  • #1
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.
 

Answers and Replies

  • #2
34,296
10,328
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
181
2
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
34,296
10,328
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
181
2
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
34,296
10,328
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
181
2
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
34,296
10,328
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
181
2
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
34,296
10,328
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
181
2
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
34,296
10,328
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
181
2
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?
 

Related Threads on Newton's Method - Cube Root Of 5

Replies
6
Views
3K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
4
Views
1K
Replies
3
Views
4K
Replies
1
Views
988
Replies
8
Views
5K
  • Last Post
Replies
11
Views
3K
  • Last Post
Replies
10
Views
6K
  • Last Post
2
Replies
27
Views
2K
  • Last Post
Replies
1
Views
1K
Top