Introduction

Matrices are not just a way to store data; they can be added, subtracted, and multiplied, much like numbers. This section covers the fundamental operations of matrix algebra, which form the basis for solving complex systems and performing transformations.


1. Addition of Matrices

Matrix addition is the simplest operation. It's just like adding corresponding elements together.

The Golden Rule: Two matrices can be added only if they have the exact same order (same number of rows and same number of columns). You can't add a 2x3 matrix to a 2x2 matrix because their elements wouldn't line up.

  • Rule: If A=[aij]A = [a_{ij}] and B=[bij]B = [b_{ij}] are two matrices, both of order m x n, then their sum A+BA+B is a new m x n matrix C=[cij]C = [c_{ij}], where each new element is the sum of the corresponding old elements: cij=aij+bijc_{ij} = a_{ij} + b_{ij}

Example: If A=[1234]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} and B=[5678]B = \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix}, then: A+B=[1+52+63+74+8]=[681012]A+B = \begin{bmatrix} 1+5 & 2+6 \\ 3+7 & 4+8 \end{bmatrix} = \begin{bmatrix} 6 & 8 \\ 10 & 12 \end{bmatrix}

Properties of Matrix Addition

Matrix addition behaves just like regular addition of numbers.

  • Commutative: A+B=B+AA + B = B + A. (The order you add them in doesn't matter).

  • Associative: (A+B)+C=A+(B+C)(A + B) + C = A + (B + C). (The way you group them doesn't matter).

  • Existence of Additive Identity: A+O=O+A=AA + O = O + A = A. The Zero Matrix (O), which is a matrix of all zeros, acts like the number '0' in regular addition.

  • Existence of Additive Inverse: For any matrix A, there is a matrix A-A (its negative) such that A+(A)=OA + (-A) = O. The matrix A-A is found by negating every single element of A.

    • If A=[1230]A = \begin{bmatrix} 1 & -2 \\ 3 & 0 \end{bmatrix}, then A=[1230]-A = \begin{bmatrix} -1 & 2 \\ -3 & 0 \end{bmatrix}.

2. Multiplication of a Matrix by a Scalar

A scalar is just a regular number (like 3, -1, or 0.5). To multiply a matrix by a scalar, you simply multiply every element in the matrix by that number. Think of it as scaling the entire matrix up or down.

  • Rule: If A=[aij]A = [a_{ij}] is an m x n matrix and k is a scalar, then kAkA is the m x n matrix where each element is k×aijk \times a_{ij}.

  • Example: If A=[11034]A = \begin{bmatrix} 1 & 10 \\ 3 & -4 \end{bmatrix}, then 5A5A is: 5A=5[11034]=[5(1)5(10)5(3)5(4)]=[5501520]5A = 5 \begin{bmatrix} 1 & 10 \\ 3 & -4 \end{bmatrix} = \begin{bmatrix} 5(1) & 5(10) \\ 5(3) & 5(-4) \end{bmatrix} = \begin{bmatrix} 5 & 50 \\ 15 & -20 \end{bmatrix}


3. Matrix Multiplication

This is the most complex operation. It is not element-by-element multiplication. It's a row-by-column operation.

The Golden Rule: Two matrices A and B can be multiplied to find the product ABAB only if the number of columns in the first matrix (A) is equal to the number of rows in the second matrix (B).

  • Rule for Order: If A is an m x n matrix and B is an n x p matrix, the inner dimensions (nn) must match. The resulting matrix, ABAB, will have the outer dimensions: m x p.

    • (2 x 3) ×\times (3 x 4)     \implies Result is a 2 x 4 matrix. (OK)
    • (2 x 3) ×\times (2 x 2)     \implies Result is undefined. (Mismatch)
  • How to Calculate: To find the element in the i-th row and j-th column of ABAB, you take the i-th row of A and the j-th column of B. You multiply their corresponding elements, and then add up the results.

Example: Let A=[1234]2×2A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}_{2 \times 2} and B=[5678]2×2B = \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix}_{2 \times 2}. Find ABAB.

  1. Order Check: A is 2x2, B is 2x2. The inner dimensions match. The result ABAB will be a 2x2 matrix: [c11c12c21c22]\begin{bmatrix} c_{11} & c_{12} \\ c_{21} & c_{22} \end{bmatrix}.

  2. Calculate c11c_{11} (Row 1 of A, Column 1 of B): [1234][5678]\begin{bmatrix} \mathbf{1} & \mathbf{2} \\ 3 & 4 \end{bmatrix} \begin{bmatrix} \mathbf{5} & 6 \\ \mathbf{7} & 8 \end{bmatrix}     c11=(1)(5)+(2)(7)=5+14=19\implies c_{11} = (1)(5) + (2)(7) = 5 + 14 = 19.

  3. Calculate c12c_{12} (Row 1 of A, Column 2 of B): [1234][5678]\begin{bmatrix} \mathbf{1} & \mathbf{2} \\ 3 & 4 \end{bmatrix} \begin{bmatrix} 5 & \mathbf{6} \\ 7 & \mathbf{8} \end{bmatrix}     c12=(1)(6)+(2)(8)=6+16=22\implies c_{12} = (1)(6) + (2)(8) = 6 + 16 = 22.

  4. Calculate c21c_{21} (Row 2 of A, Column 1 of B): [1234][5678]\begin{bmatrix} 1 & 2 \\ \mathbf{3} & \mathbf{4} \end{bmatrix} \begin{bmatrix} \mathbf{5} & 6 \\ \mathbf{7} & 8 \end{bmatrix}     c21=(3)(5)+(4)(7)=15+28=43\implies c_{21} = (3)(5) + (4)(7) = 15 + 28 = 43.

  5. Calculate c22c_{22} (Row 2 of A, Column 2 of B): [1234][5678]\begin{bmatrix} 1 & 2 \\ \mathbf{3} & \mathbf{4} \end{bmatrix} \begin{bmatrix} 5 & \mathbf{6} \\ 7 & \mathbf{8} \end{bmatrix}     c22=(3)(6)+(4)(8)=18+32=50\implies c_{22} = (3)(6) + (4)(8) = 18 + 32 = 50.

  6. Final Result: AB=[19224350]AB = \begin{bmatrix} 19 & 22 \\ 43 & 50 \end{bmatrix}.

