Sample Advanced Problems
Sample Advanced Problems
Problem 106
▶ Problem
⊛ Solution
1
Integration Practice Notebook Problems & Techniques
Z π/2
1 dx
I=
2 0 [sin(x) + cos(x)]4
Step 3: Simplify the Denominator We use the identity (sin x +
2 2 2
cos x) = sin x + cos x + 2 sin x cos x = 1 + sin(2x).
1 π/2 1 π/2
Z Z
dx dx
I= =
2 0 ([sin(x) + cos(x)]2)2 2 0 [1 + sin(2x)]2
Step 4: Substitution Let u = 2x, so du = 2dx. The limits become
x ∈ [0, π/2] → u ∈ [0, π].
1 π 1 π
Z Z
du/2 du
I= =
2 0 [1 + sin(u)]2 4 0 [1 + sin(u)]2
Step 5: Symmetry and Phase ShiftWe use the identity sin(u) =
cos(u − π/2). Let v = u − π/2, so du = dv. The limits be-
come u ∈ [0, π] → v ∈ [−π/2, π/2].
1 π/2
Z
dv
I=
4 −π/2 [1 + cos(v)]2
The integrand is an even function, so we can simplify the integral:
Z π/2
1 π/2
Z
1 dv dv
I = ·2 =
4 0 [1 + cos(v)]2 2 0 [1 + cos(v)]2
Step 6: Half-Angle Identity We use the identity 1 + cos(v) =
2
2 cos (v/2).
π/2
1 π/2
Z Z
1 dv dv
I= =
2 0 [2 cos2(v/2)]2 2 0 4 cos4(v/2)
1 π/2 4
Z
= sec (v/2)dv
8 0
4
Step 7: Final Integration We rewrite sec to prepare for a u-
substitution using w = tan(v/2).
1 π/2 2
Z
I= sec (v/2) · sec2(v/2)dv
8 0
2
Integration Practice Notebook Problems & Techniques
Z π/2
1
= [tan2(v/2) + 1] sec2(v/2)dv
8 0
✓ Final Answer
Z π/2
sin(x) 1
dx =
0 [sin(x) + cos(x)]5 3
⋆ Key Insight
Key Insights
3
Integration Practice Notebook Problems & Techniques
4
Integration Practice Notebook Problems & Techniques
• sin u = 2t
1+t2
1 2dt 1
1/(1 + t2)
Z Z
1 1+t2
I= = dt
2 2t 2 1+t2 +2t 2
0 1 + 1+t 2 0 2
1 Z1+t
1
(1 + t2)2 1 + t2
Z
1
= · dt = dt
0 1 + t2 (1 + t)4 0 (1 + t)4
5
Integration Practice Notebook Problems & Techniques
⟲ Practice Exercise
Practice Exercises
6
Integration Practice Notebook Problems & Techniques
Hint: Follow the exact same King Property and R cos θ steps.
You will end up integrating sec2 u. Answer: 1/4.
7
Integration Practice Notebook Problems & Techniques
Problem 107
▶ Problem
⊛ Solution
8
Integration Practice Notebook Problems & Techniques
9
Integration Practice Notebook Problems & Techniques
z 2
We integrate the complex function f (z) = z 4+2z 2 +5 around a large
z2 z1
10
Integration Practice Notebook Problems & Techniques
The integral along the real axis is 2πi times this sum (the arc
integral vanishes):
Z ∞ r√ ! r√
2
x 1 5−1 π 5−1
4 + 2x2 + 5
dx = 2πi = .
−∞ x 4i 2 2 2
11
Integration Practice Notebook Problems & Techniques
✓ Final Answer
s√
π/2
arctan 2 cos2(x) 5−1
Z
dx = π .
0 cos2(x) 2
⋆ Key Insight
12
Integration Practice Notebook Problems & Techniques
√ q√
5−1
Thus, π Re −1 + 2i = π 2 . Our answer is identical.
You can verify this result with a computer algebra system. In Wol-
framAlpha or Mathematica:
1. A
Z ∞ Simpler IBP-Contour Problem. Evaluate
arctan(x) dx. This integral diverges, but what about
0
13
Integration Practice Notebook Problems & Techniques
Z ∞
2
arctan 1/x dx? Hint: Use Integration by Parts, which
0 R ∞ 2x2
leads to 0 1+x4 dx. Evaluate this using contour integration.
Answer: √π2 .
2. The UHP Poles. In our solution, we found two poles in
the UHP. Show that the other two poles, from z 2 = −1 − 2i,
are in the lower half-plane.
√
1 1+ 5
3. The Golden Ratio. Show that ϕ = ϕ−1, where ϕ = 2 .
14
Integration Practice Notebook Problems & Techniques
Problem 108
▶ Problem
⊛ Solution
15
Integration Practice Notebook Problems & Techniques
P∞ −p
Let S(x, p) = n=1 [(n + x) − (n − x)−p].
Step 2: Express the Sum using the Hurwitz Zeta Function The Hurwitz
P∞ −s
Zeta function is defined as ζ(s, a) = n=0 (n + a) . We can
express our two sums in this form:
P∞ P∞ P∞
• n=1(n + x)−p = n=1((n − 1) + 1 + x)−p = k=0(k + 1 +
x)−p = ζ(p, 1 + x)
P∞ P∞ P∞
• n=1(n − x)−p = n=1((n − 1) + 1 − x)−p = k=0(k + 1 −
x)−p = ζ(p, 1 − x)
This is valid since 1 − x > 0. So, the simpler sum is S(x, p) =
ζ(p, 1 + x) − ζ(p, 1 − x).
Step 3: Evaluate the Limit We substitute this back into our expres-
sion for L(x, p):
∂
L(x, p) = − [ζ(p, 1 + x) − ζ(p, 1 − x)]
∂p
∂ζ ∂ζ
= (p, 1 − x) − (p, 1 + x)
∂p ∂p
We now take the limit as p → 0+. This requires a known identity
for the derivative of the Hurwitz Zeta function at s = 0.
∂ζ ∂ζ
lim+ L(x, p) = (p, 1 − x) − (p, 1 + x)
p→0 ∂p p=0
∂p p=0
16
Integration Practice Notebook Problems & Techniques
∂ζ
2. ∂p (p, 1 + x) = ln Γ(1 + x) − 21 ln(2π)
p=0
✓ Final Answer
∞
X ln(n + x) ln(n − x) Γ(1 − x)
lim − = ln
p→0+
n=1
(n + x)p (n − x)p Γ(1 + x)
17
Integration Practice Notebook Problems & Techniques
⋆ Key Insight
18
Integration Practice Notebook Problems & Techniques
⟲ Practice Exercise
Practice Exercises
19
Integration Practice Notebook Problems & Techniques
Problem 109
▶ Problem
⊛ Solution
20
Integration Practice Notebook Problems & Techniques
Let’s write out the first few terms of S to see the pattern.
∞
X 1 1
S=2 (−1)k +
(3k + 1)3 (3k + 2)3
k=0
= 2 [(k = 0) − (k = 1) + (k = 2) − . . . ]
1 1 1 1 1 1
=2 + − + + + − ...
13 23 43 53 73 83
1 1 1
Note that the terms , , ,...
33 63 93
are all missing.
21
Integration Practice Notebook Problems & Techniques
√
• k = 2 : sin(2π/3) = 3/2
• k = 3 : sin(3π/3) = sin(π) = 0
√
• k = 4 : sin(4π/3) = − 3/2
√
• k = 5 : sin(5π/3) = − 3/2
• k = 6 : sin(6π/3) = sin(2π) = 0
√ √ √ √
3 3 3 3
This pattern, [ 2 , 2 , 0, − 2 , − 2 , 0],
repeats indefinitely. Let’s
substitute this sequence back into the sum for Im[Li3(eiπ/3)]:
sin(π/3) sin(2π/3) sin(3π/3) sin(4π/3)
Im[Li3(eiπ/3)] = 3
+ 3
+ 3
+ 3
+ ...
√ 1 √ 2 √ 3 √ 4
3/2 3/2 0 3/2 3/2 0
= 3
+ 3
+ 3
− 3
− 3
− 3
+ ...
1
√ 2 3 4 5 6
3 1 1 1 1 1 1
= + − + + + − ...
2 13 23 43 53 73 83
A moment of insight is needed here. Look at the expression in the
large brackets. It is exactly our original sum S divided by 2!
√ √
3 S 3
Im[Li3(eiπ/3)] = = S.
2 2 4
This is the central identity of the problem. We can now solve for
S: √
4 4 3
S = √ Im[Li3(eiπ/3)] = Im[Li3(eiπ/3)].
3 3
This confirms the primary (and most confusing) step
Step 4: Using the Known Value
22
Integration Practice Notebook Problems & Techniques
✓ Final Answer
√
10 3 3
S= π .
243
⋆ Key Insight
23
Integration Practice Notebook Problems & Techniques
One might try to solve this with other methods, but they are all
very difficult.
• Integral Representation: As we’ve seen, S can be related
R ∞ x2(e−x +e−2x )
to 0 1+e−3x
dx. This integral is not easier than the sum.
• Lerch Transcendent: The sum can be written as S =
2
27 [Φ(−1, 3, 1/3) + Φ(−1, 3, 2/3)]. Proving the identity that
relates this to Li3(eiπ/3) is the same problem, just in a different
and more abstract notation.
This shows that the method of ”pattern matching” the sum to a
known special function, as we did, is the most direct path.
⟲ Practice Exercise
24
Integration Practice Notebook Problems & Techniques
25
Integration Practice Notebook Problems & Techniques
Problem 110
▶ Problem
⊛ Solution
We first ex-
Step 1: Convert Double Factorials to Binomial Coefficients
press the double factorials using standard factorials. The even
double factorial is:
(8n)!! = 2 · 4 · 6 · · · (8n) = 24n(1 · 2 · 3 · · · (4n)) = 24n(4n)!
26
Integration Practice Notebook Problems & Techniques
27
Integration Practice Notebook Problems & Techniques
2k −1/2
Derivation of k = (−4)k k
28
Integration Practice Notebook Problems & Techniques
evaluate:
∞ ∞
X −1/2 X −1/2
S= xn = (x1/4)4n
4n 4n
n=0 n=0
To isolate the terms m ≡ 0 (mod 4), we use the 4th roots of unity
{1, −1, i, −i}. The general formula for the m ≡ 0 (mod 4) terms
(let’s call the sum S0) is:
1
S0 = [f (y) + f (−y) + f (iy) + f (−iy)]
4
Our sum S is exactly this S0. Substituting f (y) = (1 + y)−1/2:
1
S = (1 + y)−1/2 + (1 − y)−1/2 + (1 + iy)−1/2 + (1 − iy)−1/2
4
We can simplify the complex part. Since 1 − iy is the complex
√ √
conjugate of 1 + iy, 1 − iy is the conjugate of 1 + iy, and
(1 − iy)−1/2 is the conjugate of (1 + iy)−1/2. Therefore, the sum
of these two terms is twice the real part:
−1/2 −1/2 −1/2
(1 + iy) + (1 − iy) = 2Re (1 + iy)
This simplifies the formula for S to:
1 1 1
S = (1 + y)−1/2 + (1 − y)−1/2 + Re (1 + iy)−1/2
4 4 2
29
Integration Practice Notebook Problems & Techniques
✓ Final Answer
The closed-form expression for the sum is:
∞
X (8n − 1)!!
2−n
n=0
(8n)!!
1 1 1 1
= √ + √ + Re √
4 1 + 2−1/4 4 1 − 2−1/4 2 1 + i2−1/4
Numerically, this value is approximately 1.2220.
⋆ Key Insight
Key Insight
30
Integration Practice Notebook Problems & Techniques
⟲ Practice Exercise
Practice Exercises
31
Integration Practice Notebook Problems & Techniques
Problem 111
▶ Problem
⊛ Solution
32
Integration Practice Notebook Problems & Techniques
Both cases can be combined into a single expression using the sign
function: Z |b|Λ
arctan x
I = sgn(a) lim dx
Λ→∞ |a|Λ x
33
Integration Practice Notebook Problems & Techniques
|b|Λ
1 1 1 1 1 1
= − = − + = −
x |a|Λ
|b|Λ |a|Λ Λ |a| |b|
As Λ → ∞, this remainder R clearly goes to 0.
✓ Final Answer
∞
arctan(bx) − arctan(ax)
Z
πsgn(a) b
dx = ln
0 x 2 a
⋆ Key Insight
34
Integration Practice Notebook Problems & Techniques
standard Frullani form (the ’a’ and ’b’ terms are swapped).
Let f (x) = arctan(x). We have f (0) = 0.
• Handling the Sign of Infinity: The function f (∞) de-
pends on the sign of the argument. Since x > 0 in the inte-
gral, f (∞) = limx→∞ arctan(kx) = π2 sgn(k). The condition
sgn(a) = sgn(b) = s is crucial. Let f (∞) = s · π/2.
• Applying the Theorem:
Z ∞
arctan(bx) − arctan(ax)
I= dx
0 x
Z ∞
arctan(ax) − arctan(bx)
=− dx
0 x
b π b
= − (f (0) − f (∞)) ln = − (0 − s · ) ln
a 2 a
π b πsgn(a) b
= s · ln = ln
2 a 2 a
This confirms the ”non-Frullani” derivation and shows how the
theorem elegantly handles both positive and negative cases.
35
Integration Practice Notebook Problems & Techniques
1 π πsgn(b)
= sgn(b) − 0 =
b 2 2b
Now we integrate this result with respect to b:
Z
πsgn(b) πsgn(b)
I(a, b) = db = ln |b| + C(a)
2b 2
By symmetry, the full function must be:
πsgn(b) πsgn(a)
I(a, b) = ln |b| − ln |a|
2 2
(This can be confirmed by differentiating with respect to a, which
gives − πsgn(a)
2a ). Given the constraint sgn(a) = sgn(b), we can set
sgn(a) = sgn(b) = s:
π πsgn(a) |b|
I(a, b) = s · (ln |b| − ln |a|) = ln
2 2 |a|
|b| b
Since |a| = a when they have the same sign, this matches the final
answer:
πsgn(a) b
I(a, b) = ln
2 a
⟲ Practice Exercise
Practice Exercises
36
Integration Practice Notebook Problems & Techniques
ing:
∞
e−ax − e−bx
Z
dx (a, b > 0)
0 x
Hint: Let f (x) = e−x. Find f (0) and f (∞). Answer:
ln(b/a).
37
Integration Practice Notebook Problems & Techniques
Problem 112
▶ Problem
⊛ Solution
38
Integration Practice Notebook Problems & Techniques
The Hurwitz Zeta function is defined (for Re(s) > 1) by the series:
∞
X 1 1 1 1
ζ(s, a) = = + + + ...
(n + a)s as (1 + a)s (2 + a)s
n=0
The series definition for ζ(s, a) only converges for Re(s) > 1,
but the function itself has a unique analytic continuation that is
39
Integration Practice Notebook Problems & Techniques
40
Integration Practice Notebook Problems & Techniques
✓ Final Answer
∞
X 1 1
lim − = 2x.
p→0+
n=1
(n − x)p (n + x)p
⋆ Key Insight
41
Integration Practice Notebook Problems & Techniques
42
Integration Practice Notebook Problems & Techniques
Problem 113
▶ Problem
⊛ Solution
• dx = 1
(ξ+1) ln 2 dξ
• Limits: x = 0 → ξ = 0; x = ∞ → ξ = ∞
Substituting these into the original integral:
Z ∞
(ln(ξ + 1) − ln 2)/ ln 2 1
I= √ · dξ
0 ξ · ln(ξ) (ξ + 1) ln 2
Z ∞
1 ln(1 + ξ) − ln 2
= 2 dξ
ln (2) 0 ξ 1/2(1 + ξ) ln ξ
43
Integration Practice Notebook Problems & Techniques
We transform the
Step 3: The Reciprocal Substitution and Cancellation
second integral, I2, using the substitution ξ = 1/u, which means
dξ = −1/u2du. The limits become u = 1 to u = 0.
• Numerator: ln(1 + 1/u)−ln 2 = ln u −ln 2 = ln(u + 1)−
u+1
ln u − ln 2
• Denominator: (1/u)1/2(1 + 1/u) ln(1/u) =
u−1/2( u+1
u )(− ln u) = −u
−3/2
(u + 1) ln u
The transformed integral I2 is:
Z 0
ln(u + 1) − ln u − ln 2 1
I2 = −3/2 (u + 1) ln u
− 2 du
−u u
Z1 1
ln(u + 1) − ln u − ln 2 1
= −3/2 (u + 1) ln u 2
du
u u
Z0 1
ln(u + 1) − ln u − ln 2
= 1/2 (u + 1) ln u
du
0 u
Now, we add the two parts (switching the variable of I2 back to ξ
for clarity):
Z 1 Z 1
ln(1 + ξ) − ln 2 ln(ξ + 1) − ln ξ − ln 2
I1 + I2 = 1/2 (1 + ξ) ln ξ
dξ + 1/2 (ξ + 1) ln ξ
dξ
ξ ξ
Z0 1 0
(ln(1 + ξ) − ln 2) + (ln(ξ + 1) − ln ξ − ln 2)
= 1/2 (1 + ξ) ln ξ
dξ
ξ
Z0 1
2 ln(1 + ξ) − 2 ln 2 − ln ξ
= 1/2 (1 + ξ) ln ξ
dξ
0 ξ
44
Integration Practice Notebook Problems & Techniques
Let’s
re-check the I2 transformation. ln(1 + 1/ξ) − ln 2 =
1+ξ
1+ξ
R 0 ln( 1+u )
ln 2ξ . Denominator: ξ 3/2 (− ln ξ). I2 = 1 − 1+u2uln u (− u12 )du =
R 1 ln(1+u)−ln 2−ln u 1 R 1 − ln(1+u)+ln 2+ln uu3/2
0 −(1+u) ln u u1/2
du I2 = 0 ξ 1/2 (1+ξ) ln ξ
dξ (switching u
to ξ) Now, adding I1:
Z 1
(ln(1 + ξ) − ln 2) + (− ln(1 + ξ) + ln 2 + ln ξ)
I1 + I2 = 1/2 (1 + ξ) ln ξ
dξ
ξ
Z0 1 Z 1
ln ξ 1
= 1/2 (1 + ξ) ln ξ
dξ = 1/2 (1 + ξ)
dξ
0 ξ 0 ξ
This is the correct cancellation. Sorry for the inconsistency, hu-
mans are prone to error :.)
✓ Final Answer
∞
x−1
Z
π
√ dx =
0 2x − 1 ln(2x − 1) 2 ln2(2)
45
Integration Practice Notebook Problems & Techniques
⋆ Key Insight
ln(u2 +1)−ln 2
• x−1= ln 2
• ln(2x − 1) = ln u2 = 2 ln u
• dx = 2u
(u2 +1) ln 2
du
46
Integration Practice Notebook Problems & Techniques
• Limits: x = 0 → u = 0; x = ∞ → u = ∞
Substituting these into the original integral:
Z ∞ 2
(ln u + 1 − ln 2)/ ln 2 2u
I= · 2 du
0 u · (2 ln u) (u + 1) ln 2
Z ∞ 2
1 ln u + 1 − ln 2
= 2 2 + 1) ln u
du
ln (2) 0 (u
R ∞ ln(u2+1)−ln 2
This new integral J = 0 (u2+1) ln u du can now be solved with
the same splitting and reciprocal substitution as the main solution.
R 1 ln(u2+1)−ln 2
• J1 = 0 (u2+1) ln u du
R ∞ ln(u2+1)−ln 2
• J2 = 1 (u2 +1) ln u
du
Let u = 1/v in J2:
0 2
ln 1/v + 1 − ln 2
Z
1
J2 = 2 + 1) ln(1/v)
− 2 dv
1 (1/v v
2
Z 1 ln v +1 − ln 2 1
v2
= v 2 +1 2
dv
0 ( 2 )(− ln v) v
Z 1 v2
ln v + 1 − 2 ln v − ln 2
= 2 + 1) ln v
dv
−(v
Z0 1 2
− ln v + 1 + 2 ln v + ln 2
= 2 + 1) ln v
dv
0 (v
Adding J1 and J2 (with v → u):
Z 1
(ln u2 + 1 − ln 2) + (− ln u2 + 1 + 2 ln u + ln 2)
J1 + J 2 = 2 + 1) ln u
du
(u
Z0 1 Z 1
2 ln u 1
= 2 + 1) ln u
du = 2 2
du = 2(π/4) = π/2
0 (u 0 1 + u
This confirms the result via a slightly different, but equally elegant,
path.
47
Integration Practice Notebook Problems & Techniques
⟲ Practice Exercise
Practice Exercises
48
Integration Practice Notebook Problems & Techniques
Problem 114
▶ Problem
⊛ Solution
49
Integration Practice Notebook Problems & Techniques
Z ∞ Z ∞
t/2dt 8tdt
= (t2 +4+4⌊t⌋)2
= .
0 0 (t2 + 4 + 4⌊t⌋)2
16
50
Integration Practice Notebook Problems & Techniques
This is a classic telescoping sum. Let’s write out the first few
terms:
1 1
n=0: −
1 5
1 1
n=1: −
2 6
51
Integration Practice Notebook Problems & Techniques
1 1
n=2: −
3 7
1 1
n=3: −
4 8
1 1
n=4: − ← (the 1/5 terms cancel)
5 9
1 1
n=5: − ← (the 1/6 terms cancel)
6 10
The negative terms only start cancelling the positive terms from
n = 4 onwards. The terms that are ”left over” (i.e., that never
get cancelled) are the first four positive terms:
1 1 1 12 + 6 + 4 + 3 25
S2 = 1 + + + = = .
2 3 4 12 12
Step 5: Final Calculation
✓ Final Answer
∞
2π 2 73
Z
dx
√ = − .
0 (x + 1 + ⌊2 x⌋)2 3 12
52
Integration Practice Notebook Problems & Techniques
⋆ Key Insight
53
Integration Practice Notebook Problems & Techniques
⟲ Practice Exercise
54
Integration Practice Notebook Problems & Techniques
Problem 115
▶ Problem
⊛ Solution
55
Integration Practice Notebook Problems & Techniques
56
Integration Practice Notebook Problems & Techniques
57
Integration Practice Notebook Problems & Techniques
sion for I:
i
I = [Ψ(1 + i/2) − (Ψ(−i/2) + 2i)]
2
i i
= [Ψ(1 + i/2) − Ψ(−i/2)] − (2i)
2 2
i i
= [Ψ(1 + i/2) − Ψ(−i/2)] − i2 = 1 + [Ψ(1 + i/2) − Ψ(−i/2)]
2 2
Step 5: The Digamma Reflection Formula The final piece is the
Digamma reflection formula.
58
Integration Practice Notebook Problems & Techniques
✓ Final Answer
1 2
ln 1 − x
Z
π π
cos(ln x)dx = 1 − coth
0 x 2 2
⋆ Key Insight
59
Integration Practice Notebook Problems & Techniques
i/2
• A ”Regularization” Step: The step Im 1−u u
R
du =
R ui/2−1
Im 1−u du is a subtleRbut critical form of regularization.
The divergent real part 1/(1 − u)du is discarded, leaving
the finite imaginary part, which is all we need.
• Identities as Solutions: The finale is a beautiful display of
the Digamma function’s properties. The answer is not found
by computing a value, but by showing that the application
of the recurrence and reflection formulas causes the complex-
valued Ψ functions to ”eat” each other, leaving behind a real-
valued expression involving π and coth.
60
Integration Practice Notebook Problems & Techniques
61
Integration Practice Notebook Problems & Techniques
⟲ Practice Exercise
Practice Exercises
62