Calculus Notes T1 1112
Calculus Notes T1 1112
The set of all images { f ( x) x∈ X } is called the range or image set of f, denoted by
Rf .
Note that if the domain and the codomain of a function f are both ℜ ,then f : ℜ → ℜ
is called a real-valued function of a real variable, or simply a real function.
Remark
In order to specify a real-valued function completely, the domain must be stated
explicitly. Otherwise the domain is taken as the largest possible subset of ℜ for
which the real-valued function can be defined.
1
Calculus of One Variable
{( x, y) x ∈ D f and y = f ( x) .}
( f + g )( x ) = f ( x ) + g ( x ),
( f − g )( x) = f ( x) − g ( x),
( f ⋅ g )( x) = f ( x) g ( x).
They are called the sum, difference and product of functions, respectively. The
natural domain for each of these is the set of x-values for which both f ( x) and g ( x)
are defined, i.e., D f I Dg . Moreover, at any point of x ∈ D f I Dg at which g ( x ) ≠ 0,
we can also define the quotient function f g by the formula
f f ( x)
( x) = .
g g( x)
For the functions f + g , f − g and f ⋅ g the domain is defined to be the intersection
of the domains of f and g , and for f g the domain is the intersection of the
2
Calculus of One Variable
domains of f and g with the elements where g ( x) = 0 excluded. Note also that
functions can also be multiplied by a constant c : defined by
f n ( x) = f ( x) ⋅ f ( x) ⋅ L ⋅ f ( x)
144424443
n factors
( x)
2
(iii) ( f ⋅ g )( x) = f ( x) ⋅ g ( x) = 3 + x x for all x ∈ D f I Dg = [0, ∞). Hence
( x) ( x)
2 2
Note also that ≠ x since is not well-defined for all x < 0. But, if we
( x)
2
consider x ∈ [0, ∞), then = x.
Composition of functions
Let X , Y and Z be nonempty sets. Given two functions f : X → Y and g : Y → Z ,
Suppose that R f ⊆ Dg , then the composite function g o f function defined by
( g o f ) ( x) = g ( f ( x) )
for all elements x ∈ D f .
X Y Z
f g
x f (x)
( g o f )( x)
xxx x = g ( f ( x))
go f
3
Calculus of One Variable
for all x ≠ 0.
Monotone Functions
Let A be a subset of ℜ and let f : A → ℜ be a function. We say that f ( x) is
increasing on A if f ( x) > f ( y ) for all x, y ∈ A such that x > y;
decreasing on A if f ( x) < f ( y ) for all x, y ∈ A such that x > y;
nondecreasing on A if f ( x) ≥ f ( y ) for all x, y ∈ A such that x > y;
nonincreasing on A if f ( x) ≤ f ( y ) for all x, y ∈ A such that x > y;
monotone on A if f is either nondecreasing on A or nonincreasing on A.
Example:
The function f 3 ( x) = 0 is an even function on ℜ since f 3 (− x) = 0 = f 3 ( x) for all
x ∈ ℜ . The function f1 ( x ) = x is an odd function on ℜ as f1 ( − x ) = − x = − f1 ( x ) for
all x ∈ ℜ .
.
f : X →Y
is said to map X onto Y (or a surjective function), if for any y ∈ Y , there exists at
least one a ∈ X such that f ( a ) = y.
4
Calculus of One Variable
Example:
(a) The function f1 ( x) = x is a surjective function on ℜ since f 1 (ℜ) = ℜ .
(b). The function f 2 ( x) = − x is a surjective function on ℜ since f 2 (ℜ) = ℜ .
(c). The function f 3 ( x) = x 2 is not surjective on ℜ , since f 3 (ℜ) = [0, ∞) ≠ ℜ .
We define a function h; ℜ → [0, ∞) by h( x) = x 2 . Then the function h is surjective
since Rh = [0, ∞).
Inverse Function
Let X and Y be nonempty sets. Let f : X → Y and g : Y → X be functions. If f
and g satisfy the following two conditions
Example : Show that the functions f1 ( x) = 2 x and f 2 ( x) = 2x are the inverse pair.
Solution: Observe that
( f1 o f 2 )( x) = f1 ( f 2 ( x)) = f1 ( 2x ) = 2( 2x ) = x , x ∈ D2 = ℜ , D2 = domain of f 2
( f 2 o f1 )( x) = f 2 ( f1 ( x)) = f 2 (2 x) = 2x
2 = x , for all x ∈ D1 = ℜ , D1 = domain of f 1
5
Calculus of One Variable
an ≠ 0 then the integer n is called the degree of the polynomial p ( x). The constant
an is called the leading coefficient and the constant a0 is called the constant term of
−1 0 1 x
6
Calculus of One Variable
Theorem :
( x)
n
(iii) For any even n∈ N
n
= x for all x ∈ [0, ∞);
( )
n
(v) For any odd n∈ N
n
x = x = n xn for all x ∈ ℜ .
(x )
m
= x = (x )
1 m 1
n n m n
(vi) For any m ,n∈ N , for all x ∈ [0, ∞).
7
Calculus of One Variable
8
Calculus of One Variable
1
f (θ ) = cscθ = for all θ ∈ ℜ . with θ ≠ kπ , k an integer..
sin θ
It is also useful to know the values of the trigonometric functions for particular
angles and their signs in the four quadrants.
x 0 π 6 π 4 π 3 π 2 π 3π 2 2π
sin x 0 12 1 2 3 2 1 0 -1 0
cos x 1 3 2 1 2 12 0 -1 0 1
tan x 0 1 3 1 3 0 0
cot x 3 1 1 3 0 0
Theorem (Periodicity):
For any k ∈ Z , we have
(i) sin( x + 2kπ ) = sin x , for all x ∈ ℜ and k intege,.
(ii) , cos( x + 2kπ ) = cos x for all x ∈ ℜ and k integer;
Theorem:
(i) sin 2 x + cos 2 x = 1 , for all x ∈ ℜ ;
π
(ii) tan 2 x + 1 = sec2 x , for all x ∈ ℜ \ { + kπ , k int eger }
2
(iii) cot x + 1 = csc x , for all x ∈ ℜ \ {π + kπ , k int eger } .
2 2
9
Calculus of One Variable
Theorem(Addition Formulas):
(i) sin( x + y ) = sin x cos y + cos x sin y , for all x, y ∈ ℜ
(ii) cos( x + y ) = cos x cos y − sin x sin y , for all x, y ∈ ℜ
tan x + tan y
(iii) tan( x + y ) = , for all x, y ∈ ℜ with x + y ≠ π2 + kπ , k integer.
1 − tan x tan y
(vii) sin 2 x = 2sin x cos x , for all x ∈ ℜ
(viii) cos 2 x = cos 2 x − sin 2 x = 2 cos 2 x − 1 = 1 − 2sin 2 x , for all x ∈ ℜ .
10
Calculus of One Variable
(iii) For any x ∈ ℜ and − π2 < y < π2 , the arc-tangent function, denoted as tan −1 x, is
defined by
y = tan −1 x ⇔ tan y = x.
(iv) For any x ∈ ℜ and 0 < y < π , the arc-cotangent function, denoted as cot −1 x,
is defined by
y = cot −1 x ⇔ cot y = x.
(v) For any (−∞, − 1] U [1, ∞), and 0 ≤ y ≤ π , y ≠ π2 , the arc-secant function, denoted
as sec −1 x, is defined by
y = sec −1 x ⇔ sec y = x.
−π
(vi). For any (−∞, − 1] U [1, ∞), and 2 ≤ y ≤ π2 , y ≠ 0, the arc-cosecant function,
denoted as csc −1 x, is define by
y = csc −1 x ⇔ csc y = x
y = csc −1 x − π2 ≤ y ≤ π2 , y ≠ 0
Thereom :
(i) sin(sin −1 x) = x for all x ∈ [ −1, 1].
(ii) sin −1 (sin x) = x for all x ∈ [ −2π , π2 ].
(iii) cos(cos −1 x) = x for all x ∈ [ −1, 1].
(iv) cos −1 (cos x) = x for all x ∈ [0, π ].
(v) tan(tan −1 x) = x for all x ∈ ℜ .
(vi) tan −1 (tan x) = x for all x ∈ ( −2π , π2 ).
11
Calculus of One Variable
This function is called the exponential function with base-a. When a = e, then we
called f ( x ) = e for all x ∈ ℜ , the natural exponential function. We first have the
x
Theorem: Let a be a positive real number such that a ≠ 1. Then we have the
following results.
(i) The base-a logarithm function is an injective function on x ∈ (0, ∞ ) ;
(ii) for any x, y ∈ (0, ∞ ), x = y ⇔ log a x = log a y ;
12
Calculus of One Variable
There are two frequently used bases for logarithms. If the base a = 10 is used,
then the logarithm log10 ( x), is called a common logarithm, and denoted by log( x). If
the base a = e is used, then the logarithm log e ( x ), is called a natural
logarithm, and is denoted by ln( x).
.
Theorem: Let a be positive real numbers such that a ≠ 1. Then the following
assertions hold true.
(i) log a ( xy ) = log a x + log a y for all x, y ∈ (0, ∞).
(ii) log a ( x y ) = log a x − log a y for all x, y ∈ (0, ∞).
(iii) log a x y = y log a x for all x ∈ (0, ∞) and x ∈ ℜ .
Theorem: Let a be positive real numbers such that a ≠ 1. Then every exponential
function is a power of the natural exponential function
a x = e x ln a for all x ∈ ℜ
Theorem: Let a be positive real numbers such that a ≠ 1. Then every base-a
logarithm is a constant multiple of the natural logarithm
ln x
log a x = for all x ∈ (0, ∞ ) .
ln a
x −3 2 −3 x
Example: Solve the following equation 4 ⋅5 = 20.
Solution
4 x −3 ⋅ 52 −3 x = 20 ⇒ ( x − 3) log 4 4 + (2 − 3 x) log 4 5 = log 4 4 + log 4 5
⇒ x − 3 + 2 log 4 5 − (3log 4 5) x = 1 + log 4 5
⇒ (1 − 3log 4 5) x = 4 − log 4 5
⇒ x = (4 − log 4 5) (1 − 3log 4 5).
13
Calculus of One Variable
The remaining hyperbolic functions are defined in terms of sinh x and cosh x as
follows:
The hyperbolic tangent function, denoted by tanh x, is defined by
sinh x e x − e − x
tanh x = = for all for all x ∈ ℜ
cosh x e x + e − x
The hyperbolic cotangent function, denoted by coth x , is defined by
cosh x e x + e − x
coth x = = for all for all x ∈ ℜ \ {0} .
sinh x e x − e − x
The hyperbolic secant function, denoted by sec h x , is defined by
1 2
sec h x = = x , for all x ∈ℜ
cosh x e + e− x
The hyperbolic cosecant function, denoted by csch x , is defined by
1 2
csc h x = = x , for all x ∈ ℜ \ {0} ..
sinh x e − e − x
We note that the hyperbolic functions satisfy various identities similar to the identities
for the trigonometric functions.
14
Calculus of One Variable
The concept of limits is the cornerstone on which the development of calculus rests
and it is the basic for all calculus problems. A good understanding of limit concept
will help explain many theorems in calculus. Before we try to give a definition of a
limit of a real function, let us look at more examples.
Example: Guess the value of the function f ( x) = sinx x , where x is in radians, near
x = 0.
Solution Evidently, the function f ( x) = sinx x is defined for all real number x except
x = 0. Although f ( x) is not well-defined at x = 0, it still makes sense to ask what
happens to the value of f ( x) as x approaches 0 without actually taking on the value
x = 0. We construct the following table of values correct to seven decimal places.
x f ( x) = sin x
x
x f ( x) = sin x
x
1.0 0.8414710 0.1 0.9983342
0.5 0.9588511 0.05 0.9995834
0.4 0.9735459 0.01 0.9999834
0.3 0.9850674 0.001 0.9999999
0.2 0.9933467 0.0000001 0.9999999999999
lim f ( x) = L
x→a
This definition is informal since the phrases such as arbitrarily close and all x
sufficiently close are imprecise. However, this definition should be clear enough to
enable us to recognize, evaluate and compute limits of specific functions.
15
Calculus of One Variable
It should be noticed that the point ( a, L ) is not assumed to belong to the graph of
y = f ( x ). This emphasizes the fact that lim x →a f ( x) = L depends only on the
behavior of f ( x) near x = a , but not on the number f ( a ) itself. An alternative
notation for lim x →a f ( x) = L is f ( x) → L as x → a.
lim f ( x) = L
x→a+
and say that f ( x) has right-hand limit at x = a if we can make the values of f ( x)
arbitrarily close to L by taking x to be sufficiently close to the right (or positive side)
of a.
lim f ( x) = M
x→a−
and say that f ( x) has left-hand limit at x = a if we can make the values of f ( x)
arbitrarily close to M by taking x to be sufficiently close to the left (or negative
side) of a.
16
Calculus of One Variable
x− 2
Example: Evaluate lim x →2+ f ( x ) and lim x →2− f ( x), if f ( x) = x2 + x −6
.
Solution: First note that
x − 2 if x ≥ 2,
x−2 =
2 − x if x < 2.
Then we have
x−2 2−x
lim f ( x) = lim+ lim f ( x) = lim −=
x → 2+ x→2 x + x−62 x → 2− x→2 x + x−6
2
x−2 −( x − 2)
= lim+ = lim−
x → 2 ( x − 2)( x + 3) x → 2 ( x − 2)( x + 3)
1 1 −1 1
= lim+ = . = lim− =− .
x→2 x + 3 5 x →2 x + 3 5
x−2
Example: Evalate lim x →2 x2 + x −6
or explain why it does not exist.
x−2 x−2 x−2
Solution: Since lim x →2+ x2 + x −6
≠ lim x→ 2− x 2 + x −6
, we conclude that lim x →2 x2 + x−6
does
not exist.
(ii) lim x = a.
x →a
17
Calculus of One Variable
lim x →a f ( x) = L and lim x →a g ( x) = M , where L and M are real numbers. Then the
following results hold true.
(i) lim( f ( x ) + g ( x )) = lim f ( x ) + lim g ( x ) = L + M .
x →a x →a x →a
f ( x) lim f ( x) L
(v) lim = x→a = , provided M ≠ 0
x→a g ( x)
lim
x→a
g ( x) M
(vi) If f ( x) ≤ g ( x) on an open interval containing a, then lim f ( x) ≤ lim g ( x).
x→a x→a
x 2 −1
Example: Evaluate lim x →1 x 3 −1
.
Solution Note that x3 − 1 = ( x − 1)( x 2 + x + 1). Since x → 1 , and so x ≠ 1, it follows
that ( x 2 − 1) ( x3 − 1) = ( x − 1)( x + 1) ( x − 1)( x 2 + x + 1) = ( x + 1) ( x 2 + x + 1). Therefore,
( x +1) lim x →1 ( x +1)
we obtain lim x →1 x 2 −1
x3 −1
= lim x →1 ( x 2 + x +1)
= lim x →1 ( x 2 + x +1)
= 23 .
18
Calculus of One Variable
Theorem:
sin x
(i) lim = 1.
x →0 x
cos x − 1
(ii) lim = 0.
x →0 x
In this section we will extend the concept of limit to allow for two situations not
covered by the definition of two-sided limit or one-sided limit in the previous section:
19
Calculus of One Variable
lim f ( x) = L
x →∞
20
Calculus of One Variable
x x x
f ( x) = = =
x2 + 1 x 2 (1 + (1 x 2 )) x 2 1 + (1 x 2 )
as a, b > 0 ⇒ ab = a b . Since x = x 2 , we have
x x 1
f ( x) = = .
x 1 + (1 x 2 ) x 1 + (1 x 2 )
Since 1 + (1 x2 ) → 1 and x x = x x → 1 as x → ∞ , it follows that lim x→∞ f ( x) = 1.
Similarly, 1 + (1 x2 ) →1 and x x = x (− x) → −1 as x → ∞, thus lim x→−∞ f ( x) = −1.
We next turn our attention to the notion of infinite limits. Sometimes, a function
whose values grow arbitrary large can be said that to have an infinite limit. Since
infinity ∞ is not a real number, it follows that infinite limits are not really limits at all,
however they provide a method of describing the behavior of functions which grow
arbitrarily large positive, or become negative and arbitrarily large in absolute values.
lim f ( x) = ∞
x→a+
means that the values of f ( x) can take arbitrarily large positive values by taking x
sufficiently close to a from the right, but not equal to a.
Definition: Let a ∈ ℜ and let f ( x) a real function defined on an open interval about
a, except possibly at a itself. Then
lim f ( x) = −∞
x→a+
means that the values of f ( x) can take arbitrarily large negative values by taking x
sufficiently close to a from the right, but not equal to a.
1 1 1
Example: Discuss about the behavior of lim x →3+ x −3 , lim x→3− x −3 and lim x →3 x −3 .
Solution Observe that when x → 3+ , then x − 3 → 0+ . Thus, 1
x− 3 → ∞ (sometimes
we denote 1
x− 3 → +∞ ). So, we denote lim x →3+ 1
x −3 = ∞. Clearly, the limit lim x →3+ 1
x −3
21
Calculus of One Variable
does not exist, but we are describing the behavior of f ( x) near positive side of 3 by
saying that the values of f ( x) become arbitrarily large positive as x approaches
sufficiently close to 3. Similarly, since x → 3− , then x − 3 → 0− . Thus, 1
x− 3 → −∞ .
Hence we denote lim x→3+ 1
x −3 = − ∞. Hence lim 1
x →3 x − 3 does not exist.
2.5 Continuity
22
Calculus of One Variable
(c) f ( x ) = x − 2
2 if x = 2.
Solution: (a). Note that f (2) is undefined, so f ( x) is discontinuous at x = 2.
(b) Evidently, f (0) = 2 , but lim x→0 f ( x) does not exist. So, f ( x) has a
discontinuity at x = 0.
(c) Observe that limx→2 f (x) = limx→2 x + 2 = 4 and f (2) = 2. Thus, lim x→2 f ( x)
≠ f (2), hence f ( x) is discontinuous at x = 2.
23
Calculus of One Variable
Theorem: Let c be any real number, and let f ( x) and g ( x) be real functions
defined on an open interval containing a. If f ( x) and g ( x) are continuous at x = a,
then
(i) ( f + g )( x) = f ( x) + g ( x) is continuous at x = a;
(ii) ( f − g )( x ) = f ( x) − g ( x ) is continuous at x = a;
(iii) (cf )( x) = cf ( x) is continuous at x = a;
(iv) ( fg )( x) = f ( x) g ( x ) is continuous at x = a;
(v) ( f g )( x) = f ( x) g ( x) is continuous at x = a provided g ( a ) ≠ 0, and is
discontinuous at x = a if g ( a ) = 0.
Theorem: The following type of real functions are continuous at every point in their
domains: (i) polynomial functions; (ii) rational functions; (iii) real n-th root
functions; (iv). trigonometric functions; (v) exponential functions; (vi) logarithm
functions; and (vii) hyperbolic functions.
Theorem (The Intermediate Value Theorem): Let a, b ∈ ℜ with a < b. Suppose that
f ( x) is continous on the closed interval [ a, b] and that k is any real number between
f (a ) and f (b). en there exists at least one real number c ∈ (a, b) such that f (c) = k .
24
Calculus of One Variable
Example: Show that the function f ( x) = x 3 + 3 x − 4 x + 9 has at least one real zero in
the interval [ −3, 3].
Solution: Observe that f ( −3) = −15 < 0, and f (3) = 33 > 0. Since f (−3) < 0 < f (3),
by the Intermediate Value Theorem, there exists c ∈ ( −3, 3) such that f (c) = 0.
3 Differentiation
3.1 The Derivative
Suppose that y = f (x) is a function. We want to computer the slope of the graph
of f (x) at ( x0 , f ( x0 ) . We take a point near by (x0 + ∆x, f (x0 + ∆x)). Then the slope of
the secant from ( x0 , f ( x0 ) to the point (x0 + ∆x, f (x0 + ∆x)) is
∆y f ( x 0 + ∆ x ) − f ( x 0 )
=
∆x ∆x
f (a + h) − f (a )
lim
h →0 h
if this limit exists.
We say that f ( x) is differentiable at x = a or f ( x) has a derivative at x = a if f’(a)
exists.
25
Calculus of One Variable
Note also that the value of the derivative of a real function f ( x) at a particular
point x = a in its domain can also be expressed in several ways:
d df (a ) df ( x)
f '(a) = f (a) = = = Dx f ( x) x=a .
dx dx dx x = a
Let f ( x) be a differentiable real function of x, and y = f ( x ) . Then in view of
the notation of the derivative of f ( x), we have
dy df ( x)
= = f '( x).
dx dx
It is sometimes useful to be able to refer, or view, the quantities dy and dx in such a
way that their quotient is the derivative dy dx . We can justify this by regarding dx =
∆x as a new independent variable, called the differential of x, and defining a new
dependent variable dy , called the differential of y, as a function of x and dx by
df ( x)
dy = dx = f '( x ) dx,
dx
or simply, df ( x) = f '( x) dx.
For example, if y = x 2 , then we have dy dx = 2 x, or equivalently, we obtain
dy = 2 x dx.
26
Calculus of One Variable
Hence lim h →0 ( f (0 + h) − f (0)) h does not exist. We conclude that the function
f ( x) = x is not differentiable at x = 0.
Let a, b ∈ ℜ with b > a, and let f ( x) be a function defined on (a, b). We say that
f ( x) is differentiable on (a, b) if f ( x) is differentiable at every point x ∈ ( a, b), and
we say that f ( x) is differentiable everywhere, or simply, differentiable if f ( x) is
differentiable on (−∞, ∞).
For instance, f ( x) = x is a differentiable function. Let x be an arbitrary real number.
Then we have
f ( x + h) − f ( x ) x+h−x h
lim = lim = lim = lim1 = 1.
h →0 h h → 0 h h → 0 h h →0
Thus, f ( x) is differentiable throughout (−∞, ∞) with f '( x) = 1 for all x ∈ ( −∞, ∞).
Example:
Consider the function f ( x) = x . Although it is differentiable from the right at x = 0 ,
and is differentiable from the left at x = 0 , it is not differentiable at 0. Other than that,
it is differentiable everywhere. ( x ≠ 0 ).
Example: By using definition, evaluate the derivative at any x ∈ ℜ for the following
functions. (i). f ( x) = c , where c is a real constant. (ii) f ( x) = sin x.
Solution
f ( x + h) − f ( x) c−c
(i). Given f ( x) = c, then we have lim = lim = lim 0 = 0.
h →0 h h → 0 h h →0
f ( x + h) − f ( x ) sin( x + h) − sin x
lim = lim
h →0 h h → 0 h
(sin x cos h + cos x sin h) − sin x
= lim
h →0 h
cos − 1 sinh
= lim ( sin x + cos x ( )
h→ 0 h h
cosh − 1 sinh
= sin x lim + cos x lim
h →0 h h→0 h
27
Calculus of One Variable
d n
(iii) x = nx n −1 for any positive integer n.
dx
d −n
(iv) x = −nx − n −1 for any positive integer n, and any x ∈ ℜ \ {0} .
dx
Theorem: Let a, b be any real numbers, and let f ( x) and g ( x) be real functions
defined on an open interval containing x. If f ( x) and g ( x) are differentiable at x,
then the following rules hold true.
(i) The function (af + bg )( x) = af ( x) + bg ( x) is differentiable at x, and
d d d
dx
( af ( x ) + bg ( x )) = a
dx
f ( x ) + b g ( x ).
dx
(ii) The function ( fg )( x) = f ( x) g ( x) is differentiable at x, and
d d d
dx
( f ( x ) g ( x )) =
dx
f ( x ) g ( x ) + f ( x ) g ( x ) .
dx
f f ' g − f g'
( )' =
g g2
∑
n
(iii) The function i =1
a i f i ( x ) is differentiable at x, and
28
Calculus of One Variable
d n n d
∑
dx i =1
ai f i ( x) = ∑ ai
i =11 dx
f i ( x).
( f1 (x) f2 (x)L fn (x)) = f1 (x) f2 (x)L fn (x) + f1 (x) f2 (x) f3 (x)L fn (x)
d d d
dx dx dx
d
+ L+ f1 (x)L fn−1 ( x) fn ( x)
dx
------------------------------------------------------------------------
( f g h)’=f ’g h+f g’ h+f g h’ .
-------------------------------------------------------------------------
Theorem: Let f ( x) be a real function defined on an open interval containing x. If
f ( x) is differentiable at x, then f ( x) is continuous at x.
(a)
d
dx
( an x n + an −1 x n −1 + L + a1 x + a0 ) = nan x n −1 + (n − 1) an −1 x n − 2 + L + 2a2 x + a1 ,
for any real number x , where n is any positive integer, and a1 , a 2 ,..., a n ∈ ℜ
(b)
dx
( )
d n m d n m n ( n m ) −1
x =
dx
x = x
m
, for any nonnegative real number x , where
m, n are any positive integers.
d 1 d −1
sin −1 x = , x < 1. cot −1 x = , x∈ℜ
dx 1− x2 dx 1 + x2
d −1 d 1
cos −1 x = , x < 1. sec −1 x = , x > 1.
dx 1− x2 dx x x2 − 1
29
Calculus of One Variable
d 1 d −1
tan −1 x = , x∈ℜ csc −1 x = , x > 1.
dx 1+ x 2
dx x x2 − 1
3 Derivatives of Logarithmic and Exponential Functions.
d d 1
(a) ln x = log e x = , for any positive real number x.
dx dx x
d 1
(b) log a x = , for any positive real number x, where a is any positive
dx x ln a
real number with a ≠ 1.
d x
(c) e = e x , for any real number x.
dx
d x
(d) a = (ln a ) a x , for any real number x.
dx
Example: Find the derivatives of the following function. Simplify your answers
whenever possible. (i). Let y = f ( x) = (3 x 3 + 7) 4 . (ii) y = f ( x) = sec 2 x + e x .
Solution:
(i). Let u = 3 x 3 + 7 . Then y = f (u ) = u 4 . So
30
Calculus of One Variable
dy dy du
= = 4u 3 (9 x 2 ) = ( 4(3x 3 + 7) 3 ) (9 x 2 ) = 36 x 2 ( 4 x 3 + 7) 3
dx du dx
d n f ( x) d n
f (n)
( x) = = n ( f ( x )).
dx n dx
31
Calculus of One Variable
32
Calculus of One Variable
The hypotheses of the Rolle’s Theorem are all necessary for the conclusion: if
f ( x) fails to be continuous at even one point of [a, b], or fails to be differentiable at
even one point of (a, b), then there may be no horizontal.tangent line
The Rolle’s Theorem gives no indication of how many points c there may be on
the curve between a and b where the tangent is horizontal. If the graph of f ( x) is a
straight horizontal line, then every point on the line between a and b has the required
property. In general, there may be one or more than one point.
f (b) − f (a )
f '(c) = .
b−a
33
Calculus of One Variable
There is a very effective rule, called l’Hôspital’s rule, for the computation of limit of a
quotient when the usual method discussed in Section 2.3 are not applicable, i.e., when
the limits of the numerator and the denominator are both zero, or both infinities.
f ( x) f '( x)
lim = lim ,
x → x0 g ( x) x → x0 g '( x)
34
Calculus of One Variable
f ( x) f '( x)
lim = lim ,
x →∞ g ( x) x →∞ g '( x)
provided the second limit exists.
Remarks
lim (1 + 1x ) .
x
(vi) (v) lim x x .
x→∞ x → 0+
Solution
sin x cos x
(i). lim = lim = lim cos x = 1.
x→0 x x→0 1 x→0
1
ln x
(ii). lim+ 1 = lim+ x 1 = lim+ (− x) = 0.
x→0 x →0 − x→0
x x2
ln(2 + e x ) e x (2 + e x ) ex ex
(iii). lim = lim lim = lim = lim1 = 1.
x →∞ x x →∞ 1 x →∞ 2 + e x x →∞ e x x →∞
35
Calculus of One Variable
x→∞
1 1
Let y = (1 + ) x . Then ln( y ) = x ln(1 + ) .
x x
Therefore,
lim ln y
lim x =x lim y = lim e ln y = e x →∞ = e0 = 1
x →∞ x →∞ x →∞
−1 1
or, (f )' ( f ( x )) =
f'( x)
−1
or, if we write y = f ( x), then f ( x) = y, and hence we have
dy dx
=1 .
dx dy
36
Calculus of One Variable
1 1 1
( f −1 ) '(π + 1). = = =
π π 2
f'( ) 2 + cos
2 2
Definition: (Local Extreme Value) A real valued function f ( x) has a local maximum
value (or relative maximum value) at x = x0 in its domain D f if there exists an open
interval I containing x0 such that
f ( x0 ) ≥ f ( x ) for all x ∈ I ⊆ D f .
f ( x0 ) ≤ f ( x ) for all x ∈ I ⊆ D f .
Local maximum and minimum values are called local extreme values.
We can extend the definition of local extreme value to the endpoint of intervals
by defining f ( x) to have a local maximum or local minimum value at the endpoint
x = x0 if the appropriate inequality holds for all x in some half-open interval in its
domain containing x0 .
f ( x0 ) ≥ f ( x ) for all x ∈ D f ,
37
Calculus of One Variable
f ( x0 ) ≤ f ( x) for all x ∈ D f ,
The above figure shows the graph of a real function f ( x) with absolute maximum
and minimum values at x = b and x = a, respectively.
38
Calculus of One Variable
2
Example: Find the maximum and minimum values of f ( x ) = 3 x 3 − 2 x on [−1,1].
Solution: Firstly, we see that f ( x) is a continuous function on [−1,1].
Furthermore, we have f '( x) = 2 x −1 3 − 2 = 2( x −1 3 − 1) .
Theorem (First Derivative Test): Let f ( x) be a real continuous function, and let
x0 ∈ D f . Then the following test applies to f ( x).
At a critical point x0 :
(i) if f '( x) > 0 for x < x0 , and f '( x) < 0 for x > x0 , then f ( x) has a local
maximum value at x = x0 ;
(ii) if f '( x) < 0 for x < x0 , and f '( x) > 0 for x > x0 , then f ( x) has a local
minimum value at x = x0 ;
(iii) if f '( x) has the same sign on both sides of x = x0 , then f ( x) has no local
extreme value at x = x0 .
At a left endpoint x0 :
(i) if f '( x) < 0 for x > x0 , then f ( x) has a local maximum value at x = x0 ;
(ii) if f '( x) > 0 for x > x0 , then f ( x) has a local minimum value at x = x0 .
At a right endpoint x0 :
(i) if f '( x) < 0 for x < x0 , then f ( x) has a local minimum value at x = x0 ;
(ii) if f '( x) > 0 for x < x0 , then f ( x) has a local maximum value at x = x0 .
Example*: Find and classify the local and absolute extreme values of the
function f(x)=x3-3x + 15 on the interval [-2,2].
Solution: f’(x)=3x2-3.
Find the critical points by solving f’(x)=3x2-3=0.
So x = -1 , 1 are the critical points.
-1 1
x+1 - + +
x-1 - - +
f’(x) + - +
39
Calculus of One Variable
Example and exercise: By using the second derivatives test, find the LOCAL
maximum and minimum of the following functions whose derivatives are given:
(i). f ( x) = 2 x 3 + 27 x 2 + 84 x + 1 . f ' ( x) = 6( x + 2)( x + 7)
1
(ii). f ( x) = x 4 + 3 x 3 − 2 x 2 − 96 x + 1 . f ' ( x) = ( x − 3)( x + 4)( x + 8)
4
40
Calculus of One Variable
Remarks
1. We stress that the definite integral of f ( x) over [a, b] is a number; it is not a
function of x. It depends on the numbers a and b and the particular function
f ( x).
2. The definite integral does not depend on the variable x, which is a dummy
variable, thus we have
b b
∫ f ( x) dx = ∫ f (t ) dt.
a a
The real numbers a and b are called the limits of integration; a is the lower
limit and b is the upper limits.
Theorem . Let a,b be real numbers with b > a. and f ( x ) a function defined on the
closed interval [a , b]. If f ( x) is continuous on [ a, b ] , then f ( x) is integrable on
[ a, b ] .
Theorem: Let a, b be real numbers with b > a. Let f ( x ) and g(x) be continuous
functions defined on the closed interval [a, b] and α , β be any real constants. Then
the following properties hold true.
a
(i) ∫ a
f ( x) dx = 0.
b b b
(ii) ∫ a
α f ( x) + β g ( x) dx = α ∫ f ( x) dx + β ∫ g ( x) dx.
a a
a b
(iv) ∫ b
f ( x) dx = − ∫ f ( x) dx.
a
41
Calculus of One Variable
(vii) The integral of an odd function over an interval symmetric about zero is
a
zero; i.e., if f ( − x) = − f ( x) for all x ∈ [ −a, a ], then ∫ −a
f ( x) dx = 0.
(viii) The integral of an even function over an interval symmetric about zero is
twice the integral over the positive half of the interval; i.e., if f (− x) = f ( x)
a a
for all x ∈ [ −a, a ], then ∫ −a
f ( x) dx = 2 ∫ f ( x) dx.
0
If A and B are the bounded areas illustrated in the diagram above, then
b
∫ a
f ( x) dx = A − B,
0 0 π
42
Calculus of One Variable
More generally, if the restriction f ( x) ≥ g ( x) is removed, then the total area lying
between y = f ( x ) and y = g ( x), and the vertical straight lines x = a and x = b with
b > a, is given by
b
A=∫ f ( x ) − g ( x) dx.
a
43
Calculus of One Variable
x
g ( x) = ∫ f (t ) dt
a
g '( x) =
d
dx (∫ x
a )
f (t ) dt = f ( x) for all x ∈ [ a, b].
Example: Find
d
dx 1 ∫
x
(
sin t dt . )
Solution: Since f ( x) = sin x is continuous throughout ℜ , hence
d
dx 1(
∫
x
)
sin t dt = sin x for all x ∈ ℜ .
d x
Class exercise: ∫ cos 7 tdt = ?
dx 2
--------- cos7x
d x
∫ sin t cos 5tdt = ?
dx 1
--------- sin x cos5x
More examples:
f ( x) Antiderivative of f ( x)
f ( x) = sin x F ( x) = − cos x + C
f ( x) = e x F ( x) = e x + C
f ( x) = 1 x F ( x) = ln x + C
f ( x) = sinh x F ( x) = cosh x + C
44
Calculus of One Variable
5
∫ 8 x dx .
3
Example: Evaluate
−2
d
Solution: Let F(x)=2x4 , then F ( x ) = 8 x 3 , hence
dx
5 5
∫−28x dx =F(x) − 2 =F(5) - F(-2)=2(625 -16)= 1018
3
∫ f ( x) dx = F ( x ) + C,
where C is an arbitrary constant.
Polynomial Functions
(i). ∫ a dx = ax + C , where a ∈ ℜ .
x n +1
(ii). ∫ x n dx = + C , where n ∈ Z \ {−1} .
n +1
x2 x n+1
(iii). ∫ ( a0 + a1 x + L + an x n ) dx = a0 x + a1 + L + an + C,
2 n +1
where n is a positive integer and a 0 , a1 ,..., a n ∈ ℜ .
(iv). For each r ≠ −1 ,
x r +1
∫ = + C.
r
x dx
r +1
Trigonometric Functions
(i). ∫ sin x dx = − cos x + C.
(ii). ∫ cos x dx = sin x + C.
(iii). ∫ tan x dx = ln sec x + C.
(iv). ∫ cot x dx = ln sin x + C.
(v). ∫ sec x dx = ln sec x + tan x + C.
(vi). ∫ csc x dx = ln csc x − cot x + C.
∫ sec x dx = tan x + C.
2
(vii).
45
Calculus of One Variable
Hyperbolic Functions
(i). ∫ sinh x dx = cosh x + C.
(ii). ∫ cosh x dx = sinh x + C.
(iii). ∫ tanh x dx = ln ( cosh x ) + C.
(iv). ∫ coth x dx = ln sinh x + C.
∫ sec h x dx = tanh x + C.
2
(v).
∫ csc h x dx = − coth x + C.
2
(vi).
Algebraic Functions
1
(i). ∫ dx = ln x + C , x ∈ ℜ \ {0} .
x
1
(ii). ∫ dx = tan −1 x + C.
1 + x2
1 x +1
(iii). ∫ dx = 12 ln + C , x ∈ ℜ \ {1, − 1}
1− x 2
x −1
1 x −1
(iv). ∫ 2 dx = 12 ln + C , x ∈ ℜ \ {1, − 1}
x −1 x +1
1
(v). ∫ dx = sinh −1 x + C.
1+ x 2
1
(vi). ∫ dx = sin −1 x + C , −1 < x < 1. .
1− x 2
3
∫x − 6 x dx, and evaluate ∫ x3 − 6 x dx.
3
Example: Find
0
∫x − 6 x dx = ∫ x 3 dx − ∫ 6 x dx = 14 x 4 − 3 x 2 .
3
46
Calculus of One Variable
∫ u dv = uv − ∫ v du.
We note that the integration by parts formula can be applied to definite integrals
as well as to indefinite integrals. The corresponding formulation is
b x =b b
∫ a
f ( x) g ( x) dx = f ( x)G ( x ) x=a
− ∫ G ( x ) f '( x) dx,
a
and
b x =b b
∫ a
u dv = uv x=a
− ∫ v du ,
a
∫ ln x dx = (ln x) x −∫ x (1 x ) dx = x ln x − ∫ 1 dx = x ln x − x + C ,
where C is an arbitrary constant.
∫x e
2 3x
Example: Find dx.
1 3x
Solution: let u = x 2 , dv = e 3 x dx . Then du = 2 xdx , v = e .
3
∫x e
2 3x
dx = x 2 ( 13 e3 x ) − ∫ 13 e3 x ( 2 x ) dx = 13 x 2 e3 x − 23 ∫ xe3 x dx.
1 3x
Now, consider ∫ xe 3 x dx . Let u=x , dv = e 3 x dx. So du=dx , v = e .
3
47
Calculus of One Variable
Then ∫ xe
3x
dx = x ( 13 e3 x ) − ∫ 13 e3 x (1) dx = 13 xe3 x − 13 ∫ e3 x dx = 13 xe3 x − 91 e3 x + B, where B
is an arbitrary constant.
Thus, we have
∫x e
2 3x
dx = 13 x 2 e3 x − 32 ( 13 xe3 x − 91 e3 x + B ) = 13 x 2 e3 x − 92 xe3 x + 2
27 e3 x + C ,
where C = − 23 B. #
π
Example: Evaluate ∫ 0
e3 x cos x dx.
So,
∫e
3x
(
cos x dx = e3 x sin x − 3 −e3 x cos x + 3∫ e3 x cos x dx )
= e sin x + 3e cos x − 9 ∫ e cos x dx.
3x 3x 3x
Therefore,
10 ∫ e3 x cos x dx = e3 x sin x + 3e3 x cos x,
so,
∫e cos x dx = 101 e3 x sin x + 103 e3 x cos x. +C.
3x
Hence
x =π −3e3π
( e3 x sin x + 103 e3 x cos x ) − = − ( e3π − 1) . #
π 3 3
∫ 0
e3 x cos x dx = 1
10
x =0
=
10 10 10
Integration by Substitution
x2
Example: Consider the indefinite integral ∫ xe dx .
If we let u = x 2 , then du
dx = 2 x,
and hence du = 2 xdx. Therefore, we can simplify the
indefinite integral into a simple form
∫ xe dx = ∫ 2 xe dx = ∫ e 2 x dx = ∫ e du.
2 2 2
x 1 x 1 x 1 u
2 2 2
∫ xe dx = 12 e + C. #
2 2
x x
4x + 1
Example: Evaluate ∫ 2x
2
+x
dx.
1
Example: Find ∫ a − x2
dx, if a > 0.
1
Example: Find ∫x 2
+ a2
dx if a > 0.
x3 + 3x 2
Example: Find ∫ x2 + 1
dx.
x3 + 3x 2 x+3
Solution By long devision, we see that = x +3− 2 . Hence
x +1
2
x +1
49
Calculus of One Variable
x3 + 3x 2 x+3
∫ x +1
2
dx = ∫ x + 3 − 2
x +1
dx
x 3
= ∫ x + 3 dx − ∫ 2 dx − ∫ 2 dx
x +1 x +1
1 2x 1
= ∫ x + 3 dx − ∫ 2 dx − 3∫ 2 dx
2 x +1 x +1
x2 1
= + 3 x − ln( x 2 + 1) − 3 tan −1 x + C ,
2 2
where C is an arbitrary constant.
large and ∆ xi = xi − xi −1 , then the work done by the force in moving the object
from xi −1 to xi is approximately
Wi = F (t i ) ∆ x i .
50
Calculus of One Variable
n b
W = lim ∑ F (t i )∆xi = ∫ a F ( x)dx
n → ∞ i −1
Example 4.7.5. A force of 55 N is required to hold a spring that has been stretched
from its natural length of 10 cm to a lengh of 20 cm. How much work work is done in
stretching the spring 16 cm from its natural length to 22 cm?
Solution: According to Hooke’s law, the force required to hold the spring stretched x
meter beyong its natural lengh is
F(x)=kx,
where k is the spring constant. (here F is measured in Newton).
When the spring is stretched 10 cm from its natural lenght to 20 cm, the amount
stretched is 10 cm = 0.1 m. Thus,
F (0.1) = 55
and so 55 = 0.1 k ,
So,
k = 550 .
Hence,
F ( x) = 550 x
Therefore, the work done is
51