Differential Equations
Differential Equations
Allen Star Batch
Grade 12

Question:

If the solution of the differential equation $\frac{dy}{dx} = \frac{1}{x \cos y + \sin 2y}$ is $y = ce^{\sin y} - k(1 + \sin y)$, then the value of $k$ is ______.

Step-by-Step Solution

Key Concept: Convert the differential equation to linear form in x by taking reciprocals: $\frac{dx}{dy} = x\cos y + \sin 2y$. Then apply the standard linear DE solution method using integrating factor $e^{\sin y}$ to obtain $xe^{-\sin y} = -2(1 + \sin y)e^{-\sin y} + C$, which rearranges to match the given solution form.
Given $\frac{dy}{dx} = \frac{1}{x\cos y + 2\sin y \cos y}$, rewrite as $\frac{dx}{dy} = x\cos y + 2\sin y \cos y = x\cos y + \sin 2y$. This is linear in $x$ with integrating factor $e^{\int \cos y \, dy} = e^{\sin y}$. The solution is $xe^{-\sin y} = 2\int e^{-\sin y} \sin y \cos y \, dy = -2\sin y e^{-\sin y} + 2\int (-e^{-\sin y}) \cos y \, dy$.
Correct Answer: 2

Master Differential Equations with Mathbee

Practice this topic under real exam conditions with strict timers, or ask our AI Mentor to explain the concepts step-by-step.

Start Practicing for Free