Many of the patterns used in factoring polynomials are mathematical identities.
While an equation might be true for some specific value of variables within it, a mathematical identity is true for every value of the variables within it.
Verifying an identity is considered a mathematical proof. We cannot manipulate both sides of the equation at once. Instead, we must work with one side of the equation and show that algebraic manipulation leads to the other side.
To demonstrate this, we'll work through verifying a few polynomial identities we've worked with before.
Prove the identity $\left(a+b\right)^2=a^2+2ab+b^2$(a+b)2=a2+2ab+b2.
Think: We can prove the identity by showing through algebraic manipulation that the equation is true for all values of a and b.
Do: Let's start with the lefthand side of the equation and show that it leads to the righthand side.
$\left(a+b\right)^2$(a+b)2  $=$=  $\left(a+b\right)^2$(a+b)2 
The lefthand side of the equation 
$=$=  $\left(a+b\right)\left(a+b\right)$(a+b)(a+b) 
Rewrite the power 

$=$=  $a^2+ab+ab+b^2$a2+ab+ab+b2 
Distribute the expression, multiplying all four terms 

$=$=  $a^2+2ab+b^2$a2+2ab+b2 
Simplify 
Therefore, we have proven the identity because the expressions on both sides of the equation are identical for all values of $a$a and $b$b.
Prove $\left(mn\right)^2=m^22mn+n^2$(m−n)2=m2−2mn+n2.
Consider the difference of two squares expression $u^2v^2$u2−v2.
Express the difference of two squares as a product.
Use the identity $u^2v^2=\left(u+v\right)\left(uv\right)$u2−v2=(u+v)(u−v) to find the value of $77^223^2$772−232.
Use the identity $u^2v^2=\left(u+v\right)\left(uv\right)$u2−v2=(u+v)(u−v) to find the value of $24\times16$24×16.
Answer the following.
Show that $\left(xa\right)\left(x^2+ax+a^2\right)=x^3a^3$(x−a)(x2+ax+a2)=x3−a3.
Hence show that $999973$999973 is not prime by expressing it as the product of two factors.
Prove polynomial identities and use them to describe numerical relationships. For example, the difference of two squares; the sum and difference of two cubes; the polynomial identity (x^2 + y^2 )^2 = (x^2 – y^2 )^2 + (2xy)^2 can be used to generate Pythagorean triples