SOLUTION: find two integers with a product of -40 and a sum of -3

Algebra ->  Real-numbers -> SOLUTION: find two integers with a product of -40 and a sum of -3      Log On


   



Question 1168261: find two integers with a product of -40 and a sum of -3
Found 2 solutions by VFBundy, ikleyn:
Answer by VFBundy(438) About Me  (Show Source):
You can put this solution on YOUR website!
xy = -40
Let y = -40/x

x + y = -3

x - 40/x = -3

x²/x - 40/x = -3

(x² - 40)/x = -3

x² - 40 = -3x

x² + 3x - 40 = 0

(x - 5)(x + 8) = 0

x = 5 and x = -8

If x = 5, y = -8.
If x = -8, y = 5.

So, the two integers are 5 and -8.

Answer by ikleyn(52786) About Me  (Show Source):
You can put this solution on YOUR website!
.

ANSWER.  The numbers are -8 and 5.



Two solutions are possible.


One solution is to guess the answer.

A person familiar with the multiplication table, can do it mentally (inside his mind, without using equations) in 5 seconds.



Alternative solution is algebraic.


    x + y = -3     (1)

    xy = -40.      (2)


From equation (1), express  y = -3 - x  and substitute to equation (2)

    x*(-3-x) = -40.


Simplify it and reduce to the standard form of the quadratic equation

    -x^2 - 3x + 40 = 0,   or, equivalently,

     x^2 + 3x - 40 = 0.


You may solve the last equation EITHER factoring

    (x+8)*(x-5) = 0

OR using the quadratic formula

    x%5B1%2C2%5D = %28-3+%2B-+sqrt%283%5E2+-+4%2A%28-40%29%29%29%2F2 = %28-3+%2B-+sqrt%28169%29%29%2F2 = %28-3+%2B-+13%29%2F2.


It gives you the answer that is placed at the very beginning of my post.

Solved, explained and completed.