Mathematics For Social - 081007
Mathematics For Social - 081007
Arsi University
Department of Mathematics
June 19, 2022
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Outline
1 Propositional Logic and Set Theory
Propositional Logic
Open propositions and Quantifiers
Argument and Validity
Set Theory
2 Functions
The real number systems
Equations and Inequalities Linear Equations
Review of Relations and Functions
Polynomials, zeros of polynomials, rational functions and their graphs
Definition and basic properties of Logarithmic, Exponential, and Trigonometric
Functions and Their Graphs
Trigonometric functions and their graphs
3 Matrices and determinant
Types of Matrix and Basic Operations
Elementary Operations and its Properties
Determinant of a Matrix and its Properties
Inverse of a Matrix and its Properties
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Propositional Logic
Logic is an analytical theory of the art of reasoning whose goal is to systematize
and codify principles of valid reasoning.
Definition
A proposition (or statement) is a sentence which has a truth value (either True or
False but not both). i.e., It is an assertive or declarative sentence.
Remark
Interrogative sentences, exclamatory sentences, instructive sentences, sentences which
express ones opinion, attitude, hope, wish, etc have no truth value. Therefore such
sentences cannot be a proposition.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Exercise
Which of the following sentences are propositions? For those that are, indicate the
truth value.
1 What are you doing?
2 He is a handsome.
3 An earth is made of white cheese.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Logical connectives
Remark
Letters such as p, q, r , s etc. are usually used to denote propositions.
Connectives Proposition formed
Name Symbol Name Notation How to read
And ∧ Conjunction p∧q p and q or p also q
Or ∨ Disjunction p∨q p or q
If· · · then ⇒ Implication p⇒q p implies q or if p,then q
If and only if ⇔ Bi-implication p⇔q p if and only if q
Not ¬ Negation ¬p not p
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Cont’d· · ·
5. Negation
p ¬p
Rule-5: A proposition and its negation have opposite truth values. T F
F T
Examples
Let p: 2 is a prime number, q: 7 is a composite number and r : Cairo is the capital of
Sudan
Then, write the following propositions in words and give their truth value.
a) p ∧ q e) q ⇒ p
b) p ∨ q f) ¬p
c) p ⇒ q g) p ⇔ q
d) r ⇔ q h) ¬r ⇒ ¬q
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
The proposition formed by joining two or more proposition by connective(s) is called a
compound statement.
arithmetic.
2 If there are n propositions, then we have 2n possible combinations of truth values.
3 When dealing with compound propositions, we shall adopt the following
convention on the use of parenthesis. Whenever “∨00 or “∧00 occur with ⇒ or ⇔,
we shall assume that “∨00 or “∧00 is applied first, and then ⇒ or ⇔ is then
applied.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Equivalent Propositions
Definition
Two compound propositions P and Q are said to be equivalent if they have the same
truth value for all possible combinations of truth values for the component
propositions occurring in both P and Q. In this case we write P ≡ Q.
Example
Decide whether the following pairs of compound propositions are equivalent or not.
i) p ⇒ q, ¬p ∨ q
ii) p ⇒ q, ¬p ⇒ ¬q
iii) p ⇒ q, ¬q ⇒ ¬p
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Cont’d...
Given the conditional p ⇒ q, we give the related conditional propositions:-
q ⇒ p: Converse of p ⇒ q
¬p ⇒ ¬q: Inverse of p ⇒ q
¬q ⇒ ¬p: Contrapositive of p ⇒ q
where
Converse: The hypothesis of a converse statement is the conclusion of the
conditional statement and the conclusion of the converse statement is the
hypothesis of the conditional statement.
Contrapositive: The hypothesis of a contrapositive statement is the negation of
conclusion of the conditional statement and the conclusion of the contrapositive
statement is the negation of hypothesis of the conditional statement.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Cont’d...
Example
Write a converse, contrapositive and inverse for the following propositions
1 If Kidist lives in Addis Ababa, then she lives in Ethiopia.
2 If it is morning, then the sun is in the east.
3 (p ∧ q) ⇒ ¬r
Solutions: 1. Converse: If Kidist lives in Ethiopia, then she lives in Addis Ababa.
Contrapositive: If Kidist does not live in Ethiopia, then she does not live in Addis
Ababa.
Inverse: If Kidist does not live in Addis Ababa, then she does not live in Ethiopia.
2.Converse: If the sun is in the east, then it is morning.
Contrapositive: If the sun is not in the east, then it is not morning.
Inverse: If it is not morning, then the sun is not the east.
3.Converse: ¬r ⇒ (p ∧ q)
Contrapositive:r ⇒ ¬(p ∧ q)
Inverse:¬(p ∧ q) ⇒ r
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
A compound proposition is a tautology if it is always true regardless of the truth
values of its component propositions. If, on the other hand, a compound proposition
is always false regardless of its component propositions, we say that such a proposition
is a contradiction.
Remark
A compound proposition which is neither tautology nor contradiction is known as
Contingency.
Example
Determine whether the following propositions are tautology, contradiction or
contingency.
a) p ⇒ (q ⇒ p)
b) (p ⇒ q) ⇔ (p ∧ ¬q)
c) ¬q ∧ (p ⇒ q)
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
An open statement (also called a predicate) is a sentence that contains one or more
variables and whose truth value depends on the values assigned for the variables. We
represent an open statement by a capital letter followed by the variable(s) in
parenthesis, e.g., P(x), Q(x), R(x, y ) etc.
Example
Some examples of open propositions
1 Q(x) : x is the day before Sunday.
2 P(y ) : y is a city in Africa.
3 2x + 3y = 8
Remark
The collection of all allowable values for the variable in an open sentence is called the
universal set (the universe of discourse) and denoted by U.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
Let U be the universal set. An open proposition P(x) is a tautology if and only if
P(a) is always true for all values of a ∈ U.
Example
Consider the following open propositions with universe U = <.
i. P(x) : x 2 ≥ 0 ii. R(x) : (x + 2)(x − 3) = 0.
Then we observe that: i. P(x) is true for all x ∈ U. ii. R(x) is true for some x ∈ U.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Quantifiers
Universal Quantifier(∀)
(∀x) read as:“for every x”, “for all x”, or “for each x”.
(∀x)P(x) read as “for all x the property P(x)” holds true.
Existential Quantifier(∃)
“(∃x)00 read as “there exists an x”, “for some x” or “for at least one x”.
(∃x)P(x) read as “there exists one x such that the property P(x)” holds true.
Remark
1 To show that (∀x)P(x) is F , it is sufficient to find at least one a ∈ U such that
Example
Write the following statements using quantifiers:
i. For each real number x > 0, x 2 + x − 6 = 0.
ii. There is a real number x > 0 such that x 2 + x − 6 = 0.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
An argument (logical deduction) is an assertion that a given set of statements
p1 , p2 , · · · , pn , called hypotheses or premises, yield another statement Q, called the
conclusion. Such a logical deduction is denoted by:
p1 , p2 , · · · , pn ` Q.
Example
Consider the following argument:
If you study hard, then you will pass the exam.
You did not pass the exam. Therefore, you did not study hard.
Let p: You study hard.
q: You will pass the exam. The argument form can be written as:
p⇒q
¬q
¬p
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
An argument form p1 , p2 , · · · , pn ` Q is said to be valid if Q is true whenever all the
premises p1 , p2 , · · · , pn are true, otherwise it is invalid.
Example
Investigate the validity of the following argument:
a) p ⇒ q, ¬q ` ¬p
b) p ⇒ q, ¬q ⇒ r ` p
c) If it rains, crops will be good. It did not rain. Therefore, crops were not
good.
Remark
1 What is important in validity is the form of the argument rather than the
Rules of Inferences
1. Modes Ponens 2. Modes Tollens 3. Principle of Syllogism
p ¬q p⇒q
p⇒q p⇒q q⇒r
q ¬p p⇒r
4. Principle of Adjunction 5.Principle of Detachment 6. Modes Tollendo Ponens
a) p p∧q ¬p
q
p∧q p, q p∨q
q
b) p∨q q
7. Modes Ponendo Tollens 8. Constructive Dilemma 9. Principle of Equivalence
¬(p ∧ q) (p ⇒ q) ∧ (r ⇒ s) p⇔q
p p∨r p
¬q q∨s q
10. Principle of Conditionalization
p
q⇒p
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
A formal proof of a conclusion Q given hypotheses p1 , p2 , · · · , pn is a sequence of
stapes, each of which applies some inference rule to hypotheses or previously proven
statements (antecedent) to yield a new true statement (the consequent).
Example
Show that the hypotheses:
It is not sunny this afternoon and it is colder than yesterday.
If we go swimming, then it is sunny.
If we do not go swimming, then we will take a canoe trip.
If we take a canoe trip, then we will be home by sunset.
Lead to the conclusion: We will be home by sunset.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Solutions
Let p : It is sunny this afternoon.
q : It is colder than yesterday.
r : We go swimming.
s : We take a canoe trip.
t : We will be home by sunset.
Then
1 ¬p ∧ q hypothesis.
2 ¬p simplification using (1).
3 r ⇒p hypothesis.
4 ¬r Modus Tollens using (2) and (3).
5 ¬r ⇒ s hypothesis.
6 s Modus ponens using (4) and (5).
7 s⇒t hypothesis.
8 t Modus ponens using (6) and (7).
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Description of sets
There are four different ways of describing a set. These are:
1 Verbal Method
2 Roster or Complete Listing Method
3 Partial Listing Method
4 Set-builder Method
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Remark
For any set A, A, ∅ ⊆ A and A is not proper subset A.
If n(A) = k, then A has 2k subsets and 2k − 1 proper subsets.
Set Operations
1 Union of sets: A ∪ B = {x : (x ∈ A) ∨ (x ∈ B)}.
2 Intersection of sets: A ∩ B = {x : (x ∈ A) ∧ (x ∈ B)}.
3 Complement of Sets: A − B or A/B = {x : x ∈ A ∧ x ∈
/ B} relative complement
c 0
A or A = {x : x ∈ U ∧ x ∈
/ A} absolute complement where U is a universal set.
4 Symmetric Difference: A∆B = (A − B) ∪ (B − A).
Remark
Two sets A and B are said to be disjoint sets ifA ∩ B = ∅.
Example
Let U = {1, 2, 3, 4, 5}, A = {1, 2, 3} and B = {2, 3, 5}, then
1 Find A ∩ B, A ∪ B
2 A∆B
3 A0 , B 0
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Venn Diagram
It is the pictorial representation of the sets under discussion.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
CHAPTER 2: FUNCTIONS
Remark
N ⊂ W ⊂ Z ⊂ Q ⊂ R.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Order Properties on R
1 Trichotomy Property: ∀a, b ∈ R, only one of the following holds true
i. a < b ii. a = b iii. a > b.
2 Transitive Property: ∀a, b, c ∈ R, a < b and b < c then a < c.
3 Addition Property: ∀a, b, c ∈ R, a < b then a + c < b + c.
4 Multiplication Property: Let a, b, c ∈ R, then
a) If c > 0, a < b ⇒ ac < bc.
b) If c < 0, a < b ⇒ ac > bc.
Intervals
Let a, b, c ∈ R, such that a < b. Then the intervals which are subsets of R with end
points a and b are denoted and defined as below:
(a, b) = {x : a < x < b} - open interval from a to b.
[a, b] = {x : a ≤ x ≤ b} - closed interval from a to b.
(a, b] = {x : a < x ≤ b} - open closed interval from a to b.
[a, b) = {x : a < x ≤ b} - closed open interval from a to b.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
A linear equation in one variable is an equation that can be put in the form of
ax + b = 0, where a, b are constants and a 6= 0.
Example
8x+3
1 Find the solution set of 2 − 5(x + 2) = −3(x + 56 ).
2 Find the solution set of 6 + 3(1 − x) = 2(1 − 5x) + 7x
3 A man has a daughter and a son. The man is five times older than his daughter.
Moreover, his age is twice of the sum of the ages of his daughter and son. His
daughter is 3 years younger than his son. How old is the man and his children?
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Linear Inequalities
A linear inequality is an inequality that can be put in the form
ax + b < (>)(≤)(≥)0, where a and b are constants with a 6= 0.
For a, b, c ∈ R, if a < b, then
1. a + c < b + c 2. ac < bc when c > 0 3. ac > bc when c < 0.
Example
1 Solve the linear inequality 5x + 8(20 − x) ≥ 2(x − 5).
2 Find the solution set of 7x + 6 ≤ 3x + 2 in the set of whole numbers, W.
Quadratic Equations
The standard form of a quadratic equation is given as ax 2 + bx + c = 0 where a 6= 0.
Example
Solve the following quadratic equations: 1. 2x 2 + 5x = 3 use factorization method
2. x 2 − 4x + 2 = 3 use completing the square method
3. x 2 − 8 = −6x use general quadratic formula
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Class Activity
Solve the following quadratic equations
1 3x 2 + 4x − 15 = 0
2 18x 2 + 9x − 35 = 0
3 14x 2 + 41x + 15 = 0
4 24x 2 − 65x + 21 = 0
5 12x 2 − x − 35 = 0
6 2x 2 − 7x − 15 = 0
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Quadratic Inequalities
The standard form of a quadratic inequality is given as ax 2 + bx + c < (>)(≥)(≤)0
where a 6= 0.
Example
Solve the following quadratic inequalities
1 2x 2 + 5x ≥ 3 use factorization method.
2 x 2 − 3x < −2 use sign chart method.
Example
If A = {a, b} and B = {1, 2, 3}, then
1 Find A × B.
2 Is H = {(a, 1), (a, 3), (b, 2), (b, 3)} a relation from set A into Set B?
3 Is G = {(a, 1), (3, a), (b, 2), (b, 3)} a relation from set A into set B?
Example
The set R = {(4, 7), (5, 8), (6, 10)} is a relation from the set A = {1, 2, 3, 4, 5, 6} to
the set B = {6, 7, 8, 9, 10}. The domain of R is {4, 5, 6}, the range of R is {7, 8, 10}
and the codomain of R is {6, 7, 8, 9, 10}.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Remark
A relation R on set A is called
i. a universal relation if R = A × A.
ii. identity relation if R = {(a, a) : a ∈ A}.
iii. void or empty relation if R = ∅.
Let R be a relation from set A into set B. Then the inverse of R denoted by R −1
is a relation from set B into set A and it is defined as:
R −1 = {(b, a) : (a, b) ∈ R}.
Functions
A function is a relation in which each element of the domain corresponds to
exactly one element of the range.
A relation f from set A into set B is called a function from set A into set B
denoted by f : A −→ B if and only if
1) Dom(f ) = A
2) No element of A is mapped by f to more than one element in B. i.e., if
(x, y ) ∈ f and (x, z) ∈ f , then y = z.
Example
Determine whether the following relations are functions or not.
1 R = {(2, a), (3, b), (2, c), (4, d)}
2 G = {(a, 5), (5, b), (1, 5), (0, −1)}
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Remark
a. Dom(f + g ) = Dom(f − g ) = Dom(fg ) = Dom(f ) ∩ Dom(g ).
b. Dom( gf ) = Dom(f ) ∩ Dom(g )/{x : g (x) = 0}
Example
If f (x) = 3x 2 + 2 and g (x) = 5x − 4, then find
(f + g )(x), (f − g )(x), (fg )(x), (f /g )(x) and their domain.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Composition of Functions
Given two functions f (x) and g (x) the composition of the two functions is denoted by
f ◦ g and is defined as:
(f ◦ g )(x) = f [g (x)]
Dom(f ◦ g ) consists of those x 0 s in the domain of g for which g (x) is in the domain
of f .
Example
Let f (x) = 2x 2 + 3x + 2 and g (x) = 5x − 2 then find (f ◦ g )(x) and (g ◦ f )(x).
Definition
Two functions are said to be equal if and only if the following two conditions hold:
i) The functions have the same domain;
ii) Their functional values are equal at each element of the domain.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Types of functions
A function f : A −→ B is called one to one, if and only if for all
x1 , x2 ∈ A, f (x1 ) = f (x2 ) implies x1 = x2 . In words, no two elements of A are
mapped to one element of B.
Let f be a function from a set A into a set B. Then f is called an onto
function(or f maps onto B) if every element of B is image of some element in A,
i.e, Range(f ) = B.
A function f : A −→ B is said to be a 1 - 1 correspondence if f is both 1 - 1 and
onto.
Example
Which function is one to one, onto and 1 - 1 correspondence?
1 f = {(1, 2), (2, 5), (−1, 0), (0, 1)}
2 g = {(−1, 1), (0, 0), (1, 1), (2, 3)}
3 Let A = {1, 2, 3}, B = {1, 4, 5} then f = {(1, 1), (2, 5), (3, 4)}
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Inverse Functions
If a function is one to one, to find the inverse we will follow the steps below:
1. Interchange x and y in the equation y = f (x).
2. Solving the resulting equation for y , we will obtaining the inverse function.
Remark
The domain of the inverse function is the range of the original function and the range
of the inverse function is the domain of the original function.
Example
x
Find the inverse function for f (x) =
x +2
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Remark
The domain of a polynomial function is the set of all real numbers.
Example
√
p(x) = 2x 2 + 1, q(x) = 3x 4 + 2x − π are examples of polynomial functions.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Zeros of a polynomial
Division Algorithm
Let p(x) and d(x) be polynomials with d(x) 6= 0 and with degree of d(x) less
than or equal to the degree of p(x). Then there are polynomials q(x) and R(x)
such that
Example
Find zeros and multiplicity of p(x) = 2x 4 + 8x 3 + 10x 2
Remark
n(x)
Let f (x) = be a rational function. Then,
d(x)
if d(a) = 0 and n(a) 6= 0, then x = a is a VA of f .
if d(a) = 0 = n(a), then x = a may or may not be a VA of f .
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Cont’d
Remark
n(x)
1 A rational function f (x) = has a HA only when
d(x)
degree(n(x)) ≤ degree(d(x)). In this case,
If degree(n(x)) < degree(d(x)), then y = 0(the x-axis) is a HA of f .
n
+an−1 x n−1 +···+a1 x+a0
If degree(n(x)) = degree(d(x)) = n, i.e., f (x) = bann xx n +b n−1 x
n−1 +···+b x+b , then
1 0
y = bann is the HA of f .
n(x)
2 A rational function f (x) = has an OA only when
d(x)
degree(n(x)) = degree(d(x)) + 1. In this case, using long division, if the
quotient of n(x) ÷ d(x) is ax + b, then y = ax + b is the OA of f .
Example
x +2 x 2 + 3x + 2
Sketch the graphs of (A) f (x) = , (B) g (x) =
x −1 x2 − 1
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
x +2 x 2 + 3x + 2
graphs of (A) f (x) = , (B) g (x) =
x −1 x2 − 1
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
xn
4 = x n−m
xm
Example
Evaluate the following
1 272/3
2 36−1/2
3 (−32)−3/5
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
A function of the form y = f (x) = b x , where b > 0 and b 6= 1, is called an
exponential function.
1
The functions f (x) = 2x , g (x) = 3x+1 and h(x) = ( )x are examples of exponential
2
functions.
1 The domain of the exponential function is the set of real numbers.
2 The range of the exponential function is the set of positive real numbers.
3 The graph of y = b x exhibits exponential growth if b > 1 or exponential decay if
0 < b < 1.
4 The y − intercept is 1 and the x− intercept is a horizontal asymptote.
5 The exponential function is 1 − 1. Algebraically if b x = b y , then x = y .
Example
Sketch the graph of the function y = 3x + 1 and identify its domain and range.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Logarithmic Functions
Definition
For b > 0 and b 6= 1, we write y = logxb to mean y is the exponent to which b must
be raised to yield x. In other words, x = b y ⇔ y = logxb .
The table below illustrates the equivalence of the exponential and logarithmic forms.
Exponential form Logarithmic form
42 = 16 log16
4 =2
1
1
5−3 = 125 log5125 = −3
70 = 1 log17 = 0
Example
1 Evaluate log81
3
2 Given f (x) = logx5 , find
a. f (25)
b. f (0)
c. f (−125)
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Example
(x−2)
1 Sketch the graph of f (x) = 1 + log3 . Find the domain, range, asymptote and
intercepts.
2 Find the inverse function for
i) y = f (x) = 3x + 4
(x−2)
ii) y = g (x) = log3
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Properties of logarithm
Assume that b, u and v are positive and b 6= 1. Then
(uv )
1 logb = logub + logvb
(u)
2 logbv = logub − logvb
(u r )
3 logb = r logub
x
4 logbb = x logbb = x
x
5 b logb = x
f (x) = logx10 is called the common logarithm function. We write logx10 = log x.
f (x) = logxe is called the natural logarithm function. We write logxe = ln x.
Example
1 Express in terms of simpler logarithms. √
xy
(x 3 y ) (x 3 +y ) ( )
z3
(a) logb (b) logb (c) logb
2 Evaluate log 1000.
3 Find the inverse function of f (x) = e x + 1.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
Trigonometry is the branch of mathematics which deals with the measurement of
sides and angles of triangles.
Angle:
An angle is called positive if the direction of rotation of ray from the initial side
to the terminal side is anti-clockwise.
An angle is called negative if the direction of rotation of ray from the initial side
to the terminal side is clockwise.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Cont’d
There are two systems of measuring angles.
Sexagesimal System: Where the unit of measuring an angles is degree.
Circular System: Where the unit of measuring an angles is radian.
To see the connection b/n the degree measure and radian measure of an angle, let us
consider an angle θ and draw a circle of radius r with the vertex of θ at its center O.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Example
1 Convert each of the following radian measures to degrees
(i) π6 (ii) 3π
5
2 Convert to radian measures
(i) 900 (ii) 2700
Periodic Function
A function y = f (x) is called periodic if there exists a number p such that
f (x + p) = f (x) for all x in the domain of f . The smallest such number p is called
the period of the function.
♣ Sine and cosine function has 2π period. Tangent has π.
Example
Sketch the graph of y = sin 2x and find its amplitude, period and frequency
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
A matrix is a rectangular array of numbers or variables, arranged into m horizontal
lines and n vertical columns which we will enclose in brackets.
a11 a12 . . a1n
a21 a22 . . a2n
A= .
. . . .
am1 am2 . . amn
Note:
Since matrix A has ’m’ rows and ’n’ columns we say it is an m × n(m by n)
matrix. i.e; m × n is the size(dimension) of a matrix.
A = (aij )m×n m, n ∈ N where aij is the element in the i th row and j th column
The i th -row is denoted by Ai = [ai1 ,ai2 , ai3 , ..., ain ]
a1j
th
The j -column is denoted by Aj = .
amj
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Example
1 2 3 4
Let A = −2
1 0 3 Find (a) The dimension of A (b) a23 , a32 , a33 and a25
0 7 8 5
(c) the second row and the third column
Definition
Let A be an m × n matrix. A submatrix of matrix A is any matrix of size r × s with
r ≤ m and s ≤ n, which is obtained by deleting any collection of rows and/or columns
of matrix A.
Example
2 5 7
Express A = −9 12 4 As the sum of a lower and upper triangular matrix and
15 −13 6
upper triangular matrix with zero leading diagonals.
Basic operations
If A = (aij ) and B = (bij ) are both m × n matrices then the sum of A and B is given
by
Remark
1 Two matrices of the same order are said to be comfortable for addition and
subtraction.
2 Two matrices of different orders can not be added or subtracted.
Example
2 5 7
1 2 3 −1 5 −2
1 If A = ,B= and C = −9 12 4,
−1 0 2 2 2 −1
15 −13 6
then find A) 2A − 3B B) A + C
8 4 3 2
2 If A = and B = , then find matrix C such that 2A + 4B − 3C = 0.
3 7 1 5
1 0 2
3 If the matrix A = 2 −1 3, then find B if A + B is a diagonal matrix?
2 3 4
Definition
Let A = (aij )m × n and B = (bij )m × n, A is equal to B(A = B) if A and B have
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Example
x + y 2z + w 3 5
1 Find x, y , z and w if =
x −y z −w 1 4
3x −1 4 1 26 0
2 Solve 2( + )=
8 5 −2 −y 12 8
2 (A + B) + C = A + (B + C ) (Associativity)
5 k (A + B) = k A + k B
1 1 1
6 (k + k )A = k A + k A
1 2 1 2
7 (k k )A = k
1 2 1(k2 A)
8 1A = A
Remark
The set of all m × n matrices is a vector space with addition and scalar multiplication.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
Given A = (aij )m×n and B = (bij )n×m where aij = bji , then B is called the transpose
of A and denoted by B = At
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Transpose of A matrix
Example
Find the transpose of A if
1 A =
1 2 3
−1 0 2
2 A = 2 3 5
Note:
A matrix A such that A = At is called a symmetric matrix (i.e aij = aji ∀i, j)
A symmetric matrix is necessarily a square matrix.
A + At must be always symmetric matrix.
Example
1 2 3 1 −1 2
A = 2 4 −5, B = −1 0 3
3 −5 6 2 3 7
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
A matrix A such that At = −A is called skew-symmetric matrix (i.e
−aij = aji ∀i, j) and A − At must be a skew-symmetric matrix.
A matrix A is called Orthogonal if AAt = At A = I (i.e At = A−1 )
Example
0 5 7 0 −5 −7
Let A = −5 0 3, At = 5 0 −3 then A is skew symmetric.
−7 −3 0 7 3 0
Example
1 −1
√ √
C = 12 2
1 is orthogonal matrix
√ √
2 2
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Remark
Elements of main diagonal of a skew-symmetric are all zero. i.e.,
aii = −aii implies aii = 0.
Properties of Transpose
Let A, B be matrices, then
1 (A + B)t = At + B t
2 (At )t = A
3 (AB)t = B t At
4 (kA)t = kAt for some k ∈ R
Remark
For any matrix (not necessarily square), then
B t B are symmetric,
BB t are symmetric.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Remark
If A and B are m by n matrices and B is said to be row equivalent to A(A ∼ B) If B
can be obtained from A by a finite sequence of elementary operations.
Example
1 2 3 4
Let A = 5 6 7 8 Find the row equivalent matrix of A
3 −4 5 −6
1 R ↔ R
2 3
2 R1 → −3R1
3 R1 → R1 + 2R3
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
A matrix is called an echelon matrix(in echelon form (REF)) if
1 Any zero rows are at the bottom of the matrix
2 Each leading non-zero entry is to the right of the leading non-zero entry in the
preceding row
Example
1 Which of the followingis in echelon
form
0 0 0 0 1 2 3 4 0 −1 3
i) A = 0 1 2 3 ii) B = 0 3 −1 1iii) C = 0 1 2
4 −1 5 7 0 0 1 2 0 0 0
2 Reducethe following to echelon form using elementary
row operations
1 2 −3 0 1 −2 2 −1 1 2 3
i) A = 2 4 −2 2 ii) B = 2 −1 3 2 iii) C = 4 5 −6
3 6 −4 3 3 1 2 3 7 8 9
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
A matrix A is said to be in row canonical (Row Reduced Echelon Form (RREF))
if
1 A is in echelon form
2 Each leading non-zero entry(element) is one.
3 Each leading non-zero entry(element) is the only non-zero entry in its column.
Example
1 Which of the following is
in reducible
echelon form or
row canonical form
1 0 5 0 2 1 2 3 4 5
i) A = 0 1 2 0 4 ii) B = 0 0 5 −4 7
0 0 0 1 7 0 0 0 0 0
2 Reducethe following is in row canonical
form
2 3 4 5 6 2 2 −1 6 4
i) A = 0 0 3 2 5 ii) B = 4 4 −1 10 13
0 0 0 0 4 6 6 0 20 19
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
If A is a square matrix, then the trace of A (tr(A)) is the sum of the entries in the
main diagonal of A (The trace of A is undefined if A is not a square matrix).
If
a11 a12 a13 . . . a1n
a21 a22 a23 . . . a2n
a31 a32 a33 . . . a3n
.
A= . . . . . .
. . . . . . .
. . . . . . .
an1 an2 an3 . . . ann
then tr (A) = a11 + a22 + a33 + ... + ann
Example
−1 2 7 0
3 5 −8 4
Find the trace of A =
1 2 7 −3
4 −2 1 0
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Remark
The determinant of n × n matrix is called determinant of order n
Determinant of order 1 × 1
A determinant of a matrix with order 1 is a single number associated with it. For
example: A = [−2], B = [3], C = [sin x], then |A| = | − 2| = −2, |C | = | sin x| = sin x.
Determinant of Order 2 × 2
a11 a12
Let A be a 2 × 2 matrix A = , then
a21 a22
a a
det(A) = A = 11 12 = a11 a22 − a12 a21
a21 a22
Example
1 3 3 4
Find det(A) if a) A = b) A =
2 5 −1 2
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Determinant of order 3 × 3
a11 a12 a13
Let A be a 3 × 3 matrix A = a21 a22 a23
a31 a32 a33
Aij denotes the 2 × 2 sub matrix of A obtained by removing its i th row and j th
column.
The determinant Mij = |Aij | is called the minor of elements aij of A.
The sign together with minor Cij = (−1)i+j |Aij | is called the cofactor of aij of
A. Thus Cij = (−1)i+j Mij .
Definition: The determinant of a 3 × 3 matrix (by expanding along the first row) is
a11 a12 a13
a21 a22 a23 = a11 c11 + a12 c12 + a13 c13
a31 a32 a33
Example
1 2 1
Let A = 3 1 2, then find determinant of A by expanding along first row,first
−1 4 5
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
If A is a 3 × 3 matrix, det(A) can be evaluated by the diagonal expansion (subtracting
the south west diagonal from the south east diagonal)
det(A) = p1 + p2 + p3 − (p4 + p5 + p6 ),where
p1 = a11 a22 a33 , p2 = a12 a23 a31 , p3 = a13 a21 a32 , p4 = a13 a22 a31 , p5 = a11 a23 a32 , p6 =
a12 a21 a33
Or using sarrus diagram
Example
2 6 −1
Let A = 5 3 −7 Find determinant of A
−4 −2 1
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Remark
1 A square matrix A is called
Non-singular if |A| =
6 0.
Singular |A| = 0.
2 If AB = C , then |C | = |A||B|.
Note: We can simplify calculating determinant of order ’n’ if we choose the row or
column with the greatest number of 0’s to expand.
Example
−5 2 0 3
0 0 0 −3
1 Find the determinant of A =
4 5 −2 6
0 3 2 −4
6 x
2 Find the value of x if the matrix A is singular where A =
2 5
Remark
For any square matrix A, det(A) = det(At ).
If A and B are two matrices for which the product AB is defined, then
det(AB) = det(A)det(B).
If c ∈ R and A is an n × n matrix, then |cA| = c n |A|.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Properties of Determinant
1 If any two rows or columns of a matrix changed, the determinant changes its
algebraic sign.
2 If two any row (column) is added a constant k times the corresponding elements
of another row(column) then the determinant remains unchanged.
3 If A has two identical rows (columns) and if there is zero row/column then the
determinant is zero.
4 If any two row (column) is the sum of two or more elements then the
determinant can be expressed as the sum of two or more determinants.
5 If A is a triangular matrix the determinant is the product of the entries on its
a11 a12 a13
main diagonal. 0 a22 a23 = a11 a22 a33
0 0 a33
6 Determinant of identity matrix is 1.
Example
If det(A) = −4, then find det(A2 ) and det(A4 )?
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Remark
1 Inverse of a matrix is only defined for a square matrix.
Example
2 2
Let A = check whether it is invertible or not?
2 2
Definition
Let A be a matrix and let C be its cofactor matrix, then C t of C is called the adjoint
of A denoted by (Adj(A))
c11 c21 c31
Adj(A) = C t = c12 c22 c32
c13 c23 c33
For matrix A , A(Adj(A)) = (Adj(A))A = |A|I , then
Adj(A)
A−1 =
|A|
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Example
1 2 1
1 Find the inverse of the matrix i) A = 2 3 2
3 2 2
1 2 3
ii) B = 4 5 −6
7 8 9
Properties
1 If B is inverse of A, then A is also an inverse of B.
2 If A is invertible its transpose At also invertible
3 If A−1 is the inverse of A, then (A−1 )t is the inverse of At .
4 If A−1 exists, it has the inverse A; (A−1 )−1 = A
5 If A,B are invertible, then so is AB and (AB)−1 = B −1 A−1
6 Every invertible matrix is a product of elementary matrix.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Example
If A and B are 2 × 2 matrices and if |A| = 2 and |B| = 2, then find |3(AB t )t A−1 |?
Rank of a Matrix
Rank of a matrix is the number of linearly independent rows of a matrix
Let A1 , A2 , ..., An are linearly dependent rows of A and if A1 , A2 , ..., Ar are linearly
independent then rank of A is rank(A) = r
Definition: The rank of A is defined as
0 0 0
1 If A is the zero matrix, r (A) = 0 If A = 0 0 0
0 0 0
2 If A is a non-zero matrix, its rank is equal to the order of the largest
Example
Find the rank of the following matrix
1 2 3
0 0 2 1 2 1
i) A = ii) B = iii) C = iv) D = 4 5 6
0 0 4 3 4 2
3 2 1
Cont’d
x1 b1
x2 b2
x3 b3
X = and B =
.
.
. .
xn bm
B is called the matrix of constant
X is called the matrix of unknowns
A is called the matrix of coefficient
a11 a12 a13 . . . a1n b1
a21 a22 a23 . . . a2n b2
a31 a32 a33 . . . a3n b3
Note: The matrix (A, B) = .
. . . . . .
. . . . . . .
am1 am2 am3 . . . amn bm
is called the augmented matrix of system of linear equation. If the matrix of
constant is a zero matrix then the system of equation is called homogeneous system
of equation
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Example
Write
the following as matrix equation and
augmented form?
2x + y + 3z = 1 3x − 2y + z + 2w = 0
1. 4x − y + 2z = 7 2. y +x −w −z =0
x + 5y − 6z = 6 −2y + 2x + 3z = 0
Example
1 Determine whether the system of linear equation is consistent or not (find the
solution
if any)
x + y + z = 1
2x + y − 2z = 4
a) 2y + 4z = 2 b) x − 2y + z = −2
2x + 7z = 5 5x − 5y + z = −2
x + 2y + 3z = 1
c) 2y + 2z = −2
−2y − 2z = 3
Example
Solve the following system of equation by gauss elimination
x + 2y − z = 3 2x − 5y + z = 6
i) 2x − 2y + 3z = 2 ii) x − 3y + 4z = 3
−y + x + z = −1 3x − 8y + 11z = 11
Example
Solve the system of equation using Crammer’s rule
1 2
=
x −1 y −3
y
=x +1
4
Crammer’s
rule for solving a system of three linear equations in three unknowns.
a1 x + b1 y + c1 z = k1
If a2 x + b2 y + c2 z = k2
a3 x + b3 y + c3 z = k3
a1 b1 c1 k1 b1 c1 a1 k1 c1
then ∆ = a2 b2 c2 ,∆x = k2 b2 c2 , ∆y = a2 k2 c2 and
a3 b3 c3 k3 b3 c3 a3 k3 c3
a1 b1 k1
∆z = a2 b2 k2
a3 b3 k3
∆x ∆y ∆z
x= ,y = and z =
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Example
1 Solve the following system of equation using
Crammer’s rule
2x − y + z = −2
x + 2y − 4z = 1
i) x + 2y + 3z = −1 ii) 2x + y − 5z = −1
x − 3y + 2z = 3 x − y − z = −2
2x + y + 7z = −28
0.3l + 0.2h = 550
iii) x − y + 3z = −15 iv) 0.2l + 0.4h = 500
3x + 2y − z = 5 0.4l + 0.3h = 750
1 −1 1 1 x
2 Let A−1 = 3 1 2 , B = 2 and X = y , then the solution of
1 3 2 3 z
AX = B?
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
x = A−1 b.
Example
Use matrix inversion to solve the following linear system.
1
x1 − x2 = 1
x1 + x2 = 3
x1 + 3x2 + x3 = 1
x1 + 2x2 = −2
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
Suppose f is a function and c is a fixed real number.
1 A real number L is called the left-hand limit of f at c, if and only if for all values
of x sufficiently close to c from the left side of c, the corresponding values of f
approach to L. i.e., limx→c − f (x) = L.
2 A real number R is called the right-hand limit of f at c, if and only if for all
values of x sufficiently close to c from the right side of c, the corresponding
values of f approach to R. i.e., limx→c + f (x) = R.
Definition
Suppose f is function and c is a fixed real number. A real number L is called the limit
of f at c if and only if the left and right-hand limits exist and are both equal to L;
Example
2x + 1, for x ≤ 2
1 Let f (x) = then find limx→2 f (x)
x + 3, for x > 2
4 − x 2 , for x ≤ 1
2 Let g (x) = then find limx→1 g (x)
1 + x 2 , for x > 1
Remark
If a function f has a limit as x approaches a number c, then the limit is unique; i.e., if
limx→c − f (x) = L1 and limx→c + f (x) = L2 , then L1 = L2 .
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Example
Evaluate the following limits:
1 Let f (x) = 2x, g (x) = 3x 2 − 2, 4 limx→π x cos x
then find limx→2 (f ± g )(x) 5 limx→1 2x 2 + 3x − 2
p
2 limx→ π2 5 sin x 6 limx→4 3 (x 2 + 2x + 3)2
x 3 −27 x 2 −9
3 limx→3 x−3 7 limx→3 e x+3
Theorem
(Squeezing (Sandwich) Theorem)
Suppose that f (x) ≤ g (x) ≤ h(x) for all x in some open interval containing c except
possibly at c itself. Suppose also that: limx→c f (x) = limx→c h(x) = L. Then
limx→c g (x) = L.
Example
1 Find limx→0 x 2 sin x1
cos x−1
2 Evaluate limx→0 x
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
Suppose f is a function and c is a fixed real number. We say that the line x = c is a
vertical asymptote of the graph of f if and only if either limx→c − f (x) = ±∞ or
limx→c − f (x) = ±∞.
Example
x +2
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Limit at Infinity
Suppose f is a function defined on an interval of the form (c, ∞)[(−∞, c)], for some
c ∈ R. We say that the limit of f (x) as x approaches to infinity(negative) is the
number L, and write limx→±∞ f (x) = L if when x is assigned sufficiently large
positive(small negative) values, the corresponding values of f approach to L.
Definition
If for a function f and a real number L, limx→∞ f (x) = L or limx→∞ f (x) = L, then
the line y = L is called a horizontal asymptote to the graph of f .
Example
3x 2 − x + 1
Find a horizontal asymptote to the graph of
2x 2 + 5
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definition
If for a function f and for two real numbers a and b limx→±∞ [f (x) − (ax + b)] = 0,
then the line y = ax + b is called an oblique (or a skew) asymptote to the graph of f .
p(x)
In general, for a rational function f (x) = , we have
q(x)
When degree p(x) < degree q(x), limx→±∞ f (x) = 0 and the x−axis is a
horizontal asymptote of f .
When degree p(x) = degree q(x), then f has a horizontal asymptote given by
the quotient of the leading coefficients of p and q.
When degree p(x) > degree q(x), then limx→±∞ f (x) = ±∞, and in particularly
if degree p(x) =degree q(x) + 1, then f has an oblique asymptote obtained as a
quotient when we divide p(x) by q(x).
Example
4x 2 + 5x − 1
Find all asymptotes of f (x) = .
x +3
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Remark
1 limx→±∞ (1 + x1 )x+a = e for any real number a.
2 limx→±∞ (1 + xa )x = e a for any real number a.
Example
Evaluate
1 limx→∞ (1 + x1 )x+3
2 limx→∞ (1 − x5 )x
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Continuity of a Function
A function f is continuous at a point c, iff the following three conditions are satisfied:
1 f (c) is defined,
2 limx→c f (x) exist,
3 limx→c f (x) = f (c).
Example
Check whether the following functions are continuous or not.
2x + 1, for x ≤ 2
1 f (x) = at x = 2
x + 3, for x > 2
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Theorem
Suppose f and g are functions with common domain such that both f and g are
continuous at c. Then
1 f ± g is continuous at c.
2 if k is a scalar, kf is continuous at c.
3 fg is continuous at c.
4 if g (c) 6= 0, gf is continuous at c.
Remark
a) Any polynomial is continuous everywhere; that is, it is continuous on
R = (−∞, ∞).
b) Any rational function is continuous wherever it is defined; that is, it is
continuous on its domain.
c) If g is continuous at c and f is continuous at g (c), then the composite
f ◦ g function given by (f ◦ g )(x) = f (g (x)) is continuous at c.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Theorem
Suppose that f is continuous on the closed interval [a, b] and let L be any number
between f (a) and f (b), where f (a) 6= f (b). Then there exists a number c in (a, b)
such that f (c) = L.
Example
Let f (x) = 2x + 5. Find a real number c with 2 < c < 5 such that f (c) = 13
Theorem
Suppose f is continuous on a closed interval [a, b] and assume that f (a) and f (b)
have opposite signs. Then there is at least one c ∈ (a, b) such that f (c) = 0. For
example, Let f (x) = 2x 3 + 3x 2 − 23x − 12 on [-1, 1].
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Derivatives
Let c be a number in the domain of a function f . If
f (x) − f (c)
lim
x→c x −c
exists, we call this limit the derivative of f at c, and denote it by f 0 (c), so that
f (x) − f (c)
f 0 (c) = lim
x→c x −c
If this limit exists we say that f has a derivative at c, or f is differentiable at c or
f 0 (c). exists.
Example
Find the derivatives of f (x) = 3x 2 + 2x − 6
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Theorem
Suppose f and g are differentiable at x, and k is a constant, then
The sum and difference rule:(f (x) ± g (x))0 = f 0 (x) ± g 0 (x)
The constant rule:
a. (kf (x))0 = kf 0 (x)
b. f 0 (k) = 0
The power rule:
a. f 0 (x n ) = nx n−1 n is any number.
b. f 0 (x −n ) = −nx −n−1 n is any number.
The product rule:(f (x)g (x))0 = f 0 (x)g (x) + g 0 (x)f (x)
f (x) 0 f 0 (x)g (x) − g 0 (x)f (x)
The quotient rule:( ) =
g (x) [g (x)]2
The chain rule: (f ◦ g )(x)0 = f 0 (g (x))g 0 (x)
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Examples: Evaluate
1 f (x) = 2x sin x
2 g (x) = 5x 4 − 2x 3 + x 2 + 7x − 1
3x 2 − 5
3 h(x) =
2x + 1
4 k(x) = cos(x 2 + 1)
Example
Find the derivatives of a. f (x) = 3x b. f (x) = logx5
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Higher Derivatives
If f 0 (x) is differentiable, it is denoted by (f 0 )0 (x) = f 00 (x) is called the second
derivative of f. The nth derivative of f at a is
f n−1 (x) − f n−1 (a)
f n (a) = limx→a
x −a
In Leibniz notation the second , third, fourth and nth derivatives of y with respect to
2 3 4 n
x are respectively written as ddx y2 , ddx y3 , ddx y4 and ddxyn . Read respectively as “d squared
y , dx squared”, “d cubed y , dx cubed”, so on.
Example
Find f 5 (x) of the following functions:
1 f (x) = 8x 4 + 5x 3 − x 2 + 7
1
2 f (x) =
x
3 f (x) = sinx
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Extrema of a Function
Let f be a function defined on an interval I . If there is a number d in I such that
f (x) ≤ f (d) for all x in I , then f (d) is called the maximum value of f on I . Similarly,
if there is a number c in I such that f (x) ≤ f (c) for all x in I , then f (c) is called the
minimum value of f on I . A value of f that is either a maximum value or a minimum
value of f on I is called an extreme value of f on I .
Theorem
Let f be continuous on a closed bounded interval [a, b]. Then f has a maximum and
a minimum value on [a, b].
Example
1 Find the extreme values of f (x) = x 2 on I = [−2, 4].
1
2 Find the extreme values of f (x) = , x 6= 0 on I = [−1, 2].
x
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Theorem
Let f be defined and continuous on [a, b]. If f has an extreme value at c in (a, b) and
f is differentiable at c, then f 0 (c) = 0.
Example
Find the extreme values of f (x) = x 3 − 3x + 1 on I = [−3, 3].
Monotonic Functions
Suppose f is a function defined on an interval I .
1 f is said to be increasing on I if f (x1 ) ≤ f (x2 ) whenever x1 < x2 .
2 f is said to be strictly increasing on I if f (x1 ) < f (x2 ) whenever x1 < x2 .
3 f is said to be decreasing on I if f (x1 ) ≥ f (x2 ) whenever x1 < x2 .
4 f is said to be strictly decreasing on I if f (x1 ) > f (x2 ) whenever x1 < x2 .
5 f is said to be monotonic on I if f is either increasing or decreasing on I .
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Theorem
Suppose f is continuous and differentiable on an interval I .
1 If f 0 (x) > 0, for every x ∈ I , then f is strictly increasing on I .
2 If f 0 (x) < 0, for every x ∈ I , then f is strictly decreasing on I .
Example
Find the intervals over which the following function f (x) = x 3 − 3x + 1 is monotonic.
Theorem
(First Derivative Test) Let f be continuous on an interval I , and let c ∈ I .
1 If f 0 (x) changes its sign from positive to negative at c i.e, if f 0 (x) > 0 to the left
of c and f 0 (x) < 0 to the right of c, then f has a relative maximum value at c.
2 If f 0 (x) changes its sign from negative to positive at c, then f has a relative
minimum value at c.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Theorem
(Second Derivative Test) Let f be differentiable in an interval I and let c ∈ I with
f 0 (c) = 0.
1 If f 00 (c) < 0, then f (c) is a relative maximum value of f .
2 If f 00 (c) > 0, then f (c) is a relative minimum value of f .
3 If f 00 (c) = 0, then we can not draw any conclusion about f (c).
Example
Find the local extreme values of
1 f (x) = x 3 − 3x + 1
4x
2 f (x) = 2
x +4
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Example
1 A landowner wishes to use 2000 meters of fencing to enclose a rectangular
region. Suppose one side of the land lies along a river and does not need fencing.
What should be the sides of the region in order to maximize the area?
2 Ethiopian Airlines offers a round trip discount on group flight from Addis Ababa
to Lalibela. If x people sign up for the flight, the cost of each ticket is to be 1000
– 2x Birr. Find the number of people the airline gets maximum revenue from the
sales of tickets for the flight.
3 A manufacturer wishes to produce rectangular containers with square bottom
and top each of which is to have a capacity of 1000 cubic inches. If the cost of
production of each container is proportional to its surface area, what should be
the dimensions so as to minimize the cost of production?
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Curve Sketching
Guidelines in sketching the graph of a function y = f (x).
1 Determine the domain of the function f .
2 Find the intercepts of the function f . x−intercepts are points of the form (x, 0)
and y −intercepts are points of the form (0, y ).
3 Determine the asymptotes, if any, of the function f .
A line x = c is a vertical asymptote of the graph of f iff limx→c + f (x) = ±∞ or
limx→c − f (x) = ±∞.
A line y = L is a horizontal asymptote of the graph of f iff limx→∞ f (x) = L or
limx→−∞ = L.
A line y = ax + b is an oblique (or skew) asymptote of the graph of f iff
limx→±∞ [f (x) − (ax + b)] = L.
4 Determine the intervals of monotonicity of the function f .
f is increasing for all x at which f 0 (x) > 0
f is decreasing for all x at which f 0 (x) < 0
5 Find extreme values of f , if any. Find the critical points of f and apply the first or
second derivative tests to determine whether they are relative extreme points or
not.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Example
x −2
1 Sketch the graph of f (x) =
x +2
1
2 Sketch the graph of f (x) = x + for x 6= 0
x
Related Rates
From the concept of derivatives, we know that the time rate of change of any
quantity u is given by du
dt .
Then, from the relation y = f (x), the time rate of change of a variable y is
evaluated as dy dy dx
dt = dx dt
dx
where dt is the rate of change of variable x at a given instant of time t,
dy
dt is the rate of change of the variable y at the instant time t.
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
The distance of a particle starts from some point in a time t is given by s(t)
which is called position.
The average speed of the particle between two times t1 and t2 (with t1 < t2 ), is
given by
change in distance s(t2 ) − s(t1 )
Average speed = = .
change in time t2 − t1
If s(t) denotes the position function of the particle its velocity is given by
ds
v (t) = s 0 (t) = − rate of change of position.
dt
Similarly, the acceleration of the particle can be obtained by
dv
a(t) = v 0 (t) = − rate of change of velocity .
dt
Example
1 Water is flowing into a vertical cylindrical tank of radius 2 feet at the rate of
8ft 3 /min. How fast is the water level rising after t minutes?
2 Two automobiles start from a point A at the same time. One travels west at
60km/hr and the other travels north at 35km/hr . How fast is the distance
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Remark
The process of finding anti-derivative is called Integration,thus
d R R
[F (x)] = f (x) implies f (x)dx = F (x) + c on f (x)dx = F (x) + c
dx
R
-integral sign or indefinite integral, and f (x) - integrand.
c - constant of integration and x - variable of integration.
dx - tells us with respect to what variable we integrate
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Example
3x 2 dx = x 3 + c
R
a)
e x dx = e x + c
R
b)
R
c) R sin xdx = − cos x + c
d) sec2 xdx = tan x + c
e) x1 dx = ln |x| + c
R
R
f) csc x cot xdx = − csc x + c
Example
Evaluate the following integrals
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Theorem
0
If
R g (x) is continuous
0
Rfor allx ∈ [a, b] and f is continuous at g (x), then
f (g (x))g (x)dx = f (u)du.
Remark
sin axdx = − 1a cos ax + c, and cos bxdx = b1 sin bx + c.
R R
In general
1 − cos 2x 1 + cos2x
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
2: Integration by Part
The method of integration by parts is basically developed from the Product Rule for
differentiation. If f and g are differentiable functions, we have
(f (x)g (x))0 = f 0 (x)g (x) + g 0 (x)f (x) Integrating on both sides with respect to x, we
get Z Z
f (x)g (x) = f 0 (x)g (x)dx + g 0 (x)f (x)dx
Theorem
RIf f and 0 g are differentiable functions,
R then
0 (x)dx. This can be written in simple form as
f (x)g (x)dx = f (x)g (x) − g (x)f
udv = uv − vdu where u = f (x), du = f 0 (x)dx and v = g (x), dv = g 0 (x)dx.
R R
Example
Find the integral of
R 1
1
2
dx
x −4
R 3x 2 + x − 1
2 dx
x 3 − x 2 − 2x
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Definite Integrals
Definition
For a function f continuous on [a, b] we divides the intervals in to n sub intervals of
equal width ∆x and from each intervals [xi−1 , xi ] choose a point xi∗ the mid point of
the interval. Then the definite integral of f (x) from a to b is
Rb
a f (x)dx = limn→∞ i=1 f (xi )∆x
Pn ∗
a-lower
P limit of integration and b-upper limit of integration.
A ≈ ni=1 f (xi∗ )∆x is called the Riemann sum.
Cont’d
Rb Ra Ra
e) a f (x)dx = − b f (x)dx and a f (x)dx = 0
f) If m ≤ f (x) ≤ M for all x ∈ [a, b], then
Rb
m(b − a) ≤ a f (x)dx ≤ M(b − a)
Rb Rc Rb
g) If c is any number in (a, b), then a f (x)dx = a f (x)dx + c f (x)dx
Theorem
(Fundamental Theorem of Calculus)
Let f (t) be continuous on [a, b] and for each x ∈ [a, b] let
Z x
F (x) = f (t)dt
a
Then
1 F (x) is a differentiable function with F 0 (x) = f (x),
Rb
2 If F is any anti-derivative of f on [a, b], then a f (t)dt = F (b) − F (a).
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Example
Evaluate eachRof the following definite integrals
4 √
a) 1 3 xdx
Rπ
b) 0 sin xdx
R1
c) −2 |x + 1|dx
R3 √
d) 2 x x 2 − 4dx
Remark
1 For functions that are given by more than one formula we evaluate the definite
If we are to evaluate this integral between a and b, we have the following: when
x = a, u = g (a) and when x = b, u = g (b). Thus it follows
Z b Z g (b)
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Example
√
1 Find the area of the region bounded by f (x) = 2 x, g (x) = −x and line x = 9.
2 Find the area of the region bounded by the parabolas y = x 2 and y = 2x − x 2 .
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
Class Activity
Determine the area of the region enclosed by
√
1 y = x 2 and y = x
2 y = x 2 and y = x + 2
3 y = 2x 2 + 10 and y = 4x + 16,x = −2 and x = 5
4 y = x 3 and y = x
1
5 x = y 2 − 3 and y = x − 1
2
Propositional Logic and Set Theory Functions Matrices and determinant Introduction to C
THANK YOU!!!