Skip to content
NCERT Exemplar · Q31

Q.Show that if AA and BB are square matrices such that AB=BAAB = BA, then (A+B)2=A2+2AB+B2(A + B)^2 = A^2 + 2AB + B^2.

CBSEShort· 3mImportance★★★★★
62% · 112/182 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

Matrix multiplication is not commutative in general, but when AA and BB do commute (AB=BAAB = BA), the binomial expansion (A+B)2=A2+2AB+B2(A+B)^2 = A^2 + 2AB + B^2 holds exactly as in ordinary algebra — the cross terms ABAB and BABA become identical and add to 2AB2AB.

The key idea here is simple but often missed: the familiar formula (x+y)2=x2+2xy+y2(x+y)^2 = x^2 + 2xy + y^2 from school algebra relies on the fact that xx and yy are numbers, and numbers commute (xy=yxxy = yx). For matrices, multiplication is not commutative in general — ABAB and BABA can be different. So the expansion of (A+B)2(A+B)^2 is actually A2+AB+BA+B2A^2 + AB + BA + B^2. The extra condition AB=BAAB = BA is what lets us combine ABAB and BABA into 2AB2AB.

Let’s walk through it step by step.

  1. Write out the square. By definition, (A+B)2=(A+B)(A+B)(A+B)^2 = (A+B)(A+B). Matrix multiplication is distributive, so we expand just like with numbers:

(A+B)(A+B)=A(A+B)+B(A+B)=A2+AB+BA+B2.(A+B)(A+B) = A(A+B) + B(A+B) = A^2 + AB + BA + B^2.

No shortcuts yet — this is the raw expansion, valid for any square matrices AA and BB.

  1. Apply the commuting condition. We are given AB=BAAB = BA. That means the two middle terms are equal:

AB=BA.AB = BA.

So in the sum AB+BAAB + BA, we can replace BABA with ABAB (or vice versa), giving:

AB+BA=AB+AB=2AB.AB + BA = AB + AB = 2AB.

  1. Substitute back. Putting this into the expansion from step 1:

(A+B)2=A2+(AB+BA)+B2=A2+2AB+B2.(A+B)^2 = A^2 + (AB + BA) + B^2 = A^2 + 2AB + B^2.

That’s the whole proof — it’s just two lines of algebra once you know the expansion rule. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.