Sum of Squares — Definition, Formula & Examples
Sum of squares is an expression of the form , representing two squared terms added together. Unlike the difference of squares, a sum of squares cannot be factored into real-number binomials.
For real-valued expressions and , the sum of squares is irreducible over the real numbers, meaning it has no factorization into polynomials of lower degree with real coefficients. Over the complex numbers, it factors as .
Key Formula
Where:
- = First term or expression
- = Second term or expression
- = The imaginary unit, where $i^2 = -1$
How It Works
When you encounter while factoring, recognize that it cannot be broken down further using real numbers. Students often try to write , but expanding that gives , which includes a cross term. If you need to factor a sum of squares, you must use complex numbers: . In statistics, "sum of squares" refers to , which measures how spread out data values are from their mean.
Worked Example
Problem: Factor completely.
Step 1: Identify the expression as a sum of squares with and , since .
Step 2: Since a sum of squares does not factor over the reals, use the complex factorization.
Answer: Over the reals, is irreducible. Over the complex numbers, .
Why It Matters
Recognizing an irreducible sum of squares prevents wasted effort when factoring polynomials in algebra and precalculus. The complex factorization is essential for finding all roots of polynomials in courses that cover the Fundamental Theorem of Algebra.
Common Mistakes
Mistake: Factoring as .
Correction: Expanding gives , not . The extra term means these are not equivalent. A sum of squares has no real factorization.
