4) Linear Maps And Vector Subspaces Flashcards
Matrix multiplication
L_A( r_1,…,r_n)
n n
( Σ a_1j •r_j,…, Σ a_mj•r_j)
j=1 j=1
WHEN IS A MAP
A LINEAR MAP
A map L: R^p -> R^q is linear if
For all vectors r and r’ ∈ R^p and t∈R:
1) L(r + r’) = L(r) + L(r’)
2) L(tr) = tL(r)
Every linear map by matrix, bijective
q * p
Proposition: linear map and matrix
If A LINEAR map L: R^p -> R^q
THEN equal to a unique q x p matrix
Standard basis -> columns of linear map
Proof:
Any vector expressed in R^p in terms of a standard basis, since linear map properties of addition of L(e_i), which each in R^q, written as standard basis for R^q regrouped shows matrix multiplication
Proposition of composition of linear map
If A,B are matrices and the product AB is defined, L_AB = L_A • L_B
Composition
Directional derivative and linear maps
And dot products?
Directional derivative of F at (u,v) in the direction (a,b)
For x=F(u,v) a smooth real valued function, D(F)(u,v) = [partial derive x wrt u, partial deriv x wrt v] row matrix
So it’s a linear map as represented by matrix
D(F)(u,v) = dot product of (a,b) • gradient =
a (partial F wrt u) + b (partial F wrt v)
Directional deriv dot product of vector with grad f
Generally unit vector
E.g. Cos theta sin theta
Def of grad
Gradient of F ,
Nabla F = grad F
= ( ∂F/ ∂u_1,…, ∂F/∂u_p) ∈ R^p
Where x= F(u_1,…, u_p) is a smooth function of p variables
Definition: vector subspace
Let V be a subset of R^p. Then V us a vector subspace of R^p if:
1) (0 vector) ∈V (always through 0)
2) if vectors r,r’∈V then vector r+r’ ∈V
3) if vector r ∈V and t ∈R, vector tr∈V
Subspaces arise
Trivial subsets {0vector} and R^p are Subspaces of R
R^2: straight lines through origin
ax+by =0 where a^2 + b^2 not equal to 0,
V ={tvector(r) : t∈R}
R^3: straight lines and planes through origin
Planes can be written ax+by+cx=0
Where a^2+ b^2+c^2 not equal to
As linear combo of linearly independent
V= {sr+tr’ : s,t∈R}
Indep i.e. sr+tr’=vector(0) only for (0,0)
In R^3 lines through the origin can be written as {tr : t∈R} for non zero vector r and described by two linear equations ax+by+cx=0 and a’x+b’y+c’z=0 which don’t coincide and intersection -» line
Given an equation for a plane: finding subspace representing
Eg find two linearly independent vectors in the plane by inspection ( cross product doesn’t equal 0)
V as linear combo
Or a line is:
V ={tr : t∈R}
For a subspace with zero vector
V of R^p. With r_1,…r_n ∈ V,
Known such that V= linear combo of those n vectors
If 0 vector ∈ {r_1,…,r_n} are linearly dependent!!!
Two non-zero vectors r,r’ in R^p are linearly dependent if and only if each a scalar multiple of each other
Unique way of writing a vector in a subspace with vectors r_1,…,r_n
When linearly independent
Proposition: let r_1,…,r_n ∈ R^p be linearly independent. Suppose that t_1,…,t_n & t’_1,…,t’_n are scalars such that
t_1r_1 + …+t_nr_n = t’_1r_1 + …+t’_nr_n
Implies t_1=t’_1,… t_n=t’_n
Proof:
If linearly independent then only equal zero when (t_1 -t’_1) =0 i.e. Equal
Definition: spanning set for V
For V subspace of R^p. Then a subset {r_1,…,r_n} of elements of V. Spans V (a spanning set) if every element vector(v) in V can be linear combo
Vector(v) =t_1r_1 + …+t_nr_n for t_1,…,t_n in R
r_1,…,r_n form a basis for V if spanning set spans V and they are linearly independent
Theorem: for V a vector subspace
Spanning set , basis
Theorem for dims
Theorem: Let V be a vector subspace of R^p:
1) given linearly independent vectors r_1,…,r_k in V there are FINITELY MANY FURTHER r_(k+1),…,r_n st they form a basis
2) Given a spanning set r_1,…,r_m there is a finite subset r_1,…,r_p that is a basis for V
3) Every basis for V has same dimension and elements
Dim of R^p is p
dim of {0 vector} is 0 and basis is the empty set
Standard basis spans R^p and is linearly independent
FINDING A BASIS
R^2: (a,b) not equal to 0, on its own linearly independent to (-b,a)
For example: (a,b) (-b,a) basis
R^3: suppose given 2 check linearly independent by cross then basis is r,r’, r x r’
Finding a basis for a line
For au+be=0 a line a^2 + b^2 not equal to 0 be a line through the origin in R^2
V ={(u,v) : au+bv=0}
Clearly (-b,a) in V
For any (u,v) in V
(u,v)• (a,b) =0
Perpendicular so scalar multiple of (-b,a) i.e. (u,v) =t(-b,a) for t in R
(-b,a) spans V and it’s a basis
As a line au+bv=0 is a line in direction (-b,a)