How to calculate
Check that the leading coefficient is positive and that b² − 4ac equals zero. If a is a rational square, take its square root and find the constant term from the middle coefficient.
Worked example
Use Polynomial in x 4x^2 - 12x + 9. The result is (2x − 3)².
Input and result notes
Use a polynomial in x. Decimal coefficients are treated as exact decimal fractions.
OpenStax factoring polynomials