Question:medium

If $\dfrac{dy}{dx}=y\tan x$, then the solution of the differential equation is:

Show Hint

Remember the standard integral: \[ \int \tan x\,dx=\log |\sec x|+C \] which is extremely common in separable differential equations.
Updated On: May 20, 2026
  • $y=C\sin x$
  • $y=C\cos x$
  • $y=C\sec x$
  • $y=C\tan x$
Show Solution

The Correct Option is C

Solution and Explanation

Understanding the Concept: This is a separable differential equation. We separate variables involving $y$ and $x$ on opposite sides and then integrate.
Step 1: Separate the variables.
Given: \[ \frac{dy}{dx}=y\tan x \] Rearranging: \[ \frac{dy}{y}=\tan x\,dx \]
Step 2: Integrate both sides.
Integrating: \[ \int\frac{1}{y}\,dy=\int\tan x\,dx \] \[ \log |y|=\log |\sec x|+C \]
Step 3: Simplify the solution.
Exponentiating: \[ |y|=e^C\sec x \] Let: \[ e^C=C_1 \] Thus, \[ y=C\sec x \] Hence, \[ \boxed{y=C\sec x} \]
Was this answer helpful?
0