UNIT 1
UNIT 1
A vector space is the collection of objects, called vectors on which we have two operations;
vector addition and scalar multiplication
Example 1
Example 2
𝑃3 = {𝑎0 + 𝑎1 𝑥 + 𝑎2 𝑥 2 + 𝑎3 𝑥 3 ; 𝑎𝑖 ∈ ℝ}
Example 3
𝑎0 , 𝑎1 , 𝑎2 , 𝑎3 …
Example 4
PHY 7101: METHODS OF MATHEMATICAL PHYSICS
A real-valued function of a real variable is a mapping of a subset of the set R of all real
numbers into R. For example, a function f(n) = 2n, n = 0, ±1, ±2, …, is a mapping of the set R' of
all integers into R', or more precisely a one-to-one mapping of R' onto the set R″ of all even
numbers, which shows R' ∼ R″
Subspace
Observation
Every subspace satisfies all the rules of a vector space. So every subspace is a vector space
Zero subspace
The set H={0} is a subspace of any vector space. This is the trivial subspace
Example 1
Determine subspace
𝑐1
𝐻 = {[ 0 ]: 𝑐1 , 𝑐2 ∈ ℝ3 }
𝑐2
Hence H is a subspace
Example 2
Determine subspace
𝑐1
𝐻 = {[ 4 ]: 𝑐1 ∈ ℝ}
−𝑐1
Example 3
Determine subspace
7𝑐1
𝐻 = {[ 4𝑐1 ]: 𝑐1 ∈ ℝ}
−2𝑐1
Hence H is a subspace
Example 4
Determine subspace
𝑐1
𝐻 = {[𝑐 ]: 𝑐1 ∈ ℝ}
2
PHY 7101: METHODS OF MATHEMATICAL PHYSICS
Example 5
Determine subspace
𝐻 = {𝑎0 + 𝑎2 𝑥 2 : 𝑎0 , 𝑎2 ∈ ℝ}
Example 6
Determine subspace
𝐻 = {6 + 𝑎0 𝑥: 𝑎0 , 𝑎2 ∈ ℝ}
Example 7
Determine subspace
𝐻 = {𝑝(𝑥): 𝑝(7) = 0}
𝐻 = {𝑝(𝑥): 𝑝(7) = 0}
𝑝(𝑥) = 𝑥 2 − 49
𝑝(𝑥) = 2𝑥 − 14
Not in H 𝑝(𝑥) = 𝑥 − 4
Example
Determine subspace
Is the following set ofa subspace of the set of all function defined in ℝ
Example
Determine subspace
Is the following set ofa subspace of the set of all function defined in ℝ
𝐻 = {𝑓(𝑥): 𝑓(−3) = 0}
Hence H is a subspace
Linear combination
A linear combination of a vector refers to any sum of scalar multiples of the vectors
PHY 7101: METHODS OF MATHEMATICAL PHYSICS
𝑐1 𝑣1 + 𝑐2 𝑣2 + 𝑐3 𝑣3
Span of a set
The span of a set of vectors {𝑣1 , 𝑣2 , 𝑣3 , … 𝑣𝑝 } is the set of all linear combinations of those vectors
Span is a subspace
Example
𝑠𝑝𝑎𝑛{2𝑥 + 1, 3𝑥 + 4}
3𝑥 2 + 2 = 𝑐1 (2𝑥 + 1) + 𝑐2 (3𝑥 + 4)
The left hand side is quadratic, the right hand side is linear so 3𝑥 2 + 2 is not linear combination
so not in the span
Example
3𝑥 2 − 4𝑥 + 2 = 𝑐1 (𝑥 2 + 1) + 𝑐2 (3𝑥 − 1)
3𝑥 2 − 4𝑥 + 2 = 𝑐1 𝑥 2 + +3𝑐2 𝑥 + 𝑐1 − 𝑐2
𝑐1 = 3
3𝑥 2 − 4𝑥 + 2 = 3 × 𝑥 2 + 3𝑐2 𝑥 + 3 − 𝑐2
−4𝑥 + 2 = 3𝑐2 𝑥 + 3 − 𝑐2
−4
𝑐2 =
3
PHY 7101: METHODS OF MATHEMATICAL PHYSICS
−4 −4
−4𝑥 + 2 = 3 × 𝑥+3−
3 3
13
−4𝑥 + 2 = −4𝑥 +
3
13
2=
3
False
So 3𝑥 2 − 4𝑥 + 2 is not in span
Question
Linearly independent
𝑐1 𝑣1 + 𝑐2 𝑣2 + ⋯ 𝑐𝑝 𝑣𝑝 = 0
Linearly dependent
A set of vectors {𝑣1 , 𝑣2 , 𝑣3 , … 𝑣𝑝 } in a vector space V is linearly dependent if one vector can be
written as alinear combination of others.
𝑐2 𝑣2 + ⋯ 𝑐𝑝 𝑣𝑝 = −𝑐1 𝑣1
Determine independence/dependence
Example
Determine whether the following vectors are linearly independent or linearly dependent in ℝ3
PHY 7101: METHODS OF MATHEMATICAL PHYSICS
2 −1 1
𝑣1 = [3] 𝑣2 = [ 0 ] 𝑣3 = [ 6 ]
1 −2 −4
Solution
2 −1 1 𝑐1 0
[3 0 6 ] [𝑐2 ] = [0]
1 −2 −4 𝑐3 0
Has nontrivial solution there fore the vectors are linearly dependent
Example
Determine whether the following vectors are linearly independent or linearly dependent in 𝑃2
𝑣1 = 3, 𝑣2 = 4𝑥 − 2 , 𝑣3 = 𝑥 2 − 3𝑥 + 1
Solution
𝑣1 = 3, 𝑣2 = 4𝑥 − 2 , 𝑣3 = 𝑥 2 − 3𝑥 + 1
𝑐1 𝑣1 + 𝑐2 𝑣2 + 𝑐3 𝑣3 = 0
𝑐1 (3) + 𝑐2 (4𝑥 − 2 ) + 𝑐3 (𝑥 2 − 3𝑥 + 1) = 0
𝑐3 = 0
4𝑐2 − 3𝑐3 = 0 → 𝑐2 = 0
3𝑐1 + −2𝑐2 + 𝑐3 = 0 → 𝑐1 = 0
Question
PHY 7101: METHODS OF MATHEMATICAL PHYSICS
Determine whether the following vectors are linearly independent or linearly dependent in 𝑃2
𝑣1 = 𝑥 2 + 𝑥, 𝑣2 = 4𝑥 − 2 , 𝑣3 = 𝑥 2 − 3𝑥
Basis
Basis for ℝ𝒏
(i) The columns of the identity matrix form one basis for ℝ𝑛
(ii) The columns of × matrix are a basis if and only if the matrix row reduces to identiy
(iii) The columns of 𝑛 × 𝑛 matrix are basis if and only if the matrix is invertible
Basis for 𝑷𝒏
(i) The set {1, 𝑥, 𝑥 2 , … 𝑥 2 } is the basis for 𝑝𝑛 . This is the standard basis for 𝑝𝑛
(ii) Any set 𝑛 + 1 linearly independent polynomials form a basis for 𝑝𝑛
Example
3 −2
𝑣1 = [−2] 𝑣2 = [ 1 ]
4 1
It can not form basis because even putting the matrix together you can not get the square matrix.
Example
2 5 1
𝑣1 = [4] 𝑣2 = [6] 𝑣3 = [−1]
1 7 3
PHY 7101: METHODS OF MATHEMATICAL PHYSICS
Solution
2 5 1 1 0 0
𝑟𝑟𝑒𝑓 [4 6 −1] = [0 1 0]
1 7 3 0 0 1
Example
Solution
1,2𝑥 + 3, 𝑥 2 − 4𝑥 + 5
𝑐3 = 0
2𝑐2 − 4𝑐3 = 0 → 𝑐2 = 0
5𝑐3 + 𝑐1 + 3𝑐2 → 𝑐1 = 0
We have 3 of them
CHANGE OF BASIS
Choose a basis.
When we choose a basis for a vector space V, the coordinate mapping onto ℝ𝑛 provides a
coordinate system for V
PHY 7101: METHODS OF MATHEMATICAL PHYSICS
𝛽 coordinate vector
𝑣 = 𝑐1 𝑏1 + 𝑐2 𝑏1 + ⋯ + 𝑐𝑝 𝑏𝑝
𝑐1
𝑐2.
The coordinate vector of 𝑣 (relative to the basis 𝛽) is the vector [𝑣]𝛽 = [ .. ]
𝑐𝑝
Lots of basis
Being able to translate and communicate between people using different systems
Use basis
2
Think about vector 𝑥 = [ ]
1
4 2
If we are using the basis 𝛽 = {[ ] , [ ]}
−1 1
0
The 𝛽 coordinate vector for x is [𝑣]𝛽 = [[ ]]
1
4 2 0 2 4 2 2
Look [ ][ ] = [ ] 0[ ] + 1[ ] = [ ]
−1 1 1 1 −1 1 1
Translate
Two bases 𝛽 = {𝑏1 , 𝑏2 } and 𝑐 = {𝑐1 , 𝑐2 } where 𝑏1 = 2𝑐1 + 𝑐2 and 𝑏2 = 1𝑐1 + 4𝑐2
𝑣 = 7𝑐1 + 17𝑐2
Translate
Two bases 𝛽 = {𝑏1 , 𝑏2 } and 𝑐 = {𝑐1 , 𝑐2 } where 𝑏1 = 2𝑐1 + 𝑐2 and 𝑏2 = −1𝑐1 + 4𝑐2
5
Let [𝑣]𝛽 = [ ]
3
Find [𝑣]𝑐
5
Let [𝑣]𝛽 = [ ]
3
[𝑣]𝛽 → [𝑣]𝑐
2 −1 5 7
[ ] [ ] = [ ] = [𝑣]𝑐
1 4 3 17
2
[ ] = [𝑏1 ]𝑐
1
−1
[ ] = [𝑏2 ]𝑐
4
𝑎1 = 2𝑏1 + 4𝑏3
𝑎3 = 2𝑏2 + 4𝑏3
PHY 7101: METHODS OF MATHEMATICAL PHYSICS
Find 𝑷𝑩←𝑨
𝑎1 = 2𝑏1 + 4𝑏3
𝑎3 = 2𝑏2 + 4𝑏3
[𝑣]𝐴 → [𝑣]𝐵
2 −1 0
𝑃𝐵←𝐴 = [0 5 1]
4 6 4
Check
2 −1 0 1 2
𝑃𝐵←𝐴 = [0 ]
5 1 0 [ ] = [ 0]
4 6 4 0𝐴 4𝐵
Goal
The Gram-Schmidt process allows us to start with any basis for W and construct a new basis that
is orthogonal(or orthonomal, as desired)
The processes
Let {𝑥1 , 𝑥2 , … , 𝑥𝑝 } be the basis for W. the we construct new vectors 𝑣1 , 𝑣2 , … , 𝑣𝑝 as follows
𝑣1 = 𝑥1
𝑥2 𝑣1
𝑣2 = 𝑥2 −
𝑣1 . 𝑣1
𝑥2 . 𝑣1
𝑣2 = 𝑥2 − 𝑣
𝑣1 . 𝑣1 1
PHY 7101: METHODS OF MATHEMATICAL PHYSICS
𝑥3 . 𝑣1 𝑥3 . 𝑣2
𝑣3 = 𝑥3 − 𝑣1 − 𝑣
𝑣1 . 𝑣1 𝑣2 . 𝑣2 2
𝑥𝑝 . 𝑣1 𝑥𝑝 . 𝑣2 𝑥𝑝 . 𝑣𝑝−1
𝑣𝑝 = 𝑥𝑝 − 𝑣1 − 𝑣2 − ⋯ − 𝑣
𝑣1 . 𝑣1 𝑣2 . 𝑣2 𝑣𝑝−1 . 𝑣𝑝−1 𝑝−1
Theorem
Idea of proof
Orthonormal basis
Example
1 −1 2
Let 𝑥1 = [ ], 𝑥2 = [ ] and 𝑥3 = [ 0 ]
0 1
2 0 0
−1 1 −2
1
𝑣1 = 𝑥1 = [ 0 ]
2
−1
PHY 7101: METHODS OF MATHEMATICAL PHYSICS
2
−
3
−1 1 1
𝑥2 𝑣1 −2
𝑣2 = 𝑥2 − 𝑣1 = [ 1 ] − ( ) [0] = 2
𝑣1 . 𝑣1 0 6 2
1 1 3
2
[ 3 ]
𝑥2 . 𝑣1
𝑣2 = 𝑥2 − 𝑣
𝑣1 . 𝑣1 1
4
2
− 7
3 8
2 1 −8 1
𝑥3 . 𝑣1 𝑥3 . 𝑣2 4
𝑣3 = 𝑥3 − 𝑣1 − 𝑣2 = [0] − ( ) [0] − ( 3 ) 2 = 7
𝑣1 . 𝑣1 𝑣2 . 𝑣2 0 6 2 7 4
2 1 3 3 −
2 7
4
[ 3 ]
[− 7]