Professional Documents
Culture Documents
Applied Maths Notes
Applied Maths Notes
Department: All
3. Indicative content
Part1. PRELIMINARIES
3.1. Differentiation
3.2. Integrals
- Lectures which contain discussion elements based on problem examples that are intended to
stimulate students to research topics of interest.
- Organization of practical work in groups with orientation of tutorial assistant;
- Applied exercises.
5. Assessment strategy
Two kinds of assessments will be organized.
𝑄𝑢𝑖𝑧𝑧𝑒𝑠: 10 𝑀𝑎𝑟𝑘𝑠
𝐶𝐴𝑇: {𝐺𝑟𝑜𝑢𝑝 𝑤𝑜𝑟𝑘𝑠: 15𝑀𝑎𝑟𝑘𝑠 with Middle semester exam: 30%
𝐺𝑟𝑜𝑢𝑝 𝑤𝑜𝑟𝑘𝑠: 15𝑀𝑎𝑟𝑘𝑠
Final exam: 40 Marks
7. References
1. Linear Algebra with applications; sixth Edition, Steven J.Leon; 2002 by Printice-Hall, Inc.
2. Scientific Computing with MATLAB and Octave; second Edition, Springer-Verlag Italia,
Milano, 2006.
3. Calculus with analytic geometry Howard Anton, second Edition, 1984, by Anton
Textbooks, Inc.
4. Discrete Mathematics for Computer scientists & Mathematicians, Second Edition, Joel
L.Mott, by Prentice- Hall of India Private Limited; 2001.
5. Recueil d’exercices et de probѐmes d’analyse mathematique.
6. S.M. UPPAL,(1996). Mathematics for science, New Age International(P),Limited,
publishers
Part 1. PRELIMINAIRIES
A statements (proposition) is clear affirmation sentence which has only one logic value ‘True’ or
’False’.
The two values of statements are “true” and “false” and are denoted by the symbols T and F
respectively. Occasionally they are also denoted the logic value ‘True’ by 1, if not then is denoted by
0 respectively.In general proposition are denoted and represented by the small letters, p,q,r,s,t,….
There is two logic value and only two: T and F. The set of logics values is {0,1}.
Examples:
The sentence “ Kigali is the capital of Rwanda” is a statement which truth its value is “true”
(T)
The sentence “Rwanda is an USA country” is astatement whose truth value is “false” (F)
The equality “ x+y=9” is not a statement because for some values of x and y, the equality is
true, whereas for others it is false.
q: A carrot is a vegetable
Remarks:
We have: or
p q p q
1 0 T F
P p. £ E
.0
q.
.1
r.
Where P is a set of all propositions, E is a set of all truth value, and ℒ is a relationship between set
of propostions and set of truth values.
Complex proposition
A fundamental complex proposition is a set compounded by the simples propositions which we put
together.
Example: A student of this class say: ‘I need to be promoted; Iwill have a good life in the future.’
p q r
1 1 1
1 1 0
1 0 1
1 0 0
0 1 1
0 1 0
0 0 1
0 0 0
Propositions are combined by means of such connectives as and, or, if. . ., then and if and only if (iff) ;
and they are modified by the word not. These five main types of connectives can be defined in terms
of thr three: and, or and not.
1.2.1. Negation(┐,~)
p ~p
1 o
0 1
q:’Peter is a student’
p q p∧q
1 1 1
1 0 0
0 1 0
0 0 0
q:’Peter is a student’
p q pvq
1 1 1
1 0 1
0 1 1
0 0 0
p(x):’x drive’
p q p→q
1 1 1
1 0 0
0 1 1
0 0 1
Remarks:
The implication is false if the firstproposition is truth and the second is false;
p→q is reding as if p then q;
If we have this express p→q, then:
1. q is a necessary for p;
2. p is sufficient for q;
3. q if p;
4. p only if q;
5. p implies q
Example: Write the following statement in symbolic form
If either John takes mathematics or Peter takes algorithm, then Frank will take web design.
Answer: Denote the statements as:
p: John takes mathematics
q: Peter takes algorithm
r: Frank will take web design
This statement can be symbolized as( pvq) →r
p∧~q ~(p∧~q)
P q ~q p→q
1 1 0 0 1 1
1 0 1 1 0 0
0 1 0 0 1 1
0 0 1 0 1 1
1 1 1 1 1
1 0 0 1 0
0 1 1 0 0
0 0 1 1 1
Remark: The equivalente is truth if p and q are truth at the same time and also are false at the same
time .p→q we read p iffq.
p Q
p→q ~q ~p ~q →~p (p→q)↔( ~q →~p)
1 1 1 0 0 1 1
1 0 0 1 0 0 1
0 1 1 0 1 1 1
0 0 1 0 1 1 1
Tautology
This is a propositional function whose truth value is true for all possible values of the propositional
function.
Example: Show that p q p q is a tautology.
P q pq pq p q p q
T T T T T
T F F T T
F T F T T
F F F F T
Conclusion: p q p q is a tautology.
Contradiction or absurdity
P ~p p (~p)
1 0 0
0 1 0
Contingency
p q q p; p q q p Commutative law
p q r p q r Associative laws
p q r p q r Associative laws
~ p q ~ p ~ q De Morgan’s laws
~ p q ~ p ~ q
p q r p q p r Distributive laws
p q r p q p r
p p p; p p p Idempotent laws
( p q) ~ p q Law of implication
( p q) ~ q ~ p Contrapositive
Meaning of double
implication
( p q) p q q p
p ( p q) p Absorption law
p q p q Modus ponens
p q ~ p ~ p Modus tallens
(indirect
reasoning)
p q p ; p q q simplification
p p q addition
p q ~ p q Disjunctive
syllogism
p q ~ q p One-or-the-
other
p q q r p r transitivity
a) Exclusive disjunction
Let p and q be two formulas. Then the formula p∇𝑞, in which the connective ∇ is called an exclusive
OR, is true whenever either p or q, but not both, is true.
p q p∇𝑞
1 1 0
1 0 1
0 1 1
0 0 0
b) Connective NAND
The word NAND is a combination of NOT and AND. It is denoted by the symbol ↑. For any
formula p and q: 𝒑 ↑ 𝒒 ⇔⌉(𝒑 ⋀ 𝒒) ≡ ~(𝒑 ⋀ 𝒒)
c) Connective NOR
The word NOR is a combination of NOT and OR. It is denoted by the symbol ↓. For any formula
p and q: 𝒑 ↓ 𝒒 ⇔⌉(𝒑 ⋁ 𝒒) ≡ ~(𝒑 ⋁ 𝒒)
The connectives ↓ and ↑ have been defined in terms of the connectives ∨, ∧, and ∼. Therefore, any
formula containing the connectives ↓ or ↑, one can obtain an equivalent formula containing the
connectives ∨, ∧, and ∼ only.
1) 𝑝 ↑ 𝑝 ⇔ ~𝑝
2) (𝑝 ↑ 𝑞) ↑ (𝑝 ↑ 𝑞) ⇔ 𝑝 ⋀ 𝑞
3) (𝑝 ↑ 𝑝) ↑ (𝑞 ↑ 𝑞) ⇔ 𝑝 ⋁ 𝑞
In the same manner, the following equivalence express ∼, ∧, and ∨ in terms of ↓ alone
1) 𝑝 ↓ 𝑝 ⇔ ~𝑝
2) (𝑝 ↓ 𝑞) ↓ (𝑝 ↓ 𝑞) ⇔ 𝑝 ⋁ 𝑞
3) (𝑝 ↓ 𝑝) ↓ (𝑞 ↓ 𝑞) ⇔ 𝑝 ⋀ 𝑞
Exercises
1) Prove that p ~ q r p q r is a tautology
2) Construct truth table for the following
a ) p q ~ r q
b) p q ~ p ~ r
c ) p q ~ p r q r
d ) p q ~~ r p r
3) Prove that the following are tautologies
a ) ~ p q ~ p q p
b) p p r s p r q s
c ) p r q r p q r
d ) p q r ~ q p r
e) p q r ~ p q r
4) Prove the following equivalence whose illustrate properties of exclusive disjunction:
a) 𝑝∇𝑞 ⟺ 𝑞∇p commutative
b) (𝑝∇𝑞)∇r ⟺ 𝑝∇(𝑞∇r) associative
c) 𝑝∇(𝑞∇r) ⟺ (𝑝∇𝑞)∇(𝑝∇𝑟) distributive
d) (𝑝∇𝑞) ⟺ (𝑝 ⋀ ~𝑞) ⋁(~𝑝 ⋀ 𝑞)
e) (𝑝∇𝑞) ⟺ ~(𝑝 ⟺ 𝑞)
5) Show the following equivalences:
a) 𝑝 → (𝑞 → 𝑝) ≡ (𝑝 → 𝑞)
b) 𝑝 → (𝑞 ⋁ 𝑟) ≡ (𝑝 → 𝑞) ⋁(𝑝 → 𝑟)
c) (𝑝 → 𝑞) ⋀(𝑟 → 𝑞) ≡ (𝑝 ⋁ 𝑟) → 𝑞
d) ~(𝑝 ⟺ 𝑞) ≡ (𝑝 ⋁ 𝑞) ⋀ ~(𝑝 ⋀ 𝑞)
e) ~(𝑝 → 𝑞) ≡ 𝑝 ⋀ ~𝑞
f) ~(𝑝 ⟺ 𝑞) ≡ (𝑝 ⋀ ~𝑞) ⋁(~𝑝 ⋀ 𝑞)
Corrected exercises
1) Using the truth table values, show that p q and ~ p q are equivalent.
Then p q p q
2) Prove:
a) ~( p q ) (~p) (~q)
~( p q ) (~p) (~q) De Morgan Laws
b) p ~ (~ p) Law of double negation
c) p q ~ q ~ p Law of contraposition
d) p p p and p p p absorption law
e) p q p q q p Equivalence biconditional
3) Do True Table
a) p q q q modus ponens or direct reasoning
b) p q ~ q ~ p modus tallens or indirect reasoning
4) Do True Table.
p q ~ p q
a) disjunction syllogism or one or-the-other
b) p q ~¨q p
5) Do True Table.
p q q r p r transitivity or hypothesis syllogism
Solutions
1) p q ~ p q
p ~p q ~ pq
p q pq
T T T
T F T T
T F F
T F F F
F T T
F T T T
F F T
F T F T
p ~p q ~ q p q ~ p q ~ p ~ q
1 0 1 0 1 0 0
1 0 0 1 0 1 1
1 0 0 0 0
For example, the statement p ∨ q is represented by a
0 1 1 1 1
parallel circuit:
0 1 0 1 1
q
In Out
If either p or q is on (T), then the current can flow from the “in” side to the “out” side of the circuit.
On the other hand, we can represent p ∧ q by a series circuit:
In p q Out
Of course p ∧ q is only true when both p and q are true, and the circuit reflects this: current can
flow exactly when both “switches” p and q are “on.”It is interesting to see diagrams of some
equivalent compound statements, illustrated as circuits. The distributive-type equivalence
p ∧ (q ∨ r)⇔(p ∧ q) ∨ (p ∧ r)can be seen as the equivalence of the two circuits below:
q
In p p Output
p q
In p r Out
In both circuits, we must have p “on,” and also either q or r for current to flow. Note that in the
second circuit, P is represented in two places, so it is either “on” in both places, or “off” in both
places. Situations such as these can complicate analyses of switching circuits but this one is relatively
simple.
We can also represent negations of simple statements. To represent ~ p we simply put “~ p” into
the circuit, where it is “on” if ~ p is true, i.e., if p is false. This allows us to construct circuits for the
implication i.e., that 𝒑 ⇒ 𝒒 ⇔ ~𝒑 ⋁ 𝒒:
In ~P Out
q
We see that the only time the circuit does not flow is when p is true (~ p is false) and q is false, so
this matches what we know of when 𝒑 ⇒ 𝒒 is false. From another perspective, if p is true, then the
top part of the circuit won’t flow so q must be true, for the whole circuit to be “on,” or “true.”
When negating a whole circuit it gets even more complicated. In fact, it is arguably easier to look at
the original circuit and simply note when current will not flow. For instance, we know
and note that it is off exactly when either p is off or q is off. We then note that that is exactly when
the circuit for (~ p) ∨ (~q) is on
~p
In Out output
~q
There are, in fact, electrical/mechanical means by which one can take a circuit and “negate” its truth
value, for instance with relays or reverse-position switch levers, but that subject is more complicated
than we wish to pursue here.
It is interesting to consider p ⇔ q as a circuit. It will be “on” if p and q are both “on” or both “off,”
and the circuit will be “off” if p and q do not match. Such a circuit is actually used commonly, such
as for a room with two light switches for the same light. To construct such
a circuit we note that
p⇔q ≡ (p⇒q) ∧ (q ⇒ p) ⇔ [(~ p) ∨ q] ∧ [(~ q) ∨ p]
We will use the last form to draw our diagram:
~p ~q
In q p Out
The reader is invited to study the above diagram to be convinced it represents p⇔q, perhaps most
easily in the sense that, “you can not have one (p or q) without the other, but you can have neither.”
While the above diagram does represent p⇔q by the more easily diagrammed [(~ p) ∨ q] ∧ [(~ q) ∨
p], it also suggests another equivalence, since the circuits below seems to be functionally equvialent.
In the first, we can add two more wires to replace the “center” wire, and also switch the ~ q and p,
since (~ q) ∨ p is the same as p ∨ (~ q):
~p ~q
In q p Out
~p ~q
In Out
p q
In p q Out
In the above, the switch p is in the “up” position when p is ‘true, and “down” when p is false.
Similarly with q. Because there are many possible “mechanical” diagrams for switching circuits,
reading and writing such circuits is its own skill. However, for many simpler cases there is a relatively
easy connection to our symbolic logic.
Solution: Using the definitions of complementation, the Boolean sum, and the Boolean product,
it follows that
1 ・ 0 + ̅̅̅̅̅̅̅̅̅̅
(0 + 1) = 0 + 1̅ = 0 + 0 = 0.
𝑥 𝑦 𝑧 𝐹1 𝐹2
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
0 1 1 0 1
1 0 0 1 1
1 0 1 1 1
1 1 0 1 0
1 1 1 1 0
1. Closure. There exists a domain B= {0,1} and two binary operators (+) and (*) such that:
a) If x and y are elements, then x+y is an element.
The operation performed by (+) is called logical addition
b) If x and y are elements, then x*y is an element.
The operation performed by (*) is called logical multiplication.
2. Identity elements. Let x be an element in domain B.
a) There exists an element 0 in B, called the identity element with respect to (+), having the
property x+0=x.
b) There exists an element 1 in B, called the identity element with respect to (*), having the
property that x*1=x.
3. Commutative law.
a) Commutative law with respect to addition: x+y=y+x.
b) Commutative law with respect to multiplication: x*y=y*x.
4. Distributive law
a) Multiplication is distributive over addition: x*(y+z)=(x*y)+(x*z).
b) Addition is distributive over multiplication: x+(y*z)=)x+y)*(x+z).
5. Complementation. If x is an element in domain B, then there exist another x’, the
complement of x, satisfying the properties:
a) x+x’=1
b) x*x’=0
The complement x’ performs the complementation operation on x.
Digital systems are said to be constructed by using logic gates. These gates are the AND, OR, NOT,
NAND, NOR, EXOR and EXNOR gates. The basic operations are described below with the aid
of truth tables.
a) AND gate
The AND gate is an electronic circuit that gives a high output (1) only if all its inputs are high. A
dot (.) is used to show the AND operation i.e. A.B. Bear in mind that this dot is sometimes omitted
i.e. AB
b) OR gate
The OR gate is an electronic circuit that gives a high output (1) if one or more of its inputs are
high. A plus (+) is used to show the OR operation.
c) NOT gate
The NOT gate is an electronic circuit that produces an inverted version of the input at its output. It
is also known as an inverter. If the input variable is A, then the inverted output is known as NOT
A. This is also shown as A', or 𝐴̅, as shown at the outputs.
The diagrams below show two ways that the NAND logic gate can be configured to produce a
NOT gate. It can also be done using NOR logic gates in the same way.
d) NAND gate
This is a NOT-AND gate which is equal to an AND gate followed by a NOT gate. The outputs of
all NAND gates are high if any of the inputs are low. The symbol is an AND gate with a small circle
on the output. The small circle represents inversion.
e) NOR gate
This is a NOT-OR gate which is equal to an OR gate followed by a NOT gate. The outputs of all
NOR gates are low if any of the inputs are high.
The symbol is an OR gate with a small circle on the output. The small circle represents inversion.
f) EXOR gate
The 'Exclusive-OR' gate is a circuit which will give a high output if either, but not both, of its two
inputs are high. An encircled plus sign ( ) is used to show the EXR operation.
g) EXNOR gate
The 'Exclusive-NOR' gate circuit does the opposite to the EOR gate. It will give a low output
if either, but not both, of its two inputs are high. The symbol is an EXOR gate with a small circle
on the output. The small circle represents inversion.
The NAND and NOR gates are called universal functions since with either one the AND and OR
functions and NOT can be generated.
Note:
A function in sum of products form can be implemented using NAND gates by replacing all AND and
OR gates by NAND gates.
A function in product of sums form can be implemented using NOR gates by replacing all AND and
OR gates by NOR gates.
There are three common ways in which to represent logic: Truth Tables, Logic Circuit Diagram,
and Boolean Expression
Truth Tables
A truth table is a chart of 1s and 0s arranged to indicate the results (or outputs) of all possible
inputs. The list of all possible inputs are arranged in columns on the left and the resulting outputs are
listed in columns on the right. There are 2 to the power n possible states (or combination of
inputs). For example with three inputs there are 2^3=8 possible combination of inputs.
Logic Diagram
A logic diagram uses the pictoral description of logic gates in combination to represent a logic
expression. An example below shows a logic diagram with three inputs (A, B, and C) and one output
(Y). The interpretation of this will become clear in the following sections.
Boolean Expression
Boolean Algebra can be used to write a logic expression in equation form. There are a few symbols
that you’ll recognize but need to redefine.
Example
A NAND gate can be used as a NOT gate using either of the following wiring configurations.
To convert from a logic circuit diagram to a Boolean expression, we start by listing our inputs at the
correct place and process the inputs through the gates, one gate at a time, writing the result at each
gate’s output. The following is the resulting Boolean expression of each of the gates.
And here is an example of the process being carried out. The fact that the result simplifies to the
XOR is merely coincidental.
Certain declarative sentences involve words that indicate quantity such as all, some, none or one.
These words help to determine the answer to the question ‘How many?’ Since such words indicate
quantity they are called quantifiers.
a) Universal quantifier ( )
b) Existential quantifier ( )
The quantifier ‘all’ is called the universal quantifier, and we shall denote it by x, which is an
inverted E followed by the variable x.
It represents each of the following phrases, since they all have essentially the same meaning.
The quantifier ‘some’ is the existential quantifier, and we shall denote it by x, which is a reversed E
followed by x. It represents each of the following phrases:
For some x ….
The quantifier ‘there is one’ is the existential and uniqueness quantifier and we shall denote it by !
(There is a unique x such that) or there is one and only one x such that.
Let us list there eight quantified statements and their abbreviated meaning in the following list:
EXERCISES
Fill the gaps place in the following table using one of the elements of set of logic value:
x =1 x =2 x =3 x =4
p
q
r
s
a) p ∧ q b) ~ p v q c) p→~q d) ~ p↔ ~q e) ~ p ∧~ q f) p→(p ∧~ q )
In Mathematics a proof is a convincing demonstration (within the accepted standards of the field)
that some mathematical statements is necessarily true.
Proofs are obtained from deductive reasoning rather than from inductive or empirical arguments.
That is a proof must demonstrate that a statement is true in all cases without a single exception.
An improved proposition that is believed to be true is known as a conjecture.
The statement that is proved is often called a theorem.
Once a theorem is proved it can be used as the basis to prove further statements.
A theorem may also be referred to as a lemma or a corollary (pseudo theorem)especially if it is
intended for use as a stepping stone in the proof of another theorem.
Proofs employ logic but usually include some amount of natural language which usually admits some
ambiguity.
a) Constructive proof
A constructive proof is the most basic kind of proof there is. It is a proof that starts with a
hypothesis, and a person uses a series of logical steps and a list of axioms to arrive at a conclusion.
Hypothesis: it is the’’ if statement of a theorem’’ Everything before the word ‘’then’’.
If A and B are sets such that A B and B A
Example: Hypothesis , then
A B
Conclusion
The proof of a theorem is merely the logical connection between the hypothesis and conclusion.
b) Direct proof
In direct proof, the conclusion is established by logically combining the axioms definitions and
earlier theorem.
For example, direct proof can be used to establish that the sum of two even integers is always even.
Let consider two even integers x and y. Since they are even, they can be written as x=2a and y=2b
respectively for integers a and b. Then the sum x+y=2a+2b=2 (a+b).From this, it is clear x+y has 2
as a factor and therefore is even.So the sum of any two even integers is even.
Note: This proof uses definitions of even integers as well as distributive laws
A proof by contradiction proceeds by assuming that the opposite of the desired result is true, and
then deducing from this assumption a result that contradicts an already-known truth.
This means that the opposite of the desired result is not true; therefore, the desired result itself must
be true.
Example: 2 is irrational.
Suppose it is rational.
a
2 ,a, b non zero integers with no common factor.
b
2 *b a 2b 2 4c 2
2 b2 a2 b 2 2c 2
a 2 even and a even b 2 even and b even
a 2c a and b even they share a factor
2b 2 2c
2
2 is not irrationational
Let P(k) be a statement which , for each integer k, may be either true or false. To prove P(k) is true
for all integers 𝑘 ≥ 1, it suffices to prove:
Normally we expect to prove P(k) implies P(k+1) directly so there are 3 steps to a proof using the
principle of mathematical induction:
(i) (Basis of induction)Show that P(n0) is true
(ii) (Inductive hypothesis)Assume that P(k) is true for 𝑘 ≥ 𝑛0 .
(iii) (Inductive step) Show that P(k+1) is true on the basis of the inductive hypothesis
Examples: Prove by induction
1. 𝑃(𝑛) = 1 + 3 + 5 + ⋯ + (2𝑛 − 1) = 𝑛2
𝑛2 (𝑛+1)2
2. 𝑃(𝑛) = 13 + 23 + 33 + ⋯ + 𝑛3 = 4
Answers:
1. Basis step: 𝑃(1) = 1 = 12 which is true, and 𝑃(2) = 1 + 3 = 22 which is true.
Inductive hypothesis: Suppose that ∀𝑛 > 2, 𝑃(𝑛) is true means that 𝑃(𝑛) = 1 + 3 + 5 +
⋯ + (2𝑛 − 1) = 𝑛2
We show that also 𝑃(𝑛 + 1)is true
If 𝑃(𝑛) = 1 + 3 + 5 + ⋯ + (2𝑛 − 1) = 𝑛2 , then 𝑃(𝑛 + 1) = (𝑛 + 1)2
𝑃(𝑛 + 1) = 1 + 3 + 5 + ⋯ + (2𝑛 − 1) + (2𝑛 + 1)
= 𝑃(𝑛) + (2𝑛 + 1) = 𝑛2 + (2𝑛 + 1) = 𝑛2 + 2𝑛 + 1 = (𝑛 + 1)2
𝑃(𝑛 + 1) = 13 + 23 + 33 + ⋯ + 𝑛3 + (𝑛 + 1)3
𝑛2 (𝑛 + 1)2
= 𝑃(𝑛) + (𝑛 + 1)3 = + (𝑛 + 1)3
4
(𝑛 + 1)2 (𝑛2 + 4𝑛 + 4) (𝑛 + 1)2 (𝑛 + 2)2
= =
4 4
𝑛2 (𝑛+1)2
So, 𝑃(𝑛 + 1) is true. As a conclusion: ∀𝑛 ∈ ℕ: 13 + 23 + 33 + ⋯ + 𝑛3 = 4
EXERCISES
Prove the following statements by induction
b) 2 + 6 + 10 + ⋯ + (2𝑛 − 2) = 2𝑛2
c) 1 + 5 + 9 + ⋯ + (4𝑛 − 3) = 𝑛(2𝑛 − 1)
d) 4 + 10 + 16 + ⋯ + (6𝑛 − 2) = 𝑛(3𝑛 + 1)
𝑛(𝑛+1)(2𝑛+1)
e) 12 + 22 + 32 + ⋯ + 𝑛2 = 6
f) 1(1!) + 2(2!) + 3(3!) + ⋯ 𝑛(𝑛!) = (𝑛 + 1)! − 1
Let V be a set on which the operations of addition and scalar multiplication are defined. By this we
mean that, with each pair of elements x and y in V, we can associate a unique element x+y that is
also in V, and with each element x in V and each scalar α, we can associate a unique element α x in
V.
The elements of V are called vectors and are usually denoted by letters from the end of the alphabet:
u, v, w, x, y, and z. The term scalar will generally refer to real number, although in some cases it will
be used to refer to complex numbers.
Perhaps the most elementary vector spaces are the Euclidean vector space ℝ𝑛 , 𝑛 = 1,2, ….For
𝑥1 𝛼𝑥1
example in ℝ2 we have a vector 𝑥 = (𝑥 ) and 𝛼𝑥 = (𝛼𝑥 ), ∀𝛼 ∈ ℝ.
2 2
b) Examples
1 4 1+4 5
1) ( 3 ) + (5) = ( 3 + 5 ) = (8)
−5 7 −5 + 7 2
2 −4 2+4 6
2) ( ) − ( ) = ( )=( )
4 0 4−0 4
2 14
3) 7 (−3) = (−21)
0 0
2.2. Matrices notions
Where the 𝒂𝒊𝒋 are scalars in K, is called a matrix over K, or simply a matrix if K is implicit. The
above matrix is also denoted by (𝒂𝒊𝒋 ); 𝒊 = 𝟏, ⋯ , 𝒎 and 𝒋 = 𝟏, ⋯ , 𝒏 or simply by (𝒂𝒊𝒋 ).
The m horizontal n-triples (𝑎11 𝑎12 𝑎13 … 𝑎1𝑛 ), (𝑎21 𝑎22 𝑎23 … 𝑎2𝑛 ),
(𝑎𝑚1 𝑎𝑚2 𝑎𝑚3 … 𝑎𝑚𝑛 ) are the the rows of the matrix and the n vertical m-triples
𝑎11 𝑎12 𝑎1𝑛
𝑎21 𝑎22 𝑎2𝑛
𝑎31 , 𝑎32 , … , 𝑎3𝑛 are its columns.
⋮ ⋮ ⋮
(𝑎𝑚1 ) (𝑎𝑚2 ) (𝑎𝑚𝑛 )
AUCA: Applied Mathematics for 1st semester 2023-2024
36
Note that the element 𝑎𝑖𝑗 , called the ij-entry or ij-component, appears in the ith row and jth column.
A matrix with m rows, and n columns is called an m by n matrix or mxn matrix, the pair of numbers
(m,n) is called its size or shape.
𝟏 −𝟑 𝟒
Examples: The following is a 2x3 matrix: ( )
𝟎 𝟓 −𝟐
−𝟑 −𝟒 𝟎 𝟔
𝟏
𝟏 𝟔 𝟒 𝟑
The following is a 5x4 matrix: 𝟑 𝟓 𝟖 𝟗
𝟑 𝟎 𝟎 −𝟏
(𝟒 𝟕 𝟎 𝟐𝟓 )
Remarks:
-Matrices will usually be denoted by capital letters A, B, C,..., and the elements of field K by lower cas
letters a,b,c....
-The set of all nx1 matrices of real numbers is called Euclidean n-space and is usually denoted by
ℝ𝒏 .
-The ith row vector of A will be denoted by 𝒂(𝒊, : ) and the jth column vector of A will denoted by
𝒂(: , 𝒋). If A is an mxn matrix, then the row vectors af A are given by 𝒂(𝒊, : ) =
(𝒂𝒊𝟏 𝒂𝒊𝟐 ⋯ 𝒂𝒊𝒏 ), 𝒊 = 𝟏, 𝟐, 𝟑, ⋯ , 𝒎 and the column vectors of A are given by 𝒂(: , 𝒋) =
𝒂𝟏𝒋
𝒂𝟐𝒋
( ⋮ ) , 𝒋 = 𝟏, 𝟐, 𝟑, … , 𝒏.
𝒂𝒎𝒋
-If m=n of A, means that the numbers of columns are equals to the numbers of rows, then A is
called a square matrix
b) Operations on matrices
Two mxn matrices A and B are said to be equal if 𝒂𝒊𝒋 = 𝒃𝒊𝒋 for each i and j.
𝒙+𝒚=𝟑 𝒙=𝟐
𝒙 + 𝒚 𝟐𝒛 + 𝒘 𝟑 𝟓 𝒙−𝒚=𝟏
Example: ( )=( ) 𝒊𝒇 { →{ 𝒚=𝟏
𝒙−𝒚 𝒛−𝒘 𝟏 𝟒 𝟐𝒛 + 𝒘 = 𝟓 𝒛=𝟑
𝒛−𝒘=𝟒 𝒘 = −𝟏
If A is an mxn matrix and α is a scalar, then Αa is the mxn matrix whose (i,j) entry is 𝜶𝒂𝒊𝒋 . For example,
4 8 2 1 2 4 1
if 𝐴 = ( ), then 2 𝐴 = ( ) 𝑎𝑛𝑑
6 8 10 3 4 5
12 24 6
3𝐴 = ( ).
18 24 30
Example 1: 3𝑥1 + 2𝑥2 + 5𝑥3 = 4; For writting this equation in matrix notation we have:
𝑥1
𝐴 = (3 2 𝑥
5) and 𝑥 = ( 2 )
𝑥3
𝑥1
𝐴𝑥 = 3𝑥1 + 2𝑥2 + 5𝑥3 = (3 2 5) ( 𝑥2)
𝑥3
𝐴𝑥 = 𝑏 (2)
𝑥1 𝑏1
𝑎11 𝑎12 𝑎13 𝑎1𝑛
⋯ 𝑥2 𝑏2
𝑎21 𝑎22 𝑎23 𝑎2𝑛
𝐴 = ( 𝑥3 , 𝑏 = 𝑏3
⋮ ⋱ ⋮ ), 𝑥 =
𝑎𝑛1 𝑎𝑛2 𝑎𝑛3 ⋮ ⋮
⋯ 𝑎𝑚𝑛
𝑥
( 𝑛) 𝑏
( 𝑚)
𝑥1
2 4 1 2𝑥 + 4𝑥2 + 𝑥3
Example 1: 𝐴 = ( ) ; 𝑥 = (𝑥2 ) → 𝐴𝑥 = ( 1 )
3 4 5 𝑥3 3𝑥1 + 4𝑥2 + 5𝑥3
−3 1 −3 × 2 + 1 × 4 −2
2
Example 2: 𝐴 = ( 2 5) ; 𝑥 = ( ) → 𝐴𝑥 = ( 2 × 2 + 5 × 4 ) = ( 24 )
4
4 2 4×2+2×4 16
−3 1 −3 1
1 0 −1 1 0 −1
Example: If 𝐴 = ( 2 5)and 𝐵 = ( ) , then 𝐴𝐵 = ( 2 5) ( )=
1 1 2 1 1 2
4 2 4 2
−3 × 1 + 1 × 1 −3 × 0 + 1 × 1 −3 × −1 + 1 × 2 −2 1 5
( 2×1+5×1 2×0+5×1 2 × −1 + 5 × 2 ) = ( 7 5 8)
4×1+2×1 4×0+2×1 4 × −1 + 2 × 2 6 2 0
−3 1
1 0 −1 −7 −1
𝐵𝐴 = ( ) ( 2 5) = ( )
1 1 2 3 10
4 2
We observe that 𝑨𝑩 ≠ 𝑩𝑨 means that matrix multiplication is not commutative
If 𝑨𝑩 = 𝑩𝑨, then we say that A and B are commutate matrices
2 2
𝐴2 = ( )
2 2
4 4
𝐴3 = 𝐴 × 𝐴2 = ( )
4 4
𝑛−1
𝐴𝑛 = (2𝑛−1 2𝑛−1 ) , ∀ 𝑛 ∈ 𝑁 ∗
2 2𝑛−1
1, 𝑖𝑓 𝑖 = 𝑗
The 𝑛 × 𝑛 identity matrix is the matrix 𝐼 = (𝛿𝑖𝑗 ), where 𝛿𝑖𝑗 = {
0, 𝑖𝑓 𝑖 ≠ 𝑗
1 0 0
In the case 𝑛 = 3; 𝐼3 = (0 1 0)
0 0 1
1 0
𝑛 = 2; 𝐼2 = ( )
0 1
1 0 0 0
𝑛 = 4; 𝐼4 = (0 1 0 0)
0 0 1 0
0 0 0 1
In general, if B is any 𝑚 × 𝑛 matrix and C is any 𝑛 × 𝑟 matrix, then 𝐵𝐼 = 𝐵 𝑎𝑛𝑑 𝐼𝐶 = 𝐶
Examples:
1 −5
𝟏 −𝟐 𝟒 𝑡
1. If 𝑨 = ( ) , 𝑡ℎ𝑒𝑛 𝐴 = (−2 7 )
−𝟓 𝟕 𝟓
4 5
−3 2 1 −3 4 1
3. If 𝐵 = ( 4 3 2) , 𝑡ℎ𝑒𝑛 𝐵 𝑡 = ( 2 3 2)
1 2 5 1 2 5
3 5 3 5
4. If 𝐶 = ( ) , 𝑡ℎ𝑒𝑛 𝐶 𝑡 = ( )
5 7 5 7
Algebraic rules for transposes
1. (𝐴𝑡 )𝑡 = 𝐴
2. (𝛼𝐴)𝑡 = 𝛼𝐴𝑡 , 𝛼 ∈ ℝ
3. (𝐴 ± 𝐵)𝑡 = 𝐴𝑡 ± 𝐵 𝑡
4. (𝐴𝐵)𝑡 = 𝐵 𝑡 𝐴𝑡
A symmetric matrix
An 𝑛 × 𝑛 matrix A is to be symmetric if 𝐴𝑡 = 𝐴.
3 5
For example ( ).
5 7
A skew- symmetric matrix
Theorem: If A is 𝑛 × 𝑛 matrix, then we can write any square matrix as a sum of symmetric and
skew-symmetrix matrix.
Proof: (𝐴 = 𝑆 + 𝑇)
(𝐴 = 𝑆 + 𝑇)𝑡 = 𝑆 𝑡 + 𝑇 𝑡 = 𝑆 − 𝑇
𝐴=𝑆+𝑇 𝐴𝑡 +𝐴 𝐴−𝐴𝑡
{ 𝑡 →𝑆= , 𝑇=
𝐴 =𝑆−𝑇 2 2
1 3 8
Example: Decompose 𝐴 = (4 7 8) asa sum of symmetric and a skew-symmetric matrix.
0 0 1
7
1 3 8 1 4 0 1 2 4
𝐴𝑡 +𝐴 1
Solution: 𝑆 = 2 = 2 {(4 7 8) + (3 7 0)} = ( 7 7 4)
0 0 1 8 8 1 2
4 4 1
−1
1 3 8 1 4 0 0 4
2
𝐴−𝐴𝑡 1
𝑇= = 2 {(4 7 8) − (3 7 0)} = ( 1
0 4)
2
0 0 1 8 8 1 2
−4 −4 0
7 −1
1 4 0 4
2 2
→𝐴 =𝑆+𝑇 = 7 + 1
7 4 0 4
2 2
(4 4 1) (−4 −4 0)
70) Echelon matrices
A matrix 𝐴 = (𝑎𝑖𝑗 ) is an echelon matrix, or is said to be in echelon form, if the number of zeros
preceding the first nonzero entry (distinguished elements) of a row increases row by row until only
zero rows remain, that is, if there exist non zero entries.
10 2 3 2 3 2 0 4 5 −6 0 1 2 0 4 5 −6
Examples: ( 0 0 4) , (0 0 7 1 −3 2 0), (0 0 0 1 −3 2 0)
0 0 0 0 0 0 0 0 6 2 0 0 0 0 1 6 2
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
In particular, an echelon matrix is called a row reduced echelon matrix if the distinguished elements
are:
The third matrix above is an example of a row reduced echelon matrix, the other two are not.
Triangular Matrices
Upper Triangular Matrix
A matrix in which all the non-zero elements are either on or above the main diagonal. That is, all the
non-zero values are in the upper triangle. Everything below the diagonal is a zero. i.e 𝐴 = (𝑎𝑖𝑗 ) is an
upper Triangular Matrix iff 𝑎𝑖𝑗 = 0, ∀ 𝑖 ≥ 𝑗
1 2 3 4 1 2 3 4
3
Example: 𝐴 = (0 3 0 4 ) 𝑜𝑟 ( 0 4 )
0 0 −1 −10 −1 −10
0 0 0 7 7
A matrix in which all the non-zero elements are either on or below the main diagonal.
That is, all the non-zero values are in the lower triangle. Everything above the diagonal is zero.
1 0 0 0 1
Example: 𝐴 = (7 3 0 0 ) 𝑜𝑟 (7 3 )
3 0 −1 0 3 0 −1
8 6 0 7 8 6 0 7
Diagonal Matrix
A matrix in which all the non-zero elements are on the main diagonal. Everything off the main
diagonal is a zero i.e 𝐴 = (𝑎𝑖𝑗 ) is an Diagonal Matrix iff 𝑎𝑖𝑗 = 0, ∀ 𝑖 ≠ 𝑗.
1 0 0 0 1
Example: 𝐴 = (0 3 0 0 ) 𝑜𝑟 ( 3 )
0 0 −1 0 −1
0 0 0 7 7
1.3. Determinant notions
A determinant is a real number associated with every square matrix. I have yet to find a good English
definition for what a determinant is. Everything I can find either defines it in terms of a mathematical
formula or suggests some of the uses of it. There's even a definition of determinant that defines it in
terms of itself. i.e. A determinant of a matrix A is an application: 𝒅𝒆𝒕: ℝ𝒏×𝒏 → ℝ
𝑨 → 𝐝𝐞𝐭 𝑨 = |𝑨|
The determinant of a square matrix A is denoted by "det A" or | A |. Now, that last one looks like
the absolute value of A, but you will have to apply context. If the vertical lines are around a matrix, it
means determinant.
3 5 3 5
| | = 𝑑𝑒𝑡 ( )
1 0 1 0
The determinant of a 2×2 matrix is found much like a pivot operation. It is the product of the elements
on the main diagonal minus the product of the elements off the main diagonal.
3 5
| | = 3 × 0 − 5 × 1 = −5
1 0
b) Properties of Determinants
Remember, that a matrix is invertible, non-singular, if and only if the determinant is not zero. So, if
the determinant is zero, the matrix is singular and does not have an inverse.
The definition of determinant that we have so far is only for a 2×2 matrix. There is a shortcut for a
3×3 matrix, but I firmly believe you should learn the way that will work for all sizes, not just a special
case for a 3×3 matrix.
The method is called expansion using minors and cofactors. Before we can use them, we need to
define them.
Minors
A minor for any element is the determinant that results when the row and column that element are in
are deleted.
The notation Mij is used to stand for the minor of the element in row i and column j. So M21 would
mean the minor for the element in row 2, column 1.
Consider the 3×3 determinant shown below. I've included headers so that you can keep the rows and
columns straight, but you wouldn't normally include those. We're going to find some of the minors.
C1 C2 C3
R1 1 3 2
R2 4 1 3
R3 2 5 2
The minor is the determinant that remains when you delete the row and column of the element you're
trying to find the minor for. That means we should delete row 2 and column 1 and then find the
determinant.
C2 C3
R1 3 2
= 3(2) - 5(2) = 6 - 10 = -4
R3 5 2
As you can see, the minor for row 2 and column 1 is M21 = -4.
R1 1 2
= 1(3) - 4(2) = 3 - 8 = -5
R2 4 3
Matrix of Minors
When you're just trying to find the determinant of a matrix, this is overkill. But there is one extremely
useful application for it and it will give us practice finding minors.
The matrix of minors is the square matrix where each element is the minor for the number in that
position. Here is a generic matrix of minors for a 3×3 determinant.
C1 C2 C3
Let's find the matrix of minors for our original determinant. Here is the determinant.
C1 C2 C3
R1 1 3 2
R2 4 1 3
R3 2 5 2
C1 C2 C3
1 3 4 3 4 1
5 2 2 2 2 5
R1
= 2 - 15 = -13 = 8 - 6 = 2 = 20 - 2 = 18
3 2 1 2 1 3
5 2 2 2 2 5
R2
= 6 - 10 = -4 = 2 - 4 = -2 = 5 - 6 = -1
3 2 1 2 1 3
1 3 4 3 4 1
R3
=9-2=7 = 3 - 8 = -5 = 1 - 12 = -11
Finally, here is the matrix of minors. Again, you don't need to put the labels for the row and columns
on there, but it may help you.
C1 C2 C3
R1 -13 2 18
R2 -4 -2 -1
R3 7 -5 -11
Cofactors
A cofactor for any element is either the minor or the opposite of the minor, depending on where the
element is in the original determinant. If the row and column of the element add up to be an even
number, then the cofactor is the same as the minor. If the row and column of the element add up to
be an odd number, then the cofactor is the opposite of the minor.
Ooh - did you get that? Odd changes signs, even is the same sign.
Sign Chart
Rather than adding up the row and column of the element to see whether it is odd or even, many
people prefer to use a sign chart. A sign chart is either a + or - for each element in the matrix. The
first element (row 1, column 1) is always a + and it alternates from there.
Note: The + does not mean positive and the - negative. The + means the same sign as the minor and
the - means the opposite of the minor. Think of it addition and subtraction rather than positive or
negative. Here is the sign chart for a 2×2 determinant.
C1 C2
R1 + -
R2 - +
C1 C2 C3
R1 + - +
R2 - + -
R3 + - +
Matrix of Cofactors
Again, if all you're trying to do is find the determinant, you do not need to go through this much work.
The matrix of cofactors is the matrix found by replacing each element of a matrix by its cofactor. This
is the matrix of minors with the signs changed on the elements in the - positions.
C1 C2 C3
R1 -13 -2 18
R2 4 -2 1
R3 7 5 -11
1. Pick any row or column in the matrix. It does not matter which row or which column you use,
the answer will be the same for any row. There are some rows or columns that are easier than
others, but we'll get to that later.
2. Multiply every element in that row or column by its cofactor and add. The result is the determinant.
1 3 2
|4 1 3|
2 5 2
From the sign chart, we see that 1 is in a positive position, 3 is in a negative position and 2 is in a
positive position. By putting the + or - in front of the element, it takes care of the sign adjustment
when going from the minor to the cofactor.
1 3 4 3 4 1
+1 | | − 3| | + 2| |
5 2 2 2 2 5
= 1 ( 2 - 15 ) - 3 ( 8 - 6 ) + 2 ( 20 - 2 )
= 1 ( -13 ) - 3 ( 2 ) + 2 (18)
= -13 - 6 + 36
= 17
As I said earlier, it doesn't really matter which row or column you use.
Let's try it again, but this time expands on the second columns. As an effort to save time, the minors
for that column (from the matrix of minors) were 2, -2, and -5. The original elements were 3, 1, and
5. The 3 and 5 are in negative positions.
Determinant = - 3 ( 2 ) + 1 ( -2 ) - 5 ( -5 ) = -6 -2 + 25 = 17
However, you can't do diagonals. If we try the main diagonal, you get
1 3 2
Let's consider our original determinant as a matrix this time.(4 1 3)
2 5 2
−13 2 18
Find the matrix of minors as explained above.( −4 −2 −1 )
7 −5 −11
Turn it into a matrix of cofactors by changing the signs on the appropriate elements based on the
−13 −2 18
sign chart.( 4 −2 1 )
7 5 −11
To transpose a matrix, you switch the rows and columns. That is, the rows become columns and the
columns become rows. The Transpose of a matrix can be found using the TI-82 or TI-83 calculator
by entering the name of the matrix and then choosing Matrix, Math, and then option 2, a superscripted
−13 4 7
T
T, like [A] .( −2 −2 5 )
18 1 −11
Finally divide the adjoint of the matrix by the determinant of the matrix. In this problem, the
determinant is 17, so we'll divide every element by 17. The resulting matrix is the inverse of the
−13 4 7
1
original matrix.17 × ( −2 −2 5 )
18 1 −11
The inverse of a matrix is found by dividing the adjoint of the matrix by the determinant of the matrix.
Don't try that on your calculator since the calculator won't let you divide a matrix by a scalar. You will
have to multiply by the inverse of the determinant instead.
If you check it with your calculator, you can verify that the inverse actually is the adjoint divided by
the determinant.
Since the inverse is the adjoint divided by the determinant, we can see why the inverse doesn't exist if
the determinant is zero. That would cause division by zero, which is undefined.
C1 C2 C3 C4
R1 3 2 0 1
R2 4 0 1 2
R3 3 0 2 1
R4 9 2 3 1
Pick the row or column with the most zeros in it. In this case, that is the second column.
For each element in the original matrix, its minor will be a 3×3 determinant. We'll have to expand
each of those by using three 2×2 determinants.
This is why we want to expand along the second column. The minors are multiplied by their elements,
so if the element in the original matrix is 0, it doesn't really matter what the minor is and we can save
a lot of time by not having to find it. In the second column, you won't need to find two of the minors
because their corresponding element in the second column is zero.
4 1 2 3 0 1
−2 |3 2 1| + 0|? | − 0|? | + 2 |4 1 2|
9 3 1 3 2 1
We could actually fill in those middle two minors, but since they're multiplied by 0, it doesn't really
matter what they are. In fact, you could just as easily skip them.
In the first 3x3 determinant, there are no zeros, so pick the row or column with the largest numbers.
That would be column 1, so expand along the first column.
Notice the 4 is in a positive position. The sign charts begin over with each new determinant. The
position of the number in the original matrix does not matter, only its position in the current matrix.
4 1 2
2 1 1 2 1 2
|3 2 1| = +4 | | − 3| | + 9| |
3 1 3 1 2 1
9 3 1
= 4 ( 2 - 3 ) - 3 ( 1 - 6 ) + 9 ( 1 - 4 ) = 4 ( -1 ) - 3 ( -5 ) + 9 ( -3 ) = -4 + 15 - 27 = -16
Consider the other 3×3 matrix. In this one, there is a 0 in the row 1 and column 2. Either one of those
would be a good pick for expansion, but since row 1 has slightly larger numbers, we'll expand along
the first row.
3 0 1
1 2 4 1
|4 1 2| = +3 | | − 0|? | + 1 | |
2 1 3 2
3 2 1
= 3 ( 1 - 4 ) - 0 ( doesn't matter ) + 1 ( 8 - 3 ) = 3 ( -3 ) + 1 ( 5 ) = -9 + 5 = -4
When you go to find the determinant, remember that there were elements from the original 4×4
matrix that were times each of those 3×3 determinants. The first one was -2 and the second one was
+2.
Determinant = -2 ( -16 ) + 2 ( -4 ) = 32 - 8 = 24
The real numbers 𝑎𝑗𝑖 𝑎𝑛𝑑 𝑏𝑖 are called the coefficients of the system and the variables 𝑥𝑗 are the
unknowns of the system.
5𝑋 + 3𝑌 = 1
Example:{ is a system of 2 linear equations with 2 unknowns X and Y.
𝑋 − 2𝑌 = 8
-A solution of the system of linear equations (&) is the sequence (𝑥1 , 𝑥2 , … , 𝑥𝑛 ) of n real numbers
which verify the p equations of the system (&).
In the example above the solution is (2 ,- 3) because it verify the two equations of the system.
Remark: Every system of equations can be written matricially. For this we consider the matrices
𝑎11 𝑎12 … 𝑎1𝑛 𝑏1 𝑥1
2
𝑎1 𝑎2 2 … 𝑎𝑛2 𝑏 𝑥2
A=(𝑎𝑗𝑖 )= ; B=(𝑏𝑗 )=( ⋮2 ) ;X=(𝑥𝑖 ) = ( ⋮ ) ;the system (&) is written
⋮ ⋮ ⋱ ⋮
𝑃 𝑝 𝑝 𝑏𝑝 𝑥𝑛
(𝑎1 𝑎2 ⋯ 𝑎𝑛 )
A.X=B(&&).
5 3 𝑥 1
In our example above we write matricially the system as follow:( ) (𝑦) = ( ) where
1 −2 8
5 3 𝑥 1
A=( ) and X=(𝑦); B=( ) . This system is not homogeneous.
1 −2 8
2.4.2. Resolution of the system by Gauss’s method
𝑎𝑖
The method use 𝐿1 as the pivot of the rows .Then by replacing the rows 𝐿𝑖 , 2≤i≤p; by 𝐿𝑖 − 𝑎11 𝐿1
1
we get an equivalent system in which the first column is 0 at the 2𝑛𝑑 ; 3𝑟𝑑 ; … ; 𝑝𝑡ℎ rows. On the
next steps we take 𝐿2 ; 𝐿3 ; … 𝐿𝑝 as a pivot and we continue until the matrix of the system became
Solution: In the beginning we simplify every equation for using the simple numbers by replacing
𝑥1 − 𝑥2 +2𝑥3 +3𝑥4 = 2
1 1 −𝑥 + 2𝑥2 + 𝑥3 −5𝑥4 = −1
𝐿1 𝑏𝑦 − 2 . 𝐿1 𝑎𝑛𝑑 𝐿2 𝑏𝑦 3 . 𝐿2 .The system became { 1 .
5𝑥1 −8𝑥2 −𝑥3 + 17𝑥4 = 9
𝑥1 + 𝑥2 + 11𝑥3 + 7𝑥4 = 7
We use 𝐿3 as a pivot and we replace 𝐿4 𝑏𝑦 3𝐿3 − 2𝐿4 ; 𝑎𝑛𝑑 we obtain a triangular system
𝑥1 − 𝑥2 +2𝑥3 +3𝑥4 = 2
𝑥2 + 3𝑥3 −2𝑥4 = 1
which is: { .
−2𝑥3 − 4𝑥4 = 2
4𝑥4 = 12
It is easy to find that 𝑥4 = 3 with the fourth line. We deduce by substitution the value of others
variables which are 𝑥3 = −7; 𝑥2 = 28; 𝑥1 = 35 .Then the solution set is
The method is used to solve a system of n equations with n unknowns if the matrix of the system is
𝑎11 𝑥1 + 𝑎12 𝑥2 + ⋯ + 𝑎1𝑛 𝑥𝑛 = 𝑏1
2 2 2
regular. Let the system of n equations with n variables bellow: 𝑎1 𝑥1 + 𝑎2 𝑥2 + ⋯ + 𝑎𝑛 𝑥𝑛 = 𝑏2
…………………………………
{𝑎1𝑛 𝑥1 + 𝑎2𝑛 𝑥2 + ⋯ + 𝑎𝑛𝑛 𝑥𝑛 = 𝑏𝑛
Where A=(𝑎𝑗𝑖 ) is the matrix of the system .
𝑏1 𝑎21 … 𝑎𝑛1
𝑎11 𝑏1 … 𝑎𝑛1 𝑎11 𝑎21 … 𝑏1
|| 𝑏2 𝑎22 … 2
𝑎𝑛 | || 𝑎1
2 𝑏2 … 2
𝑎𝑛 | || 𝑎1
2 𝑎22 … 𝑏2 |
… | … | … |
⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮
𝑏𝑛 𝑛
𝑎2 … 𝑎𝑛𝑛 𝑎1𝑛 𝑏𝑛 … 𝑎𝑛𝑛 𝑎1𝑛 𝑛
𝑎2 … 𝑏𝑛
formulas: 𝑥1 = ; 𝑥2 = ; …….;𝑥𝑛 =
det 𝐴 det 𝐴 det 𝐴
(In the formulas above when we calculate 𝑥𝑗 ;jϵ{1,2,…..,n} we replace the column j by the column
B=(𝑏𝑗 )
2𝑋 + 3𝑌 + 𝑍 = −1
Example: Solve the following system of equations: { 4𝑋 + 5𝑌 + 2𝑍 = 0
3𝑋 + 2𝑌 − 𝑍 = −4
2 3 1 𝑋 −1
Solution: The system is written matricially as (4 5 2 ) . (𝑌 ) = ( 0 ) ;then the determinant
3 2 −1 𝑍 −4
−1 3 1 2 −1 1 2 3 −1
2 3 1 |0 5 2| |4 0 2| |4 5 0|
3 −4 −1
of the system is |4 5 2 | = 5 .The roots are X= −4 2 −1
;𝑌 = ;Z = 3 2 −4
.
5 5 5
3 2 −1
5 −10 15
After calculation we find X= 5 = 1 ;Y = 5 = −2 ; Z = 5 = 3; and S={(1, −2,3)} .
We know that the matrix notation of a system of equation is A.x=B. We use this method when the
matrix A is a square matrix and regular .Suppose that 𝐴−1 is its inverse matrix. Then we have
2𝑋 + 3𝑌 + 𝑍 = −1
Example: Use the inverse matrix to solve the following system of equation: { 4𝑋 + 5𝑌 + 2𝑍 = 0
3𝑋 + 2𝑌 − 𝑍 = −4
2 3 1 𝑥 −1
Solution: A=(4 5 2 ) ; X=(𝑦) ; 𝐵 = ( 0 ) and det A=5;then A is regular.
3 2 −1 𝑧 −4
5 2 2 4 4 5
| | | | | |
2 −1 −1 3 3 2 −9 10 −7
1 3 2 1 3 2
Ã= | | | | | | = ( 5 −5 5)
−1 2 3 −1 2 3
3 1 1 2 2 3 1 0 −2
( |5 2| |
2 4
| |
4 5
|)
−9 1
−9 5 1 1
5 5
−1 Adj(A)
Adj(A)=𝑡Ã =( 10 −5 0 ) and 𝐴 = |𝐴| = ( 2 −1 0) .
−7 −2
−7 5 −2 1
5 5
−9 1
𝑋 1 −1 1
5 5
−1
Then 𝑋 = (𝑌 ) = 𝐴 𝑏 = ( 2 −1 0 ) . ( 0 ) = (−2).
−7 −2
𝑍 1 −4 3
5 5
In a certain town, 30 percent of the married women get divorced each year and 20 percent of the
single women get married each year. They are 8000 married women and 2000 single women.
Assuming that the total population of women remains constant, how many married women and how
many single will there be after 1 year? After 2 years?
Solution: Consider a matrix A such that the entries of the first row of A will be the percent
married and single women, respectively, that are married after 1 year.
The entries of the second row will be the percent of women who are single after 1 year.
0.70 0.20
Then we have: 𝐴 = ( )
0.30 0.80
8000
If we let 𝑥 = ( ), the number of married and single women after 1 year can be computed by
2000
multiplying A by x.
Graph theory is one of the important areas of applied mathematics. It is used to model problems in
virtually all the applied sciences Graph theory is particularly useful in applications involving
communication networks.
A graph is defined to be set of points called vertices together with a set unordered pairs of vertices,
which are referred to as edges.
𝑉1 𝑉2
𝑉5 𝑉3
𝑉4
Each edge represents a direct communication link between two nodes of net work.
An actual communications network could involve a large number of vertices and edges. Indeed,
if there are millions of vertices, a graphical picture of the network would be quite confusing. An
alternative is to use a matrix representation for the network. If a graph contains a total of n vertices,
we can define an 𝑛 × 𝑛 matrix A by
0 1 0 0 0
1 0 0 0 1
𝐴= 0 0 0 1 1
0 0 1 0 1
(0 1 1 1 0)
Note that the matrix A is symmetric matrix. Indeed, any adjacency matrix must be symmetric, for if
{𝑉𝑖, 𝑉𝑗 } is an edge of the graph, then 𝑎𝑖𝑗 = 𝑎𝑖𝑗 = 1 and 𝑎𝑖𝑗 = 𝑎𝑖𝑗 = 0 if there is no edge joining 𝑉𝑖
and 𝑉𝑗 .In either case, 𝑎𝑖𝑗 = 𝑎𝑖𝑗 .
We can think of a walk in a graph as a sequence of edges linking one vertex to another. For example,
in above figure the edges {𝑉1, 𝑉2 }, {𝑉2, 𝑉5 }, represent a walk from vertex 𝑉1 to vertex𝑉5. The length of
walk is said to be 2 since it consists of two edges. A simple way to describe the walk is to indicate the
movement between vertices using arrows. Thus 𝑉1 → 𝑉2 → 𝑉5 denotes a walk of length 2 from 𝑉1 to
𝑉5. Similarly, 𝑉4 → 𝑉5 → 𝑉2 → 𝑉1 represents a walk of length 3 from 𝑉4 to 𝑉1. It is possible to traverse
the same edge more than once in a walk. For example, 𝑉5 → 𝑉3 → 𝑉5 → 𝑉3 is a walk of length 3 from
𝑉5 to 𝑉3. In general, by taking powers of the adjacency matrix we can determine the number of walks
of any specified length between two vertices.
(𝑘)
Theorem: If A is an 𝑛 × 𝑛 adjacency matrix of a graph and 𝑎𝑖𝑗 represents the ijth entry of𝐴𝑘 ,
(𝑘)
then 𝑎𝑖𝑗 is equal to the number of walks of length k from 𝑉𝑖 to𝑉𝑗 .
Example: To determine the number of walks of length 3 between any two vertices of the graph
0 2 1 1 0
2 0 1 1 4
𝐴3 = 1 1 2 3 4
1 1 3 2 4
(0 4 4 4 2)
(3)
Thus the number of walks of length 3 form 𝑉3 to 𝑉5 is 𝑎35 = 4. Note that the matrix 𝐴3 is
symmetric.This reflects the fact that there are the same number of walks of length 3 from 𝑉𝑖 to 𝑉𝑗 .
A common way of sending a coded is to assign an integer value to each letter of the alphabet and to
send the message as a string of integers. For example, the message
SEND MONEY
Might be coded as
Here the S is represented by 5, the E by an 8, and so on. Unfortunately, this type of code is generally
quite easy to break. In a longer message we might be able to guess which letter is represented by a
number based on the relative frequency of occurrence for that number. Thus, for example, if 8 is the
most frequently occurring number in the coded message, then it is likely that it represents the letter
E, the letter that occurs most frequently in the English language.
We can disguise the message further using matrix multiplications. If A is a matrix whose entries are all
integers and whose determinants is ±1, then, since 𝐴−1 = ±𝑎𝑑𝑗 𝐴, the entries of 𝐴−1 will be integers.
We can use such a matrix to transform the message. The transformed message will be more diffucult
to decipher. To illustrate the technique, let
1 2 1
𝐴 = (2 5 3)
2 3 2
The coded message is put into the columns of matrix of matrix B having three rows.
5 21 10
𝐵=(8 7 8)
10 2 3
The product
1 2 1 5 21 10 31 37 29
𝐴𝐵 = (2 5 3) ( 8 7 8 ) = (80 83 69)
2 3 2 10 2 3 54 67 50
Gives the coded message to be sent:
1 −1 1 31 37 29 5 21 10
(2 0 −1) (80 83 69) = ( 8 7 8)
−4 1 1 54 67 50 10 2 3
To construct a coding matrix A, we can begin with the identity I. The resulting matrix A will have
integer entries, and since
det(𝐴) = ±det(𝐼) = ±1
EXERCISES
3 1 4 1 0 2
1. If 𝐴 = (−2 0 1) 𝑎𝑛𝑑 𝐵 = (−3 1 1), then compute:
1 2 2 2 −4 1
(a) 2𝐴 (b) 𝐴 + 𝐵 (c) 2𝐴 − 3𝐵 (d) (2𝐴)𝑡 − (3𝐵)𝑡 (e) 𝐴𝐵 (f) 𝐵𝐴 (g) 𝐴𝑡 𝐵 𝑡 (h) (𝐵𝐴)𝑡
2.For each of the following pairs of matrices, determine whether it is possible to multiply the first
matrix times the second. If it is possible, perform the multiplication.
2 1 4 −2 1 4 3 3 2
3 5 1
(a) ( ) (1 3) (b) (6 −4) (1 2 3) (c) (0 1 4) (1 1)
−2 0 2
4 1 8 −6 0 0 2 4 5
4 6 3 1 5
(d) ( )( )
2 1 4 1 6
3. For which of the pairs in exercise 2 is ti possible to multiply the second matrix times the first, and
what would the dimension of the product be?
𝑥1 + 𝑥2 =5 2 𝑥1 + 𝑥2 + 𝑥3 = 4
3𝑥 + 3𝑥2 = 1
a) { 1 b){ 2𝑥1 + 𝑥2 − 𝑥3 = 6 c) { 𝑥1 − 𝑥2 + 2𝑥3 = 2
2𝑥1 + 3𝑥2 = 5
3𝑥1 − 𝑥2 + 2𝑥3 = 7 3𝑥1 − 2𝑥2 − 𝑥3 = 0
3 4
5.If A= (1 1) , then verify that: a) 5𝐴 = 3𝐴 + 2𝐴 b) 6𝐴 = 3(2𝐴) c) (𝐴𝑡 )𝑡 = 𝐴
2 7
1 −1
2 2
6. Let 𝐴 = (−1 1 ) Compute 𝐴2 and 𝐴3 . What will 𝐴𝑛 turn out to be?
2 2
1 1 1 2 0 5
−1 1 2 5 2 6
a) ( ) b) ( ) c) ( ) d) (0 1 1) e) (0 3 0)
1 0 1 3 3 8
0 0 1 1 0 3
8. For each of the following, compute (i) detA (ii) adj(A) and 𝐴−1
1 3 1 1 1 1
1 2
a) 𝐴 = ( ) b) 𝐴 = ( 2 1 1) c) (0 1 1)
3 −1
−2 2 1 0 0 1
9. Use Cramer’s rule to solve each of the following systems.
𝑥1 + 𝑥2 =0
2 𝑥1 + 𝑥2 + 𝑥3 = 4 𝑥1 + 𝑥2 =5
𝑥2 + 𝑥3 − 2𝑥4 =1
a) { 𝑥1 − 𝑥2 + 2𝑥3 = 2 b) { 2𝑥1 + 𝑥2 − 𝑥3 = 6 c){
𝑥1 + 2𝑥3 + 𝑥4 =0
3𝑥1 − 2𝑥2 − 𝑥3 = 0 3𝑥1 − 𝑥2 + 2𝑥3 = 7
𝑥1 + 𝑥2 + 𝑥4 =0
1 2 3
10. Given 𝐴 = (2 3 4)
3 4 5
a) Compute the determinant of A. Is A nonsingular?
3 4
11. If A= (1 1) , then verify that: a) 5𝐴 = 3𝐴 + 2𝐴 b) 6𝐴 = 3(2𝐴)
2 7
c) (𝐴𝑡 )𝑡 = 𝐴
1 −1
2 2
12. Let 𝐴 = (−1 1 ) Compute 𝐴2 and 𝐴3 . What will 𝐴𝑛 turn out to be?
2 2
13. For each of the following, compute (i) detA (ii) adj(A) and 𝐴−1
1 3 1 1 1 1
1 2
a) 𝐴 = ( ) b) 𝐴 = ( 2 1 1) c) (0 1 1)
3 −1
−2 2 1 0 0 1
This chapter aims at teaching a method of approach to certain problems involving arrangements
and selections.
This chapter helps us to count all elements of finite set; for counting all elements of finite set the
injection, surjection and Cartesian product play important role.
#(𝐴 × 𝐵) = #𝐴. #𝐵
𝐴 × 𝐵 = {(1, 𝑥), (1, 𝑦), (2, 𝑥), (2, 𝑦), (3, 𝑥), (3, 𝑦)}
#(𝐴 × 𝐵) = #𝐴. #𝐵 = 3 × 2 = 6
Example2: How many words of three alphabet can you form using English the alphabet such that
the first and the last are consonant and the second is vowel.
Answer: Consider C as the set of consonant and Vas the set of vowel.
#𝐶 = 20, #𝑉 = 6
#(𝐴𝑈𝐵) = #𝐴 + #𝐵 − #(𝐴 ∩ 𝐵)
Applications:
1. If the 40 students of a classroom 26 are boys, 10 students are blonds (according to the eyes color
) the remanding are bruns such that 10 girls are bruns. How many boys who are blonds?
2. Consider A and B are 2 disjoints sets, such that #𝐴 = 100 and #𝐵 = 60, C is a set verify
1
#(𝐴𝑈𝐵 ∪ 𝐶) = 160 and #(𝐵 ∩ 𝐶) = 2 #(𝐴 ∩ 𝐶) = 30. Determine#𝐶?
Solutions:
1. Suppose that B as the set of girls and boys who are blonds and A as the set of girls and boys
who are bruns.
𝐴∩𝐵 =∅
40 = #(𝐴𝑈𝐵) = #𝐴 + #𝐵 − #(𝐴 ∩ 𝐵) = #𝐴 + #𝐵
↔ 160 = 100 + 60 + #𝐶 − 60 − 30 + 0 ↔ #𝐶 = 90
a) Definition
Consider non empty finite set E and 𝑝 ∈ 𝑵∗ . We call p-list of element of E all sequence
(𝒆𝟏 , 𝒆𝟐 , 𝒆𝟑 , 𝒆𝟒 , ⋯ , 𝒆𝒑 ) such that 𝒆𝒊 ∈ 𝑬.
A p-list is ordered list of p elements of E means that the order of these elements is very important.
b) Example:
a) Definition
If we take p elements of E one after another with repetition means that before taking the second
objects in E we must put the first into E, we continue this process until we take p objects is called
arrangement with repetition of n objects taken p by p.
b) Notation
Suppose that #𝐸 = 𝑛,
b) Example: How many can you write the number of 3 digital different to zero?
a) Factorial notation: The factorial notation is defined as follows 𝑛! = 𝑛(𝑛 − 1)(𝑛 − 2)(𝑛 −
3) ⋯ 3.2.1 = ∏𝑛𝑘=1 𝑘, when 𝑛 is integer positive.
Examples: 5! = 5 × 4 × 3 × 2 × 1 = 720
0! = 1! = 1
𝑛! = 𝑛(𝑛 − 1)!
5! = 5.4!
(𝑛+3)! (𝑛+3)(𝑛+2)(𝑛+1)𝑛!
= = (𝑛 + 3)(𝑛 + 2)(𝑛 + 1)
𝑛! 𝑛!
b) Definition
E is a finite non empty set of cardinal n and p is a natural number such that1 ≤ 𝑝 ≤ 𝑛.
All arrangement without repetition of n objects p by p can also interpret as an injection of set p
elements in a set of n elements.
c) Notation
d) Examples:
2. how many permutations of six objects taken two a time can be made?
𝟔! 𝟔! 𝟔.𝟓.𝟒!
Answer: 𝟔𝑷𝟐 = (𝟔−𝟐)! = 𝟒! = = 𝟔. 𝟓 = 𝟑𝟎
𝟒!
3. How many four-digits can be formed from the digits 2, 3, 4, 5, 6 and 7without repetition?
𝟔! 𝟔!
Answer: 𝟔𝑷𝟒 = (𝟔−𝟐)!
= 𝟐! = 𝟔. 𝟓. 𝟒. 𝟑 = 𝟑𝟔𝟎
We denote 𝒏𝑷𝒏 = 𝒏!
Definition:
The number of arrangement of n items, where there are k groups of like items of size𝑟1 , 𝑟2 , ⋯ , 𝑟𝑘 ,
𝒏! 𝒏!
respectively, is given by: 𝒓 = ∏𝒌
𝟏 .𝒓𝟐 .𝒓𝟑 ⋯𝒓𝒌 𝒊=𝟏(𝒓𝒊 )
Remark: If the number of objects is very small, we can use Tree diagram for determining the
a) Definition
Consider E non empty finite set of cardinal n and r is a natural number such that 0 ≤ 𝑟 ≤ 𝑛.
We call combination but r-elements of E all part of r elements of E.
Remark: The order of elements does not contribute; the elements are 2 by 2 disjoints
b) Notation
c) Principle of choice
d) Properties of 𝒏𝑪𝒓
Binomial theorem
According to the theorem, it is possible to expand the power (x + y)n into a sum involving terms
of the form axbyc, where the coefficient of each term is a positive integer, and the sum of the exponents
of x and y in each term is n.
The binomial coefficients appear as the entries of Pascal's triangle. The following numbers are called
binomial coefficients:
Pascal's triangle
This formula is sometimes referred to as the binomial formula or the binomial identity.
EXERCISES
ANSWERS
a) Definition
A function is a relationship between an output which is dependant variable of a given input which
is independent variable such that each element of stating set has at most one image in arriving set.
i.e.𝑓: 𝐴 → 𝐵
𝑥 → 𝑓(𝑥) = 𝑦
𝑓 is a function iff ∀ 𝑥 ∈ 𝐴, ∃! 𝑦 ∈ 𝐵 ∶ 𝑓(𝑥) = 𝑦
b) Domain of definition and the image of a function
- A domain of definition of a function is all elements of starting set 𝐴 which have the image
in 𝐵.
i.e. 𝑑𝑜𝑚𝑓 = {𝑥 ∈ 𝐴 ∶ ∃! 𝑦 ∈ 𝐵 𝑤ℎ𝑒𝑟𝑒 𝑦 = 𝑓(𝑥)}
- An image of a function is all elements of arriving set 𝐵 which have the correspondence in
starting set 𝐴.
i.e. 𝐼𝑚𝑓 = {𝑦 ∈ 𝐵 ∶ ∀ 𝑥 ∈ 𝐴 𝑤ℎ𝑒𝑟𝑒 𝑦 = 𝑓(𝑥)}
A numerical function is a relationship between starting set and arriving set such that each element of
starting set admits at most one image in arriving set and starting set is a subset of a set of real numbers
and arriving set is a set of real numbers.
Particular cases:- If 𝑛 = 2, then this function is called a quadratic function i.e. 𝑓(𝑥) = 𝑎2 𝑥 2 +
𝑎1 𝑥 + 𝑎0 where 𝑎2 ≠ 0.
2 0) Rational functions
ℎ(𝑥)
A rational function is a function of the form: 𝑓(𝑥) = 𝑔(𝑥) ,where 𝑔(𝑥) ≠ 0.
A particular case of a rational functions is a fractional function is a function of the form: 𝑓(𝑥) =
ℎ(𝑥)
,where 𝑔(𝑥) ≠ 0, and 𝑔(𝑥) 𝑎𝑛𝑑 ℎ(𝑥) are polynomial functions.
𝑔(𝑥)
𝒅𝒐𝒎𝒇 = ℝ\{𝒈(𝒙) = 𝟎}
2𝑥 3 −3𝑥+7
Example: 𝑓(𝑥) = 2
3𝑥 4 +4𝑥 2 − 𝑥+8
5
3 0) Irrational functions
𝑛
An irrational function is a function of the form: 𝑓(𝑥) = √ℎ(𝑥) ,∀ 𝑛 ∈ ℕ\{𝟎, 𝟏}.
3 2𝑥+1
2) (𝑥) = √ 𝑥−7 , Find the 𝑑𝑜𝑚𝑓?
2nd case: If n is an even positive integer, then 𝒅𝒐𝒎𝒇 = {𝒙 𝒔𝒖𝒄𝒉 𝒕𝒉𝒂𝒕 𝒉(𝒙) ≥ 𝟎}
−𝟏
So, the 𝑑𝑜𝑚𝑓 = ] 𝟐 , +∞[
Exercises:
i.e 𝑓: ℝ0+ → ℝ
Remarks: If 𝑎=10, then we say that 𝑓(𝑥) is a decimal logarithmic function and is denoted as 𝑓(𝑥) =
log10 ℎ(𝑥) or 𝑓(𝑥) = log ℎ(𝑥)
If 𝑎=e, then we say that 𝑓(𝑥) is a neperian logarithmic function and is denoted as 𝑓(𝑥) = log 𝑒 ℎ(𝑥)
or 𝑓(𝑥) = ln ℎ(𝑥)
Signs table:
x −∞ -3 -2 +∞
𝑥+3 - - 0 +++
𝑥+2 - - - - - 0 +++++++
𝑥 2 + 5𝑥 + 6 ++++ 0 - -- - - - 0 + + ++ ++ +++
2𝑥+3
2. E.C: 1) > 0 2) 𝑥 + 4 ≠ 0 → 𝑥 ≠ −4
𝑥+4
If we determine the intersection between 2) and 3) condition we observe that is the third one.
Signs table:
−3
x −∞ −4 +∞
2
𝑥+4 - - 0 +++
2𝑥 + 3 - - - - - 0 +++++++
2𝑥+3
++++ 0- -- --- 0 + + ++ ++ +++
𝑥+4
2𝑥+3 𝟑
So, > 0 ↔ ]−∞, −𝟒[ ∪ ]− 𝟐 , +∞[
𝑥+4
𝟑
Hence, the 𝑫𝒐𝒎𝒇 = (]−∞, −𝟒[ ∪ ]− 𝟐 , +∞[) ∩ ]2,3[ ∪ ]3, +∞[ = ]2,3[ ∪ ]3, +∞[
iii) Properties
0. log 𝑎 𝑥 = log 𝑎 𝑦 ↔ 𝑥 = 𝑦
1. log 𝑎 (𝑥𝑦) = log 𝑎 𝑥 + log 𝑎 𝑦 , 𝑎 ∈ 𝑅 + \{0,1} 𝑎𝑛𝑑 𝑥, 𝑦 ∈ 𝑅0 +
2. log 𝑎 (∏𝑛𝑖=1(𝑥𝑖 )) = ∑𝑛𝑖=1(log 𝑎 𝑥𝑖 )
𝑥
3. log 𝑎 (𝑦) = log 𝑎 𝑥 − log 𝑎 𝑦 , 𝑎 ∈ 𝑅 + \{0,1} 𝑎𝑛𝑑 𝑥 ∈ 𝑅0 + , 𝑦 ∈ 𝑅0 + \{1}
4. log 𝑎 𝑥 𝑝 = 𝑝 log 𝑎 𝑥, ∀ 𝑝 ∈ 𝑅
log 𝑥
5. log 𝑎 𝑥 = log𝑐 𝑎 (Change of basis formula)
𝑐
6. 𝑥 = 𝑥, ∀ 𝑥 ∈ 𝑅0 +
log𝑎 𝑥
In particular:
1 1
∀𝑥 ∈ ℝ0+ : (log 𝑥)′ = log 𝑒 =
𝑥 𝑥 ln 10
1 1
∀𝑥 ∈ ℝ+ ′
0 : (ln 𝑥) = ln 𝑒 =
𝑥 𝑥
𝑢′ (𝑥)
In general, we have: (log 𝑎 𝑢(𝑥))′ = 𝑢(𝑥) ln 𝑎
𝑢′ (𝑥)
(log 𝑢(𝑥))′ =
𝑢(𝑥) ln 10
𝑢′ (𝑥)
(ln 𝑢(𝑥))′ =
𝑢(𝑥)
b) Exponential functions
j) Definition
i.e 𝑓: ℝ → ℝ0+
Remark: If 𝑎=e, then we say that 𝑓(𝑥) is a natural exponential function and is denoted as 𝑓(𝑥) =
𝑒 ℎ(𝑥)
v) Derivative of logarithm
functions
We admit that: ∀ 𝑎 ∈ ℝ+ + 𝑥 ′ 𝑥
0 \{1}; ∀𝑥 ∈ ℝ0 : (𝑎 ) = 𝑎 ln 𝑎
In particular: ∀𝑥 ∈ ℝ+ 𝑥 ′
0 : (𝑒 ) = 𝑒
𝑥
′
In general, we have: (𝑎𝑢(𝑥) ) = 𝑢′ (𝑥)𝑎𝑢(𝑥) ln 𝑎
′
(𝑒 𝑢(𝑥) ) = 𝑢′ (𝑥)𝑒 𝑢(𝑥)
Exercises
1
4. Solve for x in the equation log 4 𝑥 − log 4 (𝑥 − 1) = 2
2𝑥 2 − 2
Let f:ℝ ⟶ ℝ: 𝑥 ⟼ 2𝑥 + 2 and g: ℝ ⟶ ℝ: 𝑥 ⟼ two functions. Find the domain of
𝑥−1
definition and the graph and the limit at 1.
For f(x),dom f= ℝ and the graph is a straight line which passes through (0,2);(-1,0) and (1,4).
For g(x), dom g =ℝ⁄{1} and the graph is straight line which passes through (0,2);(-1,0) but doesn’t
pass through (1,4) because 1 is not element of the domain of g; but when x is a neibourhood of 1
we see that g(x) is 4.We say that 4 is a limit of f and of g at 1 and we denote it lim 𝑓(𝑥) =
𝑥→1
4 = lim 𝑔(𝑥).
𝑥→1
We say that lim 𝑓(𝑥) = 𝑏 ⇔ ∀𝜀 > 0, ∃𝛿 > 0: 0 < |𝑥 − 𝑎| < 𝛿 ⟹ |𝑓(𝑥) − 𝑏| < 𝜀.
𝑥→𝑎
Examples: Prove that (1) lim (2𝑥 + 5) = 9 ; (2) lim (2𝑥 3 − 10𝑥) = 4
𝑥→2 𝑥→−2
(2) lim (2𝑥 3 − 10𝑥) = 4 ⇔ ∀𝜀 > 0, ∃𝛿 > 0: 0 < |𝑥 + 2| < 𝛿 ⟹ |𝑓(𝑥) − 4| < 𝜀
𝑥→−2
Let a∈ ℝ , the variable x can approach a from the right or from the left side. We distinguish these 2
limits by x⟶ 𝑎+ and x⟶ 𝑎− .Then lim+ 𝑓(𝑥) = 𝑏 indicates that b is the limit of f on the right
x⟶𝑎
side at a
And lim− 𝑓(𝑥) = 𝑐 indicates that c is the limit of f on the left side at a
x⟶𝑎
Consequence: if lim+ 𝑓(𝑥) ≠ lim− 𝑓(𝑥) then the limit at a does not exist.
x⟶𝑎 x⟶𝑎
|𝑥−3|
Example: Let f(x)=2𝑥−6 ;find the limit at 3.
𝑥 − 3 𝑖𝑓 𝑥 > 3 𝑥−3 1
|𝑥 − 3| = { ;then lim+ 𝑓(𝑥) = lim+ 2(𝑥−3) = 2 ; and
−𝑥 + 3 𝑖𝑓 𝑥 < 3 x⟶3 x⟶3
−𝑥+3 1
lim− 𝑓(𝑥) = lim− 2(𝑥−3) = − 2 ; then the limit at 3 does not exist.
x⟶3 x⟶3
If the functions f(x) and g(x) admit a limit at the point a then:
Examples: Let f(x)=2x+3 and g(x)=𝑥 2 − 5 .We calculate that (1) lim (𝑓(𝑥) − 𝑔(𝑥)) = 3.
𝑥→−1
𝑓(𝑥) 9 1
(3) lim(𝑓(𝑥). 𝑔(𝑥)) = −7. (3) lim 𝑔(𝑥) = 4 . (4) lim 𝑓(𝑥) 𝑔(𝑥) = 625
𝑥→2 𝑥→3 𝑥→1
The concept of the limitlim 𝑓(𝑥) = 𝑏 can be define for a or b which are infinite:
𝑥→𝑎
∞ 𝟎
Indeterminate forms (0. ∞ ; ∞ − ∞;∞ ;𝟎 ;𝟏∞ , 𝟎𝟎 , ∞𝟎 , 𝟎∞ ).
∞ 0
The symbols 0. ∞ ; ∞ − ∞;∞ ;0 ;1∞ ; 00 ; ∞0 ; 0∞ don’t have a signification quantity, and are
called indeterminate forms in calculation of limits. To give a precision to the forms above we use
some theorems in this operation.
𝑠𝑖𝑛𝑥
Theorem1: lim = 1.
𝑥→0 𝑥
0 𝑖𝑓 𝑛 < 𝑚.
𝑓(𝑥) 𝑎𝑛
(2) lim = {𝑏 𝑖𝑓 𝑛 = 𝑚 .
𝑥→∞ 𝑔(𝑥) 𝑚
∞ 𝑖𝑓 𝑛 > 𝑚.
1
Theorem3: Let e=2.71828…. , the number of Neper; then lim(1 + 𝑥 )𝑥 = 𝑒 .
𝑥→0
1 𝑥
lim (1 + 𝑥) = 𝑒.
𝑥→∞
00 , 0 or 1 is produced.
We have the following four steps for finding the limit of f ( x)
g ( x)
as x a :
i. Let y f ( x)
g ( x)
ii. Simplify ln y g ( x) ln f ( x)
Indeterminate form of type
an
n
b ,n m
ak x k
n
lim k 0
0, n m
x m
i 0
bi x i , n m
0
Indeterminate form of type .
0
x2 1 0 ( x 1)( x 1)
a) lim lim lim( x 1) 2
x 1 x 1 0 x1 x 1 x 1
sin 4 x sin 4 x
4x lim
sin 4 x 0 4 x lim 4 x x 0 4 x 2
b) lim lim
x 0 sin 2 x
0 x 0
2x
sin 2 x x 0 2 x
lim
sin 2 x
2x x 0 2x
Exercises
Solutions
0
of 2:( 1) is an indeterminate form . Then :
0
𝑠𝑖𝑛4𝑥 𝑠𝑖𝑛4𝑥
2𝑥+𝑠𝑖𝑛4𝑥 𝑥(2+ ) 2+4lim
𝑥→0 4𝑥
lim =lim 𝑥
𝑠𝑖𝑛3𝑥 = 𝑠𝑖𝑛3𝑥 =−3
𝑥→0 𝑥−𝑠𝑖𝑛3𝑥 𝑥→0 𝑥(1− ) 1−3lim
𝑥 𝑥→0 3𝑥
∞ −3𝑥 2 +𝑥
( 2) is an indeterminate form . Then we apply theorem 2 and lim (−𝑥 2 −𝑥+2) = 3
∞ 𝑥→∞
3
0 𝑥−2 (𝑥−2)( √(3𝑥+2)2 + 2 3√3𝑥+2+4) 12
(3)is an indeterminate form . lim 3 = lim 3 3 = −6 = −2
0 𝑥→2 √3𝑥+2− 2 𝑥→2 ( √3𝑥+2− 2)( √(3𝑥+2)2 + 2 3√3𝑥+2+4)
3𝑥
∞ 𝑥+6 3𝑥 1 𝑥+2
(4) is an indeterminate form 1 ;or lim (𝑥+2) = lim (1 + 𝑥+2 ) .if t= the limit become
𝑥→∞ 𝑥→∞ 4
4
1 12𝑡−6
lim (1 + 𝑡 ) = 𝑒 12
𝑡→∞
0 𝑥(1−𝑥) 1
(5) is an indeterminate form .Then(5)= lim ((1−𝑥)(𝑥+2)) = 2
0 𝑥→1
x
k
lim 1 1 .Put x kt . Then t and if x t
x
b)
x
x k
k
k
x
1
kt
1
t
x2 x2
x x x
x2 3
1 ;
3
c) lim 1 ; lim lim 1
x
x 1 x 1 x 1 x x 1 x x 1
1
Put t ( x 1) x 3t 1. If x t
3
3
3
x
1
3t 1
1
t
1
3t 1
(ii) lim 𝑓(𝑥) exists (ie lim− 𝑓(𝑥) = lim 𝑓(𝑥) = lim+ 𝑓(𝑥) ).
𝑥⟶𝑎 𝑥⟶𝑎 𝑥⟶𝑎 𝑥⟶𝑎
If one of the 3 conditions is not satisfied, we say that the function f is discontinuous at the point a.
1 𝑖𝑓 𝑥 > 0
(2)f(x)={ 10 𝑖𝑓 𝑥 = 0 discontinuous at the point x=0
−2 𝑖𝑓 𝑥 < 0
𝑥+2
(3)f(x)=(𝑥+1)(𝑥−2) is discontinuous at the point x=2 and at the point x= 1.
𝑥 2 −1
(4)f(x)= 𝑥−1 is discontinuous at the point x=1.
Exercise: Study the continuity of the functions above and verify the conclusion given.
If f(x) is not defined at a, but lim 𝑓(𝑥) 𝑒𝑥𝑖𝑠𝑡𝑠 we say that is a point of an apparent or eliminable
𝑥⟶𝑎
discontinuity.
𝑥 2 −1
For example f(x)= 𝑥−1 has an apparent discontinuity at x=1.But if we take f(1)=2 the function is
𝑥 2 −1
𝑖𝑓 𝑥 ≠ 1
prolonged by continuity and in this case f(x)={ 𝑥−1 is continuous at the point x=1.
2 𝑖𝑓 𝑥 = 1
If lim− 𝑓(𝑥) 𝑎𝑛𝑑 lim+ 𝑓(𝑥) exist but are not equal ,we say that f(x) presents a simple
𝑥⟶𝑎 𝑥⟶𝑎
discontinuity at x=a(or a is a point of discontinuity of the first type).
1 𝑖𝑓 𝑥 > 0
For example f(x)={ 10 𝑖𝑓 𝑥 = 0 has at x=o a point of discontinuity of the first type.
−2 𝑖𝑓 𝑥 < 0
We say that that a function f has a discontinuity of second type at a if one at least of its limits on the
left and on the right does not or is infinite.
𝑥 2 +1
For example f(x)= has a discontinuity of the second type at x=1 because lim− 𝑓(𝑥) =
𝑥−1 𝑥⟶1
−∞ 𝑎𝑛𝑑 lim+ 𝑓(𝑥) = +∞ .
𝑥⟶1
Properties:
If the function f(x) is continuous on the interval [a , b] and if f(a) and f(b) take the values of different
signs ,then it exists at least a point c ∈ ]𝑎, 𝑏[ such that f(c)=0.
Application: Let f(x)=𝑥 3 + 𝑥 2 − 2𝑥 − 3;verify if the graph of f passes through x-axis in the
interval [1,2].
Verification: As a polynomial function the function f(x) is continuous on and in a very subset of
including [1,2].secondly f(1)= - 3 and f(2)= 5 and have different signs. Consequently there is c ∈
]1,2[ such that f(c)=0.Then c is a zero of f(x) and the graph of f passes through x-axis at (c,0).
EXERCISES
2. In the following exercises we told that lim 𝑓(𝑥) = 𝑙 find a number 𝛿 such that |𝑓(𝑥) − 𝑙| < 𝜖
𝑥→𝑎
whenever 0 < |𝑥 − 𝑎| < 𝛿:
𝑥 2 −1
a) lim(5𝑥 − 2) = 13 , 𝜖 = 0.01 b) lim = −2 , 𝜖 = 0.05
𝑥→3 𝑥→6 𝑥+1
𝑥 𝑥 𝑥−1
5.Find the following limits: a) lim− (𝑥−2) b) lim+ (𝑥−2) c) lim− (|𝑥−1|)
𝑥→2 𝑥→2 𝑥→1
cosh 𝑥 −1
d) lim ( )
𝑥→0 𝑥2
1
𝑥2 1+𝑥 3 𝜋
6. Study the continuity of: a) 𝑦 = 𝑥−2 b) 𝑦 = 1+𝑥
c) 𝑦 = sin 𝑥 d) 𝑦 = 𝑒 𝑥+1
a) Definitions
Then we get the terms of the sequence which are: 𝑢1 , 𝑢2 ,⋯, 𝑢𝑛 , ⋯and we denote them briefly by
bracket notation as (𝑢𝑛 )𝑛𝜖𝑁 or {𝑢𝑛 }+∞
𝑛=1 .
The number 𝑢1 , is the first term of the sequence and 𝑢𝑛 is the general term of the sequence(𝑢𝑛 )𝑛𝜖𝑁 .
Example: In the sequence 1 , ½ , 1/3 ,1/4 , …,1/n ,…..the first term is 1,the second term is ½ and
1/n is the general term.
In the sequence 1, 4, 9, 16,…,𝑛2 ,…the first term is 1;the second term is 4,the general term is
𝑛2 .
We say that the sequence (𝑢𝑛 )𝑛𝜖𝑁 is bounded if there exist two real numbers m and M such that
for any; we have m ≤ 𝑢𝑛 ≤ M. The real m is the lower bound of the sequence and M is the upper
bound.
1
Exercise1:We define a sequence (𝑢𝑛 )𝑛𝜖𝑁 by 𝑢𝑛 = 2 + 𝑛 .Find the terms of the sequence and show
if it is monotonous or bounded.
Solution:
; ;. ; ;…….. =2+
We say that the sequence tends to or has a limit l if for all ε , there is an integer p
such that n>p .
Theorem: Suppose that the sequences and converge to limits and , respectively, and
c is constant. Then:
a)
b)
c)
d)
e) (if )
Examples: Calculate the limit of the following sequences:
(4)
Solutions: (1) = =2
The numerator is the sum S of an arithmetic progression: the reason is 2 and the number p of term
is such that 4n+1=(p – 1 )2 +3,then p=2n. S=
So
Finally = =2/3
We put at the same denominator and we follow the method used at (1); finally we find 1/3.
1. Arithmetic progressions
is an arithmetic progression if
Property: Let an arithmetic progression with reason r and with the first term
If is the term; and the sum of n first terms (partial sum); then
(1) =
(2) = =
and .
2. Geometric progressions
is an Geometric progression if
Property: Let a geometric progression with reason q and with the first term
If is the term; and the sum of n first terms (partial sum); then
(1) =
(2) = =
and .
Exercises
a) b) c) d) e)
a) b) c) d)
a) b) c) d) e) f)
5. Three numbers are in arithmetic progression. Find the numbers if their sum is 30 and the of their
squares is 332?
6. If , and 54 are three consecutive terms of a geometric sequence, find the possible
values of a, and the numerical value of the next term for each value of a found?
(a) (c)
8. If , and 54 are three consecutive terms of a geometric sequence, find the possible
values of a, and the numerical value of the next term for each value of a found?
9. Calculate
3.1. DIFFERENTIATION
3.1.1. Definitions
Increment:If a variable x is given an increment x from x x , an arbitrary but fixed value of x in its
range, a function y f ( x) will be given in turn an increment, y f ( x) f ( x x) f ( x) .
f ( x)
The average rate of change of a function f ( x) with respect to x is given by .
x
The derivative: The derivative of a function f ( x) with respect to x is denoted by f ( x) and defined
de f
f ( x) f ( x x) f ( x)
as f ( x) lim lim , provided the limit exists.
x 0 x x 0 x
Remark: It should be understood that the existence of a derivative is a local property of a function,
that is, it is a property for a given value of x and not for the entire function. The process of finding
f ( x)
the derivative f is called differentiation of f . f ( x) lim tan ; where : angle
x 0 x
between X axis and the tangent line of y f ( x) at point x . f ( x) is the slope of tangent line of
y f ( x) at x, f ( x)
Geometrical interpretation
When h approaches zero, the point Q approaches point P. At this time, the secant line
begins to resemble the tangent to the function f(x) at Point P, and thus the angle α tends to
be β.
The gradient or slope of the tangent to the curve at a point is equal to the derivative of the
function at that point.
𝑚𝑡 = 𝑓 ′ (𝑎)
Examples: Given the parabola f(x) = x2, find the points where the tangent line is parallel to
the bisector of the first quadrant.
The bisector of the first quadrant has the equation y = x, so its slope is m = 1.
Since the two lines are parallel they have the same slope, so: 𝑓 ′ (𝑎) = 1.
Since the slope of the tangent to the curve equals the derivative at x = a.
We prove that f’( a) is the slope of the tangent T of the representative curve of f(x) at the point a
.Then 𝑇 ≡ 𝑦 − 𝑓(𝑎) = 𝑓 ′ (𝑎)(𝑥 − 𝑎) and if N is the normal of f(x) at the point a then the equation
1
of N is N≡ 𝑦 − 𝑓(𝑎) = − 𝑓′ (𝑎) (𝑥 − 𝑎) .
For example if f(x)= 𝑥 2 + 𝑥 then the tangent T and the normal N of f(x) at x=2 ,are
1
𝑇 ≡ 𝑦 − 6 = 5(𝑥 − 2) and N≡ 𝑦 − 6 = − 5 (𝑥 − 2).
2𝑥 − 6 𝑖𝑓 𝑥 > 3
We define|2𝑥 − 6| = { then 𝑓−′ (3) = −2 𝑎𝑛𝑑 𝑓+′ (3) = 2. Then the two
−2𝑥 + 6 𝑖𝑓 𝑥 ≤ 3
derivative are not equal ,so the function is not derivable at x=3.
1. c 0, where c is a constant 2. f ( x) g ( x) f ( x) g ( x)
3. cf ( x) cf ( x) 4. f ( x) g ( x) f ( x) g ( x) f ( x).g ( x)
f ( x) f ( x) g ( x) f ( x) g ( x)
5.
g ( x) g 2 ( x)
1
7. The differentiation of the inverse function yx
xy
1
6. arcsin x 7. arccos x
1
1 x2 1 x2
1
8. arctan x 9. arc cot x
1
1 x2 1 x2
12. e x e x 13. a x a x ln a
If f ( x), which is also a function of x is differentiable, then its derivative is called the second
derivative of f ( x) and is denoted by f this f ( x) f ( x) the third and higher derivatives of f ( x)
are defined similarly.
(n) ( n 1)
Note that for f ( x) to exist, f ( x) must be differentiable
(0)
f ( x) is considered as f ( x)
Solution:
3.1.5. Differentials
The differential of the independent variable x is equal to the increment of the variable, but the
differential of the function is not equal to the increment of the function.
df ( x)
From the relation df ( x) f ( x)dx we can write: f ( x) .
dx
df
The derivative of a function f ( x) with respect to x is equal to quotient of the differentials.
dx
Properties
1. dc 0 2. d f ( x) g ( x) df ( x) dg ( x)
f ( x) g ( x)df ( x) f ( x)dg ( x)
3. d f ( x) g ( x) g ( x)df ( x) f ( x ) dg ( x) 4. d
g ( x) g 2 ( x)
Higher differentials
d2 f d3 f d n f ( x)
We can also write: f ( x) ; f ( x ) ;...; f (n)
( x )
dx 2 dx3 dx n
Remark:
If the function is written as implicit function with together y and x; we differentiate with respect to x
the two sides of the equation and we deduce 𝑦′𝑥 .
2𝑥−3
For example if 𝑦 6 − 𝑥 2 − 𝑦 + 3𝑥 = 0 then y’=6𝑦 5 −1
𝑥 = ℎ(𝑡)
Remark: If the function is written at a parametric form:{ where tϵR;
𝑦 = 𝑔(𝑡)
𝑑𝑦 𝑔′ (𝑡)𝑑𝑡
Then the derivative function is 𝑑𝑥 = ℎ′ (𝑡)𝑑𝑡.
𝑥 = 𝑎(𝑠𝑖𝑛𝑡)3 𝑑𝑦
For example if f is defined by{ 3 then 𝑑𝑥 = −𝑐𝑜𝑡𝑡.
𝑦 = 𝑎(𝑐𝑜𝑠𝑡)
EXERCISES
3
1. Calculate the increment of 𝑦 = √𝑥, if:
a) 𝑥 = 0, ∆𝑥 = 0.001 b) 𝑥 = 8, ∆𝑥 = −9 c) 𝑥 = 𝑎, ∆𝑥 = ℎ
𝑥2
2. Calculate the derivative of: a) 𝑦 = 𝑥 7 𝑒 𝑥 b) 𝑦 = ln 3𝑥 c) 𝑦 = 𝑒 𝑥 sin−1 𝑥
1 − 𝑥, 𝑓𝑜𝑟 𝑥 ≤ 0
3. Calculate 𝑓 ′ (𝑥) = { −𝑥
𝑒 , 𝑓𝑜𝑟 𝑥 > 0
𝑎2 −𝑥 2 𝑥
a) 𝑓(𝑥) = √sin(𝑥 2 ) b) 𝑓(𝑥) = sin−1 (𝑎2 +𝑥 2 ) c) 𝑓(𝑥) = 1 , 𝑥 ≠ 0, 𝑓(0) = 0
1+𝑒 𝑥
1 1
d) 𝑓(𝑥) = 𝑥 2 sin 𝑥 , 𝑥 ≠ 0, 𝑓(0) = 0 e) 𝑓(𝑥) = 𝑥 sin 𝑥 , 𝑥 ≠ 0, 𝑓(0) = 0
𝑥 = 2𝑡 − 1 𝑥 = √𝑡 𝑥 = 𝑎 cos 3 𝑡 𝑥 = 𝑒 −𝑡
a) { b) { c) { d) {
𝑦 = 𝑡3 3
𝑦 = √𝑡 𝑦 = 𝑏 sin3 𝑡 𝑦 = 𝑒 2𝑡
𝑥2
8. Calculate the second derivative of: a) 𝑦 = 𝑥 7 𝑒 𝑥 b) 𝑦 = ln 3𝑥 c) 𝑦 = 𝑒 𝑥 sin−1 𝑥
0
Indeterminate form or
0
L’Hospital’s Rule
Let f(x) and g(x) be two functions defined on [𝑎 , 𝑏] such that f and g are continuous on [a , b] and
𝑓 ′ (𝑥) 𝑓(𝑥) 𝑓 ′ (𝑥)
derivable on ]𝑎, 𝑏[ .If f(𝑥0 )=g(𝑥0 )=0 and if lim exists then lim = lim .
𝑥⟶𝑥0 𝑔′ (𝑥) 𝑥⟶𝑥0 𝑔(𝑥) 𝑥⟶𝑥0 𝑔′ (𝑥)
𝑙𝑛𝑥 1/𝑥 1
Solution :(1)The indeterminate form is 0/0.The Hospital’s rule give lim = lim = −2 .
𝑥⟶1 1−𝑥 2 𝑥⟶1 −2𝑥
𝑠𝑖𝑛3𝑥 3𝑐𝑜𝑠3𝑥
(2)The indeterminate form is 0/0.We have lim = lim =±∞(+at the right;- at the
𝑥⟶𝜋 1−𝑐𝑜𝑠2𝑥 𝑥⟶𝜋 2𝑠𝑖𝑛2𝑥
left).
A straight line (d) is said to be an asymptote of an infinite branch of a curve if, as a variable point
P recedes to infinity along the branch, the perpendicular distance of the P from the line (d) tends to
zero.
lim f ( x) or both.
x a
lim f ( x) b
x
1
curve y
x
Not all asymptotes are horizontal or vertical the non vertical line O y kx n oblique asymptote if
Critical values for function f ( x) are values of x for which the function is defined and for which
f ( x) 0 or becomes infinity.
In each case, f ( x) changes from an increasing to a decreasing function and f ( x) changes sign from
positive to negative as x increases trough the corresponding critical value.
In each case, f ( x) changes from a decreasing to an increasing function and f ( x) changes sign from
negative to positive as x increases through the corresponding critical.
f x has neither a maximum nor minimum if f x does not change the sign
Step 3: The largest of the values in Step2 is the maximum and the smallest is the minimum
Example: Find the maximum and minimum values of the function 𝑓(𝑥) = 2𝑥 3 − 15𝑥 2 + 36𝑥 on
the interval [1,5], and determine where they occur.
𝑓 ′ (𝑥) = 0 → 6𝑥 2 − 30𝑥 + 36 = 0 ↔ 𝑥 2 − 5𝑥 + 6 = 0 → 𝑥 = 2 𝑜𝑟 𝑥 = 3
Step 3: Thus, the minimum value is 23 and the maximum value is 55. The minimum occurs at 𝑥 =
1 and the maximum occurs at 𝑥 = 5.
.An are of a curve y f x is concave up ward or bending up ward if, at each it is points, the
arc lies above tangent.
As x increases, f x either is of the same sign and increasing or change sign from negative to
positive. Is either case, the slope f x of curve is increasing and f is positive
. An arc of a curve y f x is concave down ward or bending down ward if, at each of its
points, the arc lies below the tangent
As x increases, f x either is of the same sign and decreasing or changes sign from positive to
negative. In either case, the slope f x of the curve is decreasing and f is negative. A point of
inflection (P.I) is a point at which a curve is changing from concave up ward to concave down
ward, or vice verse a.
Let f x c 2 I
Rolle’s theorem: If the function f(x) is continuous on the segment[a,b] ,derivable at any point inside the
segment (𝑎, 𝑏) and if f(a)=f(b);then there is at least one point 𝑐 ∈ (𝑎, 𝑏) 𝑠𝑢𝑐ℎ 𝑡ℎ𝑎𝑡 𝑓 ′ (𝑐) = 0.
Example: Show that the 𝑓(𝑥) = sin 𝑥 satisfies the Rolle’s theorem everywhere?
Solution: 𝑓(𝑥) = sin 𝑥 is both continuous and differentiable everywhere, so that 𝑓(𝑥) = sin 𝑥 is
continuous on [0, 2𝜋] and differentiable on (0,2𝜋).
So that 𝑓 satisfies the hypotheses of Rolle’s Theorem on the interval [0, 2𝜋].
Thus, we are guaranteed that there is at least one point 𝑐 ∈ (𝑎, 𝑏) 𝑠𝑢𝑐ℎ 𝑡ℎ𝑎𝑡 𝑓 ′ (𝑐) = 0.
𝜋 3𝜋
𝑓 ′ (𝑐) = 0 ↔ cos 𝑐 = 0 → 𝑐 = 𝑜𝑟 𝑐 =
2 2
Remark: Sometimes, however, the function 𝑓 is sufficiently complicated that it is difficult or impossible to find values
for 𝑐.
3.1.6.3. Mean-value theorem: If the function f(x) is continuous on the segment[a,b] ,differentiable at any point
𝑓(𝑏)−𝑓(𝑎)
inside the segment (𝑎, 𝑏) then ∃𝑐 ∈ (𝑎, 𝑏) 𝑠𝑢𝑐ℎ 𝑡ℎ𝑎𝑡 = 𝑓 ′ (𝑐).
𝑏−𝑎
Example: Show that the 𝑓(𝑥) = 𝑥 3 + 1 satisfies the Mean-value theorem on the interval [1, 2] and
find all values of 𝑐 in this interval whose existence is guaranteed by the theorem?
Solution:
If we take 𝑎 = 1 and 𝑏 = 2
𝑓 ′ (𝑥) = 3𝑥 2 , 𝑓 ′ (𝑐) = 3𝑐 2
𝑓(𝑏) − 𝑓(𝑎) 9 − 2
𝑓 ′ (𝑐) = → = 3𝑐 2 ↔ 3𝑐 2 = 7 → 𝑐 = √7⁄3 𝑎𝑛𝑑 𝑐 = −√7⁄3
𝑏−𝑎 2−1
EXERCISES
1. Find the maximum and the minimum values of 𝑓 on the given closed interval and state where
these values occur
𝑥
a) 𝑓(𝑥) = 4𝑥 2 − 4𝑥 + 1; [0, 1] b) 𝑓(𝑥) = 8𝑥 − 𝑥 2 ; [0, 6] c) 𝑓(𝑥) = 𝑥 2 +2 ; [−1, 4]
2. Find the dimensions of a rectangle with perimeter 100m whose area is as large as possible?
3. Find two numbers whose sum is 20 and whose product is: a) maximum b) minimum
4. Verify that the hypotheses of Rolle’s theorem are satisfied on the given interval and find all values
of 𝑐 that satisfy the conclusion of the theorem:
𝑥 2 −1
a) 𝑓(𝑥) = 𝑥 − 𝑥 3 ; [−1, 0] b) 𝑓(𝑥) = 𝑥 2 − 6𝑥 + 8; [2, 4] c) 𝑓(𝑥) = ; [−1, 1]
𝑥−2
5. Verify that the hypotheses of Mean value theorem are satisfied on the given interval and find all
values of 𝑐 that satisfy the conclusion of the theorem:
3.2. INTEGRATION
-Let f(x) a continuous function on an interval [𝑎, 𝑏] ; and F(x) a derivable function on an interval
]𝑎, 𝑏[.
F(x) is an anti-derivative of f(x) on an interval ]𝑎, 𝑏[ ,if F ‘(x)=f(x) for all x∈ ]𝑎, 𝑏[ .
Theorem:
If F(x) is an anti-derivative of a function f(x) on ]𝑎, 𝑏[ ; any other antiderivative of f(x) can be put in
the form F(x)+c ,where c is an arbitrary constant on this interval.
-If a function F(x) is an anti-derivative of a function f(x) on an interval ]𝑎, 𝑏[ , the set of the
functions F(x)+c, where c∈ ℝ is called an indefinite integral of f(x) on]𝑎, 𝑏[ and we write
∫ 𝑓(𝑥)𝑑𝑥 = 𝐹(𝑥) + 𝑐
-The function f(x) is called integrating or a function under the sign sum or a function to be
integrated.
X is the variable of integration and f(x)dx is called the expression under the sign sum.
Properties:
The differentiation of function give the tabular integrals or elementary integrals which are useful:
𝑥𝑛 𝑥 𝑛+1
(1) ∫ 𝑑𝑥 = + 𝑐;if n≠-1.
𝑛 𝑛+1
1
(2) ∫ 𝑥 𝑑𝑥 = 𝑙𝑛|𝑥|+c
(3) ∫ 𝑒 𝑥 𝑑𝑥 = 𝑒 𝑥 +c
𝑎𝑥
(4) ∫ 𝑎 𝑥 𝑑𝑥 = 𝑙𝑛𝑎+c
(5) ∫ 𝑐𝑜𝑠𝑥𝑑𝑥 = 𝑠𝑖𝑛𝑥+c
(6) ∫ 𝑠𝑖𝑛𝑥𝑑𝑥 = −𝑐𝑜𝑠𝑥 + 𝑐
(7) ∫(𝑠𝑒𝑐𝑥)2 𝑑𝑥 = ∫[1 + (𝑡𝑎𝑛𝑥)2 ]𝑑𝑥 = 𝑡𝑎𝑛𝑥+c
(8) ∫(𝑐𝑜𝑠𝑒𝑐𝑥)2 𝑑𝑥 = ∫[1 + (𝑐𝑜𝑡𝑥)2 ]𝑑𝑥 = − 𝑐𝑜𝑡𝑥+c
(9) ∫ 𝑠𝑒𝑐𝑥𝑡𝑎𝑛𝑥𝑑𝑥 = 𝑠𝑒𝑐𝑥 + 𝑐
(10) ∫ 𝑐𝑜𝑠𝑒𝑐𝑥𝑐𝑜𝑡𝑥𝑑𝑥 = −𝑐𝑜𝑠𝑒𝑐𝑥 + 𝑐
𝑑𝑥
(11) ∫ √1− 2 = 𝑎𝑟𝑐𝑠𝑖𝑛𝑥 + 𝑐
𝑥
𝑑𝑥
(12) ∫ 1+𝑥 2 = 𝑎𝑟𝑐𝑡𝑎𝑛𝑥 + 𝑐
𝑑𝑥
(13) ∫ = 𝑎𝑟𝑐𝑠𝑒𝑐𝑥 + 𝑐
𝑥√𝑥 2 − 1
𝑢′ (𝑥)
(14) ∫ 𝑑𝑥 = 𝑙𝑛|𝑢(𝑥)| + 𝑐
𝑢(𝑥)
𝑑𝑥 1 𝑥
(15) ∫ 𝑥 2 +𝑎2 = 𝑎 𝑎𝑟𝑐𝑡𝑎𝑛 𝑎 + 𝑐
𝑑𝑥 𝑥
(16) ∫ √𝑎2 2= 𝑎𝑟𝑐𝑠𝑖𝑛 𝑎 + 𝑐
−𝑥
𝑑𝑥 1 |𝑥−𝑎|
(17) ∫ 𝑥 2 −𝑎2 = 2𝑎 𝑙𝑛 |𝑥+𝑎| + 𝑐
𝑑𝑥 1 𝑥
(18) ∫ = 𝑎𝑟𝑐𝑠𝑒𝑐 𝑎 + 𝑐
𝑥√𝑥 2 −𝑎2 𝑎
(19) ∫ 𝑡𝑎𝑛𝑥𝑑𝑥 = 𝑙𝑛|𝑠𝑒𝑐𝑥| + 𝑐
Remark: The formulas ( 14) to ( 25) can be deduced by using a method of integration.
2𝑥
Example: Find (1) ∫(𝑡𝑎𝑛𝑥)2 𝑑𝑥; (2) ∫ 1+𝑥 2 𝑑𝑥
a) Direct integration
The method apply directly the table of elementary integrals and the properties of indefinite integrals
;like the following examples:
1 4
(1)∫ (5𝑐𝑜𝑠𝑥 + 2 − 3𝑥 2 + 𝑥 − 𝑥 2 +1) 𝑑𝑥 = 5𝑠𝑖𝑛𝑥 + 2𝑥 − 𝑥 3 + 𝑙𝑛|𝑥| − 4𝑎𝑟𝑐𝑡𝑎𝑛𝑥 + 𝑐
10 24 𝑥 |𝑥−4|
(2) ∫ (−3(𝑠𝑒𝑐𝑥)2 + 25+𝑥 2 − 𝑥 2 −16) 𝑑𝑥 = −3𝑡𝑎𝑛𝑥 + 2𝑎𝑟𝑐𝑡𝑎𝑛 5 − 3𝑙𝑛 |𝑥+4| + 𝑐
With we introduce a new variable which permits to transform a given integral in a tabular integral
like the theorem bellow:
Theorem:
Let u=g(x) be a definite and derivable function on the interval [a, b]and let B its set of the values; finally let f(u)
defined on B. If f(u)admits an anti-derivative on B then∫ 𝑓(𝑔(𝑥)). 𝑔′ (𝑥)𝑑𝑥 = ∫ 𝑓(𝑢)𝑑𝑢 on [a, b].
Examples: Calculate
Solution:
1
1
3 2 2𝑑𝑢 − 𝑢2
(1)Let u=𝑥 + 3𝑥 ⟹ 𝑑𝑢 = 3(𝑥 + 1)dx⇒ 𝐴 = ∫ = 2∫𝑢 2 du=2. 1 + 𝑐 = 4√𝑥 3 + 3𝑥 +c.
√𝑢
2
𝑑𝑥 𝑢2 (𝑙𝑛𝑥)2
(2)Let u=lnx⟹ 𝑑𝑢 = ⇒ 𝐵 = ∫ 𝑢𝑑𝑢 = +𝑐 = +𝑐
𝑥 2 2
𝑑𝑥
Remark: It is easy to find the integral𝐼 = ∫ 𝑎𝑥2 +𝑏𝑥+𝑐 because the transformation of 𝑎𝑥 2 + 𝑏𝑥 + 𝑐 give a sum
𝑏 𝑐 𝑏2 −∆
or a difference of two squares which are 𝑎(𝑢2 ± 𝑘 2 ) where 𝑢 = 𝑥 + 2𝑎 and ±𝑘 2 = 𝑎 − 4𝑎2 = 4𝑎2
1 𝑑𝑢 1 𝑢
𝑎
∫ 𝑢2 +𝑘 2 = 𝑎𝑘 𝑎𝑟𝑐𝑡𝑎𝑛 𝑘 + 𝑐 𝑖𝑓∆< 0 .
𝑑𝑥 1 𝑑𝑢 1
Then∫ 𝑎𝑥 2 +𝑏𝑥+𝑐 𝑏𝑒𝑐𝑎𝑚𝑒𝑠 𝑎 𝑢2
∫ = − 𝑎𝑢 + 𝑐 𝑖𝑓∆= 0 .
1 𝑑𝑢 1 𝑢−𝑘
{𝑎 ∫ 𝑢2 − 𝑘 2 = 𝑎2𝑘 𝑙𝑛 |𝑢+𝑘| + 𝑐 𝑖𝑓∆> 0 .
𝑑𝑥 1 𝑥+8−√57
Exercise: verify that (1)A=∫ 3𝑥 2 +48𝑥+21 = 6√57 𝑙𝑛 |𝑥+8+√57| + 𝑐 ;
𝑑𝑥 2 4𝑥−1 𝑑𝑥 1
(2)B=∫ 2𝑥 2 −𝑥+6 = 𝑎𝑟𝑐𝑡𝑎𝑛 + 𝑐 ;(3) D=∫ 3𝑥 2 +6𝑥+3 = − 3(𝑥+1) + 𝑐.
√47 √47
c) Integration by parts.
𝑠𝑖𝑛2𝑥 1 𝑠𝑖𝑛2𝑥 1
Then A= (x + 1) − 2 ∫ 𝑠𝑖𝑛2𝑥𝑑𝑥 = (x + 1) + 4 𝑐𝑜𝑠2𝑥 + 𝑐 .
2 2
𝑒 3𝑥
Solution:Let u=𝑥 2 𝑎𝑛𝑑 𝑑𝑣 = 𝑒 3𝑥 𝑑𝑥 ⇒ 𝑑𝑢 = 2𝑥𝑑𝑥 𝑎𝑛𝑑 𝑣 = ;
3
𝑒 3𝑥 2
then B=𝑥 2 − 3 ∫ 𝑥𝑒 3𝑥 𝑑𝑥. For the second time suppose u=x and 𝑑𝑣 = 𝑒 3𝑥 𝑑𝑥
3
𝑒 3𝑥 𝑥 2 𝑒 3𝑥 2 𝑥𝑒 3𝑥 1 𝑥 2 𝑒 3𝑥 2𝑥𝑒 3𝑥 2𝑒 3𝑥
⇒ 𝑑𝑢 = 𝑑𝑥 𝑎𝑛𝑑 𝑣 = ;and B= − [ − ∫ 𝑒 3𝑥 𝑑𝑥]𝑑𝑥 ⇒ 𝐵 = − + +
3 3 3 3 3 3 9 27
𝑐.
𝑐𝑜𝑠4𝑥
Let again u=𝑒 2𝑥 and dv= 𝑠𝑖𝑛4𝑥𝑑𝑥 ⇒ 𝑑𝑢 = 2𝑒 2𝑥 𝑑𝑥 𝑎𝑛𝑑 𝑣 = − .We find
4
𝑒 2𝑥
finally we find after calculation D= 10 (2𝑠𝑖𝑛4𝑥 + 𝑐𝑜𝑠4𝑥) + 𝑐 .
(*) if the degree of the numerator is higher or equal than that of the denominator (deg N ≥ 𝑑𝑒𝑔𝐷):
𝑁(𝑥) 𝑟(𝑥)
We divide directly and we find f(x) = 𝐷(𝑥) = 𝑞(𝑥) + where r(x) is the remainder of the
𝐷(𝑥)
fraction and q(x) is called the quotient of the fraction.
𝑁(𝑥) 𝑟(𝑥)
Then ∫ 𝐷(𝑥) 𝑑𝑥 = ∫ 𝑞(𝑥)𝑑𝑥 + ∫ 𝐷(𝑥) 𝑑𝑥
𝑥 4 −2𝑥 2 +5𝑥+2
Example: Calculate 𝐴 = ∫ 𝑑𝑥
𝑥 2 +4
Solution:
𝑥3 5 𝑥
and after calculation we have A= 3 − 6𝑥 + 2 ln(𝑥 2 + 4) + 12𝑎𝑟𝑐𝑡𝑎𝑛 2 + 𝑐.
(**) if the degree of the numerator is lower than the degree of the denominator ( deg N ≤ 𝑑𝑒𝑔𝐷):
We do the decomposition into partial fractions and we find the integral of the result .
The decomposition depends of the form of the factors which are at the denominator .The table
bellow is a summary of different cases:
(1) 𝑎𝑥 + 𝑏 𝐴
𝑎𝑥 + 𝑏
Solution:
We have 𝑥 3 + 𝑥 2 − 2𝑥 = 𝑥(𝑥 + 2)(𝑥 − 1) .Each factor is linear then we have to find 3 reals
2𝑥 2 +3𝑥+6 2𝑥 2 +3𝑥+6 𝐴 𝐵 𝐶 𝐴(𝑥+2)(𝑥−1)+𝐵𝑥(𝑥−1)+𝐶𝑥(𝑥−2)
A,B,C that = = + + = .
𝑥 3 +𝑥 2 −2𝑥 𝑥(𝑥+2)(𝑥−1) 𝑥 𝑥+2 𝑥−1 𝑥(𝑥+2)(𝑥−1)
𝑑𝑥 4 𝑑𝑥 11 𝑑𝑥 4 11
I=−3 ∫ + 3 ∫ 𝑥+2 + ∫ 𝑥−1 =−3ln|𝑥| + 3 ln|𝑥 + 2| + ln|𝑥 − 1| + 𝑐.
𝑥 3 3
𝑥 2 +8𝑥+19
Example2: Calculate J=∫ (𝑥+6)(𝑥−1)2 𝑑𝑥.
Solution
𝑥 2 +8𝑥+19 𝐴 𝐵 𝐶
= 𝑥+6 + 𝑥−1 + (𝑥−1)2 ;after calculation we find A=1/7;B=6/7;C=4. If we replace the
(𝑥+6)(𝑥−1)2
1 𝑑𝑥 6 𝑑𝑥 𝑑𝑥 1
values in the partial fractions we have J=7 ∫ 𝑥+6 + 7 ∫ 𝑥−1 + 4 ∫ (𝑥−1)2 =7 ln|𝑥 + 6| +
6 4
ln|𝑥 − 1| − 𝑥−1 + 𝑐.
7
𝑥+8 𝑥2 1 𝑥
Exercises: Verify that M=∫ 4𝑥+𝑥 3 𝑑𝑥 = ln 𝑥 2 +4 + 𝑎𝑟𝑐𝑡𝑎𝑛 2 + 𝑐 ;
2
𝑥 3 +𝑥 2 +2 1 1 𝑥 1
And that N=∫ 𝑑𝑥 = 2 ln(𝑥 2 + 2) + 𝑎𝑟𝑐𝑡𝑎𝑛 + 𝑥 2 +2 + 𝑐
(𝑥 2 +2)2 √2 √2
(*) If m or n is odd:
Solutions:
1 1 1 1
.𝐵 = 8 ∫(1 + 𝑐𝑜𝑠2𝑥 − 𝑐𝑜𝑠 2 2𝑥 − 𝑐𝑜𝑠 3 2𝑥)𝑑𝑥 = 8 ∫ 𝑑𝑥 + 8 ∫ 𝑐𝑜𝑠2𝑥𝑑𝑥 − 8 ∫ 𝑐𝑜𝑠 2 2𝑥𝑑𝑥 −
1 1 1 𝑠𝑖𝑛4𝑥
8
∫ 𝑐𝑜𝑠 3 2𝑥𝑑𝑥 Or ∫ 𝑐𝑜𝑠 2 2𝑥𝑑𝑥 = 2 ∫(1 + 𝑐𝑜𝑠4𝑥)𝑑𝑥 = 2 (𝑥 + 4
) and ∫ 𝑐𝑜𝑠 3 2𝑥𝑑𝑥 =
1 1 𝑠𝑖𝑛3 2𝑥 𝑥 𝑠𝑖𝑛2𝑥 𝑥
∫ 𝑐𝑜𝑠 2 2𝑥𝑐𝑜𝑠2𝑥𝑑𝑥 = 2 ∫(1 − 𝑠𝑖𝑛2 2𝑥)𝑑(𝑠𝑖𝑛2𝑥) = 2 (𝑠𝑖𝑛2𝑥 − 3
).⟹ 𝐵 = 8 + 16
− 16
𝑠𝑖𝑛4𝑥 𝑠𝑖𝑛2𝑥 𝑠𝑖𝑛3 2𝑥
− − + +𝑐
64 16 48
𝑥 𝑠𝑖𝑛4𝑥 𝑠𝑖𝑛3 2𝑥
𝐵= 16 − + +c
64 48
2
𝑥 2 𝑑𝑡 𝑑𝑡 2 2
(1) 𝑡 = 𝑡𝑎𝑛 2 ;then 𝐴 = ∫ 1+𝑡 2𝑡 = 2 ∫ (1+𝑡)2 = − 1+𝑡 + 𝑐 = − 𝑥 + 𝑐.
1+ 1+𝑡𝑎𝑛
1+𝑡2 2
𝑥 1
(2) 𝑤𝑖𝑡ℎ 𝑡 = 𝑡𝑎𝑛 2 𝑤𝑒 𝑢𝑠𝑒 𝑡ℎ𝑒 𝑠𝑎𝑚𝑒 𝑤𝑎𝑦 𝑎𝑛𝑑 𝑓𝑖𝑛𝑑 𝐵 = − 𝑥 + 𝑐.
2+𝑡𝑎𝑛
2
EXERCISES
𝑑𝑥 𝑑𝑥 (𝑥 𝑚 −𝑥 𝑛 )2
a) ∫(𝑎 + 𝑏𝑥 3 ) 𝑑𝑥 b) ∫ 𝑥 2 −10 c) ∫ 3𝑥 𝑒 𝑥 𝑑𝑥 d) ∫ √8−𝑥 2 e) ∫ 𝑑𝑥
√𝑥
𝑒𝑥 𝑥𝑑𝑥 𝑑𝑥 1 √𝑥 2 +1
a) ∫ (√𝑒 2𝑥 ) 𝑑𝑥 b) ∫ √𝑥 4 c) ∫ 1+cos2 𝑥 𝑑𝑥 d) ∫ 𝑑𝑥 e) ∫ 𝑑𝑥
−2 +1 √5𝑥−2 𝑥2
𝑑𝑥 𝑑𝑥 𝑒 𝑥 𝑑𝑥 𝑑𝑥 √𝑥+1
a) ∫ (𝑥 2 +2𝑥+5) b) ∫ c) ∫ √𝑒 2𝑥 d) ∫ (𝑥+𝑎)(𝑥+𝑏) e) ∫ 3 𝑑𝑥
√𝑥 2 +𝑝𝑥+𝑞 +𝑒 𝑥 +1 𝑥+1 √
Let y=f(x) a positive and continuous function on the interval [a ,b]. Let us subdivide this interval in
n arbitrary parts using the points a=𝑥0 < 𝑥1 < 𝑥2 < ⋯ … < 𝑥𝑛−1 < 𝑥𝑛 =b (§).
If we take in each partial interval [𝑥𝑖−1 , 𝑥𝑖 ] a point 𝑐𝑖 and if the length of the interval is Δx𝑖 ;the
quantity 𝜎 = ∑𝑛𝑖=1 𝑓(𝑐𝑖 ) Δx𝑖 (&) is called the sum of the function f on the segment [a ,b]attached to
the subdivision (§) .Geometrically 𝜎 is the area of rectangles of basis Δx𝑖 and heights 𝑓(𝑐𝑖 ).
The finite limits if it exists of the sum(&) when 𝑛 ⟶ ∞ is called the definite integral of f(x) on [a,b]
𝑏 𝑏
and is denoted I=∫𝑎 𝑓(𝑥)𝑑𝑥. Then ∫𝑎 𝑓(𝑥)𝑑𝑥 = lim ∑𝑛𝑖=1 𝑓(𝑐𝑖 ) Δx𝑖 .
𝑛⟶∞
The real a and b are called respectively the lower and the upper bounds of integration. f(x) is the
integrand and x is the variable.
Theorem:
If f(x) is the continuous function on the interval l[a ,b].If F(x) is the anti-derivative function of f(x) on the interval [a
𝑏
,b].Then ∫𝑎 𝑓(𝑥)𝑑𝑥 = 𝐹(𝑏) − 𝐹(𝑎).
This formula is called the Newton – Leibniz’s formula. The number 𝐹(𝑏) − 𝐹(𝑎) doesn’t
depend on the choice of the anti-derivative F. It is denoted by 𝐹(𝑏) − 𝐹(𝑎) = [𝐹(𝑥)]𝑏𝑎
𝜋
1
Example: Calculate I=∫−1(𝑥 2 + 𝑥 + 2)𝑑𝑥.;and J=∫𝜋4 (𝑐𝑜𝑠 2 𝑥)𝑑𝑥.
12
1
𝑥3 𝑥2 14
Solution: I=[ 3 + + 2𝑥] =(1/3+1/2+2) – (-1/3 +1/2-2 )= 3 .
2 −1
𝜋 𝜋
1+𝐶𝑂𝑆2𝑥 1 𝑠𝑖𝑛2𝑥 4 1 𝜋 1 𝜋 1 1 𝜋 1
J=∫ (𝜋
4
) 𝑑𝑥 = 2 . [𝑥 + ] 𝜋 =2 [( 4 + 2) − ( 12 + 4)] = 2 ( 6 + 4)
2 2
12 12
𝑏 𝑎
2) ∫𝑎 𝑓(𝑥)𝑑𝑥 = − ∫𝑏 𝑓(𝑥)𝑑𝑥
𝑏 𝑏 𝑏
3) ∫𝑎 [𝑟𝑓(𝑥) + 𝑠𝑔(𝑥)]𝑑𝑥 = 𝑟 ∫𝑎 𝑓(𝑥)𝑑𝑥 + 𝑠 ∫𝑎 𝑔(𝑥) 𝑑𝑥
𝑏 𝑐 𝑏
4) ∀𝑐 [a , b]; ∫𝑎 𝑓(𝑥)𝑑𝑥 = ∫𝑎 𝑓(𝑥)𝑑𝑥 + ∫𝑐 𝑓(𝑥)𝑑𝑥 (𝐶ℎ𝑎𝑠𝑙𝑒𝑠 ′ 𝑟𝑢𝑙𝑒).
7) If m and M are respectively the smallest and the largest values of f(x) on [a,b] then
𝑏
𝑚(𝑏 − 𝑎) ≤ ∫𝑎 𝑓(𝑥)𝑑𝑥 ≤ 𝑀(𝑏 − 𝑎).
1 𝑏
The number 𝜇 = 𝑏−𝑎 ∫𝑎 𝑓(𝑥)𝑑𝑥 is called the mean value of the function f(x) on the interval [a,b].
2
Example1: Calculate: (1) 𝐼 = ∫0 (|𝑥 − 1| + 𝑥)𝑑𝑥
2
(2) 𝐽 = ∫−1(|𝑥 2 − 𝑥|−𝑥 2 )𝑑𝑥
𝑥 − 1 𝑖𝑓 𝑥 > 1 1 2
(1) |𝑥 − 1|={ ; then 𝐼 = ∫0 1𝑑𝑥 + ∫1 (2𝑥 − 1)𝑑𝑥 = [𝑥]10 + [𝑥 2 − 𝑥]12 = 1 + 2 =
−𝑥 + 1 𝑖𝑓𝑥 < 1
3.
x −∞ 0 1 +∞
𝑥2 − 𝑥 ++++++0− − − −0++++++++
𝜋 𝜋
Example2: Calculate the mean value of f(x)= 𝑐𝑜𝑠 2 𝑥 at the interval[12 , 4 ].
𝜋
1 𝜋 1
Solution:We know that ∫𝜋4 (𝑐𝑜𝑠 2 𝑥)𝑑𝑥 =. 2 ( 6 + 4) (see example on 9.3.1)
12
1 1 𝜋 1 (2𝜋+3)
then 𝜇 = 𝜋 𝜋 ( 6 + 4) =
− 2 4𝜋
4 12
3. Methods of integrations
When we change the variable we have to find the new bound of integration adapted at the new
variable like the following exercise:
1 (2𝑥+3)𝑑𝑥
Example: Calculate A=∫0 (𝑥 2 +3𝑥+1)2
Solution:
𝑥=1⟹𝑢=5
Let u=𝑥 2 + 3𝑥 + 1 then du=(2x+3)dx .We change the bound:{ ; then we find
𝑥=0⟹𝑢=1
5 𝑑𝑢 1 5 1 4
A=∫1 = − [𝑢 ] = 1 − 5 = 5 .
𝑢2 1
b) Integration by parts
We know that ∫ 𝐮𝐝𝐯 = 𝐮𝐯 − ∫ 𝐯𝐝𝐮 ;then if u(x) and v(x) are two continuous functions at [a,b] we
have
𝑏 𝑏
.∫𝑎 𝑢𝑑𝑣 = [𝑢. 𝑣]𝑏𝑎 − ∫𝑎 𝑣. 𝑑𝑢
1
Example: Find ∫0 𝑥𝑒 𝑥 𝑑𝑥
Solution:
1
𝑢 = 𝑥 ⇒ 𝑑𝑢 = 𝑑𝑥
} ⇒ 𝐵 = [𝑥. 𝑒 𝑥 ]10 − ∫ 𝑒 𝑥 𝑑𝑥 = 𝑒 − [𝑒 𝑥 ]10 = 𝑒 − 𝑒 + 1 = 1
𝑑𝑣 = 𝑒 𝑥 𝑑𝑥 ⇒ 𝑣 = 𝑒 𝑥 0
4. Applications
We know that if f(x) is a continuous function on an interval [a , b ];then the surface areas between
the x – axis and the representative curve of f(x) is given by:
𝑏
∫𝑎 𝑓(𝑥)𝑑𝑥 𝑖𝑓 𝑓(𝑥) > 0; ∀𝑥 ∈ [𝑎, 𝑏]
{ 𝑏
|∫𝑎 𝑓(𝑥)𝑑𝑥 | 𝑖𝑓 𝑓(𝑥) < 0; ∀𝑥 ∈ [𝑎, 𝑏]
Example: Find the surface areas between the x– axis and the graph of the function y=𝑥 2 − 2𝑥; on
the interval [ 1,2].
Solution:
The parabola𝒫 ≡ y=𝑥 2 − 2𝑥pass through the x-axis at the points (0,0) and (2,0).It has a minimum
at (1,-1).then f(x)<0 if 0<x<2 and f(x)>0 if x<0 and x>2.
0 2
0 2 𝑥3 𝑥3 8
S=∫−1(𝑥 2 − 2𝑥)𝑑𝑥 + |∫0 (𝑥 2 − 2𝑥)𝑑𝑥|=[ 3 − 𝑥 2 ] + |[ 3 − 𝑥 2 ] | = 3 a.u
−1 0
Let f(x) and g(x) two continuous functions on the interval [a,b]. The Surface areas between the
graphs of the functions f(x) and g(x) is given by:
𝑏
∫𝑎 [(𝑔(𝑥) − 𝑓(𝑥)]𝑑𝑥 𝑖𝑓 𝑔(𝑥) > 𝑓(𝑥); ∀𝑥 ∈ [𝑎, 𝑏] ∗
.{ 𝑏
|∫𝑎 [(𝑔(𝑥) − 𝑓(𝑥)]𝑑𝑥 | 𝑖𝑓 𝑔(𝑥) < 𝑓(𝑥); ∀𝑥 ∈ [𝑎, 𝑏] ∗∗
Example: Calculate the area of surface S ranging between the parabola P≡ 𝑦 = 𝑥 2 + 1 and the
line D≡ 𝑥 + 𝑦 = 3 on the interval[0,2].
𝑦 = 𝑥2 + 1
Solution: The intersection points of D and P are given by the solution of the system{
𝑥+𝑦 =3
which are (-2,5) and (1,2).The graph of P and D show that the curve of P is under the line on [-2,1]
and the line D is under the parabola for x<-2 and x>1.
1 2
Let f(x)= 𝑥 2 + 1 and g(x)=3 – x; then S=∫0 (𝑔(𝑥) − 𝑓(𝑥))𝑑𝑥 + |∫1 (𝑔(𝑥) − 𝑓(𝑥))𝑑𝑥| .Or
1 2
𝑥3 𝑥2 𝑥3 𝑥2
𝑔(𝑥) − 𝑓(𝑥) = −𝑥 2 − 𝑥 + 2. S=[− − + 2𝑥] + |[− − + 2𝑥] |=(-1/3-
3 2 0 3 2 1
8
1/2+2)+|(− 3 − 2 + 4) − (−1/3 − 1/2 + 2)|=-5/6+2+11/6=3au.