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

Exercise 3.2 · Q2: Compute four sums of matrices

Exercise 3.2Addition of matrices · Section 3.4.1
The question

Compute the following:

(i) [ab−ba]+[abba]\text{(i)}\ \begin{bmatrix}a&b\\-b&a\end{bmatrix}+\begin{bmatrix}a&b\\b&a\end{bmatrix} (ii) [a2+b2b2+c2a2+c2a2+b2]+[2ab2bc−2ac−2ab]\text{(ii)}\ \begin{aligned}&\begin{bmatrix}a^2+b^2&b^2+c^2\\a^2+c^2&a^2+b^2\end{bmatrix}\\&+\begin{bmatrix}2ab&2bc\\-2ac&-2ab\end{bmatrix}\end{aligned} (iii) [−14−68516285]+[1276805324]\begin{aligned}&\text{(iii)}\ \begin{bmatrix}-1&4&-6\\8&5&16\\2&8&5\end{bmatrix}\\&+\begin{bmatrix}12&7&6\\8&0&5\\3&2&4\end{bmatrix}\end{aligned} (iv) [cos⁡2xsin⁡2xsin⁡2xcos⁡2x]+[sin⁡2xcos⁡2xcos⁡2xsin⁡2x]\text{(iv)}\ \begin{aligned}&\begin{bmatrix}\cos^2x&\sin^2x\\\sin^2x&\cos^2x\end{bmatrix}\\&+\begin{bmatrix}\sin^2x&\cos^2x\\\cos^2x&\sin^2x\end{bmatrix}\end{aligned}
Exam answer

In each part let SS be the sum. Add corresponding entries.

(i)

S=[a+ab+b−b+ba+a]=[2a2b02a]\begin{aligned} S &= \begin{bmatrix} a+a & b+b \\ -b+b & a+a \end{bmatrix} \\ &= \begin{bmatrix} 2a & 2b \\ 0 & 2a \end{bmatrix} \end{aligned}

(ii) With S=[cij]S = [c_{ij}]⁠,

c11=a2+b2+2ab=(a+b)2c12=b2+c2+2bc=(b+c)2c21=a2+c2−2ac=(a−c)2c22=a2+b2−2ab=(a−b)2\begin{aligned} c_{11} &= a^2 + b^2 + 2ab \\ &= (a + b)^2 \\ c_{12} &= b^2 + c^2 + 2bc \\ &= (b + c)^2 \\ c_{21} &= a^2 + c^2 - 2ac \\ &= (a - c)^2 \\ c_{22} &= a^2 + b^2 - 2ab \\ &= (a - b)^2 \end{aligned} ∴ S=[(a+b)2(b+c)2(a−c)2(a−b)2]\therefore\ S = \begin{bmatrix} (a + b)^2 & (b + c)^2 \\ (a - c)^2 & (a - b)^2 \end{bmatrix}

(iii)

S=[−1+124+7−6+68+85+016+52+38+25+4]=[11110165215109]\begin{aligned} S &= \begin{bmatrix} -1+12 & 4+7 & -6+6 \\ 8+8 & 5+0 & 16+5 \\ 2+3 & 8+2 & 5+4 \end{bmatrix} \\ &= \begin{bmatrix} 11 & 11 & 0 \\ 16 & 5 & 21 \\ 5 & 10 & 9 \end{bmatrix} \end{aligned}

(iv) With S=[cij]S = [c_{ij}]⁠,

c11=cos⁡2x+sin⁡2x=1c12=sin⁡2x+cos⁡2x=1c21=sin⁡2x+cos⁡2x=1c22=cos⁡2x+sin⁡2x=1\begin{aligned} c_{11} &= \cos^2x + \sin^2x = 1 \\ c_{12} &= \sin^2x + \cos^2x = 1 \\ c_{21} &= \sin^2x + \cos^2x = 1 \\ c_{22} &= \cos^2x + \sin^2x = 1 \end{aligned}

∴ S=[1111]\therefore\ S = \begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix}

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

The one idea this problem is built on

Two matrices of the same order are added position by position: the entry in row ii⁠, column jj of the sum is the sum of the two entries in row ii⁠, column jj⁠. After that, each entry is just an ordinary expression to simplify, using the algebra and trigonometry you already know: like terms in (i), perfect squares in (ii), arithmetic in (iii), and sin⁡2x+cos⁡2x=1\sin^2x+\cos^2x=1 in (iv).

Given, to find, and the plan
Given
Four pairs of matrices. In each pair both matrices have the same order: 2×22\times2 in (i), (ii), (iv) and 3×33\times3 in (iii).
To find
Each sum, written as simply as possible.
Plan
For each part: (1) check the orders match; (2) write the sum entry by entry; (3) simplify each entry.

Basics you need

1Adding matrices

If A=[aij]A=[a_{ij}] and B=[bij]B=[b_{ij}] are both m×nm\times n⁠, then A+B=[aij+bij]A+B=[a_{ij}+b_{ij}]⁠, also m×nm\times n⁠. Matrices of different orders cannot be added. Basics: adding like with like

