Applied Mathematics I
Applied Mathematics I
Applied Mathematics I
Math 1041
Chapter 1 Vectors and Vector Spaces
1.1 Scalar and vectors in 𝑹𝟐 𝒂𝒏𝒅 𝑹𝟑
✓ Physical quantities that possess only magnitude are called scalars. Example
mass, area, density, volume, etc.
✓ On the other hand, there are physical quantities such as force, displacement,
velocity, acceleration, etc that has both magnitude and direction. Such
quantities are called vectors.
Definition of Points in 𝒏-space
Once a unit length is selected, a number 𝑥 can be used to represent a point on a line. A pair
of numbers (𝑥, 𝑦) can be used to represent a point in the plane. A triple of numbers (𝑥, 𝑦, 𝑧)
can be used to represent a point in space.
1
Madda Walabu University Department of Mathematics
Similarly, the set of all points in n-space (n-dimensional space) is represented by n . For
the point X in n , represented by 𝑛-tuple of real numbers (𝑥1 , 𝑥2 , … , 𝑥𝑛 ), the numbers
𝑥1 , 𝑥2 , … , 𝑥𝑛 are called the coordinates of X.
If 𝐴 = (𝑎1 , 𝑎2 , … , 𝑎𝑛 ) and B = (𝑏1 , 𝑏2 , … , 𝑏𝑛 ) are points in the same space n , and if 𝑐 is
a real number then
𝑖. A and B are equal (or represent the same point) if 𝑎1 = 𝑏1, 𝑎2 = 𝑏2 … and 𝑎𝑛 = 𝑏𝑛 .
𝑖𝑖. 𝐴 + 𝐵, 𝐴 – 𝐵 𝑎𝑛𝑑 𝑐𝐴 are defined to the points whose coordinates are (𝑎1 + 𝑏1 , 𝑎2 +
𝑏2 … 𝑎𝑛 + 𝑏𝑛 ), (𝑎1 − 𝑏1 , 𝑎2 − 𝑏2 … 𝑎𝑛 − 𝑏𝑛 ) and (𝑐𝑎1 , 𝑐𝑎2 , … , 𝑐𝑎𝑛 ), respectively.
Example 1) 𝐿𝑒𝑡 𝐴 = (1,2), 𝐵 = (−3,4) , then find 𝐴 + 𝐵, 𝐴 − 𝐵 , −3𝐴
1
2) Let 𝑋 = (1, 0, 𝜋, 4), 𝑌 = (2, 4, −2𝜋, −6), then find 2𝑋 + 𝑌 , 𝑋 − 2 𝑌
Let 𝑃1 (𝑥1 , 𝑦1 , 𝑧1 ) 𝑎𝑛𝑑 𝑃2 (𝑥2 , 𝑦2 , 𝑧2 ) be two points in space. The distance between 𝑃1 𝑎𝑛𝑑 𝑃2
is 𝑃1 𝑃2 = √(𝑥2 − 𝑥1 )2 + (𝑦2 − 𝑦1 )2 + (𝑧2 − 𝑧1 )2
Every pair of distinct points A and B in n determines a directed line segment with initial
point at A and terminal point at B. We call such a directed line segment a vector and
denote it by AB . The length of the line segment is the magnitude of the vector.
Note: 1. AA has zero length without direction. It is called a zero or a null vector. It is
often denoted by O .
to the length of AB 𝑖 𝑒 OP = AB
.
2
Madda Walabu University Department of Mathematics
initial point at the origin. This is the only vector whose initial point is the origin and P = B
– A, which is equal to AB . Moreover, V = OP is uniquely determined by its terminal point
P. If 𝑷 = (𝑥, 𝑦), then we shall write 𝑽 = (𝑥, 𝑦) and refer to it as the coordinate
representation of V relative to the chosen coordinate system.
tA
A and B are said to be parallel vectors 𝑖𝑓𝑓 either 𝐴 = 𝑡𝐵 for some real number
𝑡 𝑜𝑟 𝐵 = 𝑡𝐴. 𝑖. 𝑒 A and B are parallel iff one is a scalar multiple of the other.
Example 1) Let A = (6, -2, 4). Find two vectors C and D which are parallel to A. Are C and
D also parallel to each other?
RS ?
3
Madda Walabu University Department of Mathematics
Let A, B and C be any members of , and let 𝒎 𝑎𝑛𝑑 𝒏 be any real numbers. Then
n
b) (A + B) + C = A + (B + C)
c) A + B = B + A Commutativity
d) (m + n) A = mA + nA
Distributive property
e) m( A + B) = mA + mB
f) 0.A = O
g) A + O = A
Note: The scalar product is also called a dot product or inner product.
a) A.B = B.A
Example
1. Let A = (3, 2, −1) and 𝐵 = (2,0, 3), and 𝐶 = (1, −1,1), then find the
following
b. 𝐼𝑠 𝐴. 𝐵 = 𝐵. 𝐴 ?
c. 2(𝐴. 𝐵)
d. (𝐴 + 𝐵). 𝐶
2. Find 𝐴. 𝐴, 𝐵. 𝐵, 𝑎𝑛𝑑 𝐶. 𝐶. Are all positive values?
a. 𝐴. 𝐶 𝑏. 𝐵. 𝐶 𝑐. (𝐴 + 𝐵). 𝐶 𝑑. 𝐴. (2𝐵 +
3𝐶) 𝑒. (𝐴. 𝐵)𝐶
Definition: If the dot product of two non-zero vectors is zero, then the vectors are
perpendicular to each other.
The length, or norm or magnitude of vector A = (a1, a2, …, an), denoted by ||A||, is defined
as ||A|| = a12 + a 22 + ... + a n2 = √𝐴. 𝐴 = √𝐴2
= a12 + a 22 + ... + a n2 A.A = (a1 , a 2 ,...,an ).(a1 , a 2 ..., an ) = a12 + a 22 + ... + an2
2
A
2. A = 0 A=0
5
Madda Walabu University Department of Mathematics
Any non-zero vector can be fully represented by providing its magnitude and a unit vector
A
along its direction. Let A be a unit vector in the direction of A. Then A =
A
Example: Given a vector 𝐴 = (1, 2, 2). Find a unit vector in the direction of A.
Exercise:
a) Given three vectors 𝐴 = (1, 1, 1), 𝐵 = (−1, 2, 3) 𝑎𝑛𝑑 𝐶 = (0, 3, 4), find the unit
vector in the direction of 𝐴 + 𝐵 – 𝐶.
b) Find a unit vector in the direction of 𝐴 = (−1, 2, 3).
Theorem: 1. Let 𝛼 be a number and A be any vector. Then ||𝛼𝐴|| = |𝛼| ||𝐴||.
𝐴
2. For any vector 𝐴 ≠ 0, 𝑡ℎ𝑒𝑛 ||𝐴||
is the unit vector.
𝐴 𝐴 𝐴 1 ||𝐴||
Proof ||||𝐴||||= √||𝐴|| . ||𝐴|| = √𝐴. 𝐴 = = 1.
||𝐴|| ||𝐴||
2 2 2
3. If A and B are perpendicular vectors, the (||𝐴 + 𝐵||) = ||𝐴|| + ||𝐵||
4. (Corollary) 𝐴 𝑎𝑛𝑑 𝐵 orthogonal 𝑖𝑓𝑓 ||𝐴 + 𝐵|| = ||𝐴 − 𝐵||
Example
Let 𝐴 = (2, −1, 2), 𝐵 = (1, −1, 0) and find the angle between them.
Definition: Two non-zero vectors are said to be orthogonal (Perpendicular) if the angle
between them is .
2
6
Madda Walabu University Department of Mathematics
1
Since A is a unit vector in the direction of A and since OD has magnitude B cos
A
A.B
OD = ( B cos ) 1
A or OD =
A2
A
A
A.B
That is, Pr oj AB = 2 A
A
A.B
We call t = 2
the component of B along A.
A
7
Madda Walabu University Department of Mathematics
2. B - Pr oj AB is orthogonal (perpendicular) to A.
1
Example : 1. Let A = (3, -1, -2) and B = 2, − 3, , then find ProjA B and ProjB A
2
1.3.5 Direction Cosine
Given a non-zero vector u = (u1 , u 2 , u 3 ) in 3 . The direction cosines of the vector u are:
u1 u u
Cos = , Cos = 2 , Cos = 3
u u u
Where the direction angles, , , and are the angles that the vector makes with the
positive x, y, and z-axes respectively.
Example 1.3.7: Let u = (1, -2, 3). Find the direction cosines of u.
Definition: The cross product (or vector product) A x B of two vectors 𝐴 = (𝑎1 , 𝑎2 , … , 𝑎𝑛 )
and B = (𝑏1 , 𝑏2 , … , 𝑏𝑛 ) is defined by
8
Madda Walabu University Department of Mathematics
Find A x B and B x A.
1) A x B = -(B x A)
2) A x A = O
3) tA x B = t(A x B) = A x (tB), t
= A B − (A.B )
2 2 2 2
4) AxB
5) C. (A x B) = B. (C x A) = A. (B x C)
6) (A + B) x C = (A x C) + (B x C)
7) C x (A + B) = (C x A) + (C x B)
8) A . (A x B) = 0 and B. (A x B) = 0 (that is, AxB is perpendicular to both
A and B.)
9) (AxB) x C = (A. C) B – (B.C)A
Exercise: Let 𝐴 = (2,1,0), 𝐵 = (2, −1,1) 𝑎𝑛𝑑 𝐶 = (0,1,1). Find
From 4) of the above theorem, we derive an important formula for the norm of the cross
product.
= A B − (A.B )
2 2 2 2
AxB
2 2 2 2
= A B − A B cos 2 ( is the angle between A and B)
= A
2
(
B 1 − cos2
2
)
= A B sin 2
2 2
Exercise :
9
Madda Walabu University Department of Mathematics
4. Find a unit vector perpendicular to both 𝐴 = (2, −3,1) 𝑎𝑛𝑑 𝐵 = (1,2, −4).
5. Prove that (𝐴 – 𝐵)𝑥(𝐴 + 𝐵) = 2(𝐴𝑥𝐵).
Let u and v be vectors and consider the parallelogram that the two vectors make.
Then
The direction of 𝒖𝒙𝒗 is a right angle to the parallelogram that follows the right hand rule.
To find the volume of the parallelepiped spanned by three vectors 𝒖, 𝒗, 𝑎𝑛𝑑 𝒘, we find the
triple product:
u.(vxw)
= Volume
u1 v1 w1
u2 v2 w2
u3 v3 w3
= u1 (v2 w3 − v3 w2 ) − v1 (u 2 w3 − u 3 w2 ) + w1 (u 2 v3 − u 3 v 2 )
Example
1. Find the area of the parallelogram which is formed by the two vectors
10
Madda Walabu University Department of Mathematics
Solution: We need a point A on the line and a vector B parallel to the vector
(𝑥, 𝑦, 𝑧) = (0, 1, 2) + 𝑡 (−1, 0, −1) is equation of the line. By giving distinct values
for 𝑡 we will obtain distinct points on the line. Find some of the points.
Note: The equation of a line passing through points A and B is given by:
𝑃 = 𝐴 + 𝑡(𝐵 – 𝐴) or 𝑃 = (1 – 𝑡)𝐴 + 𝐵, t
Exercise: Let the line L1 passes through the points (5,1,7) and (6,0,8) and the line L2
passes through the points (3,1,3) and (−1,3, ) . Find the value of for
which the two lines intersect.
11
Madda Walabu University Department of Mathematics
𝑥 = 𝑎1 + 𝑏1 𝑡
𝑦 = 𝑎2 + 𝑏2 𝑡
𝑧 = 𝑎3 + 𝑏3 𝑡
Exe. Find the parametric equation of a line that contains (2, -1, 1) and is parallel to the
1
vector (3, , 0).
2
If the line is on a plane show that the standard form reduces to an equation of the form
𝑦 = 𝑚𝑥 + 𝑏.
Two lines 𝑎𝑛𝑑 𝑚 given by A1 + tB1 and A2 + tB2 are said to be parallel if B1 and B2 are
parallel. That is the vectors P1 – Q1 and P2 – Q2 are parallel for any two points P1, Q1 of
and P2, Q2 of 𝑚.
Exercise : Find the equation of the plane passing through the three points
Let Q be a point outside a plane normal to N. We define the distance from point Q to the
plane as follows. Let Po be the point of intersection of the line through Q, in the direction of
N, and the plane through P. The distance d from Q to the plane is the distance between Q
and Po.
12
Madda Walabu University Department of Mathematics
N.QP
However, Pr ojN QP = N
N2
Therefore the distance d of a point Q from a plane through P which is normal to N is given
N.QP
by: d =
N
13
Madda Walabu University, Department of Mathematics
Applied Mathematics I
𝑢 + 𝑣𝑉 𝑎𝑛𝑑 𝑎𝑢 𝑉
(𝑢 + 𝑣) + 𝑤 = 𝑢 + (𝑣 + 𝑤)
V3) There is an element of 𝑉, denoted by O (called the zero element), such that
𝑢 + (−𝑢) = 0
u+v = v+u
𝑎(𝑢 + 𝑣) = 𝑎𝑢 + 𝑎𝑣
V8) For 𝑢 𝑣,
1𝑢 = 𝑢
Activity 2: What is the name given for each of the above properties?
Other properties of a vector space can be deduced from the above eight properties. For example,
the property 0u = O can be proved as :
= (0 + 1) u (by V7)
= 1. u
=u
𝑖, 𝑢 + 𝑣 = (𝑢1 , 𝑢2 , 𝑢3 , . . . , 𝑢𝑛 ) + (𝑣1 , 𝑣2 , 𝑣3 , . . . , 𝑣𝑛 )
The other 5 properties can be easily verified. Hence 2 is a vector space over.
2) Let V = 2 and K = ℂ
For any u, v 2, we have u + v 2.
Thus when dealing with vector spaces, we shall always specify the field over which we
take the vector space.
3) Let F be the set of all functions form to , for any f and g in F, f + g is a function
from to defined by (f + g) (x) = f(x) + g(x).
For a , af = af(x) is in F.
By verifying the other properties, we can see that F is a vector space over .
The algebraic properties of elements of an arbitrary vector space are very similar to those of
elements of 2, 3, or n. Consequently, we call elements of a vector space as vectors
a) C on 2
b) Cn over ℂ
c) Qn over Q
d) n over ℂ
Subspaces, Linear Combinations and generators
Definition2.3.1: Suppose V is a vector space over K and W is a subset of V. If, under the
addition and scalar multiplication that is defined on V, W is also a vector space then we call W
a subspace of V
Using this definition and the axioms of a vector space, we can easily prove the following:
Which shows u + w H
.
For a , au = (ax , ax ) 𝑎𝑛𝑑 ( ax ) + 4( ax ) = a( x + 4 x ) = 0a = 0.
1 2 1 2 1 2
Hence au H.
H is a subspace of 2
Activity 2.3.1: Take any vector A in 3. Let W be the set of all vectors B in 3 where B.A = 0.
Discuss whether W is a subspace of 3 or not.
Example 1: The sum 2(3, 1) + 4(-1, 2) +(1, 0) is a linear combination of (3, 1), (-1, 2) and (1,
0). As this sum is equal to (3, 10), we say that (3, 10) is a linear combination of the three ordered
pairs.
Solution:
Thus 𝛼1 = 4, 𝛼2 = 2 𝑎𝑛𝑑 𝛼3 = 1
Generally, 𝛼1 = 𝑡, 𝛼2 = 5 − 𝑡 𝑎𝑛𝑑 𝛼3 = 3 − 𝑡, 𝑡 ∈ 𝑅
Activity 2.3.2:
i) Take two elements v1 and v2 of 3. Let W be the set of all linear combinations
If the above condition does not hold, the vectors are called linearly dependent. In other words
𝑣1 , 𝑣2 , … , 𝑣𝑛 are linearly dependent if and only if there are numbers 𝛼1 , 𝛼2 , … , 𝛼𝑛 where 𝛼1 𝑣1 +
𝛼2 𝑣2 + ⋯ + 𝛼𝑛 𝑣𝑛 = 0 for at least one non-zero 𝑎𝑖.
Example 2.4.1: Consider 𝑣1 = (1, −1,1), 𝑣2 = (2, 0, −1) 𝑎𝑛𝑑 𝑣3 = (2, −2, 2)
a1 = 0 and a2 = 0
a1 = -2a2
As the constants are not all equal to zero, v1 and v3 are linearly dependent.
Activity 2.4.1: Show that v1, v2 and v3 are also linearly dependent.
Remark: If vectors are linearly dependent, at least one of them can be written as a linear
Activity 2.4.2: Show that (1, 0, 0, …,0), (0, 1,0,…)…, (0,0,0, …, 1) are linearly independent
vectors in n.
Definition 2.5.1: If elements e1, e2, …, en of a vector space V are linearly independent and
generate V, then the set B = {e1, e2, …, en} is called a basis of V. we shall
also say that the elements e1, e2,…, en constitute or form a basis of V.
Example 2.5.1:
a2 = 0 and a1 = 0
x
a2 = and a1 = a2 – y … (*)
2
x − 2y
=
2
Therefore, given any (x, y), we can find a1 and a2 given by (*) and (x, y) can be written
as a linear combination of e1 and e2 as
4 − 6
For example, (4, 3) = 4
(0,−1) + (2,1)
2 2
Note that {(1, 0), (0, 1)} is also a basis of 2. Hence a vector space can have two or more
basis. Find other bases of 2.
The vectors E1 = (1, 0, 0) , E2 = (0, 1, 0), E3 = (0, 0, 1) are linearly independent and every
element (x, y, z) of 3 can be written as
Note that the set of elements E1 = (1, 0, 0,…,0), E2 = (0, 1, 0, … 0),…,En = (0, 0, 0, …,1) is a
basis of n. It is called a standard basis.
Let B = {e1 , e2, …, en} be a basis of V. since B generates V, any u in V can be represented
as u = a1e1 + a2 e2 + … + an en. Since the ei are linearly independent, such a representation is
unique. We call (a1, a2, …, an) the coordinate vector of u with respect to the basis B, and we
call ai the i – th coordinate.
Example 2.5.2
1) In 1) of example 3.3.1 The coordinate vector of (4,3) with respect to the basis
{(0, -1), (2,1)} is (-1, 2). But with respect to the standard basis it is (4, 3).
2) Consider the set V of all polynomial functions f: → which are of degree less than
or equal to 2.
Every element of V has the form f(x) = bx2 + cx + d, where b, c, d
a1 = a2 = a3 = 0.
b = a1, c = a2 and d = a3
E1 = (x – 1)2 = x2 – 2x + 1
E2 = x – 1
and E3 = 1
form a basis of a vector space V defined in 2) of example 2.5.2. What is the coordinate
of f(x) = 2x2 – 5x + 6 with respect to the basis {E1, E2, E3}?
E = {(1, 0, 0), (0,1,0), (0,0,1)} and B = {(-1,1,0), (-2, 0, 2), (1, 1, 1)} are bases of 3 and each
has three elements. Can you find a basis of 3 having two elements? four elements?
The main result of this section is that any two bases of a vector space have the same number of
elements. To prove this, we use the following theorem.
Theorem 2.5.1: Let V be a vector space over the field K. Let {v1, v2,…,vn} be a basis of V. If
w1, w2,…,wm are elements of V, where m > n, then w1, w2, …, wm are linearly
dependent.
Theorem 2.5.2: Let V be a vector space and suppose that one basis B has n elements, and
another basis W has m elements. Them m = n.