- Practice
- About 15 min
- 5 practice questions
Matrix equations: AX = B, XA = B and A² = I
Solve AX = B and XA = B with the inverse on the correct side, handle AXB = C, and use the quick identity for 2 × 2 matrices with zero trace to find parameters that make A² = I.
If something looks wrong, please tell us.
Many exam problems give an equation involving an unknown matrix X, or ask for the value of a parameter that makes A² = I or A² = A. The key is to remember that matrices do not commute, so the inverse has to be placed on the correct side.
Solving for X
- AX = B: multiply both sides on the left by A⁻¹ to get X = A⁻¹B.
- XA = B: multiply both sides on the right by A⁻¹ to get X = BA⁻¹.
- AXB = C: multiply on the left by A⁻¹ and on the right by B⁻¹ to get X = A⁻¹CB⁻¹.
Multiply both sides by the inverse on the same side as the matrix you want to remove. A⁻¹B and BA⁻¹ are usually different matrices.
Worked example 1: both orders
Let A = [2 1; 5 3] and B = [1 0; 0 2]. Then |A| = 6 − 5 = 1, so A⁻¹ = [3 −1; −5 2]. For AX = B: X = A⁻¹B = [3 −1; −5 2][1 0; 0 2] = [3 −2; −5 4]. For XA = B: X = BA⁻¹ = [1 0; 0 2][3 −1; −5 2] = [3 −1; −10 4]. The two answers differ, which is why the side matters. A check for the first: A × [3 −2; −5 4] = [6 − 5, −4 + 4; 15 − 15, −10 + 12] = [1 0; 0 2] = B.
Worked example 2: X between two matrices
Find X from AXB = C, where A = [1 1; 0 1], B = [1 0; 1 1] and C = [10 6; 7 4]. Here A⁻¹ = [1 −1; 0 1] and B⁻¹ = [1 0; −1 1]. First A⁻¹C = [1·10 − 7, 1·6 − 4; 7, 4] = [3 2; 7 4]. Then multiply by B⁻¹ on the right: [3 2; 7 4][1 0; −1 1] = [3 − 2, 2; 7 − 4, 4] = [1 2; 3 4]. To verify, compute AXB: AX = [1+3, 2+4; 3, 4] = [4 6; 3 4], and AXB = [4+6, 6; 3+4, 4] = [10 6; 7 4] = C.
A² = I for a 2 × 2 matrix
For a general 2 × 2 matrix [a b; c −a] with trace zero, the square is [a² + bc, 0; 0, a² + bc], that is, (a² + bc) I. This identity makes questions quick: A² = I exactly when a² + bc = 1, and A² = O when a² + bc = 0.
Worked example 3: a parameter that makes A² = I
Find the values of a for which A = [a −3; 1 −a] satisfies A² = I. Here bc = (−3)(1) = −3, so A² = (a² − 3) I. Setting a² − 3 = 1 gives a² = 4, so a = 2 or a = −2. Check with a = 2: A = [2 −3; 1 −2], and A² = [4 − 3, −6 + 6; 2 − 2, −3 + 4] = [1 0; 0 1]. Values such as a = 3 give a² − 3 = 6, so A² = 6I, not I.
The idempotent and the involutory conditions
A matrix is involutory if A² = I and idempotent if A² = A. For an involutory matrix, A⁻¹ = A. For an idempotent matrix, A² = A and so Aⁿ = A for every n ≥ 1, and (I − A) is also idempotent: (I − A)² = I − 2A + A² = I − A. Questions on these use the algebra directly, without entries.
Key takeaways: put the inverse on the same side; AXB = C needs both inverses; a 2 × 2 matrix of zero trace squares to a scalar matrix; check by multiplying back.
Check your understanding
-
1. If AX = B and A is invertible, then X equals:
- BA⁻¹
- AB⁻¹
- A⁻¹B
- B⁻¹A
Show answer
Answer: C. Multiplying on the left by A⁻¹ gives A⁻¹AX = A⁻¹B, so X = A⁻¹B.
-
2. If XA = B and A is invertible, then X equals:
- BA⁻¹
- A⁻¹B
- AB⁻¹
- B⁻¹A
Show answer
Answer: A. Multiplying on the right by A⁻¹ gives X = BA⁻¹.
-
3. For A = [2 1; 5 3], what is |A|?
- 11
- −1
- 6
- 1
Show answer
Answer: D. |A| = 2·3 − 1·5 = 1.
-
4. If AXB = C with A and B invertible, then X equals:
- B⁻¹CA⁻¹
- A⁻¹CB⁻¹
- CA⁻¹B⁻¹
- A⁻¹B⁻¹C
Show answer
Answer: B. Multiply on the left by A⁻¹ and on the right by B⁻¹: A⁻¹(AXB)B⁻¹ = X.
-
5. For which value of a does A = [a −3; 1 −a] satisfy A² = I?
- 2
- 3
- 1
- 4
Show answer
Answer: A. A² = (a² − 3) I, and a² − 3 = 1 gives a = ±2. The values 3, 1 and 4 give 6I, −2I and 13I.
Sign in to keep track of the lessons you finish.