Our final problem comes close to the end of Lovelace’s correspondence course with De Morgan. By early November 1841, she had progressed to the subject of second-order differential equations. One of the examples with which she had trouble was on page 156 of De Morgan’s Calculus. Given the nonhomogeneous equation
d2udθ2+u=cosθ
De Morgan gave its general solution as
u=Csinθ+C′cosθ+sinθ∫cos2θdθ−12cosθ∫sin2θdθ, which, since
∫cos2θdθ=12θ+14sin2θ and ∫sin2θdθ=−12cos2θ resulted in
u=Csinθ+C′cosθ+12θsinθ+14sin2θsinθ+14cosθcos2θ. Using double angle formulae, he converted this into
u=Csinθ+C′cosθ+12θsinθ+14cosθ, which he then expressed in its final form as
u=Csinθ+C′cosθ+12sinθ, along with a challenge: ‘Explain this step?’ (See Figure 12).

Figure 12. Problem from page 156 of De Morgan’s Differential and Integral Calculus.
The trouble was, as Lovelace remarked in a letter to De Morgan, ‘I cannot “explain this step”.’ She noted that ‘in the previous line, we have: (1)…u=Csinθ+C′cosθ+12θsinθ+14cosθ (quite clear) (2)… And u=cosθ−d2udθ2 (by hypothesis)=14cosθ+(34cosθ−d2udθ2)
whence one may conclude that Csinθ+C′cosθ+12θsinθ=34cosθ−d2udθ2 But how u=Csinθ+C′cosθ+sinθ⋅12θ is to be deduced I do not discover.’ [LB 170, 4 Nov. [1841], ff. 132v-133r]
Not deterred, she tried again:
By subtracting 14cosθ from both sides of (1), we get u−14cosθ=Csinθ+C′cosθ+12θsinθ But unless 14cosθ=0, (which would only be the case I conceive if θ=π/2), I do not see how to derive the equation … [LB 170, 4 Nov. [1841], f. 133r].
De Morgan’s final solution is certainly correct. So can you explain why the 14cosθ mysteriously disappears?
Return to Main Problems Page.
Continue to Main Solutions Page.