Question

$${ \left(x-2y+3 \right) }^{ 2 } + { \left(x+2y-3 \right) }^{ 2 }$$

Answer

$$2*x^2+8*y^2-24*y+18$$

Solution


Expand exponent.
\[(x-2y+3)(x-2y+3)+{(x+2y-3)}^{2}\]
Expand by distributing sum groups.
\[x(x-2y+3)-2y(x-2y+3)+3(x-2y+3)+{(x+2y-3)}^{2}\]
Expand by distributing terms.
\[{x}^{2}-2xy+3x-2y(x-2y+3)+3(x-2y+3)+{(x+2y-3)}^{2}\]
Expand by distributing terms.
\[{x}^{2}-2xy+3x-(2yx-4{y}^{2}+6y)+3(x-2y+3)+{(x+2y-3)}^{2}\]
Expand by distributing terms.
\[{x}^{2}-2xy+3x-(2yx-4{y}^{2}+6y)+3x-6y+9+{(x+2y-3)}^{2}\]
Expand exponent.
\[{x}^{2}-2xy+3x-(2yx-4{y}^{2}+6y)+3x-6y+9+(x+2y-3)(x+2y-3)\]
Expand by distributing sum groups.
\[{x}^{2}-2xy+3x-(2yx-4{y}^{2}+6y)+3x-6y+9+x(x+2y-3)+2y(x+2y-3)-3(x+2y-3)\]
Expand by distributing terms.
\[{x}^{2}-2xy+3x-(2yx-4{y}^{2}+6y)+3x-6y+9+{x}^{2}+2xy-3x+2y(x+2y-3)-3(x+2y-3)\]
Expand by distributing terms.
\[{x}^{2}-2xy+3x-(2yx-4{y}^{2}+6y)+3x-6y+9+{x}^{2}+2xy-3x+2yx+4{y}^{2}-6y-3(x+2y-3)\]
Expand by distributing terms.
\[{x}^{2}-2xy+3x-(2yx-4{y}^{2}+6y)+3x-6y+9+{x}^{2}+2xy-3x+2yx+4{y}^{2}-6y-(3x+6y-9)\]
Remove parentheses.
\[{x}^{2}-2xy+3x-2yx+4{y}^{2}-6y+3x-6y+9+{x}^{2}+2xy-3x+2yx+4{y}^{2}-6y-3x-6y+9\]
Collect like terms.
\[({x}^{2}+{x}^{2})+(-2xy-2xy+2xy+2xy)+(3x+3x-3x-3x)+(4{y}^{2}+4{y}^{2})+(-6y-6y-6y-6y)+(9+9)\]
Simplify.
\[2{x}^{2}+8{y}^{2}-24y+18\]