5.1: Review of Linear Algebra
( \newcommand{\kernel}{\mathrm{null}\,}\)
In this discussion, we expect some familiarity with matrices. We will rely heavily on calculators and computers to work out the problems. Consider some examples.
Solve the system of equations
4x+y+3z=2x−2y−5z=35x+2z=1.
Solution
We write this system as the matrix equation
Ax=b
where
A=(4131−2−5502)b=(231).
To solve this matrix equation we take the inverse of both sides (which is possible since the determinant of A is -13 which is not equal to zero. We have
x=A−1b.
Using a calculator we find that
A−1=113(427−1027−5−1−239).
Multiplying by b gives
x=(14−2).
What we mean by "x" is the vector <x,y,z>. The solution is
x=1y=4z=−2.
Find the solution of
3x+2y−z=52x+y−z=25x+4y−z=11.
Solution
A quick check shows that we cannot solve this problem in the same way, since the determinant of A is 0. Instead, we rref the augmented matrix
(32−1521−1254−111)
to get
(10−1−101140000).
Putting this back into equation form, we get
x−z=−1andy+z=4.
We write this as
x=−1+zy=4−zz=z.
Letting z=t be the parameter we get parametric equations for the solution set
x=−1+ty=4−tz=t.
Recall that vectors v1,...,vn are called linearly independent if
c1v1+...+cnvn=0
implies that all of the constants ci are zero. A theorem from linear algebra tell us that if we have n vectors in Rn then they will be linearly independent if and only if the determinant of the matrix whose columns are these vectors has nonzero determinant.
Show that the vectors
u=<1,4,−2>v=<0,3,5>andw=<1,2,3>
are linearly independent.
Solution
We find the determinant
det(101432−253)=25.
Since the determinant is nonzero, the vectors are linearly independent.
For systems of differential equations, eigenvalues and eigenvectors play a crucial role. We recall their definitions below.
Definition: Eigenvalues and Eigenvectors
Let A be an n×n matrix. Then λ is an eigenvalue for A with eigenvector v if
Av=λv
Find the eigenvalues and eigenvectors for
A=(64−3−1).
Solution
If
Av=λv
then
A−λ=0
Taking determinants of both sides, we get
(6−λ)(−1−λ)+12=0λ2−5λ+6=0(λ−2)(λ−3)=0
The eigenvalues are
λ=2andλ=3
To find the eigenvectors, we plug the eigenvalues into the equation
A−λ=0
and find the null space of the left hand side. For the eigenvalue λ=2, we have
A−λI=(44−3−3)
The first row gives
y=−x
so that an eigenvector corresponding to the eigenvalue λ=2 is
v2=(1−1).
For the eigenvalue λ=3, we have
A−λI=(34−3−4).
The first row gives
3y=−4x
so that an eigenvector corresponding to the eigenvalue λ=3 is
v3=(3−4).
Typically, we want to normalize the eigenvectors, that is find unit eigenvectors. We get
u2=(1√2−1√2)andu3=(35−−45).
Contributors and Attributions
- Larry Green (Lake Tahoe Community College)