Chapter VI · Derivatives and integrals

Chapter VI problems

Miscellaneous examples 120 min

Eleven of Hardy's Miscellaneous Examples on Chapter VI, from derivatives and mean values to reduction formulas, lengths and areas, with graded hints and full solutions.

How to use this page

Hardy’s Miscellaneous Examples at the end of Chapter VI are hard and very varied: many come from the Cambridge Mathematical Tripos. We have chosen eleven that cover the whole chapter: four on derivatives and mean values, two on limits at infinity, three on integration and two on lengths and areas. Each problem is restated in our words with its number. Try each for a while before opening the first hint; the hints go from a gentle nudge to most of the idea.

Levels: one dot is routine once you know the relevant lesson, two dots need an idea, three dots are hard.

Derivatives and mean values

Exercise Continuity and derivatives of a piecewise function ●○○ Hardy: Misc. Examples VI, 1

Let f(x)=1+xf(x) = 1 + x for x≤0x \le 0, f(x)=xf(x) = x for 0<x<10 < x < 1, f(x)=2−xf(x) = 2 - x for 1≤x≤21 \le x \le 2, and f(x)=3x−x2f(x) = 3x - x^2 for x>2x > 2. Discuss the continuity of ff, and the existence of f′f', at x=0x = 0, 11 and 22.

Hint
At each point compare ff there with the one-sided limits. Where ff is continuous, compare the one-sided difference quotients.
Hint
A function that is not continuous at a point has no derivative there (§112).

Solution

At x=0x = 0. f(0)=1f(0) = 1, but f(x)=x→0f(x) = x \to 0 as x→0+x \to 0+. So ff is discontinuous at 00 and has no derivative there.

At x=1x = 1. f(1)=1f(1) = 1, the limit from the left is lim⁡x=1\lim x = 1 and from the right lim⁡(2−x)=1\lim(2 - x) = 1, so ff is continuous. The left difference quotient is {x−1}/(x−1)=1\{x - 1\}/(x - 1) = 1 and the right one is {(2−x)−1}/(x−1)=−1\{(2 - x) - 1\}/(x - 1) = -1. They differ, so f′(1)f'(1) does not exist: the graph has a corner.

At x=2x = 2. f(2)=0f(2) = 0, but 3x−x2→6−4=23x - x^2 \to 6 - 4 = 2 as x→2+x \to 2+. So ff is discontinuous at 22 and has no derivative.

Elsewhere f′f' exists: it is 11 for x<1x < 1, x≠0x \ne 0; −1-1 for 1<x<21 < x < 2; and 3−2x3 - 2x for x>2x > 2.

Exercise All the derivatives of (arcsin⁡x)2(\arcsin x)^2 at 00 ●●○ Hardy: Misc. Examples VI, 21

Let y=(arcsin⁡x)2y = (\arcsin x)^2 for −1<x<1-1 < x < 1 and write yny_n for the nnth derivative. Show that (1−x2)y2−xy1=2(1 - x^2)y_2 - xy_1 = 2, and that for n≥2n \ge 2

(1−x2)yn+1−(2n−1)xyn−(n−1)2yn−1=0.(1 - x^2)y_{n+1} - (2n - 1)xy_n - (n - 1)^2y_{n-1} = 0 .

Hence find the values of all the derivatives of yy at x=0x = 0.

Hint
First y1=2arcsin⁡x/1−x2y_1 = 2\arcsin x/\sqrt{1-x^2}, so (1−x2)y12=4y(1 - x^2)y_1^2 = 4y. Differentiate this and divide by 2y12y_1.
Hint
Differentiate (1−x2)y2−xy1=2(1 - x^2)y_2 - xy_1 = 2 exactly n−1n - 1 times with Leibniz’s theorem (§121): only the first two or three terms of each product survive.
Hint
At x=0x = 0 the relation reads yn+1(0)=(n−1)2yn−1(0)y_{n+1}(0) = (n-1)^2y_{n-1}(0). Start from y(0)=y1(0)=0y(0) = y_1(0) = 0 and y2(0)=2y_2(0) = 2.

