BC1 Week 8-Module
BC1 Week 8-Module
Content Standards
Performance Standards
The learner shall be able to formulate and solve accurately situational problems involving extreme
values.
Lesson Presentation
Terminologies
• Mathematical modeling - is the art of translating problems from an application area into tractable
mathematical formulations whose theoretical and numerical analysis provides insight, answers, and
guidance useful for the originating application.
• Critical point - is an interior point in the domain of a function at which 𝑓 ′ (𝑥) = 0 or f ' does not exist.
So, the only possible candidates for the X-coordinate of an extreme point are the critical points and the
endpoints.
• Optimization - consists of maximizing or minimizing a real function by systematically choosing input
values from within an allowed set and computing the value of the function.
Many problems consist of “optimizing” a function that is, finding its maximum values. For example, you may
want to maximize your profit or minimize the time required to do a task. If you could express your happiness
as a function, you would want to maximize it. One of the principal uses of calculus is that it provides a very
general technique for optimization.
We will concentrate on applications of optimization. Accordingly, we will optimize continuous functions that
are defined on closed intervals (that is, intervals containing both endpoints,𝑎 ≤ 𝑥 ≤ 𝑏), or that have only
one critical value in an interval. Most applications fall into these two categories and the wide range of
examples and exercises in these sections will demonstrate the power of these techniques.
The absolute maximum value of a function is the largest value of the function on its domain. Similarly, the
absolute minimum value of a function is the smallest value of the function on its domain. On a graph we set
𝑦 = 𝑓(𝑥), so the maximum and minimum values of 𝑓(𝑥) are the y-coordinates of the highest and lowest
b. Evaluate the function at these critical values and at the endpoints 𝑥 = 𝑎 and𝑥 = 𝑏
The largest and smallest of the values found in step (𝑏)are the absolute maximum and absolute minimum
values of 𝑓(𝑥)on𝑎 ≤ 𝑥 ≤ 𝑏.
points. The term absolute extreme values will mean the absolute maximum and absolute minimum values.
Example 1: Find the absolute extreme values of 𝑓(𝑥) = 𝑥 4 + 4𝑥 3 − 20𝑥 2 𝑜𝑛[−1, 4] Solution: The function is
continuous (since it is a polynomial), and the interval is closed, so both extreme values exist.
from the 4𝑥
= 4𝑥(𝑥 + 5)(𝑥 − 2)
𝑥=0
Critical Value {𝑥 = −5
𝑥=2
The problem states the domain as [−1, 4], so we eliminate the critical value 𝑥 = −5 since it is not in the
domain. We evaluate 𝑓(𝑥) = 𝑥 4 + 4𝑥 3 − 20𝑥 2 at the remaining critical values (CV) and at the endpoints
(EP).
𝑥 = 0 𝑓(0) = 0
C𝑉{
𝑥 = 2 𝑓(2) = 16 + 4 ∙ 8 − 20 ∙ 4 = −32 ← 𝑠𝑚𝑎𝑙𝑙𝑒𝑠𝑡
𝑥 = −1 𝑓(−1) = 1 − 4 − 20 = −23
EP{
𝑥 = 4 𝑓(4) = 256 + 4 ∙ 64 − 20 ∙ 16 = 192 ← 𝑙𝑎𝑟𝑔𝑒𝑠𝑡
The largest (192) and the smallest (−32) of these resulting values are the maximum and minimum of the
function.
Answer: The maximum value of 𝑓(𝑥) is 192 (which occurs at 𝑥 = 4). The minimum value of 𝑓(𝑥) is −32
(which occurs at 𝑥 = 2)
Maximizing Profit
Many management problems involve maximizing profit. Such problems have only three economic ingredients.
The first is that profit equals revenue minus cost.
The second ingredient is that revenue equals price times quantity. For example, if a company sell 100 toasters
for $25 each, the revenue will obviously be 25∙ 100 = $2500.
The third economic ingredient reflects the fact that, in general, price and quantity are inversely related:
increasing the price decreases sales, while decreasing the price increases sales.
The equation relating the price p and the quantity x that consumers will demand at that price is called the
demand equation. If this equation is solved for price, the resulting function 𝑝(𝑥) is called the price function,
since it gives the price at which consumers will buy exactly x units of the product.
Price Functions
The price function 𝑝(𝑥) gives the price at which consumers will buy exactly x units of a product. In actual
practice, price functions are very difficult to determine, requiring extensive (and expensive) market research.
In this section we will be given the price function. In this lesson we will see how to construct them, at least in
simple cases.
Example 2: It cost the American Automobile Company $5000 to produce each automobile, and fixed costs
(rent and other costs that do not depend on the amount of production) are $20,000 per week. The company’s
price function is 𝑝 = 19,000 − 70𝑥, where p is the price at which exactly x cars will be sold.
Solution: Revenue is price times quantity, 𝑅 = 𝑝 ∙ 𝑥. To express the revenue function as a function of just
one variable, we use the price function 𝑝 = 19,000 − 70𝑥 to replace p by 19,000 − 70𝑥, giving.
Cost is the cost per car ($5000) times the number of cars (x) plus the fixed cost ($20,000).
−14,000
𝑥 = = 100 𝑜𝑛𝑙𝑦𝑜𝑛𝑒𝑐𝑟𝑖𝑡𝑖𝑐𝑎𝑙𝑣𝑎𝑙𝑢𝑒
−140
(If the second derivative had involved x, we would have substituted the critical value 𝑥 = 100.) Since x is the
number of cars, the company should produce 100 cars per week (the time period stated in the problem).
Answer: The company should make 100 cars per week and sell them for $12,000 each. The maximum profit
will be $680,000.
Maximizing or minimizing some function relative to some set, often representing a range of choices available
in a certain situation. The function allows comparison of the different choice-s for determining which might be
“best.” Common applications: Minimal cost, maximal profit, minimal error, optimal design, optimal
management, variational principles.
A Classic Problem
1. You have 40 feet of fence to enclose a rectangular garden along the side of a barn. What is the
maximum area that you can enclose?
𝑤 = 𝑥 𝐴 = 10(40 − 2 ∙ 10)
𝑙 = 40 − 2𝑥 𝐴 = 10(20)
𝐴 = 200 𝑓𝑡 2
𝐴 = 𝑥(40 − 2𝑥)
𝐴 = 40𝑥 − 2𝑥2
𝐴′ = 40 − 40𝑥 𝑡ℎ𝑒𝑟𝑒𝑓𝑜𝑟𝑒,
0 = 40 − 4𝑥 𝑤 = 10𝑓𝑡𝑎𝑛𝑑𝑙 = 20𝑓𝑡.
4𝑥 = 40
𝑥 = 10
Basic Calculus Page 5 of 20
Optimization Week 8
40 – 2𝑥
𝐴 = 2𝜋𝑟 2 + 2𝜋𝑟ℎ
2𝜋𝑟 2 ℎ → 𝑎𝑟𝑒𝑎𝑜𝑓𝑒𝑛𝑑𝑠
2𝜋𝑟ℎ → 𝑙𝑎𝑡𝑒𝑟𝑎𝑙𝑎𝑟𝑒𝑎
Example 1: What dimensions for a one liter cylindrical can will use the least amount of material?
therefore,
1000
=ℎ
We need another equation that relates r and h: 𝜋𝑟 2
𝑉 = 𝜋𝑟 2 ℎ 1000
=ℎ
𝜋(5.42)2
(1 𝐿 = 1000 𝑐𝑚3 )
ℎ = 10.38
1000 = 𝜋𝑟 2 ℎ
1000
=ℎ
𝜋𝑟 2
1000
𝐴 = 2𝜋𝑟 2 + 2𝜋𝑟 ∙
𝜋𝑟 2
2000
𝐴 = 2𝜋𝑟 2 +
𝑟
2000
𝐴′ = 4𝜋𝑟 −
𝑟2
2000
0 = 4𝜋𝑟 −
𝑟2
2000
= 4𝜋𝑟
𝑟2
2000 = 4𝜋𝑟 3
3 500
𝑟=√
𝜋
𝑟 = 5.42 𝑐𝑚
Example 2: A manufacturer wants to design an open box having a square base and a surface area of 108 in2.
The surface area=the area of the base + the area of the 4 sides.
To do this, solve
𝑥 2 + 4𝑥ℎ = 108𝑓𝑜𝑟 ℎ.
Solutions:
𝑆. 𝐴. = 𝑥 2 + 4𝑥ℎ = 108
108−𝑥 2
ℎ= → Substitute this into the Volume equation.
4𝑥
108 − 𝑥 2 𝑥3
𝑉 = 𝑥2ℎ = 𝑥2 ( ) = 27𝑥 −
4𝑥 4
𝑑𝑣 3𝑥 2
= 27 − =0 3𝑥 2 = 108 Critical numbers: ±6
𝑑𝑥 4
We can conclude that V is a maximum when 𝑥 = 6 and the dimensions of the box are 6 𝑖𝑛 × 6 𝑖𝑛 × 3 𝑖𝑛
Example 3: A rectangular box is to be made from a piece of cardboard 24 cm long and 9 cm wide by cutting
out identical squares from the four corners and turning up the sides. Find the volume of the largest
rectangular box that can be formed.
Solution:
Let s be the length of the side of the squares to be cut out, and imagine the “flaps” being turned up to form
the box. The length, width and height of the box would then be 24 − 2𝑠, 9 − 2𝑠, and s, respectively.
Therefore, the volume of the box is 𝑉 (𝑠) = (24 − 2𝑠) (9 − 2𝑠) 𝑠 = 2(108𝑠 − 33𝑠 2 + 2𝑠 3 ).
s 0 2 4.5
V(s) 0 200 0
We now compare the functional values at the endpoints and at the critical points:
Therefore, from the table, we see that V attains its maximum at 𝑠 = 2, and the maximum volume is equal to
𝑉 (2) = 200 𝑐𝑚3 .
Terminologies
✓ Chain rule - is a formula for computing the derivative of the composition of two or more functions.
✓ Higher Order Derivatives - The derivative is “the rate of change of function at a specified point”. The
derivative of the function 𝑓 (𝑥) with respect to x at the point 𝑥0 is the function 𝑓 ′ (𝑥0 ), which is given
below: The derivatives other than the first derivative are called the higher order derivatives.
✓ Composite function – The composition of two functions f and g is the function 𝑓(𝑔(𝑥)).
✓ Differentiation - process of finding the derivative, or rate of change, of a function.
Repeated Differentiation
We have seen that from one function we can calculate a new function, the derivative of the original function.
This new function, however, can itself be differentiated, giving what is called the second derivative of the
original function. Differentiating again gives the third derivative of the original function, and so on.
This is again another differentiable function. We call f” and its subsequent derivatives the higher-order
derivatives off. Like f’, which we interpret as the slope of the tangent line, the function f” will have an
interpretation on the graph of f (This will be a lesson in college). It also has an important interpretation in
physics if f denotes the displacement of a particle. For now, this lesson will reinforce our skills in
differentiating functions.
Now this function can itself be differentiated, giving the second derivative of the original function, indicated by
two primes on the f,
𝑓 ′′′′(𝑥) = 0
The prime notation rapidly becomes awkward for highest derivatives. For example, the
tenth derivative would require 10 primes.
Instead, we may replace the primes with the number of derivatives in parentheses. For
example, the tenth derivatives are written 𝑓 (10) (𝑥). The parentheses around the 10 are
important, for without the would mean an the tenth power instead of the tenth derivative.
1
Example 2: Calculate the first five derivatives of the rational function 𝑓(𝑥) = 𝑥.
Solution:
𝑑 𝑑 𝑑 𝑑2
In the 𝑑𝑥notation, the second derivative ( 𝑑𝑥 𝑓(𝑥)) is written 𝑓(𝑥).
𝑑𝑥 𝑑𝑥 2
𝑑3
𝑓′′′(𝑥) 𝑓(𝑥)
𝑑𝑥 3
𝑑𝑛
𝑓(𝑥)
𝑓 (𝑛) (𝑥) 𝑑𝑥 𝑛
𝑑𝑛 𝑛𝑡ℎ𝑑𝑒𝑟𝑖𝑣𝑎𝑡𝑖𝑣𝑒
𝑦 (𝑛) 𝑑𝑥 𝑛
Note that in Leibniz’s notation the superscript comes after the d on the top and after the x on the bottom.
Calculating Higher derivatives merely require repeated use of the differentiation rules.
𝑑2 𝑥 2 +1
Example 3: Find 𝑑𝑥 2 ( )
𝑥
𝑑 𝑥 2 +1 𝑥(2𝑥)−(𝑥 2 +1)
Solution: ( )= the 1st derivative, using the quotient rule
𝑑𝑥 𝑥 𝑥2
2𝑥 2 −𝑥 2 −1 𝑥 2 +1
= 𝑥2
= 𝑥
simplifying
𝑑 𝑥 2 −1 𝑥 2 (2𝑥)−2𝑥(𝑥 2 +1)
( )= differentiating the first derivative
𝑑𝑥 𝑥 𝑥4
2𝑥 3 − 2𝑥 3 + 2𝑥 2𝑥 2
= = =
𝑥4 𝑥4 𝑥3
The function in the previous example was a quotient, so it was perhaps natural to use the quotient
rule. It is easier, however, to simply the original function first,
𝑥2 + 1 𝑥2 1
= + = 𝑥 + 𝑥 −1
𝑥 𝑥 𝑥
And then differentiate by the power rule. The first derivative of𝑥 + 𝑥 −1 is 1 − 𝑥 −2, and differentiating
again gives2𝑥 −3 , agreeing with the answer found by the quotient rule. (Always simplify before
differentiating)
1 1
Example 4: Find 𝑓 ′′ (4) if 𝑓(𝑥) =
√𝑥
Solution:
1
𝑓(𝑥) = 𝑥 2 𝑓(𝑥)in exponential form
3
𝑓 ′′′ (𝑥) = 4 𝑥 −5⁄2 differentiating again
5
1 3 1 −2 3 5
3 5 3 3 1
𝑓 ′′ (4) = ( ) = 4 (4)2 = 4 (√4) = 4 (2)5 = 4 (32) = 24 evaluating 𝑓′′ at 4
4 4
In this lesson, we define composite functions (functions of functions) and learn the last of the general rules of
differentiation, the chain rule and the generalized power.
Composite Functions
Given a function 𝑓(𝑥) we found 𝑓(𝑥 + ℎ) simply by replacing each occurrence of 𝑥 by 𝑥 + ℎ. similarly, given
two functions 𝑓(𝑥) and 𝑔(𝑥), to find 𝑓 (𝑔(𝑥)) we take 𝑓(𝑥) and replace each occurrence of 𝑥 by 𝑔(𝑥). The
resulting function is called the composition * of 𝑓(𝑥) and 𝑔(𝑥).
Solution:
𝑥+1
Example 2: If (𝑥) = 𝑥−1and𝑔(𝑥) = 𝑥 5 , find 𝑔(𝑓)(𝑥)).
Solution:
𝑔(𝑥)+1 𝑥+1
𝑓(𝑔(𝑥)) = 𝑔(𝑥)−1 𝑓(𝑥) = 𝑥−1with 𝑥 replaced by 𝑔(𝑥)
𝑥 5 +1
= 𝑥 5 −1 using𝑔(𝑥) = 𝑥 5
Solution:
To emphasize that 𝑓(𝑔)(𝑥)) and𝑔(𝑓)(𝑥)) are not the same, we evaluate each at 𝑥 = 4:
𝑓(𝑔)(4)) = √2(4) + 1 = √9 = 3
Example 4: Find 𝑓(𝑥) and 𝑔(𝑥) such that (𝑥 2 − 5𝑥 − 1)10 is the composition 𝑓(𝑔)(𝑥)).
Solution: Think of(𝑥 2 − 5𝑥 − 1)10 as an inside function 𝑥 2 − 5𝑥 − 1and an outside function (𝑥)10.
𝑔(𝑥) = 𝑥 2 − 5𝑥 − 1
𝑓(𝑥) = (𝑥)10
Notice that expressing a function as a composition involves thinking of the function in terms of “blocks,” an
inside block on which a further operation is performed.
Chain Rule
𝑑
𝑓(𝑔)(𝑥)) = 𝑓′(𝑔)(𝑥)) ∙ 𝑔′(𝑥)
𝑑𝑥
To differentiate 𝑓(𝑔)(𝑥)),differentiate 𝑓(𝑥),then replace each 𝑥 by 𝑔(𝑥),and finally, multiply
by the derivative of 𝑔(𝑥).
𝑑
Example 5: Use the chain rule to find 𝑑𝑥 (𝑥 2 − 5𝑥 − 1)10
𝑔(𝑥) = 𝑥 2 − 5𝑥 − 1
𝑓(𝑥) = (𝑥)10
From these,
𝑔′(𝑥) = 2𝑥 − 5
𝑓 ′ (𝑥) = 10𝑥 9
so
9 𝑑 2
𝑓′(𝑔)(𝑥)) = 10(𝑔(𝑥)) = 10 (𝑥 − 5𝑥 − 1)9
𝑑𝑥
𝑑
𝑓(𝑔(𝑥)) = 𝑓 ′ (𝑔(𝑥))𝑔′(𝑥)
𝑑𝑥
gives
𝑑 2
(𝑥 − 5𝑥 − 1)10 = 10((𝑥 2 − 5𝑥 − 1)9 (2𝑥 − 5)
𝑑𝑥
This result says that to differentiate(𝑥 2 − 5𝑥 − 1)10, we bring down the exponent 10, reduce the exponent to
9 (steps familiar from the power rule), and finally multiply by the derivative of the inside function
𝑑
[𝑔(𝑥)]𝑛 = 𝑛 ∙ [𝑔(𝑥)]𝑛−1 ∙ 𝑔′(𝑥)
𝑑𝑥
To differentiate a function to a power, bring down the power as a multiplier, reduce the
exponent by 1, and then multiply by the derivative of the inside function.
The generalized power rule follows from the chain rule by reasoning like that of Example 5: The derivative of
𝑓(𝑥) = 𝑥 𝑛 𝑖𝑠𝑓 ′(𝑥) = 𝑛𝑥 𝑛−1, so
𝑑
𝑓(𝑔)(𝑥)) = 𝑓′(𝑔)(𝑥)) ∙ 𝑔′(𝑥) Chain rule
𝑑𝑥
𝑑
[𝑔(𝑥)]𝑛 = 𝑛 ∙ [𝑔(𝑥)]𝑛−1 . 𝑔′(𝑥) Generalized power rule.
𝑑𝑥
𝑑
Example 6: Find𝑑𝑥 √𝑥 4 − 3𝑥 3 − 4
Solution:
𝑑 4 1 1 1
(𝑥 − 3𝑥 3 − 4)2 = (𝑥 4 − 3𝑥 3 − 4)2 (4𝑥 3 − 9𝑥 2 )
𝑑𝑥 2
Think of the generalized power rule “from the outside in.” That is, first bring down the outer exponent and
then reduce it by 1, and only then multiply by the derivative of the inside function. Be careful – it is the original
function (not differentiated) that is raised to the power n - 1. Only at the end do you multiply by the derivative
of the inside function.
𝑑 1 3
Example 7: Find𝑑𝑥 (𝑥 2 +1)
𝑑 2 −3 6𝑥
(𝑥 + 1) = −3(𝑥2 + 1)−4 (2𝑥) = −6𝑥(𝑥2 + 1)−4 = − 2
𝑑𝑥 (𝑥 + 1)−4
Conclusion/ Summary
There is no single, all-purpose procedure for solving word problems. You must think about the problem, draw a
picture if possible, and express the quantity to be maximized or minimized in terms of some appropriate variable.
With practice you can become good at it.
• If the function has only one critical value in the interval, we may use the second derivative test.
• If the interval is closed, we evaluate the function at all critical values and endpoints.
• The price function p(x) gives the price at which consumers will buy exactly x units of a product.
• Many management problems involve maximizing profit. Such problems have only three economic
ingredients. The first is that profit equals revenue minus cost.
✓ By simply repeating the process of differentiation we can calculate second, third and even higher
derivatives.
✓ To differentiate 𝑓(𝑔)(𝑥)), differentiate 𝑓(𝑥), then replace each 𝑥 by 𝑔(𝑥), and finally, multiply by the
derivative of 𝑔(𝑥).
✓ To differentiate a function to a power, bring down the power as a multiplier, reduce the exponent by 1,
and then multiply by the derivative of the inside function.
Reference Link
✓ Calculus with applications to the Management, Social, Behavioral, and Biomedical Sciences,
Geoffrey C. Beresford