Professional Documents
Culture Documents
CHAPTER ONE
Function: Let A and B are two non-empty sets. Then a relation from to is called from to
is denoted by iff
i. Domain of = and range of
ii. No element of A is mapped by to more than one element in B.
i.e., if and (x, z) then y = z
If , we say that is
Examples
i. for is a function.
If , we say that is the value of at , and we write
ii. F = {(1,2), (2,3), (1,5)}, F is not a function because (1,2) F and (1,5) F but 2 5.
iii. Let A = {1, 2, 3, 4, 5}, B = {1, 2, 7} then {(1,2),(2,2),(3,1),(5,7)} is not a function since domain of
i.e., there exist no such that
iv. F = {(0,0), (1,1), (2,2), (3,8), (4,0), (-1,0), (3,0)} is a not function since (4,0) F and (3,0) F such that
second coordinates are identical.
v. Sketch the graph of a function
. Then we plot the points given by the following table and use them to sketch the
graph of the following.
X -2 -1 0 1 2 3
0 1 2
Vertical line test:A curve in the xy-plane is the graph of a function of x if and only if the vertical line
intersects the curve at exactly one point.
Examples
In the following figures is a function since the vertical line intersect the curve exactly at one point. But
and are not functions since the vertical line intersect the curve at more than one point.
Symmetry
Examples
Odd function
Examples
i.
ii.
iii.
ii. A function whose graph is symmetrical with respect to origin is an odd function.
Example
Solution: Graph (a) is an odd function since it is symmetric with respect to origin.
Graph (c) is symmetric neither about the y-axis nor about the origin. So it is neither even nor odd.
Types of functions
One-to-one function: A function is said to be one-to-one if and only if the different elements in the
domain have distinct images. In other words a function is said to be one-to-one if and only if
whenever , for .
Solution
. Hence whenever .
Therefore is one-to-one.
Horizontal line test: A function is one-to-one if no horizontal straight line intersects its graph in more than
one point.Conversely, if the graph of a function is intersected by a horizontal line at one point, then the
function is one-to-one.
Solution: In the first figure, the horizontal line intersects the graph at two points then it is not one-to-one
function.
In the second figure, the horizontal line intersects the graph exactly one point then it is one-to-one function.
Onto function
Solution
Now
So every real number has a pre-image in R. Hence, the range of is R. Therefore is onto function.
One-to-one correspondence
Suppose If is both one-to-one and onto function then we say that is one-to-one
correspondence.
Example
Solution
Therefore is one-to-one.
Now .
So every real number has a pre-image in R. Hence, the range of is R. Therefore, is onto.
Identity function
Example
Example: We can see the examples of Increasing, decreasing and constant functions in the following figure.
Composite function
Example
Suppose and where A = {a, b, c, d}, B = {1, 2, 3, 4}, and C = {2, 6, 8, 7} then
Find (gof)(x).
Solution
Here (gof)(x) = {(a, 2), (b, 6), (c, 8), (d, 7)},
Solution
i.
ii.
|a| =
= a if a 0.
c) | | = ,b
c) | | = = = =
Activity 1: For any positive integer n, show that| |=| || || |…..| | in particular | a n |=| a |n
The distance d between points x1 and x2 on the real line is given by d= |x2 -x1 |=|x1 -x2 |
Thus for k>0 |x-a| < k means x is within k units of a.
Equivalently, a – k < x < a + k ⇔–k < x – a < k
And
|x-a|>k means x is more than k units away from a
Equivalently,
x < a - k or x > a + k
⇔ x–a <-k or x – a > k
Theorem : If a is any real number, then -|a| ≤ a ≤ |a|
Proof (i) If a ≥ 0, then we can write –a ≤ a ≤ a, from which it follows that-|a| ≤ a ≤ |a|.
(ii) If a < 0, we can write a ≤ a ≤ -a and –a = |a| or a =-|a|,
c) - 6|x + 2|=16
CHAPTER TWO
VECTORS AND VECTOR SPACES
2.1. VECTORS
Certain Physical quantities such as mass, area, density, volume, etc., that possess only magnitude are called
scalars. 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.
The concept of a vector is essential for the whole course. It provides the foundation and geometric motivation
for everything that follows. Hence the properties of vectors, both algebraic and geometric, will be discussed
in this unit.
We know that, once a unit length is selected, a number x can be used to represent a point on a line. A pair of
numbers (i.e. a couple of numbers) (x, y) can be used to represent a point in the plane. A triple of numbers (x,
y, z) can be used to represent a point in space. The following pictures illustrate these representations:
We can say that a single number represents a point in 1-space (A), a couple represents a point in 2-space (B)
and a triple represents a point in 3-space (C).
The set of all points in n-space is represented by n . For the point X in n , represented by n-tuple of real
numbers (x1 , x2 , …, xn ), the numbers x1 , x2;…, xn are called the coordinates of X.
Example: The space we live in can be considered as a 3 space. After selecting an origin and a coordinate
system, we can describe the position of a point (body, particle, etc.) by 3 coordinates. We can extend this
space to a 4 dimensional space, with a fourth coordinate, for example, time. If you select the origin of the time
axis as the birth of Christ, how do we describe a body with negative time co-ordinate? What if the birth of the
earth is taken as the origin of time?
If A = (a1 , a2 , ., an ) and B = (b1 , b2 , …, bn ) are points in the same space n , and if c is a real number then
2) Let X = (1, 0, π, 4), Y = (2, 4,-2π,-6), then 2X+Y = (4, 4, 0, 2) and X-(1/2) Y = (0,-2, 2π, 7).
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. Although AA has zero length, and strictly speaking, no direction, it
Two vectors AB and CD will be considered to be equal (or equivalence), AB = CD , if they have the same
magnitude and direction.
Notice that the definition of equality of two vectors does not require that the vectors have the same initial and
terminal points. Rather it suggests that we can move vectors freely provided we make no change in magnitude
and direction.
Let P be the point (b1 -a1 , b2 –a2 ). If O is the origin, is OP in the direction
of AB ?
Is OP = AB ?
If your answer for the above questions is yes, then we can conclude that any vector V= AB in the plane is a
vector OP with 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 P = (x, y), then
we shall write V = (x, y) and refer to it as the coordinate representation of V relative to the chosen coordinate
system. In view of this, we shall call (x, y) either a point or a vector, depending on the interpretation which
we have in mind. So if V = AB , then we can write V = B – A. In view of this two vectors AB and CD
are equal (or equivalence) if B – A = D – C.
Example : If P = (1, 3), Q = (-1,0), R = (0, -1) and S = (-2, -4) then QP RS
As numbers can be added subtracted and multiplies, vectors can be combined in the following ways.
Let A = (a1 , a2 ) and B = (b1 , b2 ) vectors and t be a real number. The sum
A + B = (a1 + b1 , a2 + b2 )
tA
Theorem: Let A, B and C be any members of , and let m and n be any real numbers. Then
n
f) 0.A O
g) A O A
Proof c) A B (a1 , a 2 ,..., a n ) (b1 , b 2 ,..., b n )
= (a1 b1 , a 2 b 2 ,..., an bn )
= (b1 a1 , b 2 a 2 ,..., bn an )
= (b1 , b 2 , ..., b n ) (a1 , a 2 ,..., a n )
Example:
A boat captain wants to travel due south at 40 nots.If the current is moving northwest
at 16 knots, in what direction and magnitude should he works the engine?
(8 2) 2 (40 8 2 ) 2 = 52.5.
40 8 2
The direction is arctan = -1.35 radians
8 2
Exercise :
1. Given three vectors A = (1, 1, 1), B = (-1, 2, 3) and C = (0, 3, 4), find
a. A+B c. A+B – C
b. 2A – B d. A – 3B + 10C
2. Determine whether and can be found to satisfy the vector equations
a. (2, 1, 0) = (-2, 0, 2) + (1, 1, 1). b. (-3, 1, 2) = (-2, 0, 2) + (1,1,1)
D ( x2 x1 ) 2 ( y 2 y1 ) 2 ( z 2 z1 ) 2
Scalar product and norm of vector, orthogonal projection, and direction cosines
Let A = (a1 , a2 ,…,an ) and B = (b1 , b2 , …, bn ) be two vectors. The scalar product of A and B is the number
A.B defined by
A.B a1b1 a 2b 2 ... anbn
Note: The scalar product is also called a dot product or inne r product.
Example
1) Given A = (3, -1) and B = (2, 3), then A.B = 3
2) i.j O , where i = (1,0,0) and j = (0,1,0).
The scalar product satisfies many of the laws that hold for real numbers. The basic ones are:
a) A.B B.A
b) t(A.B) (tA).B A.(tB)
c) (A B).C A.C B.C
Example : Given A = (3, 2,-1) and B = (2,0, 3), and C = (1,-1,1), then
a. A.B = B.A = 3
b. 2(A.B) = 6
c. (A+B).C = A.C + B.C = 5
Activity: Find A.A, B.B, and C.C. Are all positive values?
Exercise : Given the vectors A = (1,-1,2), B = (-2,0,2), C = (3,2,1). Evaluate
a. A.C b. B.C c. (A + B).C d. A.(2B + 3C) e. (A.B)C
The length, or norm or magnitude of vector A = (a1 , a2 , …, an ), denoted by ||A||, can be expressed in
terms of the scalar product. By definition
and A.A (a1 , a2 ,..., an ).(a1 , a2 ..., an ) a12 a22 ... an2
Thus, the norm of the vector A is the number:
2. A 0 A0
1 1 1
Example: If A , , , then A (1 / 3) (1 / 3) (1 / 3) 1
3 3 3
Any non-zero vector can be fully represented by providing its magnitude and a unit vector along its
direction. Let A be a unit vector in the direction of A. Then
A
A
A
Example: Given a vector A = (1, 1, 1). Find a unit vector in the direction of A.
Solution:
A 1 1 1 3 , then the unit vector in the direction of A is:
A (1,1,1) 1 1 1 1
A , , (1,1,1)
A 3 3 3 3 3
Activity 1. Given three vectors A = (1, 1, 1), B = (-1, 2, 3) and C = (0, 3, 4), find the unit vector in the
direction of A+B – C.
2. The vectors i (1, 0, 0), j = (0, 1, 0) and k = (0, 0, 1) are unit vectors in the direction of
positive x, y and z axis, respectively. Find a unit vector in the direction of A = (-1, 2, 3).
A B ( A B).( A B)
The following theorem gives us a geometric interpretation for the scalar product.
Theorem: Let A (a1 , a 2 , a 3 ) and B (b1 , b 2 , b 3 ) be non-zero vectors and let be the angle between
A B A B 2 A B cos
2 2 2
(Why?)
A.B A B cos
Activity: Given two non-zero vectors A and B, how do you find the angle between them? Take, for
example, A = (2, -1, 2), B = (1, -1, 0) and find the angle between them.
Two non- zero vectors are said to be orthogonal (Perpendicular) if the angle between them is .
2
Note: Two non-zero vectors A and B are said to be orthogonal (Perpendicular) if A.B= 0.
a.(1,-1,1), and (2,1,5) b.(-5,2,7), and (3,-1,2) c.(1,-1,1), and (2,3,1) d. ( ,2,1), and (2,- ,0)
b) A B A B (Triangle inequality)
Proof a) If one of A or B is a zero vector then both sides of the inequality are equal to 0.
Suppose both A and B are non-zero.
V.V ,
2
b) From the fact that V
AB ( A B) . ( A B)
2
A 2 A.B B
2 2
(why ?)
A 2 A B B
2 2
(why ?)
A B
2
AB A B
Remark: The inequalities of Theorem 1.3.2 hold true also for any vectors A and B in Rn .
The vector has magnitude OD B cos , 0 , and its direction is either the same as that
1
Since A is a unit vector in the direction of A and since OD has magnitude B cos and is in the
A
direction of A or opposite to A, we can write
OD B cos 1
A
A
A.B
or OD A (why?)
A2
This vector is called the projection of B along A and is denoted by Proj A B .
A.B
That is, Pr oj AB 2 A
A
A.B
We call t 2
the component of B along A.
A
2. B - Pr oj AB is orthogonal (perpendicular) to A.
1
Example: Let A = (3, -1, -2) and B = 2, 3, , then
2
Proj A B = A.B2 A 6 3 1 A 12 , 4 , 8
9 1 4 7 7 7
A
Proj B A = A.B 6 3 1 B 64 , 96 , 16
B
2 1 53 53 53
B 49
4
Given a non- zero vector u (u1 , u 2 , u3 ) 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.
The second type of product of two vectors is the cross product. Unlike the dot product, the cross product
of two vectors is a vector.
Definition: The cross product (or vector product) A x B of two vectors A = (a1 , a2 , a3 ) and B = (b1 , b2 , b3)
is defined by A x B = (a2 b3 – a3 b2 , a3 b1 – a1 b3 , a1 b2 - a2 b1 )
Activity: Find 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
AxB A B A.B
2 2 2 2
4)
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
Proof : The following is the proof for 1, 2 and 8. The rest are left as an exercise
B x A = (b2 a3 – b3 a2 , b3 a1 - b1 a3 , b1 a2 - b2 a1 )
= (a2 b3 – a3 b2 , a3 b1 - a1 b3 , a1 b2 - a2 b1 )
= - (A x B)
2) A x A = (a2 a3 – a3 a2 , a3 a1 - a1 a3 , a1 a2 - a2 a1 )
= (0, 0, 0)
8) Setting C = A in 5) yields
A . (A x B) = B . (A x A)
= B.0 (why?)
=0
B .(A x B) = A . (B x B)
= A.0=0
This shows that for non zero vectors A and B, the cross product A x B is orthogonal to both A and B.
Activity: Are the usual commutative and associative laws valid? i.e. for any vectors A, B and C in 3 , is
A x B = B x A?
Is A x (B x C) = (A x B) x C?
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 B 1 cos 2
2 2
A B sin 2
2 2
Activity :
Let u and v be vectors and consider the parallelogram that the two vectors make. Then
The direction of uxv is a right angle to the parallelogram that follows the right hand rule.
To find the volume of the parallelepiped spanned by three vectors u, v, and w, we find the triple product:
u.(vxw) = Volume
Example :
1. Find the area of the parallelogram which is formed by the two vectors u= (1, 3, 2) and v= (-2, 1, 3).
2. Find the volume of the parallelepiped spanned by the vectors
u = (3, -2, -1), v = (1, 3, 2), and w = (-2, 1, 3).
Solution: 1. The area of the parallelogram is given by:
u v (1,3,2) (2,1,3) (7,7,7) 147
Exercise: Find the area of the triangle having vertices at u = (3, -2, -1), v = (1, 3, 2), and w = (-2, 1, 3).
Activity : Given two vectors A and B with B 0, consider vectors of the form A + tB, where t varies over
all real numbers. The vector A + 2B, for example is as shown in the figure. Show the vectors A
Lines: A line is any set of the form {p : p A tB, t } where B is assumed to be a non-zero vector
and A is a fixed point on the line.
points of ?
Example 1.6.1 Find equation of a line through P1 = (0, 1, 2) and P2 = (-1, 1, 1).
Solution: We need a point A on the line and a vector B parallel to the vector
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.
x = a1 + b1 t
y = a2 + b2 t
z = a3 + b3 t
These equations are parametric equation of a line and t is called a parameter.
1
Activity:1) Find the parametric equation of a line that contains (2,-1,1) and is parallel to the vector (3,
2
,0).
2) From the parametric equation of a line in 3 , derive the equation
y a1 y a2 z a3
b1 b2 b3
Let be a line through A in the direction of B ( B 0) . Consider the distance between and the origin.
This distance is the minimum of the lengths of all vectors with initial point the origin and terminal point
According to our definition, if P is any point on the plane through P 0 and perpendicular to
n, then n. =0 or n.(p- =0
Activity: Starting from the equation n. =0, show that equation of a plane through point
Po = (xo , yo , zo ) perpendicular to n = (a, b, c) is
distance. Clearly d Pr oj QP
= Pr oj QP
N
QP
N.QP
However, Pr ojN QP N
N2
N.QP
d
N
Exercises
1 1 1 1 1 2 1 1
6. Let U1 , , , U 2 , , , U3 , ,0
3 3 3 6 6 6 2 2
a) Show that each u1 , u2 , u3 is orthogonal to the other two and that each is a unit vector
b) Find the projection of E1 on each of u1 , u2 , u3
c) Find the projection of A = (a1 , a2 , a3 ) on u1 .
7. In the following cases compute (A x B).C
number t.
9. If A + B + C = 0. Show that A x B = B x C = C x A
10. Find a formula for the area of a parallelogram whose vertices, in order, are
P, Q, R & S.
Show that A B A B A B
2 2
11.
DMU Page 29
Applied Mathematics I DMU
19. Find a line through the point po = (-5, 2, 1) and normal to the plane {(x, y, z): x = y}
20. Find a line through (xo , yo , zo ) and normal to the plane {(x, y, z): ax + by + cz = d}
21. Let be a line given by A + tB and let P be a point on different from A. For point Q not on ,
B x PQ
show that the distance d of Q form the line is given by: d
B
22. Let be the line x = 1 + 2t, y = -1 + 3t, z = -5 + 7t. Find the two points on at a distance 3
units from the plane 2(x-1) + 2(y+3) –z = 0
23. The set of all points equidistant from (0, 1, 5) and 5, -1, 3) is a plane. Find the equation.
2.2. Vector spaces
Definition: Let K be a set of numbers. We shall say that K is field if it satisfies the following conditions:
a) If x, y are elements of K then x + y and xy are also elements of K.
b) If x is an element of K, then –x is also an element of K. Furthermore, if x 0, then x-1
is also an element of K.
c) 0 and 1 are elements of K.
Example: The set of all real numbers and the set of all complex numbers ℂ are fields.
Activity: Are ℤ (The set of all integers) and Q (the set of all rational numbers fields?
Remark: The essential thing about a field is that its elements can be added and multiplied and the results are
also elements of the field. Moreover, every element can be divided by a non-zero element.
Definition: A vector space V over a field K is a set of objects which can be added and can be multiplied by
elements of K. It satisfies the following properties.
V1 ) For any u, v V and a K, we have u + v V and au V
V2 ) For any u, v, w V, (u + v) + w = u + (v + w)
V3 ) There is an element of V, denoted by O (called the zero element), such that 0 + u = u + 0 = u for
all elements u of V.
V4 ) For u V, there exists –u V such that u + (- u) = 0
V5 ) For u, v V, we have u + v = v + u
V6 ) For u, v V and a k, a(u + v) = au + av
V7 ) For u V and a, b k, (a + b) u = au + bu and (ab) u = a(bu)
V8 ) For u v, 1u = u
DMU Page 30
Applied Mathematics I DMU
Activity: What is the name given for each of the above properties? Axioms of vector space
Other properties of a vector space can be deduced from the above eight properties. For example, the property
0u = O can be proved as :
0u + u = 0u + 1.u (by V8 )
= (0 + 1) u (by V7 )
= 1. u
=u
By adding –u to both sides of ou + u = u, we have 0u = O
Examples of different models of a vector space
1) Consider sets 2 and
Clearly, for V = 2 and k = , properties V1 and V2 hold.
The element 0 of 2 that satisfied v3 is 0 = (0, 0).
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 .
DMU Page 32
Applied Mathematics I DMU
ii) Generalize i) by showinkg that a set w generated by elements v1 , v2 , …, vn of a
vector space V is a subspace.
Linear dependence and independence of vectors
Definition: Let V be a vector space over k. Elements v1 , v2 , …, vn of V are said to be linearly independent
if and only if the following condition is satisfied:
whenever a1 , a2 , …, an are in k such that a1 v1 + a2 v2 + … + an vn = 0, then ai = 0 for all
i = 1, 2, …, n.
If the above condition does not hold, the vectors are called linearly dependent. In other words v1 , v2 ,…, vn
are linearly dependent if and only if there are numbers a 1 , a2 , …, an where a1 v1 + a2 v2 + … + an vn = 0 for at
least one non- zero ai.
Example: Consider v1 = (1, -1,1) , v2 = (2, 0, -1) and v3 = (2, -2, 2)
i) a1 v1 + a2 v2 = a1 (1, -1, 1) + a2 (2, 0, -1) = (a1 + 2a2, -a1 , a1 – a2 )
a1 v1 + a2 v2 = 0 a1 + 2a2 = 0, -a1 = 0 and a1 – a2 = 0
a1 = 0 and a2 = 0
Hence v1 & v2 are linearly independent.
ii) a1 v1 + a2 v3 = a1 (1, -1, 1) + a2 (2, -2, 2)
= (a1 + 2a2, -a1 – 2a2 , a1 +2 a2 )
a1 v1 + a2 v3 = 0 a1 + 2a2 = 0, -a1 – 2a2 = 0 and a1 +2 a2 = 0
a1 = -2a2
Take a1 = 2 and a2 = -1, we get 2(1, -1, 1) + (-1) (2, -2, 2) = 0.
As the constants are not all equal to zero, v1 and v3 are linearly dependent.
Activity: 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
combination of the others.
Activity: Show that (1, 0, 0, …,0), (0, 1,0,…)…, (0,0,0, …, 1) are linearly independent vectors in n .
Bases and dime nsion of a vector space
Definition: 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:
DMU Page 33
Applied Mathematics I DMU
1) Show that e1 = (0, -1) and e2 = (2, 1) form a basis of 2 .
Solution: we have to show that
i) e1 and e2 are linearly independent
ii) They generate 2 i.e every element (x,y) of 2 can be written as a linear combination of
e1 and e2 .
i) a1 e1 + a2 e2 = O a1 (0, -1) + a2 (2,1) = (0, 0)
2a2 = 0 and –a1 + a2 = 0
a2 = 0 and a1 = 0
e1 and e2 are linearly independent
ii) (x, y) = a1 e2 + a2 e2 (x, y) = (0, -a1 ) + (2a2 , a2 )
x = 2a2 and y = -a1 + a2
x
a2 = and a1 = a2 – y … (*)
2
x 2y
=
2
Therefore, given any (x, y), we can find a 1 and a2 given by (*) and (x, y) can be written as a linear
combination of e1 and e2 as
DMU Page 34
Applied Mathematics I DMU
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
(x, y, z) = x(1, 0, 0) + y(0, 1, 0) + z (0, 0, 1)
= xE1 + yE2 + zE3
Hence {E1 , E2 , E3 } is a basis of 3 .
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 = a1 e1 + 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:
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).
DMU Page 35
Applied Mathematics I DMU
Activity: Show that the polynomials
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: 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.
Proof (reading assignment)
Theorem: 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.
Proof: As B is a basis, m > n is impossible. Otherwise by theorem 3.4.1, W will be a linearly dependent set.
Which contradicts the fact that W is a basis. Similarly, as W is a basis, n > m is also impossible.
Hence n = m.
Definition: Let V be a vector space having a basis consisting of n elements. We shall say that n is the
dime nsion of V. It is denoted by dim V.
Remarks :
1. If V = {0}, then V doesn’t have a basis, and we shall say that dim v is zero.
2. The zero vector space or a vector space which has a basis consisting of a finite number of
elements, is called finite dimensional. Other vector spaces are called infinite dime nsional.
Example:
DMU Page 36
Applied Mathematics I DMU
Definition: The set of elements {v1 , v2 , …,vn }of a vector space V is said to be a maximal set of linearly
independent elements if v1 , v2 , …,vn are linearly independent and if given any element w of V,
the elements w,v1 , v2 , …, vn are linearly dependent.
Example: In 3 {(1, 0, 0), (0, 1, 1), (0, 2, 1)} is a maximal set of linearly independent elements.
We now give criteria which allow us to tell when elements of a vector space constitute a basis.
Theorem: Let V be a vector space and {v1 , v2 , …,vn }be a maximal set of linearly independent elements of
V. Then {v1 , v2 , …,vn }is a basis of V.
Proof: It suffices to show that v1 , v2 , …,vn generate V. (Why?)
Let w .
Then w, v1 , v2 , …,vn are linearly dependent (why?).
Hence there exist numbers ao , a1 , a2 , …, an not all 0 such that
ao w + a1 v1 + a2 v2 + …+ an vn = O
In particular a o 0 (why?
Therefore, by solving for w,
a1 a an
w V1 2 V2 ... Vn
ao ao ao
Theorem: Let dim V = n, and let v1 , v2 , …,vn be linearly independent elements of v. Then
Proof: According to theorem 3.4.1, {v1 , v2 , …,vn } is a maximum set of linearly independent elements of V.
Hence it is a basis by theorem 2.5.3
Corollary: Let W be a subspace of V. If dim W = dimV, then V = W
Thus; V = U + W
DMU Page 37
Applied Mathematics I DMU
The intersection of U and W is: U W 0
Therefore, V is the direct sum of W and U.
Activity
1. Let, V R , U ( x1 ,0, x3 ), x1 , x3 , and W (0, x2 ,0), x2 . Show that V is the direct
3
sum of W and U.
sum of W and U.
Exercise
1. Let k be the set of all numbers which can be written in the form a b 2 , where a, b are rational
numbers. Show that k is a field.
2. Show that the following sets form subspaces
a. The set of all (x, y) in 2 such that x = y
b. The set of all (x, y) in 2 such that x – y = 0
c. The set of all (x, y, z) in 3 such that x + y = 3z
d. The set of all (x, y, z) in 3 such that x = y and z = 2y
3. If U and W are subspaces of a vector space V, show that U W and U W are subspaces.
4. Decide whether the following vectors are linearly independent or not (on )
a) (, 0) and (0, 1)
DMU Page 38
Applied Mathematics I DMU
2x3 + x2 – 7x – 7. Find a basis and the dimension of W.
10. What is the dimension of the space of 2 x 2 matrices? Give a basis for this space. Answer the
same question for the space of n x m matrices.
11. Find the dimensions of the following
a) The space of n x n matrices all of whose elements are 0 except possibly the diagonal
elements.
b) The space of n x n upper triangular matrices
c) The space of n x n symmetric matrices
d) The space of n x n diagonal matrices
12. Let V be a subspace of 3 . What are the possible dimensions for V? Show that if
V 3 , then either V = {0}, or V is a straight line passing through the origin, or V is a plane passing
through the origin.
CHAPTER TWO
MATRICES AND DETERMINANTS
3.1. Matrices
The concept of matrices has had its origin in various types of linear problems, the most important of which
concerns the nature of solutions of any given system of linear equations. Matrices are also useful in
organizing and manipulating large amounts of data. Today, the subject of matrices is one of the most
important and powerful tools in Mathematics which has found applications to a very large number of
disciplines such as Engineering, Business and Economics, statistics etc.
Definition and Examples of Matrices
Definition : A rectangular arrangement of mn numbers (real or complex) in to m horizontal rows and n
vertical columns enclosed by a pair of brackets [ ], such as
a11 a12 ... a1n
a a 22 ... a 2 n
21
. . .
. . .
. . .
a m1 a m1 ... a mn
DMU Page 39
Applied Mathematics I DMU
is called an m n (read “m by n”) matrix or a matrix of order m n .
Before we go any further, we need to familiarize ourselves with some terms that are associated with
matrices. The numbers in a matrix are called the entries or the elements of the matrix. For the entry a ij , the
first subscript i specify the row and the second subscript j the column in which the entry appears. That is, a ij
is an element of matrix A which is located in the i th row and j th column of the matrix A. Whenever we talk
about a matrix, we need to know the order of the matrix.
The order of a matrix is the number of rows and columns it has. When we say a matrix is a 3 by 4 matrix,
we are saying that it has 3 rows and 4 columns. The rows are always mentioned first and the columns
second. This means that a 3 4 matrix does not have the same order as a 4 3 matrix. It must be noted that
even though an m n matrix contains mn elements, the entire matrix should be considered as a single entity.
In keeping with this point of view, matrices are denoted by single capital letters such as A, B, C and so on.
Remark: By the size of a matrix or the dimension of a matrix we mean the order of the matrix.
1 5 2
Example : Let A .
0 3 6
Solution: Since A has 2 rows and 3 columns, we say A has order 2 3 , where the number of rows is
specified first. The element 6 is in the position a23 (read a two three) because it is in row 2 and column 3.
1 4 7
Example: What is the value of a 23 and a 32 in A 2 3 1 ?
5 7 8
Solution: a 23 , the element in the second row and third column, is 1 and a 32 , the element in the third row
DMU Page 40
Applied Mathematics I DMU
4 8
4 7 5
2. Suppose A and B 7 1
8 1 6 5 6
by the symbol ( a ij )m n or more simply ( a ij ) . This notation merely indicates what type of symbols we are
Definition: Two matrices A and B are said to be equal, written A = B, if they are of the same order and if all
corresponding entries are equal.
5 1 0 2 3 1 0 9
For example, but 9 2 . Why?
2 3 4 2 3 2 2 2
DMU Page 41
Applied Mathematics I DMU
x y 6 1 6
Example : Given the matrix equation . Find x and y.
x y 8 3 8
x y 1
Solution: By the definition of equality of matrices,
x y 3
solving gives x = 2 and y = -1.
Activity : Find the values of x, y, z and w which satisfy the matrix equation
x y 2x z 1 5
a.
2 x y 3 z w 0 13
x 3 2 y x 0 7
b.
z 1 4 w 6 3 2 w
Types of matrices: Square, identity, scalar, diagonal, triangular, symmetric, and skew
symmetric matrices
Certain types of matrices, which play important roles in matrix theory, are now considered.
Row Matrix: A matrix that has exactly one row is called a row matrix. For example, the matrix
A 5 2 1 4 is a row matrix of order 1 4 .
Column Matrix: A matrix consisting of a single column is called a column matrix. For example, the
3
matrix B 1 is a 3 1 column matrix.
4
Ze ro or Null Matrix: A matrix whose entries are all 0 is called a zero or null matrix. It is usually denoted
0 0 0 0
by 0m n or more simply by 0. For example, 0 is a 2 4 zero matrix.
0 0 0 0
Square Matrix: An m n matrix is said to be a square matrix of order n if m = n. That is, if it has the
same number of columns as rows.
3 4 6
2 1
For example, 2 1 3 and
5 6
are square matrices of order 3 and 2 respectively.
5 2 1
In a square matrix A a ij of order n, the entries a11 , a 22 , ..., a nn which lie on the diagonal extending
from the left upper corner to the lower right corner are called the main diagonal entries, or more simply
DMU Page 42
Applied Mathematics I DMU
3 2 4
the main diagonal. Thus, in the matrix C = 1 6 0 the entries c11 3, c22 6 and c33 8
5 1 8
5 0 0
For example, 0 0 0 is a diagonal matrix.
0 0 7
Notation: A diagonal matrix A of order n with diagonal elements a11 , a 22 , ..., a nn is denoted by
Scalar matrix: A diagonal matrix whose all the diagonal elements are equal is called a scalar matrix.
2 0 0
For example, 0 2 0 is a scalar matrix.
0 0 2
k , ifi j
Note: Let A a ij be a square matrix. A is a scalar matrix if and only if a ij .
0, ifi j
DMU Page 43
Applied Mathematics I DMU
Identity Matrix or Unit Matrix: A square matrix is said to be identity matrix or unit matrix if all its main
diagonal entries are 1’s and all other entries are 0’s. In other words, a diagonal matrix whose all main
diagonal elements are equal to 1 is called an identity or unit matrix. An identity matrix of order n is denoted
by In or more simply by I.
1 0 0
1 0
For example, I 3 0 1 0 is identity matrix of order 3. I 2 is identity matrix of order 2.
0 1
0 0 1
Algebra of matrices
Remark: Notice that we can add two matrices if and only if they are of the same order. If they are, we say
they are conformable for addition. Also, the order of the sum of two matrices is same as that of the two
original matrices.
1 2 4 2 -1 3 4
A= 2 3 1 B= 2 4 2 C= 2
5 0 3 3 6 1 3
Find, if possible. a) A + B b) B + C
If A is any matrix, the negative of A, denoted by –A, is the matrix obtained by replacing each entry in A by
its negative. For example, if
DMU Page 44
Applied Mathematics I DMU
2 1 2 1
A 5 4 , then A 5 4
6 0 6 0
4 1 0 2
Example : Let A 2 3 and B 5 2
5 7 6 1
4 0 1 2 4 3
Then A B 2 5 3 ( 2 ) 3 5
5 6 7 1 1 8
0 2 3 7 6 3
Example : If A and B . Find 2A + 3B.
2 1 4 1 4 5
DMU Page 45
Applied Mathematics I DMU
0 2 3 0 4 6 7 6 3 21 18 9
Solution: 2A 2 and 3B 3
2 1 4 4 2 8 1 4 5 3 12 15
0 4 6 21 18 9 21 22 15
2 A 3B
4 2 8 3 12 15 7 14 23
2 3 8
Example : Express the matrix equation x y 2 as a system of equations and solve.
1 5 11
Solution: The given matrix equation gives
2 x 3 y 16 2 x 3 y 16
x 5 y 22 x 5y 22
By equality of matrices we have
2 x 3 y 16
x 5 y 22
Solving gives x = 2, y = -4
Properties of scalar multiplications
1. If A and B are two matrices of the same order and if k is a scalar, then
k ( A B) kA kB
2. If k1 and k2 are two scalars and if A is a matrix, then
k1 k2 A k1 A k2 A
3. If k1 and k2 are two scalars and if A is a matrix, then
k1k 2 A k1 (k 2 A) k 2 (k1 A)
Multiplication of Matrices
While the operations of matrix addition and scalar multiplication are fairly straightforward, the product AB
of matrices A and B can be defined under the condition that the number of columns of A must be equal to the
number of rows of B. If the number of columns in the matrix A equals the number of rows in the matrix B,
we say that the matrices are conformable for the product AB.
Because of wide use of matrix multiplication in application problems, it is important that we learn it well.
Therefore, we will try to learn the process in a step by step manner. We first begin by finding a product of a
row matrix and a column matrix.
a
Example : Given A = [ 2 3 4 ] and B = b , find the product AB.
c
DMU Page 46
Applied Mathematics I DMU
Solution: The product is a 1 1 matrix whose entry is obtained by multiplying the corresponding entries
and then forming the sum.
a
AB = [ 2 3 4 ] b
c
= [ (2a + 3b + 4c)]
Note that AB is a 1 1 matrix, and its only entry is 2a + 3b + 4c.
5
Example : Given A = [ 2 3 4 ] and B = 6 , find the product AB.
7
5
Solution: AB = [ 2 3 4 ] 6 = 10 18 28 56
7
Note: In order for a product of a row matrix and a column matrix to exist, the number of entries in the row
matrix must be the same as the number of entries in the column matrix.
Example : Here is an application: Suppose you sell 3 T-shirts at $10 each, 4 hats at $15 each, and 1 pair of
shorts at $20. Then your total revenue is
3
10 15 20 4 (10 3) (15 4) (20 1) 110
1
Pr ice Re venue
Quantity
5 3
6 4
Example : Given A = [ 2 3 4 ] and B = , find the product AB.
7 5
Solution: We already know how to multiply a row matrix by a column matrix. To find the product AB, in
this example, we will be multiplying the row matrix A to both the first and second columns of
matrix B, resulting in a 1 2 matrix.
= [ 56 38 ]
DMU Page 47
Applied Mathematics I DMU
We have just multiplied a 1 3 matrix by a matrix whose order is 3 2. So unlike addition and subtraction, it
is possible to multiply two matrices with different dimensions as long as the number of entries in the rows of
the first matrix is the same as the number of entries in columns of the second matrix.
Find, if possible. a) GH b) FH c) EF d) FE
1 0 2 0 –1 2 –2 3 0
R= 2 1 5 S= 3 1 0 T= –3 2 2
2 3 1 4 2 1 –1 1 0
Find 2RS – 3ST.
We summarize matrix multiplication as follows:
In order for product AB to exist, the number of columns of A, must equal the number of rows of B. If matrix
A is of dimension m n and B of dimension n p, the product AB will have the dimension m p. Let
A ( a ij ) be an m n matrix and B ( b jk ) be an n p matrix. Then the product AB is the m p matrix
defined by AB ( c ik ), where
n
c ik a i 1 b1k a i 2 b2 k ... a in bnk a ij b jk , I = 1,2,…,m and k = 1,2,…,p
j 1
Thus, the product AB is the m p matrix, where each entry c ik of AB is obtained by multiplying
corresponding entries of the i th row of A by those of the kth column of B and then finding the sum of the
results.
Activity :1. If a matrix A is 3x5 and the product AB is 3x7, then what is the order of B?
2. How many rows does X have if XY is a 2x6 matrix?
Remark: The definition refers to the product AB, in that order, A is the left factor called pre factor and B is
the right factor called post factor.
1 4
2 4 1 6
Example: Find the product AB if A 5 3 and B
0 2 2 7 3 8
DMU Page 48
Applied Mathematics I DMU
Solution: Since the number of columns of A is equal to the number of rows of B, the
product AB=C is defined. Since A is 3 2 and B is 2 4 , the product AB
will be 3 4
row 2 of A and those in column 1 of B, that is C 21 = (5) (-2) + (3) (2) = -4.
10 24 11 26
54
Thus AB 4 41 14
4 14 6 16
DMU Page 49
Applied Mathematics I DMU
Observe that the product BA is not defined since the number of columns of B is not equal to the number of
rows of A. This shows that matrix multiplication is not commutative. That is, for any two matrices A and B,
it is usually the case that AB BA (even if both products are defined).
1 0 1 2
Example : Let A , and B , then
0 0 1 0
1 2 1 0
AB , BA . Thus, AB BA .
0 0 1 0
3 a
i) 5 2 10 iii) c d
4 b
a
ii) a b c d iv) a b
b
3 2 a b
2. If A and B , find a and b such that AB = BA.
4 1 3 5
Note: 1. AB = 0 does not necessarily imply A = 0 or B = 0.
2. AB = AC does not necessarily imply B = C.
1 1 1 1 2 3 0 0 0
Example 1) Let A 3 2 1 , B 2 4 6 , then AB 0 0 0 .
2 1 0 1 2 3 0 0 0
1 3 2 1 4 1 0 3 1 1 2
2 1 1 1
2) Let A 2 1 3 , B , C 3 2 1 1 then
1 2 1 2 2 5 1 0
4 3 1
3 3 0 1
1 15 0 5
AB AC . But B C .
3 15 0 5
DMU Page 50
Applied Mathematics I DMU
In this chapter, we will be using matrices to solve linear systems. Later, we will be asked to express linear
systems as the matrix equation AX = B, where A, X, and B are matrices. The matrix A is called the
coefficient matrix.
Example 3 :Verify that the system of two linear equations with two unknowns:
ax by h
can be written as AX = B, where
cx dy k
a b x h
A= X = and B =
c d y k
a b x ax + by
AX = =
c d y cx + dy
If AX = B, then
ax + by h
cx + dy = k
If two matrices are equal, then their corresponding entries are equal.
Therefore, it follows that
ax by h
cx dy k
DMU Page 51
Applied Mathematics I DMU
A.I = I.A =A
(The order of I and A Multiplicative Identity Law
is the same)
A(B + C) = AB + AC Left Distributive Law
Exercise:
1 2 3 4 5 6 1 2 1
2 , B 1 0 1 and C 1 2 3
1. If A 1 0
1 3 1 2 1 2 1 2 2
(i) A + B ii) 2B – 3C
4 1 4
3. If A 4 0 4 , compute A2 . Is it equal to I3 , where I3 is the identity matrix of order 3?
3 1 3
DMU Page 52
Applied Mathematics I DMU
Transpose of a matrix
2 3
2 4 6 t
Example : If A , then A 4 1
3 1 4 6 4
c) If A is m n and B is n p , then ( AB ) t B t At . t A
d) A t
2 1 5
Example: A 1 0 3 is symmetric.
5 3 6
a 3 4 8
b c 3 9
Activity: 1. For A is to be a symmetric matrix, what numbers
d e f 10
g h i j
should the letters a to j represent?
2. a) Does a symmetric matrix have to be square?
b) Are all square matrices symmetric?
DMU Page 53
Applied Mathematics I DMU
Remark: aii aii 2aii 0 or aii 0 . Hence elements of main diagonal of a skew-symmetric matrix are
all zero.
0 5 7 0 5 7
t
Example : For A 5 0 3 , A 5 0 3 A . So A is skew-symmetric.
7 3 0 7 3 0
Properties of symmetric and skew-symmetric matrices
1. For any square matrix A, A + At is symmetric and A – At is skew- symmetric
2. If A and B are two symmetric (or skew symmetric) matrices of the same order, then so is A + B.
Proof (exercise)
3. If A is symmetric or skew symmetric, then so is kA. Proof (exercise)
4. Let A and B be symmetric matrices of the same order. The product AB is symmetric if and only if
AB = BA.
Proof: AB is symmetric ( AB )t AB B t At AB
BA AB
Suppose AB = BA. Then (AB)t = BtAt = BA = AB
Exercise
1. a) Form a 4 by 5 matrix, B, such that bij = i*j, where * represents multiplication.
b) What is BT? c) Is B symmetric? Why or why not?
3 1 0 2 4 3
2. Given A 2 4 5 and B= 5 1 7 . Verify that
1 3 6 2 3 8
1 1 1
3. Let A , is At A is symmetric
1 2 3
Ele mentary row and column operations
Elementary row operations:
1. (Replacement) Replace one row (say Ri ) by the sum of itself and a multiple of another row (say
R j ). This is abbreviated as Ri k R j Ri .
DMU Page 54
Applied Mathematics I DMU
2. (Interchange) Interchange two rows (say Ri and R j ). This is abbreviated as Ri R j .
3. (Scaling) Multiply all entries in a row (say Ri ) by a nonzero constant (scalar) k. This is
abbreviated as Ri k Ri
For elementary column operations “row” by “column” in (1), (2) and (3) above.
We say that two matrices are row equivalent if one is obtained from the other by a finite sequence of
elementary row operations.
It is important to note that row operations are reversible. If two rows are intercha nged, they can be returned
to their original positions by another interchange. If a row is scaled by a nonzero constant c, then multiplying
1
the new row by produces the original row. Finally, consider a replacement operation involving two rows,
c
say rows i and j, and suppose c times row i is added to row j to produce a new row j. To “reverse” this
operation, add – c times row i to the new row j and obtain the original row j.
Example : Find the elementary row operation that transforms the first matrix in to the second, and then find
the reverse row operation that transforms the second matrix in to the first.
1 3 1 1 3 1
0 2 4 , 0 1 2
0 3 4 0 3 4
1 3 1 1 3 1
0 1 2
Solution: 0 2 4 R2 ½ R2
0 3 4 0 3 4
1 3 1 1 3 1
0 2 4 0 1 2
2R2 R2
0 3 4 0 3 4
Activity 3.4.1: Find the elementary row operation that transforms the first matrix in to the second, and then
find the reverse row operation that transforms the second matrix in to the first.
0 5 3 1 5 2 1 3 1 5 1 3 1 5
0 5 3 0 1 4 2
a) 1 5 2, b) 0 1 4 2 ,
2 1 8 2 1 8 0 2 5 1 0 0 3 5
In the definition that follows, a nonzero row (or column) in a matrix means a row (or column) that contains
at least one non-zero entry; a leading entry of a row refers to the left most nonzero entry (in a non zero row).
DMU Page 55
Applied Mathematics I DMU
Definition : A matrix is in echelon form (or row echelon form) if it has the following three properties:
1) All nonzero rows are above any rows of all zeros.
2) Each leading entry of a row is in a column to the right of the leading entry of the row above it.
3) All entries in a column below a leading entry are zero.
If a matrix in echelon form satisfies the following additional condition then it is in reduced echelon
form (or row re duced echelon form)
4) The leading entry in each non zero row is 1
5) Each leading 1 is the only nonzero entry in its column.
Example : The following matrices are in row echelon form, in fact the second
matrix is in row reduced echelon form
2 3 2 1 1 0 0 29
0 1 4 8 , 0 1 0 16
5
0 0 0 0 0 1 1
2
Definition : (i) A matrix which is in row echelon form is called an echelon matrix.
(ii) A matrix which is in row reduced echelon form is called a reduced echelon matrix.
Note: 1) Each matrix is row equivalent to one and only one row reduced echelon matrix.
But a matrix can be row equivalent to more than one echelon matrices.
2) If matrix A is row equivalent to an echelon matrix U, we call U an echelon
form of A. If U is in reduced echelon form, we call U the reduced echelon form of A.
Activity : Determine which of the following matrices are in row reduced echelon form and which others are
in row echelon form (but not in reduced echelon form)
1 0 1 0
1 0 1 1 1 1 0
0 0 0 1 1 0
a) 0 1 0 b) c)
0 0 0 1
0 0 0 0 0 0
0 0 0 0
0 2 3 4 5 1 0 5 0 8 3
0 0 3 4 5 0 1 4 1 0 6
d) e)
0 0 0 0 5 0 0 0 0 1 0
0 0 0 0 0 0 0 0 0 0 0
DMU Page 56
Applied Mathematics I DMU
1 3 0 0 3
1 3 5 7 0 0 1 0 0
a) 2 4 6 8 b)
0 0 0 0 0
3 5 7 9
0 0 0 3 1
1 0 1 0 0
0 1 2 1 3 0
0 1 0 1
c) d) 2 4 5 5 3
0 1 0 2 1
3 6 6 8 3
0 0 0 1 1
System of Linear equations
In this section we will present certain systematic methods for solving system of linear equations
Definition : A linear equation in the variables x1 , x 2 ,..., x n over the real field
i{1,2,3, . . ., m} then the system is called non homogeneous. In matrix notation, the linear system (2) can
be written as AX B where
DMU Page 57
Applied Mathematics I DMU
1 3 1 1 3 1 2
The matrix A 0 1 2 is the coefficient matrix and 0 1 2 4 is the augmented matrix.
2 3 3 2 3 3 5
Are the coefficient matrix and the augmented matrix of a homogeneous linear system equal? Why?
A solution of a linear system in n-unknowns x1 , x2 ,..., xn is an n-tuple ( s1 , s 2 ,..., s n ) of real numbers that
makes each of the equations in the system a true statement when si is substituted for x i, i = 1,2, . . ., n. The set
of all possible solutions is called the solution set of the linear system. We say that two linear systems are
equivalent if they have the same solution set.
Activity: Give the coefficient matrix and the augmented matrix of the linear system
x1 3 x 2 2 x 3
x1 11x 3
2 x1 x 2 4 x 3 0
x1 x 2 2
2) Does the linear system have a solution?
x1 x 2 0
DMU Page 58
Applied Mathematics I DMU
uv 2
3) Find the solution set of the linear system
u v 1
How many solutions does it have?
3
2 x x 2 x 3 8 13
4) Given the system 1 2 . Is 5, ,3 a solution of the linear system? What
x1 4 x 3 7 2
25
about (-7, -22, 0) and 3, ,1 ?
2
The activity given above illustrates the following general fact about linear systems.
A system of linear equations has either
1. no solution, or
2. exactly one solution, or
3. Infinitely many solutions.
We say that a linear system is consistent if it has either one solution or infinitely many solutions; a system is
inconsistent if it has no solution.
Activity :
1. The homogeneous linear system AX O is consistent for any m n matrix A.
Explain, why?
2. Consider a linear system of two equations in two unknowns, give geometric interpretation if the
system has
i) no solution ii) exactly one solution iii) many solutions
Do the same for a linear system of three equations in three unknowns.
Solving a linear system
This is the process of finding the solutions of a linear system. We first see the technique of elimination
(Gaussian elimination method) and then we add two more techniques, matrix inversion method and Cramer’s
rule.
Gaussian Elimination Method
The Gaussian elimination method is a standard method for solving linear systems. It applies to any system,
no matter whether m < n, m = n or m > n (where m and n are number of equations and variables
respectively). We know that equivalent linear systems have the same solutions. Thus the basic strategy in
this method is to replace a given system with an equivalent system, which is easier to solve.
DMU Page 59
Applied Mathematics I DMU
The basic operations that are used to produce an equivalent system of linear equations are the following:
1. Replace one equation by the sum of itself and a multiple of another equation.
2. Interchange two equations
3. Multiply all the terms in an equation by a non zero constant.
Activity : Why these three operations do not change the solution set of the system?
We keep x1 in the first equation and eliminate it from the other equations. For this replace the third equation
by the sum of itself and two times equation 1.
2.eq.1 : 2 x1 6 x 2 2 x 3 4
eq.3 : 2 x1 3 x 2 3 x 3 5
[ New eq.3] 3 x 2 5 x3 9
We write the new equation in place of the original third equation:
x1 3 x 2 x 3 2 1 3 1 2
x 2 2 x3 4 0 1 2 4
R3 R3 + 2R1
3 x 2 5 x3 9 0 3 5 9
DMU Page 60
Applied Mathematics I DMU
x1 3 x 2 x 3 2 1 3 1 2
x 2 2 x3 4 R3 R3 – 3R2 0 1 2 4
x 3 3 0 0 1 3
Now we eliminate the –2x3 term form equation 2. For this we use x3 in equation 3.
2.eq.3 : 2 x 3 6
eq.2 : x 2 2 x3 4
[ New eq.3] x3 3
From this we get
x1 3 x 2 x 3 2 1 3 1 2
x2 2 R2 R2 +2R3 0 1 0 2
x 3 3 0 0 1 3
Again by using the x3 term in equation 3, we eliminate the –x3 term in equation 1.
1.eq.3 : x 3 3
eq.1 : x1 3 x 2 x 3 2
[ New eq.1] x1 3 x 2 1
Thus we get the system
x1 3 x 2 1 1 3 0 1
x 2 2 0 1 0 2
R1 R1 +R3
x 3 3 0 0 1 3
Finally, we eliminate the 3x 2 term in equation 1. We use the x2 term in equation 2 to eliminate the 3x 2 term
above it.
3.eq.2 : 3x2 6
eq.1 : x1 3 x 2 2
[ New eq.1] x1 5
So we have an equivalent system (to the original system) that is easier to solve.
x1 5
1 0 0 5
x2 2 0 1 0 2
R1 R1 – 3R2
x3 3
0 0 1 3
DMU Page 61
Applied Mathematics I DMU
Thus the system has only one solution, namely (5, -2, -3) or x1 5, x 2 2, x 3 3 . To verify that (5, -2, -
3) is a solution, substitute these values in to the left side of the original system, and compute:
5 + 3(-2) - (-3) = 5 – 6 + 3 = 2
-2 - 2(-3) = -2 + 6 = 4
-2(5) - 3(-2) - 3(-3) = -10 + 6 + 9 = 5
It is a solution, as it satisfies all the equation in the given system (3).
Example: illustrates how operations in a linear system correspond to operations on the appropriate rows of
the augmented matrix. The three basic operations listed earlier correspond to the three elementary row
operations on the augmented matrix.
Let us see how elementary row operations on the augmented matrix of a given linear system can be used to
determine a solution of the system. Suppose a system of linear equations is changed to a new one via row
operations on its augmented matrix. By considering each type of row operation it is easy to see that any
solution of the original system remains a solution of the new system.
Conversely, since the original system can be produced via row operations on the new system, each solution
of the new system is also a solution of the original system. From this we have the following important
property.
If the augmented matrices of two linear systems are row equivalent, then the two systems have the same
solution set.
Thus to solve a linear system by elimination we first perform appropriate row operations on the augmented
matrix of the system to obtain the augmented matrix of an equivalent linear system which is easier to solve
and use back substitution on the resulting new system. This method can also be used to answer questions
about existence and uniqueness of a solution whenever there is no need to solve the system completely.
In Gaussian elimination method we either transform the augmented matrix to an echelon matrix or a reduced
echelon matrix. That is we either find an echelon form or the reduced echelon form of the augmented matrix
of the system. An echelon form of the augmented matrix enables us to answer the following two fundamental
questions about solutions of a linear system. These are:
1. Is the system consistent; that is, does at least one solution exists?
2. If a solution exists, is it the only one; that is, is the solution unique?
Example : Determine if the following system is consistent. If so how many solutions does it have?
DMU Page 62
Applied Mathematics I DMU
x1 x 2 x 3 3
x1 5 x 2 5 x 3 2
2 x1 x 2 x 3 1
1 1 1 3
Solution: The augmented matrix is A 1 5 5 2
2 1 1 1
Let us perform a finite sequence of elementary row operations on the augmented matrix.
1 1 1 3 R R R 1 1 1 3 2 R1 R 3
2 1 1 1 2 1 1 1
1 1 1 3 1
R3 2 R 2 R3 1 1 1 3
0 6 6 1 0 6 6 1
9
0 3 3 5 0 0 0
2
The corresponding linear system of the last matrix is
x1 x 2 x 3 3
6 x 2 6 x 3 1 (*)
9
0
2
9
But the last equation 0. x1 0. x 2 0. x 3 is never true. That is there are no values x1 , x 2 , x 3 that satisfy
2
the new system (*). Since (*) and the original linear system have the same solution set, the original system is
inconsistent (has no solution).
Example : Use Gaussian elimination to solve the linear system
2x y z 2
2x y z 4
6x 3y 2z 9
Solution: The augmented matrix of the given system is
DMU Page 63
Applied Mathematics I DMU
2 1 1 2
A B 2 1 1 4
6 3 2 9
Let us find an echelon form of the augmented matrix first. From this we can determine whether the system is
consistent or not . If it is consistent
we go a head to obtain the reduced echelon form of [AB] , which enable us to describe explicitly all the
solutions.
2 1 1 2
R2 R1 R2
2 1 1 2
3 3R1 R 3
2 1 1 4 0 0 2 6 R
6 3 2 9 6 3 2 9
2 1 1 2 R 3 5 R 2 R 3 2 1 1 2 1
0 0 2 2
6 0 0 2 6 R 2 2 R 2
0 0 5 15 0 0 0 0
2 1 1 2 2 1 0 1 1
0 0 1 3 R 1 R 2 R1
R1 2 R1
0 0 1 3
0 0 0 0 0 0 0 0
1 1
1 2
0
2
0 0 1 3
0 0 0 0
The third equation is 0x 0y 0z 0 . It is not an inconsistency, it is always true what ever values we
take for x, y, z. The system is consistent and if we assign any value for y in the first equation, we get
x 1
2
1
2
. From the second we have z = 3. Thus x 1
2
1
2
, y = and z = 3 is the solution of the
given system, where is any real number. There are an infinite number of solutions, for example,
1
x= 2
, y = 0, z = 3
x = 0, y = 1, z = 3 and so on.
DMU Page 64
Applied Mathematics I DMU
In vector form the general solution of the given system is of the form ( 21 12 , , 3) where . What
x1 2 x 2 3x3 x 4 0 x1 3x 2 2 x3 5 x 4 10
b. 3x1 x 2 5 x3 x 4 0 d. 3x1 2 x 2 5 x3 4 x 4 5
2 x1 x 2 x 4 0 2 x1 x 2 x3 5 x 4 5
x yz 6
2. For what values of and the system: x 2 y 3z 10 , has
x 2 y z
i. No solution ii. Unique solution iii. Infinitely many solution
3. Let M mxn = the set of all mxn matrices. Is Mmxn a vector space under matrix addition and scalar
multiplication?
0 1 a b
4. Let W x . Is W a subspace of M2x2 , where M 2 x 2 a, b, c, d ?
0 x c d
0 x a b
5. Let W x, y . Is W a subspace of M2x2 , where M 2 x 2 a, b, c, d ?
0 y c d
3.2. Determinants
We interrupt our discussion of matrices to introduce the concept of the determinant function. Remember that
a matrix is simply an ordered arrangement of elements; it is meaningless to assign a single numerical value
to a matrix.
DMU Page 65
Applied Mathematics I DMU
However, if A is a square matrix, then the determinant function associates with A exactly one numerical
value called the determinant of A, that gives us valuable information about the matrix. By denoting the
A A
square matrix det er min ant of A
In this case, the straight bars do NOT mean absolute value; they represent the determinant of the matrix. We
will see some of the uses of the determinant in the subsequent sections. For now, let's find out how to
compute the determinant of a matrix so that we can use it later.
Definition: (Determinant of order 1): Let A a11 be a square matrix of order 1. Then determinant of A is
Example 3 3 , 5 5 and 0 0
a11 a12
Definition: (Determinant of order 2): Let be a 2 2 matrix, then
a 21 a 22
A a11a 22 a12 a 21 .
That is, the determinant of a 2 2 matrix is obtained by taking the product of the entries in the main
diagonal and subtracting from it the product of the entries in the other diagonal.
To define the determinant of a square matrix A of order n(n > 2), we need the concepts of the minor and the
cofactor of an element.
Let A a ij be a determinant of order n. The minor of aij, is the determinant that is left by deleting the ith
a 22 a 23 a 21 a 23
M 11 , the minor of a12 is M 12 , and so on.
a32 a33 a32 a33
Let A a ij be a determinant of order n. The cofactor of aij denoted Cij or Aij, is defined as ( 1 )i j M ij ,
where i + j is the sum of the row number i and column number j in which the entry lies. Thus
DMU Page 66
Applied Mathematics I DMU
a 21 a 23 a 21 a 23
C 12 ( 1 )1 2
a 31 a 33 a 31 a 33
0 1 2
Example : Evaluate the cofactor of each of the entries of the matrix: 1 2 3
3 1 1
Solution: C11 = -1, C21 = 1 , C31 = -1, C12 = 8, C13 = -5, C22 = -6, C32 = 2, C23 = 3, C33 = -1
Activity : Evaluate the cofactor of each of the entries of the given matrices:
2 3 4 2 0 1
a. 3 2 1 b. 5 1 0
1 1 2 0 1 3
Definition :( Determinant of order n): If A is a square matrix of order n (n >2), then its determinant may be
calculated by multiplying the entries of any row (or column) by their cofactors and summing the resulting
products. That is,
det A ai1Ci1 ai 2 Ci 2 ..... ain Cin Or det A a1 j C1 j a2 j C2 j ..... anjCnj
Remark: It is a fact that determinant of a matrix is unique and does not depend on the row or column chosen
for its evaluation.
1 3 4
Example : Find the value of 0 2 5
2 6 3
Solution: Choose a given row or column. Let us arbitrarily select the first row. Then
1 3 4
2 5 0 5 0 2
0 2 5 (1) ( 3 )( 1 ) 4 = 1(6 30) 3(0 10) 4(0 4)
6 3 2 3 2 6
2 6 3
= 22
If we had expanded along the first column, then
DMU Page 67
Applied Mathematics I DMU
1 3 4
2 5 3 4
0 2 5 (1) 0 (2) 1(6 30) 2(15 8) = 22, as before
6 3 2 5
2 6 3
1 2 0 1
3 1 4 1
Example : Find the value of A
2 0 3 3
4 3 1 2
Solution: Expanding along first row, we have
A a11C11 a12 C12 a13C13 a14 C14 = a11M 11 a12 M 12 a13M 13 a14 M 14
1 4 1 3 4 1 3 1 4
= ( 1 ) 0 3 3 2 2 3 3 0 ( 1 ) 2 0 3 = 54 – 94 + 13 = -27
3 1 2 4 1 2 4 3 1
1 3 5 1 5 0
a. A 2 1 1 c. A 2 4 1
3 4 2 0 2 0
5 7 2 2 3 0 0 0
0 3 0 4 5 2 0 0
b. A d. A
5 8 0 3 8 3 1 0
0 5 0 6 4 7 5 2
Note: 1. det I n 1 , where I n is an identity matrix of order n.
2. det A The product of the diagonal elements, if A is a diagonal matrix or lower triangular matrix or
upper triangular matrix.
The following diagram called Sarrus’ diagram, enables us to write the value of the determinant of order 3
very conveniently. This technique does not hold for determinant of
higher order.
DMU Page 68
Applied Mathematics I DMU
the elements joined by arrows. Assign the positive sign to an expression if it is formed by a downward arrow
and negative sign to an expression if it is formed by an upward arrow.
Value: a11a22a33 a12a23a31 a13a21a32 a31a22a13 a32a23a11 a33a21a12
2 1 3
Example : Find the value of A 5 7 0 with the help of Sarrus’
4 1 6
diagram
Solution: The Sarrus’ diagram for the given determinant is to the
right. Thus the value of the determinant is
1 2 3
2) Let A 4 5 4 . Determine each of the following
3 2 1
DMU Page 69
Applied Mathematics I DMU
Property 2: If any two rows (or columns) of a determinant are interchanged, the value of the determinant so
obtained is the negative of the value of the original determinant. That is,
a11 a12 a13 a11 a12 a13
a 21 a 22 a 23 a31 a32 a33 .
a31 a32 a33 a 21 a 22 a 23
Remark: The notation Ri R j ( C i C j ) is used to represent interchange of ith and jth row (column).
Property 3: If any two rows (or columns) of a determinant are identical, the value of the determinant is zero.
a1 b1 c1
That is, a1 b1 c1 0 . R1 and R2 are identical
a2 b2 c2
Property 4: If each element of a row (or column) of a determinant is multiplied by a constant k, the value of
the determinant so obtained is k times the value of the original determinant. That is,
a11 a12 a13 a11 a12 a13
ka 21 ka 22 ka 23 k a 21 a 22 a 23
a 31 a 32 a 33 a 31 a 32 a 33
Property 6: If each element of a row (or column) of a determinant is the sum of two elements, the
determinant can be expressed as the sum of two determinants. That is,
a11 a12 a13 a11 a12 a13 a11 a12 a13
a 21 a 22 a 23 a 21 a 22 a 23 a 21 a 22 a 23
a 31 b1 a 32 b2 a 33 b3 a 31 a 32 a 33 b1 b2 b3
DMU Page 70
Applied Mathematics I DMU
1 18 72
Example : Find the value of the determinant A 2 40 148
3 45 150
Solution: By applying various properties of determinants, we make maximum number of zeros in a row or a
column. We shall make maximum number of zeros in C 1 . Performing the operations R2 R2 2R1 and
1 18 72
4 4
A 0 4 4 = = 24 - 36 = -12
9 6
0 9 6
yz x y
Example : Show that z x z x ( x y z )( x z )2
x y y z
yz x y
Solution: Let z x z x . Performing R1 R1 R2 , R1 R1 R3 , we get
x y y z
2( x y z ) x y z x yz 2 1 1
zx z x = (x yz) z x z x
x y y z x y y z
0 0 1
= (x yz) xz zx x (Property 5)
x y yz z
= ( x y z )( x z )2
Activity : Evaluate the following determinants by using the properties listed above:
1 3 1 2
3 1 43 2 4 6
2 5 1 2
a) 2 7 35 b) 7 9 11 c)
0 4 5 1
1 3 17 8 10 12
3 10 6 8
Product of two determinants
DMU Page 71
Applied Mathematics I DMU
Theorem : The determinant of the product of two matrices of order n is the product of their determinants.
That is, AB A B .
3 0 2 5 3 0 2 5
Example : Let A and B , then AB A B (3)(3) 9
4 1 1 4 4 1 1 4
Example : Let A and B be 3x3 matrix with det A = 2 and det B = -3.
Find det (2ABt ).
Solution: det(2 AB t ) 23 det A det B t 8(2)(3) 48 , since det B = det Bt .
Definition: Let A = (aij) be a square matrix of order n and let C ij be the cofactor of aij. Then the adjoint of
A, denoted by adj A, is defined as the transpose of the cofactor matrix (C ij).
1 2 3
Example: Find adj A, if A 1 0 1
4 3 2
Solution: We have C11 =-3, C12 =6, C13 = -3, C21 =5, C22 =-10, C23 =5, C31 =2,C32 =-4, C33 =2.
3 5 2
Thus, adj A 6 10 4 .
3 5 2
1 5 0
Activity: Find adj A if A 2 4 1
0 2 0
DMU Page 72
Applied Mathematics I DMU
adj(AB) = adj(B) adj (A).
2 1 3
Example : If A 2 0 1 , verify that A(adjA) = |A| I3 = (adjA)A
4 5 6
5 9 1
Therefore,
adj A 16 24 4
10 14 2
2 1 3 5 9 1 4 0 0 1 0 0
0 4 0 4 0 1 0 A I
Hence A( adjA ) 2 0 1 16 24 4
= 3
4 5 6 10 14 2 0 0 4 0 0 1
Definition : Let A be a square matrix of order n. Then a square matrices B of order n, if it exists, is called an
inve rse of A if AB = BA = In . A matrix A having an inverse is called an inve rtible matrix. It may easily be
seen that if a matrix A is invertible, its inverse is unique. The inverse of an invertible matrix A is denoted by
A-1 .
Does every square matrix possess an inverse? To answer this let us consider the matrix
0 0
A . If B is any square matrix of order 2, we find that AB = BA = 0.
0 0
We thus see that there cannot be any matrix B for which AB and BA both are equal to I2 . Therefore A is not
invertible. Hence, we conclude that a square matrix may fail to have an inverse. However, if A is a square
1
A1 adj A . For, we know that A( adjA ) ( adiA ) A A I n
A
1 1 1 1
A adjA adjA A I n . Thus A is invertible and A adjA .
A A A
A square matrix A is said to be singular (not invertible) if A 0 , and it is called non-singular (inve rtible)
if A 0 .
DMU Page 73
Applied Mathematics I DMU
6 7 1
Example : Find if the matrix A 3 5 has no inverse.
9 11
2 2 8 0
( 2)( 4) 0
2 or 4
3 1 2
Example : If A 2 3 1 , then A 3( 3 2 ) 1( 2 1 ) 2( 4 3 ) 8
1 2 1
2 0 0
Further, if B 3 1 4 then B 0 and it is singular.
5 2 8
1
Note: If A is an invertible nxn matrix, then AA-1 = In and det A-1 = , where det A 0 .
det A
Properties of the inverse of a matrix
1. A square matrix is invertible if and only if it is non-singular.
2. The inverse of the inverse is the original matrix itself, i.e. A 1 )1 A
3. The inverse of the transpose of a matrix is the transpose of its inverse, i.e.,
AB 1 B 1 A1
4 2 1
Example : Find the inverse of the matrix A= 7 3 3 .
2 0 1
DMU Page 74
Applied Mathematics I DMU
1
Solution: A ( 4 )( 3 ) ( 2 )( 1 ) 1( 6 ) 8 0 . Thus A 1 exists and is given by A 1 adjA . To
A
find adjA, let Cij denote the cofactor of aij, the element in the ith row and jth column of |A|. Thus C 11 =3, C12
3 2 9
= -1, C13 =-6, C21 = 2, C22 =2, C23 =-4, C31 =-9 C32 =-5 and C33 =26. adj A 1 2 5 . Hence
6 4 16
3 2 9
adj A 1 2 5
1 1
A1
A 8
6 4 16
1 4 0
a b
Activity: 1. Find the inverse of A, if i) A ii) A 1 2 2
c d 0 0 2
3 4 2 8
2. Find matrix A such that A .
6 2 9 4
Cramer’s rule for solving system of linear equations (homogeneous and non homogeneous)
Suppose we have to solve a system of n linear equations in n unknowns Ax = b. Let Ai (b) be the matrix
obtained from A by replacing column i by the vector b and Ak be the k-th column vector of matrix A.
Now let e 1 , e2 , . . . en be columns of the n × n identity matrix I and Ii (x) be the matrix obtained from I by
replacing column i by x.
If Ax = b then by using matrix multiplication we have
AIi (x) = A[e 1 . . . x . . . en ] = [Ae 1 . . . Ax . . . Aen ]
= [A1 . . . b . . . An ] = Ai (b)
By the multiplicative property of determinants, (detA)(detIi (x)) = det Ai (b)
DMU Page 75
Applied Mathematics I DMU
The second determinant on the left is x i. (Make a cofactor expansion along the ith row.) Hence (det A). x i =
det A i (b)
det Ai (b). Therefore if detA 0 then we have x i .
det A
This method for finding the solutions of n linear equations in n unknowns is known as Cramer’s Rule.
Example : Solve the following system of linear equations by Cramer’s Rule.
2x1 x 2 x 3 6
x1 4x 2 2x 3 4
3x1 x3 7
Solution: Matrix form of the given system is Ax b
2 1 1 x1 6
where A 1 4 2 x x2 and b 4
3 0 1 x 7
3
det A i (b)
By Cramer’s Rule, x i (i 1, 2, 3)
det A
2 1 1
det A 1 4 2 3
3 0 1
6 1 1 2 6 1
4 4 2 1 4 2
det A1 (b) 7 0 1 6 det A2 (b) 3 7 1 3
x1 2 , x2 1 and
det A 2 3 det A 2 3
2 1 6
1 4 4
det A3 (b) 3 0 7 3
x3 1.
det A 2 3
Example : Solve the following system of linear equations by Cramer’s Rule.
2 x1 x 2 7
3x1 2 x3 8
x 2 2 x3 3
DMU Page 76
Applied Mathematics I DMU
2 1 0 x1 7
where A 3 0 1 x x2 and b 8
0 1 2 x 3
3
det A i (b)
By Cramer’s Rule, x i (i 1, 2, 3)
det A
2 1 0
det A 3 0 1 4
0 1 2
7 1 0 2 7 0
8 0 1 3 8 1
det A1 (b) 3 1 2 6 3 det A2 (b) 0 3 2 16
x1 , x2 4 and
det A 4 4 2 det A 4 4
2 1 7
3 0 8
det A3 (b) 0 1 3 14 7
x3 .
det A 4 4 2
Activity 1: Use Cramer’s rule to solve each of the following
a) 2z + 3 = y + 3x b) –a + 3b – 2c = 7
x – 3z = 2y + 1 3a + 3c = -3
3y + z = 2-2x 2a + b + 2c = -1
2. Consider the system of homogeneous n linear equations in n unknowns Ax = 0. Discuss about the cases
that we can use Cramer’s Rule.
For the non homogeneous system Ax b , if det A 0 , then the Cramer’s rule does not give any
information whether or not the system has a solution. However, in the case of homogeneous system we have
the following useful theorem.
Theorem : A system of n homogenous linear equations in n unknowns Ax = 0, has a non trivial solution if
det A 0 . If det A 0, it has only the trivial solution x1 = x2 = … = xn = 0.
6 7 1
Example : Let A 3 5 . Find the value(s) of if Ax 0 has non- zero solution.
9 11
Solution: det A = 0
DMU Page 77
Applied Mathematics I DMU
6 7 1
3 5 0
9 11
6(2 55) 7(3 45) (33 9 ) 0
2 2 8 0
( 2)( 4) 0 or 2, 4
REMARK:
1. If A is a 2x2 matrix, the area of the parallelogram determined by the columns of A is det A.
2. If A is a 3x3 matrix, the volume of the parallelepiped determined by the columns of A is det A.
CHAPTER 4
Limits and Continuity
4.1 Limits and Continuity
4.1 Limit of a function
Introduction: The concept of limit and continuity play a fundamental role throughout the calculus.
The basic idea underlying the concept of the limit of a function at a point is to study the behavior of
at points close to but not necessarily equal to .
Example
Solution
Let us investigate the behavior of the function defined by for values of x near to 2.
The following table gives values of for values of close to 2 but not equal to 2.
DMU Page 78
Applied Mathematics I DMU
From the above table and the graph of , we see that when is close to 2 (on either side of 2), is close
to 4. We express this by saying
Limit
We write
Usually read as
If we can make the values of arbitrarily close to L (as close to L as we like) by
Taking to be sufficiently close to but not equal to .
Left-hand limit
We write
Usually read as
if we can make the values of
arbitrarily close to L by taking to be sufficiently close to and less than
DMU Page 79
Applied Mathematics I DMU
Right-hand limit
We write
Usually read as
if we can make the values of
arbitrarily close to L by taking to be sufficiently close to and greater than
By comparing limit definition with Left-hand limit and Right-hand limit, the following is true.
Example
The graph of a function is shown in the following figure. Use it to state the values (if exist) of the
following:
DMU Page 80
Applied Mathematics I DMU
Solution
Since the left and right limits are different, so we conclude that does not exist.
This time the left and right limits are same, so we have
Let be a function defined on some open interval that contains the number
, except possibly at itself. Then we say that the limit of as
approaches is L, and we write
Example
Prove that
Solution
DMU Page 81
Applied Mathematics I DMU
Step1: Preliminary analysis of the problem (guessing a value for )
that is,
Thus
Left-hand limit
Right-hand limit
DMU Page 82
Applied Mathematics I DMU
Example
Solution
Let be a positive number. Here and so we want to find a number such that
that is,
So
Thus
DMU Page 83
Applied Mathematics I DMU
4.3 Infinite limits
Let be a function defined on some open interval that contains the number , except
possibly at itself. Then
means that for every positive number M there is a corresponding number
such that
figure.
Similarly
Let be a function defined on some open interval that contains the number , except
possibly at itself. Then
means that for every negative number N there is a corresponding number
such that
DMU Page 84
Applied Mathematics I DMU
Line y = N.
Example
Solution
that is,
or
If then
DMU Page 85
Applied Mathematics I DMU
Thus
Therefore, by definition,
Definition 1
Definition 2
DMU Page 86
Applied Mathematics I DMU
Let be a function defined on some interval Then
Example
Use definition to prove that
Solution
Step 1: guessing a value for N
Given , we want to find N such that
Therefore we want
DMU Page 87
Applied Mathematics I DMU
Step 2: Proof (showing that N works)
Given , we choose
Let Then
Thus
Proof: Let
Let us take
Since then
By definition for there exists such that
--------------- (1)
Since then
By definition for there exists such that
-------------- (2)
Let
Thus from (1) and (2), for there exists such that and
Now
DMU Page 88
Applied Mathematics I DMU
Therefore our assumption that is wrong.
Therefore
Therefore is unique.
We have
Therefore proved
Theorem 3: (Sum Rule)
If and both exist, then
---------------- (1)
We make less than by making each of the terms and
less than
Since and , there exists a number such that
DMU Page 89
Applied Mathematics I DMU
Let . Notice that
If
and also
Therefore, by (1),
Therefore,
and therefore
DMU Page 90
Applied Mathematics I DMU
Since there is a number such that
Observe that
We know that we can make the numerator small. But we also need to know that the denominator
is not small when is near Since , there is a number such that,
whenever we have
and therefore
DMU Page 91
Applied Mathematics I DMU
and so, for these values of
Therefore,
Theorem 8: (Squeeze theorem)
Statement: If for all in an open interval that contains (except possibly
at ) and
DMU Page 92
Applied Mathematics I DMU
Proof: Let be given. Since there is a number such that
that is,
that is,
In particular,
and so Therefore,
Example
Find and justify each step.
Solution
(by sum and difference rule)
.
Example
Solution
DMU Page 93
Applied Mathematics I DMU
Example
Show that
Solution
First note that we cannot use
Then we have
We know that
Example
Find
Solution: because
Note that the above definition implicitly requires three things if is continuous at
DMU Page 94
Applied Mathematics I DMU
If is not continuous at , we say that is discontinuous at , or has discontinuity at .
Example
Solution
Given
i.
ii.
iii.
Therefore is continuous at
Example
Show that is discontinuous at where
Solution
i.
ii.
iii. But
Therefore, the function is not continuous at 2.
DMU Page 95
Applied Mathematics I DMU
Definition
Example
Similarly,
DMU Page 96
Applied Mathematics I DMU
The graph of is sketched in above figure. It is the lower half of the circle
Theorem: If and are continuous at and is a constant, then the following functions
are also continuous at :
Theorem
i. Any polynomial is continuous everywhere; that is, it is continuous on
Theorem
If is continuous at and is continuous at then is
continuous at .
DMU Page 97
Applied Mathematics I DMU
Theorem
If is a positive even integer, then is continuous on
If is a positive odd integer, then is continuous on .
The Intermediate value theorem states that a continuous function takes on every intermediate value
between the
Example
Let . Find a real number with such that
Solution
Here , and
So
DMU Page 98
Applied Mathematics I DMU
Example
. But hence
CHAPTER 5
DMU Page 99
Applied Mathematics I DMU
Example
Find the derivative of the function at the number
Solution
From definition of derivative, we have
Therefore,
Using the point-slope form of the equation of a line, we have the following:
If exists, then an equation of the tangent line to the curve at the point
is
Example
Find an equation of the tangent line to the parabola at the point
Solution
From definition of derivative, we have
Therefore,
Therefore the slope of the tangent line at is
Example
Find if
Solution
Consider and find the derivative of at (1, ∞). Since 1 is the left end point of domain of
we can not apply the definition of derivative her. Thus is evaluated as from the
The right-side derivative of any function at the point (a, f(a)) is defined by .
Solution: the function changes its direction suddenly at the point (1,1), we use left and right side derivative.
= =2
Then the left side derivative 2 and the right side derivative 0 are not equal.
Definition:
i, A function is differentiable on some open interval (a, b)if and only if is
differentiable at every point on (a, b).
ii, A function is differentiable on an closed interval if and only if is
ii,
Example
Find , if
Solution
Given is a constant function. So
Example
Find
Solution
Example
Proof
Proof
where
Proof
We can separate in this expression by adding and subtracting the term in the
numerator:
Example
Find if
Solution
Example
Let then
Solution
Example
Find
Solution
Let
Let then
Example
If where , find at
Solution
When , so
Alternatively,
Example
Differentiate
(a) If find .
(b) Find the equation of the tangent to the circle at the point (3, 4).
Solution
(a) Differentiate both sides of the equation
--------------- (1)
Thus,
or
Example
Find .
Solution
By using Chain Rule on the left side and the Product Rule and Chain Rule on the right side,
we get:
So
Example
If
Solution:
Solution: Given
.
Example
We see that the successive derivative occur in a cycle of length 4 and, in particular,
Therefore,
and, differentiating three more times, we have
Related Rates
In a related rates problem the idea is to compute the rate of change of one quantity in terms of the rate of
change of another quantity (which may be more easily measured). The following procedure is to find an
equation that relates the two quantities and then use the Chain Rule to differentiate both sides with
respect to time.
A ladder 10 ft long rests against a vertical wall. If the bottom of the ladder slides away from the wall at a
rate of 1 , how fast is the top of the ladder sliding down the wall when the bottom of the ladder is 6 ft
from the wall?
Solution
Differentiating each side with respect to using the Chain Rule, we have
When , the Pythagorean Theorem gives and so, substituting these values and
and we have
Example
A water tank has the shape of an inverted circular cone with base radius 2 m and height 4 m. If water is
being pumped into the tank at a rate of 2 , find the rate at which the water level is rising when the
water is 3 m deep.
Solution
We first sketch the cone and label it as in the following figure.
Let V be the volume of the water,
be the radius of the surface,
be the height at time , where is measured in minutes.
Given that and we need to find
When is 3 m.
The quantities V and h are related by the equation
so
Example
Calculate
Example
If then find
Solution
Example
Differentiate
Solution
Using the product rule, we have
Example
Differentiate
Solution
By using Quotient rule, we have
Example
Differentiate
Solution
Example
Differentiate
Solution
Example
Differentiate
Solution
Let then we have
By Chain Rule, we have
Example
Find if
Solution
Given
By using product rule, we have
Example
Differentiate
Solution: Let . Then
By using Chain Rule, we have
Example
Find
Solution
Let then
By using Chain Rule, we have
Example
Find
Solution
Let , then
Example
Find if .
Solution
Since
It follows that
Thus
Therefore
Example
Find
Solution
By using Chain Rule, we have
Example
Differentiate
Solution
Use logarithmic differentiation, we have
Example
Differentiate
Solution
We take logarithms of both sides of the equation
= Substitute for
Example
Prove (a)
Solution
(a)
or
Example:
Prove that
Solution:
Then
= -
=
=
Therefore, .
Example
Prove that
Solution
Let . Then
If we differentiate this equation implicitly with respect to , we get
Since and
we have , so
Example
Find
Solution
By using Inverse Hyperbolic Functions and the Chain Rule, we have
CHAPTER 6
Example
The function takes on its (local and absolute)
maximum value of 1 infinitely many times, since for any integer n and for all x.
Likewise, is its minimum value, where n is any
integer.
Example
If then because
Therefore is the absolute (and local) minimum value of It
is the fact that the origin is the lowest point on the Parabola
(see in the following figure). However, there is no highest point on
Mini mum val ue 0, no maxi mum
the parabola and so this function has no maximum value.
Example
From the graph of the function , (shown in following figure), we see that this function has neither
an absolute maximum value nor an absolute minimum value. In fact, it has no local extreme values either.
If f is continuous on a closed interval [a, b], then f attains an absolute maximum value f(c)
and an absolute minimum value f(d) at some numbers c and d in [a, b].
Example
The function
Is defined on the closed interval [0, 2] but has no maximum value. Note that the range of f is the interval [0,
1). The function takes on values arbitrarily close to 1 but never actually attains the value 1. This does not
contradict the Extreme Value Theorem because f is not continuous on [0, 2]. In fact, it has a discontinuity at
Fermat’s Theorem
If has a local extremum (that is, maximum or minimum) at and if exists, then
Example
Find the critical numbers of
Solution
By using the product rule, we have
Use the following steps to find absolute maximum and minimum values
To find the absolute maximum and minimum values of a continuous function f on a closed
interval [a, b]:
1. Find the values of f at the critical numbers of f in (a, b).
2. Find the values of f (a) and f (b).
3. The largest of the values from steps 1 and 2 is the absolute maximum value; the
smallest of these values is the absolute minimum value.
Example
Find the absolute maximum and minimum values of the function
Solution
Since f is continuous on [ , we can use the
when
By comparing these four numbers, we see that the absolute maximum value is and
the absolute minimum values is .
Note that in this example the absolute maximum occurs at an endpoint, whereas the absolute minimum
occurs at a critical number. We can see the graph of f in the above figure.
Many of the results of this chapter depend on one central fact, which is called the Mean Value Theore m.
But to arrive at the Mean Value Theorem we first need the
following result:
Rolle’s Theorem
Proof
The following graph shows some functions that satisfy the above three hypotheses. In each case it appears
that there is at least one point on the graph where the tangent is horizontal and therefore
Thus Rolle’s Theorem is plausible.
Example
Therefore,
Thus Rolle’s Theorem is verified.
The Mean Value Theorem
equivalently,
Proof
Define a function as ----------------- (1)
------------------------ (4)
By substituting (3) in (4), we get
Example
Verify Mean Value Theorem for the function in
Solution
Definition
A function is called increasing on an interval if
whenever in
It is called decreasing on if
whenever in
A function that is increasing or decreasing on is called monotonic on .
Example
Find where the function is increasing and where it is decreasing.
Solution
Interval
decreasing on (
Example
Find the local (relative) extrema of and
sketch its graph.
Solution
First we find the critical numbers of
Next we set up a chart, dividing the real line into intervals with the critical numbers as end points.
Interval
increasing on
decreasing on
increasing on
Example
Let using the second derivative test,
find the relative extreme values of
Solution
Note that
Concavity
If the graph of lies above all of its tangents on an interval , then it is called concave
upward on . If the graph of lies below all of its tangents on , it is called concave
downward on .
In the above figure tangents are drawn at several points. In the curve lies above the tangents and is
called on . In the curve lies below the tangents and is called
on
Point of Inflection
A point on a curve is called a point of inflection if the curve changes from concave
upward to concave downward or from concave downward to concave upward at .
Example
Determine where the curve is concave upward and where it is concave downward. Find
the inflection points and sketch the curve.
If then
Since when ,
⇔ ⇔ ⇔
⇔ ⇔ or
Therefore f is increasing on the intervals and
[1, and is decreasing on [ .
By the First Derivative Test, is a local maximum
value and is a local minimum value.
To determine the concavity we compute the second
derivative:
Since and is a
local minimum.
Since the Second Derivative Test gives no
information about the critical number . But since for
and also for the First Derivative Test tells us that
does not have a local extremum at .
Since when or , we divide the real line into intervals with these numbers as endpoints
and complete the following chart.
Interval Concavity
upward
downward
upward
The point is an inflection point since the curve changes from concave upward to concave downward
there.
Also is an inflection point since the curve changes from concave downward to concave upward
there.
Using the local minimum, the intervals of concavity, and the inflection points, we sketch the curve in the
above Figure.
B. Intercepts: The - intercept is and tells us where the curve intersects the -axis. To find the -
intercepts, we set and solve for .
C. Symmetry: (i) If for all in , that is, the
equation of the curve is unchanged when is replaced by
If it turns out that (or , then we do not have an asymptote to the right, but
that is still useful information for sketching the curve.
(For rational functions you can locate the vertical asymptotes by equating the denominator to 0 after
canceling any common factors. But for other functions this method does not apply.) Furthermore, in
sketching the curve it is very useful to know exactly which of the above statements is true. If is not
defined but is an endpoint of the domain of , then you should compute or ,
whether or not this limit is infinite.
E. Intervals of Increase or Decrease: Use the Test for Monotonic Functions. Compute and find
the intervals on which is positive ( is increasing) and the intervals on which is negative
( is decreasing).
F. Local Maximum and Minimum Values: Find the critical numbers of [the numbers where
or does not exist]. Then use the First Derivative Test. If changes from positive to
negative at a critical number , then is a local maximum. If changes from negative to positive
at , then is a local minimum. Although it is usually preferable to use the First Derivative Test,
you can use the Second Derivative Test if is a critical number such that Then
implies that is a local minimum, whereas implies that is a local
maximum.
G. Concavity and Points of Inflection Compute and use the Test for Concavity. The curve is
concave upward where and concave downward where Inflection points
occur where the direction of concavity changes.
H. Sketch the Curve Using the information in items A to G, draw the graph. Draw in the asymptotes as
broken lines. Plot the intercepts, maximum and minimum points, and inflection points. Then make
the curve pass through these points, rising and falling according
to E, with concavity according to G, and approaching the asymptotes. If additional accuracy is
desired near any point, you can compute the value of the derivative there. The tangent indicates
the direction in which the curve proceeds.
Example
Solution
A. The domain is
{
B. The - and - intercepts are both 0.
C. Since is even. The curve is symmetric about the -axis.
E.
⇔ ⇔
------------ (1)
That means for very close to
In particular, we have:
number
Solution : The derivative of is
Where both then this limit may or may not exist and is called an
Indeterminate form of type .
Similarly, if both and , then the limit may or may not exist and is
called an indeterminate form of type
We introduce a systematic method, known as L’Hospital Rule, for the evaluation of indeterminate forms.
or that and
Example 1
Find .
Solution
Since ,
we can apply L’Hospital Rule
Calculate .
Solution
We have ,
so L’Hospital Rule gives
Since the limit on the right side is also indeterminate, but a second
application of L’Hospital Rule gives
Example 3
Evaluate .
Solution
The given limit is indeterminate because while . Writing
we have as
so L’Hospital Rule gives
Indeterminate Differences
If and , then the limit
Example 4
Compute
Solution
First notice that and as , so the limit is indeterminate.
7.1. Antiderivatives
Theorem
Example
Find the most general antiderivative of each of the following functions:
(a) (b)
Solution
(a) If then so an antiderivative of sine is –cosine.
The most general antiderivative is
(b)
Example
Example
is
Example
A particle moves in a straight line and has acceleration given by Its initial velocity is
and its initial displacement is Find its position function
Solution
Note that
This gives
Suppose we choose
Note
In this example, is not a positive function and so the Riemann sum does not represent a sum of areas of
rectangles. But it does represent the sum of the areas of the rectangles above the
If then
If then
Theorem
Theorem
Example
Evaluate
Solution
Here we have
Since f is continuous, we know it is integrable.
This integral cannot be interpreted as an area because takes on both positive and negative values. But it
can be interpreted as the difference of areas , where are shown in the above figure.
Midpoint Rule
Where
and midpoint of [ ]
Example
Solution
The partition points are
So the midpoints of the five intervals are
2.
4.
5.
Solution
Using the properties 2 and 3 of integrals, we get
Example
Solution
Since
This is called the formula for integration by parts. It is perhaps easier to remember in the following
notation.
Let and Then and so, by substitution rule, the formula
for integration by parts becomes
Example
Find .
Solution
Suppose we choose
Then
Example
Evaluate
Solution
Here we do not have much choice for and . Let
Then
Example Find .
Solution
Let
Then
-------------------- (1)
Then , and
Example Calculate
Solution
Then
Therefore
Example
Evaluate .
Solution
Let where .
Then and
----------------- (1)
by using trigonometric identities,
since
since
Example
Find .
Solution
Example
Evaluate .
Solution
We can transform the integrand into a function for which trigonometric substitution is appropriate by first
completing the square under the root sign:
Then and , so
Where P and Q are polynomials. It is possible to express f as a sum of simpler fractions provided that the
degree of P is less than the degree of Q.
Such a rational function is called proper.
If
Where then the degree of P is and we write
If is improper, that is, then we divide Q into P until a remainder is obtained such
that the division statement is
Find .
Solution
Since the degree of the numerator is greater than the degree of the denominator,
we first perform the long division. This enables us to write
Example
Evaluate .
Solution
Since the degree of the numerator is less than the degree of the denominator,
we do not need to divide. We factor the denominator as
Since the denominator has three distinct linear factors, the partial fraction decomposition of the integrand
(2) has the form
----------------- (1)
Example
Find .
Solution
The first step is to divide. The result of long division is
Since the linear factor occurs twice, the partial fraction decomposition is
Multiplying by we get
Evaluate .
Solution
Since the degree of the numerator is not less than the degree of the denominator, we first divide and
obtain
Example
Evaluate
Solution
Thus
where
If is continuous on , then
Example
Find .
Solution
Here we have to be careful to use the Chain Rule in conjunction with Part 1 of the Fundamental Theorem.
Let . Then
Solution
The function is continuous on [-2, 1] and
its antiderivative is ,
means
Improper Integrals
Definite integrals when either the integrands or the interval of integrations are unbounded are
called improper integrals ,as opposed to integrals of continuous functions over bounded intervals ,which
are called proper integrals.
Integrals with unbounded integrands
We say that f is unbounded near c if f is unbounded either on every open interval of the form (c,x) or on
every open interval of the form (x,c).For example , and are unbounded near 0.
We now consider a function f that is continuous at every point in (a,b] and unbounded near a.
By assumption f is continuous on the interval [c,b] for any c in (a,b) ,so that is defined for such
c.If the one sided limit exists, then we define by the formula
Provided that the limit exists .Now for 0< c <1 we have
y
=2
And =2
1
Consequently converges ,and =2
x
1
If f is continuous at every point of (a,b) and is unbounded near both a and b,we say that
Converges if for some point d in (a,b) both the integrals and converge. Otherwise ,we
Integrals of the form and are also called improper integrals.If f is continuous on
[a, ),then is a proper integral for any b a.This fact allows us to say that converges
As before, the integral diverges otherwise. The improper integral is handled in an analogous
way.
Example. Show that diverges.
Solution. Let d=1 .We will show that ,and hence ,diverges.
= -1
And since = ,we know that diverges. This implies that diverges.
that case , = + .
Solution.The integrand is continuous on ( ).To show that the integral converges, we will show
Example
Solution
This gives or .
Thus so
that when In this case we can see from the diagram that
for
Definition
Example
8.2. Volume
Formula for a volume of revolution:
Definition
where
Example
Find the volume of the solid obtained by rotating about the -axis the region bounded by
Solution
Example
Find the volume of the solid obtained by rotating about the -axis the region between
Solution
then we subtract the corresponding volume for the region under . Thus
Work
If an object moves along a straight line with position function , then the force on the object (in the
same direction) is defined by Newton’s Second Law of Motion as the product of its mass and its
acceleration:
-------------------- (1)
In the British engineering system the fundamental unit is chosen to be the unit of force, which is the pound.
The work done is defined to be the product of the force and the distance that the object moves:
-------------- (2)
If is measured in newtons and in meters, then the unit for is a newton-meter, which is called a joule
(J).
If is measured in pounds and in feet, then the unit for is a foot-pound (ft-lb),
Example
(a) How much work is done in lifting a 1.2-kg book off the floor to put it on a desk that is 0.7 m high?
Use the fact that the acceleration due to gravity is .
(b) How much work is done in lifting a 20-lb weight 6 ft off the ground?
Solution
(a) The force exerted is equal and opposite to that exerted by gravity, so Equation (1) gives
Note
Example
When a particle is at a distance feet from the origin, a force of pounds acts on it. How much
work is done in moving it from
Solution
Example
A force of 40 N is required to hold a spring that has been stretched from its natural length of 10 cm to a
length of 15 cm. How much work is done in stretching the spring from 15 cm to 18 cm?
Solution
spring from 15 cm to 18 cm is
Definite integrals when either the integrands or the interval of integrations are unbounded are
called improper integrals ,as opposed to integrals of continuous functions over bounded intervals ,which
are called proper integrals.
We say that f is unbounded near c if f is unbounded either on eve ry open interval of the form (c,x) or on
every open interval of the form (x,c).For example , and are unbounded near 0.
We now consider a function f that is continuous at every point in (a,b] and unbounded near a.
By assumption f is continuous on the interval [c,b] for any c in (a,b) ,so that is defined for such
c.If the one sided limit exists, then we define by the formula
=2
If f is continuous at every point of (a,b) and is unbounded near both a and b,we say that
Converges if for some point d in (a,b) both the integrals and converge. Otherwise ,we
Integrals of the form and are also called improper integrals.If f is continuous on
[a, ),then is a proper integral for any b a.This fact allows us to say that converges
As before, the integral diverges otherwise. The improper integral is handled in an analogous
way.
Solution. Let d=1 .We will show that ,and hence ,diverges.
= -1
And since = ,we know that diverges. This implies that diverges.
that case , = + .
Solution.The integrand is continuous on ( ).To show that the integral converges, we will show