a) \(\left(a+b\right)^2=\left(a+b\right).\left(a+b\right)=a\left(a+b\right)+b\left(a+b\right)=a^2+ab+ab+b^2=a^2+2ab+b^2\)
b) \(\left(a-b\right)^2=\left(a-b\right).\left(a-b\right)=a.\left(a-b\right)-b.\left(a-b\right)=a^2-ab-ab+b^2=a^2-2ab+b^2\)
Chúc bạn học tốt
a) ( a + b )2 = (a+b).(a+b)
= a(a+b) + b(a+b)
= a.a + a.b + b.a + b.b
= a2 + a.b + b.a + b2
= a2 + 2ab + b2
b) ( a - b )2 = (a-b)(a-b)
= a(a-b) - b(a-b)
= a.a - a.b - b.a + b.b
= a2 - 2ab + b2