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 $\frac{dy}{dx} + ay = e^{mx}$ is

The solution of the differential equation,$(x + 2y^3) \frac{dy}{dx} = y$ is :

If the solution of the differential equation $\frac{dy}{dx} + e^x(x^2 - 2)y = (x^2 - 2x)(x^2 - 2)e^{2x}$ satisfies $y(0) = 0$,then the value of $y(2)$ is

If $y=y(x)$ is the solution of $\frac{dy}{dx}=\frac{x-y \cos x}{1+\sin x}$ with $y\left(\frac{\pi}{2}\right)=\frac{\pi^2}{8}$,then $y(\pi)=$

Let $y=y(x)$ be the solution of the differential equation $2 \cos x \frac{d y}{d x}=\sin 2 x-4 y \sin x$,where $x \in \left(0, \frac{\pi}{2}\right)$. If $y\left(\frac{\pi}{3}\right)=0$,then $y^{\prime}\left(\frac{\pi}{4}\right)+y\left(\frac{\pi}{4}\right)$ is equal to:

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