Calcules 1-4-1
Calcules 1-4-1
I. INTRODUCTION
1.1. The concept and importance of mathematical economics
Before directly swimming in to the discussion of the theme and role of
mathematical economics, let me cite the speech of Nobel Prize winner economist
Robert Lucas Jr. in some length from his professional memoir.
“Like so many others in my cohort, I internalized its [Samuelson’s Foundations of Economic Analyses] view that if I
couldn’t formulate a problem in economic theory mathematically, I didn’t know what I was doing. I came to the position
that mathematical analysis is not one of many ways of doing economic theory: it is the only way. Economic theory is
mathematical analysis. Everything else is Just pictures and talk…”
our problem and to focus our attention on these alone. Such a deliberately
simplified analytical framework is called an economic model since it is only a
skeletal and rough representation of the actual economy.
The main aim behind building economic models is to describe how the economy
works and to obtain some how valid predictions about economic variables.
Different models are built for different purposes. Some of the models are
designed to investigate the equilibrium value of the variable as an ultimate end
while some to investigate the movement of a variable (s) over time. Thus, in
economics, we have three types of analyses:
i. Static (equilibrium) analysis
ii. Comparative static analysis
iii. Dynamic analysis
As the name implies, static/equilibrium analysis is the study about equilibrium.
That is, it studies the determination of equilibrium values. Equilibrium is a
constellation of selected interrelated variables so adjusted to one another that no
inherent tendency to change in the model which they constitute. The
mathematics of statics will be handled in linear algebra for economists.
On the other hand, comparative static studies on the comparison of two or more
equilibrium values. This may involve rate of changes and growth rates. Almost
all of the differential calculus is related with the comparative static.
The third form of economic analyses is dynamic analysis. It involves the time
path of different relevant economic variables. The whole of integral calculus
deals with the mathematics of dynamic analyses.
In this course, you will be introduced with the mathematics of comparative static
and dynamics, and the mathematics for static is left for the next mathematical
economics course.
Examples
1. Representing functions using vein diagram
A B
D R D R
1 1 1 1
2 2 2 2
3 3 3 3
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 is a function since we don’t have any two range values
mapped from a single domain. But, B is not a function since the independent
variable [domain] value 2 is tied to output [range] values of 1 and 2
2. Representing functions using set of ordered pairs.
A= { (1,2),(2,3) ,(2,4),(3,6),(4,0)}
B= {(0,1),(1,2) ,(4,8),(7,10),(8,10)}
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.
3. Representing functions using equations
A. Y= x + 1 is a function
Domain: X+1 ≥ 0; i.e. = {X: X>-1}
Range: Y ≥ 0
B. Y2 = X + 1 – is not a function since Y can be X + 1 or - X + 1
Domain: X+1 ≥ 0; i.e. = {X: X>-1}
Range: Y εℜ , why not Y ≥ 0?
Y f(x) = y2=2x
A. It is a Y B. It is not a function
function
X X
Remark: Vertical line test states that if a vertical line crosses the graph of a
function more than once, it is not a function. But, if it crosses only once, it is a
function.
Types of functions
Generally there are two major types of functions; i.e.
i. Algebraic functions
ii. Non algebraic function
⇒ Algebraic functions
Before generalizing what an algebraic function is (are), let’s see each type of
algebraic functions.
a. Polynomial functions: polynomial function of a single variable is given by the
general form
p(x) = Y = aoxo + a1x1 + a2x2 + a3x3 + …… + anxn
a ∈ R
Where i
n ∈ whole numbers
If n = 0, Y will be a constant function like Y = 3
If n = 1, Y will be a linear function like Y = 2x+3
If n = 2, Y will be a quadratic function like Y = 2 + 4x + x2
b. Rational functions: A rational function is a function which is the ratio of two
polynomial functions. That is,
P1 ( x)
R( x) =
P2 ( x)
b=base, x=exponent
The domain of exponential function is the set of real numbers and the range of
the function is that set of positive real numbers.
Example
x
1
f ( x) = 2 or
x
f ( x) =
3
Y=bx where
0<b<1 Y=bx where b>1
Y
(1, 0)
X
base is e.
ln X = log e x Where e=2.71828183……..
Example
log e 32 ln 32 log e 32 + log e 100 3.4657
Log 16 32 = = = = = 1.25
log e 16 ln 16 log e 16 + log e 100 2.7726
Rules of Natural Logarithms: there are no new rules of natural logarithms. All the
rule of logarithm you learnt in previous classes is also valid for natural
logarithms. That is,
ln(ab) = ln a + ln b
a
ln = ln a − ln b and others stated below
b
ln a = m ln a
m
Rules of Logarithms
For any constants n and c such that n, c>1, then
1. log (cXY ) = log cX + log Yc
X
2. log c Y = log cX − log Yc
n
3. log cX = n log log cX
log nX
4. log =
X
c
log cn
log XX 1
5. log cX = =
log X log CX
c
[ ][ ]
6. log cX x log CX = 1
Solution
From demand equation we can see that,
x = 6000 – 30Px
30Px = 6000 – x
Px = 200 - 1 X
30
∏ = −1
30
X2 + 200x – (72,000 + 60x)
∏ = − 130 X 2
+ 140x - Profit function
600 3600
Π (X)
If we find break-even quantities, we can easily get break-even prices by inserting
it in the demand function. That is,
X = 6000 – 30Px
600 = 6000 – 30Px or 3600 = 6000 – 30Px
30Px = 5400 or 30Px = 2400
Px = 180 Px = 80
Break-even prices are 180 or 80; i.e., in a (Q, P) order pair, break even points
are: BE = {(3600, 80), (600, 180)}
b. To find price and output that will maximize profit, let’s remember the behavior
of quadratic functions since Π(x) is aw quadratic function.
Y = ax2 + bx +c
b b2 ab 2
= a (x2 + x+ )+c- Completing square method
a 4a 4a 2
b 2 4ac − b 2
= a (x + ) +
2a 4a
2
b
Y will be maximum or minimum depending the value of X + since
2a
4ac − b 2
is constant, and the sign of a.
4a
−b 4ac − b 2
Vertex at the optimum point will be X = and Y=
a 4a
From this we see that the value of a; i.e., the coefficient of X2 is < 0, and then
the vertex is a maximum point. It is given by
−b − (140)
X= = = 140 x 15 = 2,100
a −1
2
30
−1
(
Π = f (2,100) = 4 − 72,000) − (140)
2
)
30
4ac − b 2
Maximum Π =
4a
−1
4 (− 72,000 ) − (140 )
2
30
Π = f (2,100) =
−1
4
30
9600 − 19600
= = -10,000 x − 15
−2 2
15
= 75,000
Price that maximizes profit will be
X = 6000 – 30 Px
2,100 = 6000 – 30 Px
30 Px = 3900
Px =130
Self test 2:
Suppose in the previous example demand function has changed to X = 9000 –
30P and the cost equation to C = 90,000 + 30x
a. Express cost as a function of price
b. Express revenue as a function of price
c. Find beak even prices and outputs
d. Find the price that will maximize profit
It is apparent that as the value of x approaches –2 from both sides, the value of
the function approaches –5. In general, if f(x) approaches some finite number as
x approaches a, then we can say that:
Limf ( x) = L
x→a
function
a. May be undefined
Limf ( x) = L Limf ( x) = L
That is we must have =
x→a− x → a+
Examples
1
1. Let Y = , x ≠ 0 find the LimY
x X →0
Solution
1
Lim = − ∞ =L1 (LHL-Left hand side limit)
x
x →0 −
1
Lim = + ∞ =L2 (RHL-Right hand side limit)
x
x →0 +
1
∴ L1 ≠ L2, Lim does not exist (DNE)
x
X →0
2. Lim( x + 2) = 2+2=4
X →2
x −1 0
3. Lim = =0
2x − 3 − 1
x →1
Self test 3:
Try the following problems
1. Lim x
x →0
2. Lim x + 4
x → −4
x
3. Lim , try also as x → 0
x
x→2
x −1
4. Lim
x →1 x + x−2
2
x 2 − 3x
5. Lim
x →0 x
1− x
6. Lim
x →1 1− x
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.
f ( x) f ' ( x)
♥
L-H ô pital’s rule states that lim x →a is equivalent to lim x →a . To see how to find out f’(x) and
g ( x) g ' ( x)
g’(x), you have to wait for the discussion on differential calculus which is the concern of the second module.
then:
1. Limk = k
x →c
2. Lim k f ( x ) = k Limf ( x ) = kA
x →c x →c
3. Limx n = C n
x →c
Lim f ( x)
f ( x) A
7. Lim =
x →c
= ,B ≠ 0
x→c g ( x) Lim g ( x) B
x →c
special care!)
n
Lim[ f ( x)] = Lim f ( x)
n
9.
x →c x →c
Examples
Find the limits of the following functions
3x 2 + 2 Lim 3x 2 + 2 14
1. Lim 2 = x →2
= = 14
x −3 Limx 2 − 3 1
x →2 x→2
3. Lim x 2 − 4 = Lim( x 2 − 4) = 12 = 4 3 = 2 3
x→4 x→4
x −3 x −3 x +3 x−9 1 1
4. Lim = Lim . = Lim . =
x →9 x−9 x →9 x − 9 x + 3 x →9 x − 9 x + 3 6
Now , try to check your self using the problem below
x 2 + 1, x < 0
5. Given g(x)=
x, x ≥ 0
Find
A. Limg ( x)
x→2
B. Limg ( x)
x→0
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 x → a.
Example
x3 −1
1. Evaluate Lim
x →1 x2 −1
(1 + h) 3 − 1
= Lim
h →0 (1 + h) 2 − 1
(h 3 + 3h 2 + 3h + 1) − 1
= Lim
h →0 (h 2 + 2h + 1) − 1
h 3 + 3h 2 + 3h
= Lim
h →0 h 2 + 2h
3 + 3h + h 2
= Lim
h →0 h+2
=3
2
Expansion method
This method is applicable to functions which can be expanded in series. The
following expansions are often used in economics.
n(n − 1) x 2 n(n − 1)(n − 2) x 3
a. ( x + 1) n = 1 + nx + + + .......
2! 3!
Provided that n ∈ R and x < 1 for convergence of limits
m
1
e = Lim1 + or
m
m →∞
e = Lim(1 + x) x
x →0
= 2.71828.....
x2 x3
b. e x = 1 + x + + + ... + ∞
2! 3!
x3 x5 x7 x9
c. sin x = x − + − + ........
3! 5! 7! 9!
−x x2 x3
d. e = 1− x + − ....∞
2! 3!
x2 x3 x4
e. log(1 + x) = x − 1 − + − + .........∞ = ln(1 + x)
2 3 4
x 2 x 4 x6 x8
f. cos x = 1 − + − +
2! 4! 6! 8!
Example
Find the limits of the following functions
x2 x3 x2 x3
(1 + x + + + .......∞) − (1 − x + − − .......∞
e x − e −x 2! 3! 2! 3!
1. Lim = Lim
x→0 x x →0 x
x3 x5
2 x + + + .......∞
3! 5! = 2(1) = 2
= Lim
x →0 x
x
3 1 3
2. Lim1 + let = ⇔ x = 3 y
x →∞
x y x
3
3 y
1
3y
1 y 1
= Lim1 + = Lim 1 + = Lim1 + = e 3
Y →∞
y y →∞
y y
y →∞
Log (1 + x)
3. Find Lim
x →0
x
x2 x3 x4
x − + − + .....
⇔ Lim 2 3 4
x →0
x
x x2 x3
1 − + − + .....
⇔ Lim 2 3 4 =1
x →0
x
Limits at infinity
It is also of interest to determine what happens to the functional values f(x) as x
assumes large positive values and large negative values. We begin by
considering an example.
2x 2
Example: Consider the function f ( x) = , which is defined for all real
(1 + x 2 )
numbers. What happens to the functional values f(x) as x assumes larger and
larger positive values?
Solution: Let’s investigate this question using calculator. The table below shows
the values of f(x) for increasingly large values of x.
Lim f ( x) = 2
x →∞
How can one evaluate limits of the form Lim f ( x) and Lim− f ( x) without calculator
x →∞ x →∞
and graph experiments? Except for property “5”, all the properties of limit
described earlier are valid if we replace the statement x → c with the
statement x → ∞ or x → ∞ − . Thus,
2x 2 2
Lim = Lim =2
x →∞ + 1 + x 2 x →∞ + 1
+1
x2
To deal with the problem of limit at infinity, divide both the numerator and
denominator with the highest powered variable (in this case X2) and take the
usual procedure.
2x 2 2x 2
Lim− =2 ⇔ Thus, Lim =2
x →∞ x2 +1 x →∞ x2 +1
2x + 3
2. Find Lim
x →∞ x−4
3
2+
2x + 3 x =2
Lim = Lim
x →∞ x − 4 x →∞ 4
1+
x
N.B: When the degree of N(x) = D(x), x → ∞ limit is the ratio of leading
coefficients respectively♥.
L.C.N ( X )
i.e. Limit = Where L.C. refers to the leading coefficient ( that is
L.C.D( X )
the coefficient of the highest powered variable).
4 x 2 + 3x + 2
3. Find Lim−
x →∞ 2x3 + 5
Solution
Divide both N(x) and D(x) by the term of the largest degree (X3).
♥
N(x) and D(x) in this case of limit at infinity refer to numerator and denominator respectively.
Lim−
[4 x + 3x + 2] ÷ ( x )
2 3
x →∞ [2 x + 5] ÷ ( x )
3 3
4 3 2
+ 2 + 3
Lim x x x =0
x →∞ − 5
2+ 3
x
3x 4 + 9
4. Find Lim
x →∞ 8x 6 + 5
3 9
+ 6
= Lim x
2
x = 0 =0
x →∞ 5 8
8+ 6
x
N.B: For rational functions, limit at infinity, when Deg N(x) < Deg D(x), limit is
zero.
2x5 + 7
5. Find Lim
x →∞ 6x3 + 4
7
2+
= Lim x 5 = 2 = DNE
x →∞ 6 4 0
2
+ 5
x x
3x 4 + 6 x
6. Find Lim
x →∞ x2 + 4
6
3+
= Lim x 3 = 3 = DNE
x →∞ 1 4 0
2
+ 4
x x
N.B: For rational functions, limit at infinity, when the Deg N(x) > Deg D(x), limit
does not exist.
Applications
1. The ECC is embarking on an extensive advertising campaign to market its
new detergent. In the past, advertising has been very successful in increasing
public awareness and sales of ECC’s products. A senior advertising executive has
estimated that, for the new product, profit (Π) is related to advertising
expenditure (x) according to the formula:
16 x + 10
∏( x) =
x+3
Where x and Π are measured in units of $100,000. Find the maximum profit
that the firm can obtain using advertising.
Solution
10
16 +
Lim ∏( x) = Lim x = 16
x →∞ x → ∞ 3
1+
x
Thus, the maximum level of profit is: Π=$1,600,000
2. Suppose that for a certain corporation the monthly profit (in thousands of
2t − 4
dollars) at time t (in months) is estimated by: ∏(t ) =
t +1
Predict the long-range profit as t → ∞
Solution
4
2−
Lim ∏(t ) = Lim t = $2000
t →∞ t →∞ 1
1+
t
3. XYZ company is spending Birr “y” (in millions, and yielding sales of Br. S(x) (in
millions) represented by the function:
5 x 2 − 10 x + 5
S ( x) = , x ≥ 1 , determine the absolute ceiling for their sales
x 2 − 2x + 2
Solution
4. ABC company manufactures tractor bodies and spending Br. X (in thousands)
on advertising the income from sales S(x), measured in thousands is given by:
120 x 3 − 600 x + 3
S ( x) = , x ≥ 5 , determine the absolute ceiling for sales.
2 x 2 − 10 x + 1
Solution
600 3
120 − + 3
Lim s ( x) = Lim x 2
x = 120 = DNE
x →∞ x → ∞ 2 10 1 0
− 2 + 3
x x x
Thus, there is no absolute ceiling for their sales!
Continuity
A given function is said to be continuous over a given rage [at a point] if it is
defined for all real numbers within that range [at that point]. Graphically
speaking, continuity occurs if we can’t draw graph of a function with out lifting
our pen/pencil. Any function is said to be continuous at a point such as X=C if
the following conditions are satisfied. That is
a. F(x) is defined at x=c i.e. f(c)exists
b. Lim exists
x→c
c. Lim = f(c)
x →c
Examples
1. Is the function f ( x ) = 2 x + 4 continuous at x=2?
0 if x < 0
2. Is the function f ( x) = continuous?
x if x ≥ 0
Solution
1. f(2) = 8
Lim = 8
x→2
Therefore, Lim = f ( 2) = 8
x→2
b. Lim f ( x ) = 0
x→0
x if x ≤ 0
2
3. Is f ( x) = x if 0 < x ≤ 4 continuous?
2 x + 4 if x > 4
Solution
The trouble spots are at x=0 and at x=4. Checking at each point, we will have
Properties of continuities
Functions have continuity property similar to limit properties. For example, the
sum, difference, product, and quotient of two continuous functions are
continuous, except for values along others listed below will enable us to move
from continuity at point to continuity over an interval. Let’s see the properties of
continuity.
1. If f ( x ) = κ , constant function, it is continuous always
E.g. f ( x) = x 2 − 2 x + 1
3. Rational functions are continuous for all values of X except those that make
the denominator 0.
x
E.g. f ( x) = is discontinuous at x=-2 & x=3
( x + 2)( x − 3)
is continuous.
E.g. f ( x) = 3 x 2 − 4
Tangent line
a ⇒ ( x1 , y1 )
Secant line
b ⇒ ( x2 , y 2 )
b F(x)
a
∆y x 2 = ∆x + x1
∆x y 2 = ∆y + y1
x1 x2= x+∆x
Rise f ( x 2 ) − f ( x1 ) f ( x1 + ∆x ) − f ( x1 ) ∆y
Slope of the sec ant line = = = =
Run x 2 − x1 ∆x ∆x
As we let δx tend to 0, the secant line approaches the tangent line. Thus, the
slope of the tangent line becomes.
f ( x1 + ∆x) − f ( x1 )
m = Lim
∆x →0 ∆x
Example
1. Given f ( x) = x 2 , find the slope and equation of the tangent line to f(x) at
x=1.
Solution
f ( x) = x 2
f (1) = 1
f (1 + ∆x) = (∆x + 1) 2 = ∆x 2 + 2∆x + 1
f ( x + ∆x ) − f ( x )
Slope of the tangent line = Lim
∆x →0 ∆x
( ∆x) + 2(∆x) + 1 − 1
2
= Lim
∆x →0 ∆x
= Lim ∆x + 2 = 2
∆x →0
f ( x + ∆x ) − f ( x )
Average rate of change =
∆x
The value of the average rate of change is also known as the difference quotient.
Examples
1. Given f ( x) = 1000 − 2 x 2 , find
f ( x + ∆x) − f ( x)
Instantaneous rate of change = Lim
∆x →0 ∆x
f ( x) − f (50)
= Lim
x →50 x − 50
(1000 − 2 x 2 − (−4000)
= Lim
x →50 x − 50
5000 − 2 x 2
= Lim
x →50 x − 50
2500 − x 2
= 2 Lim
x →50 x − 50
= 2 Lim(50 + x) = − 200
x →50
N.B, The rate of change between two points is average rate of change and at a
point is instantaneous rate of change.
R( x + ∆x) − R( x)
b. MR(x)= lim ∆X →0 [ ] = by taking R(x)=f(x), we can
∆x
have
1 1 1 1
30 x + 30∆x + x 2 + x∆x + ∆x 2 − 30 x − ∆x 2
f ( x + ∆x) − f ( x) 10 5 10 10
Lim =
∆x → 0 ∆x ∆x
1 1
30∆x + x∆x + ∆x 2
5 10 1 1
= Lim = Lim 30 + x + ∆x
∆x →0 ∆x ∆x → 0 5 10
1
= 30 + x
5
1
MRx = 20 − 30 + × 20 = 34
5
This module is divided in to two main parts where the first part deals
with the basic techniques of differential calculus; the second part deals
with the applications of differential calculus. The first part specifically
deals with concepts such as the derivative, rules/theorems of
derivative, differentials and higher order derivative, total and partial
derivatives, and finally about some applications of differential calculus
such as L Hôpital’s rule, which is used to deal with indeterminate
limits, homogeneous functions and Euler’s theorem. On the other
hand, the second theorem discusses about application concepts such
as increasing, decreasing, concave up, concave down, and
optimizations.
Let’s begin with the basic techniques and finally we will see its
applications in the area of economic reasoning. The concepts are
simple and valuable toolkits for an enterprising economist and all it
needs is curiosity, closeness and above all hard work. Enjoy, your
reading!
38
35
If f is a function defined by y=f (x), then the derivative of f (x) for any
dy
value of x, is denoted by , y’ or f ’(x) is the instantaneous rate of
dx
change of f (X) which is given by:
dy f ( x + σx) − f ( x)
= Lim
dx σx →0 σx
As you might remember from the previous discussion, the derivative is
also the slope of the tangent line to f (x) at a point. Before we directly
go to the discussion of the rules of derivatives, let’s see some
examples.
Examples:
dy
1. Given f (x)=3x+7, find
dx
dy
2. Given f (x)=x2, find
dx
dy
3. Given f (x)=Xn , find
dx
Solutions:
1. For f (x)=3X+7,
dy f ( x + σx) − f ( x)
= Lim
dx σx →0 σx
[[3( x + σx) + 7] − (3 x + 7)]
= Lim
σx → 0 σx
3x + 3σx + 7 − 3 x − 7
= Lim
σx → 0 σx
3σx
= Lim
σx → 0 σx
= Lim 3
σx → 0
=3
39
36
2. For f (x)=X2
dy f ( x + σx) − f ( x)
= Lim
dx σx →0 σx
( x + σx) 2 − x 2
= Lim
σx → 0 σx
( x 2 + 2σx.x + σx 2 − x 2 )
= Lim
σx → 0 σx
= Lim(2 x + σx)
σx → 0
= 2x
3. f ( x) = x n
dy f ( x + σx) − f ( x)
= Lim
dx σx →0 σx
( x + σx) − x n
n
= Lim
σx → 0 σx
n(n − 1) n − 2 2
[ x n + nx n −1σx + x σx + ...... + σx n ] − [ x n ]
= Lim 2
σx → 0 σx
n ( n − 2) n − 2
= Lim{nx n −1 + x σx + ...... + σx n −1}
σx → 0 2
= nx n −1
d n n −1
Thus, { X } = n X
dx
40
37
Note that,
i. The derivative, which is one of the most fundamental concepts in
calculus, is the same as the following two concepts.
a. Slope of a line tangent to a curve at x
b. Instantaneous rate of change of f(x) at x
ii. The process of obtaining f’ (x) from f (x) is known as
differentiation and if the derivative exists, then the function is
differentiable at a point or over an interval. In the following
section, we will present the rules of derivatives, which will
largely simplify our calculation of the derivative.
Examples
a. If f (x)=2, then f ‘(x)=0
b. If f (x)=-12, then f ‘(x)=0
41
38
Examples
Solution
i. Y = 2x 5 1 1
ii. Y = x = x 2
iii. Y = x 2
x=x x 2 2
dy
= 2.5 x 5−1 dy 1 2 −1
1 5
dx = x Y=X 2
= 10 x 4 dx 2 5
dy 5 2 −1
1 −2
1
= x
= x dx 2
2 3
dy 1 dy 5 2
= = x
dx 2 x dx 2
Example
Y = 3x 2
dy dx 2
=3
dx dx
= 3[2 x ]
= 6x
3.3.4 The sum or difference rule
Example
42
39
dy 3
( x − 3x 2 + 10)
dx
d 3 d d
= x − 3 x 2 + 10
dx dx dx
= 3x − 6 x
2
2. y = x 4 − 2 x 2 + 1
dy 4
( x − 2 x 2 + 1)
dx
dy 4 dy dy
= x − 2 x2 + 1
dx dx dx
= 4X − 4X
3
Exercise
1. The total revenue for a commodity is described by
R( x) = 300 x − 0.02 x 2 . What is the marginal revenue when 50 units
are sold and interpret your result?
3. The profit from the sale of x stereos per month for a certain co. is
given by:
π ( x) = 800 − x 2 + 0.2 x 2
Find the rate of change in the monthly profit for 100 stereos.
43
40
1 dy x2 +1
2. If Y = ( x − 1) + 1 , find . The answer is
x dx x2
Example
(1 − 2 x)(3 x + 2) dy
1. Y = find ,
5x − 4 dx
Solution
d (1 − 2 x)(3 X + 2) d (5 x − 4)
((5 x − 4 ) ) − ((1 − 2 x)(3 x + 2)
dY dx dx
=
dx (5 x − 4) 2
(5 x − 4)[(1 − 2 x)(3) + (3 x + 2)(−2)] − [5(1 − 2 x)(3x + 2)]
=
(5 x − 4) 2
(5 x − 4)(−1 − 12 x) − [(5 − 10 x)(3x + 2)]
=
(5 x − 4) 2
− 30 X 2 + 48 X − 6
=
(5 X − 4) 2
x −1 dy
2. Y = , find ,
x +1 dx
Solution
d ( x − 1) d ( x + 1)
( x + 1) − ( x − 1)
dx dx
( x + 1) 2
( x + 1)(1) − ( x − 1)(1)
=
( x + 1) 2
x +1− x +1
=
( x + 1) 2
2
=
( x + 1) 2
44
41
df df dg
= . Y = f ( g ), Z = g ( x)
dx dg dx
Example
dy
1. Y = I 4 + 3I 3 and I = x 2 , find
dx
Solution
dy dy dI
= . = [4 I 3 + 9 I 2 ][2 x]
dx dI dx
= 8 xI 3 + 18 xI 2
= 8 x( x 2 ) 3 + 18 x( x 2 ) 2
= 8 x 7 + 18 x 5
dy
2. Y = x 2 − 1 find
dx
Solution
Let x 2 − 1 = u
1
Y =u 2
dy dy du 1 x x
= . = .2 x = =
dx du dx 2 u u x2 −1
dy
3. Y = ( x 2 − 4 x) 6 , find
dx
Solution
Let x2 –4X =U,
So that Y= U6
dy dy du
= * = 6u 5 (2 x − 4)
dx du dx
dy
= 6( x 2 − 4 x) 5 .(2 x − 4)
dx
= (12 x − 24)( x 2 − 4 x) 5
45
42
Example
1. 3xy − y = 2
d d (2)
[(3 xy − y )] = ...differentiating ~ both ~ sides ~ w.r.t. X
dx dx
d 3 xy dy
= − =0
dx dx
dy dxy
=3
dx dx
dy dx
= 3.x + y … Applying the product rule to (xy)
dx dx
dx dy
= 3x +y
dy dx
dy dy
− 3x =y
dx dx
46
43
y
[ ]
dy Y 1
= =
dx 1 − 3 x 1 − 3 x
[ ]
1
2 −1 2
=[ ][ ]... sin ce ~ 3 xy − y = 2, y (3 x − 1) = 2, and ~ y =
3x − 1 1 − 3x 3x − 1
−2
=
(3 x − 1) 2
2. 3xy − x = 2
3 xy = x + 2
d (3xy ) d ( x + 2)
=
dx dx
dy dx
3 x + y =1
dx dx
dy 1
x + y=
dx 3
dy 1
x = −Y
dx 3
dy 1 y
= −
dx 3 x x
1 − 3y
=
3x
+ 2
x
1 − 3
3x Since Y = x + 2
=
3x 3x
x+2
1−
= x
3x
1
x−x−2 1
= .
x 3x
−2
= 2
3x
dy
3. Find of x 2 + y 3 = 2xy 2
dx
d ( x 2 + y 2 ) d 2 xy 2
= … Differentiating both sides w.r.t X
dx dx
47
44
dy 2 dx dy 2 2
2x + = 2 y 2 +x … Applying he product rule to xy
dx dx dx
2
dy dy 2 dy 2 dy dy 2
2x + . = 2 y + x . … Applying the chain rule to
dy dx dy dx dx
dy dy
2 x + 2 y. = 2 y 2 + x 2 y
dx dx
dy dy
2x + 2 y = 2 y 2 + 4 xy
dx dx
dy dy
2y − 4 xy = 2 y 2 − 2x
dx dx
dy 2 y 2 − 2 x
=
dx 2 y − 4 xy
Note:
You can use the following generalized steps
1. Treat y as a function of x and differentiate each term of the
equation with respect to x.
dy
2. Put all terms containing the factor on one side of the
dx
equation and the rest of the terms on the other side.
dy
3. Factor out from all terms that contain it
dx
dy
4. Solve the equation for
dx
3.3.9 Derivatives of logarithmic and exponential functions
The concept and rules governing logarithmic and exponential functions
were described previously in the first chapter. In this section, we will
review point out how to find the derivatives of logarithmic and
exponential functions.
48
45
σy = ln(x +σx) − y
= ln(x +σx) − ln x
σx
= ln1+
x
2 3 4
σx σx σx
σx x x x
σy = − + − + ......See expansion from the previous discussion
x 2 3 4
σy 1 σx σx (σx)
2 3
= − + − + .......
σx x 2x 3x3 4x 4
σy 1
Lim =
σx→0 σx x
d 1
Thus, ln x =
dx x
If the function is stated to any base than e, it is possible to transform
it to the natural logarithm form and apply the above formula.
For example, if you are given:
y = log ax
ln x
=
ln a
ln x
d
dy ln a
= 1
dx dx … Since ln a and are constants.
ln a
1 d ln x
=( )( )
ln a dx
1 1
= .
x ln a
1
= log ea
x
d log ax 1
∴ =
dx x ln a
d log ua 1
= .u ' ( x)
dx u ln a
49
46
Examples:
du
Find for each of the functions below
dx
1. y = x 3 + 3 ln x
2. y = log 4 ( x 3 + 1)
3. y = ln x 4
4. y = ln 3 x
5. x ln y = 4
Solution
dy d ln x 3
1. = 3x 2 + 3 = 3x 2 +
dx dx x
2. Let x 3 + 1 = u
ln u
So y = log u4 =
ln 4
dy dy du 1 d ln u du
= . = . .
dx du dx ln 4 du dx
1 1
= . .3x 2
ln 4 u
3x 2 log e 4
=
x3 + 1
3. y = ln x 4 let u = x 4
dy dy du
= .
dx du dx
d ln u du
= .
du dx
1
= .4 x 3
u
4x 3
= 4
x
4
=
x
50
47
4. Let 3 x = u
y = ln u
dy dy du 1 1
= . = . 3
dx du dx u 2 x
1 3
= .
3. x 2 x
1
=
2x
4
5. ln y =
x
d ln y dy − 4
. = Differentiating both sides w.r.t. X and applying the chain rule.
dy dx x 2
1 dy − 4
= =
y dx x 2
dy − 4 y
= = 2
dx x
4
− 4e x
= 2
... sin ce ~ y = e 4 / x
x
ln y = x ln a
d ln y dy dx
= . ln a
dy dx dx
1 dy
= ln a
y dx
dy
= y ln a
dx
dy
= a x ln a
dx
da x
Thus, = a x ln a
dx
51
48
da u ( x )
If Y=aU(x), Using chain rule = u ' ( x )a u ( x ) ln a . As a result, we have
dx
da u ( x )
= u ' ( x ).a u ( x ) ln a
dx
The exponential function ex is a unique function with special behaviour.
That is.
de x
= ex
dx
However, in case we have ef(x), we can use the chain rule to evalute its
derivative. That is let f (x)=u and we will have eu.
If Y=eu and U= f(x)
dy dy du
=
dx du dx
= e u * u ' ( x)
de f ( x )
Thus, = f ' ( x )e f ( x )
dx
dy
Example: Find in each of the functions given below
dx
1. y = 4 x
2
2. y = e 3 x
3. lny=x
4. y = e ex
x
5. y = 10 x
3
6. y = e 4 x
2
7. y = e ln x
Solution
1. y = 4 x
Solution
dy
Directly inserting in the formula, we get = 4 x ln 4
dx
2
2. y = e 3 x
52
49
Solution
dy 2
= 6 xe 3 x
dx
3. ln y = x
Solution
y = ex
dy
∴ = ex
dx
x
4. y = e e
Solution
dy de x e x
= .e
dx dx
x
= e x .e e
x
+x
= ee
2
5. y = 10 x
Solution
let x 2 = u, then ~ y = 10 u
dy dy du
= .
dx du dx
= (10 u ln 10.2 x)
2
= 2 x(ln 10)10 x
3
6. Y = e 4 x let u = 4 x 3 ∴ y = e u
dy dy du
= .
dx du dx
3
= 12 x 2 .e 4 x
2 dy d ln x 2 ln x 2
7. y = e ln x = .e
dx dx
2 2
= e ln x .
x
ln x 2
2e
=
x
53
50
3.4.1 Differentials
dy
Until now we have used the symbol to represent the derivative of
dx
f(x) with respect to x. Now let’s assign different meanings to dy and
dx. Let f(x) =y and dx be a real variable thus, differential of y (dy) is
given by:
dy = f ' ( x)dx
Note:
1. dy and dx are variables the former being dependent and the
latter independent variable.
dy
2. If dx ≠ 0, one can have = f ' ( x)
dx
3. The main use of differentials is to find out approximations of
changes. In suing them for approximations, the value of dx
should be very small.
Examples
a. 16.5 b. 3
65 c. 65
Solution
1. dy = (3 x 2 − 8 x)dx
dy d ( x − 2) dx 2 x 2 − 2 x( x − 2)
2. = x2 − ( x − 2) =
dx dx dx x4
54
51
x 2 − 2x 2 + 4x
dy = dx
x4
−x+4
= dx
x3
3. dy = 2 xdx
dy =2(1)(0.01)
dy =0.02
4. a. Let y = x
dy 1
=
dx 2 x
Taking x=16 and dx=0.5
1
dy = (0.5)
2 16
= 0.0625
y1 = y 0 + σy = x + σx = 16 + 0.0625 = 4.0625
∴ 16.5 ≅ 4.0625
b. Let y = 3 x
dy 1 13 −1 1
= x = 2
dx 3 3x 3
1
∴ dy = dx
3 x2
3
55
52
Example:
Find the first five derivatives of the following functions.
1. y = 2 x 4 − 3 x 2 2. y = 3x 3 − 4 x 2 + 5
3. y = 2 x − 1 4. y = 4 x 3 + 5 x 2 + 3
5. y = 3x 4 + 6 x 3 − 3x 2 + 4 1
6. y =
x2
Solution:
1. f ' ( x) = 3 x 3 − 6 x
f ' ' ( x) = 24 x 2 − 6
f ' ' ' ( x) = 48 x
f ( 4 ) ( x) = 48
f ( 5) ( x) = 0
dy
2. = 9 x 2 − 8x
dx
d2y
= 18 x − 8
dx
d3y
= 18
dx 3
d4y
=0
dx 4
d5y
=0
dx 5
Why don’t you try for the rest? Do them, they are simple!
56
53
Exercises
1. Given c( x) = x 3 − 9 x 2 + 33 x + 30 , determine the slope of marginal
cost at x=7.
2. If the production function is given by Y=20L3/4K5/4, what is
a. The range over which there is increasing returns to capital
b. The range over which there is decreasing returns to labor
c. The nature of returns to scale of production? Is it constant,
increasing, or decreasing returns to scale?
Solution:
1. c’(x)=3x2-18x, measures the slope of total cost curve
and to find the slope of marginal cost curve take the
derivative of MC, which is the second order derivative
of total cost function.
C”(x) =6X-18
C” (7) =6[7]-18=24
2. To answer question number two, you need to know
the concept of partial derivatives, which we will
present it below.
y = ALα K β
Where:
Y-is the level of output
A-is the state of technology, which reflects productivity of factors
L & K represent the units of labor and capital
α & β are elasticity of y with respect to labor and capital respectively
57
54
Example
3 1
1. Suppose for a firm y = f ( L, K ) = 60 L 4 K 4 , then
a. How many units output will be produced if the firm uses 81 labor
and 16 capital
b. Show that the production function is constant returns to scale
Solution
Optional♥
Assume labor and capital have changed by λ, the new labor and
capital will be λL, and λK respectively. So the new production
function will be,
YN = A(λL) α (λK ) β
=AλαLαλβKβ
=A(λα+β) Lα K β
=(λα+β)A Lα K β
=(λα+β)Y0
♥
Optional points are points that are essential for knowledge but do not appear on
your exam.
58
55
∂y
The partial derivative of y with respect to x written as is the
∂x
derivative of y when z is considered as a constant and x is the only
independent variable.
∂y
The partial derivative of y with respect to z is written as is
∂z
the derivative of y when x is considered as a constant and z is the
only independent variable.
∂f ∂f ∂f
= fx, = fz, = f y , etc
∂x ∂z ∂y
Example
1. If f ( x, y ) = 5 x 3 y 2 , find
∂f
a.
∂x
∂f
b.
∂y
∂ ∂f ∂2 f
c. f xx = ( ) = 2
∂x ∂x ∂x
∂ ∂f ∂2 f
d . f xy = ( ) =
∂x ∂y ∂xy
∂ ∂f ∂2 f
e. f yx = ( )=
∂y ∂x ∂yx
Solution
∂f
a. = 5 y 2 (3x 2 ) = 15 x 2 y 2
∂x
∂f 3 3 ∂2 f
b. = 10 x y and = 10 x
∂y ∂y 2
∂2 f ∂
c. = (15 X 2 y 2 ) = 30 xy 2
∂x 2
∂x
d. f xy = 30 x 2 y
59
56
e. f yx = 30 x 2 y
Why don’t you try the following? Just try them!
2. If f ( x, y ) = (4 x + 3 y − 5) 8 , find f x , f y , f xx , f yy and f xy .
y
3. If f ( x, y ) = , find f x , f y , f xx , f yy , f xy
x + 3y
1 3
4.Given y = 60 L 4 K , find MPL /( L, K ) and MPK /( L, K ) where (L, K)=(81,16)
4
We have seen that partial derivatives of f (x, y) indicate how much the
function changes with respect to small change in its variables. In
particular if σx and σy are small at the point (a, b), a change in x of
∂f
σx units produces a change in f ( x, y ) of approximately (a, b)σx units;
∂x
and, a change in y of σy units produced a change in f ( x, y ) is
∂f
approximated (a, b)σy and the over all change is approximated
∂x
using the sum of these terms. Thus,
∂f ∂f
f (a + σx, b + σy ) ≈ f (a, b) ≈ (a, b)σx + (a, b)δy
∂x ∂y
The expression on the right hand side is known as total differential.
Note that,
∂f ∂f
For f ( x, y ) ⇒ total differential = (a, b) σx + (a, b) σy
∂x ∂y
∂f ∂f ∂f
For f ( x, y, z ), total differential is (a, b, c) σx + (a, b, c) σy + (a, b, c) σz
x ∂y ∂z
Examples
3 1
1. Given a production function y = 60 L 4 K 4 . The total output when
L=81 and K=16 units is 3240 units, use the concept of total
differentials to approximate the effect of one unit decease in labour
and one unit increase in capital on output.
60
57
Solution
∂f ∂f
f (81 − 1,16 + 1) ≈ f (81,16) ≈ (81,16) (− 1) + (81,16) (1)
∂L ∂K
1 3
16 4 81 4
= 45 (− 1) + 15 (1)
81 16
405 5
= −30 + = 20
8 8
Thus a unit in L decreases y by 30 and a unit increase in K increases y
405 5
by and in total y increases by 20 units.
8 8
2. Suppose the profit for a firm selling two goods at prices p and q
respectively is by:
π ( p, q) = −100,000 + 5000 p + 10,000q − 50 p 2 − 100q 2 + 10 pq
when p = 11 & q = 50, π will be $200,000.
Use total differentials to approximate the effect of a $ 1 increase in p
and $0.20 increase in q. Compare your result with π (101,50.20)
Now it is time for you to answer the exercise number 2 on page 21.
0
a. Indeterminate form if Lim f ( x) = Lim g ( x) = 0
0 x→a x→a
∞
b. Indeterminate form if Lim f ( x) = Lim g ( x) = ∞
∞ x→a x→a
Λ
First form of L H o pital ' s Rule : Suppose that f (a) = g (a ) = 0 , that
f ( x) f ' (a)
f ' (a ) and g ' (a) exist, and g ' (a) ≠ 0, then Lim =
x →a g ( x) g ' (a)
61
58
In general j can take any value. However, in order for the above
equation to make sense, (jx1,……….,jxn) must not lie outside the
domain of the function f. For this reason, in economic applications the
constant j is usually taken to be positive, as most economic variables
do not admit negative values.
Example
x 2w
1. f ( x, y, w) = + , if we multiply each variable by j, we get
y 3x
jx 2 jw
f ( jx, jy, jw) = + = f ( x, y, w) = j 0 f ( x, b, w).
jy 3 jw
62
59
x 2 2w w j 2 x 2 2 j 2 w2
2. f ( x, y, w) = + ⇔ f ( jx, jy, jw) = +
y x jy jx
x 2 2w 2
= j +
y x
= j f ( x, y, w)
Thus f(x,y,w) is a homogeneous function degree of one (r=1).
3. h( x, y, w) = 2 x 2 + 3 yw − w 2
h(ax, ay, aw) = 2a 2 x 2 + 3a 2 yw − a 2 w 2
= a 2 (2 x 2 + 3ayw − w 2 )
= a 2 h( x, y, w)
63
60
Example:
Let’s take the famous production function Y = ALα K β with α+β =1 so
that we can have Y = AL1− β K β .
∂Y
= (1 − β )( AL1− β −1 K β )
∂L
∂Y
and , L = (1 − β )( AL1− β K β )
∂L
∂Y
= β ( AL1− β K β −1 )
∂K
∂Y
K
∂K
( )
= β AL1− β K β , ~ FromEuler ' s``theorem, we ~ can ~ write ~ as
∂Y ∂Y
K
∂K
+L
∂L
( )
= (1 − β )( AL1− β K β ) + β AL1− β K β
( )
= (1)( AL1− β K β ) − ( β )( AL1− β K β ) + ( β ) AL1− β K β
= ( AL1− β K β )
=Y
64
61
♥
The more realistic and subtle form of optimization is dynamic optimization which is
left for advanced courses.
65
62
Graphically,
Y=f(x) Y=f(x)
F (x1) F (x2)
F (x2)
F (x1)
X1 X2 X1 X2
X1<X2 and f(X1)> f(X2), X2>X1 and f(X2)> f(X1),
therefore f(x) is decreasing therefore f(x) is increasing
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
66
63
As we move from left to right the slope of f(x) increases; i.e., f ’(x) is
an increasing function. Which means f " ( x) is positive. Thus, if a
function is concave up, then f " ( x) >0.
As we move from left to right the slope of f(x) decreases to zero. This
shows that f ’(x) is a decreasing function implying that f " ( x) <0.
Hence, if a function is concave down, then its f " ( x) is negative.
In summary,
If
• f " ( x) < 0, the function is concave down
• f " ( x) > 0, the function is concave up
• f " ( x) = 0, it may or not be point of inflection. At point of
inflection the function transforms itself from changing at an
increasing rate to decreasing rate and vice versa.
67
64
Example
1. Given f ( x) = x 3 − 3 x − 2 find
a. The ranges of x over which f(x) is decreasing and increasing
b. The point at which f(x) attains its relative extreme value
c. The ranges of x over which f(x) is concave up and down
d. The point of inflection
e. Plot the graph
Solution
1. f ' ( x) = 3x 2 − 3 f " ( x) = 6 x
a. If f(X) is increasing if f ‘(x)>0. If f(X) is decreasing if
That is, 3 x 2 − 3 >0 f ‘(x)<0. That is,
x2 −1 > 0 3x 2 − 3 <0
( x − 1)( x + 1) > 0 x2 −1 < 0
( x − 1)( x − (−1)) > 0 ( x − 1)( x − (−1)) < 0
x > 1 or x < −1 −1 < x < 1
Thus, the function f(x) is increasing for the value of x>1 or x<-1. It is
decreasing in the range − 1 < x < 1
68
65
f ( x) = x 3 − 3 x − 2
-1 2
-2
-4
2. TVC = 18 x − 15 x + 4 x , find
2 3
69
66
Relative minima
a. Relative extreme values
(Local extrema)
Relative maxima
Absolute minima
b. Absoloute extrema values
(Global extrema)
Absolute maxima
1 3
For example, consider the function y = x − x 2 − 3 x + 2 . It graph is:
3
Relative maxima
( -1, 1 )
3
-2 3 5
(3,-7)
Relative minima
70
67
In general
Example
71
68
Solution
a. f ' ( x) = x 2 − 2 x − 3
f ' ( x) = x 2 − 2 x − 3 = 0
x 2 − 2x + 1 = 3 + 1
x − 1 = ±2
x = 3 or x = −1
1
f (3) = 33 − 3 2 − 3(3) + 2
3
=-7
1
f (−1) = − − 1 + 3 + 2
3
1 11
= 4− =
3 3
11
Thus, the critical values are (3,−7) and − 1, . To find out which
3
one relative minima or maxima, use the number line.
f ' ( x) + 0 − f ' ( x) − 0 +
x −2 −1 2 X 0 3 4
b. f ( x) = 2 x 3 − 6 x 2 + 6 x + 1
f ' ( x) = 6 x 2 − 12 x + 6
f ' ( x) = 6 x 2 − 12 x + 6 = 0
x 2 − 2x + 1 = 0
( x − 1) 2 = 0
x =1
f (1) = 2 − 6 + 6 + 1 = 3
72
69
f ' ( x) + 0 +
x 1
This shows that the function has no relative extreme value.
c. f ( x) = x 3 − 3 x + 6
f ' ( x) = 3 x 2 − 3
= 3( x − 1)( x + 1) = 0
x = 1 or x = −1
f (1) = 4 or f (−1) = 8
f ' ( x) + 0 − f ' ( x) − 0 +
f −1 f 1
Note that instead of taking the number line to check for maxima or
minima, we can use the 2nd derivative. If λ is the critical value which
makes f ' ( x) = 0 , then the point (λ , f (λ )) is relative maxima if f " (λ ) < 0
and relative minima if f " (λ ) > 0 . But when f " (λ ) = 0 we can’t use the 2nd
derivative test and we have to use the behavior of the first derivative
to check for relative optima.
Example
Use the 2nd derivative test of the previous function to know whether
they are relative maxima or relative minima.
1 3
a. f ( x) = x − x 3 − 3x + 2
3
b. f ( x) = 2 x 3 − 6 x 2 + 6 x + 1
c. f ( x) = x 3 − 3 x + 6
11
a. f ' ( x) = x 2 − 2 x − 3 critical values are − 1, and (3,-7)
3
11
f ' ' ( x) = 2 x − 2 f ' ' (−1) = −4 < 0 so − 1, is relative maxima
3
f ' ' (3) = 6 − 2 = 4 > 0,∴ (3,−7) is relative minima
b. f ' ( x) = 6 x 2 − 12 x + 6
73
70
f " ( x) = 12 x − 12
critical values x=1 (1,3)
f " (1) = 12 − 12 = 0
Use the number line in this case.
c. f ' ( x) = 3 x 2 − 3 f " ( x) = 6 x
critical values (1,4) and (-1,8)
f " (1) = 0
f " (−1) = 0 Use the first derivative test in this case.
74
71
Solution
f ' ( x) = 0
2x − 6 = 0
x=3 There is absolute maxima at x=0 and absolute
f (3) = −7 minima at x=3 within [0, 5].
f (0) = 2
f (5) = −3
2. Find the absolute extrema of f ( x) = x 3 + 3x 2 + 4 . Over the interval
[-4, 2]
Solution
f ' ( x) = 3x 2 + 6 x = 0
Absolute maxima at x=2 (2, 24) and absolute
3x( x + 2) = 0 minima at x=-4 (-4, -12)
x = 0 or x = −2
f (0) = 4 f (−2) = 8
f (2) = 24 f (−4) = −12
Try the following problems and check your answers with that of the
tutor!
3. Given TC = 5 x + 200 and TR = 10 x − 0.01x 2 , what is the value of x, which
will maximize profit
5. A farmer uses his 1000 hectar land to raise two grain crops. Grain
A is sold at a market and grain B is fed to his herd of 1000 cattle.
Using the data below determine how many hectars of each crop
should be planted in order to realize greatest profit.
a. A hectar planted with grain A yields 150 bushels which is sold at
$5 per bushel.
b. Feeding the herd, the yield of x hectares of grain B will result in
each steer weighing 350+x-0.001x2 pound. Steer sells for $1
per pound.
6. A book publisher sells 100,000 copies of a certain book each year.
Setting up each run costs $2000, each book costs $5 in material
and labor, and storage fees are $1 per book per year. Assuming, a
uniform rate of sales throughout the year, find the number of runs
that minimize the publishers cost.
7. A travel agency will plan a group four for groups of size 25 or
larger. If the group contains exactly 25 people, the cost is $300
per person. However, each person’s cost is reduced by $10 for
each additional person above 25. What size group will produce the
largest revenue for the agency?
75
72
Lagrange has shown that the critical values of f ( x, y, λ ) will satisfy the
constraint g(x, y) and is the critical point of f(x, y).
∂f
= 0
∂x
∂f
= 0
∂y
∂f
= 0
∂z
76
73
Examples
Solution
f ( x, y, λ ) = x 2 + y 2 + λ (2 x + 3 y − 4)
= x 2 + y 2 + 2λx + 3λy − 4λ
∂f
= 2 x + 2λ = 0 λ = −x
∂x
∂f 2
= 2 y + 3λ = 0 λ=− y
∂y 3
∂f
= 2x + 3 y − 4 = 0
∂y
x = −λ
3
y=− λ
2
2
−x=− y
3
2
3x = 2λ x= y
3
2x + 3y = 4
2
2 y + 3 y = 4
3
4
y + 3y = 4
3
13 12
y=4 Y=
3 13
2 12 8
x= =
3 13 13
2 2
8 12 8 12 16
The optimum value is f , = + =
13 13 13 13 13
2. Minimize cost c( x, y ) = 21x + 14 y subject to g ( x, y ) ⇒ xy = 600, where x,
y>0
Solution
c( x, y ) = 21x + 14 y
g ( x, y ) = xy − 600 = 0
77
74
21 λ =λ
21 + λy = 0 ⇔ λ = −
y
21 − 14
14 − = ⇔ 3x = 2 y
14 + λx = 0 ⇔ λ = − y x
x
2
xy = 600 x= y
2 3
2 x = × 30 = 20
y. y = 600 3
3
min . cos t (20,30) = 21(20) + 14(30)
3
y 2 = x600 = 420 + 420
2
y = 30 = 840
3 1
3. Given production function y = 60 L 4 K 4 . Assume price of labor is
$100 whereas price of capital is $200 and the firm has $30,000
available to spend on production. How many units of labor and
capital should be used to maximize output?
Solution
3 1
Maximum: y = 60 L 4 K 4
Subjected to: PL L + PK K = 30,000
100 L + 200 K = 30,000
3 1
f ( L, K , λ ) = 60 L 4 K 4
+ 100λL + 200λK − 30,000λ
∂f −1 1
= 45 L 4 K 4 + 100λ = 0
∂L
∂f 3 −3
= 15L 4 K 4 + 200λ = 0
∂K
∂f
= 100 L + 200 K − 30,000 = 0
∂K
1
K 4
45 = −100λ
L
1
45 K 4
λ=− ........(1)
100 L
78
75
−3
K 4
15 = −200λ
L
−3
15 K 4
λ=− ........(2)
200 L
100 L + 200 K = 30,000.............(3)
45 14 −14 15 −3 4 3 4
− K L =− K L
100 200
6K = L
100(6 K ) + 200 K = 30,000
800 K = 30,000
300
K= = 37.5
8
Try the following problems and check your answers with that of the
tutor!
3 1
4. The production function of a firm is given by Q = 64 L 4 K 4 when labor
costs $96 per unit and capital costs $162 per unit the firm decides
to produce 3456 units of Q.
a. Determine the amount of labor and capital that should be utilized
so as to minimize cost.
b. Find the value of λ at the optimum value and give its economic
meaning
MPL P
c. Show that at the optimum level = L
MPK PK
79
76
Let a and b be the critical points calculated from first order Lagrange
multipliers function. Then,
Find f xx (a, b) = A
f xy (a, b) = B and,
f yy (a, b) = C
Then calculate D = AC − B 2
If:
1. D>0 and A<0, then f (a, b) is local maximum
2. D>0 and A>0, then f (a, b) is local minimum
3. D<0, the function has a saddle point at f (a, b).
4. D=0, the test fails. The function must be investigated
near the point.
80
77
“C”, f (x ) = 2 x + C
Thus,
∫ f ′(x )dx = f (x ) + C
Where
• The sign ∫ is read as “Integration of…”
• The term f ' ( x ) is the integrand
• The term dx as usual is w. r. t. “X”
• The term C is Constant of integration/an element of indefinite
integral.
Antiderivative involves finding f ( x) + C from f ' ( x). That is
∫ f ' ( x)dx = f ( x) + c
83
78
Example:
1. ∫ 2dx = 2 x + c
2. ∫ − 8dx = −8x + c
b) Constant Multiple Rule: for ∫ kf ( x )dx = k ∫ f ( x )dx
Example:
1. ∫ 2 x 7 dx = 2 ∫ x 7 dx
−10
∫ 10 x dx =10∫ x
−10
2. dx
xn +1
D) Simple Power Rule: For ∫ x dx = + c for n ≠ -1
n
n +1
Examples:
1. Evaluate the indefinite integral of the following problems.
a) ∫ 3xdx
1
b) ∫x 3
dx
c) ∫ x dx
d) ∫ (x + 2)dx
e) ∫ (3x )
− 5 x 2 + x dx
4
x +1
f) ∫ x
dx
84
79
Solution
3x 1+1 3x 2
a) +c = +c
1+1 2
x −3+1 −1
b) +C = 2 +C
− 3 +1 2x
1
+1
x2 2
c) + C = x 3/ 2 + C
1 3
+1
2
1 2
d) x + 2x + C
2
∫( )
3x 5 5 x 3 1x 2
3x − 5 x + x dx =
4 2
− + +C
e) 5 3 2
3x 5 5 x 3 x 2
= − + +C
5 3 2
x +1 x 1 1
f) ∫ x
dx = ∫ x
+ dx =
x
∫ x dx + ∫
x
dx
2 x 1 / 2+1 x −1 / 2+1
= + C, + C2
3 − 1/ 2 + 1
2 2/3
= x + C ,+2 x 1 / 2 + C 2
3
2 3/ 2
= x + 2 x1 / 2 + C
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. Some times, when initial conditions are
given, the particular solution can be calculated.
Examples,
1
1. Given f (x ) = & f (1) = 2, find f ( x )
x2
Solution
85
80
1
f (x ) = ∫ dx
x2
= ∫ x − 2 dx
x − 2+1
= +C
− 2 +1
1
=− +C
x
But f (1) = −1 + C = 2
C = 2 +1 = 3
−1
Thus f ( x ) = +3
x
Solution
2
0.04 X
TC = ∫ MCdx = ∫ (32 − 0.04 x )dx = 32 x − 2
+C
=32X -0.02X2 +C
But, TC (1) = 50
TC (1) = 32 − 0.02(1) + C = 50
C= 50.02-32
C=18.02 which is Fixed Cost
Thus, TC = 32x-0.02x2+18.02
2
TC (200) = 32(200)- x 200 2 + 18.02
100
= 6400-800+18.02
= 5600+18.02
= 5618.02
e) The General Power Rule:
86
81
Consider also
∫ 2 x( x + 1) 3 dx =
2
du
Let x2+1 = U and = 2x
dx
du u4 1
Thus, ∫ U 3 dx = + C = ( x 2 + 1) 4 + C
dx 4 4
dx n +1
Leibniz Rule
Example:
Evaluate the following problems
1..∫ 3(3 x − 1) 4
Solution
du
let (3 x − 1) = U , Thus =3
dx
du
= ∫ U ⋅ dx
4
dx
U 4+1
= U 4 du = +C
4 +1
1
= (3x − 1) 5 + C
5
2. ∫ (2 x + 1)( x2 + x)dx
Solution
du
let ( x 2 + x) = U and = 2x + 1
dx
du
= ∫ U ⋅ dx
dx
= ∫ udu
1
= U2 +C
2
1
(
2
= x2 + x + C
2
)
87
82
3. ∫ 3x x 3 − 2 dx
2
Solution
du
let ( x 3 − 2) = U and = 3x 2
dx
du
= ∫ U
1/ 2
dx
dx
∫U
1/ 2
du
U 1 / 2+1
= = +C
1
+1
2
2
= x3 − 2
3
( 3/ 2
+3 )
∫ x(− 4x )2
4. 2
+ 3 dx
Solution
dU 1 dU
Let 3-4x2 = U and = −8 X and (− )( )=X
dx 8 dx
− 1 du
= ∫ U 2 ( dx
8 dx
−1 du
8 ∫ U2
dx
⋅ dx
=
−1U 3
+C
8 3
−1
= (3 − 4 x 2 ) 3 + C
24
7 x2
5. ∫ 4x3 − 5
dx
Solution
dU 1 du
Let 4x3-5=U and = 12X 2 as a result we have = x 2 and
dx 12 dx
7 du
= 7 x2
12 dx
Thus,
7 x2
∫ 4x3 − 5
dx is,
= ∫ 7 x 2U −1 / 2 dx
88
83
7 du
=∫ ⋅ U −1 / 2 dx
12 dx
7
∫U
−1 / 2
du =
= 12
1/2
7 U
( )( ) + C
12 1
2
7
= (4 x 3 − 5) + C
6
6. ∫ 1 − 3 x dx
Solution
du
Let U= 1-3x and = −3 as a result, we have
dx
−1
du = -3dx and dx = du
3
= ∫ U 1 / 2 dx
−1
∫U
1/ 2
du
= 3
− 1 1/ 2
3 ∫
U du
1 U 1 / 2+1
= − +C
3 1
+1
2
−1 U 3/ 2
= +C
3 3
2
=
−2
9
( 1 − 3x ) + C 3
89
84
dx n +1
But, the following formula applies when n = -1. That is
du
∫U
−1
⋅ dx = ln |u| + C
dx
We use absolute value to protect it from being negative & the whole
logarithm undefined. This formula is a direct result of the fact that
d ln x 1
=
dx x
Thus,
1
∫ x dx = ∫ x
−1
dx = ln | x | +C
d ln u du 1
Similarly, when U is a function of X, = ⋅
dx dx u
1 du
∴∫ ⋅ dx = ln | u | +C
u dx
∫ (4 x + 1) 4dx
−1
a)
∫ ( x − 3)( x − 6 x + 1)
−1
b) 2
dx
Solution
a) Let 4x + 1 = U
du
=4
dx
du
Thus, ∫ U −1 ⋅ dx = ln | 4 x + 1 | +C
dx
90
85
b) Let u(x) = x2 – 6x + 1
du ( x)
= 2 x − 6 =2(x-3)
dx
1 du
(X-3)=
2 dx
Thus,
du
∫ ( x − 3)( x − 6 x + 1) −1 dx = ∫ U −1 ( 1
2
2 dx
) dx
1 du 1
= ∫ U −1 dx = (ln | u |) + C
2 dx 2
1
= ln | x 2 − 6 x + 1 | +C
2
= ln x 2 − 6x + 1 + C
x 4 − 2x3 + 4x 2 − 7x − 1
c) ∫ x 2 − 2x
dx
x −1
= ∫ ( x + 4) + dx …Using division of rational functions
2
x − 2x
2
x −1
= ∫ (X + 4)dx + ∫ x
2
dx
2
− 2X
1 3 1
= x + 4 X + ∫ ( x 2 − 2 x) −1 ( )(2)( x − 1) dx
3 2
=
1 3
3
1
(
x + 4 x + ln | x 2 − 2 x | + C
2
)
1 3
= x + 4 x + ln x 2 − 2 x + C
3
dx
de u de u
, give U = f ( x), = u ' ( x)e u , thus, ∫ e u u ' ( x)dx = e u + C
dx dx
91
86
Example
Evaluate the indefinite integral of the following
∫ 2 xe
x2
a) dx
Solution
du
Let x2=U and = 2X
dx
∫ U ' ( x )e
u
dx
Thus, = e u + C
2
= ex + C
∫x
3
b) 2
e x dx
Solution
1
Let x3 = U, U’(x) = 3x2 and manipulating it little, we get x2 = U ' ( x)
3
1 u du 1 x3
3 ∫ dx
= e ⋅ dx = e + C = 1 e x3 + C
3 3
Solution
TR = ∫ MRdx = ∫ 6e
0.01 x
dx
= 600e0.01 +C
♠
Let 0.01 x = U(x)
U’(x) = 0.01
1
U’(x) =
100
100u’(x) = 1
600 u’(x) = 6
92
87
TR = 600e0.01x – 600
TR (100) = 600 (e0.01 x 100 –1)
= 1030.97
G. Integration by Parts
Although the previous rules of integration are important elements in
the day to day mathematical toolkits of economists when dealing
with integration problems, there are problems which require us
more. Some of these problems are solved using the concept of
integration by parts.
We know that
d
(u ( x)m( x)) = u' m + m' u
dx
d
∫ dx (um) dx = ∫ u ' mdx + ∫ m' udx
um = ∫ um' dx + ∫ mu ' dx
dm du
um = ∫ u dx + ∫ m dx
dx dx
um = ∫ udm + ∫ mdu
∴ ∫ udm = um − ∫ mdu.
93
88
Examples
1. ∫ xe
x
dx
Solution
Dividing it into X part and exdx part let U= x and
dm = exdx so that m = ∫ dm = ∫ e dx = e x and du = dx
x
∫ xe dx =xe x − ∫ e x dx + C
x
= xex - ex+C
2. ∫X
2
ln xdx
Solution
Dividing it into X part and exdx part let U=ln x and dm = X2dx, we
1 1
have m = ∫ dm = ∫ x 2 dx = x 3 and du= dx
3 x
Using the formula ∫ udm = um − ∫ mdu and directly inserting the values
94
89
Let f(x) be a function and “a” and “b” be real numbers. The definite
integral of f(x) over the interval from X=a to X=b denoted by
b
∫ f ( x)dx
a is the net change of an anti-derivative of f(x) over the
interval. Thus, if F(x) is an antiderivative of f(x), then we have
b
∫ f ( x)dx = F ( x)
b
a
= F (b) − F (a )
a
∫
a
f ( x)dx = F (b) − F ( x) = F (b) − F (a )
a
Example:
Evaluate the defnite integrals of the following
3
∫ x dx
3
1.
1
x 3+1 3
= + C
3 + 1 1
1 3
= x4 + C
4 1
1 1
= ⋅ 3 4 + C − ⋅ 14 + C
4 4
81 1
= −
4 4
= 20
95
90
b b
1. ∫ Kf ( x)dx = K ∫ f ( x)dx,
a a
b b b
2. ∫ [ f ( x) ± g ( x)]dx = ∫ f ( x)dx ± ∫ g ( x)dx
a a a
b c b
3. ∫ f ( x)dx = ∫ f ( x)dx + ∫ f ( x)dx,
a a c
for a < c < b
a
4. ∫ f ( x)dx = 0
a
b a
5. ∫
a
f ( x)dx = − ∫ f ( x)dx
b
5
1. ∫ 3x
2
dx
2
2
2. ∫e
3x
dx
−1
1 2
3. The marginal cost function for a company is MC= x − 2 x + 120
100
birr per unit, where X is output produced. Find the net increase in
cost when output increases from 100 units to 105 units.
Solution
∫ 3x dx =
2
2
1.
3 x 2+1 5
= + C
2 +1 2
=5 −2
3 3
= 125 – 8
= 117
2.
2
∫e dx =
3x
−1
1 2
= e 3x + C
3 −1
1 1
= e 6 − e −3
3 3
1 1
= e6 − 3
3 3e
96
91
1 e9 − 1
=
3 e 3
= 134.46
3.
105
∫ MCdxdx
100
105
1
= ∫ 100 x − 2 x + 120 dx
2
100
1 3 105
= x − x 2 + 120 x
300 100
= 100.42
Exercise
Try the following problems.
1. Suppose that the marginal profit for a company is
MP=100+50X-3X2. Find the total profit earned from the sale of
three additional units if 5 units are currently being produced.
2. For a number of years the annual worldwide rate of oil
consumption was growing exponentially with a growth
constant of about 0.07. At the beginning 1970, the rate was
about 16.1 million barrels of oil/year. Let R(t) denote the rate
of oil consumption at time (t) where t is the number of years
since the beginning of 1970. Then a reasonable model of R(t)
is given by
R (t) =16.1e0.07t
How much oil was consumed between 1975 and 1980?
The answers are $888 and 0.465 for the first and second questions
respectively.
Y Y=f(x)
a b X
97
92
∫ f ( x)dx = F (b) − F ( x)
a a
= F (b) − F (a )
Examples
Solution
Area
2
= ∫ f ( x)dx
1
2
= ∫ ( x 2 − 1)dx
1
2
1
= x 3 − x
3 1
8 1
= − 2 − − 1
3 3
= 4/3
Solution
Area
1
= ∫ (4t + 1) dt
2
3 1
1 4t + 1
=
4 3 0
1 5 3 13
= −
4 3 3
31
=
3
98
93
Solution
Y=X
2
1
1 2
Area=
2
∫ xdx
1
2
1
= x2 + C
2 1
1
= 2−
2
3
=
2
∫ [ f ( x) − g ( x)]dx
a
99
94
Example
1. Find the area of the region between Y= 2x2–4x + 6 and
Y = -X2 +2X+1 from X=1 to X=2
Solution
Over the range of values X=1 to X=2, the function Y= 2x2–4x + 6
lays above the function Y = -X2 +2X+1. To check which function is
greater, let’s sketch the graph with in the interval [1, 2].
Y = 2x2 – 4x + 6
6
R
-1
1 2
Y = x2 + 2x + 1
Hence, the area of the shaded region is
∫ [(2 x )]
2
R= 2
) (
− 4 x + 6 − − x 2 + 2 x + 1 dx
1
2
= ∫ (2 x − 4 x + 6 + x 2 − 2 x − 1 dx )
2
2
= ∫ (3x − 6 x + 5 dx)
2
2
= x3 − 3 x 2 + 5 x 1
[
= 2 − 3( 2) + 5( 2) − 1 − 3(1) + 5(1)
3 2
] [ 3 3
]
= [8 − 12 + 10] − [1 − 3 + 5] = 6 − 3 = 3
2. Find the area of the region between Y=X2 and Y=X2-4x+4
from X=0 to X=3
Solution
If we sketch both functions, we get
Y=X2 Y=X2-4x+4
0 1 3
100
95
0 0 1
1 3
= ∫ (−4 x + 4)dx + ∫ (4 x − 4)dx
0 1
1 3
= − 2x 2 + 4x + 2x 2 − 4x
0 1
[ ]
= 2 + 18 − 2 − [2 − 4] = 2 + 6 + 2 = 10
∫ (x )
− (−e x ) dx
2
−1
2
= ∫ (x )
+ e x dx
2
−1
2
1 3
= x + ex
3 −1
8 −1
= + e 2 − + e −x
3 3
2 -1
=3+e –e
Solution
In this case let’s check for points of intersection get the interval
Thus, x2 + 2x + 3 = 2x + 4
x2 = 1
x = ±1
f(x) 3 3 11
X -2 -1 0 1 2
g(x)
0 4 8
101
96
Y = 2x + 4 > Y = x2 + 2x + 3
g(x)>f(x)
1
Area = ∫ (2 x + 4 − x )
− 2 x − 3 dx
2
−1
1
∫ (− x + 1)dx
2
−1
−1 3 1
=∫ x +x
3 −1
− 1 1
= + 1 − − 1
3 3
−1 1 2 4
= + 1 − + 1= 2 − =
3 3 3 5
Px = 8 – x
P X
O 8
1 7 Graphically
2 6
3 5 Px
8 Consumer’s Surplus
5 4
5 3
6 2
7 1 P=3
8 0 3
Px=8-x
5 8 x
102
97
= [25 − 12.5]
= 12.5
Area of the shaded region using the law of triangle is given as
= (8-3) (5-0)X0.5
1
Shaded region = (8-3) (5-2) x = 12.5
2
Examples:
1. Find the consumer’s surplus at price of $8 if the demand
1
function is given by P = 20 - x
2
Solution
To find point of intersection, find x at P =8. That is,
1
8 = 20 − x
20
1
x = 12
20
x = 240
Hence, the consumers’ surplus is given by
240
1
CS = ∫ (20 − x − 8)dx
0
20
240
1
= 12 x − x 2
40 0
1
= 12(240) − (240 x 240)
40
= [12(240) − 6(240)]
103
98
x
PS = = ∫ P − S ( x)dx That is
0
S(x) = P
PS
p
Y =P
Example
104
99
300
1
= ∫ 18 − 500 x
2
dx
0
300
1
= 18 x − x3
15000 0
a) Consumers’ surplus
b) Producers’ surplus
c) Social welfare assuming the economy is two-sector
Warlasian economy.
1
P x
= 20 −
20
x
1 2
P x
= 2+
500
x
Solution
To find the market price and quantity,
1 1
⇒ 20 − x = 2+ x2
20 5000
1 1
⇒ x2 + x − 18 = 0
5000 20
⇒ x 2 + 250 x − 90,000 = 0
⇒ X2 + 250X+ 15575 = 10575
Now, it is easy to deal with the problem. Insert the values in the
formulae so that you will come up with the answers.
105
100
200
1
CS = ∫ 20 − 20 x − 10 dx = 1000
0
200
1
PS = ∫ 10 − 2 − 5000 x
dx = 1067
2
0
Social welfare is the sum of total consumers’ surplus and producers’
surplus.
SW = CS + PS = 2067
Note in the table that the lowest paid 40% of the population
receives only 18% of the income, whereas if income were
absolutely equally distributed, they would get 40% of the income.
In fact, if income were equally distributed, the data would lie along
the 45-degree line. In actuality, the data always lie along a curve
below the line, a curve called a Lorenz curve. The further this curve
moves from the 45 degree line, the more unequal the income
distribution.
100
Cumulative Cumulative 80
Percent of Income
percentage percentage
of people of income 60
2 0
20 6 40
40 18
20
60 35
80 59
100 100 20 40 60 80 100
Percent of people
As a measure of inequality, we use the so-called Gini coefficient of
inequality “g” defined by
g = Area between the Lorenz curve and the line y = x
Area under the line y = x
106
101
1
g = 2 ∫ [x − f ( x)]dx
0
Example
Sketch the Lorenz curves y = x 2 and y = x 5 on the same graph and
determine the corresponding Gini coefficients.
Solution
The graphs are shown in Figure below. The required Gini coefficients
are
x2 x3 1 1
[ ]
1
g = 2 ∫ x − x 2 dx = 2 − ∫ =
0 2 3 0 3
and
x2 x6 1 2
[ ]
1
g = 2 ∫ x − x dx = 2 − ∫ =
5
0 2 3 0 3
Y
100
.80
.60 Y=x
.40 Y = x2
.20
Y = x5
x
.20 .40 .60 .80
P = fe − rt
107
102
Example
Bethel knows that she will need to replace her car in 3 year How
much would she have to put in the bank today at 8% interest
compounded continually in order to have the $12,000 she expects
to need 3 years from now?
Solution
We apply the boxed formula, remembering that the interest rate of
8% must be written in its decimal form.
T
PV = ∫ R(t )e − rt dt
0
Example
Suppose the ABV Company takes a more optimistic view and
estimates that the new machine will produce income at the rate R
(t) = 10,000 + 200t. What is the present value of this income
stream, again assuming interest at 9% compounded continuously
and a lifetime of 8 years?
108
103
Solution
8
PV = ∫ (10,000 + 200t )e −0.09t dt
0
8 8
= ∫ 10,000e −0.09t dt + ∫ 200te −0.09t dt
0 0
∞
PV = ∫ R (t )e − rt dt
0
∞ T
R ( t ) e − rt dt
∫ R(t ) dt = Limr →∞ 0
e − rt ∫
∞
C 1−δ − 1
U (c) = ∫ e − Bt Ldx
0 1 − δ
109
104
Where
• U(c) is the utility function the social planner maximizes,
• -B is the discount rate agents assign to future consumption,
• C is percapita consumption
• L is the size of population
• And δ is the inverse of the intertemporal elasticity of
substitution.
Now we have faced some what new, but definite integral, problem
in this function. Such type of integral is known as improper
integrals. An improper integral is an integral which is bounded by
either (− ∞, ∞ ) , (c, ∞ ) , or (− ∞, c ) where c is a constant. This limit of
integration is infinite. To find out the value of this integral use the
formula:
∞ b
∫
f ( x ) dx
a) For f ( x)dx = lim b→∞ a∫
a
∫
∫ f ( x ) dx
f ( x ) dx = lim a → −∞ a
−∞
c b
= Lim a →−∞ ∫ f ( x)dx + Limb→∞ ∫ f ( x)dx
a c
Examples
110
105
∞
1
1. Find the value of ∫ x dx and
1
determine its status of
convergence.
Solution
∞ b
∞
1
2. Find ∫x
1
2
dx
Solution
∞ b b
1 1 − 1 −1
∫1 x 2 dx = Limb→∞ ∫1 x 2 dx = Limb→∞ x 1 = Limb→∞ b + 1 = 1
Since limit does exist, the integral converges.
3. Now it is time for you to check whether you have grasped the
concept or not. To this end, why don’t you handle this problem? Use
0
dx
your paper and pen right now! ∫ 3
− ∞ (1 − 2 x ) 2
The order of the ODE is that of the highest derivative; that is, if the
highest derivative in an ODE is order of n, then it is an nth order
ODE. When the functional form of the equation is linear, then it is a
linear ODE.
Let have illustrations!
111
106
•
a) a1 y (t ) + a 2 y (t ) + x(t ) = 0 This is 1st order linear ODE.
• dy
Where ⇒ y (t ) =
dt
⇒ a1 ,&a 2 are constants
⇒ x(t ) Known function of time
•• •
b) a1 y (t ) + a 2 y (t ) + a3 y (t ) + x(t ) = 0 This is 2nd order linear ODE
•• d2y
Where y (t ) =
dt 2
1
c) log y& (t ) + = 0 is non-linear first order ODE.
y (t )
dy
Such an equation is + u (t ) y = w(t )
dt
When u (t) and w (t) are constants, it is first order linear differential
equations (LDE) with constant coefficient and constant term.
When w (t) = 0, it reduced to homogenous 1st order LDE
W (t) w(t ) ≠ 0, is it know as not-homogenous case
112
107
Y = e − at + c
Y = e c ⋅ e − at
From the solution, it can be seen that the objective and solution of
solving differential equation is not numeric value rather t is the time
path of y (t).
Thus, Yc = Ae − at
dy
By assuming Y to be constant = 0 and we’ll have ay = b and
dt
b
YP =
a
b
∴ The general solution will be Y (t ) = Yc + Yp = Ae − at +
a
But when t=0, our equation will be reduced to
b
Y (t ) = Ae − at +
a
b
Y (o ) = A +
a
b
A = Y( 0 ) −
a
Hence, we finally come up with
113
108
b b
Yt = Y( 0 ) − e − at +
a a
When b = 0, Y (t) turns to the homogeneous case
Examples
dy
a) Solve + 4 y = 0. and Y (o) = 1
dt
Y (t ) = Ae − at
Y (o) = Ae 0
1=A
A=1
∴ Y (t ) = e −4t
dy
b) Solve + 2 y = 6 and Y (0) =10
dt
Solution
b b
Yt = Y (o) − e − at +
a a
6 6
Yt = 10 − e −2t +
2 2
Yt = 7e − 2t +3
114
109
Equation α − βρ = −γ + δρ
α + γ = (δ + β ) ρ
α +γ
P= ⇒ it is some positive constant
u+β
dp
= m(Qs − Qd ) Where m>0
dt
dp
= − m(γ + δρ − α + βP)
dt
= m(−γ + α ) + m(δ + β ) P
dp
+ − m(δ + β ) P = − m(γ + α ) Using the formula stated above, we get
dt
115
110
− m(γ + α ) − m (δ + β ) t − m(γ + α )
⇒ P(t ) = e + This is identical to the
− m(δ + β − m(δ + β )
γ + α − m (δ + β ) γ + α
expression P (t ) = P(0) − e +
γ + β δ +β
[ ]
Pt = (0) − P e − m (δ + β ) t + P
P(0) − P
Pt = +P
e m (δ + β ) t
price “Pt”. This implies that the market (equilibrium) price and
concomitant quantity are stable.
116