Vectors in Linear Algebra Group 11' - 051657
Vectors in Linear Algebra Group 11' - 051657
Year: 2025
Group_11
VECTOR
What is a vector?
There are two types of vectors – row vectors and column vectors.
Row Vector:
[𝐴] = [𝑎1 𝑎2 𝑎3 … . . 𝑎𝑛 ]
[𝐵 ] = [1 2 4 ]
Column vector:
1
[ 𝐶 ] = [1 ]
2
A vector space
3 1
𝑣 = [ ],𝑢 = [ ]
1 2
3 1 4
𝑣+𝑢 = [ ]+[ ]= [ ]
1 2 3
4. Associativity.
If 𝑢 + (𝑣 + 𝑤) = (𝑢 + 𝑣) + 𝑤
3 1 1
𝑣 = [ ],𝑢 = [ ],𝑤 = [ ]
1 2 0
1 3 1 1 3 1
[ ] + ([ ] + [ ]) = ([ ] + [ ]) + [ ]
2 1 0 2 1 0
5. Commutativity. 𝑢 + 𝑣 = 𝑣 + 𝑢
1 3 3 1
[ ]+[ ]= [ ]+[ ]
2 1 1 2
6. Distributive property
If 𝑘 (𝑢 + 𝑣) then this is equivalent to 𝑘𝑢 + 𝑘𝑣
Say 𝑘 = 2
1 3 3 9
3 ([ ] + [ ]) = ( ) + ( )
2 1 6 0
7. Additive identity
This states that the sum of two vectors is always a vector.
1 1
Suppose that 𝑣 = [ 0 ] 𝑤 = [1] and a scalar 𝑐 = 3 𝑎𝑛𝑑 𝑑 = 1
−1 1
Note
The combination of these two axioms, addition and scalar multiple form
one of the greatest principles in vector algebra referred to as linear
combination.
Example.
1 3
𝑣 = [ ]and 𝑤 = [ ]
2 4
4
𝑣+𝑤 = [ ]
6
1 3
Then the linear combination is 𝑐𝑣 + 𝑑𝑤 = 𝑐 [ ] + 𝑑 [ ]
2 4
7
=[ ]
10
Linear independence and dependence.
Linear dependence.
Example,
2 1
𝑣1 = [ ] , 𝑣2 = [ ]
4 2
2 1 0
𝑐1 [ ] + 𝑐2 [ ] = [ ]
4 2 0
2 1 0
(1) [ ] + (−2) [ ] = [ ]
4 2 0
Linear independence.
1 1 2
𝑣1 = [ ] , 𝑣2 = [ ] , 𝑣3 = [ ] such that 𝑐1 = 0, 𝑐2 = 0, 𝑐3 = 0
2 4 4
After the linear calculations, we see that the vectors are linearly
independent.
Linear span.
A set of vectors spans a space if every vector in that space can be written
as a linear combination of the given set of vectors.
Given a set of vectors 𝑣1, 𝑣2, 𝑣3, … . 𝑣𝑛 in a vector 𝑉 then the span is
defined as;
Example
Consider the vector space R2 which consists of all 2D vector in the real
number components.
2 −1
𝑣1 = [ ] , 𝑣2 = [ ]
3 4
5
Let 𝑤 = [ ]
2
2 −1 5
𝑎[ ]+𝑏[ ] = [ ]
3 4 2
𝑎 = 2, 𝑏 = −1
So 𝑤 = 2𝑣1 − 1𝑣2
1 5 −3
𝑣1 = [−2] 𝑎𝑛𝑑 𝑣2 = [−13] and 𝑏 = [ 8 ]
3 −3 1
SUBSPACE
Dimension.
Dimensions are the number of bases in the vector space
For example.
𝑅1 (1𝐷 𝑠𝑝𝑎𝑐𝑒) any non-zero sector. (e.g.) spans the space dim(𝑅1 ) = 1
𝑅 2 (2𝐷 𝑠𝑝𝑎𝑐𝑒) The standard basis (0,1), (1,0) has two independent
vectors dim(𝑅 2 ) = 2
𝑅 3 (3𝐷 𝑠𝑝𝑎𝑐𝑒) The standard basis (1,0,0), (0,1,0), (0,0,1) has three
independent vectors dim(𝑅 3 ) = 3
1 0 0
Example 𝑣1 = [0] , 𝑣2 = [1] , 𝑣3 = [0]
0 0 1
The number of vectors in the basis is called the dimension of the space.
Properties of a basis
Space.
Space is a vector field that follows specific mathematical properties.
1. Euclidean spaces.
This contains sets of all n-dimensional vectors with real entries e.g
𝑅 𝑛 (𝑛𝑡ℎ 𝑠𝑝𝑎𝑐𝑒), 𝑅 3 (3𝐷 𝑠𝑝𝑎𝑐𝑒)
Euclidean space.
This is a finite dimensional inner product space over the real number.
Vector algebra.
This is a branch of mathematics that deals with vectors, their
operations, and their properties.
Example
𝟏
𝒗 = [ 𝟐]
𝟑
= √14
𝑎. 𝑏 = 𝑎1 𝑏1 +𝑎2 𝑏2 + 𝑎3 𝑏3 + − − − − 𝑎𝑛 𝑏𝑛
Example.
1 1
𝑎 = [3] 𝑎𝑛𝑑 𝑏 = [1]
2 1
=6
Orthonormalization.
This is the process that produce a set of vectors that are orthogonal and
normalized.
It’s a technique used in linear algebra to make vector sets easier to work
with.
Orthogonality.
Properties of orthogonality
1. 𝑢𝑇 𝑣 = 0
Proof this
2 2
||𝑢|| + ||𝑣|| = ||𝑢 + 𝑣||2
This is the same as saying
𝑢𝑇 𝑢 + 𝑣 𝑇 𝑣 = (𝑢 + 𝑣)𝑇 (𝑢 + 𝑣)
This will give us the above expression in property 1
Projection
Imagine the vectors above.
𝑝 = 𝑥𝑎
𝑎𝑇 𝑒 = 0
𝑎𝑇 (𝑏 − 𝑝) = 0
𝑎𝑇 𝑏
𝑥= ( 𝑇 )
𝑎 𝑎
𝑎𝑇 𝑏
Projection of b unto a 𝑝 = ( 𝑎)
𝑎𝑇 𝑎
Gram Schmidt
Example.
1 1
Suppose 𝑎 = [ ] 𝑎𝑛𝑑 𝑏 = [ ]
1 −1
||𝑎|| = √2
1
2
𝑎 = [√1 ] this is the normalized vector
√2
𝑎𝑇 𝑏
𝑝𝑟𝑜𝑗𝑎 (𝑏) = ( 𝑇 𝑎)
𝑎 𝑎
=0
||𝑏|| = √2
1
√2
The normal vector of 𝑏 = [ 1 ]
−
√2
𝑎𝑇 𝑏 = 0