The slope of the tangent at (x,y) to a curve passing through 1,π4 is given by yx−cos2yx then the equation of the curve is
y=tan−1logex
y=xtan−1logxe
y=xtan−1logex
None of these
We have dydx=yx−cos2yx
Putting y=vx , so that dydx=v+xdvdx , we get
v+xdvdx=v−cos2v⇒dvcos2v=−dxx
⇒ sec2vdv=−1xdx
On integration, we get
tanv=−logx+logC⇒tanyx=−logx+logC
This passes through (1,π/4) , therefore 1=logC
So, tanyx=−logx+1⇒tanyx=−logx+loge
⇒ y=xtan−1logex