Distance and Open Learning
Distance and Open Learning
Distance and Open Learning
(Computer Science)
SEMESTER - II (CBCS)
CALCULUS
1
DERIVATIVES AND ITS APPLICATION
Unit Structure
1.0 Objective
1.1 Introduction
1.2 Review of Functions
1.3 Increasing and Decreasing Functions
1.4 Stationary Points
1.5 Maximum and Minimum Problems.
1.6 Graphing Polynomials
1.7 Newton’s Method
1.8 Summary
1.9 Exercise
1.10 References
1.0 OBJECTIVE: -
Derive the Newton-Raphson method formula,
1.1 INTRODUCTION: -
The course is designed to have a grasp of important concepts of Calculus
in a scientific way. It covers topics from as basic as definition of functions
to partial derivatives of functions in a gradual and logical way. The learner
is expected to solve as many examples as possible to get a compete clarity
and understanding of the topics covered.
1
Calculus 1.2 REVIEW OF FUNCTIONS: -
Definitions Let ƒ be a function with domain D. Then ƒ has an absolute
maximum value on D at a point c
If ƒ(x) ≤ ƒ(c) for all x in D and an absolute minimum value on D at c if
ƒ(x) ≥ ƒ(c) for all x in D.
Maximum and minimum values are called extreme values of the function
ƒ. Absolute maxima or minima are also referred to as global maxima or
minima.
Theorem 1—The Extreme Value Theorem If ƒ is continuous on a closed
interval [a, b]. Then ƒ attains both an absolute maximum value M and an
absolute minimum value m in [a, b] . That is, there are numbers
and in [a, b] with ƒ( ) = m, ƒ( ) = M, and m ≤ ƒ(x) ≤ M for every
other x in [a, b] The proof of the Extreme Value Theorem requires a
detailed knowledge of the real number system (see Appendix 7) and we
will not give it here. Figure 4.3 illustrates possible locations for the
absolute extrema of a continuous function on a closed interval [a, b] . As
we observed for the function y = cos x, it is possible that an absolute
minimum (or absolute maximum) may occur at two or more different
points of the interval
1.3 INCREASING AND DECREASING FUNCTIONS: -
Let f be some function defined on an interval.
Definition
The function f is increasing over this interval if, for all points x1 and x2 in
the interval,
This means that the value of the function at a larger number is greater than
or equal to the value of the function at a smaller number.
The graph on the left shows a differentiable function. The graph on the
right shows a piecewise-defined continuous function. Both these functions
are increasing.
2
The function f is decreasing over this interval if, for all points x1 and x2 in Derivatives and Its
the interval, Application
Note that a function that is constant on the interval is both increasing and
decreasing over this interval. If we want to exclude such cases, then we
omit the equality component in our definition, and we add the word
strictly:
• A function is strictly increasing if x1< x2 implies f (x1) < f (x2).
• A function is strictly decreasing if x1< x2 implies f (x1) > f (x2).
We will use the following results. These results refer to intervals where
the function is differentiable. Issues such as endpoints have to be treated
separately.
3
Calculus • The point c is a minimum point of the function f if and only if
f (c) ≤ f (x), for all x in the domain of f . The value f (c) of the function at
c is called the minimum value of the function.
4
Derivatives and Its
Application
Figure 1: y f ( x ) and y g ( x )
Zeros (or roots) are another important part of the short-run behavior of
the graph of a polynomial function. To find the roots of a polynomial
function, we can write it in factored form:
Each factor of f gives rise to a root, since when each factor equals zero,
the output for the function is zero. To find the roots, determine which
numbers make the factors equal to zero.
5
Calculus
FACTOR ROOT
x3 x 3
x3 x 3
x6 x 6
x9 x 9
In order to graph f, we can plot its roots and y-intercept; see Figure 2
below.
Figure 2
Now we can connect these points – making sure that our graph has the
correct long-run behavior – to complete the graph of
f ( x) x 4 3x 3 63 x 2 27 x 486 ; see Figure 3.
g ( x) x 4 12 x 3 27 x 2 270 x 648
( x 3) 2 ( x 6)( x 12)
6
FACTOR ROOT Derivatives and Its
Application
x3 x 3
x6 x6
x 12 x 12
Figure 4
Now we can connect these points – making sure that our graph has the
correct long-run behavior – to complete the graph of
g ( x ) x 4 12 x 3 27 x 2 270 x 648 (see Figure 5). Notice that the
only way to connect the points without using additional roots or incorrect
long-run behavior is to have the graph “bounce” of the double root at
x 3. (Try it yourself!)
7
Calculus
SOLUTION:
Since there are roots at x 4 , x 2 , x 0 , and x 3 , we know that
p has form
p ( x ) k x ( x 3)( x 4)( x 2)
SOLUTION:
Since there are roots at x 3 , x 1 , x 1 , and x 3 , and since the
graph bounces off the x-axis at x 1 , this is a root of multiplicity two
(i.e., a double-root). Thus, we know that w has form
SOLUTION:
Notice that the graph of y h ( x ) does not have roots at integer values.
But there are some “nice” points on the graph of y h ( x ) along the
horizontal line y 5 . If we treat this line as the x-axis (i.e., imagine that
the graph of h is shifted down 5 units) then the graph would have roots
x 4 , x 1 , and x 4 . So to find a rule for h we can create a
function that has these three roots and then shift it up 5 units:
h ( x ) k ( x 4)( x 1)( x 4) 5
9
Calculus Properties of Polynomial Functions
■ The graph of a polynomial is a smooth unbroken curve. (By
“smooth” we mean that the graph does not have any sharp corners
as turning points.)
■ The graph of a polynomial always exhibits the characteristic that as
x gets very large, y gets very large.
Figure 9
SOLUTION:
The polynomial function graphed in Figure 9 has four zeros and five
turning points. The properties of polynomials tell us that a polynomial
function with four zeros must have a degree of at least four. These
properties also tell us that if a polynomial has degree n then it can have at
most n 1 turning points. In other words the degree of a polynomial must
be at least one more than the number of turning points. Since this graph
has four turning points, the degree of the polynomial must be at least six.
Keep in mind that although a 6th degree polynomial may have as many as
six real zeros, it need not have that many. The graph in Figure 9 only has
four real zeros.
10
Concavity Derivatives and Its
There are four graphs in Figure 10 (below). The first two graphs (a and b) Application
have different shapes, but they are both increasing on the interval ( 2, 1) .
The second two graphs (c and d) also have different shapes, but they are
both decreasing on the interval ( 2, 1) .
a b
c d
Figure 10
As the first graph (a) rises, it bends or curves upward; but as the second
graph (b) rises, it bends or curves downward. Similarly, the third graph
(c) is falling and curved upward, whereas the fourth graph (d) is falling
and curved downward. A graph the curves upward (like the graphs a and
c) is called concave up; a graph that curves downward (like the graphs b
and d) is called concave down. It might help to remember thata parabola
that opens upward is concave up and a parabola that opens downward is
concave down.
The graph in Figure 11 is always increasing, concave down on the interval
( , 1) , and concave up on the interval (1, ) . At the point (1, 1) the
concavity changes from concave up to concave down. Such a point is
called a point of inflection.
11
Calculus
12
SOLUTION: Derivatives and Its
a. The approximate intervals where the graph of f is increasing are Application
( , 4.5) and (0, 4.5) .
f xi = tan θ
f xi 0
= ,
xi xi 1
which gives
f xi
xi 1 = xi (1)
f xi
Algorithm
The steps of the Newton-Raphson method to find the root of an equation
f x 0 are
13
Calculus 1. Evaluate f x symbolically
2. Use an initial guess of the root, xi , to estimate the new value of the
root, xi 1 , as
f xi
xi 1 = xi
f xi
xi 1 xi
a = 100
xi 1
f (x)
f [xi, f(xi)]
(x )
f (xi+1)
θ
x
xi+2 xi+1 xi
Example 1
You are working for ‘DOWN THE TOILET COMPANY’ that makes
floats for ABC commodes. The floating ball has a specific gravity of 0.6
and has a radius of 5.5 cm. You are asked to find the depth to which the
ball is submerged when floating in water.
14
Derivatives and Its
Application
The equation that gives the depth x in meters to which the ball is
submerged under water is given by
x 3 0.165 x 2 3.993 10 4 0
a) the depth x to which the ball is submerged under water. Conduct three
iterations to estimate the root of the above equation.
b) the absolute relative approximate error at the end of each iteration, and
c) the number of significant digits at least correct at the end of each
iteration.
Solution
f x x 3 0.165 x 2 3.993 10 4
f x 3 x 2 0.33x
Iteration 1
The estimate of the root is
f x0
x1 x0
f x0
3 2
0.05
0.05 0.1650.05 3.993 10 4
2
30.05 0.330.05
15
Calculus 1.118 10 4
0.05
9 10 3
0.05 0.01242
0.06242
x1 x0
a 100
x1
0.06242 0.05
100
0.06242
19.90%
The number of significant digits at least correct is 0, as you need an
absolute relative approximate error of 5% or less for at least one
significant digit to be correct in your result.
Iteration 2
The estimate of the root is
f x1
x2 x1
f x1
0.06242
0.062423 0.1650.062422 3.993 10 4
2
30.06242 0.330.06242
3.97781 10 7
0.06242
8.90973 10 3
0.06242 4.4646 10 5
0.06238
x2 x1
a 100
x2
0.06238 0.06242
100
0.06238
0.0716%
f x2
x3 x 2
f x 2
0.06238
0.062383 0.1650.062382 3.993 10 4
2
30.06238 0.330.06238
4.44 10 11
0.06238
8.91171 10 3
0.06238 4.9822 10 9
0.06238
0.06238 0.06238
a 100
0.06238
0
The number of significant digits at least correct is 4, as only 4 significant
digits are carried through in all the calculations.
Iteration
xi
Number
0 5.0000
1 3.6560
2 2.7465
3 2.1084
4 1.6000
5 0.92589
6 –30.119
7 –19.746
8 –12.831
9 –8.2217
10 –5.1498
11 –3.1044
12 –1.7464
13 –0.85356
14 –0.28538
15 0.039784
16 0.17475
17 0.19924
18 0.2
18
Derivatives and Its
Application
2. Division by zero
For the equation
f x x 3 0.03x 2 2.4 10 6 0
19
Calculus Table 2 Division by near zero in Newton-Raphson method.
Iteration
xi f ( xi ) a %
Number
1.00E-05
f(x)
7.50E-06
5.00E-06
2.50E-06
0.00E+00
x
-0.03 -0.02 -0.01 0 0.01 0.02 0.03 0.04
-2.50E-06
0.02
-5.00E-06
-7.50E-06
-1.00E-05
20
For example, for Derivatives and Its
Application
f x x 2 2 0
6
f(x)
5
3
3
2
2
1 1
4
x
0
-2 -1 0 1 2 3
-1.75 -0.3040 0.5 3.142
-1
Iteration
xi f ( xi ) a %
Number
0 –1.0000 3.00
300.00
1 0.5 2.25
128.571
2 –1.75 5.063
476.47
3 –0.30357 2.092
109.66
4 3.1423 11.874
150.80
5 1.2529 3.570
829.88
6 –0.17166 2.029
102.99
7 5.7395 34.942
112.93
8 2.6955 9.266
175.96
9 0.97678 2.954
21
Calculus 4. Root jumping
Iteration
xi f ( xi ) a %
Number
0 7.539822 0.951
1.5
f(x)
1
0.5
x
0
-2 0 2 4 6 8 10
-0.06307 0.5499 4.461 7.539822
-0.5
-1
-1.5
22
Appendix A. What is an inflection point? Derivatives and Its
For a function f x , the point where the concavity changes from up-to- Application
down or down-to-up is called its inflection point. For example, for the
function f x x 1 , the concavity changes at x 1 (see Figure 3),
3
f ( x ) 0 for x 1 ), and thus brings up the Inflection Point Theorem for a
function f ( x ) that states the following.
“If f ' ( c ) exists and f (c ) changes sign at x c , then the point (c , f ( c ))
is an inflection point of the graph of f .”
f" xi
f xi 1 f xi f xi xi 1 xi + xi 1 xi 2
2!
As an approximation, taking only the first two terms of the right hand side,
f xi 1 0 ,
0 f xi f xi xi 1 xi
which gives
f xi
xi 1 xi
f' xi
23
Calculus a. It appears that the graph of f is concave up on the interval ( 2, 2) .
c. As we move from left to right, the graph changes from concave down
to concave up and then back to concave down. Each change occurs at
an inflection point, so the graph of f has two inflection points.
EXAMPLE:Suppose p is a polynomial function that satisfies the
following conditions: The graph of p has exactly three turning points :
( 2.5, 5) , (0, 2) , (2.5, 5) and the graph of p has exactly two
inflection points: ( 1, 0) and (1, 0). Sketch a graph of p based upon
this information. How many real zeros does p have?
SOLUTION:
Let’s start by plotting the given points; see Figure 14.
Figure 14
There is only one way to connect the points to create a polynomial
function without adding turning points or inflection points; see Figure 15.
You should verify this for yourself.
24
1.8 SUMMARY: - Derivatives and Its
Application
This chapter is mainly focusing on basic concepts in derivatives.
1.9 EXERCISE: -
The accompanying figure shows some level curves of an unspecified
function f(x, y). Which of the three vectors shown in the figure is most
likely to be ∇f ? Explain
1.10 REFERENCES: -
Calculus: Early transcendental (10th Edition): Howard Anton, Irl
Bivens, Stephen Davis, John Wiley & sons, 2012.
25
2
INTEGRATION AND ITS APPLICATIONS
Unit Structure
2.0 Objective
2.1 Introduction
2.2 An overview of the area problem
2.3 The indefinite integral anti derivatives
2.4 The indefinite integral
2.5 Area between two curves
2.6 Length of A plane curve
2.7 Simpson’s rule
2.8 Summary
2.9 Exercise
2.10 References
2.0 OBJECTIVE
Derive the Simpson’s method formula,
Develop the algorithm of the Simpson’s method,
2.1 INTRODUCTION
In this chapter we will begin with an overview of the problem of finding
areas—we will discuss what the term “area” means, and we will outline
two approaches to defining and calculating areas. Following this
overview, we will discuss the Fundamental Theorem of Calculus, which is
the theorem that relates the problems of finding tangent lines and areas,
and we will discuss techniques for calculating areas. We will then use the
ideas in this chapter to define the average value of a function, to continue
our study of rectilinear motion, and to examine some consequences of the
chain rule in integral calculus. We conclude the chapter by studying
functions defined by integrals, with a focus on the natural logarithm
function.
26
The first real progress in dealing with the general area problem was Integration and Its
made by the Greek Mathematician Archimedes, who obtained areas of Applications
regions bounded by circular arcs, parabolas, spirals, and various other
curves using an ingenious procedure that was later called the method
of exhaustion. The method, when applied to a circle, consists of
inscribing a succession of regular polygons in the circle and allowing
the number of sides to increase indefinitely (Figure 5.1.1). As the
number of Sides increases, the polygons tend to “exhaust” the region
inside the circle, and the areas of the polygons become better and
better approximations of the exact area of the circle.
To see how this works numerically, let denote the area of a regular
n-sided polygon inscribed in a circle of radius 1. Table 5.1.1 shows the
values of A(n) for various choices of n. Note that for large values of n
the area A(n) appears to be close to π (square units),
as one would expect. This suggests that for a circle of radius 1, the method
of exhaustion is equivalent to an equation of the form
0 , ,,
(Figure 5.1.6). We want to construct a rectangle over each of these
subintervals whose height is the value of the function f(x) = x2 at some
point in the subinterval. To be specific, let us use the right endpoints, in
which case the heights of our rectangles will be
and since each rectangle has a base of width 1/n, the total area Anof the n
rectangles will be
Table 5.1.2 shows the result of evaluating (1) on a computer for some
increasingly large values of n. These computations suggest that the exact
area is close to 1 3. Later in this chapter we will prove that this area is
exactly 1 3 by showing that
then integrating (or ant differentiating) the function f(x) produces an ant
derivative of the form F (x) + C. To emphasize this process, Equation (1)
is recast using integral notation,
then integrating (or ant differentiating) the function f(x) produces an ant
derivative of the form F (x) + C. To emphasize this process, Equation (1)
is recast using integral notation,
Which is read “the summation of k2, where k runs from 1 to 5.” The notation tells us
to form the sum of the terms that result when we substitute successive integers for
k in the expression k2, starting with k = 1 and ending with k = 5.
More generally, if f(k) is a function of k, and if m and n are integers such that m ≤ n,
then
Denotes the sum of the terms that result when we substitute successive
integers for k, starting with k = m and ending with k = n
THE DEFINITE INTEGRAL
A function f is said to be integrable on a finite closed interval [a, b] if the
limit
exists and does not depend on the choice of partitions or on the choice of
the points in the subintervals. When this is the case we denote the limit
by the symbol
30
Which is called the definite integral of f from a to b. The numbers a and b Integration and Its
are called the lower limit of integration and the upper limit of integration, Applications
respectively, and f(x) is called the integrand
Taking the limit as n increases and the widths of all the subintervals
approach zero yields the following definite integral for the area A between
the curves:
Area Formula : If f and g are continuous functions on the interval [a, b],
and if f(x) ≥ g(x) for all x in [a, b], then the area of the region bounded
above by y = f(x), below by y = g(x), on the left by the line x = a, and on
the right by the line x = b is
31
Calculus Example 1 Find the area of the region bounded above by y = x + 6,
bounded below by y = x2, and bounded on the sides by the lines x = 0 and
x = 2.
Solution. The region and a cross section are shown in Figure 6.1.4. The
cross section extends from g(x) = x2 on the bottom to f(x) = x + 6 on the
top. If the cross section is moved through the region, then its leftmost
position will be x = 0 and its rightmost position will be x = 2. Thus, from
(1)
It is possible that the upper and lower boundaries of a region may intersect
at one or both endpoints, in which case the sides of the region will be
points, rather than vertical line segments (Figure 6.1.5). When that occurs
you will have to determine the points of intersection to obtain the limits of
integration.
x1, x2, . . . , xn−1, b = xn and join these points with straight line segments.
These line segments form a polygonal path that we can regard as an
approximation to the curve y = f(x).
As indicated in Figure 6.4.3b, the length Lk of the kth line segment in the
polygonal path is
If we now add the lengths of these line segments, we obtain the following
approximation to the length L of the curve
To put this in the form of a Riemann sum we will apply the Mean-Value
Theorem (4.8.2). This theorem implies that there is a point between xk-1
and xksuch that
33
Calculus
Thus, taking the limit as n increases and the widths of all the subintervals
approach zero yields the following integral that defines the arc length L:
This result provides both a definition and a formula for computing arc lengths.
Where convenient, (3) can also be expressed as
34
Integration and Its
Applications
on the interval (−∞, +∞), since substituting y and its derivative into the left
side of this equation yields
for all real values of x. However, this is not the only solution on (−∞, +∞),
for example, the function
35
Calculus Separation of Variables
Step 1. Separate the variables in (1) by rewriting the equation in the
differential form
h(y) dy = g(x) dx
Step 2. Integrate both sides of the equation in Step 1 (the left side with
respect to y and the right side with respect to x):
∫ h(y) dy = ∫ g(x) dx
Step 3. If H(y) is any antiderivative of h(y) and G(x) is any antiderivative
of g(x),then the equation
H(y) = G(x) + C
will generally define a family of solutions implicitly. In some cases it may
bepossible to solve this equation explicitly for y.
SLOPE FIELDS
In Section 5.2 we introduced the concept of a slope field in the context of
differential equations of the form y = f(x); the same principles apply to
differential equations of the form
y’ = f(x, y)
To see why this is so, let us review the basic idea. If we interpret y as the
slope of a tangent line, then the differential equation states that at each
point (x, y) on an integral curve, the slope of the tangent line is equal to
the value of f at that point (Figure 8.3.1). For example, y’= y – x
A geometric description of the set of integral curves can be obtained by
choosing a rectangular grid of points in the xy-plane, calculating the
slopes of the tangent lines to the integral curves at the gridpoints, and
drawing small segments of the tangent lines through those points. The
resulting picture is called a slope field or a direction field for the
differential equation because it shows the “slope” or “direction” of the
integral curves at the gridpoints.
The more grid points that are used, the better the description of the integral
curves. For example, Figure 8.3.2 shows two slope fields for (1)—the first
was obtained by hand calculation using the 49 gridpoints shown in the
companying table, and the second, which gives a clearer picture of the
integral curves, was obtained using 625 gridpoints and a CAS
Euler’s Method
To approximate the solution of the initial-value problem
, y(x0) = y0
36
Proceed as follows: Integration and Its
Step 1. Choose a nonzero number x to serve Applications
as an increment or step size along thex-axis, and let
x1 = x0 + ∆ x, x2 = x1 + ∆ x, x3 = x2 + ∆x, . . .
Step 2. Compute successively
y1 = y0 + f(x0, y0)∆x
y2 = y1 + f(x1, y1)∆x
y3 = y2 + f(x2, y2)∆x
yn+1 = yn + f(xn, yn)∆x
The numbers y1, y2, y3, . . . in these equations are the approximations of
y(x1),y(x2), y(x3),
The Method of Integrating Factors
Step 1. Calculate the integrating factor
μ=
Since any μ will suffice, we can take the constant of integration to be zero
in this step.
Step 2. Multiply both sides of (3) by μ and express the result as
(μy) = μq(x)
Step 3. Integrate both sides of the equation obtained in Step 2 and then
solve for y. Be sure to include a constant of integration in this step.
2.8 SUMMARY: -
This chapter basically focuses on intergration and application
2.9 EXERCISES: -
The area A(x) under the graph of f and over the interval[a, x] is given.
Find the function f and the value of a
2.10 REFERENCES -
Calculus: Early transcendental (10th Edition): Howard Anton, Irl
Bivens, Stephen Davis, John Wiley & sons, 2012.
37
3
PARTIAL DERIVATIVES AND ITS
APPLICATIONS
Unit Structure
3.0 Objective
3.1 Introduction
3.2 Functions
3.3 Limits and Continuity
3.4 Partial Derivatives
3.5 Differentiability, Differentials and Local Linearity
3.6 Chain Rules
3.7 Directional Derivatives and the Gradient
3.8 Maxima and Minima
3.9 Summary
3.10 Exercise
3.11 References
3.0 OBJECTIVE
Understanding of Mathematical concepts like limit, continuity,
derivative, integration of functions.
3.1 INTRODUCTION
In this chapter we will extend many of the basic concepts of calculus to
functions of two or more variables, commonly called functions of several
variables. We will begin by discussing limits and continuity for functions
of two and three variables, then we will define derivatives of such
functions, and then we will use these derivatives to study tangent planes,
rates of change, slopes of surfaces, and maximization and minimization
problems. Although many of the basic ideas that we developed for
functions of one variable will carry over in a natural way, functions of
several variables are intrinsically more complicated than functions of one
variable, so we will need to develop new tools and new ideas to deal with
such functions.
38
3.2 FUNCTIONS Partial Derivatives and
Its Applications
Definition A function f of two variables, x and y, is a rule that assigns a
unique real number f(x, y) to each point (x, y) in some set D in the xy-
plane.
13.1.2 definition A function f of three variables, x, y, and z, is a rule that
assigns a unique real number f(x, y, z) to each point (x, y, z) in some set D
in three dimensional space.
Example 1 Let f(x, y) = + ln(x2 − y). Find f(e, 0) and sketch the
natural domain of f
sin x
The limit exists, but the function isn't defined at the point. y at
x
x = 0 is an example.
The limit exists and the function is defined at the point, but the
function output is different from the limit. The function
sin x
for x 0
f x x is an example.
2 for x 0
The latter two cases (where the limit exists as x approaches the point in
question) are called removable discontinuities.
To understand these last three points we need to start taking a look at the
concept of limit more precisely. What does it really mean when we say
that a function f is continuous at x = c if the values of f(x) approach f(c) as
x approaches c? What does it mean to approach c? How close to c does x
to get?
The concept of limit is the underpinning of calculus.
39
Calculus The informal definition or notation is lim L if the values of f(x) approach
x c
L as x approaches c.
We will look for trends in the values of f(x) as x gets closer to c but x c.
sin
Example 1: lim (Use radians.)
0
It appears from the graph that as approaches 0 from either side that the
sin
value of appears to approach __________. The actual value of
sin
when = 0 is __________.
Therefore the limits exists but the function is not continuous at =
0.While it appears that approaches 0 from either side that the value of
sin
lim 1 we are still very vague about what we mean by words like
0
We define lim f x to be the number L (if one exists) such that for every
x c
The following figure will help us with what this definition means:
40
When we say “f(x)” is close to L” we measure closeness by the distance Partial Derivatives and
between f(x) and L. f ( x ) L = Distance between f(x) and L. Its Applications
When we say “as close to L as we want,” we use the (the Greek letter
epsilon) to specify how close.
First, set the y-range to go from ymin = 0.99 to ymax = 1.01. (0.99 < y <
1.01)
Making sure that the graph does not leave the window through the top or
bottom (meaning it goes below 0.99 or above 1.01), change the range
symmetrically.
We must show how, given any > 0, that we can find a >0 such that
If x 3 and x 3 , then 2x 6 .
Since x c d then .
2
41
Calculus One- and Two-Sided Limits
x2
For example, with lim ,
x2 x 2
x 1 for x 1
f x 2 , lim f x doesn't exist.
x for x 1 x 1
x
g x
x
1
and h x arctan .
x
lim tan x ,
x
2
and lim ln x
x 0
don't exist because in each case, the outputs from the function
grow without bound.
3) The function does not settle down on a single value but oscillates
madly.
The function outputs fail to settle down on a single value, instead
oscillating madly.
1
A typical example is lim sin .
x0 x
A A x, y y, z , t A x, y, z, t
lim = slope of A in the y
y x , z ,t x , z ,t yconstant
0 y
direction
A A x, y , z z , t A x, y, z, t
lim = slope of A in the z
z x , y ,t x , y ,t zconstant
0 z
direction
A A x, y , z , t t A x, y , z , t
lim = the local time rate of
t x , y , z x , y ,ztconstant
0 t
change of A
43
Calculus The subscripts on the brackets indicate that those dimensions are held
constant.
Notice that the definition of a partial derivative of a multi-variable
function is the same as derivatives of functions of a single variable, but
with the other variables of the function being held constant. Whenever
you see the “backward-six” notation for the derivative, you should think
about what variable you are operating on, as indicated in the denominator
of the expression, while holding the other variables constant.
It is common convention that the directions being held constant are
implied and not explicitely written with subscripts.
f 2 f f 2 f f 2 f f 2 f
; ; ;
x x x 2 y y y 2 x y xy y x yx
2 f 2 f
The last two partial derivatives, and are called “mixed
xy yx
derivatives.” An important theorem of multi-variable calculus is the
mixed derivative theorem. The proof is beyond the scope of this course
and only the results are stated.
2 f 2 f
Example: For the function f x, y xy 2 exp x 2 y , show
xy yx
Answer Provided:
2 f f
xy x y x y
x 2 xy x
xy 2 exp x 2 y 2
exp x 2 y 2 y x 1 yx 2 exp x 2 y
2 f f 2
yx y x y x
xy 2 exp x 2 y 2y x1 yx expx y
y 2 xy exp x 2 y 2 2
y
44
3. Del operator: Partial Derivatives and
The del operator is a linear combination of spatial partial derivatives. In Its Applications
rectangular coordinates, it is expressed as
^ ^ ^
i j k (1)
x y z
ˆ ˆ ˆ ˆ
iˆ j kˆ i j k (2)
x y z x y z
x x
^ ^ ^
Example – Given a velocity vector u u i v j w k and the gradient of a
scalar function, as defined in equation (2), expand out u in
rectangular coordinates:
45
Calculus Answer provided: Using equation (10) from chapter 2,
^ ^ ^
ˆ ˆ
u u i v j w k iˆ j k u v w
x y z x y z
We took the dot product of the vector u with the vector . We could
have just as well taken the dot product of the vector u with the operator
and then applied that on the scalar function :
u u i v j w k x iˆ y ˆj z kˆ u x v y w z u x v y w z
^ ^ ^
.In other words, u u . This equality is only relavent when we
are operating on a scalar.
In this course, we will only take gradients of scalar functions. It is
possible to take gradients of vectors but you obtain a 9 element matrix
called the Dyadic product of the vector field, u x . For example, given the
^ ^ ^
vector u u i v j w k , the gradient of u is
u v w
x x x
u ^ u ^ u ^ u v w
u i j k
x y z y y y
u v w
z z z
2 2 2
f f f
f f f (3)
x y z
df f d
df ^
u f (4)
dt
To derive equation (4), parametrize the spatial curve,
^ ^ ^
xt i yt j z t k with respect to the variable t:
x
xt xo tu1 u1
t
y
y t y o tu 2 u2
t
47
Calculus z
z t z o tu 3 u3
t
Then, using the chain rule, we obtain equation (4):
df f x f y f z ^
f u
dt x t y t z t
df
u f
dt
The term on the right side of the equality is called the advective term and
is one of two contributions to the total or material derivative that we will
learn more about later in the semester. Often we are interested in
determining if there is any variation in the direction of flow. If one
obtain’s the result:
u f 0
We say that the function, f, is spatially constant along the flow field, u .
For example, if our scalar quantity is a time-independent pressure field,
p x, y, z , then the equation u p 0 , tells us that isobars are constant
along the flow field which also means that isobar contours are everywhere
parallel to the velocity vector field.
fg gf fg
u u u
2
0 0,0,0
u u u
ab b a a b
VIII. The curl of the cross product of a vector:
a b b a a b a b b a
a b a b b a a b b a
a a 2 a
In this lesson, we will need to use the Power Rule for rational exponents.
We will prove the Power Rule for rational exponents in Lesson 11. Recall
that we have proved the Power Rule for positive integers in Lesson 8 and
for negative integers in Lesson 9.
Recall:
n
am am/n
Examples Differentiate the following functions.
1. y 3 x2
2 1/ 3 2
y x 2 / 3 y x 1/ 3
3 3x
2
Answer: y
3 x1 / 3
1
2. f ( x)
x
1 3/ 2 1
f ( x ) x 1 / 2 f ( x ) x 3/ 2
2 2x
1
Answer: f ( x )
2x3/ 2
3u
3. h( u ) 5 5 u 7
4 u
3u
h( u ) 5u 7 / 5 =
u1/ 4
2/5 9 1/ 4
5u 7 / 5 3u 3 / 4 h(u ) 7u u
4
50
8 / 20 9 5 / 20 1 5 / 20 Partial Derivatives and
= 7u u = u ( 28u 13 / 20 9 ) = Its Applications
4 4
28u 13 / 20 9
4u 1 / 4
28u 13 / 20 9
Answer: h( u )
4u 1 / 4
4. s( t ) 4
t 3 t 3 3t 10
s( t ) t 3 / 4 ( t 3 3t 10 ) t 15 / 4 3t 7 / 4 10t 3 / 4
15 11 / 4 21 3 / 4 30 1 / 4
s ( t ) t t t =
4 4 4
3 1/ 4 3
t ( 5t 7 t 10 ) =
4
3 ( 5t 3 7 t 10 )
4t 1 / 4
3 ( 5t 3 7 t 10 )
Answer: s ( t )
4t 1 / 4
Theorem (The Chain Rule) If f and g are two differentiable functions
and k ( x ) ( f g ) ( x ) f ( g ( x ) ) , then
k ( x ) f ( g ( x ) ) g ( x ) .
k( x h ) k( x )
Proof By definition, k ( x ) lim .
h0 h
COMMENT: The Chain Rule tells us how to differentiate the
composition of two functions f and g. In this form of the Chain Rule,
you would have to identify both functions.
51
Calculus f ( 2x3 4x 2 3) ( 2 x 3 4 x 2 3 )10 .
= Thus,
y f ( g( x ) ) .
f ( x ) x10 f ( x ) 10 x 9 f ( g ( x ) ) =
f ( 2 x 3 4 x 2 3 ) =
10 ( 2 x 3 4 x 2 3 ) 9
g ( x ) 2 x 3 4 x 2 3 g ( x ) 6 x 2 8 x
3 2 9 2
Thus, y f ( g ( x ) ) g ( x ) = 10 ( 2 x 4 x 3 ) ( 6 x 8 x )
3 2 9 2
Answer: y 10 ( 2 x 4 x 3 ) ( 6 x 8 x )
dy dy du
.
dx du dx
dy
COMMENT: Since in the statement above, f ( g ( x ) ) and
du
du
g ( x ) , then this is the same statement of the Chain Rule given
dx
earlier. However, in this form you only have to identify the function g,
which is being called u. In the first statement of the Chain Rule given
above, you had to identify both the functions of f and g.
3 2 10
Example Differentiate y ( 2 x 4 x 3 ) using this form of the
Chain Rule.
dy
3
Let u 2 x 4 x 3 .
2
Then y u 10 . Thus, 10u 9 =
du
10 ( 2 x 3 4 x 2 3 ) 9 .
dy
NOTE: When you write the answer for the derivative , you say
du
10u 9 to
52
3 2 9
yourself (silently), but you write 10 ( 2 x 4 x 3 ) . Since Partial Derivatives and
dy dy du Its Applications
, then
dx du dx
du
y 10 ( 2 x 3 4 x 2 3 ) 9 ( 6 x 2 8 x ) since
6 x 2 8 x . With
dx
this form of the Chain Rule, we are back to writing down the answer for
the derivative of a function.
3 2 9 2
Answer: y 10 ( 2 x 4 x 3 ) ( 6 x 8 x )
1. f ( x ) ( 4x 3 2x 2 x 3 )3
3
Let big X = 4 x 2x2 x 3 . Thus, f ( x ) ( big X ) 3 . By
the Power Rule and the Chain Rule,
D x ( big X ) 3 3 ( big X ) 2 D x ( big X ) . In general, we have
f ( x ) ( 4x3 2x 2 x 3)3
f ( x ) 3 ( 4 x 3 2 x 2 x 3 ) 2 (12 x 2 4 x 1)
Answer: f ( x ) 3 ( 4 x 3 2 x 2 x 3 ) 2 (12 x 2 4 x 1)
53
Calculus y 3 ( 8 x 17 ) 5
2.
5
Let big X = 8 x 17 . Thus, y 3 ( big X ) . Then
6
y 3 ( 8 x 7 ) 5 y 15 ( 8 x 7 ) 8 =
120 ( 8 x 7 ) 6
6 120
Answer: y 120 ( 8 x 7 ) or y
( 8x 7 )6
3. g ( w ) ( 3w 2 2w ) 3 / 5
2
Let big W = 3w 2w . Thus, g ( w ) ( big W ) 3 / 5 . Then
3
g ( w ) ( big W ) 2 / 5 Dw ( big W ) . Thus,
5
g ( w ) ( 3w 2 2w ) 3 / 5
3
g ( w ) ( 3w 2 2w ) 2 / 5 ( 6w 2 )
5
3
Answer: g ( w ) ( 3w 2 2w ) 2 / 5 ( 6w 2 )
5
6
or g ( w ) ( 3w 2 2 w ) 2 / 5 ( 3w 1 )
5
6 ( 3w 1)
or g ( w )
5 ( 3w 2 2 w ) 2 / 5
5
4. s( t )
7 (4t 3t 3 t ) 4
5
5 5
First, we may write s ( t ) ( 4t 3t 3 t ) 4 .
7
5
Let big T = 4t
5
3t 3 t . Thus, s( t ) ( big T ) 4 .
7
54
Then Partial Derivatives and
Its Applications
20
s ( t ) ( big T ) 5 Dt ( big T ) . Thus,
7
5 5
s( t ) (4t 3t 3 t ) 4
7
20 5
s ( t ) (4t 3t 3 t ) 5 ( 20t 4 9t 2 1)
7
20 5
Answer: s ( t ) (4t 3t 3 t ) 5 ( 20t 4 9t 2 1)
7
20 ( 20t 4 9t 2 1)
or s ( t )
7 (4t 5 3t 3 t ) 5
3
5. f ( x)
x 15
1
Let big X = x 15 . Thus, f ( x ) 3 ( big X ) . Then
f ( x ) 3 ( x 15 ) 1
f ( x ) 3 ( x 15 ) 2 (1) = 3 ( x 15 ) 2
3
Answer: f ( x ) 3 ( x 15 ) 2 or f ( x )
( x 15 ) 2
21
6. g( x )
9 x 17
1
First, we may write g ( x ) 21( 9 x 17 ) .
1
Let big X = 9 x 17 . Thus, g ( x ) 21( big X ) . Then
g ( x ) 21( 9 x 17 ) 2 9 =
189 ( 9 x 17 ) 2
Answer:
189
g ( x ) 189 ( 9 x 17 ) 2 or g ( x )
( 9 x 17 ) 2
6
7. y
4t 2 3t 22
dy
6 ( big T ) 2 Dt ( big T ) . Thus,
dt
y 6 ( 4t 2 3t 22 ) 1
dy
6 ( 4t 2 3t 22 ) 2 ( 8t 3 )
dt
dy
Answer: 6 ( 4t 2 3t 22 ) 2 ( 8t 3 ) or
dt
dy 6 ( 8t 3 )
dt ( 4t 3t 22 ) 2
2
8. h( z ) 10 3 ( z 2 3z 18 ) 2
h( z ) 10 ( z 2 3 z 18 ) 2 / 3
2 2/3
Let big Z = z 3z 18 . Thus, h( z ) 10 ( big Z ) .
Then
20
h( z ) ( big Z ) 1 / 3 Dz ( big Z ) . Thus,
3
h( z ) 10 ( z 2 3z 18 ) 2 / 3
56
20 2 Partial Derivatives and
h( z ) ( z 3z 18 ) 1 / 3 ( 2 z 3 )
3 Its Applications
20 2
Answer: h( z ) ( z 3z 18 ) 1 / 3 ( 2 z 3 )
3
20 ( 2 z 3 )
or h( z )
3 ( z 2 3 z 18 )1 / 3
Since z 2 3z 18 ( z 6 ) ( z 3 ) ,then
20 ( 2 z 3 )
h( z )
3[ ( z 6 ) ( z 3 ) ]1 / 3
Sign of h( z ) : + +
3
6 3
2
NOTE: In Lesson 14, we conclude that the function h is
3
increasing on the interval 6 , ( 3 , ) and is
2
3
decreasing on the interval ( , 6 ) , 3 . There is
2
3
a local maximum occurring when x and since
2
h( z ) 10 3 ( z 6 ) 2 ( z 3 ) 2 , the local maximum is
2 2
3 3 12 3 6
h 10 3 =
2 2 2 2 2
2 2
9 9
10 3 =
2 2
2 2 4
9 9 9 9 36
10 3 = 10 3 = 45 3 = 45 3 =
2 2 2 2 8
45 3 36
. There is a local minimum occurring when x6
2
and since h( z ) 10 3
( z 6 ) 2 ( z 3 ) 2 , the local minimum
57
Calculus is h( 6 ) 0 . There is a local minimum occurring when
x3 and the local maximum is h( 3 ) 0 .
9. g( w) 9 w 85
g ( w ) ( 9w 85 )1 / 2
1
g ( w ) ( big W ) 1 / 2 Dw ( big W ) . Thus,
2
g ( w ) ( 9w 85 )1 / 2
1 9
g ( w ) ( 9 w 85 ) 1 / 2 9 = ( 9 w 85 ) 1 / 2
2 2
9
Answer: g ( w ) ( 9 w 85 ) 1 / 2 or
2
9
g ( w )
2 ( 9 w 85 )1 / 2
10. y ( 7 6 x )3 ( 8x 2 9 )5
NOTE: Dx ( 7 6 x ) 3 3 ( 7 6 x ) 2 ( 6 )
D x ( 8 x 2 9 ) 5 5 ( 8 x 2 9 ) 4 16 x
y 3 ( 7 6 x ) 2 ( 6 ) ( 8 x 2 9 ) 5 ( 7 6 x ) 3 5 ( 8 x 2 9 ) 4 16 x =
18 ( 7 6 x ) 2 ( 8 x 2 9 ) 5 80 x ( 7 6 x ) 3 ( 8 x 2 9 ) 4 =
58
2 ( 7 6 x ) 2 ( 8 x 2 9 ) 4 [ 9 ( 8 x 2 9 ) 40 x ( 7 6 x ) ] = Partial Derivatives and
Its Applications
2 ( 7 6 x ) 2 ( 8 x 2 9 ) 4 ( 72 x 2 81 280 x 240 x 2 ) =
2 2 4 2
or y 2 ( 7 6 x ) ( 8 x 9 ) ( 312 x 280 x 81)
( 2 z )2/3
11. y
4z 5
4
3x 2 5
12. h( x ) 3
8x
9
6
13. g( t ) t 5 3
t
14. y ( 3x 2 4 x ) ( x 2 5 x 3 ) 2
15. f ( w ) ( w 2 9 ) 8 (16 w 4 )
Dv f(a,b) =
For a real-valued function f(x,y) , the gradient of f , denoted by ∇f , is
the vector
∇f=(∂f/∂x,∂f/∂y)
In R2 . For a real-valued function f(x,y,z) , the gradient is the vector
∇f=(∂f/∂x,∂f/∂y,∂f/∂z)
59
Calculus 3.8 MAXIMA AND MINIMA
Let f(x,y)f(x,y) be a real-valued function, and let (a,b)(a,b) be a point in
the domain of ff. We say that ff has a local maximum at (a,b)
(a,b) if f(x,y)≤f(a,b)f(x,y)≤f(a,b) for all (x,y)(x,y) inside some disk of
positive radius centered at (a,b) (a,b), i.e. there is some sufficiently
small r>0r>0 such that f(x,y)≤f(a,b) for all (x,y) f(x,y)≤f (a,b) for all (x,y)
for which (x−a)2+(y−b)2<r2(x−a)2+(y−b)2<r2.
Likewise, we say that ff has a local minimum at (a,b) if f(x,y)>f(a,b) for
all (x,y)(a,b) if f(x,y)>f(a,b) for all (x,y) inside some disk of positive
radius centered at (a,b)(a,b).
If f(x,y)≤f(a,b) for all (x,y)f(x,y)≤f(a,b) for all (x,y) in the domain of ff,
then ff has a global maximum at (a,b)(a,b). If f(x,y)≥f(a,b) for all (x,y) in
the domain of f, then ff(x,y)≥f(a,b) for all (x,y) in the domain of f,
then f has a global minimum at (a,b)(a,b).
3.9 SUMMARY
This chapter mainly covers the basic concepts of partial derivatives.
3.10 EXERCISES
Find (a) the equation of the tangent line to the graph of the function
y ( 4 x 2 8x 3 ) 4 at the point ( 2 , 81) and (b) the point(s)
on the graph at which the tangent line is horizontal.
3.11 REFERENCES
Calculus: Early transcendental (10th Edition): Howard Anton, Irl
Bivens, Stephen Davis, John Wiley & sons, 2012.
60