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 general solution of $\frac{d y}{d x}+y \tan x=2 x+x^2 \tan x$
MathematicsDifferential EquationsJEE Main
Options:
  • A $y-x^2=c \sec x$
  • B $y \cos x=x^2 \sec x+c$
  • C $y \sec x=x^2+c \cos x$
  • D $y=x^2+c \cos x$
Solution:
2783 Upvotes Verified Answer
The correct answer is: $y=x^2+c \cos x$
Given differential equation,


$\because$ The differential equation is in linear form, so Integrating factor (I.F.) $=e^{\int \tan x d x}=\sec x$ So, solution of given differential Eq. (i), is
$$
\begin{aligned}
y(\sec x) & =\int\left(2 x+x^2 \tan x\right) \sec x d x \\
& =\int 2 x \sec x d x+\int x^2 \tan x \sec x d x \\
& =\int 2 x \sec x d x+x^2 \sec x-\int 2 x \sec x d x \\
\Rightarrow \quad y \sec x & =x^2 \sec x+c \\
\Rightarrow \quad y & =x^2+c \cos x .
\end{aligned}
$$

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.