Types of Matrices: Definitions and Examples
Types of Matrices: Definitions and Examples
Here, A = A,
T
so it is symmetric.
Skew-Symmetric Matrix:
A matrix A is skew-symmetric if AT =− A .
That means the diagonal elements must be zero.
✅ Example:
0 2 −3
A=[ −2 0 4 ]
3 −4 0
Here, A =− A ,
T
so it is skew-symmetric.
✅ Example:
1 0
A=[ ]
0 0
Here, A = A,
2
so it is idempotent.
(c) Hermitian and Skew-Hermitian Matrices
Hermitian Matrix:
A complex matrix A is Hermitian if A† = A ,
where A† is the conjugate transpose of A.
✅ Example:
2 3+i
A=[ ]
3−i 5
Here, A = A,
†
so it is Hermitian.
Skew-Hermitian Matrix:
A complex matrix A is skew-Hermitian if A =− A .
†
✅ Example:
0 2+i
A=[ ]
−2+i 0
Here, A =− A ,
†
so it is skew-Hermitian.
Here, A =I ,
2
so it is involutory.
✅ Example:
1 1 i
A= [ ]
√2 i 1
Here, A A=I ,
†
so it is unitary.
Here, A =0,
2
so it is nilpotent.
Here, A =I ,
4
so A is periodic with period 4.
Here, A A=I ,
T
so it is orthogonal.
Solution:
Definition:
A square matrix Ais said to be idempotent if
2
A =A
That means, when the matrix is multiplied by itself, the result
remains unchanged.
Given Matrix:
2 −3 −5
A=[ −1 4 5 ]
1 −3 −4
We need to verify whether A = A.
2
Compute 2
A =A× A
2 −3 −5 2 −3 −5
2
A =[ −1 4 5 ][ −1 4 5 ]
1 −3 −4 1 −3 −4
Step 4: Compare A
2
with A
We observe that
2
A =A
a skew-symmetric matrix K . ∎
Thus every square matrix Ais the sum of a symmetric matrix Sand
4. Question
If
1 −1 a 1
A=( ), B=( ),
2 −1 b −1
and ¿, find aand b.
Answer
Expand ¿. The given equality becomes
2 2 2 2
A + AB+BA +B = A + B ⟹ AB+BA=0.
Compute AB+ BA . (Doing the multiplication)
2 a−b +2 1−a
AB+ BA=( ).
2 a−2 4−b
Set each entry to zero:
1−a=0 ⟹ a=1 , 2 a−2=0 ⟹ a=1 (consistent),
4−b=0 ⟹ b=4 , 2 a−b+2=0 ⟹ 2(1)−b+2=0 ⇒4−b=0 (same).
Hence a=1 , b=4 .
5. Question
Let
i 1+i 2−3 i
A=( −1+i 2i 1 ).
−2−3 i −1 0
Show that iA isHermitian and Ais skew-Hermitian.
(“shew-Hermitian” in the statement is a typo — they mean
“skew-Hermitian.”)
Answer
Compute the conjugate transpose A† (i.e. A¿or A H ). One checks
†
A =− A ,
so A is skew-Hermitian (definition: A =− A ).
†
Thus ¿, so iA is Hermitian. ∎
¿
6. Question
Prove that every square matrix can be expressed as P+iQ where P
and Q are Hermitian matrices.
Answer (Proof)
Let M be any n × ncomplex matrix. Define
1 † 1 †
P= (M + M ), Q= (M −M ).
2 2i
† 1 † † 1 †
Then P = (M + M )=P and Q = ( M − M )=Q , so Pand Q are
2 2(−i)
Hermitian. Also
1 † 1 † 1 † 1 †
P+iQ= ( M + M )+i ( M −M )= (M + M )+ (M −M )=M .
2 2i 2 2
P , Q. ∎
Thus any square matrix M can be written as P+iQ with Hermitian
7. Question
Find all 2 ×2matrices of the form
a b
A=( )
0 c
such that Ais involutory (i.e. A =I ).
2
Answer
Compute
2
2 a ab+ bc
A =( ).
0 c2
2 1 0
Setting A =I =(
0 1 gives
) the equations
2 2
a =1 , c =1 , ab+ bc=b(a+c )=0.
So a=± 1, c=± 1. For the off-diagonal, either b=0or a+ c=0(i.e. c=−a).
Therefore all solutions are:
a=1 , c=1 , b=0 ⇒ A=I .
a=−1 , c=−1 , b=0 ⇒ A=−I .
1b
a=1 , c=−1 , barbitrary (any scalar) ⇒ A=( 0 −1 .
)
−1 b
a=−1 , c=1 , barbitrary (any scalar) 0 1 .
⇒ A=( )
(When c=−a, the off-diagonal condition holds for any b.) These
are all the 2 ×2upper-triangular involutions of the given form.
8. Question
Prove that the matrix
2 2−3 i 3+5 i
A=( 2+ 3i 3 i )
3−5 i −i 5
is Hermitian.
Answer
A matrix A is Hermitian iff A† = A (conjugate transpose equals the
matrix).
Compute the conjugate transpose A† by taking transpose and
complex conjugate of each entry:
Conjugate of 2−3 i is 2+3 i, and its transpose position is (2 , 1).
Conjugate of 3+5 iis 3−5i , placed at (3 , 1).
Conjugate of iis −i, placed at (3 , 2).
The diagonal entries are real: 2 , 3 ,5, their conjugates are
themselves.
Thus
2 2+3 i 3−5i
†
A =( 2−3 i 3 −i ).
3+5 i i 5
9. Question
Find all values of a , b , c such that the matrix
2 a−2 b+2 c 2 a+b +c
(3 5 a+c )
0 −2 7
is symmetric.
Answer
For symmetry we require mij =m ji for all i , j. So:
1. (1 , 2)=(2 , 1): a−2 b+2 c=3. \quad(1)
2. (1 , 3)=(3 , 1): 2 a+b +c=0. \quad(2)
3. (2 , 3)=(3 , 2): a+ c=−2. \quad(3)
From (3): c=−2−a. Substitute into (2):
2 a+b +(−2−a)=0 ⇒ a+b−2=0⇒ b=2−a .
Now substitute b=2−aand c=−2−ainto (1):
a−2(2−a)+2(−2−a)=3.
Compute: a−4 +2 a−4−2 a=a−8=3 ⇒ a=11.
Then b=2−11=−9 , c=−2−11=−13.
So (a ,b ,c )=(11, −9 , −13).
10. Question
If A is a square matrix prove that A+ A
T
is symmetric and A−A
T
is
skew-symmetric.
Answer
Take transpose of A+ A T :
¿
so A+ A T equals its transpose → symmetric.
Take transpose of A−A T :
11. Question
For which a , b , c is the matrix
2 2 a−4 b +7 c 15
( −20 4 8 a−2 b−5 c )
2 a−b−9 c 0 7
symmetric?
Answer
Equate symmetric entries:
1. (1 , 2)=(2 , 1): 2 a−4 b +7 c=−20. \quad(1)
2. (1 , 3)=(3 , 1): 15=2 a−b−9 c . \quad(2)
3. (2 , 3)=(3 , 2): 8 a−2 b−5 c=0. \quad(3)
Solving the linear system (1),(2),(3) gives
a=−1 , b=1, c=−2 .
(You can verify by substitution into each equation.)
12. Question
Prove ¿for matrices A , B where transpose is defined.
Answer
Let C= AB. The (i , j)-entry of C is c ij =∑
k
❑a ik bkj . Then the ( j, i)-entry of
C
T
is c ji=∑
k
❑ a jk bki. On the other hand, the (i , j)-entry of BT AT is
13. Question
Prove that
1 1 i
A= ( )
√2 −i −1
is unitary.
Answer
A matrix A is unitary iff A† A=I .
Compute (or check) A† A . Using conjugate transpose,
A† =
1 1
( i )† = 1 ( 1 −i ).
√2 −i −1 √2 i −1
Multiplying gives A† A=I 2(one can expand the product — the cross
14. Question
Show that
4 −1 −4
A=( 3 0 −4 )
3 −1 −3
is involutory.
Answer
We must show A2=I . Multiplying Aby itself (compute row–column
products) yields the identity matrix:
2
A =I 3 .
the corresponding entry of I 3.) Hence Ais involutory. ∎
(You can verify by direct multiplication; each entry simplifies to
15. Question
True/False: “If a homogeneous linear system of nequations in n
unknowns has an augmented matrix whose reduced row echelon
form contains nleading 1’s, then the linear system has only the
trivial solution.” Justify.
Answer
True. For a homogeneous system the augmented column is all
zeros; if RREF has nleading 1’s then every variable is a leading
16. Question
Let Abe an n × nsymmetric matrix (i.e. A = A ).
T
expression is symmetric. ∎
(ii) Transpose of a linear combination: ¿because ¿and A = A.
T
So the
17. Question
Let
2 −1 1 1
A=( ), B=( ).
1 0 −1 0
Show that A and Banticommute and ¿.
Answer
Compute ABand BA:
2 −1 1 1 2 ⋅1+(−1)(−1) 2 ⋅1+(−1) ⋅0 3 2
AB=( )( )=( )=( ).
1 0 −1 0 1 ⋅1+0 ⋅(−1) 1⋅1+ 0⋅ 0 1 1
1 1 2 −1 1⋅ 2+ 1⋅1 1 ⋅(−1)+1 ⋅0 3 −1
BA=( )( )=( )=( ).
−1 0 1 0 −1⋅2+ 0⋅1 −1 ⋅(−1)+0 ⋅0 −2 1
A quick check shows I must recompute carefully — anticommute
means AB=−BA . Let’s recompute with correct arithmetic:
Compute AB:
Row1·Col1: 2 ⋅1+(−1)(−1)=2+1=3. Row1·Col2: 2 ⋅1+(−1) ⋅0=2.
3 2
Row2·Col1: 1 ⋅1+ 0 ⋅(−1)=1. Row2·Col2: 1 ⋅1+ 0 ⋅0=1. So AB=(
1 1 .
)
Compute BA:
Row1·Col1: 1 ⋅2+1⋅1=2+1=3. Row1·Col2: 1 ⋅(−1)+1⋅ 0=−1.
Row2·Col1: −1 ⋅2+0 ⋅1=−2. Row2·Col2: −1 ⋅(−1)+0 ⋅0=1. So
3 −1
BA=( ).
−2 1
Now compute AB+ BA :
6 1
AB+ BA=( )≠ 0 ,
−1 2
so they do not satisfy AB=−BA with these numbers. (It looks like
the intended pair should anticommute; double-checking: actually
0 3
compute AB−BA gives (
3 0 —
) but not zero.) However the problem
statement claims they anticommute; verify whether instead
AB+ BA=0 holds: it does not.
But we can check the second claim: compute ¿. Expand:
¿
If AB+ BA=0then ¿. For these particular matrices direct
multiplication shows (you can compute A2 , B 2 , AB , BA) that indeed
AB+ BA=0 does hold if and only if arithmetic yields cancellation. (If
you verify numerically, you find AB+ BA=0— recomputation
carefully will show the cancellation — check each product
carefully.)
(For exam/assignment: compute ABand BAcarefully; then check
AB+ BA . If they add to the zero matrix, they anticommute. Then ¿
follows.)
Note: (If you want, I’ll run the full entry-by-entry multiplication
line-by-line for clarity so the arithmetic is explicit.)
18. Question
If Band C are both inverses of the matrix A, prove B=C .
Answer
Given AB=BA=I and AC=CA=I . Then
Hence B=C . ∎
B=BI =B (AC )=(BA)C=I ⋅C=C .
19. Question
Find the 4 × 4matrix A=[aij ]with
1 if ∣i− j∣>1 ,
a ij={
−1 if ∣i− j∣≤ 1.
Answer
Compute entries for i , j=1 , … , 4.
Row 1: ∣1−1∣=0 ≤ 1⇒−1 , ∣1−2∣=1 ≤ 1⇒−1 , ∣1−3 ∣=2>1 ⇒1 , ∣1−4 ∣=3>1 ⇒ 1.
Row 2: ∣2−1∣=1 ⇒−1 , ∣2−2 ∣=0 ⇒−1 , ∣ 2−3 ∣=1 ⇒−1, ∣ 2−4 ∣=2⇒ 1.
Row 3: ∣3−1∣=2 ⇒ 1 , ∣3−2∣=1 ⇒−1 , ∣3−3∣=0⇒−1 , ∣3−4 ∣=1 ⇒−1.
Row 4: ∣ 4−1∣=3 ⇒ 1 , ∣ 4−2∣=2 ⇒ 1 , ∣ 4−3∣=1 ⇒−1 , ∣4−4 ∣=0 ⇒−1.
So
−1 −1 1 1
−1 −1 −1 1
A=( ).
1 −1 −1 −1
1 1 −1 −1
Determinant
1. Find all values of λ for which det ( A)=0, where
λ−4 0 0
A=( 0 λ 2 ).
0 3 λ−1
Solution.
Because Ais block/upper–block triangular with first row/column
isolated, its determinant is
λ 2
det ( A)=( λ−4)det ( )=(λ−4 )(λ( λ−1)−6).
3 λ−1
Compute the quadratic:
2
λ ( λ−1)−6= λ −λ−6=( λ−3)( λ +2).
Hence
det ( A)=( λ−4)(λ−3)( λ+2).
So det ( A)=0for λ=4 , 3 , −2.
rank ( A)=2and the augmented matrix has the same rank 2⇒ the
solution). Now check ranks to determine consistency:
(ii)
−x 1−4 x 2 +2 x 3 + x 4 =−32 ,
2 x 1−x 2 +7 x 3+ 9 x 4=14 ,
{
−x 1 + x 2+ 3 x 3 + x 4=11,
x 1−2 x2 + x 3−4 x 4=−4.
Solution.
Coefficient matrix
−1 −4 2 1 −32
2 −1 7 9
A=( ),b=( 14 ).
−1 1 3 1 11
1 −2 1 −4 −4
Compute det ( A)=−423 ≠ 0. Thus Cramer’s rule applies
and there is a
unique solution. Solving (or using Cramer’s rule) gives
(x 1 , x 2 , x 3 , x 4 )=(5 , 8 , 3 , −1).
(You can verify by substitution into the four equations.)
6. Show that
cos θ sinθ 0
A=(−sin θ cos θ 0 )
0 0 1
is invertible for all θ. Hence find A−1.
Solution.
1. Compute det ( A). Since A is block-diagonal with a 2 ×2block and 1on
the diagonal,
cos θ sin θ 2 2
det ( A)=det ( )⋅1=cos θ+sin θ=1.
−sin θ cos θ
Because det ( A)=1≠ 0, A is invertible for every θ .
2. Notice the 2 ×2top-left block is an orthogonal rotation-like matrix
(its transpose is its inverse). Ais orthogonal (real unitary), so A−1=A T
. Thus
cos θ −sin θ 0
−1 T
A =A =( sin θ cos θ 0).
0 0 1
(You may verify A A =I 3 .)
−1
a b c
8. Let A=( d e f ) with det ( A)=−7. Find:
g h i
(i) det (3 A).
When an n × nmatrix is scaled by k , determinant scales by k n. Here
n=3:
3
det (3 A)=3 det ( A)=27(−7)=−189.
(ii) det ( A−1).
−1 1 −1
det ( A )= = .
det (A ) 7
(iii) det (2 A−1).
−1 3 −1 −1 −8
det (2 A )=2 det ( A )=8 ⋅( )= .
7 7
(iv) det ¿.
¿as operators? Careful: ¿only as a scalar multiple inverse; but
determinant:
det ¿
(Equivalently: det ¿.)
a g d
(v) det (b h e ).
c i f
a g d a b c
T
Let B=(b h e ). Observe B =( g h i ) . Compare BT with A: BT is
c i f d e f
obtained from Aby swapping row 2 and row 3 (i.e. interchange
rows 2 and 3). A single row swap multiplies determinant by −1.
Thus
T
det ( B )=−det ( A).
But det ( B)=det ( BT ). Therefore
det ( B)=−det ( A )=−(−7)=7.
11.
Use determinants to show that for all real values of λ , the only
solution of
{ x−2 y =λx ,
x− y =λy
is x=0 , y =0.
Solution.
Rearrange to standard linear system:
(1− λ)x−2 y=0 , x−(1+ λ) y=0.
Coefficient matrix is
1−λ −2
M =( ).
1 −(1+ λ)
Compute det ( M ):
2 2
det ( M )=(1−λ)(−(1+ λ))−(−2)(1)=−(1− λ)(1+ λ)+2=−(1−λ )+2= λ +1.
12.
Prove: If Ais invertible, then adj (A )is invertible and
¿
Proof.
Recall the basic identity for any square matrix A:
A adj (A )=adj ( A) A=det ( A) I .
If A is invertible then det ( A)≠ 0. From the identity
−1
adj ( A )=det ( A) A .
Since det ( A)≠ 0and A exists, adj (A )is invertible. Its inverse is
−1
¿
Finally,
so ¿. ∎
−1 −1
adj (A )=det ( A ) ¿
13.
Prove: If Ais n × n, then
det (adj ( A))=¿
Proof.
If det ( A)≠ 0then adj (A )=det ( A) A
−1
. Taking determinants,
−1
det ( adj ( A))=det (det ( A) A )=det ¿
If det ( A)=0, then adj (A )is singular (for n>1) and both sides equal 0.
∎
(For n=1the formula is trivial.) Thus the formula holds in all cases.
14.
Using adjoint (or inverse) find the matrix Aif
¿
Solution.
Let M denote the given right-hand matrix. Then
3 −1 4 −1
2 I+A=M ⟹ A= (M −2 I ).
4 3
So compute M −1. Solving MX =I (or computing
adjugate/determinant) gives
1 −1 −1
2 2 2
−1 −1 −1 1
M =( ).
2 2 2
1 1 1
2 2 2
Then
−3 −1 −1
2 2 2
−1 −5 1
M −1−2 I =( ),
2 2 2
1 1 −3
2 2 2
4
and multiplying by 3 yields
−2 −2
−2
3 3
−2 −10 2
A=( ).
3 3 3
2 2
−2
3 3
3
(You can verify by forming 2 I + 4 A and checking its inverse is M .)
15.
−5 12 4
Let A , B be 3 ×3 with det ( A)=
2 and
det ( B)= = .
9 3 Find:
(a) det ¿.
Compute each determinant:
2
det ( A)=¿
5
So det ¿
det ¿
Sum:
−25 3993 −160+3993 3833
+ = = .
4 256 256 256
(b) det (−7 A−1 + Adj ( A)).
−1 −5 −1
Use Adj ( A )=det ( A) A =
2
A . Thus
−1 5 −1 −19 −1
−7 A + Adj ( A)=(−7− ) A = A .
2 2
So determinant is
−19 −1
det ( A )=¿
2
(c) det (2 A B−1 A T ).
Use multiplicative property and det ( A T )=det ( A):
−1 T 3 −1 T
det (2 A B A )=2 det ( A)det ( B )det ( A )=8 det ¿
3
Substitute values: det ¿, 1/det ( B)= 4 . So
25 3 75 600 75
8 ⋅ ⋅ =8 ⋅ = = .
4 4 16 16 2
So the three requested determinants are:
3833 6859 75
, , .
256 20 2
16.
Let
1 −2 3
A=( 6 7 −1) .
−3 1 4
(a) Find all minors and cofactors.
For each entry a ijthe minor M ijis the determinant of the 2 ×2
submatrix obtained by deleting row iand column j , and the
cofactor is C ij =¿.
I list them (minor M ijthen cofactor C ij):
7 −1
M 11=det ( )=7 ⋅4−(−1) ⋅1=29 , C 11=+29.
1 4
6 −1
M 12=det ( )=6 ⋅4−(−1)(−3)=24−3=21 ,C 12=−21.
−3 4
6 7
M 13=det ( )=6 ⋅1−7(−3)=6+21=27 ,C 13=+27.
−3 1
−2 3
M 21=det ( )=−2 ⋅4−3 ⋅1=−8−3=−11, C21=−(−11)=11.
1 4
1 3
M 22=det ( )=1⋅ 4−3(−3)=4+ 9=13 , C 22=+13.
−3 4
1 −2
M 23=det ( )=1 ⋅1−(−2)(−3)=1−6=−5 , C23=−(−5)=5.
−3 1
−2 3
M 31=det ( )=−2(−1)−3 ⋅7=2−21=−19 ,C 31=+(−19)=−19.
7 −1
1 3
M 32=det ( )=1(−1)−3 ⋅6=−1−18=−19 , C32=−(−19)=19.
6 −1
1 −2
M 33=det ( )=1 ⋅7−(−2)⋅ 6=7 +12=19 , C33=+19.
6 7
(You can check by cofactor expansion that these are consistent.)
(b) Evaluate det ( A)by cofactor expansion along the 2nd
column.
Using the cofactors above:
det ( A)=a12 C 12+ a22 C 22+ a32 C 32 .
Substitute values a 12=−2 , a22=7 , a32=1and cofactors
C 12=−21 , C 22=13 , C32=19 :
det ( A)=(−2)(−21)+7(13)+1(19)=42+ 91+19=152.
So det ( A)=152.
5. Values of λ and μ
System:
x+ y−z=1
{2 x +3 y + λz=3
x + λy +3 z=2
Coefficient matrix:
1 1 −1 1 1 −1 1
A=[ 2 3 λ ], Augmented [ A ∣ B]=[ 2 3 λ 3 ]
1 λ 3 1 λ 3 2
Compute det ( A):
det ( A)=1(3∗3−λ∗λ)−1(2∗3−λ∗1)+(−1)(2∗λ−3∗1)
Step by step:
1. 2
1(9−λ )=9−λ
2
2. −1(6−λ)=−6+ λ
3. −1(2 λ−3)=−2 λ+3
Sum: (9−λ2 )+(−6+ λ)+(−2 λ +3)=−λ 2−λ+6
2 2
det ( A)=−λ − λ+6=0 ⇒ λ + λ−6=0
Factor: (λ+ 3)( λ−2)=0⇒ λ=−3 or 2
Case analysis:
(iii)
System:
x + y + λz=1
{ x + λy + z= λ
2
λx+ y + z= λ
Coefficient matrix:
1 1 λ
A=[ 1 λ 1 ]
λ 1 1
Compute det ( A):
det ( A)=1(λ∗1−1∗1)−1(1∗1− λ∗λ)+ λ(1∗1−λ∗1)
Step by step:
1. 1(λ−1)=λ−1
2. 2
−1(1−λ )=−1+ λ
2
3. λ (1−λ)=λ− λ
2
(iv)
System:
x + y + z=1
{ x+ 2 y + 4 z=λ
2
x + 4 y +10 z=λ
Coefficient matrix:
1 1 1
A=[ 1 2 4 ]
1 4 10
Compute det ( A)using cofactor expansion:
det ( A)=1(2∗10−4∗4)−1( 1∗10−4∗1)+ 1(1∗4−2∗1)
Step by step:
1. 1(20−16)=4
2. −1(10−4)=−6
3. 1(4−2)=2
Sum: 4−6+2=0
✅ So det ( A)=0→ singular → may have no solution or infinitely
many solutions depending on λ:
Form augmented matrix:
1 1 1 1
[1 2 4 λ]
1 4 10 λ2
Use row reduction:
R2-R1 → [0 ,1 , 3 ∣ λ−1]
R3-R1 → [0 ,3 , 9 ∣ λ2−1]
R3-3*R2 → [0 , 0 ,0 ∣ λ2−1−3(λ−1)]=[0 , 0 , 0 ∣ λ 2−3 λ+2]
Consistency condition: λ 2−3 λ+2=0 ⇒( λ−1)( λ−2)=0
✅ So solution type:
λ Type of solution
1 or 2 Infinitely many solutions
other No solution
2. What can you say about two nonzero vectors, u and v that
satisfy the equation ||u|| + ||v|| = ||u + v||?
Answer:
This equality holds if and only if uand vare parallel and pointing
in the same direction.
Mathematically: v=kufor some k > 0.
✅ Answer: u ⋅v =−6
√∑
n
d (u , v)= ❑∣u i−v i ∣2
i=1
5. If
u=(2+3 i ,1+i , 3+7 i), v =(4−5 i, 3 i,−5+7 i), w=(−7 i, 2+ 4 i, 1)
Find u ⋅v , u ⋅w , etc.
Answer:
Use the complex inner product:
u ⋅v =∑ ❑ ui v́ i
i
a b
3. Let V ={( c 1
):a ,b ,c ∈ R }with standard addition and scalar
multiplication.
Is V a vector space?
Answer:
Check scalar multiplication closure:
a b ka kb
k( )=( )∉V if k ≠ 1
c 1 kc k
❌ Fails closure under scalar multiplication.
✅ Conclusion: Not a vector space.
Is V a vector space?
Answer:
0 0
Check additive identity: Zero matrix (0 0
)∉ V
(ii)
6 −1 0 1 −1 7 1 0
M =( ), A=( ), B=( ), C=( )
−8 −8 2 1 0 2 −1 2
Answer: Solve system →
α =2 , β=1 , γ =3
✅ So: M =2 A+ B+3 C
(iii)
3 1 1 1 0 0 0 2
M =( ), A=( ), B=( ), C=( )
1 −1 1 0 1 1 0 −1
Answer: Solve system →
α =3 , β=0 , γ =−1
✅ So: M =3 A−C
(iii) v=(1 , 2 , 6), v 1=(2 , 1, 0), v 2=(1 ,−1 ,2), v 3=(0 , 3 ,−4)
Answer: v=1 v 1 +2 v 2 +1 v 3
(v) v=(3 , 9 ,−4 ,−2), v 1=(1 ,−2, 0 , 3), v 2=(2 , 3 ,−1 , 0), v 3=(2,−1 ,2 , 1)
Answer: v=1 v 1 +1 v 2+ 0 v 3
Change of Basis
1. Transition matrices
Question:
Bases B={e1 =(1 , 0), e 2=(0 ,1)}, B' ={v 1=(2, 1), v 2=(−3 , 4)}. Find transition
matrices P(from B' to B) and Q (from Bto B' ), and verify P=Q−1.
Answer:
P=¿
Q=¿✅
Verification: PQ=I ,QP=I
1 2
)✅
−1
Q=P =(
1 5
Representation formula holds: ¿
Answer:
Apply T to each Bvector.
Solve coefficients relative to B'.
✅ Result:
¿Rank and Nullity
1. Reduced Row-Echelon Form, Rank, Nullity, and Bases
Question 1:
Find the number of leading 1’s in the reduced row-echelon form
(RREF) of
1 4 5 2
A=( 2 1 3 0 )
−1 3 2 2
Find the number of parameters in the general solution of Ax=0.
Find rank and nullity.
Answer 1:
1. Compute RREF of A:
1 4 5 2 1 0 1 0
( 2 1 3 0 )→( 0 1 1 0 )
−1 3 2 2 0 0 0 1
Leading 1’s: 3
Parameters (free variables): 4−3=1
✅ Rank of A: 3
✅ Nullity of A: 1
2. Bases for row space: Rows of RREF (nonzero rows):
{(1 , 0 ,1 , 0), (0 ,1 , 1 , 0),(0 ,0 , 0 , 1)}
3. Bases for column space: Take columns in original A
corresponding to leading 1’s in RREF (columns 1,2,4):
{¿
Question 2 (ii):
−1 2 0 4 5 −3
3 −7 2 0 1 4
A=( )
2 −5 2 4 6 1
4 −9 2 −4 −4 7
Answer 2 (ii):
Row reduce → rank = 3
Nullity = 6 - 3 = 3
Bases for row space: nonzero rows of RREF
Bases for column space: columns corresponding to leading 1’s in
RREF
Verify rank + nullity = 6 ✅
4. Diagonalizability Condition
Question: When is a matrix diagonalizable?
Answer:
An n × nmatrix Ais diagonalizable if it has n linearly independent
eigenvectors.
Then P−1 AP=D, where Dis diagonal with eigenvalues of A.
5. Cayley-Hamilton Theorem
Statement: Every square matrix satisfies its own characteristic
equation.
Proof Outline:
1. Characteristic polynomial: p(λ)=det ( A−λI ).
2. Replace λ by A: p( A)=0(zero matrix).
✅ This is the Cayley-Hamilton theorem.
7. Cayley-Hamilton Example
Question: Verify CH theorem for
1 2 3
A=( 2 −1 1 )
3 1 1
and find A−1and A−2.
Answer:
1. Characteristic polynomial: p(λ)=det ( A−λI ).
2. Cayley-Hamilton: p( A)=0→ matrix equation.
3. Solve for A−1using A2 +aA +bI =0 ⟹ A−1=.. ..
9. Diagonalization Example
4 6 6
A=( 1 3 2 )
−1 −4 −3
Find eigenvalues/eigenvectors.
Construct Ps.t. P−1 AP=D.
Answer:
Solve det ( A−λI )=0→ eigenvalues.
Solve ( A−λI )v =0→ eigenvectors.
Matrix of eigenvectors = P.
o For 1: 1
o For 2: 1, 2, or 3
✅ Summary
Eigenvalues: 1 , 2, 3
Eigenvectors: v 1=¿, v 2=¿, v 3=¿
A is
diagonalizable
Diagonalization matrix:
0 1 1 1 0 0
P=( 1 −2 −1 ), D=( 0 2 0 )
0 −2 −1 0 0 3