Solution

The first relation. y1=2arcsin⁡x1−x2y_1 = \dfrac{2\arcsin x}{\sqrt{1-x^2}}, so (1−x2)y12=4(arcsin⁡x)2=4y(1-x^2)y_1^2 = 4(\arcsin x)^2 = 4y. Differentiating, (1−x2) 2y1y2−2xy12=4y1(1 - x^2)\,2y_1y_2 - 2xy_1^2 = 4y_1. Divide by 2y12y_1 (which is not identically zero; the identity then holds everywhere by continuity): (1−x2)y2−xy1=2(1 - x^2)y_2 - xy_1 = 2.

The recurrence. Differentiate n−1n - 1 times (n≥2n \ge 2). By Leibniz’s theorem, since 1−x21 - x^2 has derivatives −2x-2x, −2-2, 00:

Dn−1{(1−x2)y2}=(1−x2)yn+1−2(n−1)xyn−(n−1)(n−2)yn−1,Dn−1{xy1}=xyn+(n−1)yn−1,D^{n-1}\{(1-x^2)y_2\} = (1 - x^2)y_{n+1} - 2(n-1)xy_n - (n-1)(n-2)y_{n-1},\qquad D^{n-1}\{xy_1\} = xy_n + (n-1)y_{n-1},

and Dn−12=0D^{n-1}2 = 0. Subtracting: (1−x2)yn+1−(2n−1)xyn−{(n−1)(n−2)+(n−1)}yn−1=0(1-x^2)y_{n+1} - (2n-1)xy_n - \{(n-1)(n-2) + (n-1)\}y_{n-1} = 0, and (n−1)(n−2)+(n−1)=(n−1)2(n-1)(n-2) + (n-1) = (n-1)^2.

Values at 00. y(0)=0y(0) = 0, y1(0)=0y_1(0) = 0, and from the first relation y2(0)=2y_2(0) = 2. The recurrence at x=0x = 0 gives yn+1(0)=(n−1)2yn−1(0)y_{n+1}(0) = (n-1)^2y_{n-1}(0). So every odd derivative vanishes, and y4(0)=22⋅2=8y_4(0) = 2^2\cdot 2 = 8, y6(0)=42⋅8=128y_6(0) = 4^2\cdot 8 = 128, y8(0)=62⋅128=4608y_8(0) = 6^2\cdot 128 = 4608; in general

y2m(0)=2⋅22⋅42⋯(2m−2)2=22m−1{(m−1)!}2.y_{2m}(0) = 2\cdot 2^2\cdot 4^2\cdots(2m-2)^2 = 2^{2m-1}\{(m-1)!\}^2 .
Exercise Where the turning points of a cubic lie ●●○ Hardy: Misc. Examples VI, 25

A cubic ff has roots α<β<γ\alpha < \beta < \gamma. Divide (α,β)(\alpha, \beta) and (β,γ)(\beta, \gamma) each into six equal parts. Show that a root of f′(x)=0f'(x) = 0 lies in the fourth part counted from β\beta on each side. When can a root of f′f' fall exactly on a point of division?

Hint
Move the origin to β\beta and drop the constant factor: f(x)=x(x+a)(x−c)f(x) = x(x + a)(x - c) with a=β−α>0a = \beta - \alpha > 0 and c=γ−β>0c = \gamma - \beta > 0.
Hint
The fourth part from β\beta on the left is −23a<x<−12a-\tfrac23a < x < -\tfrac12a. Evaluate f′f' at both ends.

Solution

With f(x)=x(x+a)(x−c)=x3+(a−c)x2−acxf(x) = x(x+a)(x-c) = x^3 + (a - c)x^2 - acx we get f′(x)=3x2+2(a−c)x−acf'(x) = 3x^2 + 2(a - c)x - ac. Then

f′(−12a)=34a2−(a−c)a−ac=−14a2<0,f′(−23a)=43a2−43(a−c)a−ac=13ac>0.f'\left(-\tfrac12a\right) = \tfrac34a^2 - (a - c)a - ac = -\tfrac14a^2 < 0, \qquad f'\left(-\tfrac23a\right) = \tfrac43a^2 - \tfrac43(a - c)a - ac = \tfrac13ac > 0 .

