Class 12 Maths, Worked in Full Past papersGet updates
Chapter 3 · Matrices

Miscellaneous · Q1: AB−BAAB-BA is skew symmetric

Miscellaneous ExerciseSymmetric and skew symmetric matrices · Section 3.6
The question

If A and B are symmetric matrices, prove that AB – BA is a skew symmetric matrix.

Exam answer

Let AA and BB be symmetric matrices of order nn⁠. Then A′=AA' = A⁠, B′=BB' = B⁠, and AB−BAAB - BA is a square matrix of order nn⁠.

Using (X−Y)′=X′−Y′(X - Y)' = X' - Y' and (XY)′=Y′X′(XY)' = Y'X'⁠,

(AB−BA)′=(AB)′−(BA)′=B′A′−A′B′=BA−AB=−(AB−BA)\begin{aligned} (AB - BA)' &= (AB)' - (BA)' \\ &= B'A' - A'B' \\ &= BA - AB \\ &= -(AB - BA) \end{aligned}

∴\therefore AB−BAAB - BA is a skew symmetric matrix. Hence proved.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

Transposing a product reverses the order: (AB)′=B′A′(AB)' = B'A'⁠. For symmetric matrices the primes disappear, so (AB)′=BA(AB)' = BA and (BA)′=AB(BA)' = AB⁠. Transposing AB−BAAB - BA therefore just swaps its two terms, which turns it into BA−ABBA - AB⁠, its own negative. A matrix whose transpose is its negative is, by definition, skew symmetric.

Given, to show, and the plan
Given
A′=AA' = A and B′=BB' = B⁠. Symmetric matrices are square by definition, and for AB−BAAB - BA to make sense, A and B must be square of the same order, say n×nn\times n⁠.
To show
(AB−BA)′=−(AB−BA)(AB - BA)' = -(AB - BA)⁠.
Plan
(1) Check the orders, so that every matrix in the problem exists. (2) Transpose the difference term by term. (3) Use the product rule (XY)′=Y′X′(XY)' = Y'X' on each term. (4) Replace A′A'⁠, B′B' by AA⁠, BB and compare with −(AB−BA)-(AB - BA)⁠. (5) Check with numbers.

Basics you need

1Transpose

A′A' is A with its rows written as columns: the (i,j)(i,j) entry of A′A' is the (j,i)(j,i) entry of A. An m×nm\times n matrix has an n×mn\times m transpose. Basics: reading a table sideways; mirror patterns

2Rules for transposes

(A+B)′=A′+B′(A+B)' = A'+B'⁠, (kA)′=kA′(kA)' = kA'⁠, and the reversal rule (AB)′=B′A′(AB)' = B'A'⁠. Together the first two give (A−B)′=A′−B′(A-B)' = A'-B'⁠. Lesson: transpose

3Symmetric and skew symmetric

A square matrix is symmetric if A′=AA' = A and skew symmetric if A′=−AA' = -A⁠. Lesson: symmetric and skew symmetric matrices

4When a product exists

XYXY is defined when the number of columns of X equals the number of rows of Y. In general XY≠YXXY \ne YX⁠. Basics: pair up, multiply, add

