06 (B) Integration 2 SC
06 (B) Integration 2 SC
Octavius Yap
[email protected]
Chapter 4b: Integration 2
Contents
1 Integration by parts 7
5 Tutorial questions 22
Further reading
(i) Simon and Blume (1994) Appendix A4.
(ii) Adams and Essex (2010) Sections 5.5–5.7, 6.1–6.2 and parts of 6.3.
(i) To introduce the idea of an integral and see how it can be found using various
techniques.
Integration algorithm
1 Integration by parts
The background of this technique has roots back to the product rule. Consider a
product of two functions u(x) and v(x) and differentiating with respect to x, we
have
d
(uv) = uv 0 + u0 v .
dx
Rearranging and integrating with respect to x,
d
uv 0 = (uv) − u0 v
Z dx Z
⇒ uv 0 dx = uv − u0 v dx · · · · · · (1)
u −→ u0
v0 −→ v
Example
Z 1
xe−2x dx
Solution:
in this integrand, we choose u = x.
u=x −→ u0 = 1
e−2x
v 0 = e−2x −→ v=−
2
Z Z
uv dx = uv − u0 v dx
0
Z −2x Z −2x
−2x e e
xe dx = x − − (1) − dx
2 2
Z
1 −2x 1
= − xe + e−2x dx
2 2
1 1
= − xe−2x + e−2x + C
2 4
Example
Z 2
x ln x dx
Solution:
in this integrand, we choose u = ln x.
1
u = ln x −→ u0 =
x
x2
v0 = x −→ v=
2
Z Z
uv dx = uv − u0 v dx
0
Z 2 Z 2
x 1 x
x ln x dx = ln x − − − dx
2 x 2
Z
1 −2x 1
= − xe + e−2x dx
2 2
1 1
= − xe−2x + e−2x + C
2 4
Example
Z 3
x2 cos x dx
Solution:
This example uses integration-by-parts twice to solve the integral in the first
step, we choose u = x2 .
u = x2 −→ u0 = 2x
v 0 = cos x −→ v = sin x
Z Z
0
uv dx = uv − u0 v dx
Z Z
2 2
x cos x dx = x (sin x) − 2x(sin x) dx
Z
2
= x sin x − 2 x sin x dx
Z
For x sin x dx, we need to use integration-by-parts one more time:
u=x −→ u0 = 1
v 0 = sin x −→ v = − cos x
therefore,
Z Z
2 2
x sin x − 2 x sin x dx = x sin x − 2 −x cos x − 1 · (− cos x) dx
Z
2
= x sin x + 2x cos x − 2 cos x dx
Example 4
Evaluate the following integrals
(a) x2 sin x
answer: −x2 cos x + 2x sin x + 2 cos x + C
ln (1 + x2 )
Z
(d) Determine the integral dx.
x3
(Hint: it might be useful to start by using a substitution followed by an inte-
gration by parts.)
" #
1 ln 1 + x2 2 2
answer: − + ln x − ln 1 + x +c
2 x2
shown in Figure 4
shown in Figure 5
shown in Figure 6
Example 5
The inverse demand function for a good is given by
231
p= ,
2q + 1
and the supply function is given by
p − 11
q= .
2
Calculate the equilibrium price and quantity and the consumer surplus and producer
surpluses.
Solution:
The inverse supply function is p = 2q + 11 To find the equilibrium,
231
= 2q + 11
2q + 1
(2q + 1)(2q + 11) = 231
4q 2 + 24q − 220 = 0
q 2 + 6q − 55 = 0
(q + 11)(q − 5) = 0
⇒ q ∗ = 5 (q > 0)
p∗ = 21
The equilibrium price and quantity are p∗ = 21 and q ∗ = 5.
To find the consumer’s surplus
Z q∗
CS = pD (q) dq − p∗ q ∗
Z0 5
231
= dq − (21)(5)
0 2q + 1
5
ln(2q + 1)
= 231 − 105
2 0
231
= ln 11 − 105
2
To find the producer’s surplus
Z q∗
∗ ∗
PS = p q − pS (q)
0
Z 5
q = (21)(5) − (2q + 1) dq
0
5
= 105 − q 2 + q 0
= 105 − 30
= 75
Points to remember:
(1) When q = 0, T C = F C.
(2) When q = 0, T R = 0.
Q
(3) When q = 0, Profit, = −F C because
Y
= TR − TC
⇒ T R = 0 when q = 0
⇒ TR = FC
Y
∴ = 0 − FC
= −F C
Example 6
In any one week, your company can sell x units of product x at a price of $(250−5x)
per item, whilst incurring a marginal cost of $(25x − x2 ) per item.
(a) Determine the value of x that maximizes the profit for the week.
Solution:
price, p = 250 − 5x
T R = xp
= (250 − 5x)x
= 250x − 5x2
M R = 250 − 10x
M C = 25x − x2 (given)
Y
Profit, = TR − TC
Q
d d d
= TR − TC
dx dx dx
= MR − MC
= (250 − 10x) − 25x − x2
= 250 − 35x + x2
d2
Q
= −35 + 2x
dx2
Q
d
= 0 ⇒ 250 − 35x + x2 = 0
dx
(x − 25)(x − 10) = 0
x = 10, 25
d2
Q
When x = 10, = −35 + 20
dx2
= −15
<0
(b) If fixed costs (i.e. the cost when x = 0) are $500, determine the optimal profit
Solution:
Z
TC = M C dx
Z
25x − x2 dx
=
25 2 x3
= x − +c
2 3
25 2 1 3
∴ TC = x − x + 500
2 3
T R = 250x − 5x2
Profit = T R − T C
2 25 2 1 3
= 250x − 5x − x − x + 500
2 3
1 35
= x3 − x2 + 250x − 500
3 2
Example 7
The marginal cost function, M C = 10+0.02x where x is the production level. Fixed
costs are 85. What production level gives a total cost of 610?
Solution:
M C = 10 + 0.02x
Z
TC = M C dx
Z
= (10 + 0.02x) dx
x2
= 10x + 0.02 +k
2
T C = 10x + 0.01x2 + k → (1)
when x = 0, T C = F C = 85
∴ (1) → 85 = 0 + 0 + k
k = 85
∴ T C = 10x + 0.01x2 + 85
√
−10 ± 100 + 21
x=
2(0.01)
= 50, − 1050
x = −ve is economically meaningless
∴ when T C = 610, x = 50
5 Tutorial questions
1. Evaluate the following integrals
Z
(a) (x + 3)e2x dx
Z
(b) (x2 − 2x)ekx dx
Z
(c) x3 ln x dx
Z
ln(ln x)
(d) dx
x
Z
2
(e) x5 e−x dx
Z
(f) x(ln x)3 dx
Z
(g) x2 tan−1 x dx
Z
(h) x sin−1 x dx
2. (The following question are taken from past year UOL exam papers from various sources and might require
more than one type of integration techniques learnt thus far)
(b) State the compound angle formula of cos(A + B) and use it to show that
cos 2A = 1 − 2 sin2 A .
Hence find Z
sin2 x dx .
4. State the double angle formula for cos 2θ and use it to show that
Hence evaluate
Z π
8
i. 64 sin4 θ dθ
0
Z π
8 1
ii. (cos 4θ − 4 cos 2θ + 3) 2 dθ
0
5. For some positive constants k, A and B, the demand and supply equations for
a particular good are given, respectively, as follows:
k
q= , q =p−B .
p+A
Given that the equilibrium quantity is A + B, find k in terms of A + B.
pS (q) = aq + b,
for some numbers a and b. Given that the producer surplus is 36, find
the values of a and b. Hence, deduce the supply function, q S (p), for this
market.
(c) An excise (or per-unit) tax of T is imposed on the market. Find the new
equilibrium price and quantity of the market.
Hence find the value of T that maximises the tax revenue.
7. A firm has fixed costs of 10 and its marginal cost and marginal revenue functions
are given, respectively, by
M C = 2q 2 − 6q + 6 and M R = 22 − 2q
where q is the level of production. Determine an expression for the firm’s profit
function, in terms of q. Determine the value of q which maximises the profit.
1
MC = 1 −
(Q + 1)2
20 √ 1
√ e Q + Q3 +
Q Q+1
The firm’s fixed costs are 20. Determine the total cost function.
p
6. (a) q D (p) = 13 −
2
p
(b) q S (p) = −1
2
T T
(c) p∗T = 14 + , qT∗ = 6 −
2 4
The tax revenue is maximised when T = 12.
7. q = 4
1
8. 13
6
√
Q 1
9. T C = 40e + Q4 + ln(Q + 1) − 20
4