2Positions in a matrix

The entry in row ii⁠, column jj is called the (i,j)(i,j) entry. A 2×22\times2 matrix has four positions, a 3×33\times3 matrix has nine. Basics: rows, columns and aija_{ij}

3Perfect squares

p2+2pq+q2=(p+q)2p^2+2pq+q^2=(p+q)^2 and p2−2pq+q2=(p−q)2p^2-2pq+q^2=(p-q)^2⁠. Expand the right side to see it: (p+q)2=p2+pq+qp+q2(p+q)^2=p^2+pq+qp+q^2⁠.

4The Pythagorean identity

For every real xx⁠, sin⁡2x+cos⁡2x=1\sin^2x+\cos^2x=1⁠. (On the unit circle, the point at angle xx is (cos⁡x,sin⁡x)(\cos x,\sin x)⁠, at distance 1 from the centre.)

Part (i): aa⁠, bb matrices

  1. Check the orders

    Both matrices have 2 rows and 2 columns, so both are 2×22\times2⁠. The sum is defined and is 2×22\times2⁠.

    Addition needs a partner for every entry, which happens exactly when the orders agree.
  2. Add position by position and simplify

    [ab−ba]+[abba]=[a+ab+b−b+ba+a]\begin{bmatrix}a&b\\-b&a\end{bmatrix}+\begin{bmatrix}a&b\\b&a\end{bmatrix}=\begin{bmatrix}a+a&b+b\\-b+b&a+a\end{bmatrix}

    Now simplify each entry: a+a=2aa+a=2a⁠, b+b=2bb+b=2b⁠, −b+b=0-b+b=0⁠, a+a=2aa+a=2a⁠. So the sum is

    [2a2b02a].\begin{bmatrix}2a&2b\\0&2a\end{bmatrix}.
    Each entry is an ordinary algebraic sum, so like terms collect as usual. The only entry that changes character is the (2,1)(2,1) entry: −b-b and bb cancel to 0. Notice the two matrices differ only in that position (−b-b against bb⁠).
    (i,j)(i,j) entry of the sum = aij+bija_{ij}+b_{ij}⁠. Lesson: addition of matrices

Part (ii): sums that become perfect squares

  1. Check the orders

    Both matrices are 2×22\times2 (each entry, however long, fills one position). The sum is defined and is 2×22\times2⁠.

    An entry such as a2+b2a^2+b^2 is a single number in a single position. The order counts positions, not symbols.
  2. Add each position and recognise the square

    Take the four positions one at a time. In each, add the two entries and compare with Basic 3.

    (1,1): a2+b2+2ab=(a+b)2(1,2): b2+c2+2bc=(b+c)2(2,1): a2+c2−2ac=(a−c)2(2,2): a2+b2−2ab=(a−b)2\begin{aligned} (1,1)&:\ a^2+b^2+2ab=(a+b)^2\\ (1,2)&:\ b^2+c^2+2bc=(b+c)^2\\ (2,1)&:\ a^2+c^2-2ac=(a-c)^2\\ (2,2)&:\ a^2+b^2-2ab=(a-b)^2 \end{aligned}

    For example, in the (2,1)(2,1) position: a2+c2+(−2ac)=a2−2ac+c2a^2+c^2+(-2ac)=a^2-2ac+c^2⁠, which is p2−2pq+q2p^2-2pq+q^2 with p=ap=a⁠, q=cq=c⁠. Assembling,

    [(a+b)2(b+c)2(a−c)2(a−b)2].\begin{bmatrix}(a+b)^2&(b+c)^2\\ (a-c)^2&(a-b)^2\end{bmatrix}.
    The second matrix supplies exactly the middle term ±2pq\pm2pq that turns each sum of two squares into a perfect square. A plus sign gives (p+q)2(p+q)^2⁠; the minus signs in the bottom row (−2ac-2ac⁠, −2ab-2ab⁠) give (p−q)2(p-q)^2⁠. Writing the answer as squares is the "simplest form" the question is aiming at.
    p2±2pq+q2=(p±q)2p^2\pm2pq+q^2=(p\pm q)^2 (Basic 3).

Part (iii): a 3×33\times3 numerical sum

  1. Check the orders

    Both matrices have 3 rows and 3 columns, so both are 3×33\times3⁠. The sum is defined and is 3×33\times3⁠, with nine entries.

  2. Add the nine pairs of entries

    [−1+124+7−6+68+85+016+52+38+25+4]=[11110165215109]\begin{aligned}&\begin{bmatrix}-1+12&4+7&-6+6\\8+8&5+0&16+5\\2+3&8+2&5+4\end{bmatrix}\\&=\begin{bmatrix}11&11&0\\16&5&21\\5&10&9\end{bmatrix}\end{aligned}
    Each of the nine positions is a separate small addition. The two places to watch are the negative entries in the first row: −1+12=11-1+12=11 and −6+6=0-6+6=0⁠.

