SOLUTION: how to solve the equiation for x: x^2-ax-bx+ab=0

Algebra ->  Quadratic Equations and Parabolas  -> Quadratic Equations Lessons  -> Quadratic Equation Lesson -> SOLUTION: how to solve the equiation for x: x^2-ax-bx+ab=0      Log On


   



Question 885866: how to solve the equiation for x:
x^2-ax-bx+ab=0

Answer by Edwin McCravy(20054) About Me  (Show Source):
You can put this solution on YOUR website!
x%5E2-ax-bx%2Bab%22%22=%22%22%220%22
Write -ax-bx as -x(a+b) by factoring out x, then with the x
on the right as -(a+b)x:

x%5E2-%28a%2Bb%29x%2Bab%22%22=%22%22%220%22

If you have studied that the 2nd term of quadratic with leading
coefficient 1, is the negative of the sum of its roots and that 
the last term is the product of the roots, then you know immediately
that the solutions are "a" and "b".

However if you haven't studied that, we can use the quadratic formula. 
But it will have to be stated with capital letters "A" and "B" since
the problem itself contains small letters "a" and "b", and we must 
avoid using the same letters to refer to different quantities in the 
same equation or expression.

x%22%22=%22%22%28-B+%2B-+sqrt%28B%5E2-4AC+%29%29%2F%282A%29+

with A=1, B=-(a+b) and C=ab

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

x%22%22=%22%22%28%28a%2Bb%29+%2B-+sqrt%28a%5E2%2B2ab%2Bb%5E2-4ab+%29%29%2F2+

x%22%22=%22%22%28%28a%2Bb%29+%2B-+sqrt%28a%5E2-2ab%2Bb%5E2+%29%29%2F2+

x%22%22=%22%22%28%28a%2Bb%29+%2B-+sqrt%28a-b%29%5E2+%29%29%2F2+
 
x%22%22=%22%22%28%28a%2Bb%29+%2B-+%28a-b%29+%29%29%2F2+

Using the +

x%22%22=%22%22%28%28a%2Bb%29+%2B+%28a-b%29+%29%29%2F2+
x%22%22=%22%22a%2Bb+%2B+a-b+%29%2F2+
x%22%22=%22%22%282a%29%2F2+
x%22%22=%22%22a

Using the -

x%22%22=%22%22%28%28a%2Bb%29+-+%28a-b%29+%29%29%2F2+
x%22%22=%22%22a%2Bb+-+a%2Bb+%29%2F2+
x%22%22=%22%22%282b%29%2F2+
x%22%22=%22%22b

So the long way, the solutions are a and b.

Edwin