\(\left(ax+by\right)^2-\left(ay+bx\right)^2\)
\(=\left(ax+by+ay+bx\right)\left(ax+by-ay-bx\right)\)
\(=\left[a\left(x+y\right)+b\left(x+y\right)\right]\left[a\left(x-y\right)-b\left(x-y\right)\right]\)
\(=\left(a+b\right)\left(a-b\right)\left(x+y\right)\left(x-y\right)\)
\(\left(a^2+b^2-5\right)^2-4\left(ab+2\right)^2\)
\(=\left[\left(a^2+b^2-5\right)+2\left(ab+2\right)\right]\left[\left(a^2+b^2-5\right)-2\left(ab+2\right)\right]\)
\(=\left[a^2+b^2-5+2ab+4\right]\left[a^2+b^2-5-2ab-4\right]\)
\(=\left[\left(a+b\right)^2-1\right]\left[\left(a-b\right)^2-9\right]\)
\(=\left(a+b-1\right)\left(a+b+1\right)\left(a-b-3\right)\left(a-b+3\right)\)
a)
(ax+by)2 - (ay+bx)2
=(ax+by-ay-bx)(ax+by+ay+bx)
=[ a(x-y) -b(x-y)][ a(x+y) + b(x+y)]
=(a-b)(x-y)(a+b)(x+y)
b)(a2+b2-5)2 - 4(ab+2)2
=(a2+b2-5-2ab-4)(a2+b2-5+2ab+4)
=[ (a-b)2 -9][ (a+b)2 -1]
=(a-b-3)(a-b+3)(a+b-1)(a+b+1)
a, \(\left(ax+by\right)^2-\left(ay+bx\right)^2\)
\(=\left(ax+ay+bx+by\right)\left(ax-ay+bx-by\right)\)
\(=\left(a+b\right)\left(x+y\right)\left(a-b\right)\left(x-y\right)\)
b, \(\left(a^2+b^2-5\right)^2-4\left(ab+2\right)^2\)
\(=\left(a^2+b^2-5-2ab-4\right)\left(a^2+b^2-5+2ab+4\right)\)
\(=\left[\left(a-b\right)^2-9\right]\left[\left(a+b\right)^2-1\right]\)
\(=\left(a-b-3\right)\left(a-b+3\right)\left(a+b+1\right)\left(a+b-1\right)\)