






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Solution of Matrix Equations, Fundamental subspaced of matrix, Least square solution, eigenvector and eigenvalues, Singular Value Decomposition
Typology: Study notes
1 / 12
This page cannot be seen from the preview
Don't miss anything!







Tom Hynes
Aims
To introduce the ideas and techniques of Linear Algebra, and illustrate some applications to Engineering.
Syllabus
Text book
Gilbert Strang, Linear Algebra and its Applications, Harcourt Brace Jovanich 3rd edition,1988. EC 62
Examples Papers
7/7 was issued 25th^ February. 7/8 will be issued 11th^ March.
Notes
These handouts contain some gaps to be filled in as the lectures progress. Completed versions (pdf’s with the missing stuff in red) will eventually appear on my website which can be accessed directly
http://www.eng.cam.ac.uk/~tph
or through a link from the teaching page which contains the syllabus, etc.
Many problems in engineering involve linear equations. The most recent example you have met is probably in structures, involving a statically indeterminate truss. (a) The equilibrium matrix relates the forces in the members to the applied external forces.
A t = f
Cases like this were analysed in the Structures Course, where A was shown to be:
I^ E
II E III
IV F V
VI (^) F
x
y
x
y
t^ f
t f t t f t
t (^) f W
The static indeterminacy shows up in the fact that we have 4 equations for 6 unknowns , indicating probably 2 redundant members.
(b) The extensions in all of the members must be compatible with the displacements. Written in matrix form, this introduces the compatibility matrix C , C d = e
x
y
l l l
l
E.g. joint E R^ →^ f^ x +^ t^ −^ t = tIV
tV
tI
f E
E.g. bar VI
dFx
d F
dFy VI Fx Fy
e = − d − d
N.B. Error on handout
Q4 What set of nodal displacements produce zero extensions in the bars?
i.e. How do we find/describe the set of d , for which there is a solution to C d = 0?
Again for consistency with Q2, we should call this the Null Space of C , but since C = A T , we
prefer to call it the Left Null Space of A.
C d = 0 A T^ d = 0 d TA = 0 (taking the transpose).
These correspond, for this application, to mechanisms.
A similar set of questions tends to crop up in applications of matrix methods to other branches of engineering. The first part of this course, then, is devoted to the general solution of A x = b , and methods to find the four sets of vectors which answer these four questions. i.e. to find the column space, the null space, the row space and the left-null space of the matrix A.
Geometrical interpretation is a great help when considering how to solve systems of equations, which in 3 dimensions are planes, lines, etc. In this section, we will try and extend the ideas of lines and planes to dimensions higher than 3.
Considered as a mapping, the 4 × 6 matrix A above maps a 6-dimensional vector into a 4- dimensional one
I II E III E IV F V F VI
x y x y
t t f t f t f t f t
I E (^) II E (^) III F IV F V VI
x y x y
e d (^) e d (^) e d e d e e
In general, an m × n matrix A , transforms an n -dimensional vector x into a corresponding m - dimensional vector b. A x = b
As we move to dimensions higher than 3, most of the familiar vector properties generalise, and only a few do not.
b
n
m x n m
m × n
columns rows
n components (^) m components
4 dimensions
(i) We still have 4 independent unit vectors along the “axis” directions
e 1 =
, e (^) 2 =
, e 3 =
and e 4 =
(ii) Any vector has 4 components x = x e 1 1 (^) + x e 2 2 (^) + x e 3 3 (^) + x e (^44)
(iii) Length is
2 2 2 2 x = x 1 (^) + x 2 (^) + x 3 (^) + x 4
(iv) Dot product survives
x y. = x y 1 1 (^) + x y 2 2 (^) + x y 3 3 (^) + x y 4 4 = x T y =
[ 1 2 3 4 ] (^1) 2 3 4
x x x x y y y y
We can think of this as defining an angle between two vectors cos
x y x y
, and if we do so
x ⊥ y ⇔ x y. = 0
As in 3-d T 2 x = x x. = x x
(v) All of this is compatible with the corresponding definitions in 3-d, and we still have
x e. (^) 1 = x 1 e 1. e 1 = 1 e 1. e 2 = 0 , etc.
with the angle between e 1 and e 2 being 90°, etc.
(vi) An example of something which doesn’t generalise is cross product x × y. We could try using
x y sin θ n^ ˆ, but we come unstuck with n ˆ since, in four dimensions, there are two unit vectors
perpendicular to x and y.
(vii) We can replace 4 by m or n in the above with obvious generalisations.
x = x e 1 1 (^) + x e 2 2 (^) + ... + x en (^) n
The n -dimensional “world” is referred to as n. We live in ^3. An m × n matrix A maps n^ to
m^. n real co-ordinates
2.2 The Column Picture for Simultaneous Equations.
Let us stay in ^3 for the present and consider the problem of solving 3 equations in 3 unknowns.
x + 3 y − z = 11 3 x − 2 y − z = 7 − x + y + 4 z = − 9
The solution of which can be shown to be x = 3 y = 2 z = − 2
This problem can be written in vector form as
x y z
and the vectors on the left hand side are, as expected, the columns of the matrix A.
The problem then is to find which linear combination of the columns on the LHS will give the vector on the RHS. We will refer to this as column visualization or as the column picture.
In this case
1 3 1 11 3 3 2 2 2 1 7 1 1 4 9
If the vectors which are the columns of A are independent (or rather linearly independent ), i.e. you can not express one as a linear combination of the other two, then any vector can be written as a linear combination of them (in a unique way). So the equations are guaranteed to have a (unique) solution for any RHS b.
When might the equations not have a solution?
If the matrix A is singular , then the columns of A are not independent as is the case for the following set
x y z
A x = b^ A
a 1
b
a 2
a 3
b
1 2 3
Using can get anywhere on a plane Using can always get onto that plane
a a a
i.e. xa 1 + y a 2 (^) + z a 3 = b
This has the third column lying in the plane spanned by the first two (see below).
A x = xa 1 (^) + ya (^) 2 + za 3 (^) = xa 1 (^) + ya 2 (^) + z (^) ( α a 1 (^) + β a (^) 2 ) = (^) ( x + z α (^) ) a 1 (^) + (^) ( y + z β) a 2
If b does not also lie in this plane, then there is no solution.
If b does lie in this plane, then there is an infinite number of solutions.
When we are dealing with 3 × 3 matrices, we know how to determine whether the columns of a matrix are independent and, if so, whether a given vector can be written in terms of them, although the methods we know are laborious. For the matrix referred to above:
(i) If we write the equations in the form A x = b , then
This means that A is singular (has no inverse).
(ii) The columns of A can not, therefore, be independent. To prove the columns are not independent, we write the third one as a linear combination of the first two.
Put
The first two equations give
also be a combination of the first two columns of A :-
a 1
b No solution
a 2
a 3
b (^) ∞ solutions a 1
a 3
a 2
1 2 2 3 or any linear combination
b a a a a
λ μ λ μ
m^ is itself a vector space and “smaller” ones within it are said to be sub-spaces of m.
For example: The non-trivial sub-spaces of ^3 are
(a) x