Find the general solution of the differential equation $\frac{dy}{dx}-y=\cos x$.

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

Explore More

Similar Questions

Let $y = y(x)$ be the solution of the differential equation $(x^2 - x\sqrt{x^2-1})dy + (y(x - \sqrt{x^2-1}) - x)dx = 0, x \geq 1$. If $y(1) = 1$, then the greatest integer less than or equal to $y(\sqrt{5})$ is . . . . . . .

If $\frac{dy}{dx} + y \tan x = \sin 2x$ and $y(0) = 1$,then $y(\pi)$ is equal to

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

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

The integrating factor of the differential equation $\cos x \frac{dy}{dx} + y \sin x = 1$ 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