The Internet Economy

 

Econ 407: Lecture notes on derivatives. Economists look at things at the margin; that is they want to know what is the effect of a small ( marginal) change in a single variable (holding all other variables constant) on some variable of interest. To this end, they use such tools as the "derivative" or "partial derivative". A derivative simply measures the rate of change in one variable as another variable is changed by a small amount. For example, in the following demand function, we look to know what happens to quantity demanded if the price changes by a small amount. For a linear demand curve or any linear function, the derivative is going to be a constant, meaning that the rate of change does not change as move from one point to another on the demand schedule. For a polynomial, the derivative will be a function, assuming different values at different points.

qd:=100-5*p;

[Maple Math]

> d(qd)/d(p)=-5;

[Maple Math]

> diff(qd,p);

[Maple Math]

> qd:=100-5*p^2;

[Maple Math]

> dqd:=diff(qd,p);

[Maple Math]

> plot({qd,dqd},p=0..5);

[Maple Plot]

> y:=x^2+6*x-7;

[Maple Math]

> dy:=diff(y,x);

[Maple Math]

>

> plot({y,dy},x=-10..8);

[Maple Plot]

>

> solve(dy,x);

[Maple Math]

> eval(dy,x=-3);

[Maple Math]

> eval(y,x=-3);

[Maple Math]

> y:=8*x^3;

[Maple Math]

> dy:=diff(y,x);

[Maple Math]

> y:=(10*x^8-6*x^7)/(2*x);

[Maple Math]

> dy:=diff(y,x);

[Maple Math]

> simplify(dy);

[Maple Math]

>

> y:=(4*x^5.0)/(1-3*x);

[Maple Math]

> dy:=diff(y,x);

[Maple Math]

> simplify(dy);

[Maple Math]

Note that in all the instances where the exponent of x is greater than one, the derivative is a function of x.

> y:= 1/(x);

y := 1/x

> dy:=diff(y,x);

dy := -1/x^2

> plot(y,x= -01..1);

[Maple Plot]

> plot(dy,x=-0.5..0.5);

[Maple Plot]

>