Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

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.

Example 5.1.1

Solve the system of equations

4x+y+3z=2x2y5z=35x+2z=1.

Solution

We write this system as the matrix equation

Ax=b

where

A=(413125502)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=A1b.

Using a calculator we find that

A1=113(427102751239).

Multiplying by b gives

x=(142).

What we mean by "x" is the vector <x,y,z>. The solution is

x=1y=4z=2.

Example 5.1.2

Find the solution of

3x+2yz=52x+yz=25x+4yz=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

(3215211254111)

to get

(101101140000).

Putting this back into equation form, we get

xz=1andy+z=4.

We write this as

x=1+zy=4zz=z.

Letting z=t be the parameter we get parametric equations for the solution set

x=1+ty=4tz=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.

Example 5.1.3

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(101432253)=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

Example 5.1.4

Find the eigenvalues and eigenvectors for

A=(6431).

Solution

If

Av=λv

then

Aλ=0

Taking determinants of both sides, we get

(6λ)(1λ)+12=0λ25λ+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=(4433)

The first row gives

y=x

so that an eigenvector corresponding to the eigenvalue λ=2 is

v2=(11).

For the eigenvalue λ=3, we have

AλI=(3434).

The first row gives

3y=4x

so that an eigenvector corresponding to the eigenvalue λ=3 is

v3=(34).

Typically, we want to normalize the eigenvectors, that is find unit eigenvectors. We get

u2=(1212)andu3=(3545).

Contributors and Attributions


5.1: Review of Linear Algebra is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

Support Center

How can we help?