Linear Algebra and Differential Equations The Vector Space R
Linear Algebra and Differential Equations The Vector Space R
Lecture 9
The Vector Space R2
1 / 19
Cramers rule
Before we consider R2 we need to examine one more way of solving linear
equations. We have seen how to solve
Ax = b
x = A1 b =
1
adj(A)b
det(A)
x1
b1 A11 + b2 A21 + b3 A31
1
x2 ==
b1 A12 + b2 A22 + b3 A32
det(A)
x3
b1 A13 + b2 A23 + b3 A33
We note that the the expressions on the right hand side of the equation
are expansions of determinants
2 / 19
a11 a12 b1
1
a21 a22 b2
x3 =
det(A)
a31 a32 b3
The solution to the system of equations is given dividing the determinant
of the matrix obtained from the original matrix by replacing the column
associated with the variable you are trying to find by the constant vector
by the determinant of the original matrix
This is known as Cramers rule.
3 / 19
An example
Solve the system
x1 + 3x2 + x3 = 5
3x1 + 4x2 + 5x3 = 3
x1 + 4x2 + 2x3 = 3
The determinant of the coefficient matrix is
det = 1(4(2) 5(4)) 3(3(2) 5(1)) + 1(3(4) 4(1)) = 7
then
5 3 1
1
x1 = 3 4 5
7
3 4 2
1 5 1
1
x2 = 3 3 5
7
1 3 2
x1 = 3
x2 = 2
1 3 5
1
x3 = 3 4 3
7
1 4 3
x3 = 4
4 / 19
R2
Before we proceed with the general theory of vector spaces, we will
examine vectors in the plane.
5 / 19
6 / 19
Associativity
When adding three vectors it doesnt matter which pair you add first
a + (b + c) = (a + b) + c
(2)
7 / 19
Idinverseentity and
If 0 represents the vector with zero length then
a+0=a
(3)
Inverse
If a represents the vector with the same length as a but has the opposite
direction
a + (a) = 0
(4)
8 / 19
Scalar multiplication
(5)
( + )a = a + a
(6)
9 / 19
The isomorphism
If we introduce the usual cartesian coordinate system each vector can be
associated with the point in the plane where the head is when the tail is
placed at the origin.
The set of points in the plane is called R R or R2 , since the point is
prescribed by two real numbers.
If the vector us head is at the point (u1 , u2 ) then the vector can be
related to the 2 1 matrix
u1
u
u2
u1 and u2 are called the components of the vector.
This identification is called an isomorphism. The addition and scalar
multiplication of vectors are mirrored by the addition and scalar
multiplication of 2 1 matrices.
Linear Algebra and Differential EquationsLecture 9The VectorJune
Space
27,R22016
10 / 19
11 / 19
+
=
=
=
u2
v2
u2 + v2
u2 v2
0
As we have seen this has only trivial solutions if the inverse matrix exists
u1 v1
u2 v2 = u1 v2 u2 v1 6= 0
If the vectors are not linearly independent they are linearly dependent. In
the plane this implies the vectors are proportional and
u1 v1
u2 v2 = u1 v2 u2 v1 = 0
Linear Algebra and Differential EquationsLecture 9The VectorJune
Space
27,R22016
12 / 19
1
0
e2 =
0
1
13 / 19
b1 =
b11
b21
1 = 2 = 0
b2 =
b12
b22
14 / 19
1
2
=
b11 b21
b12 b22
1
v1
v2
15 / 19
An example
For
b1 =
5
2
b2 =
6
3
=3
so it is a basis
Linear Algebra and Differential EquationsLecture 9The VectorJune
Space
27,R22016
16 / 19
(b)
1
2
3
6
=
5 6
2 3
1
2
1
3 6
3
=
6
3 2 5
15
=
12
5
2
+ 12
6
3
=
3
6
as it should be.
17 / 19
Subspaces
A subspace of a vector space is a subset of the vector space which is also a
vector space. Since it inherits all the vector properties from R2 the only
thing that can go wrong is yjat linear combinations are no longer in the
subspace.
For example the subspace x > 0 isnt a subspace of R2 since if v is in the
subspace, v isnt
Straight lines that dont contain the origin are also not subspaces if
y = mx + b then vectors in the subset have the form
u1
v1
u=
v=
mu1 + b
mv1 + b
u+v =
u1 + v1
m(u1 + v1 ) + 2b
18 / 19
au1 + bv1
m(au1 + bv1 )
19 / 19