HW07 Calculus
HW07 Calculus
Here comes a long HW for you to enjoy over the Easter Holiday
Graded Problems:
1. (30 points) In this question, we calculate the Gaussian integral.
The usual way is to apply multivariable calculus techniques (MATH2023) by
using a double integral with polar coordinates, which is outside the scope of
this course. So instead we present a single-variable proof.
(a) (i) Show that for any positive integer n:
Z 1 Z 1 Z 1
2 n −nx2 dx
(1 − x ) dx ≤ e dx ≤ .
0 0 0 (1 + x2 )n
Z π
2
(ii) Let In = cosn θdθ. Show by change of variables that
0
√
√
Z n √
2
nI2n+1 ≤ e−x dx ≤ nI2n−2 .
0
(b) Using (a) and the Wallis formula, prove Stirling’s formula, in the sense
that
n!
lim √ = 1.
n→∞ 2πnnn e−n
√
n
n!
Using Stirling’s formula, we can easily get lim = e−1 as in HW6.
n→∞ n
3. (30 points) In this question we study the Gamma function Γ(x) defined by
Z ∞
Γ(x) = tx−1 e−t dt, x > 0.
0
1 √ (2n)!
Γ(n + 1) = n! and Γ(n + ) = π n .
2 4 n!
Page 2
(b) Define the Beta function by
Z 1
B(a, b) = ta−1 (1 − t)b−1 dt, a, b > 0
0
(ii) Hence using the reduction formula from Worksheet #05, show that
n−1
n!nx 1 n Y (1 + k1 )x
In (x) = = .
x(x + 1) · · · (x + n) xx+n 1 + xk
k=1
and hence
∞
1 Y (1 + n1 )x
Γ(x) = lim In (x) = .
n→∞ x n=1 1 + nx
Page 3
(a) (i) Show that for non-negative integer n ≥ 0,
Z π2
1
cos2n x dx ≥ √
0 2n +1
using Q1(b) and MATH1023 HW1.
(ii) By MVT we have | cos at−1| ≤ |at|, for any a ∈ R. Using this together
with (a)(i), conclude that
Z π2
cos2n t cos at dt
0
lim Z π2 = 1.
n→∞
2n
cos t dt
0 Z π2
(b) (i) For any x ∈ R\Z and non-negative integer n ≥ 0, let In = cos2n t cos 2xt dt.
0
Prove the reduction formula
−1
x2
2n − 1
In = 1− 2 In−1 , n > 0.
2n n
for all x ∈ R.
(c) Recall the Euler–Mascheroni’s constant defined by
n
!
X 1
γ = lim − log n ≈ 0.577216...
n→∞ k
k=1
Hence also derive the reflection formula for the Gamma function
for any x ∈
/ Z:
π
Γ(x)Γ(1 − x) = .
sin πx
Page 4
Optional Problems.
Let R(x, y) be a rational function in x, y. We know that
Z p
R(x, ax2 + bx + c)dx, a, b, c ∈ R
This is the original elliptic integral, which calculates the arc length of an
x2 y2
q
2
ellipse 2 + 2 = 1 for 0 < a < b with eccentricity k = 1 − ab2 .
a b
Note that F (x; k) is strictly increasing on [0, 1]. The inverse function is known
as the Jacobian elliptic function sn(u, k).
Second kind:
ϕ x
√
1 − k 2 t2
Z p Z
2
E(ϕ, k) := 1− k2 sin θdθ =(t=sin θ) √ dt =: E(x; k)
0 0 1 − t2
Third kind:
Z ϕ
2 dθ
Π(ϕ, α , k) := p
0 (1 − sin θ) 1 − k 2 sin2 θ
α2 2
Z x
dt
= p =: Π(x; α2 , k)
0 (1 − α2 t2 ) (1 − t2 )(1 − k 2 t2 )
Page 5
√
Let y = a4 x4 + a3 x3 + a2 x2 + a1 x + a0 where ai ∈ R and assume y 2 = 0 has no
multiple roots (which reduces to the linear or quadratic case.)
(a) Show that we can always rationalize the integration such that
Z Z Z
R1 (x)
R(x, y)dx = R0 (x)dx + dx
y
for some rational function R0 (x) and R1 (x). In particular we know how to
integrate the first term, so we only need to focus on the second term.
(b) Fix some constant c ∈ R and assume
y 2 = a4 x4 + a3 x3 + a2 x2 + a1 x + a0
= b4 (x − c)4 + b3 (x − c)3 + b2 (x − c)2 + b1 (x − c) + b0 .
Let
xs
Z Z
dx
Is = dx, Js = .
y (x − c)s y
Show that for s = 0, 1, ..., we have the reduction formulas
a3 a1
xs y = (s + 2)a4 Is+3 + (2s + 3)Is+2 + a2 (s + 1)Is+1 + (2s + 1)Is + sa0 Is−1
2 2
y b3 b1
= (3 − s)b4 Js−4 + (5 − 2s)Js−3 + b2 (2 − s)Js−2 + (3 − 2s)Js−1 − (s − 1)b0 Js .
(x − c)s−1 2 2
(Hint: You don’t need to do any integration to prove these formulas!)
Therefore by taking full partial fraction of R1 (x) over C (so that all factors
are linear) we are reduced to study only the 4 “basic integrals”
Z Z Z 2 Z
dx xdx x dx dx
, , , .
y y y (x − c)y
Formally here we extend our integrals to include c ∈ C (so that bi ∈ C too),
and indefinite integration is linear over the complex field.
p
(c) There are 21 formulas that turns y into the normal form z = (1 − t2 )(1 − k 2 t2 )
where 0 < k < 1, depending on the range of integrations and the roots of
y 2 = 0. Here we just investigate two of them.
Consider
(i) y 2 = 0 is cubic with 3 real roots
y 2 = (x − α)(x − β)(x − γ), α<β<γ
q
x−γ
the substitution t = x−β for x > γ;
Page 6
(Note: the indicated range for x above requires the leading coefficient of y 2 > 0
so we can just factor it out and ignore it.)
Show that the substitution above turns the integration into normal form
Z Z
R1 (x) R2 (t)
dx = dt
y z
Page 7