Problem 15.6
Find the general solution of the DEs:(i)dy
dx=xcosx (ii)dy
dx=cos^2 yIn (ii) find the particular solution satisfyingy=p
4whenx=0.
Check your answers by substituting back into the equations.(i) Direct integration givesy=∫
xcosxdx+Cand the task is simply to do the integration. Integration by parts (273➤
)givesy=xsinx−∫
sinxdx+C=xsinx+cosx+Cwhich is the required solution, as you should check by substituting back into the DE.(ii)
dy
dx=cos^2 yIn this case, turn both sides upside downdx
dy=1
cos^2 y=sec^2 yIntegrating:
x=∫
sec^2 ydy+C=tany+CThis is the implicit form of the solution (91➤
). For the explicit form we solve fory:tany=x−CSo, as you can check in the DE, the general solution isy=tan−^1 (x−C)Ify=π
4whenx=0thenwehavey=π
4=tan−^1 (−C)from whichC=−1 and the required solution isy=tan−^1 (x+ 1 )