Elements and Applications of Calculus: Limits
Elements and Applications of Calculus: Limits
CHAPTER 5
ELEMENTS AND APPLICATIONS OF CALCULUS
Calculus is the Branch of mathematics that concerns it self with the rate of change
of one quantity with respect to another quantity .
6.1Differential Calculus
- Broadens the concept of slope - rates of change
There are two core concepts which lie down the foundation for differential calculus.
These are: Limits and Continuity.
Limits:
N.B.
The concept of the limit of a function as x approaches a should not be confused
with the concept of the values of a function at x = a
The limit as x approaches a may exist, and the function many or may not be
defined at a.
The function may be defined at a, and the limit may or may not exist.
The limit as x approaches a may exist, and the function may be defined at a and
their values may, or may not be the same.
Generally, x can approach a from either of two directions, through values that are
less than a or through values that are greater than a.
The limit L must be a finite number.
The limit f (X) does not depend on the values of f (x) at X = a. Whether
Xa
or not the function, f(x) is defined at x = a doesnt affect the limit or its existence or
non existence at x = a. In other words, lim f (x) = L
[Type text]
Page 1
xa
means that the values of f (x) approach, with out necessarily being equal to L, as X
approaches, without necessary being equal to, a
E.g. Left-Hand and Right-Hand Limits
When the variable x approaches the value x=a but always remains less than a, we
say x is approaching a from the left. If the values of f(x) gets closer and closer to a
real number L as x approaches a from the left, we call L the LEFT-HAND LIMIT
and employ the symbolism
Lim f(x) = L
Xa
Only those values of X to the left of a are used to compute the left hand limit.
E.g. Lim (x+3)
X3
We might compute f (2.9) = 5.9, f(2.99) = 5.99, -------------- f (2.999---) = 5.999 --------.
Clearly, the values of f (X) are getting closer and closer to the number 6, and we
write.
L- = lim (x+3) = 6
X3
Page 2
X
1.91.991.9991.9999 0 2.00012.0012.01 2.1
F(x)2.612.96012.9960012.99960001 3.00400013.004001 3.0401 - 3.41
L3
,
L+ = 3
Lim (x2 - 1) = 3
x2
2. Lim
/X /
X
X0
-0.1
-0.01
-0.001
0.001
0.01
0.1
f(x)
-1
-1
4. F(x)
x
f(x)
-0.1
-0.01
-.000001
0.001
0.032
0.01
0.1
0.1
0.32
4 x for x 4
x 4 for x 4
Lim f(x) =?
X4
Lim f (x)
X4
x
f(x)
3.9
0.1
L =0
3.99
0.01
3.999
0.001
3.9999
4.001
0.0001
0.001
+
L = 0 =L
4.01
0.01
Lim f(x) = 0 limit exist; but the function doesnt exist at 4 because the point
is not in the domain of the fun.
4.1
0.1
x 4
Limit Properties
Assuming that the two limits exist:
1. Limit of a Constant
The limit of a constant function is the constant value.
[Type text]
Page 3
Continuity of a Function
The continuity of a function can be determined at a specific point or over an
interval.
Continuity at a point
A function is said to be continuous at a point when there exists no gap at that point.
At the point of discontinuity we cant find marginal functions (MR, MC---)
A function f is continuous at x = a if and only if all these conditions apply to f at
a:
1.
f(a) is defined (that is, the domain of a f includes x = a)
2.
Lim f(x) exists
xa
3.
X a
[Type text]
Page 4
x2 4
E.g. f(x) =
is not defined at x=2 and the fun is discontinued at x=2
x2
E.g.
2x
F(x) =
3x 5
x 5
L 10
x 5
L 20
L+ is different from L-
The limit doesnt exist as x approaches a if the function has different right hand and
left hand limits at that point.
The graph of the function has a vertical gap at x=5. Such a vertical gap always
indicates discontinuity of the function at this point. This type of discontinuity is
often called JUMP DISCONTINUITY.
3. A function may be discontinues because the limit of f as x approaches a is not the
value of f at x=a.
E.g. f(x) =
x3
x 3
4.
hence
Page 5
Continuity properties
1. Constant function
If f(x) = K where K is a constant, then f(x) is continuous for all x. In other words, a
constant function is continuous for all values of x.
2. Power functions
Functions of the form f(x) = x n and g(x) = n X , where n is a positive integer, are
continuous over all values of x of their respective domains.
3. Sum, difference and product
If f(x) and g(x) are continuous at a point, then f(x) + g(x), f(x) - g(x), and f(x) .g(x)
are continuous over that point.
4. Quotient
If f(x) and g(x) are continuous at a point, then f(x)/g(x) is continuous at that point
provided that g(x)0 at that point.
Any polynomial function is continuous at all values of x. Any rational function is
continuous at all values of x, where its denominator does not equal to zero.
Exercises
1. Technic, Inc. manufactures electronic circuitry for computers. For a particular unit,
there is a variable cost of Birr 4 per unit and a fixed cost of Birr 8,000 for the first
10,000 units produced. If the number of units manufactured exceeds 10,000, the
fixed cost increases by Birr 1,000.
a. Define the cost function. Answer:
8,000 4 x if 0 x 10,000
9,000 4 x if x 10,000
b. Where is the cost function discontinuous? Answer: Since the graph has a
Break at x= 10,000, then C(x) is discontinuous at x=10,000.
2. One million Birr is deposited in to a savings account for 1 year at 12% compounded
quarterly. If interest is added at the end of each quarter
a. Find the account's balance for each quarter. Answer: Birr 1,030,000,
1,060,900, 1,092,720, and 1,125,508.81.
b. Where is the graph discontinuous? Answer: The graph is discontinuous at
the end of the first, second, third and fourth quarters.
[Type text]
Page 6
ARC =
x
x
E.g. At the same instant that a test driver begins his journey around a truck, a
stopwatch is started. The function is given by Y = f(x) = 10x 2 (x>0) expresses the
total distance, y (in miles) traveled by the driver during the first x hours. Thus,
during the first 3 hrs, the driver has traveled a total distance of Y= f (3) = 10(3) 2 = 90
miles.
[Type text]
Page 7
During the first 5 hours, the driver has traveled a total distance of Y = f(5) = 10(5) 2 =
250 miles
We now pose the following question:
What is the driver's average speed during the time interval between the end of the third hour
and the end of the fifth hour?
Since the driver has traveled 90 miles during the first 3 hours and 250 miles during
the first 5 hours, he has traveled
y = 250 - 90 = 160 miles
during the time interval x = 5 - 3 = 2. Dividing by the length of the time interval,
we have
y
250 90 160
or the average rate of change of distance with respect to time. Note that the average
speed is the slope of the straight line, L, passing through points (3,90) and (5,250)of
the graph of Y = f(x)=10x 2. Such a straight line intersecting the graph in at least two
points is called a secant line.
In general the slope of the secant line passing through two points of the graph of a
function is the average rate of change of that function over the respective interval.
Note that the secant line passes through the points (x,f(x)) and (x+x, f(x+x)).
Thus, the average rate of change of the function Y= f(x) over the interval from x to
x+x is given by the expression
ARC =
f ( x)
f ( x x ) f ( x )
, x 0
x
x
This ratio is called a difference quotient. It gives the slope of the secant line passing
through (x, f(x)) and (x+x, f(x+x)).
The general procedure for determining a formula for the difference quotient is:
1. Replace x with x+x to obtain f(x+x))
2. Subtract f(x) from the result of step 1 to obtain y = f(x+x)- f(x)
3. Divide the result of step 2 by x (and simplify) to obtain a formula for
y
f ( x x ) f ( x )
difference quotient
. This result gives a formula for
x
x
the average rate of change for the given function f(x) as we move from x
to x+x.
Example
1. Compute the difference quotient of the function defined by Y = f(x) = 10x 2
[Type text]
Page 8
x
x
20 x (x ) 10(x ) 2
= 20x + 10x
Using this general formulation, we can determine the ARC for f(x) = 10x 2 between
any two points.
Exercises
1. The total revenue R, gained from selling x units of a product is given by
R(x) = -0.2x2 + 8000x (0<x<20,000)
a. Determine the formula for the average rate of change of sales volume with
respect to x. Answer: -0.4x-.2(x)+ 8,000
b. Use the result of part [a] to determine the average rate of change of sales
revenue with respect to x as x changes from x= 10,000 to x = 14,000. Answer:
3,200.
c. Interpret the result of part b. Answer: As x changes from x=10,000 to x=
14,000, an additional unit sold yields Birr 3,200 of sales revenue, on the
average.
2 The total cost, C of producing x units of a product is given by
C(x) = 3x2+ 80,000
[0, 100]
a. Find the average rate of change of cost with respect to x. Answer:6x+3x
b. Determine the average rate of change of cost with respect to x as x changes
from x=50 to x=55. Answer:315
c. Interpret your result. Answer: As x changes from x=50 to x= 55, an
additional unit produced costs Birr 315, on the average.
3. The profit, P (in millions of Birr), gained from selling x (in thousands) units of a
product is given by: P(x) = -0.1x 2+4x-30 [10<x<30]
a. Find the average rate of change of profit with respect to x. Answer:-0.2x 0.1x+4
b. Determine the average rate of change of profit with respect to x as x changes
from x=12 to x=15. Answer: Birr 1,300,000
[Type text]
Page 9
10
= 20x +10(x).
x
x
The average rate of change of Y with respect to x when x changes from one value to
the other is determined by substituting those values of x. Now let's ask one
question: What the speed of the car at x=3? This result is called instantaneous speed
or instantaneous rate of change of Y with respect to x at x=3. It is determined by
first calculating a formula for the instantaneous rate of change of Y with respect to x
at point (x, f(x). This formula is determined by calculating the average rate of
f ( x x ) f ( x )
change
= 20x+10(x) letting x get very small (i.e., we let x0) to
x
obtain 20x. This result, 20x, is called the derivative of the function f(x) =10x 2 and is
denoted by f'(x). Thus, the derivative f '(x) = 20x gives the formula for the
instantaneous rate of change of Y with respect to x at any point (x, f(x)) of the
function defined by Y= f(x) =10x2.
Therefore, the instantaneous rate of change or the derivative of Y with respect to x
is the limit of the average rate of change as x0(provided this limit exists). This is
written as f '(x) = Lim
f ( x x ) f ( x )
x
as x0.
Graphically, the derivative is the slope of the straight line tangent to the graph of
the function at (x, f(x)).
The slope of the tangent line at any point x on the x axis represents the instantaneous
rate of change of the function f at that point.
The IRC of f at any point x is the limit of the ARC of f over the interval from x to
x+x as x approaches zero; that is
f ( x )
IRC = Lim
x
X 0
[Type text]
Page 10
11
f ( x x ) f ( x )
x
X0
if this limit exists.
= Derivative of f(x)
The Derivative
The IRC is also called the derived function or the derivative. The derivative of a
df ( x) df
,
function f is that function, commonly denoted f ', f '(x), D xf(x),
or Y' Dxy,
dx
dx
dY
, whose function value at any x in the domain of f is given by f '(x) = lim
dx
f ( x)
f ( x x) f ( x)
= lim
, if that limit exists.
x
x
x0
x0
Differentiability
A function is said to be differentiable at a point if its derivative exists at that point.
For a derivative to exist at a specified value of X,
a. Its graph must have a unique non vertical tangent line at that point.
b. It must have no sharp corner at that point.
c. The function must be continuous at that point.
d. The function must be defined at that point.
Rules of Differentiation
Differentiation by direct application of the limit formula, f('x) =
Lim
f ( x)
x 0 x is
[Type text]
Page 11
12
The derivative of a variable raised to the constant power, n, where n is any real
number and n0, is equal to the power n multiplied times the variable raised to the
power n-1.
F(x) = Xn
e.g. f(x) =X3
f(x) = x2
f(x) =X
n-1
2
F '(x) = n x
f '(x) = 3x f '(x) = 2x
f '(x) = 1
F (x) = X
1 1 / 2
x
2
F '(x) =
1
1
x
2
2 x
f ( x)
g ( x)
h(x )
[g ( x ). f 1 ( x )] [ f ( x ). g1 ( x )]
[g ( x )]2
5x2
x3 1
[ x 3 1(10 x)] [5 x 2 .3 x 2 ]
h 1( x)
[ x 3 1) 2
E.g. h( x)
H(x) =
h1 ( x )
(1 x)
x0
x2
x 2 (1))(1 x)(2 x) x 2 2x 2x 2x 2
x 2 2x ( x 2)
=
=
=
2 2
4
(x )
(x )
x3
x4
[Type text]
Page 12
13
7. Chain Rule
If y =f (u) is a differentiable function of u and u= g(x) is a different table function of
x, then
dy
dy du
.
dx
du dx
The chain rule states that if y is a function of u and u is a function of x, then the
derivative of y with respect to x (i.e., dy/dx) equals the derivative of y with respect
to u (i.e., dy/du) times the derivative of u with respect to x (i.e., du/dx).
E.g. Y =
( 6x 2 5)10
u
dy/du = 10u9
y= f(u)
dy/du = 12x
[Type text]
Page 13
14
1.
Page 14
15
e. If f ' > 0 and f '' = 0, the function f is increasing at a constant rate. That is, the
slope of f is positive and linear.
f. If f ' < 0 and f '' = 0, the function f is decreasing at a constant rate. That is, the
slope of f is negative and linear.
[Type text]
Page 15
16
Page 16
17
If the sign of the first derivative does not change as the function transverses a
critical point, the point is neither a maximum nor a minimum.
Example:
Find the relative maxima and minima of the following functions, if they exist.
1. f (x) = x2 - 4x +4
a. f '(x) = 2x - 4
b. Use f '(x) to determine the behavior of f
2x - 4 = 0
1. f ' (x) < 0 for x <2 - f when x< 2
2(x-2) = 0
2. f ' (x) > 0 for x>2 - f when x> 2.
X = 2 - candidate, so that at x=2 there is a relative minimum of f.
2. f(x) = 4x3
a. f ' (x) = 12x2
1. f ' (x) > 0 for x<0 - f when x< 0
2
12x = 0
2. f ' (x) > 0 for x > 0 - f when x > 0
x = 0 - candidate
+ve
+ve
The algebraic sign of f ' does not change as we move from left to right across the
critical point; therefore, the critical point x* 0, is neither a maximum or nor a
minimum.
3. f(x) = 1/x2 The first derivative can never be negative and the function is undefined
at x = 0, so no critical value.
4. f(x)=x2/3
f '(x)=
2 13
x . The first derivative can't be set equal to zero. Though the first
3
derivative can never be equal to zero, f(x) is defined at x=0. So the critical value is
x=0. Since f '(x) is negative for all values of x to the left of zero and positive for all
values of x to the right of 0, x=0 is a relative minima.
5. f(x)= x3+3x2-72x+9
f '(x)= 3x2+6x-72, setting f '(x)= 0 and solving yields
3x2+6x-72=0
3(x2+ 2x-36) =0
3(x+6) (x-4) =0
Thus, x=-6 and x=4 are critical values. Since there are no values of x at which f '(x)
does not exist, these are the only critical values. Since f '(x)>0 for all nearby values
of x to the left of x=-6 and f '(x) <0 for all nearby values of x to the right of x=-6,
then, by the first derivative test, a relative maximum exists at x=-6. Also, since f '(x)
<0 for all nearby values of x to the left of x=4 and f '(x)>0 for all nearby values of x
to the right of x=4, then, by the first derivative test, a relative minimum exists at
x=4. Computing the corresponding y values we have (-6,333) as relative maxima
and (4,-167) as relative minima.
[Type text]
Page 17
18
3
12
+ve
27
48
f ''(x) =2
Page 18
19
Page 19
10
3.5
-46
20
-52.5
On the interval [0, 5], f(0)= 10 is the absolute maximum and f(5)= -52.5 is the
absolute minimum.
2. f(x)=2x3+3x2-12x-7 [-3,0]
f '(x)= 6x2+6x-12
x2+x-2 =0
(x-1)(x+2)=0
x* = 1, -2, of these, only x=-2 lies in the interval -3<x<0. Then compute f(x) at x=-2
and endpoints x=-3 and x=0.
x
-3
-2
0
f(x)
2
13
-7
On the interval [-3, 0], f (-2) = 13 is the absolute maximum and f(0)= -7is the
absolute minimum.
Absolute extrema on open interval
To find the absolute extrema of a continuous function on an open interval, we
evaluate the function at all the critical points and end points that are contained in
the interval. However, before drawing any conclusion, we must find out if the
function actually has relative extrema on the interval. One way to do this is to use
the first derivative to determine where the function is increasing and where it is
decreasing and sketch the graph.
Absolute extrema on intervals containing only one critical point
In reality, many practical optimization problems involve only one first-order critical
point of the function. When this happens, we use the second derivative test to
identify the absolute extremum. Given that a function is continuous over some
interval and only one critical value exists in the interval, then
1. If f ''(x*) < 0, f(x*) is the absolute maximum value of f(x) over the interval.
2. If f ''(x*) > 0, f(x*) is the absolute minimum value of f(x) over the interval.
3. If f ''(x*) = 0, the test fails.
The second-derivative test for absolute extrema can be applied to any interval,
whether closed or not. The only requirement is that the function be continuous and
have only one critical point on the interval.
[Type text]
Page 20
21
One important use of the derivative in business and economics involves marginal
analysis MC, MR, MP, and MU.
MC - It is the rate of change in total cost per unit change in production at an output
level of x-units at any production level x (non - linear functions)
Example
1. Suppose the total cost c(x) in thousands of dollars for manufacturing x unit is given
by the function C (x) = 575 + 25x -1/4x2
a. Find the marginal cost at a production level of x units
C' (x) = 25 - 1/2x
b. Find the marginal cost at a product level of 40 units and interpret the result
C ' (40) = 25 - 40/2 = 5,000.
At a production level of 40 units the rate of change of total cost relative to
production is Birr 5000. The cost of producing one more unit at this level of
production (40 units) is approximately 5,000 Birr. The cost of producing the 41st
unit of product.
c. Find the actual cost of producing the 41st unit and compare this cost with the
result found in question 2.
C (41) - C (40) = [575 + 25(41)-41/4] - 575+25(40)-40/4]
= (1025 - 420.25) - (1000 - 400)
= 604.75 - 600
= 4.75 = Birr 4,750
2. The market research department of a company recommends that the company
manufacture and market new transistor radio. After suitable market testing the
research department presents the following demand equation
X = 10,000 - 1000 p (x is demand at Birr/radio)
P = 10 - x/1000
The financial department provides the following cost equation C(x) = 7000 + 2x.
Conduct a marginal analysis for the company
Solution.
C(x) = 7000 + 2x
C' (x) = 2
[Type text]
22
= 10 - .002x
P(X) = R(x) - C(x)
= 10x - x2/1000 - (7000 + 2x)
= 8x - x2/1000 - 7000
P ' (X) = 8-0.005x
3. A manufacturers cost and revenue functions are
C (x) = 3,500 + 200x + 0.2x 2
0<x< 100
And
R(x) = 284x - 0.5x2
0<x< 100
Where C(x) and R(x) are in Birr and x is the number of units of product produced
and sold
a. Determine the marginal cost, marginal revenue and marginal profit
functions
b.
Compute C(50)and C'(50), R(50) and R'(50), P(50) and P'(50), R(60)
and R'(60), P(60)and P'(60), C(70) and C'(70), R(70)and R'(70), P(70) and
P'(70).
c.
Interpret your results.
Solution
R'(x) = 284 - 1x
C '(x) =200+0.4x
P'(x) = R'(x) - C'(x)
= 284-1x - (200 +.4x)
= 84 - 1.4x
[Type text]
Page 22
23
At a production level of 50 units, the total revenue realized and the total cost
incurred are Birr 12,950 and Birr 14,000, respectively, and a production of one more
unit increases the revenue by Birr 234 and the cost by Birr 220.
At a production level of 60 units, the total revenue realized and the total cost
incurred are Birr 15,240 and Birr 16,220, respectively, and a production of one more
unit increases the revenue by Birr 224 and the cost by Birr 224.
At a production level of 70 units, the total revenue realized and the total cost
incurred are Birr 17,430 and Birr 18,480, respectively, and a production of one more
unit increases the revenue by Birr 214 and the cost by Birr 228.
4.
A small machine shop manufactures drill bits that are used in petroleum
industry. The shop manager estimates that the total daily cost (in Birr) of producing
X bits is C(x) = 1,000 + 25x 0.1x 2.
a.
Find the daily average cost if x units are produced.
b.
Find the average cost per unit if 10 drill bits are produced.
c.
Find the marginal average cost function.
d.
Find the marginal average cost if 10 drill bits are produced, and interpret
the results.
Solution:
a.
b.
C ( x ) 1,000 25 x 0.1x 2
1,000
0.1x 25
x
x
x
1,000
C (10) 0.1(10) 25
Birr 124
10
C ( x)
dC ( x)
1,000
0.1
dx
x2
c.
C ' ( x)
d.
1,000
Birr 10.10
(10) 2
A unit increase in production will decrease the average cost per unit by
approximately Birr 10.10 at a production level of 10 units.
5.
The total profit (in Birr) from the sale of X video cassettes is P(x) = 5x 0.05x 2
450.
a.
Find the average profit if x video cassettes are produced and sold.
b.
Find the marginal average profit function.
c.
Find the average profit per unit if 150 video cassettes are produced and
sold.
d.
Interpret the result.
Solution:
a.
b.
P ( x ) 5 x 0.05 x 2 450
450
5 0.05 x
x
x
x
450
P (150) 5 0.05(150)
Birr 1.25
150
P( x)
[Type text]
Page 23
24
dP ( x)
450
0.05 2
dx
x
c.
P ' ( x)
d.
450
Birr 0.015
(150) 2
A unit increase in production and sales will increase the average profit per
unit by approximately Birr 0.015 (1.5 cents) at a production and sales level of
150 units.
Optimization Problems
1. A company manufactures and sells x transistor radios per week. If the weekly cost
and demand equations are: C(x) = 5000 + 2x and P = 10-x/1000 [0, 8000]
Find for each week
a. The production level that leads to maximum revenue the maximum revenue.
b. The production level that leads to maximum profit and the maximum profit.
c. The production level that leads to the minimum cost and the minimum cost.
Solution
a. TR = P(x) = 10x - x2/1000
R' (X) = 10- 2x/1000
= 10-0.002x
TR get its maximum when
MR=0, so
10-0.002x=0
x = 5000 units
R' (x) = - .002 - Absolute max.
R(x) = 10(5000) - 50002/1000
= 25,000 Birr
(5000, 25,000) = P =Birr 5.
Page 24
25
Solution
Average operating cost = 0.05x - 200
a. Total operating cost = 0.05x2 - 200x
Total cost = 0.05x2 - 200x + 1,800,000
C (X) = 0.05x2-200x + 1, 800,000
x
= 0.05x - 200 + 1,800,000/x
The total average cost is minimum if C '(x) = 0
C '(x) = 0.05 - 3,600,000/x2
.05 = 3,600,000/x2
.05x2 = 36,000,000
x = 6000 hours.
b. C(x) = .05x -200+1,800,000/x
= .05(6000)-200+1,800,000/6,000
= 300-200+300
= Birr 400
3. A rectangular area of 1,050 square feet is to be enclosed by a fence, and then divided
down the middle by other fence. The fence down the middle costs Birr 0.50 per foot,
and the other fence costs Birr 1.50 per running foot. Find the minimum cost for the
required fence.
Solution.
Area of a rectangular polygon = 1050 sq. ft
Area = XY
= 1050 = XY = X = 1050/Y
Cost = (1.50y) 2 + (1.50x) 2 + 0.5y
= 3y +3x+0.5y
= 3.5y + 3x ------------------------------------------- C = 3.5(30) + 3(35)
C(y) = 3.5y + 3 (1050/y)
= Birr 210
= 3.5Y + 3150/y
Cost is minimum when C '(y) is =0
C' (y) = 3.5 - 3150/y2
3.5 - 3150/y2= 0
3.5y2 = 3150
y2 = 900
Y = 30feet, X = 35 feet
4. A manufacturer can produce radios at a cost of Birr 2 a piece. The radios have been
selling for Birr 5 a piece, and, at this price, consumers have been buying 4,000
[Type text]
Page 25
26
radios a month. The manufacturer is planning to raise the price of the radios and
estimates that for each Birr 1 increase in price, 400 fewer radios will be sold each
month.
a. Express the manufacturer's monthly profit as a function of the price at
which the radios are sold.
b. At what price should the manufacturer sell the radios to maximize profit?
Solution
a. Profit = (number of radios sold) (profit per radio)
Let x denote the price at which the radios will be sold and p(x) the corresponding
profit, and the number of radios sold = 4,000- 400(number of Birr 1 increases)
The number of Birr 1 increases in the price is the difference x-5 between the new
and the old selling prices. Hence,
Number of radios sold = 4000-400(x-5)
= 400[10-(x-)]
= 400(15-x)
The profit per radio is simply the difference between the selling price x and the cost
Birr 2. That is,
Profit per radio = x-2
The profit equation then becomes P(x) = 400(15-x) (x-2)
b. The goal is to find the absolute maximum of the profit function
P(x) = 400(15-x) (x-2) (5<x<15)
To find the critical points, compute the first derivative (using the product and
constant multiple rules) to get
P '(x) = 400[(15-x) (1) + (x-2) (-1)
= 400(15-x-x+2)
= 400(17-2x) which is zero when 17-2x =0 or x= 8.5
Comparing the values of the profit function
P (5) = Birr 12,000
P (8.5) = Birr 16,900
P (15) = 0
At this critical point and at the end points of the interval, we can conclude that the
maximum possible profit is Birr 16,900 which will be generated if the radios are
sold for Birr 8.5 a piece.
4. A rectangular card board poster is to contain a 96 - square-inch rectangular section
of printed material, have a 2-inch border top and bottom, and a 3 - inch border on
each side. Find the dimensions and area of the smallest poster that meets these
specifications.
Solution
A= (y+4) (x+6)
2'
= (y+4) (96+6)
96 sq inch
= 64 +24+96/ (y +4)
3'
= 6y +24 +96 + 384/y
3033
[Type text]
Page 26
27
= 6y + 120+ 384/y
A'(y) = 6 - 384/y2
Set A'(y) = 0
xy = 96
2
6 = 384/y
8x = 96
2
y =64 y=8
x = 12
Area = 12 x18 = 216 sq inch
5. Sharp industries produce table knives. Each knife cost Birr 6 to produce and
sells for Birr 9. The quality control manager has determined from past data
that out of x knives that are produced during any given day, the fraction
defective for the day is given by x2/20,000,000, where 100< x < 1500. Each
defective knife costs the company an additional Birr 20.
Required
a. Determine the equation that gives daily profit, p, as a function of daily
production volume, x.
b. Determine the maximum daily profit and the daily production volume
that yields the maximum daily profit
Solution.
a. Profit is the difference between all costs incurred and TR realized, that is
P = TR - TC
= PQ - (VQ + FC + Other costs)
= 9x - (6x + additional cost of the defective knives)
= 3x - (additional cost of the defective knives)
The number of defective knives produced in a day is determined by multiplying
the fraction of defective and the daily production volume. Hence,
Number of defectives = Fraction defective * Daily production volume
=
X2
*X
20,000,000
X3
20,000,000
Since each defective costs the company an additional Birr 20, then additional cost of
the defective knives = 20 *
[Type text]
X3
X3
=
20,000,000
1,000,000
Page 27
28
3x 2
=0
1,000,000
3x 2
, x2 = 1, 000 (the only critical value)
1,000,000
P"(x) = 1,000,000
P"(1000) = -0.06<0
By the second derivative test for absolute extrema, the function P(x) has an absolute
maximum at x = 1000. Hence,
P (1000) = 3(1000)-
(1000)3
1,000,000
= Birr 2000
6. From past experience, an apple grower knows that if the apples are harvested now,
each tree will yield on average 130 pounds and the grower will sell the apples for
Birr 0.64 per pound. However, for each additional week that the grower waits before
harvesting, the yield per tree will increase by 5 pounds, while the price per pound
will decrease by Birr 0.02. How many weeks should the grower wait before
harvesting the apples in order to maximize the sales revenue per tree? What is the
maximum sales revenue per tree?
Solution:
Let x be the number of weeks the grower waits. The sales revenue per tree is given
by R = number of pounds per tree * price per pound
R(x) = (130+5x) (0.64 - 0.02x)
Critical values
Using the product rule we find
R'(x) = (130+5x) (-0.02) + (0.64 - 0.02x) (5)
= 0.6 - 0.2x
0 = 0.6 - 0.2x
0.6 = 0.2x
x=3
Test for absolute extrema (Second derivative test)
R"(x) = -0.2 <0
Absolute maximum is at x = 3
R (3) = [130 +5(3)] [0.64 - .2(3)]
= 145 * 0.58
= Birr 84.10
[Type text]
Page 28
29
7. The manager of an ocean resort wants to enclose a rectangular area of beach along
the ocean. There must be at least 500 feet of frontage along the ocean, as illustrated
below. Find the dimensions that maximize the enclosed area if 2,000 feet of fencing
are available. Find the maximum area.
Ocean
Y
500 feet
8. A travel agency will plan a group tour for group size 25 or larger. If the group
contains exactly 25 people, the cost is Birr 300 per person. However, each person's
cost is reduced by Birr 10 for each additional person above the 25. What size group
will produce the largest revenue for the agency?
Solution
TR = number of people * cost per person
R(x) = (25 +x) * (300 - 10x)
= 7500 + 50x - 10x2
R(x) reaches its maximum when R'(x) = 0
[Type text]
Page 29
30
R'(x) = 50 - 20x
50 - 20x = 0
x = 2.5
This means adding 2.5 people produces the highest TR. Since we can't have 2.5
people test the function at either by adding 3 people or 2. That is,
R (25 +3) = 28[300 - 10(3)] = Birr 7560
R (25 +2) = 27[300 - 10(2)] = Birr 7560
Thus, the revenue is maximized at either 27 or 28 people in the group.
9. Minimizing Inventory Cost (Where inventories arrive in lot size of Q)
One of the many products sold by a discount store is a special model video cassette
recorder (VCR). Each such VCR costs the store Birr 200. The annual demand is
200,000 units. Ordering costs are Birr 40 per order, and the annual holding cost per
unit is 8% of the cost of a VCR.
a.
b.
c.
d.
Solution
a) The total annual inventory cost is calculated by the following formula:
C = ordering cost + carrying cost
The ordering cost is calculated by multiplying the cost of placing an order by the
number of orders placed in a year. Since 200,000 VCRs orders are placed annually
in quantities of Q VCRs per order, the number of orders per year is
200,000
.
Q
Thus
40
200,000
8,000,000
=
Q
Q
Q
, since the inventory level varies from 0 to Q. Thus, since
2
the cost of carrying 1 VCR in inventory for a year is Birr 16 (8% of 200), we obtain
Carrying cost = 16
Q
= 8Q
2
Page 30
20,000
Q
+ 16
31
Q
2
Simplifying, we obtain
C (Q) =
8,000,000
Q
+ 8Q (Q>0)
b) Calculating C' (Q) and setting it equal to zero gives the critical point.
C'(Q) =
8,000,000
8
Q2
8,000,000
8 = 0.
Q2
Q2 = 1,000,000
Q = 1,000
the only critical value.
16,000,000
Q3
16,000,000
= 0.016 which is positive. Therefore, by the
10003
second derivative test for absolute extrema, an absolute minimum exists at Q =
1000. Thus, in order to minimize the total annual inventory cost, the store should
order this particular model of VCR in lots of 1000.
C"(1000) =
8,000,000
8 (1000)
1000
= Birr 16,000.
200 orders.
Q
1000
10. Minimizing Inventory Cost (Where items of inventory are supplied at a constant
rate during a given time interval)
Star Soap and Detergent Inc., manufactures a special type of bath soap, Max. Star
can produce this soap at an annual rate of 480,000 cases. The annual demand is
[Type text]
Page 31
32
estimated to be 320,000 cases. It costs Star Birr 400 to set up a production run. The
annual holding cost per case of soap is Birr 12.
a.
b.
c.
d.
e.
Determine the equation for the total annual inventory cost for Star.
Determine the value of Q that minimizes the total annual inventory cost.
Determine the minimum total annual inventory cost.
Determine the annual set-up cost.
Determine the annual holding cost.
Solution
a. The total annual inventory cost associated with this production lot size
model is given by
inventory
D
P D Q
H
Q
P 2
(Q 0),
P D`
Where
Q= number of units of inventory manufactured during a production run
D= annual demand rate
P= annual production rate/rate of inflow of inventory in to the stockpile
K= cost of setting up a production run
H= annual holding cost per unit of inventory
P-D= rate of net inflow of inventory in to the stockpile
C (Q) 400
320,000
480,000 320,000 Q
12
Q
480,000
(Q 0),
P D`
Simplifying we obtain
C (Q)
b)
128,000,000
2Q
Q
point.
C'(Q) =
(Q 0),
PD
Calculating C' (Q) and setting it equal to zero gives the critical
128,000,000
2
Q2
128,000,000
2 =0
Q2
[Type text]
Page 32
33
256,000,000
Q3
256,000,000
= 0.0005 which is positive. Therefore, by the
80003
second derivative test for absolute extrema, an absolute minimum exists at Q =
8000. Thus, in order to minimize the total annual inventory cost, the store should
produce this particular model of soap in lots of 8000.
C"(8000) =
128,000,000
2 (8000)
8000
= Birr 32,000.
d. The annual set-up cost is calculated by multiplying the number of times that star
sets up which is 40 (320,000/8,000) by the cost of setting up, Birr 400. Therefore, the
annual set-up cost is Birr 16,000(40x400).
e. The annual holding cost is calculated by multiplying the average inventory by the
annual holding cost of a unit of inventory. Average inventory is further calculated
using
the
P D Q
.
P 2
formula
For
the
star
case
it
is
equal
to
unit cost of carrying the inventory, we get the annual holding cost. And it is equal to
Birr 16,000 (1333x12).
Page 33
34
The number of cottages rented will be (200 - 5x), while the weekly rental per
cottage is (400+ 20x). Hence, the revenue function is given by
R(x) = (200 - 5x). (400+20x) = 80,000 + 2000x - 100x2 [0, 40]
To find the value of x at which this function reaches a maximum, we differentiate to
obtain R' (x) = 2000 - 200x. Setting the first derivative equal to zero, we find the
critical value of x to be
2000 - 200x = 0
x = 10 (the only critical value)
Then by the second derivative test, we see that R" (x) = -200 is negative for all x
indicating that this extremum is a maximum point on the graph.
To locate absolute maxima or minima, we also consider the endpoints of the
domain of the function. Thus, we evaluate
R (0) = 80,000+200(0) - 100(02) = Birr 80,000
R (10) = 80,000+200(10) - 100(102) = Birr 90,000
R (40) = 80,000+200(40) - 100(402) = Birr 0
Hence, at x = 10 there is an absolute maximum.
With 10 increases of Birr 20 each weekly rental fee for a cottage, the rent would
increase from Birr 400 to Birr 600. The number of cottages rented each week would
decrease by 10*5 = 50, from the present level of 200 down to 150. Revenue realized
would be birr 600*150 = 90,000, and would be at a maximum level.
12. Optimal Price for Maximum Profit
Owners of Bishangari (from the preceding question) wonder whether the strategy
that yields the maximum revenue will also yield maximum profit. Their weekly
cost for cleaning and maintenance on a cottage rented is Birr 90, while this cost is
only Birr 10 on a cottage which is vacant.
Given that the number of cottages rented each week is a function of the number x of
Birr 20 increases in weekly rent(above the present Birr 400),
and
[Type text]
Page 34
35
[Type text]
Page 35
36
Integral Calculus
Calculus has two main Branches: Differential Calculus - which deals with the
problems of finding the rate at which a known but varying, quantity changes: and
Integral Calculus - which deals with the problem of finding a quantity, given that
we know the rate at which it is changing.
Integral calculus is the reciprocal of the differential calculus. Given the rate of
change f '(x), by integral calculus we can find the original function f(x).
E.g. f(x) = 5
F(x) = 5x +c
F'(x) = 5
Because the derivative of a constant is zero, once an antiderivative of a function is
found, another antiderivative of the same function can be formulated simply by
adding a non-zero constant to the first derivative. Thus, F(x), by it self is not unique;
it is only one member of a family of antiderivatives for some specified function,
each of these antiderivatives for some specified function, each of these antiderivatives differing from the others only by an arbitrary constant C. Thus, if F(x) is
an antiderivative of f(x), the general expression F(x) + C is called the
ANTIDERIVATIVE of f(x), or the INDEFINITE INTEGRAL, and is denoted by the
symbol f(x)dx.
Given F(x, an antiderivative of f(x), the indefinite integral of f(x) is defined to be
F(x)+c = f(x)dx read as the indefinite integral of function f(x) with respect
to the variable x.
- Integral sign
- indicates that the operation of anti differentiation
(integration) is to be performed.
f(x) - Integrand
dx - indicates integration is to be performed with respect to the
variable X.
C - Constant of integration
The process for finding f(x)dx is called indefinite integration.
E.g. Find the indefinite integral for the following
1. f(x) = 10x
2. f(x) = 3x - 10
2
f(x)dx = 5x +c
f(x)dx = 3/2x2-10x+c
Find the function that has a slope of 10x 4 at each point and that passes through the
point (2, 74).
f(x) = 10x4
f(x)dx = 10x4dx = 2x5+c
Therefore, F(x) = 2x5 + 10
[Type text]
Page 36
37
f(x) = 3
3dx = 3x+C
2. Power Rule
f(x) = xn
f(x) = 0
0dx = 0+c =C
f(x) = x
x n 1
C ; n1
f(x)dx =
n 1
x2
f(x)dx =
+C
2
f(x) = x2
x3
C
f(x)dx =
3
If n = -1, ln x + C
It is because logarithmic functions are not defined for negative values of x.
3. Constant Multiplier Rule
f(x) = kg(x)
f(x) = 5x
if f(x) exists,
f(x)dx = 5
f(x)dx = Kg(x)dx+c
x2
f(x) =
2
f(x)dx =
x2
+C
2
x2
= 5(
)+C
2
5x2
C
=
2
1
x2dx + C
2
1 x3
( )C
=
2 3
= (
x3
)C
6
[Type text]
Page 37
=2
38
3 2
x C1 ) (6 x C2 )
2
x 2 6x C
; where C = C1 + C2
5. Product Rule
f(x) = (x+2)2
= x2+4x+4
x3 4 x 2
4x C
3
2
f(x)dx =
x3
2x2 4x C
3
6. Quotient Rule
f(x) =
3x 3 2
5x 2
3 x3
2
C
5x2 5x2
3
x 2 / 5x 2 C
5
2 1
3 / 5x 2 / 5x
C
2 1
3 / 5x 2 / 5x C
f(x)dx =
Page 38
39
= 50,000x - x2/2 + C
0= 50,000(0) - (0/2) + C
0=C
R(x) = 50,000x - x2/2
2. The function describing the MC of producing a product is f(x) = x+100, where x =
the number of units produced. It is also known that TC = 40,000 Birr when x is 100
units. Determine the total cost function.
Solution.
MC = x + 100
TC = MC
= (X+100) dx
= xdx + 100dx
= x2/2 + 100x + C
40,000 = (1002/2) + 100(100) +C
=15,000 + C
C = 25,000
C(x) = x2/2 + 100x + 25,000
3. The function describing the marginal profit from producing and selling a product is
f(x) = - 6x+750 where x = the number of units produced and sold. Moreover, when
100 units are produced and sold, total profit equals Birr 25,000. Determine the total
profit function.
Solution
MP = - 6x+750
= -3x2+750x+c
TP = MP dx
= (-6x + 750)dx
= -6xdx + 750dx + C
= -6x/2 + 750x + C
[Type text]
25,000 = 45,000 + C
C = -20,000
P(x) = -3x2+750x-20,000
Page 39
40
Definite Integral
Consider a firm producing some commodity. At a production level of x units, the
marginal cost is: C'(x) = 6x + 8. The antiderivative of the marginal cost is: C(x) = (6x
+8) dx
= 3x2 + 8x + C
If we are told that the fixed cost is Birr 600, then we determine the arbitrary constant
to be C=600.Hence, the cost function is: C(x) = 3x 2 + 8x + 600.
Suppose we wish to determine the total net change in cost if production rises from
x=10 to x=15. This total net change in cost is determined by evaluating
C (15) - C (10)
Since
C (15) = 3 (152) + 8 (15) + 600 = Birr 1,395
and
C (10) = 3 (102) + 8 (10) + 600 = Birr 980
the total net change in cost is
C (15) - C (10) = Birr 1,395 - Birr 980
= Birr 415.
Thus, as production changes from x=10 to x=15, the total cost increases by Birr 415.
Definition
If f is a bounded function on the interval [a, b] we define the definite integral of f
as:
[Type text]
Page 40
f ( x ) dx F ( x )
b
a
41
F (b) F ( a )
Where
The numbers a and b are called limits of integration.
F (b) - the value of the antiderivative at x=b.
F (a) - the value of the antiderivative at x=a.
a - lower limit
b - upper limit
limit x=b.
According to this definition the calculation of the definite integral proceeds as
follows:
1. Determine the antiderivative, F(x), of f(x)
2. Evaluate the antiderivative at x=b and at x= a
3. Subtract F(a) from F(b)
There are three basic assumptions in computing a definite integral. These are:
1. continuity over an interval
2. non-negativity
3. antiderivative exists
Example
1. The marginal revenue function is given as f(x) = 10.
a.
Find the change in total revenue associated with increasing sales from
1500 to 1800 units [1500, 1800]
b.
Find the incremental revenue from selling 1,500 units.
Solution
a.
1800
1500
f ( x ) dx = 10x +C
1800
1500
= F (1800) - F (1500)
= 10(1800) + C - [10(1500) + C
= 10(1800) - 10(1500)
= Birr 3,000
b.
1500
f ( x )dx = 10x
1500
0
= F (1500) - F (0)
= Birr 15,000
[Type text]
Page 41
42
2. The marginal profit for producing and selling x items is given by f(x) = 600- 5x.
What is the change in total profit if the level of production changes from 40 to 60
units?
Solution
60
40
f ( x ) dx
60
= 600x - 2.5x2 40
= F (60) - F (40)
= [600(60) - 2.5(602)] - [600(40) - 2.5(402)]
= 27,000 - 20,000
= Birr 7,000
3. A truck carrying natural gas gets stuck at a low underpass and leaks natural gas at
the rate of L'(t) = 10t +20 cubic feet per minute, where t denotes time (in minutes)
elapsed since the gas first began leaking.
a. Find the total amount of natural gas that has leaked during the first five
minutes. Answer: 225 cubic feet.
b. Find the total amount of natural gas that has leaked during the first 10 minutes.
Answer: 700 cubic feet
c. Find the total amount of gas that has leaked during the fifth minute. Answer: 65
cubic feet
d. Find the total amount of gas that has leaked during the sixth minute Answer: 75
cubic feet
e. If the amount of natural gas that the truck was carrying was 5,100 cubic feet,
how many minutes will be elapsed before the truck is empty? Answer: 30
minutes
Area problems
The fundamental theorem of calculus allows us to compute the area under the
graph of a continuous non-negative function f(x) over the interval a<x<b by
f ( x ) dx F ( x )
b
a
Page 42
43
Y = 2x
(0, 0)
(2, 0)
To compute this area using calculus, apply the integral formula with f(x) = 2x. Take
b = 2 since the region is bounded on the right by the line x=2, and take a=0 since,
on the left, the boundary consists of the single point (0, 0), which is part of the
vertical line x=0. You will find, as expected that
2
Area 2 xdx x 2
0
2
0
F ( 2) F (0) 4
2. Find the area of the region bounded by the curve f(x) = -x 2 +4x - 3 and the x axis.
Solution
From the factored form of the polynomial f(x) = -x 2 +4x - 3 = - (x-3) (x-), we see that
the x-intercepts of the curve are (1, 0) and (3, 0). From the corresponding graph we
see that the region in question is below the curve f(x) = -x 2 +4x - 3 and extends from
x=1 to x=3. Hence,
f(x)
f ( x) x 2 4 x 3
x
0
Area ( x 2 4 x 3)dx
1
x 3 2 x 2 3x
3
F (3) F (1)
4
3
1
Page 43
44
If f(x) < 0 over some interval b <x <c, the corresponding area between the graph of
f(x) and the x-axis lies below the x-axis. The definite integral
f ( x ) dx results in a
value that is the negative of the area, so the absolute value of such a definite
integral gives the area.
Area 1
F(x)
Area 2
Area = Area 1 + Area 2
Where
Area 1 =
f ( x ) dx
or -
f ( x ) dx
Example:
Find the area between the x-axis and the curve f(x) = x 2-9 from x=1to x = 4.
Solution
Sketch the graph and identify the region needed.
f(x)
A1
1
-3
3 4
-9
A2
[Type text]
Page 44
45
1
1
( x 2 9) dx x3 9 x 34 F ( 4) F (3) 3 square units
3
3
3
1
1
1
2
3
3
1 ( x 9)dx 3x 9 x 1 [ F (3) F (1)] (9 3 ) 9 3 square units
Total area= A1 + A2
1
3
1
3
1
3
= 9 3 12 square units
[Type text]
Page 45
46
Multivariable Calculus
1. Functions of several variables
A function such as y = f(x) = x 3 +3x2 +5x 1000 has dependent variable y and
independent variable x. Since there is only one independent variable, f(x) is called a
function of one variable. If a function has two independent variables- say x and yit is called a function of two variables and is usually denoted by f(x, y). If a
function has three independent variables - say x, y and z- it is called a function of
three variables and is usually denoted by f(x, y, z). In general, functions of more
than one variable are called multivariate functions.
As a specific example, we consider a company producing metal tanks. It has been
determined that the daily production cost, z, is dependent on the daily number of
tanks produced, x, and the daily number of person hours used, y. these quantities
are related by the multivariate function
Z = f(x, y) = x2 8x + y2 12y + 1500
If during a given day, the company produced x = 2 tanks and used y = 5 person
hours of labor, then the daily production cost is
Z = f (2, 5) = 22 8(2) + 52 12(5) + 1500 = Birr 1,453.
Example
1. Revenue Function: Several Products
A watch manufacturing company produces two watches named Ovex and Rolex. It
has determined that the demand equations for the two types of watches it produces
are given by
p = 210 4x +y
q = 300 + x 12y
Where p is the price of Ovex watch, q is the price of the Rolex watch, x is the
weekly demand for the Ovex watch, and y is the weekly demand for the Rolex
watch.
a) Find the weekly revenue function R(x, y) and evaluate R (20, 10).
b) If the weekly cost function is C(x, y) = 700 + 70x +100y, find the weekly
profit function P(x, y) and evaluate P(20, 10)
Solution:
a) Revenue = (Demand for the Ovex watch)* (Price of a Ovex watch) +
(Demand
for the Rolex watch)* (price of a Rolex watch)
R(x, y) = (xp) + (yq)
= x (210 4x + y) + y (300 + x 12y)
R(x, y) = 210x + 300y 4x2 + 2xy 12y2
R (20, 10) = 210(10) + 300(10) 4(20) 2 + 2(20) (10) 12(10)2
= Birr 4,800
[Type text]
Page 46
47
2. Cobb- Douglas Production Function [f(x, y) = Cxay1-a where C and a are constants
with 0 < a < 1, x = number of units of labor, and y = number of units of capital]
For some company, the number of units of produced when using x units of labor
and y units of capital is given by the production function
f(x, y) = 80x1/4y3/4
Find the number of units produced when 625 units of labor and 81 units of capital
are used.
Solution:
f (625, 81) = 80(625)1/4(81)3/4
= 80 (5) (27) = 10, 800 units
3. Advertising and Sales
A company spends x thousands of dollars per week on newspaper advertising and y
thousand dollars per week on television advertising. Its weekly sales were found to
be given by
S(x, y) = 5x2y3
Find S (3, 2)
Solution:
S (3, 2) = 5(3)2(2)3 = Birr 360,000
2. Partial Derivatives
We know how to differentiate many kinds of functions of one independent variable
and how to interpret the results. What about functions with two or more
independent variables?
Recall the company producing metal tanks above. It has been determined that the
daily production cost, z, is dependent on the daily number of tanks produced, x,
and the daily number of person-hours used, y. These quantities are related by the
multivariate function
Z = f(x, y) = x2 8x + y2 12y + 1500.
[Type text]
Page 47
48
We now consider finding the instantaneous rate of change of z with respect to x (i.e., the
instantaneous rate of change of cost with respect to the number of tanks produced).
This is expressed by finding the derivative of z with respect to x. however, since z =
f(x, y)has two independent variables, the derivative of z with respect to one of the
independent variables is called a partial derivative, or simply a partial. Specifically,
the derivative of z with respect to x is called the partial derivative of z with respect
to x and is denoted by any of the following:
dz
dx
dz
, fx (x, y), fx. It is defined by
dx
f ( x x, y) f ( x, y)
lim
x
x 0
fy
(x,
dz
lim
dy y 0
y),
fy.
Similarly,
it
f ( x, y y) f ( x, y)
y
is
defined
by
exists.
The partial derivative of z with respect to y is found by treating y as a variable and
the remaining independent variables (in this example, x) as constants. Hence, if Z =
f(x, y) = x2 8x + y2 12y + 1500, then fy(x, y) = 2y 12.
If we wish to evaluate
following notations:
Since
dz
dx
dz
at x = 6 and y = 10, this is denoted by any of the
dx
x 6
,
y 10
dz
dx
( 6 , 10 )
, or fx(6,10).
dz
dz
is given by fx(x, y) = 2x 8, then dx
dx
( 6 , 10 )
fx(6,10) = 2(6) 8
=4
Thus, when x = 6 tanks are being produced daily and y = 10 person hours are being
used daily, the instantaneous rate of change of cost with respect to the number of
tanks produced (i.e., the marginal cost is) is Birr 4. In other words, assuming the
number of person-hours used daily does not change, an additional tank costs
approximately Birr 4.
[Type text]
Page 48
49
dz
dz
dy
x 6
y 10
dz
dy
( 6 , 10 )
, or fy(6,10).
dz
dy
( 6 , 10 )
fy(6,10) = 2(10) 12 = 10
Thus, when x = 6 tanks are being produced daily and y = 10 person hours are being
used daily, an additional person hour costs approximately Birr 8. This assumes the
number of tanks produced daily remains fixed.
Example:
1. The revenue, z, derived from selling x units of calculators and y units of adding
machines is given by the function
Z = f(x, y) = -x2 + 8x - 2y2 + 6y + 2xy + 50
a) At a sales level of x= 4 calculators and y = 3 adding machines, find the marginal
revenue resulting from the sale of an additional calculator.
b) At a sales level of x= 4 calculators and y = 3 adding machines, find the marginal
revenue resulting from the sale of an additional adding machine.
Solution:
a) Since the marginal revenue resulting from the sale of an additional calculator is
defined as the instantaneous rate of change of z with respect to x, we calculate f x by
treating x as a variable and y as a constant. We thus obtain
fx (x, y) = -2x + 8 + 2y
fx (4, 3) = -2(4) + 8 + 2(3) = 6
Therefore, at x = 4 and y = 3, sales revenue is increasing at a rate of approximately
Birr 6 per calculator sold. Hence, the marginal revenue is Birr 6.
b) Since the marginal revenue resulting from the sale of an additional adding machine
is defined as the instantaneous rate of change of z with respect to y, we calculate f y
by treating y as a variable and x as a constant. We thus obtain
fy (x, y) = -4y + 6 + 2x
fx (4, 3) = -4(3) + 6 + 2(4) = 2
Therefore, at x = 4 and y = 3, sales revenue is increasing at a rate of approximately
Birr 2 per adding machine sold. Hence, the marginal revenue is Birr 6.
2.
For some firm the number of units of produced using x units of labor and y
units of capital is given by the production function f(x, y) = 80x 1/4y3/4.
)a
Page 49
50
Solution:
a) Equations for marginal productivities:
Marginal productivity of labor = fx(x, y) = 80(1/4) x-3/4y3/4 = 20x-3/4y3/4.
Marginal productivity of capital = fy(x, y) = 80x1/4 (3/4) y-3/4 = 60x1/4y-1/4.
b) fx(625, 81) = 20(625)-3/4 (81)3/4 = 20(1/125)(27) = 4.32
Thus, when 625 units of labor and 81 units of capital are used, 1 more unit labor
results in approximately 4.32 more units of production.
fy(625, 81) = 60(625)1/4(81)-1/4 = 60(5)(1/3) = 100
Thus, when 625 units of labor and 81 units of capital are used, 1 more unit of
capital results in approximately 100more units of production.
3.
Where x is the number of rooms available for rent and y is the monthly advertising
expenditures. Presently, the hotel has 90 rooms available and is spending Birr 1000
per month on advertising.
a) If an additional room is constructed in an unfinished area, how will this affect
annual profits? Answer: Birr 18,002
b) If an additional Birr is spent on monthly advertising expenditures, how will this
affect profit? Answer: Birr 8,005
4. The cost of producing x washers and y dryers is given by
C(x, y) = 40x + 200y + 10xy + 300
Presently, 50 washers and 90 dryers are being produced. Find the marginal cost of
producing
a) 1 more washer. Answer: Birr 940
b) 1 more dryer. Answer: Birr 700
dz
d dz
with respect to x, or
(
). This is denoted
dx
dx dx
d 2z
by any of the following: 2 , fxx(x, y) or fxx. Take the first partial with respect
d x
to x. Then take the partial of the result again with respect to x.
[Type text]
Page 50
51
dz
dz
d 2z
dxdy
d
dz
dz
with respect to y, or dy (
). This is denoted by
dx
dx
d 2z
dydx
x. then take the partial of the result again with respect to y. NB: For all
continuous functions fyx = fxy.
Example:
1.
For z = f(x, y) = x5 y4 + 3x2y6 + 18, calculate each of the following.
a)
fx
b)fxx
c) fxy
d)fy
e) fyy
Solution:
a)
5x4 + 6xy6
e) 12y2 + 90x2y4
f) 36xy5
2.
f) fyx
d) 4y3 +18x2y5
For z = f(x, y) = 3x2 + 4y5 8x3y6 + 15, calculate each of the following.
a) fx
b)fxx
c) fxy
d)fy
e) fyy
f) fyx
Solution:
b)
6x - 24x2y6
20y4 -48x3y5
e) 80y3 - 240x3y4 f) -144x2y5
b) 6 - 48xy6
c) -144x2y5
d)
Page 51
52
This rule states that if a function z = f(x, y) has either a relative maximum or a
relative minimum at a point (x 0, y0) and if both partial derivatives
dz
dy
dz
and
dx
exist at (x0, y0), then it is necessary that both partial derivatives, when evaluated at x
= x0 and y = y0, to be equal to zero. This is because at a relative maximum or
minimum located at (x0, y0), the slope, fx(x0, y0), of the tangent line parallel to the xz
plane is zero and the slope f y(x0, y0), of the tangent line parallel to the yz plane is
zero. Such a point (x 0, y0), at which both partial derivatives
dz
and
dx
dz
dy
equal
zero, is called a critical point of the function z= f(x, y). Thus to determine relative
maxima and relative minima of functions of two variables, we first search for
critical points. A point f(x0, y0) is called a critical point of z = f(x, y) if f x(x0, y0) = 0
and fy(x0, y0) = 0. Critical points yield candidates for relative maxima/minima.
Example:
1.
Find the critical points for the function z = f(x, y) = x 2 8x + y2 12y + 1500
Solution
We must compute fx and fy, set them equal to zero, and solve for x and y. computing
fx and fy gives
fx = 2x 8 and fy = 2y - 12
Setting fx and fy equal to zero and solving for x and y yields
0 = 2x 8 0 = 2y - 12
x=4
y=6
Thus, the point (x0, y0) = (4, 6) is the only critical point of the function z = (x, y)
2.
[Type text]
3x 2 2
. Substituting x = 2 in to this equation gives
2x
Page 52
53
3(2) 2 2 14
7
3( 2) 2 2 14
7
1.
2.
3.
4.
Example
1.
Find any relative maxima and minima of the function
z = f(x, y) = x2 8x + y2 12y + 1500
Solution
First, we find the critical points. Computing fx and fy gives
fx = 2x 8 and fy = 2y - 12
Setting fx and fy equal to zero and solving for x and y gives x = 4 and y = 6. Hence,
(4, 6)is the only critical point. We now apply the second derivative test for functions
of two variables. Computing fxx, fyy, and fxy gives
fxx(x, y)= 2, fyy(x, y)= 2 and fxy(x, y)= 0.
Evaluating each of these at the critical point (x, y) gives
A = fxx(x, y) = 2
B = fyy(x, y) = 2
[Type text]
Page 53
54
C = fxy(4, 6) = 0
AB C2= 2(2)-02 = 4
Since AB C2> 0 and A > 0, then, according to the second derivative test, a relative
minimum occurs at (4, 6). Thus, the relative minimum value of z is z (4, 6) = (4) 2
8(4) + (6)2 12(6) + 1500 = 1448.
To find relative extrema for functions of two variables
1.
Search for critical points
Set the first order partials equal to zero and solve for x and y
Example
1. The revenue, z, derived from selling x units of calculators and y units of adding
machines is given by the function
Z = f(x, y) = -x2 + 8x - 2y2 + 6y + 2xy + 50
a) How many calculators and adding machines should be sold in order to
maximize sales revenue?
b) What is the maximum sales revenue?
Solution
Critical points
[Type text]
Page 54
55
Solution
a) The total sales revenue is given by R(x, y) = 100x + 80y
b) The total profit function is given by
P(x, y) = R(x, y) C(x, y)
= 100x +80y (10x2 + 5y2 10xy 20x +5y +12)
= -10x2 - 5y2 + 10xy + 120x + 75y 12
c) computing Px and Py, we have
Px = -20x + 10y + 120
Py = -10y + 10y + 75
Setting Px and Py equal to zero and solving for x and y yields the critical point,
(19.5, 27). Computing Pxx, Pyy, and Pxy and applying the second derivative test for
functions of two variables gives
Pxx(x, y) = -20
Pyy(x, y) = -10
Pxy(x, y) = 10
Hence,
A = Pxx(19.5, 27) = -20
[Type text]
Page 55
56
[Type text]
Page 56
57
Lagrange Multipliers
Some times we must optimize a function z= f(x, y), where x and y are constrained.
As an example, consider a factory that burs two types of fuel: BF108 and BF109. The
number of tons of pollutant exhausted by the factory in a year is given by
Z = f(x, y) = x2 +2y2 xy 279,990.
Where x is the amount (in thousands of gallons) of BF108 fuel used annually and y
is the amount (in thousands of gallons) of BF109 fuel used annually. The factory
uses a combined amount of 800 thousand gallons of fuel annually. We seek to
determine how many thousands of gallons of each type of fuel should be burned
annually in order to minimize the amount of pollutant exhausted.
Since the factory uses a combined amount of 800 thousand gallons of fuel annually,
then
x + y = 800
Mathematically, our problem is to
Minimize f(x, y) = x2 +2y2 xy 279,990.
Subject to the constraint g(x, y) = x + y =800
[Type text]
Page 57
58
3
x
5
3
x for y in to the third equation 800 x y yields
5
3
800 x x = 0. Solving for x, we obtain x = 500.
5
3
3
Substituting x = 500 in to y = x , we have y = (500) 300.
5
5
Substituting
We now substitute x = 500 and y = 300 in to either of the equations for . Arbitrarily
choosing the equation = 2x y we obtain = 2(500) 300 = 700. Thus, the
function F has a critical point x= 500, y = 300, and = 700.
[Type text]
Page 58
59
Then we test the critical points for maxima and minima. The function F has only
one critical point at (500, 300, 700), we conclude that (500, 300) produces a
minimum for f. Hence,
Min f(x, y) = f (500, 300)
= (500)2 + 2(300)2 (500) (300) 279,990.
= 10 is the minimum number of tons of exhausted pollutant.
Interpretation of Lambda,
If x = x0, y = y0 and = 0 are the optimal solution values to the constrained
optimization problem
Maximize (or minimize) z = f(x, y) subject to g(x, y) = C then it can be
shown that
dz
dz
0 where
is evaluated at the optimal solution values.
dc
dc
In other words, 0 is the rate of change of z with respect to c and thus measures the
sensitivity of the optimal value of f to a change in c. returning to our original
example, recall that 0 = 700. Since
dz
= 0 = 700, then each unit increase in c (i.e.,
dc
each additional thousand gallons of fuel used) increases the optimal amount of
pollutant exhausted by approximately 700 tons.
[Type text]
Page 59