Solution

  1. Check that every matrix in the problem exists

    A symmetric matrix must be square (Definition 4 is stated for square matrices). Let A and B both be n×nn\times n⁠. Then:

    • ABAB⁠: (n×n)(n×n)(n\times n)(n\times n)⁠, columns of A =n==n= rows of B, so it is defined and is n×nn\times n⁠.
    • BABA⁠: defined in the same way, also n×nn\times n⁠.
    • AB−BAAB - BA⁠: a difference of two n×nn\times n matrices, so it is defined and is n×nn\times n⁠.

    So C=AB−BAC = AB - BA is a square matrix, which is what a skew symmetric matrix has to be.

    The question does not say "of the same order", but it has to be meant. If A were 2×22\times2 and B were 3×33\times3⁠, the product ABAB would not exist at all and there would be nothing to prove. Checking orders first also confirms that C is square, which Definition 5 requires before we may call it skew symmetric.
    Product rule for orders: (m×n)(n×p)(m\times n)(n\times p) gives m×pm\times p⁠. Sums and differences need equal orders. Basics: pair up, multiply, add
  2. Transpose the difference term by term

    Let C=AB−BAC = AB - BA⁠. The transpose of a difference is the difference of the transposes:

    C′=(AB−BA)′=(AB)′−(BA)′.C' = (AB - BA)' = (AB)' - (BA)'.
    This comes from two listed rules: (X+Y)′=X′+Y′(X+Y)' = X'+Y' and (kX)′=kX′(kX)' = kX'⁠. Writing AB−BA=AB+(−1)(BA)AB - BA = AB + (-1)(BA) and applying both gives (AB)′+(−1)(BA)′=(AB)′−(BA)′(AB)' + (-1)(BA)' = (AB)' - (BA)'⁠. Transposing just moves every entry to its mirror position, and subtracting entry by entry commutes with that move.
    Properties (iii) and (ii) of Section 3.5.1. Lesson: transpose
  3. Reverse each product

    Use (XY)′=Y′X′(XY)' = Y'X' on each term: with X=A,Y=BX = A, Y = B in the first and X=B,Y=AX = B, Y = A in the second.

    C′=B′A′−A′B′.C' = B'A' - A'B'.
    The order reverses because the (i,j)(i,j) entry of XYXY is row ii of X times column jj of Y. After transposing, that number sits at position (j,i)(j,i)⁠, and it equals row jj of Y′Y' (which is column jj of Y) times column ii of X′X' (which is row ii of X). That is the (j,i)(j,i) entry of Y′X′Y'X'⁠, with Y first.
    Property (iv) of Section 3.5.1: (AB)′=B′A′(AB)' = B'A'⁠. Lesson: transpose
  4. Use the symmetry of A and B

    Since A′=AA' = A and B′=BB' = B⁠, replace each primed letter:

    C′=B′A′−A′B′=BA−AB=−(AB−BA)=−C.\begin{aligned} C' &= B'A' - A'B' \\ &= BA - AB \\ &= -(AB - BA) \\ &= -C. \end{aligned}

    So C′=−CC' = -C⁠, and C is square (Step 1). By Definition 5, AB−BAAB - BA is skew symmetric.

    The third line just takes out the factor −1-1⁠: BA−AB=(−1)(AB−BA)BA - AB = (-1)(AB - BA)⁠, because matrix addition is commutative and −(X−Y)=Y−X-(X - Y) = Y - X entry by entry. Notice what the proof did not use: we never assumed AB=BAAB = BA⁠. In fact if AB=BAAB = BA then C=OC = O⁠, which is skew symmetric for a trivial reason. The interesting case is AB≠BAAB \ne BA⁠, and the proof covers it.
    Definitions 4 and 5 (Section 3.6): A′=AA' = A means symmetric, C′=−CC' = -C means skew symmetric. Lesson: symmetric and skew symmetric matrices
  5. What this says about the entries

    Every skew symmetric matrix has zeros on its diagonal: putting i=ji = j in cji=−ciic_{ji} = -c_{ii} gives cii=−ciic_{ii} = -c_{ii}⁠, so 2cii=02c_{ii} = 0 and cii=0c_{ii} = 0⁠. So for any symmetric A and B of the same order, every diagonal entry of AB−BAAB - BA is 0, and the entries across the diagonal are negatives of each other.

    This gives a quick way to spot an arithmetic slip when you compute AB−BAAB - BA for actual matrices: if a diagonal entry is not 0, something has gone wrong. We use exactly this in the check below.
    The remark after Definition 5 (Section 3.6): the diagonal of a skew symmetric matrix is zero. Basics: mirror patterns
Result

For symmetric A and B of the same order, (AB−BA)′=B′A′−A′B′=BA−AB=−(AB−BA)(AB - BA)' = B'A' - A'B' = BA - AB = -(AB - BA)⁠. Hence AB−BAAB - BA is skew symmetric. (Proofs have no entry in the answer key.)

Check it with numbers

Take the symmetric matrices

