Introduction to Mathematical Economics Lecture 8
Introduction to Mathematical Economics Lecture 8
Undergraduate Program Faculty of Economics & Business
Universitas Padjadjaran
Ekki Syamsulhakim, SE., MApplEc.
Previously
- Mid Term Exam •
Matrix Algebra
- – Transposition – Determinant – Inverse – Cramer’s Rule
Today
- We must find another time for this subject
- Some more topics about functions
- – Continuity – Smoothness – Convexity / Concavity
- Differential calculus of 1 independent variable
- – Review of the basic concept
- – Review of rules
Continuity of Functions
Important: many mathematical techniques
- only applicable if the function is continuous Continuity of a function explained easily
- with the aid of a graph
A function is continuous if the graph of
- – the function has no breaks or jumps A function is continuous if it can be
- – sketched without lifting your pen from the paper
Continuity of a function
f(x) Function y=2x is y=2x continuous at every point x
•
•
•
6
6+e x=3 f(x)=6
•
6-e
Choose a small
e there is number, >0, some value d > 0 such that all the function values defined on the set x of x values
3-d 3+d
3 Discontinuous functions f(x) = +1, x 0
- f(x)
= -1, x > 0
- f(x)=+1, x 0
The function has = -1, x > 0 an obvious break or jump at the
1 point x = 0 x
- 1
Continue functions are not necessarily smooth functions
f(x) x
Continue VS smooth
- smooth function
Formal definition
A function f(x) which is defined on anopen interval including the point x=a
is continuous at that point if Lim f(x) exists, i.e
- – xa
- xa- xa+
Lim f(x) = Lim f(x)
- – xa
Lim f(x) = f(a)
Convexity and Concavity of a
(bivariate) function
1 2 The function z=f(x ,x ) is concave (convex)- iff, for any pair of distinct points M and N on its graph – a surface – line segment MN lies either on or below (above) the surface. The function is strictly concave (convex) iff
- line segment MN lies entirely below (above) the surface, except at M and N
Convexity and Concavity of a function N M N
Differential Calculus
The basic calculus measurement, the rate ofchange of a function at a point, is useful in the
quantitative analysis of business problemsA convenient way to express how a change in
- the level of one variable (say x) determines a change in the level of another variable (say y)
How a change in an additional worker affects a
- – change in output (or profit)? How a change in a tariff rate determines a change in
- – domestic (border) price of importables
Differential calculus
In mathematics, calculus concentrates on the- analysis of rates of change in functions particularly with the instantaneous rate of
change of a function, or the rate of change at a
point of a function The derivative of a function measures theinstantaneous rate of change in the dependent
variables in response to an infinitesimally
small change in the independent variable(s)
Derivative: graph analysis
- tangent y
The derivative of a function y=f(x) at the
point P=(x ,f(x )) is the slope of the 1 1 line
tangent line at that point
y=f(x) P y 1 x x 1
Derivative: graph analysis
Secant line y- A stright line that can be drawn under (above)
Secant Line
- – y+Dy
y=f(x) P a curve, connecting 2 points of that curve Dy y
Used in visualising a change from a point to
- – another point
Dx x x x+Dx
The Derivative and the Differential (Con’t)
The Derivative and the Differential (Con’t)
Definition of Differential
If f’(x ) is the derivative of the function
- y=f(x) at the point x , then the (total) differential at a point x is dy=df(x ,dx) = f’(x ) dx
The differential is a function of both x
- and dx
Differential
The differential provides us with a method
- of estimating the effect of a change in x of amount dx= Dx on y, where Dy is the exact change in y, while dy is the approximate change in y
Conditions for differentiability
Rules of Differentiation
Learning outcomes
By the end of this topic, you should be able to:
- 1. Use the various rules of differentiation confidently, recognising which is the most suitable rule for each case.
2. Use the techniques of differentiation in Economic situations, such as working out marginal cost, elasticity, etc.
Rules for differentiation
The rules we are going to cover1. Derivative of a constant
2. Derivative of a linear function
3. Power function rule
4. Sum and difference rules
5. Product rule
6. Quotient rule
7. Generalised power function rule
8. Chain rule
9. Inverse function rule
10. Natural Exponential Rule
11. Natural Logarithmic Rule
Derivative of a constant
- If y=k where k is a constant, then
dx dy
- Example: If y=8 then
dx dy
Derivative of a linear function
The derivative of a linear equation
- y=m.x+c is equal to m, the coefficient of x. The derivative of a variable raise to the
- first power is always equal to the coefficient of the variable.
dy y ' m If y = mx + c, then dx
Examples
- y=15-2x
- f(x) = ½x – 100
- x 1 =100+ ¼ x 2
- function, y= kx , where k is a constant and n is any real number, is equal to the coefficient k times the exponent n, multiplied by the variable x raise to the (n- 1) power
-
- yields another function that has smaller power, example:
- If dy/dx>0 the function is increasing
- If dy/dx=0 the function is constant
- If dy/dx<0 the function is decreasing
- sum of the derivatives of the individual functions.
Similarly the derivative of the difference of two
- functions is the difference of the derivatives. So, if functions f and g are both differentiable at
- c, then if
- y= x 2 +x 50 +
- y=16x 4 - 5x 3
- f(x 2 )=x 1 2 +5x 1f(x)= 2ax 4 +10ax 2 -5a 2
- at c, so is their product:
- functions is the first function times the derivative of the second function plus the second function times the derivative of first function.
- Suppose y=u·v,u=f(x),v=g(x); then
- y=4x 4 (3x
- f(x)=(x 2 +1)(x 3 -2)
- y for x
- the form If price increases from $10 to $20, how much would quantity demanded decreases? Compute the price elasticity of demand at those points
- power f(x)=[g(x)] where g(x) is a differentiable function, and n is a real number is given by
- 2
-
- Y=6X 2 and X=2Z+1; d
- 14X and X=Z; dY/dZ?
- Y=2X 1/2
- S=3X+6 and X=(2T 2 +5)(3T-2); dS/dT?
- x
- In many cases b takes the number
- e=2.718
- – e=1
- e =1
- e
- (e
- e
- If larger and larger (positive) values are
- assigned to m, then f(m) will also assume larger values f(1)=2; f(2)=2,25; f(4)=2,44141;
- f(100)=…;f(1000)=… f(m) will converge to the number
e = 2,71828…
- Logarithmic function is the inverse of exponential function
- General form:
- – The inverse : x = b y
- – Common log: b = 10
- – Natural log: b = e
- The log of the base = log e = 1
- Example:
- ln e = 1 3 ln e = 3 a )=a ln u
- ln(u
- ln e
- ln(uv) = ln u + ln v (u,v>0)
- ln e
- ln(e
- ln(u/v) = ln u – ln v (u,v>0)
- ln(e
- a a
- 5 2 5 2 ln(u v) ln u ln v
- 5 2 ln(
- ln(e +e )=ln(155.8)=5.05
- 5 2 5 2 ln(e )=5, ln(e )=2 ln (e ) + ln (e ) =
- = 7
- Proof Let
- - 4 ln x ( ) 10 20 0.02 x 15.648 10 -
- Growth model
- Population model
- Production function
- etc
- Relation between and ln if y = ln x, then x = e y
Power Function Rule y x n
n drops down: then index looses 1 mechanics of the power rule: giving
1 , n
If y=x then n dy nx dx
d d y x nx n
1
Power Function Rule
nIn words: The derivative of a power
dy n
1 n
If y= kx
knx
dx
Examples
3
y=x 3 y=2-½x 4 f(x)=2ax
x y
Hint
The derivative of a power function always
f(x) f’(x) Cubic Quadratic Quadratic Linear Linear Constant
Constant zero
f(x)
x
Hint
Sum and Difference Rules
The derivative of the sum of two functions is theh(x)=f(x)+g(x) h’(x)=f’(x)+g’(x)
Examples
The Product Rule
If functions f(x) and g(x) are differentiable
h(x)=f(x)g(x)
h’(x)=f(x)g’(x)+g(x) f’(x) So the derivative of the product of two
The Product Rule
The rule is usually written as:
dy dv du
u v dx dx dx
OR: dy/dx=uv’+vu’ where u and v are functions of x
Examples
The Quotient Rule If functions f and g are differentiable at x, and g(x) 0, f x ( ) then is also differentiable at x. h x ( )
g x ( ) f x ( ) f x g x ( ) ( ) f x g x ( ) ( )
h x ( ) h x ( )
2 g x ( ) g x ( )
OR if f(x) = u and g(x) = v, then u v uv ' '
h x ( )
2 v
Examples x y
1 x
2 6 x
5
2 x
5
2
Examples
Let a unitary elastic demand function takes
Generalized Power Function
Rule
nThe derivative of a function raised to a
n
1 f ' ( x ) n [ g ( x )] g ' ( x )
2 3 Example: If f(x)=(x +8) ; find dy/dx
If ; find dy/dx
y 1 x
The Chain Rule Given a composite function (a function of a function) where y is a function of u and u is a function of x, i.e. y=f(u), and u=g(x) then y=f(g(x)) and the derivative of y with respect to x is the derivative of the first function w.r.t u times the derivative of the second w.r.t x: dy dy du
dx du dx
Examples
Review
Exponential function
General form:
y = b
b base of the function
ea number that has a characteristic of ln
x y = e
Number e and its rules
a (e b
) = e a+b
a ) b
=e ab
a /e b
=e a-b
Derivation of the number e
Consider the function: •
�
1 2.8 ( )
� � = 1+
2.788
( )� [ ]
2.765
2.777
2.742
2.754
2.719
2.731
2.696
2.708
2.673
2.685
3
2.662
2.65
3
Logarithmic function
y= b log x or y=log b x
Logarithmic function
Natural log: b = e
eNatural logarithm, general form: y=log x
Logarithms Rules
15 = 15
3 .e
2 ) = ln e
3
2 = 3+2=5
2 /c) =2 – ln c
Logarithms Rules
ln(uv )= ln u + ln v = ln u + a ln v 2
ln(xy ) = ln x + 2 ln y
e ) ln (e ln (e
5.05 7
Logarithms Rules
Logarithms Rules b e b b e b e b e
1 log e = (log b) Let u = b
Log b =(log e)(log b) 1 =(log e)(log b) 1 log e =
(log b) Proof :
Graph
9.21
10 ln 4x ( ) ln 2x ( ) ln x ( ) 2 4 6 8 10 2 ln x ( )
Applications
Inverse Function Rule
1 2 1 2 1 21
1
2
2 2 If y=f(x)=x then 2x The inverse function is given by x=f(y) so and
What is the relationship between dy/dx and dx/dy?
dy dx x y y dx y dy y
Inverse Function Rule
1
1
2
1 1 2
1 2 1 2 Now x y 2x 2y So,
Similarly, 2y dx dy x dy dx dy dx dx dy
Exponential and Natural
Logarithmic Rules
BASIC CONCEPTS The constant =2.71818... is its own derivative e The exponential rule for base : e x If y = e x dy d e ( ) x e
dx dx
The exponenti al function rule for base : e
f(x)
If y = e f x ( ) dy d e ( ) f x ( ) e f x '( ) dx dx
Exponential and Natural
Logarithmic RulesEXAMPLE 3 x 2 5 x 4
y f x ( ) e
f x ( )
dy d e ( ) f x ( ) e f x '( )
dx dx 3 x 2 5 x 4 dy e (6 x 5)
dx
Exponential and Natural
Logarithmic Rules
The exponential function rule for base a : f(x) If y = a f x ( )dy d a ( )
f x ( ) a (ln ) '( ) a f x dx dx
It can be seen that exponential function rule
for b ase e is just a special case of that for base a
Exponential and Natural
Logarithmic RulesEXAMPLE 3 x 2 5 x 4
y f x ( ) 4
2
dy 3 x 5 x 4
4 (ln 4)(6 x 5)
dx
Exponential and Natural Logarithmic Rules
y e
e x y d e ( ) d x
dx dx y d e ( )
1 dx y dy e
1 dx dy
1
1 y
Exponential and Natural
Logarithmic Rules2
2 2 1 '( ) '( )
( ) ( ) ln (3 2 6)
6
2
3
2
6 BASIC CONCEPT If y=ln f(x) EXAMPLE: then dy f x f x dx f x f x y x x dy x dx x x
Summary
Summary
Summary Higher Order Derivatives