randRange( 2, 9 ) 1 -A * A

Factor the following expression:


^\s*\(\s*[xX]\s*\+\s*abs( A )\s*\)\s*\(\s*[xX]\s*[-\u2212]\s*abs( A )\s*\)\s*$
^\s*\(\s*[xX]\s*[-\u2212]\s*abs( A )\s*\)\s*\(\s*[xX]\s*\+\s*abs( A )\s*\)\s*$
a factored expression, like (x+1)(x+2)

The expression is in the form \color{PINK}{a^2} - \color{BLUE}{b^2}, which is a difference of two squares so we can factor it as (\color{PINK}{a} + \color{BLUE}{b}) (\color{PINK}{a} - \color{BLUE}{b}).

What are the values of a and b?

\qquad a = x

\qquad b = \sqrt{A * A} = A

Use the values we found for a and b to complete the factored expression, (\color{PINK}{a} + \color{BLUE}{b}) (\color{PINK}{a} - \color{BLUE}{b}).

So we can factor the expression as: (\color{PINK}{x} + \color{BLUE}{A}) (\color{PINK}{x} - \color{BLUE}{A})