The solution of the differential equation $\frac{dy}{dx} + y = \cos x$ is

  • A
    $y = \frac{1}{2}(\cos x + \sin x) + ce^{-x}$
  • B
    $y = \frac{1}{2}(\cos x - \sin x) + ce^{-x}$
  • C
    $y = \cos x + \sin x + ce^{-x}$
  • D
    None of these

Explore More

Similar Questions

The integrating factor of the differential equation $x \frac{dy}{dx} - y = x^2$ is . . . . . . .

The general solution of the differential equation $x^{2} dy - 2xy dx = x^{4} \cos x dx$ is

The general solution of the differential equation,$\sin 2x \left( \frac{dy}{dx} - \sqrt{\tan x} \right) - y = 0$ is

Which one of the following is a linear differential equation?

Let $y = y(x)$ be the solution of the differential equation $\frac{dy}{dx} + 2y = f(x)$,where $f(x) = \begin{cases} 1, & x \in [0, 1] \\ 0, & \text{otherwise} \end{cases}$. If $y(0) = 0$,then $y\left(\frac{3}{2}\right)$ is

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo