SOLUTION: what 2 numbers multiply to give me 15 but add to give me 15

Algebra ->  Polynomials-and-rational-expressions -> SOLUTION: what 2 numbers multiply to give me 15 but add to give me 15      Log On


   



Question 1036060: what 2 numbers multiply to give me 15 but add to give me 15
Found 2 solutions by Edwin McCravy, stanbon:
Answer by Edwin McCravy(20056) About Me  (Show Source):
You can put this solution on YOUR website!
The system of equations is:

         x + y = 15
            xy = 15

Solve the first for y and substitute in the second:

             y = 15-x
       x(15-x) = 15
      15x - x² = 15
 15x - x² - 15 = 0
-x² + 15x - 15 = 0
 x² - 15x + 15 = 0

x%22%22=%22%22%28-b+%2B-+sqrt%28+b%5E2-4ac+%29%29%2F%282a%29+

x%22%22=%22%22%28-%28-15%29+%2B-+sqrt%28%28-15%29%5E2-4%2A1%2A15+%29%29%2F%282%2A1%29+

x%22%22=%22%22%2815+%2B-+sqrt%28225-60+%29%29%2F%282%2A1%29+

x%22%22=%22%22%2815+%2B-+sqrt%28165+%29%29%2F2+

And by symmetry, we may interchange x and y and get the
same result.

y%22%22=%22%22%2815+%2B-+sqrt%28165+%29%29%2F2+

The irrational parts of x and y must have opposite signs
otherwise their sum could not be 15.

Answer: matrix%281%2C3%2C+%2815+%2B+sqrt%28165+%29%29%2F2%2Cand%2C%2815+-+sqrt%28165+%29%29%2F2%29+

So there are two numbers that such that their sum and product
are both 15.

Checking their sum:

%2815+%2B+sqrt%28165%29%29%2F2%2B%2815+-+sqrt%28165+%29%29%2F2


%2815+%2B+sqrt%28165%29+%2B+15+-+sqrt%28165%29+%29%2F2%29

30%2F2

15

Checking their product:

%28%2815+%2B+sqrt%28165%29%29%2F2%29%28%2815+-+sqrt%28165+%29%29%2F2%29

%2815%5E2-15sqrt%28165%29%2B15sqrt%28165%29-165%29%2F4

%28225-165%29%2F4

60%2F4

15

Edwin


Answer by stanbon(75887) About Me  (Show Source):
You can put this solution on YOUR website!
what 2 numbers multiply to give me 15 but add to give me 15
----
a*b = 15
a+b = 15
------
a = 15-b
----
Substitute for "a" and solve for "b"::
(15-b)b = 15
-b^2 + 15b - 15 = 0
b^2 - 15b + 15 = 0
-------
b = [15 +- sqrt(225 - 4*15)]/2
b = [15 +- sqrt(165)]/2
b = (15/2)+(sqrt(165)/2), then a = (15/2 - (sqrt(165)/2)
OR
b = (15/2)-(sqrt(165)/2), then a = (15/2)+(sqrt(165)/2)
-------------
Cheers,
Stan H.
-----