Join the Most Relevant JEE Main 2025 Test Series & get 99+ percentile! Join Now
Search any question & find its solution
Question: Answered & Verified by Expert
If y=y(x) is the solution of the differential equation dydx=(tanx-y)sec2x , x-π2, π2 , such that y0=0, then y-π4 is equal to:
MathematicsDifferential EquationsJEE MainJEE Main 2019 (10 Apr Shift 1)
Options:
  • A 1e-2
  • B 2+1e
  • C e-2
  • D 12-e
Solution:
1288 Upvotes Verified Answer
The correct answer is: e-2

The given differential equation can be written as
dydx+ysec2x=tanx.sec2x
Integrating factor =esec2xdx=etanx
Hence, solution of given differential equation,
y.etanx=tanx.sec2x.etanxdx
y.etanx=tanx.etanx-sec2x.etanxdx   (using integration by parts)

y.etanx=tanx.etanx-etanx+c

Given, y0=0c=1

Solution of given differential is

y.etanx=tanx.etanx-etanx+1

Hence, y-π4=-1e-1-e-1+1e-1

 y-π4=e-2

Looking for more such questions to practice?

Download the MARKS App - The ultimate prep app for IIT JEE & NEET with chapter-wise PYQs, revision notes, formula sheets, custom tests & much more.