Is there a better way to find the roots of a quadratic equation?

  • Context: Undergrad 
  • Thread starter Thread starter trap
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on the application of the Newton-Raphson method to find the roots of the quadratic equation f(x) = x² - a, where a > 0. The correct iteration formula derived is Xn+1 = (1/2)(Xn + a/Xn), which is confirmed through the method's application. Participants clarify the formula's derivation and address common misunderstandings regarding the notation used in the iterative process. The conversation highlights the importance of accurately applying Newton's method to achieve the desired results in root-finding problems.

PREREQUISITES
  • Understanding of quadratic equations and their roots
  • Familiarity with the Newton-Raphson method for numerical analysis
  • Basic calculus concepts, including derivatives
  • Ability to manipulate algebraic expressions
NEXT STEPS
  • Study the derivation of the Newton-Raphson method in detail
  • Practice solving quadratic equations using numerical methods
  • Explore alternative root-finding algorithms, such as the Bisection method
  • Learn about convergence criteria for iterative methods
USEFUL FOR

Students in mathematics or engineering courses, educators teaching numerical methods, and anyone interested in computational techniques for solving equations.

trap
Messages
51
Reaction score
0
Let f(x)=x^2 - a, where a>0. The roots of the equation f(x)=0 are +root(a), -root(a).

Show that if x1 > 0 is any initial estimate for root(a), then the Newton-Raphson method gives the iteration formula

x n-1 = 1/2( xn + a/xn ),

n>=1
 
Physics news on Phys.org
Sorry, the last post wasn't clear, the iteration formula is..

Xn-1 = (1/2)(Xn + a/Xn) , n >= 1
 
trap said:
Sorry, the last post wasn't clear, the iteration formula is..

Xn-1 = (1/2)(Xn + a/Xn) , n >= 1

Shouldn't this be:
Xn+1 = (1/2)(Xn + a/Xn) , n >= 1

Did you apply the Newton-raphson method Xn+1=Xn-f(xn)/f'(xn) ?
 
yes, it's Xn-1 instead, my fault
I tried the Newton's method, but still have trouble solving the question
 
trap said:
yes, it's Xn-1 instead, my fault
I tried the Newton's method, but still have trouble solving the question

Can you show what you did? The given formula arrives almost immediately by applying the method.
 
Newtons Method is;

x_{n+1} = x_n - \frac {f(x_n)} {f'(x_n)}

You are given

f(x)= x^2 - a

Compute f'(x) = 2x

Now apply Newtons method:
x_{n+1}= x_{n}- \frac {f(x_n)} {f'(x_n)} = x_n - \frac {x_n^2 - a } {2x_n} = \frac { 2 x^2_n - x^2_n +a} {2x_n}= \frac {x^2_n + a} {2x_n} = \frac 1 2 ( x_n + \frac a {x_n})
 
Last edited:
thx for the help guys!
 
kataKonik, hi..you must be taking the same course as i am...
 
well...I'm not even sure if i can use the web to help me with these problem sets..so i just want to keep my identity as a secret
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 24 ·
Replies
24
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K