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
The solution of the differential equation $\frac{d y}{d x}-y \tan x=e^x \sec x$ is
MathematicsDifferential EquationsTS EAMCETTS EAMCET 2008
Options:
  • A $y=e^x \cos x+c$
  • B $y \cos x=e^x+c$
  • C $y=e^x \sin x+c$
  • D $y \sin x=e^x+c$
Solution:
1674 Upvotes Verified Answer
The correct answer is: $y \cos x=e^x+c$
Given linear differential equation is
$$
\begin{aligned}
\frac{d y}{d x}-y \tan x & =e^x \sec x \\
\therefore \quad \quad \quad \mathrm{IF}=e^{\int-\tan x d x} & =e^{-\log \sec x} \\
& =\frac{1}{\sec x}
\end{aligned}
$$
$\therefore$ Complete solution is
$$
\begin{array}{rlrl}
& & y \cdot \frac{1}{\sec x} & =\int e^x \sec x \cdot \frac{1}{\sec x} d x \\
\Rightarrow & & \frac{y}{\sec x} & =e^x+c \\
\Rightarrow & y \cos x & =e^x+c
\end{array}
$$

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.