Solution
Given:
dxdy=ycot2x
Separating the variables:
ydy=cot2xdx
Integrating both sides:
∫ydy=∫cot2xdx
log∣y∣=21log∣sin2x∣+logC
Therefore,
log(∣sin2x∣∣y∣)=logC
Hence,
y=C∣sin2x∣
Now, using the given condition:
x=4π,y=2
we get
2=Csin2π
Since
sin2π=1,
we have
C=2.
Therefore,
y=2∣sin2x∣
For the interval containing x=4π, where sin2x>0,
y=2sin2x
Final Answer
y=2sin2x