Using Newtons Method to Solve Equations | Homework Help

  • Thread starter Thread starter Asphyxiated
  • Start date Start date
  • Tags Tags
    Method Newtons
Click For Summary

Homework Help Overview

The discussion revolves around solving the equation x5 + x3 + x = 1 using Newton's method, which is a numerical technique for finding roots of equations. The original poster presents their approach and results, noting a discrepancy with the expected answer.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to apply Newton's method by graphing the function and selecting an initial guess. They raise questions about the validity of their result compared to the book's answer, suggesting a potential typo.

Discussion Status

Participants are exploring the application of Newton's method, with some suggesting that the original poster may have encountered a typo in the book. There is a focus on verifying the calculations and understanding the method's application.

Contextual Notes

The original poster mentions using a calculator for graphing and checking their solution against a textbook answer, which introduces potential constraints regarding the accuracy of the book's content.

Asphyxiated
Messages
263
Reaction score
0

Homework Statement



Solve each equation using Newtons method. The problem I am working on right now is:

[tex]x^{5}+x^{3}+x=1[/tex]

which is the same as:

[tex]x^{5}+x^{3}+x-1=0[/tex]


Homework Equations



[tex]x_{2} = x_{1}-\frac {f(x)}{f'(x)}[/tex]

with x1 being the first guess to what an f(x)=0 would be.

The Attempt at a Solution



So I put the equation into my calculator to graph it and It is very clear from the graph that f(x)=0 on the x>0 side so I choose x1=1 and continue like so:

[tex]x_{2} = 1 - \frac {f(x)}{f'(x)} = 1- \frac {2}{9} = \frac {7}{9}[/tex]

and after 5 iterations I get:

[tex]x_{5} = .6368843716[/tex]

which looks right to me but when I check the answer in the back of the book it says that it should be -.63688, so just the opposite of what I got. The graph of the equation clearly shows that f(x)=0 on x>0 so did I do something wrong or does the book have another typo?

thanks
 
Physics news on Phys.org
Another typo.
 
I've just spent the last 5 months play with Newton's method... The general method is
[tex] x_{n+1}=x_{n}-\frac{f(x_{n})}{f'(x_{n})}[/tex]
Where in your case:
[tex] f(x)=x^{5}+x^{3}+x-1[/tex]
The derivative of this is:
[tex] f'(x)=5x^{4}+3x^{2}+1[/tex]
And in your case Newton's method is
[tex] x_{n+1}=x_{n}-\frac{x_{n}^{5}+x_{n}^{3}+x_{n}-1}{5x_{n}^{4}+3x_{n}^{2}+1}[/tex]
So all you have to do is plug numbers in. Newtons method converges very quickly in my experience, 2 or 3 iterations will usually do the trick.
 
As a check, plug your solution back into the equation and check.
 

Similar threads

Replies
2
Views
2K
Replies
6
Views
3K
Replies
4
Views
2K
Replies
8
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
4
Views
3K