How do we find the sum of the roots in a quadratic equation?

  • Topic:
  • Thread starter Thread starter mathdad
  • Start date Start date
  • Tags Tags
    Roots Sum
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
4 replies · 2K views
mathdad
Messages
1,280
Reaction score
0
Show that the sum of the roots of the equation

x^2 + px + q = 0 is -p.

I need help with the set up.

Is the discriminant involved here?
 
Mathematics news on Phys.org
What do you get when you expand (x - a)(x - b)?
 
greg1313 said:
What do you get when you expand (x - a)(x - b)?

(x - a)(x - b)

x^2 - bx - ax + ab

After factoring by grouping, I found the roots to be x = a and x = b.

What is next?
 
Here's another approach:

Suppose we have:

$$ax^2+bx+c=0$$

Them by the quadratic formula, we have that the sum $S$ of the roots is given by:

$$S=\frac{-b+\sqrt{b^2-4ac}}{2a}+\frac{-b-\sqrt{b^2-4ac}}{2a}=-\frac{b}{a}$$

Use this formula on the given quadratic...what do you find?
 
MarkFL said:
Here's another approach:

Suppose we have:

$$ax^2+bx+c=0$$

Them by the quadratic formula, we have that the sum $S$ of the roots is given by:

$$S=\frac{-b+\sqrt{b^2-4ac}}{2a}+\frac{-b-\sqrt{b^2-4ac}}{2a}=-\frac{b}{a}$$

Use this formula on the given quadratic...what do you find?

Great job!

Ok. You said use -b/a.

Let b = p

Let a = 1

We get -p/1 = -p.

I got it!