Properties of Matrix Multiplication

  • Not Commutative (Crucial!): In general, ABBAAB \ne BA. Order matters!

    • In our example, BA=[5678][1234]=[23343146]BA = \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix} \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} = \begin{bmatrix} 23 & 34 \\ 31 & 46 \end{bmatrix}, which is not equal to ABAB.
  • Associative: (AB)C=A(BC)(AB)C = A(BC). (As long as the orders are compatible).

  • Distributive: A(B+C)=AB+ACA(B+C) = AB+AC. (The distributive law holds).

  • Existence of Multiplicative Identity: For any square matrix A, AI=IA=AAI = IA = A, where I is the identity matrix of the same order. II acts like the number '1' in matrix multiplication.

Example 1: Matrix Addition

Question: If A=[1234]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} and B=[5678]B = \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix}, find A+BA+B.

Explanation:

  1. Check Order: Both matrices are 2x2. Since they have the same order, they can be added.
  2. Add Corresponding Elements: We add the element in the i-th row and j-th column of A to the element in the i-th row and j-th column of B.
    • a11+b11=1+5=6a_{11} + b_{11} = 1 + 5 = 6
    • a12+b12=2+6=8a_{12} + b_{12} = 2 + 6 = 8
    • a21+b21=3+7=10a_{21} + b_{21} = 3 + 7 = 10
    • a22+b22=4+8=12a_{22} + b_{22} = 4 + 8 = 12
  3. Construct the Result Matrix: A+B=[681012]A+B = \begin{bmatrix} 6 & 8 \\ 10 & 12 \end{bmatrix}.

