Solution:
Key idea: When x and y are both given in terms of a parameter θ, we use dxdy=dx/dθdy/dθ. For the second derivative we differentiate dxdy with respect to θ and then multiply by dxdθ, because the chain rule gives dx2d2y=dθd(dxdy)⋅dxdθ.
Step 1 — Differentiate x with respect to θ.
The term θsinθ is a product, so we use the product rule: its derivative is 1⋅sinθ+θcosθ. The derivative of cosθ is −sinθ.
dθdx=−sinθ+sinθ+θcosθ
dθdx=θcosθ
Step 2 — Differentiate y with respect to θ.
The term θcosθ is also a product, with derivative cosθ−θsinθ. It is subtracted, so its derivative is subtracted too.
dθdy=cosθ−(cosθ−θsinθ)
dθdy=θsinθ
Step 3 — Find the first derivative.
We divide the two results. For 0<θ<2π both θ and cosθ are non-zero, so we may cancel θ.
dxdy=θcosθθsinθ
dxdy=tanθ
Step 4 — Find the second derivative.
We differentiate tanθ with respect to θ to get sec2θ. Then we multiply by dxdθ, the reciprocal of θcosθ from Step 1.
dx2d2y=sec2θ⋅θcosθ1
Since cosθ1=secθ, the powers of secθ add up to 3.
dx2d2y=θsec3θ
Watch out: Do not stop at dθd(tanθ)=sec2θ; that is the derivative with respect to θ, not x.
Therefore, dx2d2y=θsec3θ, as required.