Professional Documents
Culture Documents
Lecture 3 LinAlg
Lecture 3 LinAlg
0 0 0 ··· 0 □
In the other cases, namely more equations than variables or the same
number of equations and variables, all three cases are possible.
ℓ1 : {tu : t ∈ R}
u
x1
Example
In R2 , take u = ( 32 , 21 ) and v = (−2, 1).
x2
ℓ2 : {v + tu : t ∈ R}
v ℓ1 : {tu : t ∈ R}
u
x1
Definition
A system of linear equations is said to be nonhomogeneous if it can be
written in the form Ax = b, where A is an m × n matrix and b ∈ Rm .
2.0
1.5
1.0
0.5
-4 -2 2 4
- 0.5
- 1.0
α1 v1 + α2 v2 + · · · + αk vk = 0. (†)
x1 v1 + x2 v2 = 0 (∗)
has more solutions than the trivial solution. This means that at least one
of x1 and x2 is not 0. Suppose x1 ̸= 0. Then we have
x2
v1 = − v2 .
x1
If v1 , v2 are linearly independent, then x1 = x2 = 0 is the only solution to
(∗) and we cannot write either vector as a multiple of the other.
Proof. If k > n, then the number of variables is more than the number of
equations in the system
x1 v1 + x2 v2 + · · · + xk vk = 0. (∗)
From our discussion at the beginning, we know that this system cannot
have exactly one solution. Moreover, the system is homogeneous, so it has
at least one solution. We conclude that it has infinitely many solutions,
which means that there are nonzero xj , 1 ≤ j ≤ k, which means that the
vectors v1 , . . . , vk are linearly dependent. □
Example
2 0 −5
Let 1 , 0 , 8 be vectors in R3 . Are they linearly dependent
5 0 1
or independent?
Answer: Since one of the vectors is the zero vector, the vectors are
linearly dependent.
homogeneous systems, linear dependence Lecture 3 24 / 30
Simple examples
Example
The vectors e1 = (1, 0, 0), e2 = (0, 1, 0), e3 = (0, 0, 1) are linearly
independent, since the equation x1 e1 + x2 e2 + x3 e3 = 0 has augmented
matrix
1 0 0 0
0 1 0 0 ,
0 0 1 0
which means that x1 = x2 = x3 = 0 is the unique solution.
e1 = (1, 0, 0, . . . , 0, 0)
e2 = (0, 1, 0, . . . , 0, 0)
..
.
en = (0, 0, 0, . . . , 0, 1).
α1 v1 + · · · + αn vn = u (⋄)
Proof. Let us first show that (⋄) has at least one solution for any vector u.
If for a vector u we have that (⋄) does not have a solution, then u cannot
be written as a linear combination of v1 , . . . , vn . In that case the collection
{v1 , . . . , vn , u} is linearly independent. However, this collection has n + 1
vectors, so it cannot be linearly independent by the theorem from four
slides ago.
x1 v1 + · · · + xn vn = u (⋄)
Proof. (continued) To prove that (⋄) has a unique solution for any u,
suppose (α1 , . . . , αn ) and (β1 , . . . , βn ) are two solutions of (⋄). Then
0 = u − u = (α1 v1 + · · · + αn vn ) − (β1 v1 + · · · + βn vn )
= (α1 − β1 )v1 + · · · + (αn − βn )vn .
and again by row reduction we find (x1 , x2 , x3 ) = (6, −2, 1). This gives
u = 6v1 − 2v2 + v3 .