Calculus Lecture Notes
Calculus Lecture Notes
CHAPTER ONE
1. INTRODUCTION
1.1. Theoretical Vs Mathematical Economics
Since mathematical economics is merely an approach to economic analysis, it should not and does
not differ from the nonmathematical approach to analysis in any fundamental way. The purpose
of any theoretical analysis, regardless of the approach, is always to drive a set of conclusions or
theorems from a given set of assumptions or postulates via a process of reasoning. The major
difference between “mathematical economics” and “literary economics” lies principally in the fact
that, in the former, the assumptions and conclusions are stated in mathematical symbols rather than
words and in equations rather than sentences; moreover, in place of literary logic, use is made of
mathematical theorems-of which there exists an abundance to draw upon-in the reasoning process.
Moreover, mathematical economics draws upon mathematical logics unlike the literary logic,
which is drawn by literary economics. At this juncture, you may ask yourself “If the two
approaches’ ends are the same-establish valid hypotheses, then why do economists choose
mathematical approaches with which many literary people are in phobia?”
In fact, it is amazing to see people in horror with mathematics for mathematics is making things
simpler and our life less costly. The choice between literary approach and mathematics approach
to economic reasoning is like the choice between horse cart and plane for travel from Hawassa to
Addis. The time and cost savings associated with plane or cars has driven out the horse cart from
the market of travel from Hawassa to Addis. An economist without the tools of mathematics is
like a blind person swimming in the middle of an ocean. Till this person gives up, he will continue
to struggle till he reaches an island; but his blindness has left him as incapable to identify whether
swimming to the north, south, east or west is the shortest distance to an island. But an economist
equipped with the tools of mathematics is like a normal person with motorboat or ship depending
upon his personal inclination to each. As a result, most economic researchers are extensively using
the tools of mathematics to economic reasoning. Specifically mathematical approach has the
following advantages:
Page | 1
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
For calculus is the study of functions, it is necessary to see what a function is. Function, as you
might remember it, is a unique mathematical rule that relates one or more variables to determine
another variable. It is a special type of relation in which an independent variable (domain) can
never be tied with more than one dependent variable (range). It is a relationship between numbers
in which to each element in the input (domain), there corresponds exactly one element in the output
(range).
For most functions in this course, the domain and range will be collections of real numbers and
the function itself will be denoted by a letter such as f . The value that the function f assigns to the
number x in the domain is then denoted by f (x) (read as“ f of x ”), which is often given by a
Page | 2
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Functions are often defined using more than one formula, where each individual formula describes
the function on a subset of the domain. A function defined in this way is sometimes called a
piecewise-defined function. Here is an example of such a function.
Determining the natural domain of a function often amounts to excluding all numbers x that result
in dividing by 0 or in taking the square root of a negative number. This procedure is illustrated in
the following example.
Page | 3
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
i. Vein diagram
A B C
1 1
1 1 1 1
2 2
2 2 2 2
3 3
3 3 3 3
4 4
4 4 4
The column which represents initial points of the rays is the column of domain and the column to
which the rays are directed is the column of range. In this example, Vein diagram A and B are
functions since we don’t have any two range values mapped from a single domain. But, C is not a
function since the independent variable [domain] value 1 is tied to output [range] values of 2 and
5.
In this example, A is not a function since domain ‘2’ is mapped to more than one element in the
range but B is a function.
A. Y= x + 4 is a function
Domain: x+4 0; i.e.= x : x −4 and Range : Y 0
Page | 4
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
i. Algebraic functions
ii. Non algebraic function
⇒Algebraic functions
Page | 5
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Before generalizing what an algebraic function is (are), let’s see each type of algebraic functions.
There are four types of non-algebraic functions that are commonly used in economics; i.e.
i. Exponential function
ii. Logarithmic function
iii. Trigonometric function and
iv. Incommensurable power functions
In this course you will be introduced with the first two non-algebraic functions and the rest are left
for further studies.
i. Exponential Functions
A function of the general form f (x) = b x , where b is a positive number, is called an exponential
function. Such functions can be used to describe exponential and logistic growth and a variety of
Page | 6
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
other important quantities. For instance, exponential functions are used in demography to forecast
population size, in finance to calculate the value of investments, in archaeology to date ancient
artifacts, in psychology to study learning patterns, and in industry to estimate the reliability of
products.
Note that the domain of exponential function is the set of real numbers and the range of the function
is that set of positive real numbers. Graphically, exponential functions look like the following.
Exponential functions obey the same algebraic rules as the rules for exponential numbers. These
rules are summarized in the following box.
Page | 7
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Page | 8
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
In calculus, the most frequently used logarithmic base is e. In this case, the logarithm log e x is
called the natural logarithm of x and is denoted by ln x (read as “ el en x ”); that is, for x 0 .
Page | 9
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
variable while other things remain unchanged. We can, of course, also investigate the effects on y
of changing x while z is held constant.
1.2.4. Inverse and Implicit Functions
Inverse Functions
Many important mathematical relationships can be expressed in terms of functions. For example,
the demand for a product is a function of the price p. Mathematically, Qd ( p) = 50 − 2 p . In many
cases, we are interested in reversing the correspondence determined by a function. Thus, we can
express price of a product as a function quantity demanded, Q as below:
1
p (Qd ) = 25 − Qd
2
As this examples illustrates, reversing the relationship between two quantities often produces a
new function. This new function is called the inverse of the original function and is usually
denoted by f −1 .
Note: It turns out that one-to-one functions are the only functions that have inverse functions. A
function is one-to-one if no two ordered pairs in the function have the same second component
and different first co𝑚𝑝𝑜𝑛𝑒𝑛𝑡𝑠.
Page | 10
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
y = x −1
y2 = x −1
x = y2 +1
Thus, x = f −1 ( y ) = y 2 + 1
Step 3: Interchange x and y
y = f −1 ( x) = x 2 + 1
Step 4: Find the domain of f −1 . The equation f −1 ( x) = x 2 + 1 is defined for all values of x, but
this does not tell us what the domain of f −1 is. Remember, the domain of f −1 must equal the
range of f. From the graph of f, we see that the range of f is [0, ). Thus, the domain of f −1 is
f −1[ f ( x)] = f −1 ( x − 1)
=( x − 1)2 − 1
= x −1+ 1
=x
For x in [0, ), the domain of f, we have
Page | 11
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
f [ f −1 ( x)] = f ( x 2 + 1)
= ( x 2 + 1) − 1
= x2
= x x 2 = x for any real number x
=x x =x for x 0
x x +1
a. f ( x) = , x0 c. f ( x) = , x −2
x −1 x+2
3 4 + 3 4x
b. f ( x) = , x 1 d. f ( x) =
4x − 4 2
Implicit Functions
So far we have been working with functions in which dependent variable is an explicit function of
the independent variables. In other words, all the functions we have studied have the independent
variables on the right side and dependent variable y on the left side. For instance, in univariate
2x 2
functions, we have been considered functions like y = 2 x 2 + 1 , y = , y = ln( x + 1) and so on
x −1
and each denoted as y = f (x) . In multivariate functions, we have seen functions like
x12
y = 2 x + 5 x2 , y =
2
, y = x1e 2 x2 and so on and each denoted as y = f ( x1 , x2 ).
x1 + 2 x2
1
This ideal situation of an explicit function does not always occur in economic models. Frequently,
the equations which arise naturally have the independent variables mixed with the dependent
variable. In other words, the equations which appear in economic models have both the
independent and dependent variables on the left side and a constant on the right side. Such type of
functions are said to be implicit functions.
Page | 12
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
2 x12 − 3x22 + 4 y − 3 = 0 and 3x1 x 2 + x 2 y 2 = 0 are examples of implicit functions with two
F ( x1 , x2 , . . . xn , y ) = 0
Notice that we use the capital letter F to denote implicit function and a small letter f to denote
explicit function. For instance, we use y = f ( x1 , x2 ) and F ( x1 , x2 , y) = 0 to de note an explicit and
1. A function y = f (x) is strictly (or monotonic) increasing on the interval (a, b) if its graph
moves upward from left to right on that interval. More precisely, a function f is strictly increasing
on (a, b) if f ( x1 ) f ( x2 ) whenever x1 x2 on (a b) . For instance, the function in figure (a) is
strictly increasing.
2. A function y = f (x) is strictly (or monotonic) decreasing on the interval (a, b) if its graph
moves downward from left to right on that interval. More precisely, a function f is strictly
Y Y Y
X X X
Page | 13
Figure a Figure b Figure c
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Homogeneous Functions
In other words, a function f is homogeneous with degree k if it satisfies the property that when all
the independent variables are changed by same proportion or amount t, the dependent variable y
changes by tK.
Example: Show that the following are homogeneous or not. If so, find the degree homogeneity.
b) y = f ( x1 , x2 ) = 2 x 2 + 7 x1 x2 + 6 x22
solution
f (tx 1 , tx2 ) = 2(tx1 ) 2 + 7(tx1 )(tx2 ) + 6(tx3 ) 2
= t 2 (2 x12 + 7 x1 x2 + 6 x22 )
= t 2 2 x12 + 7 x1 x2 + 6 x22 )
= t f ( x1 , x2 )
c) y = f ( x1 , x2 ) = 3x12 + 6 x2
solution
f (tx1 , tx2 ) = 3(tx1 ) 2 + 6(tx2 )
= 3t 2 x12 + 6tx2 = t (3tx12 + 6 x2 )
Page | 14
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Functions, in economics, have diverse and versatile importance. To come up with neater
theoretical results, it is good to model relationships in terms of mathematical functions. Though
functions are used almost in all specializations of economics extensively, in this course you will
be introduced with the most common microeconomic and macroeconomic functions. Detailed
acquaintance with these functions is left for your “life in economics”.
The most common microeconomic functions are demand functions, supply functions, production
function, cost functions, revenue functions, profit functions, pollution functions, and other natural
resource functions. The most common macroeconomic functions are consumption, saving,
investment, and aggregate production functions. There are also, a lot of other economic functions,
but we don’t discuss them here due to time limit we have. For the sake of introduction, let’s take
some examples of economic functions.
Definitions
Demand Function: Qd = f ( p) = a − bp
Supply function : Qs = f ( p) = a + bp
Martket equilibrium : Qs = Qd
Revenue function : R = (number of sold ) (unit price) = pQ
Cos t function : C = f (Q) = VC + FC = mQ + b, where b is constant
Profit function : = R(Q) - C (Q) = Re venue - cos t
Break − even point: = R (Q) - C (Q) = 0
Marginal Analysis: In economics and business the term marginal stands for a rate of change.
Marginal analysis is an area of economics concerned with estimating the effect on quantities such
as cost, revenue, and profit when the level of production is changed by a unit amount. For example,
marginal revenue, marginal profit, marginal cost, etc.
Examples
1. Find the equilibrium point for the supply function S(p) = 3p + 50 and the demand function
D(p) = 100 -2p.
Page | 15
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Solution.
Setting the equation S ( P*) = D( P*) to obtain 3 p * −50 = 100 − 2 p * . Solving for p * we find
p* = $30 . Substituting this value in S(p) we find q* = 40 .
Exercise
1. Suppose that a certain product has the following demand and supply functions.
Demand : 2 p + 5q = 200
Supply : 2 p − 5q = 10
Page | 16
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
CHAPTER TWO
5. LIMIT AND CONTINUITY
2.1 The Concept of Limit
Roughly speaking, the limit process involves examining the behavior of a function f ( x ) as x
approaches a number c that may or may not be in the domain of f . Limiting behavior occurs in a
variety of practical situations. For instance, economists who speak of profit under ideal conditions
or engineers profiling the ideal specifications of a new engine are really dealing with limiting
behavior.
To illustrate the limit process, consider a manager who determines that when x% of her
company’s plant capacity is being used, the total cost of operation is C hundred thousand dollars,
where
8 x 2 − 636 x − 320
C ( x) =
x 2 − 68 x − 960
The company has a policy of rotating maintenance in an attempt to ensure that approximately 80%
of capacity is always in use. What cost should the manager expect when the plant is operating at
this ideal capacity?
It may seem that we can answer this question by simply evaluating C(80), but attempting this
0
evaluation results in the meaningless fraction . However, it is still possible to evaluate C ( x )
0
for values of x that approach 80 from the right ( x 80 , when capacity is temporarily overutilized)
and from the left ( x 80 , when capacity is underutilized). A few such calculations are summarized
in the following table.
The values of C(x) displayed on the lower line of this table suggest that C(x) approaches the
number 7 as x gets closer and closer to 80. Thus, it is reasonable for the manager to expect a cost
of $700,000 when 80% of plant capacity is utilized. The functional behavior in this example can
be described by saying “C(x) has the limiting value 7 as x approaches 80” or, equivalently, by
writing
lim 𝐶(𝑥) = 7
𝑥 → 80
More generally, the limit of f(x) as x approaches the number c can be defined informally as
follows.
Page | 17
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
x 1 x −1
Example: Find a. lim x
x →0
b. lim x
x →0
c. lim 2 x − 1
x →1
Solution
x 1 if x 0
= .
x −1 if x 0
x
lim x = −1 (LHL-left hand limit) and
x → 0−
x
lim x = 1 (RHL-right hand limit)
x → 0+
x x x
lim x lim x , lim x
x → 0− x → 0+ x →0
does not exist(DNE)
1
lim x = −( LHL)
x → 0−
b.
1
lim x = +( RHL)
x → 0+
x x x
lim lim , lim does not exist(DNE)
x → 0− x x →0+ x x → 0 x
Page | 18
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
x −1 1−1
c. lim = =0/2=0
x →0 2x − 1 2 − 1
Limits obey certain algebraic rules that can be used to simplify computations. These rules, which
should seem plausible on the basis of our informal definition of limit, are proved formally in more
theoretical courses.
Here are two elementary limits that we will use along with the limit rules to compute limits
involving more complex expressions.
Examples
Page | 19
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
b) lim 9 = 9
x → −4
e) lim x = b
x →b
g) lim x3 = lim x = (2)3 = 8
x→2 x→2
3
−2
h) lim
1
= lim x -2
= lim = 3 -2 = 1 = 1
x→ 3 x2 x →3 x →3 32 9
i) lim
x → −3
3
x2
x → −3
lim x2/3 = lim x
x → −3
2/3
= (-3)2/3 = 3
(−3)2 = 3 9
Summary:
In evaluating limit of a function, we come up with one of the four different results that we
summarize them below. Assume that L represents some non-zero real number when L appears in
the denominator.
L Limit is L
0 Limit is zero
L
Page | 20
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Limits by Rewriting
x 2 − 3x + 2
a. lim
x→2 x − 2
Solution
x 2 − 3 x + 2 ( x − 2)( x − 1)
= = x − 1, x 2
x−2 x−2
x 2 − 3x + 2
lim = limx − 1 = 1
x→2 x−2 x→2
2x
b. lim
x→0 2 x + x + 1 − x − 3x + 1
2 2
Solution
2x 2x 2 x 2 + x + 1 + x 2 − 3x + 1
= .
2 x 2 + x + 1 − x 2 − 3x + 1 2 x 2 + x + 1 − x 2 − 3x + 1 2 x 2 + x + 1 + x 2 − 3x + 1
=
2x ( ) 2x (
2 x 2 + x + 1 + x 2 − 3x + 1
=
2 x 2 + x + 1 + x 2 − 3x + 1 )
( 2 x + x + 1 ) − ( x − 3x + 1 ) x2 + 4 x
2 2
2 2
2 ( 2 x + x + 1 + x − 3x + 1 )
2 2
=
x+4
lim
2x
= lim
2 ( 2 x 2 + x + 1 + x 2 − 3x + 1 ) =1
x→0 2 x + x + 1 − x − 3 x + 1 x→0
2 2 x+4
Page | 21
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
x ( x −1)
2
x −x
c. lim = lim = lim x = 1
x→1 x − 1 x→1 x − 1 x→1
The best method to deal with indeterminate limits is the L-H ô pital’s rule. L-H ô pital’s rule
f ( x) f '( x)
states that lim is equivalent to lim .
x→a g ( x) x → a g '( x )
2
x −x
Example: lim
x→1 x − 1
h-method
We put a + h in place of x and simplify such that h gets cancelled from denominator and
numerator. Putting h = 0 ,we get the limit of f ( x ) as a → 0 .
x3 − 1
Example: Evaluate lim
x →1 x − 1
2
x3 − 1 (h + 1)3 − 1
lim = lim
x →1 x − 1 h →0 ( h + 1) − 1
2 2
(h3 + 3h 2 + 3h + 1) − 1
= lim
h →0 (h 2 + 2h + 1) − 1
h3 + 3h 2 + 3h h 2 + 3h + 3 3
= lim = lim =
h →0 h 2 + 2h h →0 h+2 2
Expansion Method
This method is applicable to functions which can be expanded in series. The following expansions
are often used in economics.
x 2 x3
a. e x = 1 + x + + + ...
2! 3!
−x x 2 x3
b. e = 1 − x + − + ...
2! 3!
x 2 x3 x 4
c. log(1 + x) = x − 1 − + − + ... = ln(1 + x)
2! 3! 4!
d. By Binomial theorem, when x 1 , we get
Page | 22
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
1 1 1 1 1
( − 1) − 1 − 2
.x 2 + x x x 3
1
(1 + x) = 1 + .x +
1 x x
x
.x + ...
x 2! 3!
(1 − x ) (1 − x )(1 − 2 x )
= 1 + 1 + + + ...
2! 3!
ex − e
c. lim
x →1 x −1
Putting x = 1 + h, where h → 0
Page | 23
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
ex − e eh+1 − e
lim =
x →1 x − 1 lim
h →0 h
e .e − e
1 h
e(eh − 1) eh − 1
=hlim
→0 h =hlim
→0 h =eh→lim
0 h
= e 1 = e
One-sided Limits
To have a limit L as x approaches c, a function ƒ must be defined on both sides of c and its values
ƒ(x) must approach L as x approaches c from either side. Because of this, ordinary limits are called
two-sided.
If ƒ fails to have a two-sided limit at c, it may still have a one-sided limit, that is, a limit if the
approach is only from one side. If the approach is from the right, the limit is a right-hand limit.
From the left, it is a left-hand limit.
Intuitively, if ƒ(x) is defined on an interval (c, b), where and approaches arbitrarily close to L as
x approaches c from within that interval, then ƒ has right-hand limit L at c. We write
lim f ( x) = L
x →c+
Similarly, if ƒ(x) is defined on an interval (a, c), where and approaches arbitrarily close to M as x
approaches c from within that interval, then ƒ has left-hand limit M at c. We write
lim f ( x) = M
x →c−
x
For instance, the function f ( x) = we have
x
x x
lim x = −1 and lim =1
x → 0− x → 0+ x
Page | 24
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Limits at Infinity
In some types of economic functions, the main interest may be to determine the behavior the
function (x) as x assumes large positive and large negative values.
Theorem
Remarks
p( x)
2. The limits at infinity for a rational function R(x) = can be calculated by dividing both
Q( x)
the numerator and denominator by the highest power of x that occurs either in the numerator or
the denominator and applying the above theorem on the simplified function.
5x + 4 4 x 2 + 3x + 2
a) lim b) lim
x → 2 x + 3 x → − 2 x3 + 5
c. lim x2 + x + 1 − x2 − x − 1
x →
Solutions
Page | 25
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
a) since the highest power of x is 1 divide both the denominator and numerator by x as
5x + 4
5x + 4
lim = lim x
x → 2 X + 3 x → 2 x + 3
4 4
5+ lim 5 + lim 5+0 5
= lim x = x → x → x
= =
x → 3 3 2+0 2
2+ lim 2 + lim
x x → x → x
b) Divide both the numerator and denominator by x3 since it is the highest power as
4x 2 + 3x + 2
4x 2 + 3x + 2 x3
lim = lim
x → 2x 3 + 5 x → 2x 3 + 5
x3
4 3 2
+ 2 + 3
= lim x x x = 0+0+0 = 0
x → 5 2+0
2+ 3
x
c) Rewrite
x2 + x + 1 + x2 − x − 1
x2 + x + 1 − x2 − x − 1 = x2 + x + 1 − x 2 − x − 1
x2 + x + 1 + x 2 − x − 1
=
( x 2 + x + 1) − ( x 2 − x − 1)
x2 + x + 1 + x2 − x − 1
2x + 2
=
x + x + 1 + x2 − x − 1
2
2
2+
= x
1 1 1 1
1+ + + 1− −
x x 2 x x2
2
2+ 2
lim x2 + x + 1 − x 2 − x − 1 = lim x = =1
x→ x→ 1 1 1 1 2
1+ + + 1− −
x x2 x x2
Page | 26
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Intuitively speaking, the function f is said to be continuous at x = c if you can draw the graph of
f at and near the point (c, f (c )) without lifting your pencil from the paper.
Example: Determine the continuity of each of the following functions at the indicated value of c.
x2 − 4
at c = 1 and c = 2
a) f(x) = x − 2
x 2 if x 0
f ( x) = at c = 1
b) 1 if x 0
Solutions
12 − 4
=3
a) Since f(x) is defined for all points except x = 2, f(1) is defined and f(1) = 1 − 2
Page | 27
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
x2 − 4 ( x − 2)( x + 2)
Moreover , lim = lim = lim x + 2 = 3 and lim f ( x) = f (1) = 3 . Thus, f is
x →1 x − 2 x→1 ( x − 2) x →1 x →1
continuous at x = 1 since all the three conditions in the definition are satisfied. f is not continuous
at x = 2 since f(2) is not defined and condition one in the definition is not satisfied.
b) f(1) = 1 and thus f(1) is defined. lim f(x) exits and equal to 1 since lim− f(x) = lim+ f(x) = 1 .
x →1 x →1 x →1
Exercise
Page | 28
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Remarks
For example, f(x) = x − 2 is defined for x 2 or on the interval [2 ). Moreover f(x) is continuous
from the right x = 2 since f(2) = 2 − 2 = 0 and lim+ f(x) = lim+ x - 2 = 0 = f(2) , and also
x →2 x →2
continuous at every number on open interval (2 ). Thus, f(x) is continuous on the interval [2 ).
3. Rational functions are continuous for all values of x except those that make a denominator 0.
Page | 29
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
f ( x)
IV. ,when g ( x) 0 is continuous
g ( x)
integer.
Example: Determine whether each of the following function is continuous or not with the help of
the above properties.
x
a) f(x) = 2x3 – x2 +3x+1 b) f(x) =
( x + 2)( x − 3)
c) f(x) = f ( x) = 3 x 2 − 4 d) f(x) = 3− x
Solutions
b) Since f is a rational function, it is continuous for all x except –2 and 3 (values of x that make
the denominator o). Using interval rotation, f is continuous on (- -2), (-2 3), and (3 ).
c) The polynomial function x2-4 is continuous for all x. Since n=3 is odd, f is continuous for all x.
d) The polynomial function 3-x is continuous for all x and non-negative for x 3. Since n=2 is
even, f is continuous for x 3 or on the interval (- 3].
Solution
E 9t 2 + 0.5t + 179
a. P(t ) = = b.
p 0.2t + 1,500
0.5 179
9+ + 2
9t + 0.5t + 179
2
t t = 3 = 15 million dollars per head
lim = lim .
0.2t + 1,500 1,500 0.2
x → x →
0.2 +
t
2. XYZ company is spending Birr “ y ” (in millions, and yielding sales of Br. S(x)(in
millions) represented by the function:
5 x 2 − 15 x + 4
S ( x) = , x 1 , determine the absolute ceiling for their sales.
2x2 − 2 x + 2
Solution
5 x 2 − 15 x + 4
lim = Birr 2.5 million
x → 2 x − 2 x + 2
2
Page | 31
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
CHAPTER THREE
3. THE DERIVATIVES
3.1. The Concept of First-Order Derivatives
In this section you will learn how the ideas and techniques of limits developed in the previous unit
can be used to define one of the fundamental concepts of calculus, the derivative, and two related
concepts; rates of change and the slope of tangent line.
I. Rates of Change
If the independent variable x changes from x0 to x1, then the dependent variable y will change from
y0 = f(x0) to y1 = f(x1). In this case,
The change in x is said to be an increment in x and denoted as x (read as “delta x”). That is, an
Definitions
Given y = f(x)
1. The average rate of change of y with respect to x is the change in y resulted from some change
in x. the average rate of change of y between x=x0 and x=x1 is given by
Δy f(x 0 +Δx)-f(x 0 )
Average rate of change = =
Δx Δx
It is also termed as the difference quotient of the function and represents change in y per unit
change in x.
Page | 32
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
y f ( x0 + x) - f ( x0 )
Instantaneous rate = lim = lim
x → 0 x x → 0 x
Example
Solutions
= f(4) – f(1)
= 3(42) – 3(12) = 48 –3 = 45
y 45
Thus, average rate of change = = = 15
x 3
Page | 33
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
A secant line is a straight line which passes through two points on the graph of y = f(x). For
instance, line L2 which passes through P and Q in the above graph is a secant line. The slope of
the secant line which passes through the point (x0, f(x0)) and (x0+ x , f(x0+Δx) is given by
Δy f(x 0 +Δx)-f(x 0 )
=
Δx Δx
Intuitively speaking, a tangent line is a straight line which touches (but not crosses) the graph of
y=f(x) at a given point. For instances, line L1 in the above graph is a tangent line.
Y L2
Q L1
As it can be seen from the above graph, as x becomes closer and closer to o (as x →0), the point
Q approaches to point P. In other words, as x →0 the secant line L2 will approaches to line L1
and its slope will approaches to the slope of L1. This leads to the following formal definition of a
tangent line.
Definition
Given the graph of Y =f(x), the tangent line at (x0, f(x0)) is a line that passes through this point
whose slope is given by
f ( x0 + x) - f ( x0 )
tangent line slope = lim if the limit exists.
x → 0 x
Remarks
1. The slope of the tangent line at (x0, f(x0)) is always equal to the slope of the graph or the function
y = f(x) at (x0, f(x0)).
Page | 34
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
f ( x0 + x) - f ( x0 )
2. If lim = 0, then the graph of f has a horizontal tangent line at (x0, f(x0)).
x → 0 x
f ( x0 + x) - f ( x0 )
3. If lim = (or - ), then the graph of f has a vertical tangent line at (x0,
x → 0 x
f(x0)).
Notice that we are not claiming that a continuous function must be differentiable. Indeed it can
be shown that a continuous function f ( x ) will not be differentiable at x = c if f ( x ) becomes
infinite at x = c or if the graph of f ( x ) has a “sharp” point at P (c, f (c )) ; that is, a point where
the curve makes an abrupt change in direction. If f(x) is continuous at x = c but f '(c ) is infinite,
the graph of f may have a “vertical tangent” at the point P(c, f(c)) (Figure a) or a “cusp” at P
(Figure b). The absolute value function f ( x) = x is continuous for all x but has a “sharp point”
at the origin (0, 0) (see Figure c). Another graph with a “sharp point” is shown in Figure d.
Derivative Notations
Page | 35
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
dy
f ' ( x) , , or y' all represents the derivative of f at x.
dx
dy
f ' ( x ) = 0 or =0
dx
Example
b) f(x) = 0
Solutions
dy d
a) f’(x) = 0 or = 0 or (5) = 0
dx dx
d
b) f’(x) = 0 or ( 0) = 0
dx
dy
If y = f ( x) = x n , where n is any real number, then f ' ( x ) or = nx n −1
dx
Example
1
a) f(x) = x3 b) f(x) = c) f(x) = x
x2
Solutions
1
b) f(x) = 2
= x-2 (by exponent rule)
x
Page | 36
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
d −2
Then, f ' ( x ) = ( x − 2 ) = − 2 x − 2 −1 = − 2 x − 3 = 3
dx x
1
d d 1 1 1 −1
f ' ( x) = ( x) = ( x 2 ) = x 2
dx dx 2
1 −1 1 1
= x2= 1 =
2 2x 2 2 x
g '( x) = kf '( x)
That is, the derivative of constant times a function is a constant times a derivative of a function.
Example
Solution
d d
f '( x) = (3x 2 ) = 3 ( x 2 ) ( Rule 3)
dx dx
= 3(2 x 2−1 ) ( Rule1)
= 2(2 x)
= 6x
Given two functions f(x) and g(x) with both f '( x) and g '( x) exist,
In other words, the derivative of a sum (or difference) of two differentiable functions is the sum
(or difference) of the individual function derivatives. That is,
d d d
f ( x) g ( x) = f ( x) g ( x) = f '( x) +− g '( x)
dx dx dx
Page | 37
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Example
a) f(x) = 3x2 + 2x
b) y = 3 x − 3x2
Solutions
d
a) f ' ( x ) = (3 x 2 + x)
dx
d d
= (3 x 2 ) + (2 x) ( Rule − 4)
dx dx
d d
= 3 ( x 2 ) + 2 ( x) ( Rule − 3)
dx dx
= 3(2 x ) + 2(1x1−1 )
2 −1
( Rule − 2)
= 3( x) + 2( x )
0
= 6x + 2 ( sihce x 0 = 1)
d 3
f '( x) = ( x − 3x 2 )
dx
d d
= 3 x − (3x 2 ) ( Rule − 4)
dx dx
d 1 d
= ( x 3 ) − 3 ( x2 ) ( Rule − 3)
dx dx
b)
1 1 −1
= x 3 − 3(2 x 2−1 ) ( Rule − 2)
3
1 −2
= x 3 − 3(2 x)
3
1
= − 6x
3 3 x2
Remarks
The sum and difference rule can be generalized for any three or more differentiable functions.
For instances, for four differentiable functions f(x), g(x), r(x) and s(x), the sum and difference rule
can be extended as
Page | 38
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
d d d d d
( f ( x) g ( x) r ( x) s ( x)) = f ( x) g ( x) r ( x) s ( x)
dx dx dx dx dx
Example
a) f(x) = 3x4-2x3+x2-5x+7
5 −2 x 2
b) y = 2 − 4 +
3x x 9
Solutions
dy d
a) = (3 x 4 − 2 x3 + x 2 − 5 x + 7)
dx dx
d d d d d
= (3x 4 ) − (2 x 3 ) + x 2 − (5 x) + (7) ( Rule − 4)
dx dx dx dx dx
d d d d d
= 3 x 4 − 2 x 3 + x 2 − 5 ( x) + (7) ( Rule − 3)
dx dx dx dx dx
= 3(4 x ) − 2(3 x ) + 2 x − 5(1) + 0
3 2
( Rules 1 and 2)
=12 x3 − 6 x 2 + 2 x − 5
dy d 5 2 x2
b) = 2 − 4 +
dx dx 3 x x 9
d 5 x −2 x2
= − 2 x −4 + ( Exponenent Rule)
dx 3 9
d 5 −2 d −4 d x2
= x − (2 x ) + ( Rule − 4)
dx 3 dx dx 9
5 d −2 d 1 d 2
== ( x ) − 2 ( x −4 ) + (x ) ( Rule − 3)
3 dx dx 9 dx
5 1
= (−2 x −3 ) − 2(−4 x −5 ) + (2 x) ( Rule − 2
3 9
10 8 2x
= 3+ 5+
3x x 9
Remark
Page | 39
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
The value of the derivative of y= f(x) at any specified value of x (say at x=a), denoted as
dy
f '(a)or can be obtained through the following steps.
dx x=a
dy
Step.1. Find f '(a)or by applying the necessary rules of differential.
dx x=a
dy
Step 2. Evaluate f '( a ) by substituting a in place of x in the result of f '(a)or from step 1
dx x=a
If both the derivatives of f(x) , f '( x ) , and the derivative of g(x), g '( x) ,exist, then
d d d
f ( x).g ( x) = f ( x). g ( x) + g ( x) f ( x)
dx dx dx
= f ( x).g '( x) + g ( x) f '( x)
That is, the derivative of the product of two differentiable functions, f(x)
and g(x), is equal to the first function, f(x), times the derivative of the second function, g '( x) ,
plus the second function, g(x), times the derivative of the first function f '( x ) ,.
Example
Solution
dy
To get use Rule-5 and substitute the above values as
dx
dy
=
d
f ( x).g ( x = f(x) g '( x) + g(x) f '( x )
dx dx
Page | 40
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
= 24x5+12x5-8x
= 36x5-8x
Notice that you can also differentiate y = 2x2(3x4-2) by first multiplying the two expressions and
then applying the previous rules on the simplified single expression. For instances,
dy
dx
= f ' ( x) =
d
dx
( x 2 + 4)(5 x 4 − 5)
d d
= ( x 2 + 4) (5 x 4 − 5) + (5 x 4 − 5) ( x 2 + 4) ( Rule − 5)
dx dx
= ( x + 4)(20x ) + (5 x − 5)(2 x)
2 3 4
( Rule 1, 2, 3 and 4)
= 20x 5 + 80x 3 + 10x 5 − 10x
= 30x 5 + 80x 3 − 10x
Remark
The product rule can be extended for more than two differentiable functions. For instances,
if y = f(x).g(x).h(x), then
dy
= f ' ( x) g ( x)h( x) + g ' ( x) f ( x)h( x) + h' ( x) f ( x).g ( x)
dx
f(x)
If y = r ( x) = with g(x) 0 and both f'(x) and g'(x) exis t, then
g(x)
Page | 41
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
dy d f(x)
r ' (x)=
dx dx g(x)
=
d d
(f(x)).g(x)-f(x). g(x)
= dx dx
g(x)
2
Notice that since subtraction is not commutative, interchanging the numerator in the quotient rule
as f(x).g ' (x)-f ' (x).g(x) will leads to a wrong result.
Example
x2 x2 − x
a) y = b) f ( x ) =
2x −1 x3 + 1
Solutions
a) Let f(x) =x2 and g(x) = 2x-1, then f '( x ) = 2x and g '( x) =2
then after apply the quotient rule and substitute the above values to get
dy f ' ( x) g ( x) − f ( x) g ' ( x)
=
dx g ( x)2
(2 x)(2 x − 1) − x 2 (2)
=
(2 x − 1) 2
4x2 − 2x − 2x2
=
(2 x − 1) 2
2x2 − 2x
=
(2 x − 1) 2
x2 − x
, then
b) Let y = f(x) = x 3 + 1
Page | 42
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
d 2 d
( x3 + 1) ( x − x) − ( x 2 − x) ( x3 + 1)
dy
=
dx dx
dx ( x + 1)
3 2
− x 4 + 2 x3 + 2 x − 1
=
( x3 + 1)2
Notice that it may sometimes advantageous to check whether or not an expression can be
simplified algebraically before blindly using the quotient rule.
Example
2 x 4 − x3
Find f'(x) for f(x) =
x2
Solution
2 x 4 − x3 2 x 4 x3
f ( x) = 2
= 2 − 2 = 2 x 2 − x then apply the necessary rules of differentiation to get f'(x)
x x x
as
d
f ' ( x) = (2 x 2 − x) = 4 x − 1
dx
Page | 43
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
dy dy du dy
= . or, equivalently, by = f '( g ( x)) g '( x)
dx du dx dx
Example
1 2
The cost of producing x units of a particular commodity is C ( x) = x + 4 x + 53 dollars, and the
3
production level t hours into a particular production run is x(t ) = 0.2t 2 + 0.03t units. At what rate
is cost changing with respect to time after 4 hours?
Solution
dC 2 dx
We find that = x + 4 and = 0.4t + 0.03 . So according to the chain rule,
dx 3 dt
dC dC dx 2
= . = x + 4 ( 0.4t + 0.03)
dt dx dt 3
When t = 4 , the level of production is x(4) = 0.2(4)2 + 0.03(4) = 3.32 units and by substituting
t = 4 and x = 3.32 into the formula for , we get
dC 2
= (3.32) + 4 0.4(4) + 0.03 = 10.1277
dt t =4 3
Thus, after 4 hours, cost is increasing at the rate of approximately $10.13 per hour.
dy
Find if y = 2u 2 + 1 and u = 3x − 1.
dx
Solution
Page | 44
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
dy du
First find and as
du dx
dy d du d
= (2u 2 + 1) = 4u and = ( 3x -1) = 3
du du dx dx
dy dy dy du
Then apply the chain rule to get as = . = 4u (3) = 12u
dx dx du dx
dy
Since Y is regarded as a function of x, should be expressed in terms of x.
dx
dy dy
To do this, substitute the value of u in = 12u to get = 12u = 12((3x -1)) = 36 x -12
dx dx
dy
If Y = x 2 − 1 ,find
dx
Solution
Let u = x 2 − 1 y = u1/2
dy dy du 1 x
The = . = .2 x =
dx du dx 2 u x −1
2
Suppose you have an equation that defines y implicitly as a function of x and you want to find
the derivative. For instance, you may be interested in the slope of a line that is tangent to the graph
of the equation at a particular point. One approach might be to solve the equation for y explicitly
and then differentiate using the techniques you already know. Unfortunately, it is not always
possible to find y explicitly. For example, there is no obvious way to solve for y in the equation
x 2 y + 2 y 3 = 3x + 2 y . There is a simple technique based on the chain rule that you can use to find
dy
without first solving for y explicitly. This technique, known as implicit differentiation, consists
dx
of differentiating both sides of the given (defining) equation with respect to x and then solving
dy
algebraically for .
dx
Page | 45
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
dy
Find if x 2 y + y 2 = x3
dx
Solution
dy dy dy
2 xy + x 2 + 2y = 3 x 2 3 x 2 − 2 xy = (2 xy + 2 y )
dx dx dx
dy 3 x − 2 xy
2
=
dx 2 xy + 2 y
Suppose the output at a certain factory is Q = 2 x3 + x2 y + y3 units, where x the number of hours
of skilled labor used is and y is the number of hours of unskilled labor. The current labor force
consists of 30 hours of skilled labor and 20 hours of unskilled labor. Use calculus to estimate the
change in unskilled labor y that should be made to offset a 1-hour increase in skilled labor y so
that output will be maintained at its current level.
Solution
The current level of output is the value of Q when x = 30 and y = 20 . That is,
If output is to be maintained at this level, the relationship between skilled labor x and unskilled
labor y is given by the equation
The goal is to estimate the change in y that corresponds to a 1-unit increase in x when x and y
are related by this equation. The change in y caused by a 1-unit increase in x can be approximated
dy
by the derivative . To find this derivative, use implicit differentiation.
dx
Page | 46
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
The goal is to estimate the change in y that corresponds to a 1-unit increase in x when x and y are
related by this equation. The change in y caused by a 1-unit increase in x can be approximated by
dy
the derivative . To find this derivative, use implicit differentiation.
dx
dy dy dy
0 = 6 x2 + x2 + y ( x2 ) + 3 y 2
dx dx dx
dy dy
0 = 6 x2 + x2 + 2 xy + 3 y 2
dx dx
6 x 2 + 2 xy
− ( x 2 + 3 y 2 ) = 6 x 2 + 2 xy
dy dy
=− 2
dx dx ( x + 3y2 )
Now evaluate this derivative when x = 30 and y = 20 to conclude that
dy 6(20) 2 + 2(20)(30)
change in y = =− −3.14 hours (this is called the marginal rate of
dx x =30
y = 20
( (30)2 + 3(20)2 )
technical substitution (MRTS).)
That is, to maintain the current level of output, unskilled labor should be decreased by
approximately 3.14 hours to offset a 1-hour increase in skilled labor.
Related Rates
Page | 47
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
In certain practical problems, x and y are related by an equation and can be regarded as functions
of a third variable t, which often represents time. Then implicit differentiation can be used to relate
dx dy
to . This kind of problem is said to involve related rates.
dt dt
Example
Solution
dC dq
We want to find when q = 15 (1500 units) and = 0.2 (20 units per week with q measured
dq dt
in hundreds of units). Differentiating the equation C 2 − 3q3 = 4, 275 implicitly with respect to
time, we get
dC dq dC 2 dq dC 9q 2 dq
2C − 3 3q 2 =0 so that 2C = 9q and =
dt dt dt dt dt 2C dt
when the price is $9 per unit and is increasing at the rate of 20 cents per week?
Solution
Page | 48
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
dp dx
We know that when p = 9, = 0.20. We are asked to find at this time. First, note that when
dt dt
p = 9 , we have
x 2 − 2 x 9 − 92 = 31 x 2 − 6 x − 112 = 0
( x + 8 )( x − 14 ) = 0
x = 14 (x = −8 has no practical value)
Next, we differentiate both sides of the supply equation implicitly with respect to time to obtain
dx 1
22 = 14 (0.20) + 18(0.20)
dt 3
1
14 (0.20) + 18(0.20)
=
dx 3
0.206
dt 22
dx 1
22 = 14 (0.20) + 18(0.20)
dt 3
1
14 (0.20) + 18(0.20)
=
dx 3
0.206
dt 22
Since the supply is given in terms of thousands of units, it follows that the supply is increasing at
the rate of 0.206(1,000) = 206 units per week.
Page | 49
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
d log ea 1
Therefore, =
dx x ln a
d log ua 1
If u = f ( x) , then using the chain rule, = .u '( x) .
dx u ln a
dy
Examples: Find for each of the following functions
dx
a. y = x 3 + 3ln x d. y = ln 3 x
b. y = log 4
( x +1)
3
e. x ln y = 4
c. y = ln x 4
Solution
dy d ln x 3
a. = 3x 2 + 3 =3x 2 +
dx dx x
ln u
b. let u = x3 + 1 y = log u4 =
ln 4
dy dy du 1 d ln y du 1 1 2 3x 2
= . = . = . .3x =
dx du dx ln 4 du dx ln 4 u ( 3x2 + 1) ln 4
c. let u = x 4 y = ln u
dy dy du 1 3 4 x3 4
= . = .4 x = 4 =
dx du dx u x x
[
d . Let 3 x = u y = ln u
dy dy du 1 3 1 3 1
Therefore, = . = . = . =
dx du dx u 2 x 3 x 2 x 2x
4
e. ln y =
x
d ln y dy −4
. = (Differentiating both sides w.r.t.X and applying the chain rule)
dy dx x 2
dy −4 y −4e x
4
1 dy −4
4
= 2 = 2 = 2
(since y = e x )
y dx x dx x x
Derivatives of Exponential Functions
Page | 50
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
da x
Thus, = a x ln a
dx
dau ( x )
= u '( x)a u ( x ) ln a
dx
The exponential function e x is a unique function with special behaviour.
de x
That is, = ex
dx
However, in case we have e f ( x ) , we can use the chain rule to evaluate its derivative. That is
de f ( x )
= f '( x)e f ( x )
dx
Examples
Differentiate the following functions
x3 +1
a. f ( x) = x e b. g ( x) = x c. f ( x) = e x
2
2 x
e +2
Solution
a. Using the product rule, we find
f '( x) = ( x 2 ) ' e x + ( e x ) ' x 2
= (2 x) e x + x 2 e x
= xe x ( x + 2)
Page | 51
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
In the previous sections, you learned the definition and different ways of computing f ' ( x ) called
the first derivative for y=f(x). In this section, you will learn the concept of second derivative, third
derivative and so on.
dy
The derivative of a function y = f(x), denoted as f '( x ) or , is said to be the first derivative of
dx
the function f.
Since the first derivative, f ( x ) , is a function, you can find its derivative. The derivative of the
first derivative is said to be the second derivative of the function f and denoted by
'' d2y
f ( x) or
dx 2
Since the second derivative is again a function, you can find its derivative. The derivative of the
second derivative is said to be the third derivative of the function f and denoted by
d3y
f ''' ( x) or f 3 ( x) or
dx3 to indicate that f(x) has been differentiated three times with respect to x.
dny
Generally, the nth-derivative of the function f is denoted by f n ( x)or to indicate that this
dx n
function is found by n successive operations of differentiations, starting with the function f.
Example
Find the first, second and third derivative of the function f(x) = 2x3-4x2 +6x =5
Page | 52
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Solution
d
The second derivative if f '' ( x ) = (6 x 2 − 8 x + 6) = 12 x − 8,
dx
d
The third derivative is f ''' ( x) = f 3 ( x) = (12 x − 8) = 12
dx
dy
➢ If 0, f ( x) is decreasing
dx
dy
➢ If 0, f ( x) is increasing
dx
dy
➢ If = 0, f ( x) has extrema value at this value of x
dx
Procedure for Using the Derivative to Determine Intervals of Increase and Decrease for a
Function f.
Step 1. Find all values of x for which f '( x) = 0 or f '( x) is not continuous, and mark these
numbers on a number line. This divides the line into a number of open intervals.
Step 2. Choose a test number c from each interval a x b determined in step 1 and evaluate
f '(c) . Then,
If f '(c) 0 , the graph of f(x) is increasing (graph rising) on a x b .
Example
Page | 53
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
( x − 2 )( 2 x ) − x 2 (1) x( x − 4)
f '( x) = =
( x − 2) ( x − 2)
2 2
Page | 54
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
which is discontinuous at x = 2 and has f ( x) at x = 0 and x = 4 . Thus, there are four intervals
Knowing the range over which the function increasing, decreasing, and achieving relative extrema
point is important to draw graphs of functions but they are not all about. A given function increases
over a range but it can increase at an increasing rate, a constant rate or at a decreasing rate. Thus,
we have to see the concavity of graphs to add this dimension.
A given function is concave up (changes at increasing rate) if the function lays above all its tangent
lines. A given function is concave down (changes at a decreasing rate) if the function lies below
its tangent line. Look at the following diagram.
Page | 55
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Example
Determine intervals of concavity for the function
f ( x) = 2 x6 − 5x4 + 7 x − 3
Solution
We find that
f '( x) = 12 x5 − 20 x3 + 7
and f ''( x) = 60 x4 − 60 x2 = 60 x2 ( x2 − 1) = 60 x2 ( x − 1)( x + 1)
Page | 56
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
The second derivative f ''( x) is continuous for all x and f ''( x) = 0 for x = 0 , x = 1 , and
x = −1. These numbers divide the x axis into four intervals on which f ( x) does not change sign;
namely, x −1, − 1 x 0, 0 x 1, and x 1. Evaluating f ''( x) at test numbers in each of
1 1
these intervals (say, at x = −2, x = − , x = , and x = 5 , and respectively), we find that
2 2
1 45 1 45
f ''(−2) = 720 0 f '' − = − 0 f '' = − f ''(5) = 36000 0
2 4 2 4
Thus, the graph of f(x) is concave up for x −1 and for x 1 and concave down for −1 x 0
and for 0 x 1 , as indicated in this concavity diagram.
Inflection Points: An inflection point (or point of inflection) is a point ( c, f (c) ) on the graph
Step 2. For each number f ''(c) 0 found in step 1, determine the sign of f ( x) to the left and
to the right of x = c ; that is, for x c and for x c . If f ''(c) 0 on one side of x = c and
Example
Find all inflection points of the given functions.
1
a. f ( x) = 3x − 5x − 1
5 4
b. f ( x ) = x 3
c. f ( x) = x4
Page | 57
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Solution
a. Note that f ( x) exists for all x and that
f '( x) = 15 x 4 − 20 x3
f ''( x) = 60 x3 − 60 x 2 = 60 x 2 ( x − 1)
Thus, f ''( x) is continuous for all x and f ''( x) = 0 when x = 0 and x = 1 . Testing the sign of
1
f ''( x) on each side of x = 0 and x = 1 (say, at x = −1, , and 2 ) ,we get
2
1 15
f ''(−1) = −120 0 f '' = − 0 f ''(2) = 240 0 which leads to the
2 2
concavity pattern shown in this diagram:
1 15
f ''(−1) = −120 0 f '' = − 0 f ''(2) = 240 0 which leads to the
2 2
concavity pattern shown in this diagram:
Page | 58
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
1
Note: The curve f ( x ) = x has a point of inflection at x = 0 but f ''( x) does not exist.
3
f ''(−1) = 12 0 and f '' (1) = 12 0 which shows that the concavity has never
Page | 59
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Finding Extrema
Page | 60
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
The next theorem explains why we usually need to investigate only a few values to find a
function’s extrema.
[[
The Second Derivative Test for Absolute Extrema: Suppose that f ( x) is continuous on an
interval I where x = c the only critical number and that is f '(c) = 0 . Then
However, if f ''(c) = 0 or if f ''(c) does not exist, the test is inconclusive and f may have a
relative maximum, a relative minimum, or no relative extremum at all at x = c .
[
f "(−2) = −18 0 it follows that the critical point ( −2,13) is a relative maximum, and since
f "(1) = 18 0 it follows that the critical point (1, −14 ) is a relative minimum.
3.8. Economic Application of Derivatives
Page | 61
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Given a total function y = f ( x) (which may be total cost function, total revenue function, total
product function, total utility function, total tax function etc.), its marginal value function can be
obtained as
dy
mf ( x ) = f ' ( x) =
dx
3.8.2. Elasticities
An increase in the unit price of a commodity will result in decreased demand, but the sensitivity
or responsiveness of demand to a change in price varies from one product to another. For instance,
the demand for products such as soap, flashlight batteries, or salt will not be much affected by a
small percentage change in unit price, while a comparable percentage change in the price of airline
tickets or home loans can affect demand dramatically. Sensitivity of demand is commonly
measured by the ratio of the percentage rate of change in quantity demanded to the percentage rate
of change in price. This is approximately the same as the change in demand produced by a 1%
change in unit price.
100Q '( x)
Note that the percentage rate of change of a quantity Q(x) is given by .In particular, if
Q( x )
dq
100
percenatge rate of dp
the demand function is differentiable, then change of demand q = and
q
dp
100
percenatge rate of dp 100
change of p = = . Thus, sensitivity to change in price is measured by the
p p
ratio
Page | 62
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
dq
100
dp
Percentage rate of change in q q dq p
= = . which, in economics, is called
Percentage rate of change in p dp dp q
100
dp
p
the price elasticity of demand.
dq
NB: Since demand q decreases as the unit price p increases, we have 0 .Therefore, since
dp
q 0 and p 0 , it follows that the price elasticity of demand will be negative: that is,
dq p
E ( p) = . 0.
dp q
Example
Suppose the demand q and price p for a certain commodity are related by the linear equation
q = 240 − 2 p ( for 0 p 120 ).
a. Express the elasticity of demand as a function of p .
b. Calculate the elasticity of demand when the price is p = 100 . Interpret your answer.
c. At what price is the elasticity of demand equal to −1 ? What is the economic significance
of this price?
Solution
dq p p −2 p −p
a. The elasticity of demand is E ( p) = . = (−2). = =
dp q q 240 − 2 p 120 − p
b. When p = 100 , the elasticity of demand is
−100
E (100) = = −5
120 − 100
That is, when the price is p = 100 , a 1% increase in price will produce a decrease in demand of
approximately 5%.
c. The elasticity of demand will be equal to -1 when
−p
−1 = 120 − p = p p = 60
120 − p
Page | 63
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
At this price, a 1% increase in price will result in a decrease in demand of approximately the same
percentage.
Example
The manager of a bookstore determines that when a certain new paperback novel is priced at p
dollars per copy, the daily demand will be q = 300 − p 2 copies, where 0 p 300 .
a. Determine where the demand is elastic, inelastic, and of unit elasticity with respect to price.
b. Interpret the results of part (a) in terms of the behavior of total revenue as a function of
price.
Solution
a. The elasticity of demand is
p −2 p 2
E ( p) = ( −2 p ) = and since 0 p 300 ,
300 − p 2 300 − p 2
2 p2
E ( p) =
300 − p 2
Page | 64
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
2 p2
= 1 2 p 2 = 300 − p 2
300 − p 2
3 p 2 = 300 p = 10
in price up to $10 per copy. However, for the price range 10 p 300 the demand is
elastic, so the revenue is decreasing. If the book is priced in this range, a specified
percentage increase in price results in a larger percentage decrease in demand. Thus, if the
bookstore increases the price beyond $10 per copy, it will lose revenue.
Optimization: Unconstrained (Free) Optimization
1. Given TVC = 18x − 15x 2 + 4 x3 , find
a. Marginal cost function
b. Point of diminishing returns
c. The point at which stage II of production begins.
Solution
dTVC
a. MC = = 18 − 30 x + 12 x 2
dx
b. At the point of diminishing returns MP is maximum and MC is minimum. Thus at this
dMC 30
point = −30 x + 24 x = 0 x = = 1.25
dx 24
c. At the point where stage II begins when AP is maximum and AVC is minimum. Thus,
TVC
AVC = = 18 − 15 x + 4 x 2
x
dAVC 15
= −15 + 8 x = 0 x = = 1.875
x 8
Page | 65
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
produced each month, the total cost will be C(q) = 0.4q2 + 3q + 40 thousand dollars, and
all q units can be sold at a price of p(q) = 22.2 − 1.2q dollars per unit.
a. Determine the level of production that results in maximum profit. What is the
maximum profit?
C (q)
b. At what level of production is the average cost per unit AC ( q ) = minimized?
q
c. At what level of production is the average cost equal to the marginal cost C '( x) ?
Solution
a. Total revenue is R(q) = qp( x) = q(22.2 − 1.2q) = −1.2q 2 + 22.2q thousand dollars, so
3. A bus company will charter a bus that holds 50 people to groups of 35 or more. If a group
contains exactly 35 people, each person pays $60. In large groups, everybody’s fare is
reduced by $1 for each person in excess of 35. Determine the size of the group for which
the bus company’s revenue will be greatest.
Solution
Let R denote the bus company’s revenue. Then,
R = (Number of people in the group)(Fare per person)
You could let x denote the total number of people in the group, but it is slightly more convenient
to let x denote the number of people in excess of 35. Then, Number of people in the group = 35 + x
and fare per person = 60 − x so the revenue function is R( x) = (35 + x)(60 − x) . Since x
represents the number of people in excess of 35 but less than 50, you want to maximize R(x) for a
positive integer x in the interval 0 x 15 .However, to use the methods of calculus, consider the
continuous function R( x) = (35 + x)(60 − x) defined on the entire interval 0 x 15 .
Page | 66
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
The derivative is R '( x) = (1)(60 − x) + (35 + x)(−1) = 25 − 2 x which is zero when x = 12.5 . It
follows that the optimal integer value of x is either x = 12 or x = 13 . Since R (12 ) = 2,256 and
R (13) = 2,256 you can conclude that the bus company’s revenue will be greatest when the group
contains either 12 or 13 people in excess of 35; that is, for groups of 47 or 48. The revenue in either
case will be $2,256.
4. A bicycle manufacturer buys 6,000 tires a year from a distributor. The ordering fee is $20
per shipment, the storage cost is 96 cents per tire per year, and each tire costs $21. Suppose
that the tires are used at a constant rate throughout the year and that each shipment arrives
just as the preceding shipment is being used up. How many tires should the manufacturer
order each time to minimize cost?
Solution
The goal is to minimize the total cost, which can be written as
Total cos t = storage cos t + ordering cos t + purchase cos t
Let x denote the number of tires in each shipment and C ( x) the corresponding total cost in dollars.
Since 6,000 tires are ordered during the year and each shipment contains x tires, the number of
6000 6000 120000
shipments is and so Ordering cos t = 20 =
x x x
Purchase cos t = (total number of tires ordered )(cos t per tire)
= 6,000(21) = 126,000
Storage cos t = (average number of tires stored )( storage cos t per tire)
x
= (0.96) = 0.48x
2
Putting it all together, the total cost is
120000
C ( x) = 0.48 x + + 126000 and the goal is to find the absolute
storage x cos t of
cos t purchase
ordering
cos t
CHAPTER FOUR
DIFFERENTIAL CALCULUS OF MULTIVARIABLE FUNCTIONS
In many problems involving functions of two variables, the goal is to find the rate of change of the
function with respect to one of its variables when the other is held constant. That is, the goal is to
differentiate the function with respect to the particular variable in question while keeping the other
variable fixed. This process is known as partial differentiation, and the resulting derivative is said
to be a partial derivative of the function.
Qx ( x, y ) = 10 x + 7 y
Similarly, if the number of skilled workers remains fixed, the production rate with respect to the
number of unskilled workers is given by the partial derivative of Q with respect to y , which is
z
or f x ( x, y) and is the function obtained by differentiating z with respect to x treating
x
z
y as a constant. The partial derivative of z with respect to y is denoted by or f y ( x, y) and is the
y
function obtained by differentiating z with respect to y treating x as a constant.
Example
Page | 68
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
2y
1. Find the partial derivatives f x and f y if f ( x, y) = x 2 + 2 xy 2 + .
3x
Solution
2 yx −1
To simplify the computation, begin by rewriting the function as f ( x, y ) = x + 2 xy +
2 2
To compute f x , think of f as a function of x and differentiate the sum term by term, treating y
2y
as a constant to get f x ( x, y ) = 2 x + 2 y 2 − . To compute f y , think of f as a function of y and
3x 2
2
differentiate term by term, treating x as a constant to get f y ( x, y) = 4 xy −
3x
−2 xy
2. Find the partial derivatives f x and f y if f ( x, y ) = xe
Solution
−2 xy
From the product rule, f x ( x, y) = e + x(−2 ye−2 xy ) = e−2 xy (1 + −2 zy) and from the constant
multiple rule, f y ( x, y ) = x( −2 xe −2 xy ) = −2 x 2 e −2 xy .
Partial derivatives can themselves be differentiated. The resulting functions are called second-
order partial derivatives. Here is a summary of the definition and notation for the four possible
second-order partial derivatives of a function of two variables.
2 z z
x is f xx = ( f x ) or 2 =
x x x
2 z z
The partial derivative of f x with respect to y is f xy = ( f x ) y or =
xy y x
2 z z
The partial derivative of f y with respect to x is f yx = ( f y ) x or =
yx x y
Page | 69
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
2 z z
The partial derivative of f y with respect to y is f yx = ( f y ) y or =
y 2 x y
Examples
f ( x, y) = xy3 + 5xy 2 + 2 x + 1
Solution
Note that f xy = f yx . This means you will get the same answer if you first differentiate f(x, y) with
respect to x and then differentiate the resulting function with respect to y as you would if you
performed the differentiation in the reverse order.
Given a function y = f ( x) , a specific x will call forth a corresponding y , and we can use the
y
difference quotient to represent the rate of change of y with respect to x . Since it is true that
x
y y
y = x . The magnitude of y can be found, once the rate of change and the
x x
variation in x are known.
y
When x is infinitesimal, y will also be infinitesimal, and the difference quotient will turn
x
dy y dy
into the derivative . Thus, y = x = dx = dy . Symbols of dy and dx are called
dx x dx
differential of y and x , respectively.
Page | 70
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Example
dy
The derivative of the function is = 6 x + 7 ; thus the desired differential dy = (6 x + 7)dx .
dx
The concept of differentials can easily be extended to a function of two or more independent
variables. Consider a saving function S = f (Y , i) where S is savings, Y is national income and
i is interest rate. The partial derivative SY (Y , i) measures the rate of change of S with respect to
an infinitesimal change in Y (or it signifies the marginal propensity to save). As a result, the
S
change in S due to change in Y may be represented by dY . By the same token, the change
Y
S
in S due to infinitesimal change in i can be denoted as di . The change in S will be then
i
S S
equal to dS = dY + di . The expression dS , being the same of the changes from both
Y i
sources, is called the total differential of the saving function. The more general case of a function
of n independent variables can be exemplified by, say, a utility function in the general form
U = f ( x1 , x2 , x3 ,..., xn )
The total differential of this function can be written as
U U U U
dU = dx1 + dx2 + dx3 + ... + dxn
x1 x2 x3 xn
Example
Find the total differential, given:
2x1 x2
a. z = 3x2 + xy − 2 y3 b. y =
x1 + x2
Solution
z z
a. dz = dx + dy dz = ( 6 x + y ) dx + ( x − 6 y 2 ) dy
x y
Page | 71
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
z z
b. dy = dx1 + dx2 . Applying the quotient rule gives us,
x1 x2
2 x ( x + x ) − 2 x x (1) 2 x ( x + x ) − 2 x x (1)
dy = 2 1 2 1 2
dx + 1 1 2 1 2
dx2
( x + x )
2
1
( x + x )
2
1 2 1 2
Rules of Differentials
Let k be a constant and u and v be two functions of the variables x1 and x2 . Then the following
u 1
Rule V: d = ( vdu − udv ) (quotient rule)
v v2
Example 1 Find the total differential dy of the function
y = 5x12 + 3x2
The straightforward method calls for the evaluation of the partial derivatives f1 = 10 x1 and
y = 3x12 + x1 x22
Page | 72
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
How to find the rate of change of f ( x, w) with respect to w , when x and w are related? The
answer for this question lies on the concept of total derivatives. Unlike a partial derivative, a total
derivative does not require the argument x to remain constant as w varies, and can thus allow
for the postulated relationship between the two variables.
To obtain this total derivative, we first differentiate y totally, to get the total differential
dy = f x dx + f w dw . When both sides of this equation is divided by the differential dw , the result
is
dy dx dw y dx y dw
= fx + fw = + dw = 1
dw dw dw x dw w
measures the indirect measures the direct
effect of w on y effect of w on y
dy
The process of finding the total derivative is referred to as total differentiation of y with
dw
respect to w.
Examples
dy
Find the total derivative , given the function
dw
Page | 73
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
x2 = h( w)
Solution
dy dx dw dy
= fx + fw = 3(4w + 1) + (−2w) = 10w + 3
dw dw dw dw
The situation of total derivative is only slightly more complicated when we have
x = g ( w)
y = f ( x, w) = 3x − w2 where 1 . This time, variable w can affect y through
2
x = h ( w)
three channels: (1) indirectly, via the function g and then f, (2) again indirectly, via the
function h and then f, and (3) directly via f.
dy
Then the total derivative , is given by:
dw
dy dx dx dw
= f1 1 + f 2 2 + f w
dw dw dw dw
Example
Let the production function be Q = Q( K , L, t ) where, aside from the two inputs K and L, there is
the third variable t, denoting time. The presence of the t argument indicates that the production
function can shift over time in reflection of technological changes. Since capital and labor, too,
can change over time, we may write K = K (t ) and L(t )
Then the rate of change of output with respect to time can be expressed, in line with the total
dQ Q dK Q dL Q
derivative formula as = + +
dt K dt L dt t
dz
For example, find , given: z = x2 − 8xy − y3 , where x = 3t and y = 1 − t
dt
Page | 74
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Solution
dz dx dy dz Q
= fx + fy + ft = (2 x − 8 y)(3) + (−8 x − 3 y 2 )(−1) +
dt dt dt dt t
If the equation F ( y, x1 , x2 ,..., xm ) = 0 can be solved for y , we can explicitly write out the function
y = f ( x1 , x2 ,..., xm ) , and find its derivatives by the methods learned before. But what if
F ( y, x1 , x2 ,..., xm ) = 0 , cannot be solved for y explicitly? In this case, if under the terms of the
implicit-function theorem an implicit function is known to exist, we can still obtain the desired
derivatives without having to solve for y first. The concept of total differentials can also enable us
to find the derivatives of implicit functions.
Suppose that only y and x1 are allowed to vary (only dy and dx1 are not set equal to zero). Then,
the above equation reduces to for Fy dy + F1dx1 = 0 . Upon dividing through by dx1 , and solving
dy dy y F
for , we get =− x
dx1 dx1 other variables constatnt
x1 Fy
By similar means, we can derive all other partial derivatives of implicit function f. Generally, given
F ( y, x1 , x2 ,..., xm ) = 0 , if an implicit function y = f ( x1 , x2 ,..., xm ) exists, then the partial
derivatives of f are
y F
=− i (i = 1, 2,3,..., m)
xi Fy
dy
Example 1: Find for the function F ( x, y) = y − 3x4 .
dx
Page | 75
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
dy F
= − x = 12 x3
dx Fy
dy
Example 2: Find for the function F ( x, y) = x 2 + y 2 − 9 .
dx
dy x
Fx = 2 x and Fy = 2 y = − (y 0)
dx y
y
Example 3: Find for the function F ( x, y, w) = y3 x 2 + w2 + yxw − 3 = 0 .
x
y F 2 y 3 x + yw
=− x =− 2 2 .
x Fy 3 y x + xw
Suppose a manufacturer produces two DVD player models, the deluxe and the standard, and that
the total cost of producing x units of the deluxe and y units of the standard is given by the function
C ( x, y) . How would you find the level of production x = a and y = b that results in minimal
cost? Or perhaps the output of a certain production process is given by Q( L, K ) , where K and L
measure capital and labor expenditure, respectively. What levels of expenditure K 0 and L0 result
in maximum output?
Definition
Page | 76
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
If f (x, y ) has local maximum or local minimum at the point ( x0 , y0 ) , it is necessary that
f x ( x0 , y0 ) = f y ( x0 , y0 ) = 0 .
Example
f (x , y ) = x 3 + x 2 y + x − y
Solution
f ( x , y )
fx = = 3x 2 + 2 xy + 1 = 0.....................(1)
x
f ( x , y )
fy = = x 2 − 1 = 0 .................................... ( 2 )
y
From (2), you get x 2 = 1, x = 1 = 1 or − 1. Then substitute these values for x in (1) and find
the respective valves of y . That is,
3 + 2y + 1 = 0
2y = − 4
y = −2
3− 2y + 1 = 0
−2y + 4 = 0
− 2y = − 4
Page | 77
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
y=2
, then
( ) ( ) ( ) f ( x, y ) has local
2
a. If f xx x0 y0 0, f yy x0 y0 0, and f xx . f yy − f xy 0 , then
maximum at ( x0 , y0 ) .
minimum at f ( x0 , y0 )
( ) 0, then ( x0, y0 ) is not a local extremum point of f (x, y ) but it is
2
c. If f xx . f yy − f xy
a saddle point if f xx and f yy have different signs or an inflection point if f xx and f yy have
Generally, the test for relative maximum and minimum of y = f ( x, y ) can be summarized as
follows.
1. f x ( x0 , y0 ) = f y ( x0 , y0 ) = 0 1. f x ( x0 , y0 ) = f y ( x0 , y0 ) = 0
f xx ( x0 y0 ) 0, f yy ( x0 y0 ) 0, f xx ( x0 y0 ) 0, f yy ( x0 y0 ) 0,
2. 2.
and f xx . f yy − ( f xy ) 0 and f xx . f yy − ( f xy ) 0
2 2
Example 1
Solution
f x = 2x + 2 y + 2 = 0
Page | 78
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
f y = 2x + 4 y − 2 = 0
Then by solving these two equation simultaneously you get x = −3 and y = 2 .Thus, (− 3, 2) is a
critical point.
To check whether it is local maximum, minimum, saddle or inflections point, you need additional
information on the signs of second order partials.
f xx = 2
f yy = 4
f xy = f yx = 2
critical point (-3, 2) represents local minimum point and f (− 3 , 2) is a local minimum value of the
function.
Example 2
For the firm producing two goods x and y, the profit function is given as
= 160 x − 2 xy − 2 y 2 + 120y − 18 − 3x 2
Then find the level of x and y that can maximize the profit.
Solution
First find the first order partials and equate them to zero to get the critical points.
= 160 − 2 y − 6 x = 0
x
= − 2 x − 4 y + 120 = 0
y
6 x + 2 y = 160
2 x + 4 y = 120
Page | 79
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
To check whether this critical point is a maximum or a minimum, apply the second derivative test
as follows.
2 2
= − 6 0 and = − 4 0 , so it satisfies the condition for maximization.
x 2 y 2
Therefore, the profit will be maximum when the firm produces 20 units of x and 20 units of y .
Exercise
Find the critical points and test whether the function has relative maximum or minimum point for
the following function
a. Z = 2 y 3 − x 3 + 14x − 54 y + 12
b. Z = 3x 2 − xy + 2 y 2 − 4 x − 7 y + 12
c. Z = 60x + 34 y − 4 xy − 6 x 2 − 3 y 2 + 5
d. Z = x 2 + xy + 2 y 2 + 3
e. Z = − x 2 + xy − y 2 + 2 x + y
4.4.2. Constrained Optimization-the Method of Lagrange Composite Function
books that will be sold, the editor would like to maximize the sales function f ( x, y) subject to
the budgetary constraint that x + y = 60,000 .
For a geometric interpretation of the process of optimizing a function of two variables subject to a
constraint, think of the function itself as a surface in three dimensional space and of the constraint
(which is an equation involving x and y ) as a curve in the xy plane. When you find the maximum
or minimum of the function subject to the given constraint, you are restricting your attention to the
portion of the surface that lies directly above the constraint curve. The highest point on this portion
Page | 80
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
of the surface is the constrained maximum, and the lowest point is the constrained minimum. The
situation is illustrated in Figure below.
A more versatile technique of solving constrained optimization is called the method of Lagrange
multipliers, in which the introduction of a third variable (the multiplier) enables you to solve
constrained optimization problems without first solving the constraint equation for one of the
variables. More specifically, the method of Lagrange multipliers uses the fact that any relative
extremum of the function f ( x, y) subject to the constraint g ( x, y) = k must occur at a critical
point (a, b) of the function where is a new variable (the Lagrange multiplier) is. To find the
critical points of F, compute its partial derivatives
Fx = f x − g x Fy = f y − g y F = −( g − k )
Fx = f x − g x = 0 or f x = g x
Fy = f y − g y = 0 or f y = g y
F = −( g − k ) = 0 or g = k
Page | 81
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
NOTE: The method of Lagrange multipliers tells you only that any constrained extrema must occur
at critical points of the function F ( x, y) . The method cannot be used to show that constrained
extrema exist or to determine whether any particular critical point (a, b) corresponds to a
constrained maximum, a minimum, or neither. However, for the functions considered in this text,
you can assume that if f has a constrained maximum (minimum) value, it will be given by the
largest (smallest) of the critical values (a, b) .
Example 1
The highway department is planning to build a picnic area for motorists along a major highway. It
is to be rectangular with an area of 5,000 square yards and is to be fenced off on the three sides
not adjacent to the highway. What is the least amount of fencing that will be needed to complete
the job?
Solution
Label the sides of the picnic area as indicated in Figure below and
f ( x, y) = x + 2 y
The goal is to minimize f given the requirement that the area must be 5,000 square yards; that is,
subject to the constraint g ( x, y) = xy = 5000 . Find the partial derivatives
f x = 1 f y = 2 g x = y and g y = x
1= y 2 = x and xy = 5000
1 2
From the first and second equations you get = and = which implies that
y x
Page | 82
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
1 2
= or x = 2 y
y x
Example 2
Solution
F ( x, y, ) = x2 + y 2 + (2 x + 2 y − 4) = x2 + y 2 + 2 x + 2 y − 4
F
= 2 x + 2 = 0 = − x (1)
x
F 2
= 2 y + 3 = 0 = − y (2)
y 3
F
= 2x + 3y − 4 = 0 (3)
2
From (1) and (2), we have x = y and substituting it into (4) results in
3
2 4
2( y ) + 3 y = 4 y + 3 y = 4
3 3
12 8
y= and x =
13 13
2 2
8 12 8 12 16
The optimum value is f , = + =
13 13 13 13 13
Page | 83
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
1. Allocation of Resources
Example*
A manufacturer has $600,000 to spend on the production of a certain product and determines that
if x units of labor and y units of capital are allocated to production, then P units will be produced,
where P is given by the Cobb-Douglas production function
Suppose each unit of labor costs $3,000 and each unit of capital costs $5,000. How many units of
labor and capital should be allocated in order to maximize production?
Solution
The cost of capital is 3000x and the cost of labor is 5000 y , so the total cost of resources is
F
= 96 x −1/5 y1/5 = 3000 (1)
x
F
= 24 x 4/5 y −4/5 = 5000 (2)
x
F
= 3000 x + 5000 y = 600000 (3)
Page | 84
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Thus, x = 160 and y = 24 . That is, to maximize production, the manufacturer should allocate
160 units to capital and 24 units to labor. If this is done,
Page | 85
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Two commodities are said to be substitute commodities if an increase in the demand for either
results in a decrease in demand for the other. Substitute commodities are competitive, like butter
and margarine.
On the other hand, two commodities are said to be complementary commodities if a decrease in
the demand of either results in a decrease in the demand of the other. An example is provided by
digital cameras and recording disks. If consumers buy fewer digital cameras, they will likely buy
fewer recording disks, too.
We can use partial derivatives to obtain criteria for determining whether two commodities are
substitute or complementary. Suppose D1 ( P1 , P2 ) units of the first commodity and D2 ( P1 , P2 ) of
the second are demanded when the unit prices of the commodities are P1 and P2 , respectively. It
is reasonable to expect demand to decrease with increasing price, so
D1 D2
0 and 0
P1 P2
For substitute commodities, the demand for each commodity increases with respect to the price of
the other, so
D1 D1
0 and 0
P2 P2
However, for complementary commodities, the demand for each decreases with respect to the price
of the other, and
D1 D1
0 and 0
P2 P2
of good X, when there is a change in the price of some other good Y. When price cross-elasticity
Page | 86
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
is positive, the goods are deemed substitutes, when the price cross elasticity is negative, the goods
are complements, and when the price-cross elasticity is zero, the goods are unrelated.
Example
10
D1 ( P1 , P2 ) = 500 + − 5P2
P1 + 2
7
D2 ( P1 , P2 ) = 400 − 2 P1 +
P2 + 3
where P1 is the dollar price of a pound of flour and P2 is the price of a loaf of bread.
Solution
a. We find that
D1 D2
= −5 0 and = −2 0 . Since both partial derivatives are negative for all P1 and P2
P2 P1
, it follows that flour and bread are complementary commodities.
In economics, the term marginal analysis refers to the practice of using a derivative to estimate
the change in the value of a function resulting from a 1-unit increase in one of its variables. In
Chapter 3, you saw some examples of marginal analysis involving ordinary derivatives of
Page | 87
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
functions of one variable. Here is an example of how partial derivatives can be used in a similar
fashion.
Example 1
It is estimated that the weekly output of a certain plant is given by the function
Q( x, y) = 1200x + 500 y + x2 y − x3 − y 2 units, where x is the number of skilled workers and y
the number of unskilled workers employed at the plant. Currently the workforce consists of 30
skilled workers and 60 unskilled workers. Use marginal analysis to estimate the change in the
weekly output that will result from the addition of 1 more skilled worker if the number of unskilled
workers is not changed. What is the marginal product of unskilled labor keeping skilled labor
constant?
Solution
The partial derivative Qx ( x, y) = 1200 + 2 xy − 3x is the rate of change of output with respect to
2
the number of skilled workers. For any values of x and y , this is an approximation of the number
of additional units that will be produced each week if the number of skilled workers is increased
from x to x + 1while the number of unskilled workers is kept fixed at y . In particular, if the
workforce is increased from 30 skilled and 60 unskilled workers to 31 skilled and 60 unskilled
workers, the resulting change in output is approximately
The partial derivative Qy ( x, y ) = 500 + x − 2 x is the rate of change of output with respect to the
2
number of unskilled workers. For any values of x and y , this is an approximation of the number
of additional units that will be produced each week if the number of unskilled workers is increased
from y to y + 1 while the number of skilled workers is kept fixed at x . In particular, if the
workforce is increased from 30 skilled and 60 unskilled workers to 30 skilled and 61 unskilled
workers, the resulting change in output is approximately
Page | 88
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Example 2
A manufacturer estimates that the monthly output at a certain factory is given by the Cobb-Douglas
function Q( L, K ) = 50L0.6 K 0.4 where K is the capital expenditure in units of $1,000 and L is the
size of the labor force, measured in worker-hours.
a. Find the marginal productivity of capital QK and the marginal productivity of labor QL
when the capital expenditure is $750,000, and the level of labor is 991 worker-hours.
b. Should the manufacturer consider adding capital or increasing the labor level in order to
increase output?
Solution
−0.4
a. QL ( L, K ) = 50(0.6) L K 0.4 = 30L−0.4 K 0.4 and QK ( L, K ) = 50(0.4) L0.6 K −0.6 = 20L0.6 K −0.6
[
K
The slope of an isoquant − indicates how the quantity of one input can be traded off
L
against the quantity of the other, while output is held constant. The absolute value of the slope
of an isoquant is called marginal rate of technical substitution (MRTS). The MRTS shows the
amount by which the quantity of one input can be reduced when one extra unit of another input
Page | 89
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
is used, so that output remains constant. MRTS of labor for capital, denoted as MRTSL, K
shows the amount by which the input of capital can be reduced when one extra unit of labor is
used, so that output remains constant.
MRTSL,K (the slope of isoquant) can also be given by the ratio of marginal products of factors.
That is,
K MPL Q / L
MRTS L , K = − = =
L MPK Q / K
Where Q- is output
Q = f ( L, K )
L- is unit of labor employed
K-is the amount of capital employed.
Given this production function, the equation of a specific isoquant can be obtained by equating
Q = f ( L, K )
Q Q
.dL + .dK = dQ
L k
Q Q Q Q
So, .dL + dK = 0 (But, = MPL and = MPK )
L k L k
Page | 90
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
MPL − dK
=
MPk dL
Therefore, the slope of an isoquant can be given as the ratio of marginal products of inputs.
Elasticity of substitution
MRTS as a measure of the degree of substitutability of factors has a serious defect. It depends on
the units of measurement of factors. A better measure of the ease of factor substitution is provided
by the elasticity of substitution, δ. The elasticity of substitution is defined as
K
d
L
K K K K L
% % d
= L = L = L = LK
%MRTS MPL MPL MPL MPK
% d d
MPK MPK MPK MPL
MPL
MPK
5. Utility Analysis
The main objective of rational consumer is maximization of his utility given his limited income
and market prices of goods and services. Mathematically, the aim of the consumer can be written
as
max U = f ( x, y, z )
S .t
I = Px . x + p y y + pz . z where U is total utilily and I is consumer limted income
Px , Py ,and Pz are per unit price of good x, y,and z respectivelly
The main interest here is to find the consumer equilibrium (i.e., the consumption level that gives
maximum utility to the consumer). This is in fact means that maximizing the above constrained
utility function through the Lagrange Multiplier method. To do this the first step is to find the
critical points for the corresponding Lagrange Multiplier function through first order derivative
test as follows.
Page | 91
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
−
Let F ( x, y, z, ) = U ( x, y, z ) − px , x + p y . y + pz . Z − I be the Lagrange Multiplier
function, then find the first order partial derivatives and equating them to zero to get the critical
points.
F U
= − . px = 0
x x
F U
= − . p y = 0
y y
F U
= − . pz = 0
z z
F −
= − px . x + p y . y + pz . z − I = 0
U U U
But = U x , = U y ,and = U z . So the above equations can be re- arranged
x y z
as
MU x = . Px
MU y = . Py
MU z = . Pz
And from these equations you can derive the first condition for maximization as
MU x MU y MU z
= = =
Px Py Pz
The second order condition for maximization from the second order derivative test will be
2 F 2 F 2 F
0, 2 0 and 0
x 2 y z 2
2 F 2 U 2 U
Moreover, = 0 and is slope of MU x
x 2 x 2 x 2
Page | 92
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
2 F 2 U 2 U
= 0 and is slope of MU y
y 2 y 2 y 2
2 F 2 U 2 U
= 0 and is slope of MU z
z 2 z 2 z 2
Therefore, at equilibrium the marginal utilities of each commodity must be positive and decline.
Example**
Find the levels of x and y that can maximize the utility given by
Solution
F
= 0.6 x −0.4 y 0.25 − 8 = 0
x
F
= 0.25 x0.6 y −.075 − 5 = 0
y
F
= − (8 x + 5 y − 680 ) = 0
0.6 x −0.4 y 0.25 = 8 .........................................(1)
0.25 x 0.6 y −0.75 = 5..........................................( 2 )
Then divide equation (1) by (2), to get
0.6 x −0.4 y 0.25 8
0.6 −0.75
=
0.25 x y 5
60 y 8
=
25 x 5
y 8 25 40 x 60
= = and = = 1.5 x = 1.5 y.
x 5 60 60 y 40
Substitute x = 1.5 y on budget line equation as
Page | 93
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
2 F
= − 0.4 ( 0.6 ) x −0.4 −1 y 0.25
Moreover, x 2
= − 0.24 x −1.4 y 0.25 0 at x = 60 and y = 40
2 F
= − 0.75 ( 0.25) x 0.6 y −0.75−1
y 2
6. Profit Analysis
Max Q = f (L, K )
S .t
C = w L + rK
Here also, you can use the method of Lagrange Multiplier to find the level of input combination
that can maximize the profit of the firm.
find the first order partial derivatives and equating them to zero to get the critical points.
F f
= − w = 0
L L
Page | 94
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
F f
= − r = 0
K K
F
= − ( w L + rk − C ) = 0
f f
But the expressions and are the marginal products of labor and capital respectively and
L K
thus the first two of the above equations can be re-arranged as
If you solve these equations for , you will get the expression the first condition for maximization
MPL MPK
as = =
w r
2F 2 f 2 f
= 0, and = slope of MPL
L2 L2 L2
2F 2 f 2 f
= 0, and = slope of MPK
K 2 K 2 K 2
Therefore, at equilibrium,
i) The ratio of marginal product to the price of the input must be equal for all inputs.
MPL MPK MPL MPK
That is, = or =
w r PL PK
ii) ii) Each marginal product must be positive but declining
In this case output is given or remaining constant and the problem can written mathematically as
Min C = w.L + r. k
S. t
−
Q = f (L, k )
Page | 95
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
First apply the first order test on the Lagrange function, F, to get the first order condition for
maximization.
F f
= W − . =0
L L
F f
= r − . =0
K K
F
= − ( f ( L, K ) − Q ) = 0
Using the marginal product notations, the first two of the above equations can written as
If you solve these equations for , you will get the expression
w r 1 MPL MPk
= = Or = = as the first condition for maximization.
MPL MPK W r
2 F 2 f
The second order condition for V to maximized will be = − . 2 0 which imply that
L2 L
2 f
0 or the slope of MPL must be negative
L2
2V 2 f f 2
= − . 0 which imply that 0 or the slope of MPK must be negative
K 2
K 2
K 2
Therefore, at equilibrium,
i) The ratio of marginal product to the price of the input must be equal for all inputs. That
MPL MPK MPL MPK
is, = or =
w r PL PK
ii) Each marginal product must be positive but declining
Example
A firm can produce its product at two of its plants. The cost of manufacturing x units at the first
plant and y units at the second plant is given by the joint cost function
Page | 96
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
C (x , y ) = x 2 + 2 y 2 + 5 xy + 700 .
If the firm has a supply order of 500 units, how many units should be produced at each plant to
minimize the total cost?
Solution
F
= 2x + 5 y − = 0
x
F
= 5x + 4 y − = 0
y
F
= − ( x + y − 500 ) = 0
2x + 5 y =
5x + 4 y =
Again solve these equations simultaneously to get y = 3 x and substitute it in the supply order
constraint function as follows to get the critical point.
x + 3 x = 500
4 x = 500
2 F 2 F
Moreover, = 2 0 and =40
x 2 y 2
Therefore, x = 125 units and y = 375 units are cost minimizing levels of output.
Page | 97
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
The Lagrange Multiplier as a Rate: Suppose M is the maximum (or minimum) value of f ( x, y)
, subject to the constraint g ( x, y) = k . The Lagrange multiplier is the rate of change of M with
dM
respect to k. That is, = .
dk
Example
Reconsider Example* in Section 4.5. Suppose the manufacturer is given an extra $1,000 to spend
on capital and labor for the production of the commodity in Example*; that is, a total of $601,000.
Estimate the effect on the maximum production level.
Solution
In Example*, we found the maximum value M of the production function P( x, y) = 120 x 4/5 y1/5
subject to the cost constraint 3000x + 5000x = 60000 by solving the three Lagrange equations
96 x−1/5 y1/5 = 3000 24x 4/5 y −4/5 =5000 and 3x + 5 y = 600 to obtain
The multiplier can be found by substituting these values of x and y into either the first or second
Lagrange equation. Using the first equation, we find that
Page | 98
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
This means that the maximum production with the new cost constraint increases by approximately
0.0219 units for each $1 increase in the constraint. Since the constraint increases by $1,000, the
maximum production increases by approximately
NOTE: A problem like Example*, where production is maximized subject to a cost constraint, is
called a fixed budget problem. In the context of such a problem, the Lagrange multiplier is
called the marginal productivity of money. Similarly, the multiplier in a utility problem like that
in Example** is called the marginal utility of money.
Exercise
1. . Find the values of the function that can optimize the following functions
a. Z = 4 x 2 − 2 xy + 6 y 2 subject to x + y = 72
b. Z= 4 x 2 − 3x + 5 xy − 8 y + 2 y 2 subject to x = 2 y
c. Z= − 5 x 2 + 7 x + 10xy + 9 y − 2 y 2 subject to y = 2 x
2. When x thousand dollars are spent on labor and y thousand on equipment, the output of
a certain factory is Q units, where Q( x, y) = 60 x1/3 y 2/3 . Suppose $120,000 is available for
labor and equipment.
a. How should the money be allocated between labor and equipment to generate the
largest possible output?
b. Use the Lagrange multiplier to estimate the change in the maximum output of the
factory that will result if the money available for labor and equipment is increased to
$121,000.
7. Partial Elasticities
Like any other function, the saving function, the utility function, the production function, and the
consumption function can all be expected to give rise to elasticity measures similar to that defined
in Chapter 3 (elasticity of demand). For instance, given the saving function S = f (Y , i) , the partial
S Y S i
elasticities of saving may be written as S ,Y = and S ,i = .
Y S i S
Page | 99
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
For the utility function, the n partial elasticities can be concisely denoted as follows:
S xi
U ,i =
xi S
CHAPTER FIVE
5. INTEGRATION
5.1. The Concept of Integration
Up to this time, we have been concerned with finding the derivative of a function. However, there
are some problems in economics that require us to come up with the original function given its
rate of change. These problems are common in the area of social welfare, distribution of income
of a country etc. The technique of finding out the original function based on its derivative is known
as integration or antiderivative.
Antidifferentiation: A function F ( x) is said to be an antiderivative of f ( x) if F '( x) = f ( x)
Example
1 3
Verify that F ( x) = x + 5 x + 2 is an antiderivative of f ( x) = x2 + 5 .
3
Solution
A function has more than one antiderivatives. For example, one antiderivative of the function
The Indefinite Integral: You have just seen that if F ( x ) is one antiderivative of the continuous
function f ( x ) , then all such antiderivatives may be characterized by F ( x ) + C for constant C . The
family of all antiderivatives of f ( x ) is written
f ( x)dx = F ( x) + C
and is called the indefinite integral of f ( x ) . The integral is “indefinite” because it involves a
constant C that can take on any value. In the context of the indefinite integral
the constant of integration, and dx is a differential that specifies x as the variable of integration.
These features are displayed in this diagram for the indefinite integral of f ( x) = 3x 2 :
Page | 101
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
F '( x)dx = F ( x) + C
dF
since by definition, F ( x ) is an antiderivative of F '( x ) . Equivalently, dx dx = F ( x) + C .
It is useful to remember that if you have performed an indefinite integration calculation that leads
you to believe that f ( x)dx = G( x) + C , then you can check your calculation by differentiating
G ( x) :
The relationship between differentiation and antidifferentiation we have seen above enables us to
establish these integration rules by “reversing” analogous differentiation rules. In this section, we
will briefly discuss the rules of integration which shall refer to increasingly from time to time while
we are dealing with the techniques of integration.
1. 4dx = 4 x + C
2. −6dx = −6 x + C
b. Constant Multiple Rule: for K ( f ( x)dx = K ( f ( x)dx
Example:
1. 10 xdx = 10 xdx
2. 5 x10 dx = 5 x10 dx
3. −8 x 7 dx = −8 x 7 dx
Page | 102
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
( 4 x + 3x − 5) dx = 4 x dx + 3xdx − 5dx
2 2
1.
2. ( 2 x − 8 x − 2 x + 7 ) dx = 2 x dx − 8x dx − 2 xdx + 7dx
3 2 3 8
x n +1
x dx = + C for n −1
n
d. Simple Power Rule:
n +1
Example:
x1+1 3 2
1. 3xdx = 3 xdx = 3 +C = x +C
1+1 2
1 x −3+1 x −2
2. 3 = x −3 dx = +C = − +C
x dx −3 + 1 2
1
+1 3
x2 2 2
xdx = x dx = +C = x +C
1/2
3. 1
2
+1 3
4 x3 3x 2
4. ( 4 x − 3 x + 4 )dx = 4 x dx − 3 xdx + 4dx =
2 2
− + 4x + C
3 2
−1
x +1
1 3 1
x 1 2
5. dx = dx + dx = x 2 dx + x 2 dx = x 2 + 2 x 2 + C
x x x 3
Since all the functions that we have come up with after integration have unknown C term, all the
integrations that involve C are known as indefinite integral. Sometimes, when initial conditions
are given, the particular solution can be calculated.
1
Example: Given x 2
dx and f (1) = 2 , find f ( x )
Solution
1 −1
f ( x) = 2
dx = + C . But f (1) = −1 + C = 2 C = 3
x x
Page | 103
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
−1
Thus, f ( x) = +3
x
Like what we have done in relation to the derivative of non-algebraic functions, here we will
present the integration of the logarithmic functions first accompanied by the integration of
exponential functions. Concerning the integration of logarithmic functions, let’s begin with
example. The general power rule of integration applies only when n −1; i.e.
du
u
−1
dx = ln u + C
dx
We use absolute value to protect it from being negative & the whole logarithm undefined. This
d ln x 1
formula is a direct result of the fact that = .
dx x
1
x dx = x
−1
Thus, dx = ln x + C
d ln u du 1
Similarly, when u is a function of x , =
dx dx u
1 du
Therefore, u dx dx = ln u + C
Example: Evaluate the indefinite integral of the following.
−1
a. ( 4 x + 1) 4dx
( x − 1) ( x − 6x + 1)
2 −1
b. dx
x 4 − 2 x3 + 4 x 2 − 7 x − 1
c. x2 − 2x
dx
Solution
du −1
a. Let 4 x + 1 = u so that = 4 du = 4dx . Thus, u du = ln u + C = ln 4 x + 1 + C
dx
b. Let u ( x) = x 2 − 6 x + 1
Page | 104
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
du
= 2 x − 6 x = 2( x − 3)
dx
1
( x − 3) dx = du
2
( x − 3) ( x
− 6 x + 1) dx = u −1du
2 1
Thus,
2
1 1
= u −1 du = ln u + C
2 2
1
= x2 − 6x + 1 + C
2
x 4 − 2 x3 + 4 x 2 − 7 x − 1 x −1
c. dx = ( x 2 + 4 ) + 2 dx
x − 2x
2
x − 2x
x 4 − 2 x3 + 4 x 2 − 7 x − 1 x −1
dx = ( x 2 + 4 ) + 2 dx
x − 2x
2
x − 2x
x −1
= ( x 2 + ) dx + 2 dx
x − 2x
−1 1
= x3 + 4 x + ( x 2 − 2 x ) ( 2 ) ( x − 1) dx
1
3 2
=
1 3
3
1
(
x + 4 x + ln x 2 − 2 x + C
2
)
1
= x3 + 4 x + ln x 2 − 2 x + C
3
a kx
The integral of an exponential function is a dx = kx
+C
k ln a
Example
64 x
6 dx = +C
4x
a.
4 ln 6
22 x
2 dx = +C
2x
b.
2 ln 2
Page | 105
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
de x dekx
In relation to exponential function, we have seen that = e x and = ke x .
dx dx
1 x
Thus, e x dx = e x + C and e
kx
dx = e +C .
k
deu
Moreover, we have seen that when u is a function of x , that is, u = f ( x) , = u '( x)eu , thus
dx
e u '( x)dx = e +C .
u u
2e dx = 2 e dx = 2e +C
x x x
a.
1
e dx = e5 x + C
5x
b.
5
5.3.1. Integration by Substitution
The majority of functions that occur in practical situations can be differentiated by applying rules
and formulas such as those you learned in Chapter 3. Integration, however, is at least as much an
art as a science, and many integrals that appear deceptively simple may actually require a special
technique or clever insight. For example, we easily find that
x8
x dx = + C by applying the power rule, but suppose we wish to compute
7
( x + 6)
12
dx
We could proceed by expanding the integrand ( x2 + 6) and then integrating term by term, but
12
the algebra involved in this approach is daunting. Instead, we make the change of variable
1
u = x + 1 so that du = 2dx or dx = du
2
Page | 106
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
1 1 1 u13
+ C = ( x2 + 6) + C
1
( x + 6)
12
dx = u12 du = u12 du =
13
2 2 2 13 26
The change of variable procedure we have just demonstrated is called integration by substitution,
and it amounts to reversing the chain rule for differentiation. To see why, consider an integral that
can be written as
d
[G (u ( x))] = G '(u ( x))u '( x ) = g (u ( x ))u '( x )
dx
3
2 x( x + 1) dx
2
a.
du
Let x 2 + 1 = u and = 2 x du = 2 xdx
dx
Then we get
2 x( x + 1) dx = ( x + 1) ( 2 xdx )
3 3
2 2
= u du
3
1
= u4 + C
4
= ( x 2 + 1) + C
1 4
4
x
b. Find x − 1 dx
Solution
Following our guidelines, we substitute for the denominator of the integrand, so that
u = x -1 and du = dx . Since u = x -1, we also have x = u + 1. Thus,
Page | 107
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
x u +1
x − 1 dx = u
du
1
= 1 + du
u
= u + ln u + C
= x − 1 + ln x − 1 + C
x e
3 x4 + 2
c. Find dx
Solution
If the integrand of an integral contains an exponential function, it is often useful to substitute for
the exponent. In this case, we choose u = x 4 + 2 so that du = 4 x 3 dx and
x e dx = e x
3 x4 + 2 4
+2
( x 3 dx )
1
= eu du since du = 4 x 3 dx
4
1 u
= e +C
4
1 4
= e x +2 + C
4
d. Find 4 x + 8dx
Solution
1
We choose u = 4x + 8 and obtain du = 4dx so that dx = dx
4
Then the integral becomes
1
4 x + 8dx = u du
4
3
1 1 1u 2
= u 2 du = +C
4 4 3
2
1
= ( 4 x + 8) 2 + C
3
6
x 2 + 3x + 5
e. Find dx
x +1
Solution
Suppose we simply divide the denominator into the numerator:
Page | 108
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
x+2
x + 1 x 2 + 3x + 5
− x( x + 1)
2x + 5
−2( x + 1)
3
x 2 + 3x + 5 3
That is, = x+2+
x +1 x +1
3
We can integrate x + 2 directly using the power rule. For the term , we use the substitution
x +1
u = x + 2 ; du = dx :
x 2 + 3x + 5 3 3
x + 1 dx = x + 2 + x + 1dx = xdx + 2dx + u du
x2 x2
= + 2 x + 3ln u + C = + 2 x + 3ln x + 1 + C
2 2
1
f. Find 1+ e −x
dx
1 1 1 ex
Solution: Note that = = x =
1 + e− x 1 e + 1 ex + 1
1+ x
e ex
Now, if you substitute u = e x + 1 with du = e x dx into the given integral, you get
1 ex 1
1 + e− x = e x + 1 dx = e x + 1 (e dx)
x
dx
1
= du = ln u + C = ln e x + 1 + C
u
5.3.2. Integration by Part
Integration by parts is a technique of integration based on the product rule for differentiation. In
particular, if u ( x ) and v ( x ) are both differentiable functions of x , then
d dv du
u ( x )v ( x ) = u ( x ) + v ( x )
dx dx dx
Page | 109
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
dv d du
So that u ( x) = u ( x )v ( x ) − v ( x )
dx dx dx
dv d du
[u( x) dx ]dx = dx u( x)v( x) dx − [v( x) dx ]dx
du
= u ( x )v ( x ) − [ v ( x ) ]dx
dx
d
since u ( x)v( x) is an antiderivative of u ( x)v( x) . Moreover, we can write this integral formula
dx
dv du
in the more compact form udv = uv − vdu since dv = dx and du = dx
dx dx
The equation udv = uv − vdu is called the integration by parts formula. The great value of
this formula is that if we can find functions u and v so that a given integral f ( x)dx can be
expressed in the form f ( x)dx = udv , then we have
and the given integral is effectively exchanged for the integral vdu . If the integral vdu is easier
Example
x
2
a. Find ln xdx
Our strategy is to express x 2 ln xdx as udv by choosing u and v so that vdu is easier to evaluate
1
than udv . This strategy supports that we choose u = ln x and dv = x 2 dx since du = dx is a
x
simpler expression than ln x , while v can be obtained by the relatively easy integration
Page | 110
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
1 3
v = x 2 dx = x
3
Substituting this choice for u and v into the integration by parts formula, we obtain
1 1 1
x ln xdx = (ln x) ( x 2 dx) = (ln x) x 3 − x 3 dx
2
u dv u 3 3 x
v v du
1 1 1 11
= x3 ln x − x 2 dx = x 3 ln x − x 3 + C
3 2 3 33
1 1
= x3 ln x − x 3 + C
3 9
xe
2x
b. Find dx
Solution
1 2x
Let u = x du = dx and dv = e 2 x dx so that v = e 2 x dx = e . Directly inserting in to the
2
formula, we obtain
1 1
xe dx = x e 2 x − e 2 x dx
2x
2 2
1 1
= x − e2 x + C
2 2
c. Find ln xdx
Solution
1
Let u = ln x du = dx and dv = dx v = x .
x
1
Then ln xdx = x ln x − x. dx = x ln x − x + C
x
Sometimes we have to use integration by parts more than once.
Example
x e dx
2 x
d. Evaluate
x e dx = x e − 2 xe x dx
2 x 2 x
Page | 111
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
The new integral is less complicated than the original because the exponent on x is reduced by
one. To evaluate the integral on the right, we integrate by parts again with
u = x du = dx, and dv = e x dx v = e x
x e dx = x e − 2 xe x dx
2 x 2 x
= x 2 e x − 2 xee + 2e x + C
3
c. Find 4 x( x + 1) dx
Solution
As a general rule, consider first the simpler function for u and the more complicated function for
dv .
1
By letting u = 4 x and dv = ( x + 1)3 , then du = 4dx and v = ( x + 1) dx = ( x + 1) . Substituting
3 4
4
these values into the formula, we get
1 1 4
4 x( x + 1) dx = ( 4 x ) 4 ( x + 1) − 4 ( x + 1) (4)dx
3 4
1
= x ( x + 1) − ( x + 1) + C
4 5
Page | 112
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
5x − 3 2 3
( x + 1)( x − 3) = x + 1 dx + x − 3 dx
= 2ln x + 1 + 3ln x − 3 + C
The method for rewriting rational functions as a sum of simpler fractions is called the method of
partial fractions. In the case of the above example, it consists of finding constants A and B such
5x − 3 A B A B
that = + . We call the fractions and partial fractions because their
x − 2x − 3 x + 1 x − 3
2
x +1 x−3
denominators are only part of the original denominator x 2 − 2 x − 3 . We call A and B undetermined
coefficients until proper values for them have been found.
This will be an identity in x if and only if the coefficients of like powers of x on the two sides are
equal:
A + B = 5, − 3 A + B = −3
Page | 113
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
3 1 −1
A= , B = and C=
4 2 4
Hence, we have
x2 + 4 x + 1 3 1 1 1 1 1
( x − 1)( x + 1)( x + 3)dx = 4 x − 1 + 2 x + 1 − 4 x + 3 dx
3 1 1
= ln x − 1 + ln x + 1 − ln x + 3 + C
4 2 4
6x + 7
Evaluate ( x + 2) 2
dx
Solution: First we express the integrand as a sum of partial fractions with undetermined
coefficients.
6x + 7 A B
= +
( x + 2)
2
( x + 2 ) ( x + 2 )2
6x + 7 = A ( x + 2) + B multiply both sides by ( x + 2 )
2
=Ax + 2 A + B
Equating coefficients of corresponding powers of x gives
A = 6 and 2 A + B = 12 + B = 7 or B = -5
6x + 7 6 5
( x + 2) 2
dx = −
x + 2 ( x + 2 )2
dx
Therefore,
= 6 ln x + 2 − 5 ( x + 2 ) + C
−1
2 x3 − 4 x 2 − x − 3
Evaluate1 x 2 − x − 3 dx
Solution: First we divide the denominator into the numerator to get a polynomial plus a proper
fraction.
2x
x − x − 3 2x − 4x − x − 3
2 3 2
2 x3 − 4 x 2 − 6 x
5x − 3
Then we write the improper fraction as a polynomial plus a proper fraction.
1
Such type of fraction is known as an improper fraction
Page | 114
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
2 x3 − 4 x 2 − x − 3 5x − 3
= 2x + 2
x − x−3
2
x − x−3
We found the partial fraction decomposition of the fraction on the right in the opening example,
so
2 x3 − 4 x 2 − x − 3 5x − 3
x2 − x − 3 dx = 2 xdx + x2 − x − 3 dx
2 3
= 2 xdx + dx + dx
x +1 x−3
= x 2 + 2 ln x + 1 + 3ln x − 3 + C
The function f(x) is called the integrand, and the numbers a and b are called the lower and upper
limits of integration, respectively. The process of finding a definite integral is called definite
integration.
f ( x)dx
b
The symbol a
f ( x) dx used for the definite integral is essentially the same as the symbol
for the indefinite integral, even though the definite integral is a specific number while the indefinite
b
integral is a family of functions, the antiderivatives of f . f ( x)dx is the net change of an anti-
a
Page | 115
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
b
f ( x)dx = F ( x) a = F (b) − F (a ) where F ( x ) is any antiderivative of f ( x ) on a x b
b
a
.
Example: Evaluate the definite integrals of the following
3
3 x4 34 14 81 1
x dx = + C = + C − + C = − = 20
3
1.
1
4 1 4 4 4 4
20
1 1 1
20
1
2. xdx = x 2 + C = (20)2 + C − (0)2 + C = 100
0
2 4 0 4 4
5.4.1. Properties of Definite Integral
Here are the basic properties of definite integrals which we often refer to in dealing with analytical
and empirical problems involving definite integrals and related issues. The properties are
intuitively attracting and seem convincing though their proof is overlooked for advanced courses
or your investigation through further readings.
This list of rules can be used to simplify the computation of definite integrals.
Page | 116
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
One of the most important applications of definite integral is the calculation of area under a
curve.
Example: Use the fundamental theorem of calculus to find the area of the region under the line
y = 2 x + 1 over the interval 1 x 3 .
3
A = ( 2 x + 1) dx = x 2 + x = 32 + 3 − 12 + 1 = 10
3
1
1
In certain practical applications, you may find it useful to represent a quantity of interest in terms
of area between two curves. First, suppose that f and g are continuous, nonnegative [that is,
f ( x) 0 and g ( x ) 0 ], and satisfy f ( x) g ( x) on the interval a x b , as shown in Figure
below.
Page | 117
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Then, to find the area of the region R between the curves y = f ( x) and y = g ( x) over the
interval a x b , we simply subtract the area under the lower curve y = g ( x) (Figure 5.1c)
from the area under the upper curve y = f ( x) (Figure 5.9b), so that
Example: Find the area of the region R enclosed by the curves y = x3 and y = x 2 .
Solution: To find the points where the curves intersect, solve the equations simultaneously as
follows:
x3 = x 2
x3 − x 2 = 0
x 2 ( x − 1) = 0 x = 1, 0
The corresponding points (0, 0) and (1, 1) are the only points of intersection. The region R enclosed
by the two curves is bounded above by y = x 2 and below by y = x3 , over the interval 0 x 1 . The
area of this region is given by the integral
Page | 118
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
1 1
1 1 1
A = x 2 − x3 dx = x 3 − x 4 =
0
3 4 0 12
In certain applications, you may need to find the area A between the two curves y = f ( x) and
y = g ( x) over an interval a x b , where f ( x) g ( x) for a x c but g ( x) f ( x) for
c b
A= f ( x) − g ( x) dx
a
+ g ( x) − f ( x) dx
c
f ( x ) g ( x ) on a x c f ( x ) g ( x ) on c x b
Example: Find the area of the region enclosed by the line y = 4 x and the curve y = x3 + 3x 2 .
Solution: To find where the line and curve intersect, solve the equations simultaneously as
follows:
x3 + 3x 2 = 4 x
x3 + 3x 2 − 4 = 0
x ( x 2 + 3x − 4 ) = 0
x ( x − 1)( x + 4 ) = 0 x = 0,1, −4
The corresponding points of intersection are (0, 0), (1, 4), and (-4, -16). Over the interval
−4 x 0 , the curve is above the line, so x3 + 3 x 2 4 x , and the region enclosed by the curve and
line has area
0 0
A1 = ( x3 + 3x 2 ) − 4 x dx = x 4 + x 3 − 2 x 2
1
−4
4 −4
1 1
= (0) 4 + (0)3 − 2(0) 2 − ( −4) 4 + ( −4) 3 − 2( −4) 2 = 32
4 4
Over the interval 0 x 1 , the line is above the curve and the enclosed region has area
Page | 119
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
0 1
1 1 3
= 2(1) 2 − (1) 4 − (1)3 − 2(0) 2 − (0) 4 − (0)3 =
4 4 4
Therefore, the total area enclosed by the line and the curve is given by the sum
3
A = A1 + A2 = 32 + = 32.75
4
5.4.3. Improper Integrals
A definite integral with infinity for either an upper or lower limit of integration is called an
improper integral.
b
a
f ( x)dx and
−
f ( x)dx
are improper integrals because is not a number and cannot be substituted for x in F ( x ) . They
can, however, be defined as the limit of other integrals, as shown below:
b b b b
a
f ( x)dx = lim f ( x)dx and
b →
a
−
f ( x)dx = lim f ( x)dx
a →−
a
If the limit in either case exists, the improper integral is said to converge and the integral has a
definite value. If the limit does not exists, the improper integral is said to diverge and is
meaningless.
Example: Evaluate the following improper integrals
3 6
a. 1 x2 dx b. x dx
1
Solution
−3 −3 (−3) −3
b b
3 3
a. 2 dx = lim 2 =lim = lim − = lim + 3 = 3
1 x
b → x
1 b → x 1 b → b 1 b→ b
b
6 6
b. dx = lim =lim 6ln x 1 = lim 6ln b − 6ln 1 = lim 6ln b since ln 1 = 0
b
1
x b→ x
1
b→ b→ b→
Page | 120
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
In this section, we examine several important applications of definite integration to business and
economics, such as consumers’ willingness to spend, and consumers’ and producers’ surplus,
derivation of total function from marginals and income inequality to mention some among many.
We begin by showing how integration can be used to measure the value of an asset.
In a competitive economy, the total amount that consumers actually spend on a commodity is
usually less than the total amount they would have been willing to spend. Suppose the market price
of a particular commodity has been fixed at p0 and consumers will buy q0 units at that price.
Market conditions determine that p0 = D(q0 ) , where D(q0 ) is the demand function for the
commodity. Then the difference between the consumers’ willingness to pay for q0 units and the
amount they actually pay, p0 q0 , represents a perceived advantage to the consumer that economists
Consumers’ surplus CS is the area of the region between the demand curve p = D ( q ) and the
horizontal line p = p0 and hence is equal to the definite integral
Page | 121
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
q0 q0 q0 q0 q0
Producers’ surplus is the other side of the coin from consumers’ surplus. Recall that the supply
function p = S (q ) gives the price per unit that producers are willing to accept in order to supply
q units to the marketplace. However, any producer who is willing to accept less than p0 = S (q0 )
dollars for q0 units gains from the fact that the price is p0 . Then producers’ surplus is the difference
between what producers would be willing to accept for supplying q0 units and the price they
actually receive. Reasoning as we did with consumers’ surplus, we obtain the following formula
for producers’ surplus.
Example: A tire manufacturer estimates that q (thousand) radial tires will be purchased
(demanded) by wholesalers when the price is p = D(q) = −0.1q 2 + 90 dollars per tire, and the
same number of tires will be supplied when the price is p = S (q) = 0.2q 2 + q + 50 dollars per tire.
Page | 122
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
a. Find the equilibrium price (where supply equals demand) and the quantity supplied and
demanded at that price.
b. Determine the consumers’ and producers’ surplus at the equilibrium price.
Solution
−1 (1)2 − 4(0.3)(−40) −1 49 −1 7
q= = =
2(0.3) 0.6 0.6
6 −8
q= = 10, and q = (reject since q cannot be negative)
0.6 0.6
And p = −0.1(10)2 + 90 = 80 dollars per tire. Thus, equilibrium occurs at a price of $80 per tire,
and then 10,000 tires are supplied and demanded.
10
CS = ( −0.1q + 90 )dq − (80)(10)
2
0
10
−0.1q 3
= + 90q − 800 866.67 − 800 = $66.67 thousands
3 0
10
PS = (80)(10) − ( 0.2q 2 + q + 50 )dq
0
10
q3 q 2
= (80)(10) − 0.2 + + 50q = 800 − 616.67 = $183.33 thousands
3 2 0
5.5.2. Total Function Derivation from Marginal Functions
Given a total function (e.g., a total cost function, total product, total revenue function, total profit
function), the process of differentiation can yield the marginal function (e.g., MC, MP, MR,
Page | 123
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
marginal profit function). Because the process of integration is the opposite of differentiation, it
should enable us, conversely, to infer the total function from a given marginal function.
Example
MdQ = TC
TC = (− 4 Q + 6Q − 80 dx)
3
= − 4Q dx + 6QdQ + − 80dx
TC = − Q 3 + 3Q 2 − 80 Q + C Since C is the fixed cost, it can be replaced by 90.
2. Suppose that the marginal profit for a company is '( x) = 100 + 50 x − 3 x3 . Find the total
profit function if profit is zero when nothing is sold.
Solution
−1
3. If the marginal propensity to save (MPS) as a function of income is S '(Y ) = 0.3 − 0.1Y 2
,
and if the aggregate saving S is nil when income is 81, find the saving function S(Y).
Solution: Since MPS is the derivative of S function, the problem now calls for the integration of
S '(Y ) :
Page | 124
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
1
0 = 0.3(81) − 0.2(81) 2 + C C = −22.5 . Hence, the desired function is
1
S (Y ) = 0.3Y − 0.2Y 2 − 22.5
While no country has been able to achieve equal distribution of income, a desirable goal in the
eyes of many political scientists is to reduce the in-qualities that exist. Area also plays an important
role in the study of Lorentz curves, a device used by both economists and sociologists to measure
the percentage of a society’s wealth that is possessed by a given percentage of its people. To be
more specific, the Lorentz curve for a particular society’s economy is the graph of the function
L(x), which denotes the fraction of total annual national income earned by the lowest-paid 100x%
of the wage-earners in the society, for 0 x 1 . For instance, if the lowest-paid 30% of all wage-
earners receive 23% of the society’s total income, then L(0.3) = 0.23 . Note that L(x) is an
increasing function on the interval 0 x 1 and has these properties:
1. 0 L( x) 1 because L(x) is a percentage
2. L (0) = 0 because no wages are earned when no wage-earners are employed
3. L(1) = 1 because 100% of wages are earned by 100% of the wage-earners
L( x ) 1 because the lowest-paid 100x% of wage-earners cannot receive
4.
more than 100x% of total income
Page | 125
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
The line y = x represents the ideal case corresponding to complete equality in the distribution of
income (wage-earners with the lowest 100x% of income receive 100x% of the society’s wealth).
The closer a particular Lorentz curve is to this line, the more equitable the distribution of wealth
in the corresponding society. We represent the total deviation of the actual distribution of wealth
in the society from complete equality by the area of the region R1 between the Lorentz curve
y = L ( x ) and the line y = x . The ratio of this area to the area of the region R2 under the complete
x − L( x) dx x − L( x) dx 1
= 0
1
= 0
= 2 x − L( x) dx
1
xdx
0
2
0
The Gini index always lies between 0 and 1. An index of 0 corresponds to total equity in the
distribution of income, while an index of 1 corresponds to total inequity (all income belongs to 0%
of the population). The smaller the index, the more equitable the distribution of income, and the
larger the index, the more the wealth is concentrated in only a few hands.
Example
1. A governmental agency determines that the Lorentz curves for the distribution of income
for dentists and contractors in a certain state are given by the functions
L1 ( x) = x1.7 and L2 ( x) = 0.8x2 + 0.2x respectively. For which profession is the distribution of
income more fairly distributed?
Solution
Page | 126
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
1
1
x 2 x 2.7
G1 = 2 ( x − x )dx = 2 −
1.7
= 0.2593
0 2 2.7 0
1
1
0.8 x 2 0.8 x3
G2 = 2 x − ( 0.8 x + 0.2 x ) dx = 2
2
− = 0.2667
0 2 3 0
Since the Gini index for dentists is smaller, it follows that in this state, the incomes of dentists are
more evenly distributed than those of contractors.
b. L( x) = x 2
Solution
1
1
x4 1
a. GI = 2 x dx = 2 = 2 − 0 = 0.5
3
0 4 0 4
1
1
x3 1
b. GI = 2 x dx = 2 = 2 − 0 = 0.67
2
0 3 0 3
Page | 127
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
CHAPTER SIX
In earlier chapters much of the economic analysis used has been comparative statics. This entails
the comparison of different (static) equilibrium situations, with no mention of the mechanism by
which price and quantity adjust to their new equilibrium values. The branch of economics that
looks at how variables adjust between equilibrium values is known as ‘dynamics’, and this chapter
gives an introduction to some simple dynamic economic models.
The ways in which markets adjust over time vary tremendously. In commodity exchanges, prices
are changed by the minute and adjustments to new equilibrium prices are almost instantaneous. In
other markets the adjustment process may be a slow trial and error process over several years, in
some cases so slow that price and quantity hardly ever reach their proper equilibrium values
because supply and demand schedules shift before equilibrium has been reached. There is therefore
no one economic model that can explain the dynamic adjustment process in all markets.
This chapter provides a simple introduction to the dynamics of economic systems. There are two
ways of dealing with dynamics: differential equations in which the dynamic adjustment process
between equilibria is seen a process of continual adjustment and difference equations in the
dynamic adjustment process between equilibria is seen as a step-by-step process.
In Section 6.1 we consider the case when time is a continuous variable taking all possible values
in a certain interval. This describes the situation in which variables change from one moment to
the next. For example, the prices of certain commodities, such as oil, effectively change
instantaneously and are not fixed on a seasonal basis. We express this time dependence using the
usual function notation, P(t). It is appropriate to model the rate of change of P with respect to t
using the derivative, P′(t). Equations that involve the derivatives of an unknown function are called
differential equations and a method is described for solving such equations.
Page | 128
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
In Section 6.2 we consider the case when time, t , is a discrete variable taking whole number
values. This describes the situation in which variables change only after fixed periods. For
example, the prices of certain agricultural products change from one season to the next but are
fixed throughout each season. We express this time dependence using an obvious subscript
notation. The price during the first period is denoted by p1 , the price during the second period is
p2 , and so on. Equations that relate the price in one period, Pt, to that of the previous period, Pt−1,
are called difference equations and a method is described for the solution of such equations.
dy
= 5t + 7 y ' = 12 y and y ''- 4 y '+ 9 = 0
dt
Equations involving a single independent variable, such as those above, are called ordinary
differential equation (ODE). The solution or integral of a differential equation is any equation,
without derivative or differential, which is defined over an interval and satisfies the differential
equation for all the values of the independent variable(s) in the interval.
7
y '(t ) = y(t ) = ( 7t + c ) dt = 2 t + c1t + c
2
1
Page | 129
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
This is called a general solution which indicates that when c is unspecified, a differential equation
has an indefinite number of possible solutions. If c can be specified, the differential equation has
a particular or definite solution which alone of all possible solutions is relevant.
The order of a differential equation is the order of the highest derivative in the equation. The degree
of a differential equation is the highest power to which the derivative of the highest order is raised.
Example
dy
1. = 2 x + 10 first-order, first degree
dt
3
dy
2. − 4t 5 = 0 first-order, third degree
dt
4
d 2 y dy
3. 2 + + x3 = 0 second-order, first degree
dt dt
9 4
d2 y d3 y
4. 2 + 3 = 60 y third-order, fouth degree
dt dt
dy
For a first-order linear differential equation, and y must be of the first degree, and no product
dt
dy
of y may occur. For such an equation
dt
dy
+ ay = b
dt
where a and b may be constants or functions of time, the formula for a general solution is
Page | 130
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
b
y (t ) = Ae− at + if b 0 & a 0 [General solution]
a
or
b b
y (t ) = y (0) − e − at + [specific solution] (b)
a a
where A is an arbitrary constant. A solution (b) is composed of two parts: Ae − at is called the
b
complementary function, and is called particular integral. The particular integral y p equals the
a
intertemporal equilibrium level of y (t ) ; the complementary function yc represents the deviation
from the equilibrium. For y (t ) to be dynamically stable, yc must approach zero as t approaches
Example: Find the general solution for the following differential equations
dy dy
a. + 4 y = 12 d. = 2; y (0) = 5
dt dt
dy dy
b. + 3t 2 y = t 2 e. − 2 y = 0; y (0) = 9
dt dt
dy dy
c. + 2 y = 6; y (0) = 10 f. 2 + 4 y = 6; y (0) = 4
dt dt
Solution
−4t
As t → , yc = Ae → 0 and y(t ) approaches y p = 3 , the intertemporal equilibrium level
b. In the equation, a = 3t 2 and b = t 2 . Substituting it into the general solution formula, we get
t2 1
y (t ) = Ae − (3t + = Ae −3t +
2 3
)t
2
(time path of y (t ) )
3t 3
Page | 131
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
1
As t → , yc = Ae −3t → 0 and y p →
3
. The equilibrium is dynamically stable.
3
6 6
y(t ) = 10 − e−2t + = 7e−2t + 3
2 2
y (t ) = 5 + 2t .
5 −2 t
As t → , y p = e → 0 and yc → 3 / 2 . The equilibrium is dynamically stable.
2
equation is determined by the greatest number of periods lagged. A first-order difference equation
expresses a time lag of one period; a second-order, two periods; etc. the change in y as t changes
from t to t + 1 is called the first difference of y . It is written as
Page | 132
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
y
= yt = yt +1 − yt
t
dy
where is an operator replacing that is used in to measure continuous change in differential
dt
equations. The solution of difference equation defines y for every value of t and does not contain
a difference equations.
yt +1 = byt (a)
yt = bt y0 .
Given a first-order difference equation which is linear (i.e., all the variables are raised to the first
power and there are no cross products),
Page | 133
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
yt = byt −1 + a
where a and b are constants, the general formula for a definite solution is
a t a
yt = y0 − b + where b 1 (b)
1− b 1− b
yt = y0 + at where b = 1 (c)
a
If no initial condition is given, an arbitrary constant A is used for y0 − in (b) and for y0 in
1− b
(b). This is called a general solution.
The stability condition depends on the base b . If b 1 , the time path will explode and move
farther and farther away from equilibrium; if b 1 , the time path will be damped and move toward
equilibrium. If b 0 , the time path will oscillate between positive and negative values; if b 0 ,
the time path will be non-oscillating.
a. yt = −7 yt −1 + 16 and y0 = 5.
b. yt = 6 yt −1
c. xt + 3xt −1 + 8 = 0 and y0 = 16
−1
d. yt = yt −1 + 60 and y0 = 8
4
Solution
16 16
yt = 5 − (−7) +
t
= 3(−7)t + 2 (the time path is oscillating and unstable)
1+ 7 1+ 7
Page | 134
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
1+ 3 1+ 3
60 1
t
60 1
t
Differential equations serve many functions in economics. They are used to determine the
conditions for dynamic stability in microeconomic models of market equilibria and to trace the
time path growth under various conditions in macroeconomics. Given the growth rate of a
function, differential equations enable the economist to find the function whose growth is
described; from point elasticity, they enable the economist to estimate the demand function.
Suppose that, for a particular commodity, the demand and supply functions are as follows
Qd = − p ( , 0)
Qs = − + p ( , 0
At equilibrium, − p = − + p + = ( + ) p
+
p= (= some positive constant)
+
If p (0) = p , the market will clearly be already in equilibrium, and no dynamic analysis will be
needed. However, if p (0) p , p is attainable only after a due process of adjustment, during
Page | 135
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
which not only price change over time but Qd and Qs , being functions of P, must change over
time as well. In this regard, the price and quantity variables can all be taken as functions of time.
The rate of change in price is a function of excess demand. That is, if demand is larger than what
is required by suppliers, market price increases and if it is lower than what is needed by suppliers
price will decrease. Hence, without any complexity, we can model the rate of change in price as
follows.
dp
= m ( Qd − Qs ) where m 0 & represents adjustment coefficient
dt
dp
= m ( − p + − p ) = m ( + ) − m ( + ) p
dt
dp
+ m ( + ) p = m ( + ) (similar with differential equation presented before)
dt
Applying the solution formula to the above equation, the time path of price is given as
+ − m ( + ) t +
p (t ) = p(0) − +
+
e
+
= p0 − p e − at + p (a = m( + ))
Ct = C0 + cYt −1 Yt = Ct + I t where I t = I 0
Page | 136
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
formula, since the marginal propensity to consume c cannot be equal 1, and assuming
Yt = Y0 at t = 0 ,
C +I C +I
Yt = Y0 − 0 0 ct + 0 0
1− c 1− c
Since 0 MPC 1, c 1 the time path will converge. The equilibrium is stable, and as
C0 + I 0
t → , Yt → , which is the intertemporal equilibrium level of income.
1− c
Example: Given Yt = Ct + I t , Ct = 200 + 0.9Yt −1 ,It =100,and Y0 =4500 . Find time path of Yt .
Solving for Yt ,
300 300
Yt = 4500 − (0.9)t + = 1500(0.9)t + 3000 (dynamically stable path)
1 − 0.9 1 − 0.9
For many products, such as agricultural commodities, which are planted a year before marketing,
current supply depends on last year’s price. This poses interesting stability question. If
at equilibrium, + pt = + pt −1 pt = pt −1 + −
−
pt = pt −1 +
Since 0 and 0 under normal demand and supply conditions, 1 . Hence,
Page | 137
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
( − ) ( − )
t
pt = p0 − +
1− 1−
t
− −
= p0 − +
− −
−
When the model is in equilibrium, pt = pt −1 . Substituting pe for pt & pt −1 in pt = pt −1 + ,
we get
−
pe = and substituting it in solution for pt ,
−
t
pt = p0 − pe + pe
For the equilibrium to be stable, 1 which implies that . In other words, the supply
curve must be flatter than the demand curve for stability.
Example: Given Qdt = 86 − 0.8 pt and Qst = −10 + 0.2 pt −1 , the market price pt for any time period
120 120
Thus, pt = p0 − ( −0.25) + = ( p0 − 96 )( −0.25) + 96 & pe = 96
t t
1 + 0.25 1 + 0.25
Since b = −0.25 , which is negative and less than 1, the time path oscillates and converges. The
equilibrium is stable, and pt will converge to pe = 96 as t → .
Exercise
Page | 138
Calculus for Economists Compiled by: Habtamu Adane AAU: Department of Economics
Given demand and supply for the cobweb as follows, find the intertemporal equilibrium price, and
determine whether the equilibrium is stable:
Page | 139