Professional Documents
Culture Documents
LN2 2021
LN2 2021
Lesson 2: Differentiation
Nguyen Chanh Tu, DUT
Email: nctudut@gmail.com; nctu@dut.udn.vn
Tel: 0914179882
(Trích xuất từ bài giảng trên môi trường tương tác Maple)
Derivatives
Velocity
You go from Quang Tri to Danang by motorbike. At t0 = 7 am your motobike at Hue, the
milestone shows s t0 = 650 km, and you reach Danang at 10 am, the milestone shows
s t1 = 10 = 760 km.
1. What is your average velocity from t0 = 7 am to t1 = 10 am? How to compute the average
velocity from t0 to t0 Ch if your function of moving is s = f t ?
2. At Hue, your speedometer shows 35 km per hour. What does it mean?
How to compute that ?
sol
1. Vav =
2. Vav =
O
Slopes of Curves
Find the slope of the tangent of the curve at P.
f ' a = the slope of the tangent to the curve y = f x at the point P = a , f a
It is called the derivative at point a.
Exam
Derivative
Slope of the tangent
f a Ch Kf a
• mPQ =
h
f a Ch Kf a
• mT = f ' a = limh/0
h
Def
1. The derivative of the function f at point/number a, denoted by f ' a , is given by the
formula:
f a Ch Kf a
f ' a = lim .
h/0 h
f x Ch Kf x
2. Let a move and denote by x, then we have f ' x = lim .
h/0 h
This function is called the derivative function of f.
3. The equation for the tangent L to the graph of y = f x at the point a, f a is
y Kf a = f ' a x Ka
Exams
3
1. Use definition to find the derivative f ' x of the function f x = x Cx K1.
3
2. Write down the equation of the tangent of f x = x Cx K1 at a = 1.
Notations
f ' x or
O
Chain Rule
Suppose that y is a function of u, and that u is a function of x
dy dy du
Then = (Chain Rule)
dx du dx
Or y u x '= y u '$u x '
O
Properties
Exam
Exam 6.3.2
Find the derivative of the cubic function
1 3 2
f x =K x C2 x K3 x C1. Then examine where f is increasing/decreasing.
3
sol
O
O
Rate of change
• The derivative of a function at a particular point was defined as the slope of the tangent to its
graph at that point. Economists interpret the derivative in many important ways, starting with the
rate of change of an economic variable.
• Suppose that a quantity y is related to a quantity x by y = f x . If x has the value a, then the value
of the function is f a . Suppose that a is changed to a Ch.
• The change in y per unit change in x has a particular name, the average rate of change (tỷ lệ thay
f a Ch Kf a
đổi trung bình) of f over the interval from a to a Ch.
h
Rate
• Biến thiên; tỷ lệ; tỷ suất (kt); tốc độ; hệ số
O
• Taking the limit as h tends to 0 gives the derivative of f at a, which we interpret as follows:
The instantaneous rate of change (tỷ lệ thay đổi tức thời) of f at a is
f a Ch Kf a
f ' a = lim
h/0 h
f' a
• The relative rate of change (tỷ lệ thay đổi tương đối) of f at a is:
f a
Exam 1
Let N t be the number of individuals in a population (of, say, humans, animals, or plants) at time
t. If t increases to t Ch, then the change in population is equal to N t Ch KN t
individuals. Hence,
N t Ch KN t
h
dN
is the average rate of change. Taking the limit as h tends to 0 gives N' t or for the
dt
instantaneous rate of change of population at time t .
O
Note
Putting h = 1 in (3) makes marginal cost approximately equal to
C' x ≈ C x C1 KC x
This is approximately equal to the incremental cost C x C1 KC x , that is, the additional cost
of producing one more unit than x.
Exam in Lesson 1
The total dollar cost of producing x units of a product is given by C x = 100 x x C500 for
each nonnegative integer x.
1. Find the cost of producing 16 units. C 16 = 6900 $
2. Suppose the firm produces a units; find the increase in the cost from producing one additional
unit by using marginal cost.
a. Compute C a C1 KC a as in Lesson 1)
b. Approximate by compute C' a : marginal cost
3. What is the meaning of C' 100 ?
O C x d 100 x x C500 : OneUnit d C a C1 KC a ;
3/2 3/2
OneUnit := 100 a C1 K100 a (3.6.1)
O subs x = a, C' x ;
150 a (3.6.2)
O subs a = 1600, OneUnit ; evalf %
160100 1601 K160000 1600
6000.938 (3.6.3)
O subs a = 1600, C' a : evalf %
6000.000000 (3.6.4)
O
Sol
O
Exam 2 (207)->HW
Sol
O
The method of implicit diffrentiation
Exam 3 (208) (HW)
Economics Examples
Exam 1(210)
Sol (b)
O
Exam 2 (HW)
Exam 4.5.4
O
In the linear supply and demand model of Example 4.5.4, suppose that a tax of t per unit is
imposed on consumers’ purchases, thus raising the price they face from P to P Ct . Then
D = a Kb P Ct , S = a Cb$P (*)
Here a, b, α, and β are positive constants. The equilibrium price is determined by equating
supply and demand, so that
a Kb P Ct = a Cb$P ()))
(a) Equation ())) implicitly defines the price P as a function of the unit tax t. Compute dP/dt
d
by implicit differentiation. What is its sign? What is the sign of P Ct ?
dt
Check the result by first solving equation ())) for P and then finding dP/dt explicitly.
Sol
dP b
Differentiating Kb P Ct = a Cb$P w.r.t. t yealds =K
dt b Cb
We see that dP/dt is negative. Because P is the price received by the producer, this price
will go down if the tax rate t increases. But P Ct is the price paid by the consumer.
Because
d dP b b
P Ct = C1 =K C1 = .
dt dt b Cb b Cb
we see that 0 < d(P +t)/dt < 1. Thus, the consumer price increases, but by less than the
increase in the tax.
a Ka b
If we solve ())) for P, we obtain P = K t.
b Cb b Cb
This equation shows that the equilibrium producer price is a linear function of the tax per
b
unit, with slope .
b Cb
O
(b) Compute tax revenue T as a function of t. For what value of t does the quadratic function T
reach its maximum?
Sol
The total tax revenue is T = St = a C bP t , where P is the equilibrium price. Thus,
a Ka b b$b 2 a b C ab
T = a Cb K t t =K t C t
b Cb b Cb b Cb b Cb
ab C ba
This quadratic function has its maximum at t = .
2 b$b
O
(c) Generalize the foregoing model by assuming that D = f P Ct and S = g P , where
f and g are differentiable functions with f'! 0 and g'O 0. The equilibrium condition
f P Ct = g P
defines P implicitly as a differentiable function of t . Find an expression for dP/dt by
implicit differentiation. Illustrate geometrically.
Sol
Differentiating the equation f (P + t) = g(P) w.r.t. t yields
dP dP
f ' P Ct C1 = g ' P $ (*)
dt dt
dP f ' P Ct
Then =
dt g' P Kf ' P Ct
Because f '! 0 and g'O 0 , we we see that dP/dt is negative in this case as well.
Moreover,
d dP g' P
P Ct = C1 = .
dt dt g' P Kf ' P Ct
which implies that 0 < d(P + t)/dt < 1.
Differentiating the Inverse (optional)
Exam
1
y = f x = ax Cb and y = g x = x Kb .
a
O
Theorem 7.3.1
If f is differentiable and strictly increasing (or strictly decreasing) in an interval I,
then f has an inverse function g, which is strictly increasing (strictly decreasing)
in the interval f I . If x0 is an interior point of I and f ' x0 s 0, then g is differentiable at
1
y0 = f x0 and g' y0 = y0 = f x0
f ' x0
Exam 0;
Compute 9.1 and 8.9 without using calculator by using linear approximation
1
Use a = 9 and f x = x z a C x Ka
2$ a
O
O
Exam 1
3 3
Find the linear approximation to f x = x about a = 1. Apply to compute 1.05 .
sol
O
Exam 2
Show that ln 1 Cx zx for x close to 0.
sol
O
Exam 5
50
Use (1) to find an approximate value for 1.001 .
n
Show that 1 Cx z n$x, when x closes to 0.
Sol
• A savings account of $K that increases by p% interest each year will have increased
t
after t years to K(1+p/100 . According to this formula with K = 1, a deposit of $1
t
earning interest at 8% per year (p = 8) will have increased after t years to 1.08 .
Doubling time.
savings account of $K that increases by 6% interest each year. When can you get double?
Exam 4
1. Find the doubling time of an amout of money A deposit in a bank with an interest rate
6 % per year.
* t
2. Find the doubling time t of an exponential function f t = A a .
Sol
ln 2
O evalf :
6
ln 1 C
100
Sol
Points c at which f is differentiable and f ' c = 0 are called critical, or stationary points.
O
O
Exam 2
2x x x x
Consider the function f x = e K5e C4 = e K1 e K4 .
(a) Find the zeros of f x and compute f ' x .
(b) Find the intervals where f increases and decreases, and determine possible extreme points
and values.
(c) Examine lim f x . Sketch the graph of f.
x /KN
5 2x x
O subs x = ln , exp 1 K5 exp 1 C4 ; evalf %
2
5 5
2 ln ln
2 2
e K5 e C4
K2.250000000 (5.3.3.1)
2x x
O plot exp 1 K5 exp 1 C4, x =K5 ..5, y =K5 ..5 ;
y
2
K4 K2 0 2 4
x
K2
K4
O
Sol
O
O
Theorem 8.2.2 (MAXIMUM/MINIMUM FOR CONCAVE/CONVEX FUNCTIONS)
Suppose f is a concave (convex) function in an interval I . If c is a stationary point
for f in the interior of I , then c is a maximum (minimum) point for f in I .
O
Second derivative tests for concave and convex
O
Exam 3 (optional)
xK1
Consider the function f x = e Kx. Show that f is convex and find its minimum point.
Sketch the graph.
xK1
O plot exp 1 K x, x =K2 ..2 :
Sol
Economic Examples
Exam 1
Suppose Y N bushels (giạ) of wheat are harvested per acre (mẫu Anh) of land when N pounds
of fertilizer (phân bón) per acre are used. If p is the dollar price per bushel of wheat and q is
the dollar price per pound of fertilizer, then profits in dollars per acre are
*
p N = p$Y N KqN. Find the amount of fertilizer N which maximizes the profit for the
following cases.
(a) In an (unrealistic) example Y N = N , p = 10, q = 0.5.
(b) An agricultural study in Iowa estimated the yield function Y N for the year 1952 as
1.5
Y N = 13.62 C0.984$N K0.05 N , p = 1.40, q = 0.18
Sol
O
Exam 2 (read yourself)
(a) The total cost of producing Q units of a commodity is
2
C Q = C$Q C10$Q C32, Q O 0.
Find the value of Q which minimizes the average cost function
C Q 32
A Q = = 2$Q C10 C .
Q Q
(b) The total cost of producing Q units of a commodity is
2
C Q = a$Q Cb$Q Cc, Q O 0;
where a, b and c are positive constants. Show that the average cost function
C Q c * c
A Q = = a$Q Cb C has a minimum at Q = . In the same coordinate
Q Q d
system, draw the graphs of the average cost, the marginal cost, and the straight line
P = a$Q Cb.
Sol
O
O
Exams
Exam 1
2
Find the maximum and minimum values for f x = 3 x K6 x C5, x in 0, 3 .
Sol
Exam 2
1 4 5 3 1 2
Find the maximum and minimum values for f x = x K x C x K1, x 2 K1, 3 .
4 6 2
sol
O
O
O
(d) What is the smallest price per unit the firm must charge in order not to lose money, if
capacity is fully utilized (that is if it produces110 units)?
Sol
O
Exam 3 (HW)
Consider an example at the other extreme, where the firm has a monopoly in the sale of the
commodity. Assume that the price per unit, P Q , varies with Q according to the formula
1
P Q = 100 K Q, Q 2 0, 300 .
3
1 3 1000
Suppose now the cost function is C Q = $Q C50$Q K .
600 3
Find the production level that maximizes profit, and compute the maximum profit.
Sol
Homework
Sec 6.1
I. 1-2
O
Sec 6.2
I 2,3
III. 5-7
Sec 6.3
I: 1-3
O
Sec 6.4
I. 1-6; III. 7-8
O
Sec 6.8
I. 1-3, 7,8,10,11
III, 9,12
Sec 6.9
I. 1,2,9,10
O
7.1
I. 1-4,7
III. 5-6.8-10
O
7.2
1,2,4
O
8.1
II
1: a,b,c at least 1.;
2. a,b,c at least 1
O
8.2
I 1, 3
II 5-8 at least 2
O
8.3
II 1-3 at least 2
O
8.4
I. 1,5
II. 2 a-e at least 2; 4-5 at least 1.
O
8.5
I. 1
II. 2-6 at least 2
O
Quiz: (20 minutes)