By the intermediate value theorem f′f' has a root strictly between −23a-\tfrac23a and −12a-\tfrac12a, which is the fourth sixth of (α,β)(\alpha, \beta) counted from β\beta. The other side is the same computation with the roles of aa and cc exchanged (replace xx by −x-x).

Neither value vanishes when a,c>0a, c > 0, so the root never lies on a point of division. It does so only in the limiting case where two roots coincide: if c=0c = 0, then f′(−23a)=0f'(-\tfrac23a) = 0. So a root of f′f' falls on a point of division exactly when the cubic has a double root (and then it falls on the point two sixths of the way from the simple root).

Exercise A variant of Cauchy’s mean value theorem ●●○ Hardy: Misc. Examples VI, 44

Let ϕ\phi and ψ\psi be continuous on [a,b][a, b] and differentiable on (a,b)(a, b). Show that there is a ξ\xi in (a,b)(a, b) with

ϕ′(ξ){ψ(b)−ψ(ξ)}={ϕ(ξ)−ϕ(a)}ψ′(ξ),\phi'(\xi)\{\psi(b) - \psi(\xi)\} = \{\phi(\xi) - \phi(a)\}\psi'(\xi),

so that ϕ(ξ)−ϕ(a)ψ(b)−ψ(ξ)=ϕ′(ξ)ψ′(ξ)\dfrac{\phi(\xi) - \phi(a)}{\psi(b) - \psi(\xi)} = \dfrac{\phi'(\xi)}{\psi'(\xi)} whenever the denominators are not zero.

Hint
Hardy’s hint: apply Rolle’s theorem to F(x)={ϕ(x)−ϕ(a)}{ψ(b)−ψ(x)}F(x) = \{\phi(x) - \phi(a)\}\{\psi(b) - \psi(x)\}.

Solution

FF is continuous on [a,b][a, b], differentiable inside, and F(a)=0=F(b)F(a) = 0 = F(b). By Rolle’s theorem (§122) there is ξ∈(a,b)\xi \in (a, b) with F′(ξ)=0F'(\xi) = 0. By the product rule,

F′(x)=ϕ′(x){ψ(b)−ψ(x)}−{ϕ(x)−ϕ(a)}ψ′(x),F'(x) = \phi'(x)\{\psi(b) - \psi(x)\} - \{\phi(x) - \phi(a)\}\psi'(x),

and F′(ξ)=0F'(\xi) = 0 is the stated equation. Dividing by {ψ(b)−ψ(ξ)}ψ′(ξ)\{\psi(b) - \psi(\xi)\}\psi'(\xi) when it is not zero gives the quotient form. Unlike Cauchy’s theorem, the “increments” here are taken from opposite ends: ϕ\phi from aa up to ξ\xi, ψ\psi from ξ\xi up to bb.

Behaviour at infinity

Exercise What ϕ′\phi' says about ϕ\phi for large xx ●●○ Hardy: Misc. Examples VI, 48 and 49

(i) If ϕ′(x)→a≠0\phi'(x) \to a \ne 0 as x→∞x \to \infty, show that ϕ(x)∼ax\phi(x) \sim ax; if ϕ′(x)→0\phi'(x) \to 0, that ϕ(x)=o(x)\phi(x) = o(x); and if ϕ′(x)→∞\phi'(x) \to \infty, that ϕ(x)→∞\phi(x) \to \infty. (ii) Deduce that if ϕ(x)→l\phi(x) \to l (finite), then ϕ′(x)\phi'(x) cannot tend to any limit other than 00.

Hint
Mean value theorem on [X,x][X, x]: ϕ(x)=ϕ(X)+(x−X)ϕ′(ξ)\phi(x) = \phi(X) + (x - X)\phi'(\xi) with X<ξ<xX < \xi < x.
Hint
Given ε\varepsilon, choose XX so that ∣ϕ′(t)−a∣<ε|\phi'(t) - a| < \varepsilon for t>Xt > X, then divide by xx and let x→∞x \to \infty with XX fixed.

Solution

(i) Let ε>0\varepsilon > 0 and choose XX with ∣ϕ′(t)−a∣<ε|\phi'(t) - a| < \varepsilon for all t>Xt > X. For x>Xx > X the mean value theorem gives ϕ(x)=ϕ(X)+(x−X)ϕ′(ξ)\phi(x) = \phi(X) + (x - X)\phi'(\xi) with ξ>X\xi > X, so

∣ϕ(x)x−a∣≤∣ϕ(X)∣+∣a∣Xx+x−Xx ε.\left|\frac{\phi(x)}{x} - a\right| \le \frac{|\phi(X)| + |a|X}{x} + \frac{x - X}{x}\,\varepsilon .

With XX fixed, the first term tends to 00, so ∣ϕ(x)/x−a∣<2ε|\phi(x)/x - a| < 2\varepsilon for all large xx. Hence ϕ(x)/x→a\phi(x)/x \to a: if a≠0a \ne 0 this says ϕ(x)∼ax\phi(x) \sim ax, and if a=0a = 0 it says ϕ(x)=o(x)\phi(x) = o(x).

If ϕ′(x)→∞\phi'(x) \to \infty, choose XX with ϕ′(t)>1\phi'(t) > 1 for t>Xt > X; then ϕ(x)≥ϕ(X)+(x−X)→∞\phi(x) \ge \phi(X) + (x - X) \to \infty.

(ii) If ϕ′(x)→b≠0\phi'(x) \to b \ne 0, part (i) gives ϕ(x)/x→b\phi(x)/x \to b, so ∣ϕ(x)∣→∞|\phi(x)| \to \infty, contradicting ϕ(x)→l\phi(x) \to l. (Likewise ϕ′→±∞\phi' \to \pm\infty forces ϕ→±∞\phi \to \pm\infty.) So the only possible limit of ϕ′\phi' is 00. It need not have one at all: ϕ(x)=(sin⁡x2)/x\phi(x) = (\sin x^2)/x tends to 00 while ϕ′(x)=2cos⁡x2−(sin⁡x2)/x2\phi'(x) = 2\cos x^2 - (\sin x^2)/x^2 oscillates.

Exercise ϕ+ϕ′→a\phi + \phi' \to a forces ϕ→a\phi \to a ●●● Hardy: Misc. Examples VI, 50

Suppose ϕ\phi is differentiable and ϕ(x)+ϕ′(x)→a\phi(x) + \phi'(x) \to a as x→∞x \to \infty. Prove that ϕ(x)→a\phi(x) \to a and ϕ′(x)→0\phi'(x) \to 0.

Hint
Put ψ=ϕ−a\psi = \phi - a, so ψ+ψ′→0\psi + \psi' \to 0. It is enough to show ψ→0\psi \to 0; then ψ′=(ψ+ψ′)−ψ→0\psi' = (\psi + \psi') - \psi \to 0.
Hint
Case 1: ψ′\psi' has no zeros from some point on, so (Darboux) it is eventually of one sign, say positive. Then ψ\psi is eventually increasing, so it tends to a limit or to +∞+\infty. Rule out +∞+\infty, then use the previous problem.
Hint
Case 2: ψ′\psi' vanishes at arbitrarily large xx. At such a point ψ=(ψ+ψ′)\psi = (\psi + \psi') is small. Show that ψ\psi cannot be large anywhere further on by looking at the largest value of ψ\psi on an interval.

Solution

Let ψ=ϕ−a\psi = \phi - a; then ψ(x)+ψ′(x)→0\psi(x) + \psi'(x) \to 0. Given ε>0\varepsilon > 0, choose XX with ∣ψ(x)+ψ′(x)∣<ε|\psi(x) + \psi'(x)| < \varepsilon for x>Xx > X.

