OMAT Lecture5
OMAT Lecture5
OMAT Lecture5
AM
PH
Duong T. PHAM
T.
g. OMAT
on
Du
Duong T. PHAM 1 / 23
The goals for this lecture
AM
Apply the first and the second derivatives to find Maximum and
Minimum
PH
T.
Find Maximum and Minimum over an Interval
g.
Calculate Maximum-Minimum values in Business and Economics
on
Applications
Du
Duong T. PHAM 2 / 23
Derivative and shape of a graph
Increasing and decreasing Test: Let f : (a, b) → R be a differentiable
function.
1 If f 0 (x) > 0, ∀x ∈ (a, b), then f is increasing in (a, b).
AM
2 If f 0 (x) < 0, ∀x ∈ (a, b), then f is decreasing in (a, b).
PH
y
T.
g. y = f (x)
on
Du
a b c d e x
Duong T. PHAM 3 / 23
Increasing and decreasing Test
AM
Ans: f 0 (x) = 12x 3 − 12x 2 − 24x = 12x(x − 2)(x + 1)
PH
=⇒ f 0 (x) = 0 ⇐⇒ x = −1 ∨ x = 0 ∨ x = 2
T.
x −∞ −1 0 2 ∞
x −2
g.− | − | − 0 +
on
x − | − 0 + | +
Du
x +1 − 0 + | + | +
f 0 (x) − 0 + 0 − 0 +
f (x) & 0 % 5 & −27 %
Duong T. PHAM 4 / 23
Increasing and decreasing Test
AM
2
−1 0 x
PH
y = 3x 4 − 4x 3 − 12x 2 + 5
T.
g.
on
Du
Duong T. PHAM 5 / 23
The First derivative Test: Suppose that c is a critical number of a
continuous function f .
(i) If f 0 changes from positive to negative at c, then f has a local
maximum at c.
(ii) If f 0 changes from negative to positive at c, then f has a local
AM
minimum at c.
(iii) If f 0 does not change sign at c (for example, if f 0 is positive on
PH
both sides of c or negative on both sides), then f has no local
maximum or minimum at c.
T.
y y y y
g. f0 < 0
on
f0 > 0
Du
c x c x c x c x
local minimum local maximum no local min. or max.
no local min. or max
Duong T. PHAM 6 / 23
The first derivative Test
Ex: Find the local minimum and maximum values of the function f (x) =
3x 4 − 4x 3 − 12x 2 + 5
AM
Ans: f 0 (x) = 12x 3 − 12x 2 − 24x = 12x(x − 2)(x + 1)
=⇒ f 0 (x) = 0 ⇐⇒ x = −1 ∨ x = 0 ∨ x = 2
PH
x −∞ −1 0 2 ∞
T.
x −2 − | − | − 0 +
x g.− | − 0 + | +
x +1 − 0 + | + | +
on
f 0 (x) − 0 + 0 − 0 +
Du
Duong T. PHAM 7 / 23
The first derivative Test
AM
2
−1 0 x
PH
y = 3x 4 − 4x 3 − 12x 2 + 5
T.
g.
on
Du
Duong T. PHAM 8 / 23
Definition.
Let f : I → R.
If the graph of f lies above all of its tangent lines, then f is said to be
convex on I
AM
If the graph of f lies below all of its tangent lines, then f is said to be
concave on I
PH
y y
T.
g.
on
Du
x x
convex concave
Duong T. PHAM 9 / 23
Concavity Test
Concavity Test: Let f : I → R. Then
(a) If f 00 (x) > 0 ∀x ∈ I , then the graph of f is convex on I .
(b) If f 00 (x) < 0 ∀x ∈ I , then the graph of f is concave on I .
AM
Discussion:
PH
f 00 (x) > 0 for all x ∈ I =⇒ f 0 (x) is increasing on I
f 00 (x < 0) for all x ∈ I =⇒ f 0 (x) is decreasing on I
T.
y y
g.
on
Du
x x
f 0 increases → convex f 0 decreases → concave
Duong T. PHAM 10 / 23
Inflection Point
Definition.
A point P on a curve y = f (x) is called an inflection point if f is
AM
continuous there and the curve changes from convex to concave or from
concave to convex at P
PH
y y
T.
g.
on
(c, f (c)) (c, f (c))
Du
x x
AM
The second derivative Test: Let f be a function such that f 00 is contin-
PH
uous near c. Then
(a) If f 0 (c) = 0 and f 00 (c) > 0, then f has a local minimum at c,
T.
(b) If f 0 (c) = 0 and f 00 (c) < 0, then f has a local maximum at c.
g.
on
Du
Duong T. PHAM 12 / 23
The second derivative Test
Ex: Discuss the concavity, inflection points, local maxima and local min-
ima of the curve y = x 4 − 4x 3 .
AM
f 0 (x) = 4x 3 − 12x 2 = 4x 2 (x − 3)
PH
f 00 (x) = 12x 2 − 24x = 12x(x − 2)
T.
x 0
g. 2 3
x2 + 0 + | + | +
on
x −3 − | − | − 0 +
Du
x −2 − | − 0 + | +
f 0 (x) − 0 − | − 0 +
f 00 (x) + 0 − 0 + | +
f (x) & 0 & −16 & −27 %
convex infl.p. concave infl.p. convex local min. convex
Duong T. PHAM 13 / 23
The second derivative Test
y
AM
inflection point 2 3
0 x
PH
T.
g.
on
−16 inflection point
Du
−27
local min.
Duong T. PHAM 14 / 23
Finding absolute minimum and absolute maximum
The closed interval method: Let f : [a, b] → R be a continuous function. To
find the absolute max. and absolute min. of f , we follows the steps:
1 Find the values of f at critical numbers of f in (a, b);
AM
2 Find the values f (a) and f (b);
PH
3 The largest number in steps 1 and 2 is the absolute maximum value of f ,
and the smallest number in steps 1 and 2 is the absolute minimum of f .
T.
Ex: Find abs. max. and abs. min. of f (x) = 2x 3 − 9x 2 + 12x + 2 in [0, 3]
Ans: f 0 (x) = 6x 2 − 18x + 12 = 6(x 2 − 3x + 2)
g.
on
1 f 0 (x) = 0 ⇐⇒ x = 1 or x = 2, and f (1) = 7, f (2) = 6
Du
Duong T. PHAM 15 / 23
The closed interval method
y
y = 2x 3 − 9x 2 + 12x + 5
AM
11
PH
T.
7
6
g.
on
Du
0 1 2 3 x
Duong T. PHAM 16 / 23
Cost, Revenue & Profit
AM
The manufacturer also determines that the total cost of producing x units
is given by C (x) = 3, 000 + 20x.
PH
a) Find the total revenue R(x).
T.
b) Find the total profit P(x).
g.
c) How many units must the company produce and sell in order to
on
maximize profit?
Du
Duong T. PHAM 17 / 23
Cost, Revenue & Profit
Example. Price: p(x) = 1, 000 − x; Cost: C (x) = 3, 000 + 2x
a) Revenue = quantity · price
AM
R(x) = x · p(x) = x(1000 − x) = 1000x − x 2 .
PH
b) Profit = Total Revenue - Total Cost
T.
c) Maximize the profit. We have P 0 (x) = −2x + 980.
g.
on
P 0 (x) = 0 ⇐⇒ −2x + 980 = 0 ⇐⇒ x = 490
Du
x −∞ 490 ∞
P 0 (x) + 0 -
P(x) % 237100 &
Thus, profit is maximized when 490 units are bought and sold.
Duong T. PHAM 18 / 23
Cost, Revenue & Profit
x −∞ 490 ∞
P 0 (x) + 0 -
P(x) % 237100 &
AM
Example (continued).
PH
d) The maximum profit is given by
T.
Thus, the stereo manufacturer makes a maximum profit of $237,100 when
g.
490 units are bought and sold
on
Du
e) What price per unit must be charged in order to make this maximum
profit?
The price per unit to achieve this maximum profit is
Duong T. PHAM 19 / 23
Maximizing Revenue
Example. Promoters of international fund-raising concerts must walk a
fine line between profit and loss, especially when determining the price to
charge for admission to closed-circuit TV showings in local theaters . By
AM
keeping records, a theater determines that, at an admission price of $26, it
averages 1000 people in attendance. For every drop in price of $1, it gains
PH
50 customers. Each customer spends average of $4 on concessions. What
admission price should the theater charge in order to maximize total
T.
revenue?
Ans. Denote x = the number of dollars by which the price of $26 should
g.
be decreased (if x is negative, the price should be increased).
on
Du
Duong T. PHAM 20 / 23
Maximizing Revenue
AM
R 0 (x) = 0 ⇐⇒ −100x + 500 = 0 ⇐⇒ x = 5
PH
−∞ ∞
T.
x 5
R 0 (x) + 0 -
R(x)
g. % 31250 &
on
Du
Duong T. PHAM 21 / 23
Demand & Revenue
Example. A swimming club offers memberships at the rate of $200,
provided that a minimum of 100 people join. For each member in excess of
100, the membership fee will be reduced $1 per person (for each member).
AM
At most 160 memberships will be sold. How many memberships should
the club try to sell in order to maximize its revenue?
PH
Ans. We consider the price function p = p(x). Since a minimum of 100
people is supposed to join, we only consider when x ≥ 100. At most 160
T.
memberships will be sold then x ≤ 160. Hence, 100 ≤ x ≤ 160.
We have p(100) = 200.g.
For each member in excess of 100, the membership fee will be
on
reduced $1 per person (for each member) =⇒ x increases 1 unit, y
Du
AM
R(x) = x · p(x) = x(−x + 300) = −x 2 + 300x.
PH
=⇒ R 0 (x) = −2x + 300.
T.
Consider R 0 (x) = 0 ⇐⇒ −2x + 300 = 0 ⇐⇒ x = 150
x −∞
g. 150 ∞
on
R 0 (x) + 0 -
Du
Duong T. PHAM 23 / 23