Answer: [681012]\begin{bmatrix} 6 & 8 \\ 10 & 12 \end{bmatrix}

Example 2: Scalar Multiplication and Subtraction

Question: If A=[8042]A = \begin{bmatrix} 8 & 0 \\ 4 & -2 \end{bmatrix} and B=[2242]B = \begin{bmatrix} 2 & -2 \\ 4 & 2 \end{bmatrix}, find the matrix X such that 2A+3X=5B2A+3X=5B.

Explanation:

  1. Isolate X: Start by algebraically solving for the matrix X. 2A+3X=5B    3X=5B2A    X=13(5B2A)2A+3X=5B \implies 3X = 5B - 2A \implies X = \frac{1}{3}(5B - 2A)
  2. Calculate Scalar Multiples:
    • 5B=5[2242]=[10102010]5B = 5\begin{bmatrix} 2 & -2 \\ 4 & 2 \end{bmatrix} = \begin{bmatrix} 10 & -10 \\ 20 & 10 \end{bmatrix}
    • 2A=2[8042]=[16084]2A = 2\begin{bmatrix} 8 & 0 \\ 4 & -2 \end{bmatrix} = \begin{bmatrix} 16 & 0 \\ 8 & -4 \end{bmatrix}
  3. Perform Matrix Subtraction (5B - 2A): 5B2A=[10102010][16084]5B - 2A = \begin{bmatrix} 10 & -10 \\ 20 & 10 \end{bmatrix} - \begin{bmatrix} 16 & 0 \\ 8 & -4 \end{bmatrix} =[101610020810(4)]=[6101214]= \begin{bmatrix} 10-16 & -10-0 \\ 20-8 & 10-(-4) \end{bmatrix} = \begin{bmatrix} -6 & -10 \\ 12 & 14 \end{bmatrix}
  4. Solve for X: X=13[6101214]=[6/310/312/314/3]=[210/3414/3]X = \frac{1}{3} \begin{bmatrix} -6 & -10 \\ 12 & 14 \end{bmatrix} = \begin{bmatrix} -6/3 & -10/3 \\ 12/3 & 14/3 \end{bmatrix} = \begin{bmatrix} -2 & -10/3 \\ 4 & 14/3 \end{bmatrix}

Answer: X=[210/3414/3]X = \begin{bmatrix} -2 & -10/3 \\ 4 & 14/3 \end{bmatrix}.

Example 3: Basic Matrix Multiplication

Question: Let A=[1234]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} and B=[56]B = \begin{bmatrix} 5 \\ 6 \end{bmatrix}. Find AB.

Explanation:

  1. Check Order: Matrix A is 2x2. Matrix B is 2x1. The inner dimensions match (2 and 2). The resulting matrix AB will have the outer dimensions: 2x1.

  2. Calculate Element (1,1): Take the 1st row of A and the 1st column of B. Multiply corresponding elements and add. (1)(5)+(2)(6)=5+12=17(1)(5) + (2)(6) = 5+12 = 17

  3. Calculate Element (2,1): Take the 2nd row of A and the 1st column of B. (3)(5)+(4)(6)=15+24=39(3)(5) + (4)(6) = 15+24 = 39

  4. Construct the Result Matrix:

Answer: AB=[1739]AB = \begin{bmatrix} 17 \\ 39 \end{bmatrix}

Example 4: 2x2 Matrix Multiplication

Question: If A=[2132]A = \begin{bmatrix} 2 & 1 \\ 3 & 2 \end{bmatrix} and B=[1012]B = \begin{bmatrix} 1 & 0 \\ -1 & 2 \end{bmatrix}, find AB.

Explanation:

  1. Check Order: A is 2x2, B is 2x2. The inner dimensions match. The result AB will be a 2x2 matrix.

  2. Calculate Element (1,1): (Row 1 of A) ×\times (Col 1 of B) (2)(1)+(1)(1)=21=1(2)(1) + (1)(-1) = 2 - 1 = 1

  3. Calculate Element (1,2): (Row 1 of A) ×\times (Col 2 of B) (2)(0)+(1)(2)=0+2=2(2)(0) + (1)(2) = 0 + 2 = 2

  4. Calculate Element (2,1): (Row 2 of A) ×\times (Col 1 of B) (3)(1)+(2)(1)=32=1(3)(1) + (2)(-1) = 3 - 2 = 1

  5. Calculate Element (2,2): (Row 2 of A) ×\times (Col 2 of B) (3)(0)+(2)(2)=0+4=4(3)(0) + (2)(2) = 0 + 4 = 4

  6. Construct the Result Matrix:

Answer: AB=[1214]AB = \begin{bmatrix} 1 & 2 \\ 1 & 4 \end{bmatrix}

Example 5: Non-Commutativity

Question: Using the matrices from the previous example, find BA and show that ABBAAB \ne BA.

Explanation:

  1. Matrices: A=[2132]A = \begin{bmatrix} 2 & 1 \\ 3 & 2 \end{bmatrix} and B=[1012]B = \begin{bmatrix} 1 & 0 \\ -1 & 2 \end{bmatrix}. We need to find BABA.
  2. Check Order: B is 2x2, A is 2x2. The inner dimensions match. The result BA will be a 2x2 matrix.
  3. Calculate Element (1,1): (Row 1 of B) ×\times (Col 1 of A) (1)(2)+(0)(3)=2+0=2(1)(2) + (0)(3) = 2 + 0 = 2
  4. Calculate Element (1,2): (Row 1 of B) ×\times (Col 2 of A) (1)(1)+(0)(2)=1+0=1(1)(1) + (0)(2) = 1 + 0 = 1
  5. Calculate Element (2,1): (Row 2 of B) ×\times (Col 1 of A) (1)(2)+(2)(3)=2+6=4(-1)(2) + (2)(3) = -2 + 6 = 4
  6. Calculate Element (2,2): (Row 2 of B) ×\times (Col 2 of A) (1)(1)+(2)(2)=1+4=3(-1)(1) + (2)(2) = -1 + 4 = 3
  7. Result for BA: BA=[2143]BA = \begin{bmatrix} 2 & 1 \\ 4 & 3 \end{bmatrix}
  8. Compare: From Example 4, AB=[1214]AB = \begin{bmatrix} 1 & 2 \\ 1 & 4 \end{bmatrix}. Since the matrices are not identical, ABBAAB \ne BA. This demonstrates that matrix multiplication is not commutative.

Example 6: Solving a Matrix Equation

Question: Find x if [1x1][1322511532][12x]=O\begin{bmatrix} 1 & x & 1 \end{bmatrix} \begin{bmatrix} 1 & 3 & 2 \\ 2 & 5 & 1 \\ 15 & 3 & 2 \end{bmatrix} \begin{bmatrix} 1 \\ 2 \\ x \end{bmatrix} = O.

Explanation:

  1. Multiply the first two matrices: (Order 1x3) ×\times (Order 3x3) \to (Order 1x3).

    Let the result be C=[c11c12c13]C = \begin{bmatrix} c_{11} & c_{12} & c_{13} \end{bmatrix}

    • c11=(1)(1)+(x)(2)+(1)(15)=1+2x+15=2x+16c_{11} = (1)(1) + (x)(2) + (1)(15) = 1+2x+15 = 2x+16
    • c12=(1)(3)+(x)(5)+(1)(3)=3+5x+3=5x+6c_{12} = (1)(3) + (x)(5) + (1)(3) = 3+5x+3 = 5x+6
    • c13=(1)(2)+(x)(1)+(1)(2)=2+x+2=x+4c_{13} = (1)(2) + (x)(1) + (1)(2) = 2+x+2 = x+4 So, [2x+165x+6x+4][12x]=O\begin{bmatrix} 2x+16 & 5x+6 & x+4 \end{bmatrix} \begin{bmatrix} 1 \\ 2 \\ x \end{bmatrix} = O
  2. Multiply the resulting matrices: (Order 1x3) ×\times (Order 3x1) \to (Order 1x1).

    The zero matrix OO is the 1x1 matrix [0][0]. [(2x+16)(1)+(5x+6)(2)+(x+4)(x)]=[0][(2x+16)(1) + (5x+6)(2) + (x+4)(x)] = [0]

  3. Form the Equation: (2x+16)+(10x+12)+(x2+4x)=0(2x+16) + (10x+12) + (x^2+4x) = 0 x2+(2x+10x+4x)+(16+12)=0x^2 + (2x+10x+4x) + (16+12) = 0 x2+16x+28=0x^2 + 16x + 28 = 0

  4. Solve the Quadratic Equation: Factoring the quadratic: (x+2)(x+14)=0(x+2)(x+14) = 0

Answer: The solutions are x = -2 and x = -14.

Example 7: Powers of a Matrix

Question: If A=[1011]A = \begin{bmatrix} 1 & 0 \\ 1 & 1 \end{bmatrix}, find A2A^2 and A3A^3.

Explanation:

  1. Calculate A2A^2: A2=AA=[1011][1011]A^2 = A \cdot A = \begin{bmatrix} 1 & 0 \\ 1 & 1 \end{bmatrix}\begin{bmatrix} 1 & 0 \\ 1 & 1 \end{bmatrix}.

    • (Row 1, Col 1): (1)(1)+(0)(1)=1(1)(1) + (0)(1) = 1.
    • (Row 1, Col 2): (1)(0)+(0)(1)=0(1)(0) + (0)(1) = 0.
    • (Row 2, Col 1): (1)(1)+(1)(1)=2(1)(1) + (1)(1) = 2.
    • (Row 2, Col 2): (1)(0)+(1)(1)=1(1)(0) + (1)(1) = 1. So, A2=[1021]A^2 = \begin{bmatrix} 1 & 0 \\ 2 & 1 \end{bmatrix}.
  2. Calculate A3A^3: A3=A2A=[1021][1011]A^3 = A^2 \cdot A = \begin{bmatrix} 1 & 0 \\ 2 & 1 \end{bmatrix}\begin{bmatrix} 1 & 0 \\ 1 & 1 \end{bmatrix}.

    • (Row 1, Col 1): (1)(1)+(0)(1)=1(1)(1) + (0)(1) = 1.
    • (Row 1, Col 2): (1)(0)+(0)(1)=0(1)(0) + (0)(1) = 0.
    • (Row 2, Col 1): (2)(1)+(1)(1)=3(2)(1) + (1)(1) = 3.
    • (Row 2, Col 2): (2)(0)+(1)(1)=1(2)(0) + (1)(1) = 1. So, A3=[1031]A^3 = \begin{bmatrix} 1 & 0 \\ 3 & 1 \end{bmatrix}.

Answer: A2=[1021]A^2 = \begin{bmatrix} 1 & 0 \\ 2 & 1 \end{bmatrix} and A3=[1031]A^3 = \begin{bmatrix} 1 & 0 \\ 3 & 1 \end{bmatrix}.

Example 8: Associative Property

Question: Let A=[12],B=[34],C=[56]A = \begin{bmatrix} 1 & 2 \end{bmatrix}, B = \begin{bmatrix} 3 \\ 4 \end{bmatrix}, C = \begin{bmatrix} 5 & 6 \end{bmatrix}. Verify that (AB)C=A(BC)(AB)C = A(BC).

Explanation: 1. Calculate LHS: (AB)C

  • First, find ABAB: (Order 1x2) ×\times (2x1) \to (Order 1x1). AB=[(1)(3)+(2)(4)]=[3+8]=[11]AB = \begin{bmatrix} (1)(3) + (2)(4) \end{bmatrix} = \begin{bmatrix} 3+8 \end{bmatrix} = \begin{bmatrix} 11 \end{bmatrix}
  • Then, find (AB)C(AB)C: (Order 1x1) ×\times (1x2) \to (Order 1x2). (AB)C=[11][56]=[(11)(5)(11)(6)]=[5566](AB)C = \begin{bmatrix} 11 \end{bmatrix} \begin{bmatrix} 5 & 6 \end{bmatrix} = \begin{bmatrix} (11)(5) & (11)(6) \end{bmatrix} = \begin{bmatrix} 55 & 66 \end{bmatrix}

2. Calculate RHS: A(BC)

  • First, find BCBC: (Order 2x1) ×\times (Order 1x2) \to (Order 2x2). BC=[34][56]=[(3)(5)(3)(6)(4)(5)(4)(6)]=[15182024]BC = \begin{bmatrix} 3 \\ 4 \end{bmatrix} \begin{bmatrix} 5 & 6 \end{bmatrix} = \begin{bmatrix} (3)(5) & (3)(6) \\ (4)(5) & (4)(6) \end{bmatrix} = \begin{bmatrix} 15 & 18 \\ 20 & 24 \end{bmatrix}
  • Then, find A(BC)A(BC): (Order 1x2) ×\times (2x2) \to (Order 1x2). A(BC)=[12][15182024]A(BC) = \begin{bmatrix} 1 & 2 \end{bmatrix} \begin{bmatrix} 15 & 18 \\ 20 & 24 \end{bmatrix} =[(1)(15)+(2)(20)(1)(18)+(2)(24)]= \begin{bmatrix} (1)(15)+(2)(20) & (1)(18)+(2)(24) \end{bmatrix} =[15+4018+48]=[5566]= \begin{bmatrix} 15+40 & 18+48 \end{bmatrix} = \begin{bmatrix} 55 & 66 \end{bmatrix}

3. Conclusion: Since LHS = RHS, the associative property is verified.

Answer: LHS = [5566]\begin{bmatrix} 55 & 66 \end{bmatrix} and RHS = [5566]\begin{bmatrix} 55 & 66 \end{bmatrix}.

Example 9: Distributive Property

Question: If A=[1111],B=[1001],C=[0110]A = \begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix}, B = \begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix}, C = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}, verify A(B+C)=AB+ACA(B+C)=AB+AC.

Explanation: 1. Calculate LHS: A(B+C)

  • First, find B+CB+C: B+C=[1+00+10+11+0]=[1111]B+C = \begin{bmatrix} 1+0 & 0+1 \\ 0+1 & -1+0 \end{bmatrix} = \begin{bmatrix} 1 & 1 \\ 1 & -1 \end{bmatrix}
  • Now, find A(B+C)A(B+C): A(B+C)=[1111][1111]A(B+C) = \begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix} \begin{bmatrix} 1 & 1 \\ 1 & -1 \end{bmatrix} =[(1)(1)+(1)(1)(1)(1)+(1)(1)(1)(1)+(1)(1)(1)(1)+(1)(1)]= \begin{bmatrix} (1)(1)+(1)(1) & (1)(1)+(1)(-1) \\ (1)(1)+(1)(1) & (1)(1)+(1)(-1) \end{bmatrix} =[2020]= \begin{bmatrix} 2 & 0 \\ 2 & 0 \end{bmatrix}

2. Calculate RHS: AB+AC

  • First, find ABAB: AB=[1111][1001]AB = \begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix} \begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix} =[(1)(1)+(1)(0)(1)(0)+(1)(1)(1)(1)+(1)(0)(1)(0)+(1)(1)]=[1111]= \begin{bmatrix} (1)(1)+(1)(0) & (1)(0)+(1)(-1) \\ (1)(1)+(1)(0) & (1)(0)+(1)(-1) \end{bmatrix} = \begin{bmatrix} 1 & -1 \\ 1 & -1 \end{bmatrix}
  • Next, find ACAC: AC=[1111][0110]AC = \begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix} \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix} =[(1)(0)+(1)(1)(1)(1)+(1)(0)(1)(0)+(1)(1)(1)(1)+(1)(0)]= \begin{bmatrix} (1)(0)+(1)(1) & (1)(1)+(1)(0) \\ (1)(0)+(1)(1) & (1)(1)+(1)(0) \end{bmatrix} =[1111]= \begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix}
  • Now, add the results: AB+AC=[1111]+[1111]AB+AC = \begin{bmatrix} 1 & -1 \\ 1 & -1 \end{bmatrix} + \begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix} =[1+11+11+11+1]=[2020]= \begin{bmatrix} 1+1 & -1+1 \\ 1+1 & -1+1 \end{bmatrix} = \begin{bmatrix} 2 & 0 \\ 2 & 0 \end{bmatrix}

3. Conclusion: Since LHS = RHS, the distributive property is verified.

Answer: LHS = [2020]\begin{bmatrix} 2 & 0 \\ 2 & 0 \end{bmatrix} and RHS = [2020]\begin{bmatrix} 2 & 0 \\ 2 & 0 \end{bmatrix}.

Example 10: Special Matrix Product

Question: If A=[cosθsinθsinθcosθ]A = \begin{bmatrix} \cos\theta & \sin\theta \\ -\sin\theta & \cos\theta \end{bmatrix}, show that A2=[cos2θsin2θsin2θcos2θ]A^2 = \begin{bmatrix} \cos 2\theta & \sin 2\theta \\ -\sin 2\theta & \cos 2\theta \end{bmatrix}.

Explanation: This matrix is a rotation matrix by an angle θ\theta. Squaring it should be equivalent to applying the rotation twice, resulting in a rotation by 2θ2\theta.

  1. Set up the multiplication A2=AAA^2 = A \cdot A: A2=[cosθsinθsinθcosθ][cosθsinθsinθcosθ]A^2 = \begin{bmatrix} \cos\theta & \sin\theta \\ -\sin\theta & \cos\theta \end{bmatrix}\begin{bmatrix} \cos\theta & \sin\theta \\ -\sin\theta & \cos\theta \end{bmatrix}

  2. Calculate each element:

    • Element (1,1): (cosθ)(cosθ)+(sinθ)(sinθ)=cos2θsin2θ(\cos\theta)(\cos\theta) + (\sin\theta)(-\sin\theta) = \cos^2\theta - \sin^2\theta
    • Element (1,2): (cosθ)(sinθ)+(sinθ)(cosθ)=2sinθcosθ(\cos\theta)(\sin\theta) + (\sin\theta)(\cos\theta) = 2\sin\theta\cos\theta
    • Element (2,1): (sinθ)(cosθ)+(cosθ)(sinθ)=2sinθcosθ(-\sin\theta)(\cos\theta) + (\cos\theta)(-\sin\theta) = -2\sin\theta\cos\theta
    • Element (2,2): (sinθ)(sinθ)+(cosθ)(cosθ)=cos2θsin2θ(-\sin\theta)(\sin\theta) + (\cos\theta)(\cos\theta) = \cos^2\theta - \sin^2\theta
  3. Form the resulting matrix: A2=[cos2θsin2θ2sinθcosθ2sinθcosθcos2θsin2θ]A^2 = \begin{bmatrix} \cos^2\theta - \sin^2\theta & 2\sin\theta\cos\theta \\ -2\sin\theta\cos\theta & \cos^2\theta - \sin^2\theta \end{bmatrix}

  4. Apply Double Angle Identities: Using the identities cos2θ=cos2θsin2θ\cos 2\theta = \cos^2\theta - \sin^2\theta and sin2θ=2sinθcosθ\sin 2\theta = 2\sin\theta\cos\theta, we get: A2=[cos2θsin2θsin2θcos2θ]A^2 = \begin{bmatrix} \cos 2\theta & \sin 2\theta \\ -\sin 2\theta & \cos 2\theta \end{bmatrix}

Answer: The statement is verified.