Wednesday, October 04, 2006
General factorization result with quadratics
Consider
x^2 - ax + n = 0
and
y^2 - by + n = 0
where a does not equal b and n is nonzero, and now subtract the first from the second to get
y^2 - x^2 = by - ax
and group a bit, and divide by y - x to get
y + x = (b-a)*y/(y-x) + a
so
(y + x - a)*(y-x) = (b-a)*y
which is the general factorization result.
And, of course, you can solve for x and y to get
x = (a + sqrt(a^2 - 4n))/2 and y = (b + sqrt(b^2 - 4n))/2.
The result gives a direct way to further factor y in a generalized manner.
x^2 - ax + n = 0
and
y^2 - by + n = 0
where a does not equal b and n is nonzero, and now subtract the first from the second to get
y^2 - x^2 = by - ax
and group a bit, and divide by y - x to get
y + x = (b-a)*y/(y-x) + a
so
(y + x - a)*(y-x) = (b-a)*y
which is the general factorization result.
And, of course, you can solve for x and y to get
x = (a + sqrt(a^2 - 4n))/2 and y = (b + sqrt(b^2 - 4n))/2.
The result gives a direct way to further factor y in a generalized manner.