Professional Documents
Culture Documents
Problems
1.1 Increasing and Decreasing Functions
if f 0 (x) > 0 for all x 2 (a; b), then f (x) is increasing on (a; b)
if f 0 (x) < 0 for all x 2 (a; b), then f (x) is decreasing on (a; b).
x 0 2
0
f + 0 - 0 +
f % & %
1
Example Let f (x) = x3 ; g(x) = x4 and h(x) = x1=3 . Examine the concavity
of the each function.
00
If f (x) = x3 , then f 0 (x) = 3x2 and f (x) = 6x: The only point at which
00
f (x) = 0 or is unde…ned (f 0 is not di¤erentiable) is at x = 0: If x < 0, then
00 00
f (x) < 0 so f is concave down. If x > 0, then f (x) > 0 so f is concave up.
00
If g(x) = x4 , then g 0 (x) = 4x3 and g (x) = 12x2 : The only point at which
00 00
g (x) = 0 or is unde…ned is at x = 0. If x < 0, then g (x) > 0 so g is concave
00
up. If x > 0, then g (x) > 0 so g is also concave up.
1 2=3 00 2 5=3 00
If h(x) = x1=3 , then h0 (x) =
x and h (x) = x . h is not
00
3 900
de…ned if x = 0, but h > 0 for negative numbers and h < 0 for positive
numbers. So h changes concavity at (0; 0):
Remark The points where f changes its concavity character is called the
in‡ection points. In other words, second derivative of the function changes
sign at the in‡ection points.
2
f has an absolute maximum value f (x0 ) at x0 if f (x0 ) f (x) for all x
in the domain of f:
ext
4 :pdf
Fig 1: Local and absolute extremums
Remarks
3
was extended to be the closed interval [0; 1] then g would have both a
maximum value, 1, and a minimum value, 0.
A function can have only one absolute maximum (or minimum) value.
However, a function can have several local maximum (or minimum)
values. (see Fig 1)
5 4
y y
4
3
3
2
2
1
1
0
-1.0 -0.5 0.0 0.5 1.0 0.5 0.6 0.7 0.8 0.9 1.0
x x
1 1 1
Fig. 2:y = on [ 1; 1] Fig. 3: y = on 2
;1
x2 x2
4
0
x0 is a singular point of f if f (x0 ) doesn’t exist.
We say that
x0 is a critical point of f if either
0 0
f (x0 ) = 0 or f (x0 ) doesn’t exist (x0 is a singular point of f ):
y 120
100
80
60
40
20
-4 -3 -2 -1 1 2 3 4
x
Fig. 4: y = x4 8x2
x2 + 1
Example 7 Find all critical points of f (x) = :
x2 x 6
Solution: Using quotient rule,
x2 + 14x 1
f 0 (x) = :
(x2 x 6)2
The derivative f 0 (x) doesn’t exist at x = 2 and x = 3: However these
are NOT singular and hence critical points since f is not de…ned at these
points. Recall that in order for a point to be a critical point the function
must actually be de…ned at that point!
p
f 0 (x) = 0 ) x2 + 14x 1 = 0 ) x = 7 5 2
p
The critical points are x = 7 5 2:
5
8
y
6
-5 -4 -3 -2 -1 1 2 3 4 5
-2 x
-4
-6
x2 + 1
Fig. 5: y =
x2 x 6
p3
Example 8 Find all critical points of f (x) = x2 (2x 1) :
y 2
-1.4 -1.2 -1.0 -0.8 -0.6 -0.4 -0.2 0.2 0.4 0.6 0.8 1.0 1.2 1.4
x
-2
-4
p
3
Fig. 6: y = x2 (2x 1)
Remark 9 Figures 4,5 and 6 suggest that a function can take its local ex-
tremum values only at critical points or endpoints.
6
Theorem 10 (Locating Extreme Values) If the function f is de…ned on
an interval I and has a local maximum (or local minimum) value at point
x = x0 in I, then x0 must be either a critical point of f or an endpoint of I:
y
20
10
-3 -2 -1 1 2 3
x
-10
-20
Fig. 7:y = x3
Example 12 Find the absolute maximum and minimum values of the func-
tion f (x) = x4 8x2 on the interval [ 4; 4] :
7
Theorem 10 tells us that a function can local extreme values only at
critical points or endpoints. But how can we decide whether a critical value
is a local maximum, local minimum or neither. The answer is in the next
theorem.
i) If there exists an open interval (a; b) containing x0 such that f 0 (x) > 0 on
(a; x0 ) and f 0 (x) < 0 on (x0 ; b), then f has a local maximum value at
x0 . (see Fig 8a)
ii) If there exists an open interval (a; b) containing x0 such that f 0 (x) < 0
on (a; x0 ) and f 0 (x) > 0 on (x0 ; b), then f has a local minimum value
at x0 . (see Fig 8b)
iii) If f 0 (x) doesn’t change sign at x0 ; then f has neither a maximum nor a
minimum value at x0 . (see Fig 8c)
8
Fig 8c: No max no min
Solution:
0
f (x) = 27 3x2 = 3(3 x)(3 + x) = 0 ) x = 3; x = 3:
CP CP
x
-3 3
0
f - 0 + 0 -
f & min % max &
0
f is negative on the left of 3; and positive on the right of 3: By First
0
Derivative Test, x = 3 is a local minimum. f is positive on the left of 3; and
negative on the right of 3: By First Derivative Test, x = 3 is a local minimum.
150
y
100
50
-6 -4 -2 2 4 6
-50
x
-100
-150
Fig. 9: y = 27x x3
Example 15 Find the local and absolute extreme values of f (x) = x4 4x3 +
5 on the interval [ 1; 4] :
9
Solution:
0
f (x) = 4x3 12x2 = 4x2 (x 3) = 0 ) x = 0; x = 3:
EP CP CP EP
x
-1 0 3 4
0
f - 0 - 0 +
f abs. max & no min or max & abs. and loc. min %
10
y
-1 1 2 3 4
x
-10
-20
Example 16 Find the local and absolute extreme values of f (x) = x + sin x
on the interval [0; 4 ] :
Solution:
0
f (x) = 1 + cos x = 0 ) x = (2n + 1) ; n 2 Z:
10
EP CP CP EP
x
0 3 4
0
f + 0 + 0 +
f abs. min % no min or max % no min or max % abs. max
From the table, f doesn’t have local extremum at the critical points
and 3 . The absolute maximum is 4 ; at x = 4 and the absolute minimum
is 0; at x = 0: (see Fig. 11)
y 15
10
0
0 2 4 6 8 10 12 14
x
Fig. 11: y = x + sin x
p
3
Example 17 Find the local and absolute extreme values of f (x) = x2 (2x 1)
on the interval [ 1; 1] :
EP CP CP EP
x
1 0 1=5 1
0
f + 0 - 0 +
f abs. min % loc. max & loc. min % abs. max
From the table, x = 0 is a local maximum and x = 1=5 is a local minimum.
The absolute maximum value of f is 1, at x = 1; and the absolute minimum
value is 3 at x = 1. (see Fig. 12)
11
1
y
-1.0 -0.8 -0.6 -0.4 -0.2 0.2 0.4 0.6 0.8 1.0
x
-1
-2
-3
p
3
Fig. 12: y = x2 (2x 1) on [ 1; 1]
0
Theorem 18 (The Second Derivative Test) Suppose that f (x0 ) = 0:
00
i) If f (x0 ) < 0; then x0 is a local maximum of f:
00
ii) If f (x0 ) > 0; then x0 is a local minimum of f:
00
iii) If f (x0 ) = 0; no conclusion can be drawn; f may have a local maximum
at x0 or a local minimum, or it may have an in‡ection point instead.
Remark 19 For many functions the second derivative is more complicated
to calculate than the …rst derivative, so the First Derivative Test is likely to be
of more use in classifying critical points than is the Second Derivative Test.
Also note that the First Derivative Test can classify local extreme values that
occur at singular points as well as at critical points where the …rst derivative
is 0.
Example 20 Find and classify local extreme values of f (x) = xex :
Solution:
0 00
f (x) = ex + xex = (x + 1) ex ; f (x) = ex + (x + 1) ex = (x + 2) ex :
0
We begin by …nding critical points. f doesn’t have singular points. f (x) = 0
implies x = 1 and the only critical point is x = 1: Using Second Derivative
00
Test, f ( 1) = e 1 > 0 implies x = 1 is a local minimum of f: We can also
use First Derivative Test:
CP
x
-1
0
f - 0 +
f & min %
From the table, x = 1 is a local minimum of f: (see Fig 13)
12
x
-10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0
0.0
y
-0.1
-0.2
-0.3
4
Example 21 Find and classify local extreme values of f (x) = x + :
x
Solution: We have
0 4 00 8
f (x) = 1 2
; f (x) = 3
x x
0
The derivative f exists except x = 0; but x = 0 is not in the domain of f:
So, x = 0 is not a critical point.
0 4
f (x) = 1 =0)x= 2
x2
00
The critical points are 2 and 2: Using Second Derivative Test, f ( 2) =
00
1 < 0 implies f has local maximum at x = 2 and f (2) = 1 > 0 implies
f has local minimum at x = 2: Similarly, we can use First Derivative Test
(do as an exercise).
10
y
-10 -8 -6 -4 -2 2 4 6 8 10
x
-5
-10
4
Fig 14: y = x +
x
13
Example 22 The functions
satisfy
0 00 0 00 0 00
f (0) = f (0) = 0; g (0) = g (0) = 0; h (0) = h (0) = 0:
However, f has a local minimum (Fig 15), g has a local maximum (Fig 16)
and h has neither a maximum nor a minimum (Fig 17) value at x = 0. This
00
example shows that if f (x0 ) = 0; no conclusion can be drawn in Second
Derivative Test.
y
1.0 x
-1.0 -0.5 0.0 0.5 1.0
y
0.5
-0.5
1.0
y
0.5
-1.0
Fig 17: y = x3
Practise Problems
1) Find and classify all local extreme values of the given functions.
i) f (x) = x3 3x 2
x
ii) f (x) =
x2 + 1
p
iii) f (x) = x 2 x2
14
iv) f (x) = x 2 sin x
ln x
v) f (x) =
x
2) Find absolute extreme values of the given functions on given intervals.
iv) Find the required extreme value of the function Q using the techniques
of previous section. Remember to consider any critical points and end-
points.
Example 23 Among all rectangles of given perimeter, show that the square
has the greatest area.
i) Maximize: Q = area = xy
15
iii) Eliminating y we have y = 12 (P 2x) (You can also eliminate x): Now
Q becomes a function of one variable x :
1 1
Q(x) = xy = x (P 2x) = P x x2 :
2 2
This is the function we will …nd the maximum. Our interval is 0 x
1
2
P because the width can’t be negative or greater than the half of the
perimeter.
iv)
0 1 P
Q (x) = P 2x = 0 ) x = :
2 4
P
The crtical point is x = 4 : At the endpoints x = 0 or x = P we have
Q = 0: So the maximum value comes from the critical point x = P4 :
If x = P4 then y = P4 and we have a square. The maximum area is
2
Q( P4 ) = P16 :
Solution:
i) Maximize: Q = xy
ii) Constraint: x + 2y = 500 (We are given 500 feet of fencing material)
Interval: [0; 250] (If there is no length i.e. x = 0; then y = 250: Also the
width can’t be negative i.e. y 0:)
16
iv)
0
Q (y) = 500 4y = 0 ) y = 125:
The crtical point is y = 125: At the endpoints y = 0 or y = 250 we have
Q = 0: So the maximum value comes from the critical point y = 125:
The maximum area is Q(125) = 31250 f t2 :
Example 25 We want to construct a box whose base length is 3 times the
base width. The material used to build the top and bottom cost $10=f t2 and
the material used to build the sides cost $6=f t2 . If the box must have a volume
of 50f t3 determine the dimensions that will minimize the cost to build the
box.
Solution:
17
The only critical point is w = 1:8821 and we now have to verify that this
is in fact the value that will give the absolute minimum cost.
00 1600
Q (w) = 120 + > 0 for w > 0;
w3
so the graph of Q will be concave up around w = 1:8821 and hence Q takes
its minimum at w = 1:8821 (see Fig 18). The minimum cost is Q (1:8821) =
$637:60 and the dimensions for this minimal cost are
50
w = 1:8821; h = = 4:7050; l = 3w = 5:6463:
3w2
y
2000
1000
-5 -4 -3 -2 -1 1 2 3 4 5
x
-1000
800
Fig 18: Q(w) = 60w2 + w
Solution:
i) Maximize: Q = lwh:
ii) Constraints: l = w and 10 = 2lw + 2lh + 2wh (the box has a square base
and we have 10m2 of material to use):
18
iii) We have l = w so 10 = 2lw + 2lh + 2wh implies 10 = 2w2 + 4wh
5 w2
and eliminating (solving) h gives h = : Now we have only one
2w
variable w and Q becomes
5 w2 1
Q(w) = lwh = w = 5w w3 :
2 2
iv) r
0 1 2 5
Q (w) = 5 3w = 0 ) w = = 1:2910:
2 3
We can ignore the negative critical point since w > 0:Now, as noted
in the previous example we got a single critical point, 1:2910, and so
this must be the value that gives the maximum volume (see the table
below).
EP CP
w
0 1:2910
0
f + 0 -
f % abs max &
19
iv) r
0 3000 4 r3 3000 3 750
Q (r) = 4 r = =0)r= = 6:2035:
r2 r2
The only critical point is r = 6:2035: We have
00 6000
Q (r) = 4 + > 0 for r > 0;
r3
so the graph of Q will be concave up around r = 6:2035 and hence Q
takes its minimum at r = 6:2035: For the minimum material (or surface
area) the dimensions are
1500
r = 6:2035; h = = 12:4070:
r2
Solution: Let the height of the box be h: So, the width/length of the
corners being cut out is also h and so the vertical side will have a “new”
height of 10 2h and the horizontal side will have a “new”width of 14 2h
(see Fig 19).
20
i) Maximize: Q = V olume = h (10 2h) (14 2h) = 140h 48h2 + 4h3 :
iii) No need to eliminate since we have only one variable. The interval is
0 h 5 because the height 10 2h 0 and the width 14 2h 0:
iv)
p
0 2 12 39
Q (x) = 140 96h+12h = 0 ) h = ) h = 1:9183; h = 6:0817:
3
We can ignore the second critical value since the interval is 0 h 5:
So, the only critical value is 1:9183:Finally, since Q is de…ned and
continuous on 0 h 5 all we need to do is plug in the critical points
and endpoints into Q to determine which gives the largest volume.
Example 29 A window is being built and the bottom is a rectangle and the
top is a semicircle. If there is 12 meters of framing materials what must the
dimensions of the window be to let in the most light?
21
ii) Constraint: perimeter = 2h + 2r + r = 12
1
iii) Eliminating h we have h = 2
(12 2r r) : Now we have only one
variable r and Q becomes
1 2 1 2 1
Q(r) = 2hr + r = (12 2r r) r + r = 12r 2+ r2 :
2 2 2
iv)
0 12
Q (r) = 12 (4 + ) r = 0 ) r = = 1:6803:
4+
00
The only critical value is 1:6803: We have Q (r) = (4 + ) < 0 so
we can see that the maximum area must occur at this point. The
dimensions of the window be to let in the most light are
1
r = 1:6803; h = (12 2r r) = 3:3606:
2
Example 30 Determine the area of the largest rectangle that can be inscribed
in a circle of radius 4.
Solution: It’s easiest to assume that the circle (and hence the rectangle)
is centered at the origin of a standard xy axis system. Doing this we know
that the equation of the circle will be x2 + y 2 = 16 and that the right upper
corner of the rectangle will have the coordinates (x; y) : This means that the
width of the rectangle will be 2x and the height of the rectangle will be 2y
as shown below
22
i) Maximize: Area of rectangle = Q = (2x) (2y) = 4xy
iv)
0 p 2x 64 8x2
Q (x) = 4 16 x2 + 4x p =p :
2 16 x2 16 x2
p
The singular points are x = 2 2 (makes the derivative zero) and x =
4 (singular points). We only want critical points that are in the interval
0p x 4 so that means that we have two critical points to deal with
2 2 and 4: Notice however that the second critical point is also one of the
endpoints of our interval. Now, Q is continuous on [0; 4] and all we need
23
to do is plug in the critical points and endpoints into Q to determine which
gives the largest area.
p
Q(0) = 0; Q(2 2) = 32; Q(4) = 0:
p
So, we can see that we’ll getpthe maximum p area if x = 2 2 and and the
corresponding value of y is y = 16 x2 = 2 2: It looks like the maximum
area will be found if the inscribed rectangle is in fact a square.
Example 31 Find the shortest distance from the point (8; 1) to the curve
y = 1 + x3=2 :
Solution:
y 12
10
0 1 2 3 4 5
x
Fig 21: y = 1 + x3=2
Let P = (x; y) be the closest point on the curve y = 1 + x3=2 to the point
(8; 1) : The distance between P = (x; y) and (8; 1) is
q
D = (8 x)2 + (1 y)2
24
Interval: we don’t have a bounded interval of x: Our interval is in fact the
domain of the function y = 1 + x3=2 ; [0; 1): (see Fig 21) So we are looking
for the absolute minimum of Q(x) on [0; 1):
iv)
0 8
Q (x) = 3x2 + 2x 16 = 0 ) x = 2; x = :
3
8
The critical points are 2 and 3
: Only x = 2 is in our interval.
EP CP
x
0 2
0
f - 0 +
f & abs min %
From the table we see that we have the absolute minimum at x = 2:
The corresponding value of y is y = 1+23=2 = 3: 828 4:The closest point
is P = (2; 3: 828 4) : The shortest distance is
p p
D(2) = Q(2) = 44:
Example 32 Find the shortest distance from the origin to the curve x2 y 4 =
1:
i) Minimize: Q = D2 = x2 + y 2 :
ii) Constraint: x2 y 4 = 1:
25
iv)
0 4 p
6
Q (y) = + 2y = 0 ) y = 2:
y5
p
6
The critical points are y = 2: (Note that y = 0 is not a critical point)
CP
p CP
p
y 6 6 0
2 2
0
f - 0 + - 0 +
f & loc min % 1 & loc min %
p
From the table Q(y) has local minimum at y = 6 2: Note that we included
the point y = 0 not because it is a critical point but because the sign of the
0
derivative Q (y) changes around 0: Note also that
and that our local minumums are also absolute maximums. (see Fig 22)
y 24
22
20
18
16
14
12
10
8
6
4
-5 -4 -3 -2 -1 0 1 2 3 4 5
x
1
Fig 22:y = x4
+ x2
26
Example 33 You are standing at the edge of a slow-moving river which is
one mile wide and wish to return to your campground on the opposite side
of the river. You can swim at 2 km=h and walk at 3 km=h. You must …rst
swim across the river to any point on the opposite bank. From there walk to
the campground, which is one mile from the point directly across the river
from where you start your swim. What route will take the least amount of
time ?
Solution:
D = RT
so that time elapsed is
D
T = :
R
We want to minimize the total TIME elapsed:
27
T = (swim time) + (walk time)
= (swim distance)=(swim rate) + (walk distance)=(walk rate)
p
1 + x2 1 x
= + :
2 3
Taking derivative
p
0 x 1 3x 2 1 + x2
T (x) = p = p
2 1 + x2 3 6 1 + x2
and the critical points are the roots of the equation
0 x 1 p
T (x) = p = 0 ) 3x 2 1 + x2 = 0
2 1 + x2 3
) 9x2 = 4 1 + x2
4
) x2 =
5
2
) x= p 0:89
5
x = p25 are the critical points. Since 0 x 1 (see Fig 23) we ignore
the negative critical point.
EP CP EP
y p2
0 5
1
0
f - 0 +
f & loc min %
28
3) The sum of two nonnegative numbers is 10. What is the smallest value
of the sum of the cube of one number and the square of the other? (Ans:
71:45)
4) Among all rectangles of given area, show that the square has the least
perimeter.
5) Among all isosceles triangles of given perimeter, show that the equi-
lateral triangle has the greatest area.
6) Find the area of the largest rectangle that can be inscribed in a semi-
circle of radius R if one side of the rectangle lies along the diameter of the
semicircle. (Ans: R2 )
7) A rectangle with sides parallel to the coordinate axes is inscribed in
the ellipse
x2 y 2
+ 2 = 1:
a2 b
Find the largest possible area for this rectangle. (Ans: 2ab)
8) A billboard is to be made with 100 m2 of printed area and with margins
of 2 m at the top and bottom and 4 m on each side. Find the outside
dimensions
p of the billboard p if its total area is to be a minimum. (Ans: width
8 + 10 2 m, height 4 + 5 2 m)
9) What is the length of the shortest line segment having one end on
the p
x-axis, the other
p end on the y-axis, and passing through the point
9; 3 ? (Ans: 8 3)
10) Find the dimensions of the largest right-circular cylinder
q that can be
2R
inscribed in a sphere of radius R. (Ans: height p 3
; radius 23 R)
11) A box with square base and no top has a volume of 4 m3 . Find the
dimensions of the most economical box. (Ans: base 2 m 2 m; height 1 m)
12) We are going to fence in a rectangular …eld. If we look at the …eld
from above the cost of the vertical sides are $10=f t, the cost of the bottom
is $2=f t and the cost of the top is $7=f t. If we have $700 determine the
dimensions of the …eld that will maximize the enclosed area. (Ans: lenght
350
9
, width 35
2
)
2
13) Find the
q point(s) on the curve
q x = 3 2y that are closest to ( 4; 0) :
15 27 15 27
(Ans: 4
; 8
and 4
; 8
)
14) A line through the point (2; 5) forms a right-triangle with the x-axis
and y-axis in the 1st quadrant. Determine the equation of the line that will
minimize the area of this triangle. (Ans: y = 52 x + 10 )
29
References
[1] Adams, R. A. and Essex, C., Calculus: A complete course, 9th Edition,
Pearson Canada, 2018.
30