Professional Documents
Culture Documents
Fundamental of Differentiation
EAS 3102
Surjatin Wiriadidjaja
Department of Aerospace Engineering Universiti Putra Malaysia
Semester 2/2011-2012
Introduction
NUMERICAL METHODS
p2
Objective
understand the basics of differentiation, relate the slopes of the secant line and tangent line to the derivative of a function, find derivatives of polynomial, trigonometric and transcendental functions, use rules of differentiation to differentiate functions, find maxima and minima of a function, and apply concepts of differentiation to real world problems.
NUMERICAL METHODS
NM-2-2011/2012-02: Fundamental of Differentiation
p3
Differentiation
The concepts of differentiation:
the secant line, the slope of a tangent line as a background to solving nonlinear equations using the Newton-Raphson method, finding maxima and minima of functions as a means of optimization, the use of the Taylor series to approximate functions, etc. The derivative of a function represents the rate of change of a variable with respect to another variable.
NUMERICAL METHODS
p4
Differentiation (cont)
Concepts of the secant line
and tangent line (Figure 1).
mPQ ,secant f ( a h) f ( a ) f ( a h) f ( a ) ( a h) a h
f(x)
secant line
Q tangent line
f ( x)
Figure 1 Function curve with tangent and secant lines.
As Q moves closer and closer to P, the limiting portion is called the tangent line. The slope of the tangent line then is the limiting value of as :
f ( a h) f ( a ) h
NUMERICAL METHODS
p5
Differentiation (cont)
Derivative of a Function
The derivative of a function at is defined as
f (a) lim
h 0
f ( a h) f ( a ) h
f (a) lim
x a
f ( x) f (a ) xa
f ( x),
d dy f ( x), y, and dx dx
Derivates can be denoted in several ways. For the first derivative, the notations are For the second derivative, the notations are For the derivative, the notations are
NUMERICAL METHODS
p6
Differentiation (cont)
Theorems of Differentiation
1 2 3 4
The derivative of a constant is zero.
The derivative of
The derivative of The derivative of
If f(x)=k , where k is a constant. f(x)=xn, where n0 is f(x)=nxn-1. f(x)=kg(x), where k is a constant is f(x)=kg(x). f(x0=u(x)v(x) is f(x)=u(x)v(x).
The derivative of
f(x)=u(x)v(x)
d d f ( x ) u ( x ) v ( x ) v ( x ) u ( x) is (Product Rule) dx dx
Is (Quotient Rule) f ( x)
u ( x) f ( x ) 6 The derivative of v( x)
v( x)
d d u ( x) u ( x) v( x) dx dx 2 (v( x))
NUMERICAL METHODS
p7
Differentiation (cont)
Chain Rule of Differentiation
d ( f ( g ( x)) f ( g ( x)) g ( x) dx
Implicit Differentiation
Higher order derivatives
NUMERICAL METHODS
p8
Differentiation (cont)
Finding maximum and minimum of a function
Let f(x) be a function in domain D, then
A. f(a) is the maximum of the function if f(x) f(a) for all values of x in the domain D. B. f(a) is the minimum of the function if f(a) f(x) for all values of x in the domain D.
The minimum and maximum of a function are also the critical values of a function. An extreme value can occur in the interval
at end points a point in where .
a point in
where
These critical points can be the local maximas and minimas of the function
NUMERICAL METHODS
p9
Differentiation (cont)
. f(x) Absolute Maximum maximum Domain = [c,d] Local Maximum (f(x) does not exist) minimum c d x Figure 7 Graph illustrating the concepts of maximum and minimum.
Local Maximum
Absolute Minimum
c
.
f (a )
f ( x)
f ( x) 1 / x
f ( x)
xa
Figure 11 Graph demonstrates the concept of a singular point with discontinuous slope at x a
NUMERICAL METHODS
p10
NUMERICAL METHODS
p11
Objective
derive formulas for approximating the first derivative of a function,
derive formulas for approximating derivatives from Taylor series, derive finite difference approximations for higher order derivatives, and
NUMERICAL METHODS
p12
Derivative
The derivative of a function at x is defined as
NUMERICAL METHODS
p13
f ( x)
x x
NUMERICAL METHODS
p14
f ( x)
x x
x x
NUMERICAL METHODS
p15
THE END
NUMERICAL METHODS
p16