Calculus 1
Calculus 1
Instructor
Dr Nasir Khan
Assistant Professor
(Well Engineering Department)
International College of Engineering & Management
Muscat, Oman
Module Learning Outcomes
Upon successful completion of this OM 2045 module student will be able to:
𝑑
1. ( 𝑐 ) =0 ( 𝑐 is a constant )
𝑑𝑥
Ex.
𝑓 (𝑥)=5
𝑑 𝑛
2. ( 𝑥 ) =𝑛 𝑥𝑛 −1 ( 𝑛 is a real number )
𝑑𝑥
Ex. 7
𝑓 (𝑥)=𝑥
Differentiation Rules
𝑑 𝑑
3. ( 𝑐𝑓 (𝑥)) =𝑐 ( 𝑓 (𝑥)) ( 𝑐 is a constant )
𝑑𝑥 𝑑𝑥
8
Ex. 𝑓 (𝑥)=3 𝑥
𝑓 (𝑥)=3 ( 8 𝑥 ) =24 𝑥
′ 7 7
𝑑 𝑑 𝑑
4. 𝑑𝑥 [ 𝑓 ( 𝑥 ) ± 𝑔 ( 𝑥 ) ] = 𝑑𝑥 [ 𝑓 (𝑥) ] ± 𝑑𝑥 [ 𝑔(𝑥) ]
12
Ex. 𝑓 (𝑥)=7+𝑥
′ 11 11
𝑓 (𝑥)=0+12 𝑥 =12 𝑥
Differentiation Rules
5. Product Rule
𝑑 𝑑 𝑑
𝑑𝑥
[ 𝑓 ( 𝑥 ) ⋅𝑔 ( 𝑥 ) ] = [ 𝑓 (𝑥) ] 𝑔(𝑥)+ [ 𝑔 (𝑥 ) ] 𝑓 (𝑥)
𝑑𝑥 𝑑𝑥
′ 3 ( 𝑥 −2 ) − 2𝑥 ( 3 𝑥+5 )
2
𝑓 (𝑥)= 2
( 𝑥 −2 )
2
2
−3 𝑥 −10 𝑥− 6
¿ 2
( 𝑥 −2 )
2
Differentiation Rules
( )
7
2 𝑥 −1
Ex. 𝐺 (𝑥)=
3 𝑥+5
( )( )
( 3 𝑥 +5 ) 2 − ( 2 𝑥 −1 ) 3
6
′ 2𝑥−1
𝐺 (𝑥 )=7
3 𝑥+5 ( 3 𝑥+5 ) 2
𝐺 (𝑥 )=7 (
3 𝑥+5 ) ( 3 𝑥 +5 )
6 6
′ 2𝑥−1 13 91 ( 2 𝑥 −1 )
= 2 8
( 3 𝑥 +5 )
Higher Derivatives
• The second derivative of a function f is the derivative of the derivative of f at a
point x in the domain of the first derivative.
Derivative Notations
Second ″ 𝑑2 𝑦
𝑓 𝑑 𝑥2
‴ 𝑑3 𝑦
Third
𝑓 𝑑 𝑥3
(4) 𝑑4 𝑦
Fourth 𝑓 𝑑 𝑥4
( 𝑛) 𝑑𝑛 𝑦
nth
𝑓 𝑑 𝑥𝑛
Higher Derivatives
‴
Given 𝑓 (𝑥)=3 𝑥5 −2 𝑥 3 +14 find 𝑓 ( 𝑥 ).
′ 4 2
𝑓 (𝑥)=15 𝑥 − 6 𝑥
″ 3
𝑓 (𝑥)=60 𝑥 −12 𝑥
‴ 2
𝑓 (𝑥 )=180 𝑥 −12
Higher Derivatives
2 𝑥+1 ″
Given 𝑓 (𝑥)= 𝑓
find (2) .
3 𝑥 −2
′ 2 ( 3 𝑥 − 2 ) − 3 ( 2 𝑥 +1 ) −7 −2
𝑓 (𝑥)= 2
= 2
=−7 ( 3 𝑥 − 2 )
( 3 𝑥 − 2) ( 3 𝑥 −2 )
″ −3 42
𝑓 (𝑥)=14 ( 3 𝑥 −2 ) ( 3 ) =
( 3 𝑥 − 2 )3
″ 42 42 21
𝑓 (2)= = 3=
( 3 (2)− 2 ) 4 32
3
Implicit Differentiation
3
𝑦=3 𝑥 − 4 𝑥+17
y is expressed explicitly as a function of x.
3
𝑦 +𝑥𝑦=3 𝑥+1
y is expressed implicitly as a function of x.
To differentiate the implicit equation, we write f (x) in
place of y to get:
3
[ 𝑓 (𝑥 )] +𝑥 [ 𝑓 (𝑥 )]=3 𝑥 +1
Implicit Differentiation
3
Now differentiate [ 𝑓 (𝑥 ) ] +𝑥 [ 𝑓 (𝑥 )]=3 𝑥 +1
using the chain rule:
2 ′
3 [ 𝑓 (𝑥)] 𝑓 (𝑥)+ 𝑓 (𝑥)+𝑥 𝑓 (𝑥)=3
′
3−𝑦
′
𝑦= 2
3 𝑦 +𝑥
Logarithmic Function
In mathematics, the logarithmic function is an inverse function to exponentiation.
That means that the logarithm of a number x to the base a is
the exponent to which a must be raised to produce x. The logarithmic function
is defined as
For x > 0 , a > 0, and a ≠1,
The base of the logarithm is a. This can be read it as log base a of x. The most 2
common bases used in logarithmic functions are base 10 and base e.
Logarithmic Differentiation
or
Logarithmic Differentiation
• Solution:
• Using we have
Week# 2
Logarithmic Differentiation
• Differentiate
Logarithmic Differentiation
• Differentiate
• Solution:
• We take logarithms of both sides of the equation and use the properties of
logarithms to simplify:
• ln y = ln x + ln (x2 + 1) – 5 ln(3x + 2)
• Differentiating implicitly with respect to x gives
Logarithmic Differentiation (Cont.)
• Differentiate y = x2 sin x.
• Solution:
• Using the Product Rule, we have
Differentiation of Trigonometric Functions
• Using the same methods as in the proof of Formula 4, one can prove that
Differentiation of Trigonometric Functions
• The derivatives of the remaining trigonometric functions, csc, sec, and cot, can
also be found easily using the Quotient Rule.
Differentiation of Trigonometric Functions
• The situation
Thegets a bit
situation getsmore
The situation
we can differentiate
complicated,
a bit more
gets4x.
to give a bit more
Here
because
complicated, because there
there are
are complicated,
are
an infinite
some of those because
functions:
an infinite
number number
of functions
there are an infinite number of fu
of functions.f(x)We can differentiate
we can
2
togive
differentiate to
2
give
4x.4x.
= 2x + 7 ; g(x) = 2x – 8 ; h(x) = 2x + .
HereHere,
2
areofsome
are some
1 of those functions:
those functions:
2
2 1
f(x) = 2x + 7 ; g(x) = 2x – 8 ; h(x) = 2x2 + 2.
2
Introduction to Integration
• You would have noticed that all the functions have the same derivative of 4x,
because when we differentiate the constant term we obtain zero.
• Hence, when we reverse the process, we have no idea what the original constant
term might have been.
• So we include in our response an unknown constant, c, called the arbitrary
constant of integration.
• The integral of 4x then is 2x2 + c.
Introduction to Integration
4𝑥 𝒅𝒙 = 2x + c , 2
c ∈ ℝ.
Integral
sign
Constant of
This term is called integration
the integrand
Introduction to Integration
• Note that along with the integral sign (, there is a term of the form dx, which must always
be written, and which indicates the variable involved, in our example x.
• Technically, integrals of this type are called indefinite integrals, to distinguish them from
definite integrals, which we will deal with later.
• When you are required to evaluate an indefinite integral, your answer must always include
a constant of integration.; i.e:
= 2 + c; where c
Introduction to Integration
dx = + c ; where and c
Solution of Integration
f (x) = x2 = + c; where c
f (x) = = dx = ln + c; where c
Indefinite Integral
a)
dx Compare dx with = + c,
Then: a = 1; n = 7 ; n + 1 = 8
= + c ; where c
= + c ; where c
Indefinite Integral
c) du
Note: in this example, we
= du
are integrating with
= 2 du respect to u.
= 2 () + c ; where c
E
F
D G
H
B
A
I J
C x
O
• To determine the area below the curve, divide the base OC into any number of equal
parts, each with length k units.
• Halfway, between each of the ordinates we draw mid-ordinates, i.e the average of
any two consecutive ordinates, as denoted by the dotted lines.
• We can thus calculate the area of each trapezium using the formula developed
above,
• Area of each strip = k length of mid-ordinate, where k is the length of the base of
each trapezium
Definite Integral
• In the previous section, we developed a method (a long method!) of finding the
area between the curve and the x-axis.
• The general notation for the area under the curve is . This is known as the definite
integral of f(x).
• We define the definite integral of a function f(x) as :
= F(b) – F(a); where (x) = f(x).
• We call this a definite integral because the result of integrating and evaluating is a
number. (The indefinite integral has an arbitrary constant in the result).
• The numbers a and b are called the lower limit and upper limit, respectively.
• We can see that the value of a definite integral is found by evaluating the function
(found by integration) at the upper limit and subtracting the value of this function at
the lower limit.
Definite Integral
• The definite integral, can be interpreted as the area under the curve of y = f(x)
from x = a to x = b, and in general as a summation.
• Evaluate: = ] = 0
Integration
• If f(x) is continuous on the interval and if F(x) is any indefinite integral of f(x),
then:
=
= F(b) – F(a)
• NB: When evaluating the definite integral there is no need to consider the
arbitrary constant.
Integration
4. The integral of a sum (and /or difference) is the sum (and /or difference) of the integrals:
=
= k. + m.
Integration of Common Function
Partial Differentiation
When differentiating a function having two variables, one variable is kept constant
and the differential coefficient of the other variable is found with respect to that
variable. The differential coefficient obtained is called partial derivative of the
function. 𝜕𝑉 (𝑟 ¿¿ 2)
= ( 𝜋 h) 𝑑 = ( 𝜋 h ) ( 2 𝑟 )=2 𝜋 𝑟h ¿
A “curly dee”,,is used to denote a differential 𝜕𝑟 𝑑𝑟
3 𝑑 (𝑦 )
To find 4
𝜕 𝑧 5 𝑥 𝑑 (1)
2
𝑑( 𝑦 )
= +(2 𝑥 ) −3
𝜕𝑥 𝑑𝑦 𝑑𝑦 𝑑𝑦
Since
Then, 4
𝜕 𝑧 5 𝑥 𝑑 (1) 3 𝑑 ( 𝑦 2
) 𝑑( 𝑦 )
= +(2 𝑥 ) −3
𝜕𝑥 𝑑𝑦 𝑑𝑦 𝑑𝑦
2 𝑑(𝑥 )
4 3
𝜕 𝑧 𝑑 (5 𝑥 ) 𝑑 (1) 𝜕𝑧 𝑑(𝑦)
= +(2 𝑦 ) −( 3 𝑦 ) =0 +( 2 𝑥
3
)(2 𝑦 )− 3
𝜕𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
𝜕𝑥 𝑑𝑦
𝑥 +( 2 𝑦 ) ( 3 𝑥 ) − 0 𝜕𝑧
3 2 2
3 𝜕𝑧 3
𝜕𝑧 =0 + 4 𝑥 𝑦 − ⟹
3 =4 𝑥 𝑦 −3
3
=20 𝑥 +6 𝑥 𝑦
2 2 𝜕𝑥 𝜕𝑥
𝜕𝑥