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 solution of the differential equation $(x + 2y^3) \frac{dy}{dx} = y$ is

If $y=y(x)$ is the solution of the differential equation $e^{y}\left(\frac{dy}{dx}-1\right)=e^{x}$ such that $y(0)=0,$ then $y(1)$ is equal to

The solution of the differential equation $\frac{dy}{dx} - 2y \tan 2x = e^x \sec 2x$ is

Let the solution curve $y=y(x)$ of the differential equation $(1+e^{2x})(\frac{dy}{dx}+y)=1$ pass through the point $(0, \frac{\pi}{2})$. Then,$\lim_{x \rightarrow \infty} e^{x} y(x)$ is equal to.

The general solution of the differential equation $(1-x^{2}) \frac{dy}{dx} + 2xy = x(1-x^{2})^{\frac{1}{2}}$ 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