SOLUTION: The sum of two intergers is -8 and their product is -20.wat are the integers?

Algebra ->  Signed-numbers -> SOLUTION: The sum of two intergers is -8 and their product is -20.wat are the integers?      Log On


   



Question 115382: The sum of two intergers is -8 and their product is -20.wat are the integers?
Answer by solver91311(24713) About Me  (Show Source):
You can put this solution on YOUR website!
Let one of the integers be p and the other be q.

The sum of two integers is -8: p%2Bq=-8

Their product is -20: pq=-20

p%2Bq=-8 => p=-8-q

Substituting:
%28-8-q%29q=-20

Distribute:
-8q-q%5E2=-20

Multiply by -1, Add -20 to both sides, arrange in standard form:
q%5E2%2B8q-20=0

10%2A%28-2%29=-20 and 10+%2B+%28-2%29=8, so:

q%5E2%2B8q-20=%28q%2B10%29%28q-2%29=0

q+=+-10 or q+=+2

Since pq=-20 if q=-10 then p=2 and if q=2 then p=-10, so your integers are -10 and 2.

Check:
-10%2B2=-8
%28-10%29%2A2=-20