Advertisements
Advertisements
Question
Let A = `[(3, 4),(-1, 2)]`, B = `[(5, 0),(2, -3)]` and C = `[(2, -1),(4, 0)]`.
Compute:
- A(B + C)
- (AB + AC)
- Is A(B + C) = (AB + AC)?
Advertisements
Solution
Given matrices: A = `[(3, 4),(-1, 2)]`, B = `[(5, 0),(2, -3)]`, C = `[(2, -1),(4, 0)]`
i. Compute A(B + C):
First, find B + C:
B + C = `[(5, 0),(2, -3)] + [(2, -1),(4, 0)]`
= `[(5 + 2, 0 + (-1)),(2 + 4, -3 + 0)]`
= `[(7, -1),(6, -3)]`
Now, multiply matrix A by (B + C):
A(B + C): `[(3, 4),(-1, 2)] [(7, -1),(6, -3)]`
= `[(3(7) + 4(6), 3(-1) + 4(-3)),(-1(7) + 2(6), -1(-1) + 2(-3))]`
= `[(21 + 24, -3 - 12),(-7 + 12, 1 - 6)]`
= `[(45, -15),(5, -5)]`
ii. Compute AB + AC:
First, compute product AB:
AB = `[(3, 4),(-1, 2)] [(5, 0),(2, -3)]`
= `[(3(5) + 4(2), 3(0) + 4(-3)),(-1(5) + 2(2), -1(0) + 2(-3))]`
= `[(15 + 8, 0 - 12),(-5 + 4, 0 - 6)]`
= `[(23, -12),(-1, -6)]`
Next, compute product AC:
AC = `[(3, 4),(-1, 2)] [(2, -1),(4, 0)]`
= `[(3(2) + 4(4), 3(-1) + 4(0)),(-1(2) + 2(4), -1(-1) + 2(0))]`
= `[(6 + 16, -3 + 0),(-2 + 8, 1 + 0)]`
= `[(22, -3),(6, 1)]`
Now, find the sum AB + AC:
AB + AC = `[(23, -12),(-1, -6)] + [(22, -3),(6, 1)]`
= `[(23 + 22, -12 + (-3)),(-1 + 6, -6 + 1)]`
= `[(45, -15),(5, -5)]`
iii. Verification: Comparing the results of (i) and (ii):
A(B + C) = AB + AC = `[(45, -15),(5, -5)]`
Yes, A(B + C) = (AB + AC) multiplication of matrices is distributive over addition.
