Check the middle term by multiplying and compare this result with the middle term in the original expression.

Simplify.

Factor using the perfect square trinomial rule , where and .

Since both terms are perfect squares, factor using the difference of squares formula, where and .

Factor out of .

Cancel the common factors.

Factor out of .

Cancel the common factor.

Rewrite the expression.

Simplify (a^2-2ab+b^2)/(a^2-b^2)