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

  • Thread starter Thread starter mathdad
  • Start date Start date
  • Tags Tags
    Roots Sum
Click For Summary
The sum of the roots of the quadratic equation x^2 + px + q = 0 is shown to be -p. This is derived from the quadratic formula, where the sum of the roots S is calculated as -b/a. By substituting b with p and a with 1, the result simplifies to -p. The discussion confirms the relationship between the coefficients and the roots of the quadratic equation. Understanding this concept is essential for solving quadratic equations effectively.
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!