A=[1223],B=[0114].A = \begin{bmatrix} 1 & 2 \\ 2 & 3 \end{bmatrix}, \quad B = \begin{bmatrix} 0 & 1 \\ 1 & 4 \end{bmatrix}.

Each entry of ABAB is a row of A times a column of B:

c11=1⋅0+2⋅1=2c12=1⋅1+2⋅4=9c21=2⋅0+3⋅1=3c22=2⋅1+3⋅4=14\begin{aligned} c_{11} &= 1\cdot0 + 2\cdot1 = 2 \\ c_{12} &= 1\cdot1 + 2\cdot4 = 9 \\ c_{21} &= 2\cdot0 + 3\cdot1 = 3 \\ c_{22} &= 2\cdot1 + 3\cdot4 = 14 \end{aligned}

and each entry of BABA is a row of B times a column of A:

d11=0⋅1+1⋅2=2d12=0⋅2+1⋅3=3d21=1⋅1+4⋅2=9d22=1⋅2+4⋅3=14\begin{aligned} d_{11} &= 0\cdot1 + 1\cdot2 = 2 \\ d_{12} &= 0\cdot2 + 1\cdot3 = 3 \\ d_{21} &= 1\cdot1 + 4\cdot2 = 9 \\ d_{22} &= 1\cdot2 + 4\cdot3 = 14 \end{aligned} AB=[29314]AB = \begin{bmatrix} 2 & 9 \\ 3 & 14 \end{bmatrix} BA=[23914]BA = \begin{bmatrix} 2 & 3 \\ 9 & 14 \end{bmatrix}

Notice BABA is exactly the transpose of ABAB⁠, as Step 3 predicts. Subtracting entry by entry,

AB−BA=[2−29−33−914−14]=[06−60],\begin{aligned} AB - BA &= \begin{bmatrix} 2-2 & 9-3 \\ 3-9 & 14-14 \end{bmatrix} \\ &= \begin{bmatrix} 0 & 6 \\ -6 & 0 \end{bmatrix}, \end{aligned}

which has a zero diagonal and −6=−(6)-6 = -(6) across it: skew symmetric ✓. The verification script also tests 300 random pairs of symmetric matrices of orders 1 to 5.

Common mistakes
  1. Writing (AB)′=A′B′(AB)' = A'B' without reversing the order. That gives C′=AB−BA=CC' = AB - BA = C⁠, and you would wrongly "prove" C is symmetric.
  2. Assuming AB=BAAB = BA. Matrix products usually do not commute; if they did here, C would simply be O.
  3. Checking only one example and calling it a proof. A numerical example can illustrate or refute a general claim, but cannot prove it; the proof must use arbitrary symmetric A and B.
  4. Forgetting the orders. A and B must be square of the same order, or AB – BA does not exist.
What to take away
  1. To decide whether a matrix expression is symmetric or skew symmetric, transpose it with the rules and compare with the original.
  2. For symmetric A and B, (AB)′=BA(AB)' = BA⁠: transposing swaps the order of the factors. So AB+BAAB + BA is symmetric and AB−BAAB - BA is skew symmetric.
  3. The same fact appears as the MCQ Exercise 3.3 Q11, and its cousin "AB is symmetric if and only if AB=BAAB = BA" is Example 24.

Every fact used, and where it comes from

FactUsed inSource
Orders of products and sumsStep 1Sections 3.4.1 and 3.4.5 (Lesson: matrix multiplication)
(A+B)′=A′+B′(A+B)' = A'+B'⁠, (kA)′=kA′(kA)' = kA'⁠, (AB)′=B′A′(AB)' = B'A'Steps 2, 3Section 3.5.1, properties (ii), (iii), (iv) (Lesson: transpose)
Symmetric: A′=AA' = A⁠; skew symmetric: A′=−AA' = -A⁠; both defined for square matricesSteps 1, 4Definitions 4 and 5, Section 3.6 (Lesson: symmetric and skew symmetric)
Diagonal of a skew symmetric matrix is zeroStep 5, CheckRemark after Definition 5, Section 3.6
Commutativity of matrix additionStep 4Section 3.4.3
All matrices in the check; random testsCheckRecomputed with sympy in the site's verification script
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →