Example 1: Constructing a Matrix

Question: Construct a 3x2 matrix where aij=ija_{ij} = i - j.

Explanation:

  1. Understand the Order: A 3x2 matrix has 3 rows and 2 columns. The general form is [a11a12a21a22a31a32]\begin{bmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \\ a_{31} & a_{32} \end{bmatrix}
  2. Use the Formula: We find the value of each element using the rule aij=ija_{ij} = i - j (where 'i' is the row number and 'j' is the column number).
    • a11a_{11} (i=1, j=1): 11=01-1=0
    • a12a_{12} (i=1, j=2): 12=11-2=-1
    • a21a_{21} (i=2, j=1): 21=12-1=1
    • a22a_{22} (i=2, j=2): 22=02-2=0
    • a31a_{31} (i=3, j=1): 31=23-1=2
    • a32a_{32} (i=3, j=2): 32=13-2=1
  3. Construct the Matrix: Place the calculated values into their corresponding positions.

Answer: A=[011021]A = \begin{bmatrix} 0 & -1 \\ 1 & 0 \\ 2 & 1 \end{bmatrix}.

Example 2: Equality of Matrices

Question: Find x, y, a, b if [xya+babx+y]=[25110]\begin{bmatrix} x-y & a+b \\ a-b & x+y \end{bmatrix} = \begin{bmatrix} 2 & 5 \\ 1 & 10 \end{bmatrix}.

Explanation: By the definition of matrix equality, the corresponding elements must be equal. This gives us two independent systems of linear equations.

System 1 (for x and y):

  1. xy=2x-y=2
  2. x+y=10x+y=10

Adding the two equations: (xy)+(x+y)=2+10(x-y)+(x+y) = 2+10     2x=12    x=6\implies 2x=12 \implies x=6 Substituting x=6x=6 into the second equation: 6+y=10    y=46+y=10 \implies y=4

System 2 (for a and b):

  1. a+b=5a+b=5
  2. ab=1a-b=1

Adding the two equations: (a+b)+(ab)=5+1(a+b)+(a-b) = 5+1     2a=6    a=3\implies 2a=6 \implies a=3 Substituting a=3a=3 into the first equation: 3+b=5    b=23+b=5 \implies b=2

Answer: x=6,y=4,a=3,b=2x=6, y=4, a=3, b=2.

Example 3: Possible Matrix Orders

Question: If a matrix has 13 elements, what are the possible orders?

Explanation:

  1. Understand Order: The order of a matrix is (number of rows, mm) ×\times (number of columns, nn). The total number of elements is m×nm \times n.

  2. Find Factor Pairs: We need to find pairs of natural numbers (m,nm, n) whose product is 13.

  3. Analyze 13: The number 13 is a prime number. Its only natural number factors are 1 and 13.

  4. List Possibilities: The only possible pairs are (1, 13) and (13, 1).

Answer: The possible orders are 1 x 13 (a row matrix) and 13 x 1 (a column matrix).

Example 4: Matrix Operations

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 3AB3A - B.

Explanation:

  1. Scalar Multiplication: First, calculate the matrix 3A3A by multiplying every element of A by 3. 3A=3[1234]3A = 3\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} =[3(1)3(2)3(3)3(4)]=[36912]= \begin{bmatrix} 3(1) & 3(2) \\ 3(3) & 3(4) \end{bmatrix} = \begin{bmatrix} 3 & 6 \\ 9 & 12 \end{bmatrix}
  2. Matrix Subtraction: Now, subtract the corresponding elements of B from 3A. 3AB=[36912][5678]3A - B = \begin{bmatrix} 3 & 6 \\ 9 & 12 \end{bmatrix} - \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix} =[356697128]= \begin{bmatrix} 3-5 & 6-6 \\ 9-7 & 12-8 \end{bmatrix}
  3. Calculate Result: 3AB=[2024]3A - B = \begin{bmatrix} -2 & 0 \\ 2 & 4 \end{bmatrix}

Answer: [2024]\begin{bmatrix} -2 & 0 \\ 2 & 4 \end{bmatrix}.

Example 5: Matrix Polynomial

Question: Find A25A+6IA^2 - 5A + 6I if A=[201213110]A = \begin{bmatrix} 2 & 0 & 1 \\ 2 & 1 & 3 \\ 1 & -1 & 0 \end{bmatrix}.

Explanation: We need to compute each term of the polynomial f(A)=A25A+6If(A)=A^2-5A+6I, where II is the 3x3 identity matrix.

  1. Calculate A2A^2: A2=AA=[201213110][201213110]A^2 = A \cdot A = \begin{bmatrix} 2 & 0 & 1 \\ 2 & 1 & 3 \\ 1 & -1 & 0 \end{bmatrix} \begin{bmatrix} 2 & 0 & 1 \\ 2 & 1 & 3 \\ 1 & -1 & 0 \end{bmatrix} =[4+0+10+012+0+04+2+30+132+3+022+001+013+0]= \begin{bmatrix} 4+0+1 & 0+0-1 & 2+0+0 \\ 4+2+3 & 0+1-3 & 2+3+0 \\ 2-2+0 & 0-1+0 & 1-3+0 \end{bmatrix} =[512925012]= \begin{bmatrix} 5 & -1 & 2 \\ 9 & -2 & 5 \\ 0 & -1 & -2 \end{bmatrix}
  2. Calculate 5A5A: 5A=5[201213110]5A = 5\begin{bmatrix} 2 & 0 & 1 \\ 2 & 1 & 3 \\ 1 & -1 & 0 \end{bmatrix} =[100510515550]= \begin{bmatrix} 10 & 0 & 5 \\ 10 & 5 & 15 \\ 5 & -5 & 0 \end{bmatrix}
  3. Calculate 6I6I: 6I=6[100010001]=[600060006]6I = 6\begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} = \begin{bmatrix} 6 & 0 & 0 \\ 0 & 6 & 0 \\ 0 & 0 & 6 \end{bmatrix}
  4. Combine the matrices: A25A+6IA^2 - 5A + 6I =[512925012][100510515550]+[600060006]= \begin{bmatrix} 5 & -1 & 2 \\ 9 & -2 & 5 \\ 0 & -1 & -2 \end{bmatrix} - \begin{bmatrix} 10 & 0 & 5 \\ 10 & 5 & 15 \\ 5 & -5 & 0 \end{bmatrix} + \begin{bmatrix} 6 & 0 & 0 \\ 0 & 6 & 0 \\ 0 & 0 & 6 \end{bmatrix} =[510+610+025+0910+025+6515+005+01(5)+020+6]= \begin{bmatrix} 5-10+6 & -1-0+0 & 2-5+0 \\ 9-10+0 & -2-5+6 & 5-15+0 \\ 0-5+0 & -1-(-5)+0 & -2-0+6 \end{bmatrix} =[1131110544]= \begin{bmatrix} 1 & -1 & -3 \\ -1 & -1 & -10 \\ -5 & 4 & 4 \end{bmatrix}

Answer: [1131110544]\begin{bmatrix} 1 & -1 & -3 \\ -1 & -1 & -10 \\ -5 & 4 & 4 \end{bmatrix}.

Example 6: Non-Commutativity of Multiplication

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

Explanation: 1. Calculate AB: AB=[1123][2110]AB = \begin{bmatrix} 1 & -1 \\ 2 & 3 \end{bmatrix}\begin{bmatrix} 2 & 1 \\ 1 & 0 \end{bmatrix} =[(1)(2)+(1)(1)(1)(1)+(1)(0)(2)(2)+3(1)(2)(1)+3(0)]= \begin{bmatrix} (1)(2)+(-1)(1) & (1)(1)+(-1)(0) \\ (2)(2)+3(1) & (2)(1)+3(0) \end{bmatrix} =[211+04+32+0]=[1172]= \begin{bmatrix} 2-1 & 1+0 \\ 4+3 & 2+0 \end{bmatrix} = \begin{bmatrix} 1 & 1 \\ 7 & 2 \end{bmatrix}

2. Calculate BA: BA=[2110][1123]BA = \begin{bmatrix} 2 & 1 \\ 1 & 0 \end{bmatrix}\begin{bmatrix} 1 & -1 \\ 2 & 3 \end{bmatrix} =[(2)(1)+1(2)(2)(1)+1(3)(1)(1)+0(2)(1)(1)+0(3)]= \begin{bmatrix} (2)(1)+1(2) & (2)(-1)+1(3) \\ (1)(1)+0(2) & (1)(-1)+0(3) \end{bmatrix} =[2+22+31+01+0]=[4111]= \begin{bmatrix} 2+2 & -2+3 \\ 1+0 & -1+0 \end{bmatrix} = \begin{bmatrix} 4 & 1 \\ 1 & -1 \end{bmatrix}

3. Conclusion: We observe that ABBAAB \ne BA, which illustrates that matrix multiplication is not commutative.

Answer: AB=[1172]AB = \begin{bmatrix} 1 & 1 \\ 7 & 2 \end{bmatrix} and BA=[4111]BA = \begin{bmatrix} 4 & 1 \\ 1 & -1 \end{bmatrix}.

Example 7: Solving a Matrix Equation

Question: Solve for x: [x1][1020]=O\begin{bmatrix} x & 1 \end{bmatrix} \begin{bmatrix} 1 & 0 \\ -2 & 0 \end{bmatrix} = O.

Explanation:

  1. Set up the multiplication: The product of a (1x2) matrix and a (2x2) matrix will be a (1x2) matrix.

    The zero matrix OO on the right side must also be of order (1x2), so O=[00]O = \begin{bmatrix} 0 & 0 \end{bmatrix}

  2. Perform Multiplication: [(x)(1)+(1)(2)(x)(0)+(1)(0)]=[00]\begin{bmatrix} (x)(1)+(1)(-2) & (x)(0)+(1)(0) \end{bmatrix} = \begin{bmatrix} 0 & 0 \end{bmatrix} [x20]=[00]\begin{bmatrix} x-2 & 0 \end{bmatrix} = \begin{bmatrix} 0 & 0 \end{bmatrix}

  3. Equate Elements and Solve: By equating the corresponding elements, we get:

    • x2=0    x=2x-2 = 0 \implies x=2
    • 0=00 = 0 (This is consistent)

Answer: x=2.

Example 8: Powers of a Matrix

Question: If A=[1111]A = \begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix}, find A100A^{100}.

Explanation: We will find the first few powers of A to identify a pattern.

  1. Calculate A2A^2: A2=AA=[1111][1111]A^2 = A \cdot A = \begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix}\begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix} =[1+11+11+11+1]=[2222]= \begin{bmatrix} 1+1 & 1+1 \\ 1+1 & 1+1 \end{bmatrix} = \begin{bmatrix} 2 & 2 \\ 2 & 2 \end{bmatrix} We can rewrite this as A2=2[1111]=2AA^2 = 2\begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix} = 2A
  2. Calculate A3A^3: A3=A2A=(2A)AA^3 = A^2 \cdot A = (2A) \cdot A =2(A2)=2(2A)=4A=22A= 2(A^2) = 2(2A) = 4A = 2^2A
  3. Identify the Pattern: We see a pattern: An=2n1AA^n = 2^{n-1}A
  4. Apply the Pattern for n=100: A100=21001A=299AA^{100} = 2^{100-1}A = 2^{99}A

Answer: A100=299A=299[1111]A^{100} = 2^{99}A = 2^{99}\begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix}.

Example 9: Binomial Expansion with Nilpotent Matrix

Question: If A=[0100]A = \begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}, find (aI+bA)3(aI+bA)^3.

Explanation:

  1. Analyze Matrix A: Let's find the powers of A. AA is a nilpotent matrix. A2=[0100][0100]=[0000]=OA^2 = \begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}\begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix} = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix} = O Since A2A^2 is the zero matrix, all higher powers (A3,A4,...A^3, A^4, ...) will also be the zero matrix.

  2. Expand the Binomial: Since II (identity) and AA commute (IA=AI=AIA=AI=A), we can use the binomial expansion (X+Y)3=X3+3X2Y+3XY2+Y3(X+Y)^3 = X^3+3X^2Y+3XY^2+Y^3 (aI+bA)3=(aI)3+3(aI)2(bA)+3(aI)(bA)2+(bA)3(aI+bA)^3 = (aI)^3 + 3(aI)^2(bA) + 3(aI)(bA)^2 + (bA)^3

  3. Simplify: =a3I3+3a2b(I2A)+3ab2(IA2)+b3A3= a^3I^3 + 3a^2b(I^2A) + 3ab^2(IA^2) + b^3A^3

    • I3=II^3 = I and I2A=AI^2A = A.
    • A2=OA^2 = O (from step 1), so IA2=OIA^2 = O.
    • A3=OA^3 = O (from step 1).

    The expression simplifies to: a3I+3a2bA+O+Oa^3I + 3a^2bA + O + O

Answer: a3I+3a2bA=[a300a3]+[03a2b00]=[a33a2b0a3]a^3I + 3a^2bA = \begin{bmatrix} a^3 & 0 \\ 0 & a^3 \end{bmatrix} + \begin{bmatrix} 0 & 3a^2b \\ 0 & 0 \end{bmatrix} = \begin{bmatrix} a^3 & 3a^2b \\ 0 & a^3 \end{bmatrix}

Example 10: Matrix Multiplication Word Problem

Question: A trust fund has Rs 30,000 to invest in two types of bonds. The first bond pays 5% interest per year, and the second pays 7%. Using matrix multiplication, determine how to divide Rs 30,000 among the two types of bonds if the trust must obtain an annual total interest of Rs 1,800.

Explanation:

  1. Define Variables: Let the investment in the first bond be Rs xx. Then the investment in the second bond is Rs (30000x)(30000-x).

  2. Set up Matrices:

    • Investment Matrix (A): A 1x2 row matrix representing the amount in each bond. A=[x30000x]A = \begin{bmatrix} x & 30000-x \end{bmatrix}
    • Interest Rate Matrix (R): A 2x1 column matrix representing the interest rate for each bond. R=[0.050.07]R = \begin{bmatrix} 0.05 \\ 0.07 \end{bmatrix}
    • Total Interest Matrix (T): The desired total interest, as a 1x1 matrix. T=[1800]T = \begin{bmatrix} 1800 \end{bmatrix}
  3. Form the Matrix Equation: The total interest is the product of the investment matrix and the rate matrix: AR=TA \cdot R = T. [x30000x][0.050.07]=[1800]\begin{bmatrix} x & 30000-x \end{bmatrix} \begin{bmatrix} 0.05 \\ 0.07 \end{bmatrix} = \begin{bmatrix} 1800 \end{bmatrix}

  4. Solve the Equation: (x)(0.05)+(30000x)(0.07)=1800(x)(0.05) + (30000-x)(0.07) = 1800 0.05x+21000.07x=18000.05x + 2100 - 0.07x = 1800 0.02x=18002100-0.02x = 1800 - 2100 0.02x=300-0.02x = -300 x=3000.02=15000x = \frac{-300}{-0.02} = 15000

  5. Find Both Investments:

    • Investment in first bond (at 5%): x=15,000x = 15,000.

    • Investment in second bond (at 7%): 30000x=15,00030000-x = 15,000.

Answer: The investment is Rs 15,000 in each bond.

Example 11: Verifying (AB)T=BTAT(AB)^T = B^TA^T

Question: Verify the reversal law (AB)T=BTAT(AB)^T = B^TA^T for A=[1234]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} and B=[4126]B = \begin{bmatrix} 4 & 1 \\ 2 & 6 \end{bmatrix}.

Explanation: 1. Calculate the Left-Hand Side (LHS):

  • First, find ABAB: AB=[1234][4126]AB = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}\begin{bmatrix} 4 & 1 \\ 2 & 6 \end{bmatrix} =[1(4)+2(2)1(1)+2(6)3(4)+4(2)3(1)+4(6)]= \begin{bmatrix} 1(4)+2(2) & 1(1)+2(6) \\ 3(4)+4(2) & 3(1)+4(6) \end{bmatrix} =[8132027]= \begin{bmatrix} 8 & 13 \\ 20 & 27 \end{bmatrix}
  • Now, find the transpose: (AB)T=[8201327](AB)^T = \begin{bmatrix} 8 & 20 \\ 13 & 27 \end{bmatrix}

2. Calculate the Right-Hand Side (RHS):

  • First, find ATA^T and BTB^T:

    AT=[1324]A^T = \begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix} and BT=[4216]B^T = \begin{bmatrix} 4 & 2 \\ 1 & 6 \end{bmatrix}.

  • Now, find the product BTATB^TA^T: BTAT=[4216][1324]B^TA^T = \begin{bmatrix} 4 & 2 \\ 1 & 6 \end{bmatrix}\begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix} =[4(1)+2(2)4(3)+2(4)1(1)+6(2)1(3)+6(4)]= \begin{bmatrix} 4(1)+2(2) & 4(3)+2(4) \\ 1(1)+6(2) & 1(3)+6(4) \end{bmatrix} =[8201327]= \begin{bmatrix} 8 & 20 \\ 13 & 27 \end{bmatrix}

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

Answer: Verified, as both sides equal [8201327]\begin{bmatrix} 8 & 20 \\ 13 & 27 \end{bmatrix}.

Example 12: Properties of Skew-Symmetric Matrix

Question: If the matrix A=[0a32b1c10]A = \begin{bmatrix} 0 & a & 3 \\ 2 & b & -1 \\ c & 1 & 0 \end{bmatrix} is skew-symmetric, find a, b, c.

Explanation: A skew-symmetric matrix must satisfy two conditions:

  1. All diagonal elements are zero: aii=0a_{ii} = 0.

  2. Non-diagonal elements are negative opposites: aij=ajia_{ij} = -a_{ji}.

  • Condition 1: We check the diagonal. a22=ba_{22} = b. Therefore, we must have b=0.
  • Condition 2: We check the non-diagonal elements.
    • a12=a21    a=(2)    a_{12} = -a_{21} \implies a = -(2) \implies a=-2.
    • a13=a31    3=(c)    a_{13} = -a_{31} \implies 3 = -(c) \implies c=-3.
    • (We can check the last pair: a23=a32    1=(1)a_{23} = -a_{32} \implies -1 = -(1), which is true.)

Answer: a=-2, b=0, c=-3.

Example 13: Sum of Symmetric and Skew-Symmetric

Question: Express A=[3511]A = \begin{bmatrix} 3 & 5 \\ 1 & -1 \end{bmatrix} as the sum of a symmetric (P) and a skew-symmetric (Q) matrix.

Explanation:

We use the formulas P=12(A+AT)P = \frac{1}{2}(A+A^T) and Q=12(AAT)Q = \frac{1}{2}(A-A^T)

  1. Find ATA^T: AT=[3151]A^T = \begin{bmatrix} 3 & 1 \\ 5 & -1 \end{bmatrix}
  2. Find P (Symmetric Part): A+AT=[3+35+11+511]A+A^T = \begin{bmatrix} 3+3 & 5+1 \\ 1+5 & -1-1 \end{bmatrix} =[6662]= \begin{bmatrix} 6 & 6 \\ 6 & -2 \end{bmatrix} P=12(A+AT)=[3331]P = \frac{1}{2}(A+A^T) = \begin{bmatrix} 3 & 3 \\ 3 & -1 \end{bmatrix}
  3. Find Q (Skew-Symmetric Part): AAT=[3351151(1)]A-A^T = \begin{bmatrix} 3-3 & 5-1 \\ 1-5 & -1-(-1) \end{bmatrix} =[0440]= \begin{bmatrix} 0 & 4 \\ -4 & 0 \end{bmatrix} Q=12(AAT)=[0220]Q = \frac{1}{2}(A-A^T) = \begin{bmatrix} 0 & 2 \\ -2 & 0 \end{bmatrix}
  4. Verification: P+Q=[3331]+[0220]P+Q = \begin{bmatrix} 3 & 3 \\ 3 & -1 \end{bmatrix} + \begin{bmatrix} 0 & 2 \\ -2 & 0 \end{bmatrix} =[3511]=A= \begin{bmatrix} 3 & 5 \\ 1 & -1 \end{bmatrix} = A

Answer: A=[3331]+[0220]A = \begin{bmatrix} 3 & 3 \\ 3 & -1 \end{bmatrix} + \begin{bmatrix} 0 & 2 \\ -2 & 0 \end{bmatrix}.

Example 14: Property of Symmetric Matrices

Question: If A and B are symmetric matrices of the same order, show that AB+BA is a symmetric matrix.

Explanation:

  1. Given: A and B are symmetric, so AT=AA^T=A and BT=BB^T=B.

  2. Goal: We need to show that the matrix P=AB+BAP = AB+BA is symmetric, which means we must prove PT=PP^T=P.

  3. Take the Transpose: PT=(AB+BA)TP^T = (AB+BA)^T.

  4. Apply Transpose Properties: Property of sum: PT=(AB)T+(BA)TP^T = (AB)^T + (BA)^T Reversal law of multiplication: PT=(BTAT)+(ATBT)P^T = (B^TA^T) + (A^TB^T)

  5. Substitute the 'Given': Since AT=AA^T=A and BT=BB^T=B, we get: PT=(BA)+(AB)P^T = (BA) + (AB)

  6. Conclusion: PT=BA+AB=AB+BA=PP^T = BA+AB = AB+BA = P Since PT=PP^T=P, the matrix AB+BAAB+BA is symmetric.

Answer: Proven.

Example 15: Property of ATAA^TA

Question: Show that for any square matrix A, ATAA^TA is symmetric.

Explanation:

  1. Define the Matrix: Let P=ATAP = A^TA.

  2. Goal: We need to show that PP is symmetric, i.e., PT=PP^T=P.

  3. Take the Transpose: PT=(ATA)TP^T = (A^TA)^T.

  4. Apply Reversal Law: (XY)T=YTXT(XY)^T = Y^TX^T Here, X=ATX=A^T and Y=AY=A. PT=(A)T(AT)TP^T = (A)^T (A^T)^T

  5. Simplify: Using the property (AT)T=A(A^T)^T = A, we get PT=ATAP^T = A^T A.

  6. Conclusion: Since P=ATAP = A^TA and PT=ATAP^T = A^TA, we have PT=PP^T=P. Therefore, ATAA^TA is always symmetric.

Answer: Proven.

Example 16: Property of A2A^2

Question: If A is a skew-symmetric matrix, what is A2A^2?

Explanation: Let's test the nature of A2A^2 by checking its transpose.

  1. Given: A is skew-symmetric, so AT=AA^T = -A.

  2. Goal: We want to find the property of P=A2P = A^2. Let's find PTP^T.

  3. Take the Transpose: PT=(A2)T=(AA)TP^T = (A^2)^T = (A \cdot A)^T.

  4. Apply Reversal Law: PT=ATATP^T = A^T A^T.

  5. Substitute the 'Given': Replace ATA^T with A-A. PT=(A)(A)=A2P^T = (-A)(-A) = A^2.

  6. Conclusion: Since PT=A2=PP^T = A^2 = P, the matrix A2A^2 is symmetric.

Answer: A2A^2 is a symmetric matrix.

Example 17: Finding 2x2 Inverse (Shortcut)

Question: Find the inverse of A=[1327]A = \begin{bmatrix} 1 & 3 \\ 2 & 7 \end{bmatrix} using the shortcut.

Explanation:

  1. Recall the 2x2 Inverse Formula: For a matrix M=[abcd]M = \begin{bmatrix} a & b \\ c & d \end{bmatrix}, the inverse is M1=1adbc[dbca]M^{-1} = \frac{1}{ad-bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}
  2. Calculate the Determinant: adbc=(1)(7)(3)(2)=76=1ad-bc = (1)(7) - (3)(2) = 7-6 = 1
  3. Apply the Formula: A1=11[7321]A^{-1} = \frac{1}{1}\begin{bmatrix} 7 & -3 \\ -2 & 1 \end{bmatrix}

Answer: A1=[7321]A^{-1} = \begin{bmatrix} 7 & -3 \\ -2 & 1 \end{bmatrix}.

Example 18: Non-Invertible Matrix

Question: Find the inverse of A=[2142]A = \begin{bmatrix} 2 & 1 \\ 4 & 2 \end{bmatrix}, if it exists.

Explanation: A matrix is invertible if and only if its determinant is non-zero.

  1. Calculate the Determinant: The determinant is adbcad-bc. det(A)=(2)(2)(1)(4)=44=0\det(A) = (2)(2) - (1)(4) = 4 - 4 = 0
  2. Conclusion: Since the determinant is zero, the matrix is singular.

Answer: The inverse does not exist.

Example 19: Finding Inverse with Elementary Operations

Question: Find the inverse of A=[1221]A = \begin{bmatrix} 1 & 2 \\ 2 & -1 \end{bmatrix} using elementary row operations.

Explanation:

  1. Set up: Start with the augmented matrix [AI][A|I]. Our goal is to turn this into [IA1][I|A^{-1}].

    [12102101][\begin{array}{cc|cc} 1 & 2 & 1 & 0 \\ 2 & -1 & 0 & 1 \end{array}].

  2. Create 0 in (2,1): Apply R2R22R1R_2 \to R_2 - 2R_1. [12100521][\begin{array}{cc|cc} 1 & 2 & 1 & 0 \\ 0 & -5 & -2 & 1 \end{array}]

  3. Create 1 in (2,2): Apply R215R2R_2 \to -\frac{1}{5}R_2. [1210012/51/5][\begin{array}{cc|cc} 1 & 2 & 1 & 0 \\ 0 & 1 & 2/5 & -1/5 \end{array}]

  4. Create 0 in (1,2): Apply R1R12R2R_1 \to R_1 - 2R_2. R1=[1210]2[012/51/5]=[101/52/5]R_1 = [1 \quad 2 \quad 1 \quad 0] - 2[0 \quad 1 \quad 2/5 \quad -1/5] = [1 \quad 0 \quad 1/5 \quad 2/5] The matrix becomes [101/52/5012/51/5][\begin{array}{cc|cc} 1 & 0 & 1/5 & 2/5 \\ 0 & 1 & 2/5 & -1/5 \end{array}].

  5. Conclusion: The LHS is now II, so the RHS is A1A^{-1}.

Answer: A1=[1/52/52/51/5]A^{-1} = \begin{bmatrix} 1/5 & 2/5 \\ 2/5 & -1/5 \end{bmatrix}.

Example 20: Finding Inverse from a Matrix Equation

Question: If A2A+I=OA^2-A+I=O, find the inverse of A.

Explanation:

  1. Goal: To find A1A^{-1}, we must rearrange the equation into the form AB=IA \cdot B = I or BA=IB \cdot A = I, where BB will be the inverse.

  2. Rearrange the Equation: Start with A2A+I=OA^2-A+I=O. Isolate the identity matrix II. I=AA2I = A - A^2

  3. Factor out A: Factor AA out of the right-hand side. We can pre-factor or post-factor.

    • Post-factor: I=A(IA)I = A(I - A).

    • Pre-factor: I=(IA)AI = (I - A)A.

  4. Conclusion: Both factorizations match the definition of an inverse AB=BA=IAB=BA=I, where B=IAB = I-A

Answer: A1=IAA^{-1} = I-A.

Example 21: Property of Invertible Transpose

Question: If A is an invertible matrix of order 2, find (AT)1(A^T)^{-1}.

Explanation: This question asks for the inverse of the transpose of A. We use a standard property.

  1. Start with the Inverse Definition: AA1=IAA^{-1} = I.

  2. Take the Transpose of both sides: (AA1)T=IT(AA^{-1})^T = I^T.

  3. Apply Reversal Law: (A1)T(AT)=I(A^{-1})^T (A^T) = I (since IT=II^T=I).

  4. Analyze the Result: This equation shows that the matrix (A1)T(A^{-1})^T is the left-inverse of the matrix ATA^T. For square matrices, the left-inverse is the inverse.

    Therefore, (AT)1=(A1)T(A^T)^{-1} = (A^{-1})^T.

Answer: (AT)1=(A1)T(A^T)^{-1} = (A^{-1})^T. The inverse of the transpose is the transpose of the inverse.

Example 22: Solving a Matrix Equation for X

Question: If A and B are invertible matrices, solve the equation AXB=CAXB=C for X.

Explanation: We need to isolate X. We must be careful to multiply in the correct order, as matrix multiplication is not commutative.

  1. Given Equation: AXB=CAXB=C.

  2. Pre-multiply by A1A^{-1}: To remove A from the left, we pre-multiply (multiply on the left) both sides by A1A^{-1}.

    A1(AXB)=A1CA^{-1}(AXB) = A^{-1}C

    (A1A)XB=A1C(A^{-1}A)XB = A^{-1}C

    IXB=A1C    XB=A1CIXB = A^{-1}C \implies XB=A^{-1}C.

  3. Post-multiply by B1B^{-1}: To remove B from the right, we post-multiply (multiply on the right) both sides by B1B^{-1}.

    (XB)B1=(A1C)B1(XB)B^{-1} = (A^{-1}C)B^{-1}

    X(BB1)=A1CB1X(BB^{-1}) = A^{-1}CB^{-1}

    XI=A1CB1XI = A^{-1}CB^{-1}.

Answer: X=A1CB1X=A^{-1}CB^{-1}.

Example 23: Determinant Property

Question: If A is a square matrix such that A2=IA^2=I, what are the possible values for the determinant of A?

Explanation: This question uses properties of determinants (covered in the next chapter).

  1. Start with the Equation: A2=IA^2=I.

  2. Take the Determinant of both sides: A2=I|A^2| = |I|.

  3. Apply Determinant Properties:

    • A2=A2|A^2| = |A|^2.
    • I=1|I| = 1.
  4. Solve: The equation becomes A2=1|A|^2=1. Taking the square root gives A=±1|A| = \pm 1.

Answer: The possible values for the determinant are 1 and -1.

Example 24: Determinant Property

Question: If A is a 3x3 skew-symmetric matrix, what is the value of its determinant?

Explanation: This uses a property from the next chapter.

  1. Property of Determinants: We know that AT=A|A^T| = |A|.

  2. Property of Skew-Symmetric: We know that AT=AA^T = -A.

  3. Combine: A=AT=A|A| = |A^T| = |-A|.

  4. Property of Scalar Multiplication: For an n×nn \times n matrix, kA=knA|kA| = k^n|A|. Here n=3n=3 and k=1k=-1.

    A=(1)3A=A|-A| = (-1)^3|A| = -|A|.

  5. Solve: Our equation becomes A=A|A| = -|A|. This implies 2A=02|A|=0, so A=0|A|=0.

Answer: The determinant of any odd-order skew-symmetric matrix is 0.

Example 25: Proving Symmetry

Question: Show that if A is a symmetric matrix, then BTABB^TAB is also symmetric.

Explanation:

  1. Given: A is symmetric, so AT=AA^T = A.

  2. Goal: We need to prove that the matrix P=BTABP = B^TAB is symmetric, which means we must show PT=PP^T = P.

  3. Take the Transpose: PT=(BTAB)TP^T = (B^TAB)^T. We use the reversal law (XY)T=YTXT(XY)^T = Y^TX^T twice.

    PT=(B)T(BTA)T=BT(AT(BT)T)P^T = (B)^T (B^T A)^T = B^T ( A^T (B^T)^T )

  4. Simplify: Since (BT)T=B(B^T)^T = B, this becomes PT=BTATBP^T = B^T A^T B.

  5. Use the 'Given': Since A is symmetric, AT=AA^T = A. Substituting this in:

    PT=BTABP^T = B^T A B.

  6. Conclusion: We have shown PT=PP^T = P. Therefore, BTABB^TAB is symmetric.

Answer: Proven.

Example 26: Contradictory Matrix Equation

Question: If A=[α011]A = \begin{bmatrix} \alpha & 0 \\ 1 & 1 \end{bmatrix} and B=[1051]B = \begin{bmatrix} 1 & 0 \\ 5 & 1 \end{bmatrix} and A2=BA^2=B, find α\alpha.

Explanation:

  1. Calculate A2A^2: A2=[α011][α011]A^2 = \begin{bmatrix} \alpha & 0 \\ 1 & 1 \end{bmatrix}\begin{bmatrix} \alpha & 0 \\ 1 & 1 \end{bmatrix} =[(α)(α)+0(1)(α)(0)+0(1)(1)(α)+1(1)(1)(0)+1(1)]= \begin{bmatrix} (\alpha)(\alpha)+0(1) & (\alpha)(0)+0(1) \\ (1)(\alpha)+1(1) & (1)(0)+1(1) \end{bmatrix} =[α20α+11]= \begin{bmatrix} \alpha^2 & 0 \\ \alpha+1 & 1 \end{bmatrix}

  2. Set up the Equation: We are given A2=BA^2=B. [α20α+11]=[1051]\begin{bmatrix} \alpha^2 & 0 \\ \alpha+1 & 1 \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ 5 & 1 \end{bmatrix}

  3. Equate Elements and Solve:

    • From a11a_{11}: α2=1    α=±1\alpha^2 = 1 \implies \alpha = \pm 1.

    • From a21a_{21}: α+1=5    α=4\alpha+1 = 5 \implies \alpha = 4.

  4. Conclusion: The value of α\alpha must be 4 to satisfy the second equation, but this does not satisfy the first equation (4214^2 \ne 1). This is a contradiction.

Answer: There is no such value of α\alpha that satisfies the equation.

Example 27: Matrix Polynomial

Question: Let f(x)=x25x+6f(x)=x^2-5x+6. Find f(A)f(A) if A=[2011]A=\begin{bmatrix} 2 & 0 \\ 1 & 1 \end{bmatrix}.

Explanation: To find f(A)f(A), we replace xx with AA and the constant 6 with 6I6I, where II is the identity matrix. f(A)=A25A+6If(A)=A^2-5A+6I

  1. Calculate A2A^2: A2=[2011][2011]A^2 = \begin{bmatrix} 2 & 0 \\ 1 & 1 \end{bmatrix}\begin{bmatrix} 2 & 0 \\ 1 & 1 \end{bmatrix} =[4+00+02+10+1]= \begin{bmatrix} 4+0 & 0+0 \\ 2+1 & 0+1 \end{bmatrix} =[4031]= \begin{bmatrix} 4 & 0 \\ 3 & 1 \end{bmatrix}

  2. Calculate 5A5A: 5A=5[2011]=[10055]5A = 5\begin{bmatrix} 2 & 0 \\ 1 & 1 \end{bmatrix} = \begin{bmatrix} 10 & 0 \\ 5 & 5 \end{bmatrix}

  3. Calculate 6I6I: 6I=6[1001]=[6006]6I = 6\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = \begin{bmatrix} 6 & 0 \\ 0 & 6 \end{bmatrix}

  4. Combine: f(A)=[4031][10055]+[6006]f(A) = \begin{bmatrix} 4 & 0 \\ 3 & 1 \end{bmatrix} - \begin{bmatrix} 10 & 0 \\ 5 & 5 \end{bmatrix} + \begin{bmatrix} 6 & 0 \\ 0 & 6 \end{bmatrix} =[410+600+035+015+6]= \begin{bmatrix} 4-10+6 & 0-0+0 \\ 3-5+0 & 1-5+6 \end{bmatrix} =[0022]= \begin{bmatrix} 0 & 0 \\ -2 & 2 \end{bmatrix}

Answer: f(A)=[0022]f(A) = \begin{bmatrix} 0 & 0 \\ -2 & 2 \end{bmatrix}.

Example 28: Distributivity

Question: Is matrix multiplication distributive over subtraction?

Explanation: We need to check if the property A(BC)=ABACA(B-C) = AB-AC holds true.

  1. Start with the LHS: A(BC)A(B-C).

  2. Rewrite Subtraction: We can write BCB-C as B+(1)CB+(-1)C. LHS=A(B+(1)C)LHS = A(B+(-1)C)

  3. Apply Distributive Law (for Addition): The distributive law A(X+Y)=AX+AYA(X+Y) = AX + AY is a fundamental property of matrix multiplication. LHS=A(B)+A((1)C)LHS = A(B) + A((-1)C)

  4. Property of Scalar Multiplication: We can pull the scalar -1 out: A(B)A(C)=ABACA(B) - A(C) = AB - AC

  5. Conclusion: Since LHS = RHS, the property is true.

Answer: Yes, matrix multiplication is distributive over subtraction.

Example 29: Powers of a Matrix

Question: If A=[1111]A = \begin{bmatrix} 1 & -1 \\ -1 & 1 \end{bmatrix}, find A2A^2.

Explanation:

  1. Set up the multiplication: A2=AA=[1111][1111]A^2 = A \cdot A = \begin{bmatrix} 1 & -1 \\ -1 & 1 \end{bmatrix}\begin{bmatrix} 1 & -1 \\ -1 & 1 \end{bmatrix}

  2. Calculate Elements:

    • (1,1): (1)(1)+(1)(1)=1+1=2(1)(1) + (-1)(-1) = 1+1 = 2
    • (1,2): (1)(1)+(1)(1)=11=2(1)(-1) + (-1)(1) = -1-1 = -2
    • (2,1): (1)(1)+(1)(1)=11=2(-1)(1) + (1)(-1) = -1-1 = -2
    • (2,2): (1)(1)+(1)(1)=1+1=2(-1)(-1) + (1)(1) = 1+1 = 2
  3. Result: A2=[2222]A^2 = \begin{bmatrix} 2 & -2 \\ -2 & 2 \end{bmatrix}.

  4. Relate to A: We can factor out a 2: A2=2[1111]=2AA^2 = 2\begin{bmatrix} 1 & -1 \\ -1 & 1 \end{bmatrix} = 2A.

Answer: A2=2AA^2 = 2A.

Example 30: Conditions for Operations

Question: If A and B are two matrices such that AB and A+B are both defined, what can you say about the orders of A and B?

Explanation:

  1. Condition for A+BA+B: For matrix addition to be defined, both matrices must have the exact same order. Let this order be m×nm \times n.

    • A is m×nm \times n.
    • B is m×nm \times n.
  2. Condition for ABAB: For matrix multiplication to be defined, the number of columns in A must equal the number of rows in B.

    • Columns in A = nn.
    • Rows in B = mm.
    • Therefore, we must have m=nm=n.
  3. Conclusion: If both operations are defined, A and B must have the same order (m×nm \times n), and the number of columns must equal the number of rows (n=mn=m).

Answer: A and B must be square matrices of the same order.