Converting a 2nd degree polynomial to a perfect square

From testwiki
Jump to navigation Jump to search

Ok, I honestly couldn't come up with a better name for this lesson.

Let's do it:

We have a second degree polynomial:

ax2+bx+c

and we want to find a change of variable that transforms it to a perfect square:

(αx+β)2

Of course, for the transformation to exist, the polynomial's coefficients must have 1 degree of freedom! We will assume it is so. Expanding the expression we get:

(αx+β)2

=α2x2+2αβx+β2

ax2+bx+c

Identifying the coefficients we get:

αa

βc

And the condition (for which we required the degree of freedom):

b=2αβ=2ac

b2=4ac

Further interpretation of the condition obtained

Notice that the condition is equivalent to saying the determinant of the polynomial is equal to 0. When a polynomial's determinant was 0, the polynomial has a double root. Note this is just what we asked for when equating it to (αx+β)2=α2(x+βα)(x+βα). (A double root is present at x=βα)