Professional Documents
Culture Documents
Unit5 Diag
Unit5 Diag
DIAGONALIZATION
University of Oviedo
Index
1 Introduction.
1 Introduction.
Remark 5.1
Let T be an endomorphism of V .
To study T , we choose the same basis of V as initial and final space.
Both Ker(T ) and Im(T ) are subspaces of V , so that their sum and
their intersection are meaningful.
T ◦T = T 2 (or, in general, T◦T
| ◦·
p
{z· ·◦T} =T ) is an endomorphism of V .
p times
If M is the matrix associated to T w.r.t. a basis of V , then M p is the
matrix associated to T p with respect to such basis.
Contents
1 Introduction.
Definition 5.1
Let V be a finite-dimensional vector space over a commutative field K, and
T : V → V an endomorphism. Then T is diagonalizable if there exists a
basis of V with respect to which the matrix associated to T is diagonal.
Remark 5.2
Some endomorphisms are not diagonalizable.
Diagonalization
In that case,
e1 ) = d1 e~1 , T (~
T (~ e2 ) = d2 e~2 , . . . , T (~
en ) = dn e~n .
Eigenvalues and eigenvectors
Definition 5.2
Let V be a vector space on a commutative field K, and T : V → V an
endomorphism on V . A vector ~v 6= ~0 is called an eigenvector of T ,
associated to an eigenvalue λ ∈ K of T , if T (~v ) = λ~v .
Theorem 5.1
Let T : V → V be an endomorphism of V , and λ ∈ K an eigenvalue of T .
The set
{~v ∈ V ; T (~v ) = λ~v } = Ker(T − λI )
is a vector subspace of V , called the eigenspace associated to λ and it is
denoted by ST (λ) or simply Sλ or S(λ).
How to diagonalize an endomorphism
3 Find the eigenvalues of T , that are just the roots of the characteristic
equation p(λ) = 0.
4 For each eigenvalue λ ∈ σ(T ),
determine the eigenspace Sλ solving the linear system (A − λI )X = [0];
choose a basis Bλ of the eigenspace Sλ .
5 The union of such bases, ∪λ∈σ(T ) Bλ , defines a basis of V for which
the matrix associated to T is diagonal.
Diagonalizable matrices
Remark 5.3
The definition does not depend on the choice of the endomorphism:
A ∈ Mn (K) is diagonalizable if and only if any endomorphism, with
associated matrix A for some basis, is diagonalizable.
Tipically, when K = R or C, one chooses the endomorphism
T : Kn → Kn whose associated matrix w.r.t. the standard basis is A.
In practice, no endomorphism is needed.
How to diagonalize a matrix
Example 5.1
Let T be the endomorphism of R3 [x] defined by
T (ax 3 + bx 2 + cx + d) = dx 3 + cx 2 + bx + a.
a) Calculate the matrix associated to T w.r.t. the basis {1, x, x 2 , x 3 }.
b) Find a basis for which the matrix associated to T is diagonal, and
compute this matrix.
Example 5.2
Calculate the n-th power of the following matrix:
0 1 1
A= 1 0 1 .
1 1 0
Contents
1 Introduction.
1 ≤ dim ST (λ) ≤ m.
Theorem 5.3
Let T : V → V be an endomorphism of V . Then, T is diagonalizable over
K if and only if there exist λ1 , λ2 , . . . , λp ∈ K such that
(i) p(λ) = (λ1 − λ)n1 (λ2 − λ)n2 · · · (λp − λ)np , and
(ii) dim S(λi ) = ni ∀i = 1, . . . , p.
Remark 5.4
If a polynomial with real coefficients, p ∈ Rn [x], has a complex root λ,
then also λ is a root of p.
Example
Example 5.3
Consider the endomorphism Tα : R3 → R3 whose associated matrix w.r.t.
the standard basis is
2α − 1 0 2α − 2
A= 1 α 2 .
1−α 0 2−α
Example 5.4
Find out if the matrix
0 −1
A=
1 0
is diagonalizable over R or C. Diagonalize it whenever possible.
Example 5.5
Diagonalize the following matrix:
i i
−
A= 2 2 .
i i
2 2
Contents
1 Introduction.
Definition 5.3
A differential equation is any equation containing some unknown
function of one or several variables, as well as some of its derivatives with
respect to such variables.
Example 5.6
The following are differential equations:
dy d 4x d 2x ∂2T ∂2T
= 2y 2 , + 5 + 3x = sin(t), + = 0.
dx dt 4 dt 2 ∂x 2 ∂y 2
Order of a differential equation
Definition 5.4
The order of a differential equation is that of the highest derivative of the
unknown function that appears in the equation. We say that a differential
equation of order n is a nth-order differential equation.
Example 5.7
dy
= 2y 2 is a differential equation of order 1;
dx
d 4x d 2x
4
+ 5 2 + 3x = sin(t) is a fourth-order differential equation;
dt dt
∂2T ∂2T
+ = 0 has order 2.
∂x 2 ∂y 2
Ordinary differential equations
Definition 5.5
If the unknown of a differential equation is a funcion of a single variable,
the differential equation is an ordinary differential equation (ODE). On
the contrary, if the unknown is a function of multiple variables and the
equation involves its partial derivatives, the equation is a partial
differential equation (PDE).
Example 5.8
dy
= 2y 2 ODE;
dx
d 4x d 2x
+ 5 + 3x = sin(t) ODE;
dt 4 dt 2
2
∂ T 2
∂ T
2
+ = 0 PDE.
∂x ∂y 2
Solution of an ODE: examples
Example 5.9
Which of the following functions solve the ODE y 00 (x) − 4y (x) = 0?
Example 5.10
Consider the ODE
y 0 (x) = 2x.
Solve it integrating on both hands of the ODE. Among all the solutions,
select the particular solution whose value at x = 1 is y (1) = 7.
Linear ordinary differential equations
Definition 5.6
An ordinary differential equation of order n is linear if it is of the form
d ny d n−1 y dy
a0 (x) n
+ a 1 (x) n−1
+ · · · + an−1 (x) + an (x)y = F (x),
dx dx dx
being F (x) and ai (x) (i = 0, 1, . . . , n) given real-valued functions, and a0
not identically zero.
Example 5.11
dy
= 2y 2 is not linear,
dx
d 4x d 2x
+ 5 + 3x = sin(t) is linear.
dt 4 dt 2
System of first-order linear ordinary differential equations
Definition 5.7
A system of first-order linear ordinary differential equations consists
of n first-order linear ODEs that relate n unknown functions y1 (x), y2 (x),
. . . , yn (x) as follows:
0
y (x) = a11 (x) y1 (x) + a12 (x) y2 (x) + · · · + a1n (x) yn (x) + f1 (x)
10
y2 (x) = a21 (x) y1 (x) + a22 (x) y2 (x) + · · · + a2n (x) yn (x) + f2 (x)
(1)
...
0
yn (x) = an1 (x) y1 (x) + an2 (x) y2 (x) + · · · + ann (x) yn (x) + fn (x)
Remark 5.5
Every function involved in (1) is a real-valued function of a real variable.
Matrix form
Denote
y1 (x) f1 (x) a11 (x) a12 (x) · · · a1n (x)
y2 (x) f2 (x) a21 (x) a22 (x) · · · a2n (x)
Y = ,F = ,A = .
.. .. .. .. .. ..
. . . . . .
yn (x) fn (x) an1 (x) an2 (x) · · · ann (x)
Example 5.12
y10 = xy1 − xy2 − x + 1
The system can be rewritten as
y20 = y1 − y2
0 x −x −x + 1
Y = Y+ .
1 −1 0
x +1
A solution of the system is Φ(x) = .
x
Initial value problem
Definition 5.9
An initial value problem (or Cauchy problem) is an ODE together with a
specified value (called the initial condition) of the unknown function at a
given point: 0
Y = A(x)Y + F (x),
Y (x0 ) = c.
Example 5.13
x +1
We have already seen that Φ(x) = is a solution of the system
x
x −x −x + 1
Y 0 (x) = Y (x) + .
1 −1 0
2
Since Φ(1) = , we deduce that Φ is the unique solution of the
1
initial value problem
0 x −x −x + 1
Y (x) = Y (x) + ,
1 −1 0
2
Y (1) = .
1
Homogeneous system
Definition 5.10
A system of first-order linear ODEs is called homogeneous if it can be
written in matrix form as
Y 0 = A(x)Y .
General solution:
The general solution of a non-homogeneous system
Y 0 = A(x)Y + F (x)
Theorem 5.5
The solution set in I of a linear homogeneous system Y 0 = A(x) Y is a
vector space over R with dimension n.
Fundamental set of solutions
Definition 5.11
Let {Φ1 , Φ2 , . . . , Φn } be a basis of the solution set in I of the
homogeneous system
Y 0 = A(x)Y .
Then {Φ1 , Φ2 , . . . , Φn } is called fundamental set of solutions of the
system in I .
Particular case:
Functions aij (x) are constant.
Remark 5.6
Since constant functions are continuous in any interval I ⊆ R, all that we
have studied until now applies.
Simplification:
We assume that the matrix A is diagonalizable over C.
Case 1: real eigenvalues
Theorem 5.6
Let {~v1 , ~v2 , . . . ~vn } be a set of linearly independent eigenvectors of A
associated to the real eigenvalues λ1 , λ2 , . . . , λn , respectively. Then,
n o
~v1 e λ1 x , ~v2 e λ2 x , . . . , ~vn e λn x
Example 5.14
Solve the following system:
0
y1 = y1 + y2 − y3 ,
y 0 = −y1 − y2 + y3 ,
20
y3 = 2y1 + 2y2 − 2y3 .
Case 2: a complex eigenvalue
Theorem 5.7
~ is an eigenvector associated to λ.
λ is an eigenvalue of A and w
Lemma 5.1
The complex-valued vector functions Φ(x) = e λx w
~ and Φ(x) = e λx w
~ are
0
solutions of the system Y = A Y in R.
Lemma 5.2
Denoting as before Φ(x) = e λx w
~ , the real-valued vector functions
Re(Φ(x)) and Im(Φ(x)) are solutions of Y 0 = A Y in R.
Case 2: a complex eigenvalue
Given A ∈ Mn (R), let ~v1 , ~v2 , . . . , ~vk , ~vk+1 , . . . , ~vn be linearly independent
|{z} |{z}
~
w ~
w
eigenvectors associated to the eigenvalues λ1 , λ2 , . . . , λk , λk+1 , . . . , λn .
|{z} | {z }
a+bi a−bi
Then
{e λ1 x ~v1 , e λ2 x ~v2 , . . . , e (a+bi)x w ~ , . . . , e λn x ~vn }
~ , e (a−bi)x w
is a fundamental set of complex-valued solutions of Y 0 = A Y , and
Remark 5.7
When there are more than two complex eigenvalues, we proceed as before
for each couple of complex eigenvalues (λk , λk ) to obtain a fundamental
set of real-valued solutions.
Example
Example 5.15
Solve the following system of linear ODEs:
0
y = −y1 + y2 − y3 ,
1
y20 = y3 ,
0
y3 = y1 − y2 + y3 .