If y=y(x) is the solution of the differential equation dydx=(tanx−y)sec2x,xϵ(−π2,π2), such that y(0)=0, then y(−π4) is equal to
A
2+1e
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
−12−e
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
e−2
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
12−e
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is Ce−2 dydx=(tanx−y)sec2x Now, put tanx=t⇒dtdx=sec2x So dydt+y=t On solving we get yet=et(e−1)+c ⇒y=(tanx−1)+ce−tanx ⇒y(0)=0⇒c=1 ⇒y=tanx−1+etanx So y(−π4)=e−2