Professional Documents
Culture Documents
So if you are more interested in chatting with your friends than actually listening to the lectures.
at a point (x 0 , p 0 ) . The value of p 0 is the market price. To nd this point, we must solve : D (x ) = S (x ) .
Consumers and Producers Surplus Integration by Partial Fractions, by Change of Variable, and by Parts
Consider a market with one product. Suppose the inverse demand function is p = D (x ) = 60 3 x ( 0 x 20 ); p0
S (x )
i.e., in order to sell x units of the product, the price per unit must be p = D (x ) . And the inverse supply function is p = S (x ) = x 2 + 20,
D (x )
x0
i.e., for it to be worthwhile to produce x units, the price per unit must be p = S (x ) .
MA 100, Mathematical Methods Calculus Lecture 16 page 2 / 42 MA 100, Mathematical Methods Calculus Lecture 16 page 4 / 42
Consumers Surplus
At the market price p0 , the total the consumers pay and the total the producers receive is : R = x 0 p0 . This is the area of the shaded region below.
The value of the consumers surplus, the area of that region, is given by the denite integral
x0 x =0 x0
D (x ) dx x 0 p 0 =
x =0
(D (x ) p0 ) dx .
(60 3 x 45) dx =
p0
x =0
x0
MA 100, Mathematical Methods Calculus Lecture 16 page 5 / 42 MA 100, Mathematical Methods Calculus Lecture 16 page 7 / 42
Consumers Surplus
Producers Surplus
At the market price p0 , consumers who buy the product would have been willing to pay at least p 0 , and many of them would have been willing to pay more. This extra in the market forms the Consumers Surplus. It is the area of the shaded region below. S (x )
p0 D (x )
x 0 p0 x0
MA 100, Mathematical Methods Calculus Lecture 16 page 6 / 42
S (x ) dx =
x =0 x =0
(p 0 S (x )) dx .
MA 100, Mathematical Methods Calculus Lecture 16 page 8 / 42
Techniques of Integration
In these examples, integrating the functions is quite straightforward. You are expected to be familiar with standard integrals, and standard methods of integration. If you could use a refresher, see ( for instance ) : the Calculus Refresher on the MA100 Moodle page, or the relevant sections of the Calculus textbook. The rest of the lecture is devoted to some more advanced techniques of integration.
MA 100, Mathematical Methods Calculus Lecture 16 page 9 / 42
dx = arctan(x ) + c . 1 + x2
x2
x +2 dx . + 5x + 4
x2
so : x +2 1 dx = + 5x + 4 3
=
x2
dx 2 + x +1 3
dx x +4
sin(x ) + c
MA 100, Mathematical Methods Calculus Lecture 16 page 10 / 42
1 2 ln|x + 1| + ln|x + 4| + c . 3 3
MA 100, Mathematical Methods Calculus Lecture 16 page 12 / 42
D (x ) +
1 R (x ) k a x + 1 a
dx
If the degree of P is greater than or equal to that of Q , then we can always write : R (x ) P (x ) = D (x ) + , Q (x ) Q (x )
xk
R (x ) , (x a1 ) (x a2 ) (x ak )
with D , R , Q all polynomials, and where the degree of R is smaller than that of Q . Next : if Q (x ) = a x k + b x k 1 + ( with a = 0 ), b so Q (x ) = a x k + x k 1 + , a then we can write : 1 R (x ) = Q (x ) a xk + R (x )
b a
where R (x ) is a polynomial of degree smaller than k , and a1 , a2 , . . . , ak are different real numbers. Such a function can always be written in the form A1 A2 Ak R (x ) , = + + + xk + x a1 x a2 x ak for some constants A1 , A2 , . . . , Ak .
MA 100, Mathematical Methods Calculus Lecture 16 page 16 / 42
x k 1 +
A (x + 1) (x 2) + B (x 1) (x 2) + C (x 1) (x + 1) . (x 1) (x + 1) (x 2)
So we must have : x2 + 3 = 1 x2 + 0 x + 3
= (A + B + C ) x 2 + (A 3 B ) x + (2 A + 2 B C );
To nd A : The constant A came from the fraction Set x = 1 everywhere in the equation : 12 + 3 = A (1 + 1) (1 2) + B 0 + C 0. Because of the zeros in the terms without an A , we can describe this as : cover up the terms with the factor x 1 on the right. This gives an equation for A only : A . x 1
A 3 B
2 A + 2 B C = 3.
The solution is :
A=
B=
C=
B ): x +1
When there are repeated factors, more work is needed. Example : x 1 dx . x (x + 1)2 A B C x 1 = + + 2 x (x + 1) x x +1 (x + 1)2
=
(1)2 + 3 = B (1 1) (1 2) .
C ): x 2
22 + 3 = C (2 1) (2 + 1) .
A (x + 1)2 + B x (x + 1) + C x . x (x + 1)2
0 1 = A (0 + 1)2 ,
(1) 1 = C (1) ,
x 1
hence : But we cant get B that way. Use the rst method : x 1 = (A + B ) x 2 + (2 A + B + C ) x + A . So A + B = 0, hence :
= 2 ln|x 1| +
If we can completely factorise Q (x ) = x k + : Q (x ) = (x a1 ) (x a2 ) (x ak ) , with all a1 , a2 , . . . , ak different, then we can write R (x ) A1 A2 Ak . = + + + Q (x ) x a1 x a2 x ak And those fractions are easy to integrate : Ai dx = Ai ln |x ai | + c . x ai
MA 100, Mathematical Methods Calculus Lecture 16 page 25 / 42 MA 100, Mathematical Methods Calculus Lecture 16 page 27 / 42
B A C + + x a1 (x a1 )2 (x a1 )3 D x a2 E F . + x a3 (x a3 )2
MA 100, Mathematical Methods Calculus Lecture 16 page 28 / 42
1 q
B B + c, d x = (x a1 )2 x a1 1 C C d x = + c , 3 2 (x a1 ) 2 (x a1 ) and
1 x +p 1+ q
x2
q ; + 2 p x + (p 2 + q 2 )
etc.
d 2x +a . ln(x 2 + a x + b) = 2 dx x + ax +b
x2
So what if those appear in the rational function ? We can always complete the square : x2 + a x + b = where b
1 4
2x + 2 d ln(x 2 + 2 x + 5) = 2 , dx x + 2x + 5
1 4
x+
1 2
+ b
a2 ,
and x +1 d arctan dx 2
=
a 2 > 0.
2
(x +
1)2
+2
x2
2 . + 2x + 5
So we nd : 2x 1 dx 2 x + 2x + 5
= 3 2x + 2 d x + x2 + 2 x + 5 2
(x 3 + 10 x 2 + 25)
x4 + 2 x3 + 5 x2 2 dx x2 + 2 x + 5
And continue by integrating each factor one by one ( and not forgetting the terms
1 2
x 1 ).
= ln(x 2 + 2 x + 5)
3 x +1 + c. arctan 2 2
We may need to combine all these approaches; e.g., to nd x 5 + 25 dx . 2 x 4 + 4 x 3 + 10 x 2 First rewrite : x 5 + 25 = 2 x 4 + 4 x 3 + 10 x 2 We can factorise ( a bit ) : x4 + 2 x3 + 5 x2 =
MA 100, Mathematical Methods Calculus Lecture 16 page 34 / 42
General idea : Whenever you see a composite function f (g (x )) , try the substitution u = g (x ) .
MA 100, Mathematical Methods Calculus Lecture 16 page 36 / 42
Example :
x ex
+1
dx .
b
u = x 2 + 1;
a
f (g (x )) g (x ) dx = f (g (b )) f (g (a)) =
g (a) 1 1 2
f (u ) du .
du = 2 x , and so : dx
x dx =
du . Example :
x ex
+1
dx .
x =0
So we nd : x ex
2
+1
dx =
du =
1 x =0
x ex
+1
dx =
eu
1 2
du =
Integration by parts
Example : Try :
x (3 x + 5)7 dx . x =
1 3
u = 3 x + 5, hence :
d f (x ) g (x ) = f (x ) g (x ) + f (x ) g (x ) . dx So we have : f (x ) g (x ) = f (x ) g (x ) dx + f (x ) g (x ) dx .
then also We nd :
du = 3, and so : dx = dx
du .
x (3 x + 5)7 dx =
1 3
(u 5) u 7
1 3
du = Hence : f (x ) g (x ) dx = f (x ) g (x ) f (x ) g (x ) dx ;
f (x ) g (x ) is easier to integrate.
MA 100, Mathematical Methods Calculus Lecture 16 page 40 / 42
Integration by parts
Example :
x ln(x ) dx .
Try : and :
f (x ) = x , so : g (x ) = ln(x ) , so :
So we nd : x ln(x ) dx =
Integration by parts