The sum of roots of equation x^2+px+q=0 is equal to sum of their squares, then prove that:  p(p+1)=2q



Asked on

2 Answers | Add Yours

mvcdc's profile pic

Posted on (Answer #1)

Let a and b be the roots of the equation. Hence, 

`a^2 + ap + q = 0` and

`b^2 +pb + q = 0`

We know that `a + b = a^2 + b^2` . Adding the two equations yield:``

`a^2 + ap + q + b^2 + pb + q = 0`


`a^2 + b^2 + (a + b)p + 2q = 0`

But `a + b = a^2 + b^2` and we simply let this sum be represented by `S` such that:

`S + Sp + 2q = 0`

Manipulating the equation (to make it look like what we want to prove):

`-S-Sp = 2q` 

`-S ( p + 1) = 2q`

Using Viete's formula, we know that the sum of the roots of an equation is just the negative of the coefficient of `b` , in this case:

`a + b = -p`

We know that `S = a + b = a^2 + b^2` . Hence:

`-(-p)(p+1) = 2q`

`p (p+1) = 2q` QED


(Note that I only used S for compactness of expression, and since `a+b = a^2 + b^2` I just used it to represent both.)

1 reply Hide Replies

mvcdc's profile pic

Posted on (Reply #1)


In the line "Using Viete's formula ..." that should be coefficient of "x" not "b"

Sorry for that.

Usually, we represent a quadratic equation as:

`ax^2 + bx + c = 0`

I was referring to 'that' "b", which is the coefficient of "x"


aruv's profile pic

Posted on (Answer #2)

You have given an equation


assume ,  s and t are roots of the given equation. Then



But it is given that








Hence proved

We’ve answered 397,390 questions. We can answer yours, too.

Ask a question