Case 1: ψ′\psi' has no zeros beyond some point X0X_0. By Darboux’s theorem (§129) a derivative without zeros on an interval has constant sign there; say ψ′(x)>0\psi'(x) > 0 for all x>X0x > X_0. Then ψ\psi increases on (X0,∞)(X_0, \infty) (§126), so ψ\psi tends to a finite limit ll or to +∞+\infty. If ψ→+∞\psi \to +\infty then ψ′=(ψ+ψ′)−ψ→−∞\psi' = (\psi + \psi') - \psi \to -\infty, contradicting ψ′>0\psi' > 0. So ψ→l\psi \to l, hence ψ′→−l\psi' \to -l, and by Misc. Ex. 49 (previous problem) −l=0-l = 0. So ψ→0\psi \to 0. The case ψ′<0\psi' < 0 is symmetric.

Case 2: ψ′\psi' has zeros beyond every point. Pick a zero X′>XX' > X. We show ∣ψ(x)∣<ε|\psi(x)| < \varepsilon for all x>X′x > X'. Suppose ψ(x1)≥ε\psi(x_1) \ge \varepsilon for some x1>X′x_1 > X'. Then ψ′(x1)<ε−ψ(x1)≤0\psi'(x_1) < \varepsilon - \psi(x_1) \le 0. Let cc be a point of [X′,x1][X', x_1] where ψ\psi attains its maximum there (§103), so ψ(c)≥ψ(x1)≥ε\psi(c) \ge \psi(x_1) \ge \varepsilon.

  • c=x1c = x_1 is impossible: a maximum at the right end forces ψ′(x1)≥0\psi'(x_1) \ge 0.
  • cc inside (X′,x1)(X', x_1) is impossible: then ψ′(c)=0\psi'(c) = 0, so ∣ψ(c)∣=∣ψ(c)+ψ′(c)∣<ε|\psi(c)| = |\psi(c) + \psi'(c)| < \varepsilon.
  • c=X′c = X' is impossible for the same reason, since ψ′(X′)=0\psi'(X') = 0.

So ψ(x)<ε\psi(x) < \varepsilon for x>X′x > X'; the same argument with the minimum gives ψ(x)>−ε\psi(x) > -\varepsilon. Hence ψ→0\psi \to 0.

In both cases ϕ→a\phi \to a, and ϕ′=(ϕ+ϕ′)−ϕ→a−a=0\phi' = (\phi + \phi') - \phi \to a - a = 0. (With the exponential function of Chapter IX there is a one-line proof: ϕ=e−x⋅exϕ\phi = e^{-x}\cdot e^x\phi and Cauchy’s mean value theorem. The argument above uses only Chapter VI.)

Integration

Exercise Three integrals ●●○ Hardy: Misc. Examples VI, 52

Calculate (a) ∫x+sin⁡x1+cos⁡x dx\displaystyle\int\frac{x + \sin x}{1 + \cos x}\,dx, (b) ∫xarcsin⁡x dx\displaystyle\int x\arcsin x\,dx, (c) ∫arc sec⁡x dx\displaystyle\int\operatorname{arc\,sec}x\,dx for x>1x > 1 (principal value, between 00 and 12π\tfrac12\pi).

Hint
(a) 1+cos⁡x=2cos⁡212x1 + \cos x = 2\cos^2\tfrac12x and sin⁡x=2sin⁡12xcos⁡12x\sin x = 2\sin\tfrac12x\cos\tfrac12x. One part integrates by parts, the other cancels it.
Hint
(b) Parts with F=arcsin⁡xF = \arcsin x. You will need ∫x21−x2 dx\int\dfrac{x^2}{\sqrt{1-x^2}}\,dx: write x2=1−(1−x2)x^2 = 1 - (1 - x^2).
Hint
(c) Parts, or the inverse-function rule of §147 with sec⁡\sec. For x>1x > 1, ddxarc sec⁡x=1xx2−1\dfrac{d}{dx}\operatorname{arc\,sec}x = \dfrac{1}{x\sqrt{x^2-1}}.

Solution

(a) x+sin⁡x1+cos⁡x=x2sec⁡212x+tan⁡12x\dfrac{x + \sin x}{1 + \cos x} = \dfrac{x}{2}\sec^2\tfrac12x + \tan\tfrac12x. Since ddx(xtan⁡12x)=tan⁡12x+x2sec⁡212x\dfrac{d}{dx}\left(x\tan\tfrac12x\right) = \tan\tfrac12x + \dfrac x2\sec^2\tfrac12x, the integral is simply xtan⁡12xx\tan\tfrac12x.

(b) ∫xarcsin⁡x dx=12x2arcsin⁡x−12∫x2 dx1−x2\displaystyle\int x\arcsin x\,dx = \tfrac12x^2\arcsin x - \tfrac12\int\frac{x^2\,dx}{\sqrt{1-x^2}}. Now ∫x21−x2 dx=∫dx1−x2−∫1−x2 dx=arcsin⁡x−12x1−x2−12arcsin⁡x\displaystyle\int\frac{x^2}{\sqrt{1-x^2}}\,dx = \int\frac{dx}{\sqrt{1-x^2}} - \int\sqrt{1-x^2}\,dx = \arcsin x - \tfrac12x\sqrt{1-x^2} - \tfrac12\arcsin x. So

∫xarcsin⁡x dx=(12x2−14)arcsin⁡x+14x1−x2.\int x\arcsin x\,dx = \left(\tfrac12x^2 - \tfrac14\right)\arcsin x + \tfrac14x\sqrt{1-x^2} .

(c) ∫arc sec⁡x dx=xarc sec⁡x−∫x dxxx2−1=xarc sec⁡x−log⁡{x+x2−1}\displaystyle\int\operatorname{arc\,sec}x\,dx = x\operatorname{arc\,sec}x - \int\frac{x\,dx}{x\sqrt{x^2-1}} = x\operatorname{arc\,sec}x - \log\left\{x + \sqrt{x^2-1}\right\}.

Each answer has been checked by differentiation.

Exercise A reduction formula for ∫cos⁡nx dx\int\cos^nx\,dx ●●○ Hardy: Misc. Examples VI, 55 (vi)

Let In=∫cos⁡nx dxI_n = \int\cos^nx\,dx. Show that nIn=sin⁡xcos⁡n−1x+(n−1)In−2nI_n = \sin x\cos^{n-1}x + (n-1)I_{n-2} for n≥2n \ge 2, and use it to find ∫cos⁡4x dx\int\cos^4x\,dx.

Hint
Write cos⁡nx=cos⁡n−1x⋅cos⁡x\cos^nx = \cos^{n-1}x\cdot\cos x and integrate by parts, integrating the factor cos⁡x\cos x.
Hint
You will meet ∫cos⁡n−2xsin⁡2x dx\int\cos^{n-2}x\sin^2x\,dx. Replace sin⁡2x\sin^2x by 1−cos⁡2x1 - \cos^2x: the unknown InI_n reappears, and you solve for it.

Solution

By parts, with f′=cos⁡xf' = \cos x and F=cos⁡n−1xF = \cos^{n-1}x:

In=sin⁡xcos⁡n−1x+(n−1)∫cos⁡n−2xsin⁡2x dx=sin⁡xcos⁡n−1x+(n−1)(In−2−In).I_n = \sin x\cos^{n-1}x + (n-1)\int\cos^{n-2}x\sin^2x\,dx = \sin x\cos^{n-1}x + (n-1)(I_{n-2} - I_n) .

Hence nIn=sin⁡xcos⁡n−1x+(n−1)In−2nI_n = \sin x\cos^{n-1}x + (n-1)I_{n-2}. Starting from I0=xI_0 = x:

I2=12(sin⁡xcos⁡x+x),I4=14sin⁡xcos⁡3x+34I2=14sin⁡xcos⁡3x+38(sin⁡xcos⁡x+x).I_2 = \tfrac12(\sin x\cos x + x), \qquad I_4 = \tfrac14\sin x\cos^3x + \tfrac34I_2 = \tfrac14\sin x\cos^3x + \tfrac38(\sin x\cos x + x) .

(As always, the reduction formula is an equation between families of integrals; with particular integrals chosen as above it holds exactly.)

Exercise ∫xm(log⁡x)n dx\int x^m(\log x)^n\,dx in closed form ●●○ Hardy: Misc. Examples VI, 56

Let nn be a positive integer and m≠−1m \ne -1. Show that

∫xm(log⁡x)n dx=xm+1{(log⁡x)nm+1−n(log⁡x)n−1(m+1)2+n(n−1)(log⁡x)n−2(m+1)3−⋯+(−1)nn!(m+1)n+1}.\int x^m(\log x)^n\,dx = x^{m+1}\left\{\frac{(\log x)^n}{m+1} - \frac{n(\log x)^{n-1}}{(m+1)^2} + \frac{n(n-1)(\log x)^{n-2}}{(m+1)^3} - \dots + \frac{(-1)^n n!}{(m+1)^{n+1}}\right\}.
Hint
Use the reduction formula (m+1)Im,n=xm+1(log⁡x)n−nIm,n−1(m+1)I_{m,n} = x^{m+1}(\log x)^n - nI_{m,n-1} of §147 (Misc. Ex. 55 (xiii)), and induction on nn.
Solution

For n=0n = 0 the formula says ∫xm dx=xm+1/(m+1)\int x^m\,dx = x^{m+1}/(m+1), which is true. Suppose it holds for n−1n - 1:

Im,n−1=xm+1∑k=0n−1(−1)k(n−1)! (log⁡x)n−1−k(n−1−k)! (m+1)k+1.I_{m,n-1} = x^{m+1}\sum_{k=0}^{n-1}\frac{(-1)^k(n-1)!\,(\log x)^{n-1-k}}{(n-1-k)!\,(m+1)^{k+1}} .

Then Im,n=xm+1(log⁡x)nm+1−nm+1Im,n−1I_{m,n} = \dfrac{x^{m+1}(\log x)^n}{m+1} - \dfrac{n}{m+1}I_{m,n-1}, and nm+1⋅(n−1)!(m+1)k+1=n!(m+1)k+2\dfrac{n}{m+1}\cdot\dfrac{(n-1)!}{(m+1)^{k+1}} = \dfrac{n!}{(m+1)^{k+2}}. So

Im,n=xm+1{(log⁡x)nm+1+∑k=0n−1(−1)k+1n! (log⁡x)n−1−k(n−1−k)! (m+1)k+2}=xm+1∑j=0n(−1)jn! (log⁡x)n−j(n−j)! (m+1)j+1,I_{m,n} = x^{m+1}\left\{\frac{(\log x)^n}{m+1} + \sum_{k=0}^{n-1}\frac{(-1)^{k+1}n!\,(\log x)^{n-1-k}}{(n-1-k)!\,(m+1)^{k+2}}\right\} = x^{m+1}\sum_{j=0}^{n}\frac{(-1)^j n!\,(\log x)^{n-j}}{(n-j)!\,(m+1)^{j+1}},

which is the stated formula (put j=k+1j = k + 1). The reduction formula itself comes from parts: ∫xm(log⁡x)n=xm+1m+1(log⁡x)n−∫xm+1m+1⋅n(log⁡x)n−1x dx\int x^m(\log x)^n = \dfrac{x^{m+1}}{m+1}(\log x)^n - \int\dfrac{x^{m+1}}{m+1}\cdot\dfrac{n(\log x)^{n-1}}{x}\,dx.

Lengths and areas

Exercise A quadrant of the curve (x/a)2/3+(y/b)2/3=1(x/a)^{2/3} + (y/b)^{2/3} = 1 ●●○ Hardy: Misc. Examples VI, 59

Show that the length of a quadrant of (x/a)2/3+(y/b)2/3=1(x/a)^{2/3} + (y/b)^{2/3} = 1 (a,b>0a, b > 0, a≠ba \ne b) is a2+ab+b2a+b\dfrac{a^2 + ab + b^2}{a + b}.

Hint
Parametrise: x=acos⁡3tx = a\cos^3t, y=bsin⁡3ty = b\sin^3t, 0≤t≤12π0 \le t \le \tfrac12\pi.
Hint
x˙2+y˙2=9sin⁡2tcos⁡2t (a2cos⁡2t+b2sin⁡2t)\dot x^2 + \dot y^2 = 9\sin^2t\cos^2t\,(a^2\cos^2t + b^2\sin^2t). Substitute w=a2cos⁡2t+b2sin⁡2tw = a^2\cos^2t + b^2\sin^2t.

Solution

With x=acos⁡3tx = a\cos^3t, y=bsin⁡3ty = b\sin^3t: x˙=−3acos⁡2tsin⁡t\dot x = -3a\cos^2t\sin t, y˙=3bsin⁡2tcos⁡t\dot y = 3b\sin^2t\cos t, so for 0≤t≤12π0 \le t \le \tfrac12\pi

dSdt=3sin⁡tcos⁡ta2cos⁡2t+b2sin⁡2t.\frac{dS}{dt} = 3\sin t\cos t\sqrt{a^2\cos^2t + b^2\sin^2t} .

Put w=a2cos⁡2t+b2sin⁡2tw = a^2\cos^2t + b^2\sin^2t; then dwdt=2(b2−a2)sin⁡tcos⁡t\dfrac{dw}{dt} = 2(b^2 - a^2)\sin t\cos t, so an integral is 32(b2−a2)⋅23w3/2=w3/2b2−a2\dfrac{3}{2(b^2-a^2)}\cdot\dfrac23w^{3/2} = \dfrac{w^{3/2}}{b^2 - a^2}. As tt goes from 00 to 12π\tfrac12\pi, ww goes from a2a^2 to b2b^2, and the length is

b3−a3b2−a2=a2+ab+b2a+b.\frac{b^3 - a^3}{b^2 - a^2} = \frac{a^2 + ab + b^2}{a + b} .

(For a=ba = b the curve is an astroid, and the limit 32a\tfrac32a is its quadrant length.)

Exercise The pedal of a circle ●●○ Hardy: Misc. Examples VI, 60

A point AA lies inside a circle of radius aa, at distance bb from the centre. Show that the locus of the foot of the perpendicular from AA to a tangent of the circle encloses the area π(a2+12b2)\pi\left(a^2 + \tfrac12b^2\right).

Hint
Put the centre at OO and A=(b,0)A = (b, 0). The tangent whose outward normal makes angle θ\theta with the axis is xcos⁡θ+ysin⁡θ=ax\cos\theta + y\sin\theta = a.
Hint
The foot of the perpendicular from AA lies on the ray from AA in direction θ\theta, at distance a−bcos⁡θa - b\cos\theta. So the locus, in polar coordinates centred at AA, is the limaçon r=a−bcos⁡θr = a - b\cos\theta.

Solution

The distance from A=(b,0)A = (b, 0) to the line xcos⁡θ+ysin⁡θ=ax\cos\theta + y\sin\theta = a is a−bcos⁡θ>0a - b\cos\theta > 0 (as b<ab < a), and the foot is reached from AA by moving that distance along the normal direction (cos⁡θ,sin⁡θ)(\cos\theta, \sin\theta). So, with polar coordinates centred at AA, the locus is r=a−bcos⁡θr = a - b\cos\theta, 0≤θ<2π0 \le \theta < 2\pi: a limaçon without an inner loop, described once.

By the polar area formula of §148 (Ex. LIV. 18), its area is

12∫02π(a−bcos⁡θ)2 dθ=12(2πa2+πb2)=π(a2+12b2),\frac12\int_0^{2\pi}(a - b\cos\theta)^2\,d\theta = \frac12\left(2\pi a^2 + \pi b^2\right) = \pi\left(a^2 + \tfrac12b^2\right),

since cos⁡θ\cos\theta integrates to 00 over a full turn and cos⁡2θ\cos^2\theta to π\pi. When AA is the centre (b=0b = 0) the locus is the circle itself.

Hardy’s language