## Introductory Algebra for College Students (7th Edition)

$x^2-2x+1$
Using $(a\pm b)^2=a^2\pm2ab+b^2$ or the square of a binomial, the square of the given expression, $\left( x-1 \right)^2,$ is \begin{array}{l}\require{cancel} (x)^2-2(x)(1)+(1)^2 \\\\= x^2-2x+1 .\end{array}