Part (iv): a trigonometric sum

  1. Check the orders

    Both matrices are 2×22\times2⁠, so the sum is defined and is 2×22\times2⁠.

  2. Add position by position

    [cos⁡2x+sin⁡2xsin⁡2x+cos⁡2xsin⁡2x+cos⁡2xcos⁡2x+sin⁡2x]\begin{bmatrix}\cos^2x+\sin^2x&\sin^2x+\cos^2x\\\sin^2x+\cos^2x&\cos^2x+\sin^2x\end{bmatrix}
    The second matrix has sin⁡2x\sin^2x exactly where the first has cos⁡2x\cos^2x⁠, and the other way round. So every position gets one cos⁡2x\cos^2x and one sin⁡2x\sin^2x⁠.
  3. Use sin⁡2x+cos⁡2x=1\sin^2x+\cos^2x=1 in every entry

    Each of the four entries is sin⁡2x+cos⁡2x\sin^2x+\cos^2x (in one order or the other), and that equals 1 for every real xx⁠. So the sum is

    [1111].\begin{bmatrix}1&1\\1&1\end{bmatrix}.
    The identity holds for every real xx⁠, so the answer does not depend on xx at all: the sum is the same constant matrix whatever angle you choose. Adding numbers is commutative, so cos⁡2x+sin⁡2x\cos^2x+\sin^2x and sin⁡2x+cos⁡2x\sin^2x+\cos^2x are the same thing.
    sin⁡2x+cos⁡2x=1\sin^2x+\cos^2x=1 for all real xx (Basic 4).
Result (i) [2a2b02a]\text{(i)}\ \begin{bmatrix}2a&2b\\0&2a\end{bmatrix} (ii) [(a+b)2(b+c)2(a−c)2(a−b)2]\text{(ii)}\ \begin{bmatrix}(a+b)^2&(b+c)^2\\ (a-c)^2&(a-b)^2\end{bmatrix} (iii) [11110165215109]\text{(iii)}\ \begin{bmatrix}11&11&0\\16&5&21\\5&10&9\end{bmatrix} (iv) [1111]\text{(iv)}\ \begin{bmatrix}1&1\\1&1\end{bmatrix}

(Textbook answer: the same four matrices.)

Check it with numbers

(i) Put a=3a=3⁠, b=5b=5⁠. The matrices become rows (3,5),(−5,3)(3,5),(-5,3) and (3,5),(5,3)(3,5),(5,3)⁠; their sum has rows (6,10),(0,6)(6,10),(0,6)⁠, which is 2a=62a=6⁠, 2b=102b=10⁠, 00⁠, 2a=62a=6⁠. ✓

(ii) Put a=2a=2⁠, b=1b=1⁠, c=3c=3⁠. The first matrix has rows (5,10),(13,5)(5,10),(13,5)⁠, the second has rows (4,6),(−12,−4)(4,6),(-12,-4)⁠, and the sum has rows (9,16),(1,1)(9,16),(1,1)⁠. The formula gives (a+b)2=9(a+b)^2=9⁠, (b+c)2=16(b+c)^2=16⁠, (a−c)2=1(a-c)^2=1⁠, (a−b)2=1(a-b)^2=1⁠. ✓

(iii) The entries of the first matrix total 41, those of the second total 47, and those of the answer total 11+11+0+16+5+21+5+10+9=88=41+4711+11+0+16+5+21+5+10+9=88=41+47⁠. ✓

(iv) At x=1x=1 radian, cos⁡21≈0.2919265817\cos^2 1\approx0.2919265817 and sin⁡21≈0.7080734183\sin^2 1\approx0.7080734183⁠; together they give 1.00000000001.0000000000⁠, so each entry is 1. ✓

Common mistakes
  1. Writing −b+b-b+b as 2b2b or −2b-2b in part (i). The entries in that position are opposites, so they cancel to 0.
  2. Leaving part (ii) unsimplified. a2+b2+2aba^2+b^2+2ab is correct but the expected answer is (a+b)2(a+b)^2⁠. Also check the sign: the bottom row gives (a−c)2(a-c)^2 and (a−b)2(a-b)^2⁠, not plus.
  3. Adding in the wrong position in part (iii), for example adding a row of one matrix to a column of the other. Only same-position entries are added.
  4. Thinking (iv) depends on xx⁠. Every entry is identically 1.
What to take away
  1. Matrix addition is just many ordinary additions, one per position, done side by side.
  2. After adding, simplify each entry with whatever algebra or trigonometry fits it.
  3. Always confirm the orders match before adding.

Every fact used, and where it comes from

FactUsed inSource
Sum of two m×nm\times n matrices: A+B=[aij+bij]A+B=[a_{ij}+b_{ij}]⁠; defined only for equal ordersIn every Part, Steps 1 and 2Section 3.4.1 and its Note (Lesson: addition)
p2±2pq+q2=(p±q)2p^2\pm2pq+q^2=(p\pm q)^2Part (ii), Step 2Algebraic identities (earlier classes)
sin⁡2x+cos⁡2x=1\sin^2x+\cos^2x=1 for all real xxPart (iv), Step 3Trigonometric identities (Class 11)
Addition of numbers is commutativePart (iv), Step 3Arithmetic
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 →