We treat x and y as parametric functions of t, compute dxdy and dx2d2y using the chain rule, then substitute into the given expression and simplify using sinpt and cospt identities to show it equals zero.
This is a classic problem on parametric differentiation. The key idea: when both x and y are given in terms of a third variable (here t), we cannot differentiate y directly with respect to x. Instead, we use the chain rule in two stages.
Why this works:
Since x=sint, the derivative dtdx=cost. And y=sinpt, so dtdy=pcospt. Then by the chain rule:
dxdy=dx/dtdy/dt=costpcospt
This is the first derivative. For the second derivative, we differentiate dxdy with respect to t and then divide by dtdx again — because dx2d2y=dxd(dxdy)=dtd(dxdy)⋅dxdt.
Let's work through it step by step.
- Find dxdy
Given x=sint, y=sinpt.
dtdx=cost,dtdy=pcospt
Hence:
dxdy=costpcospt
- Find dx2d2y
First, differentiate dxdy with respect to t:
dtd(dxdy)=dtd(costpcospt)
Use the quotient rule:
Let u=pcospt, v=cost. Then u′=−p2sinpt, v′=−sint.
dtd(vu)=v2u′v−uv′=cos2t(−p2sinpt)(cost)−(pcospt)(−sint)
Simplify numerator:
=cos2t−p2sinptcost+pcosptsint
Now, dx2d2y=dtd(dxdy)⋅dxdt=dtd(dxdy)⋅cost1 (since dtdx=cost). So:
dx2d2y=cos3t−p2sinptcost+pcosptsint
- Substitute into the given expression
We need to verify:
(1−x2)dx2d2y−xdxdy+p2y=0
Recall x=sint, so 1−x2=1−sin2t=cos2t. Also y=sinpt.
Compute each term:
- First term:
(1−x2)dx2d2y=cos2t⋅cos3t−p2sinptcost+pcosptsint
Simplify: cos3tcos2t=cost1, so:
=cost−p2sinptcost+pcosptsint
Which is:
=−p2sinpt+pcospt⋅costsint