Bài 3:
a) Ta có: \(A=\left(x+y\right)^2-\left(x-y\right)^2\)
\(=x^2+2xy+y^2-\left(x^2-2xy+y^2\right)\)
\(=x^2+2xy+y^2-x^2+2xy-y^2\)
=4xy
b) Ta có: \(B=\left(x+y\right)^2-2\left(x+y\right)\left(x-y\right)+\left(x-y\right)^2\)
\(=\left(x+y-x+y\right)^2\)
\(=\left(2y\right)^2=4y^2\)
c) Ta có: \(C=\left(x+y\right)^3-\left(x-y\right)^3-2y^3\)
\(=x^3+3x^2y+3xy^2+y^3-\left(x^3-3x^2y+3xy^2-y^3\right)-2y^3\)
\(=x^3+3x^2y+3xy^2+y^3-x^3+3x^2y-3xy^2+y^3-2y^3\)
\(=6x^2y\)