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

If $x^2 y - x^3 \frac{dy}{dx} = y^4 \cos x$,then $x^3 y^{-3}$ is equal to

The solution of the differential equation $\frac{dy}{dx} + \frac{y}{2} \sec x = \frac{\tan x}{2y}$,where $0 \le x < \frac{\pi}{2}$,and $y(0) = 1$,is given by

Let $y=y(x)$ be the solution of the differential equation $x\frac{dy}{dx}-y=x^{2}\cot x, x\in(0,\pi)$. If $y(\frac{\pi}{2})=\frac{\pi}{2}$, then $6y(\frac{\pi}{6})-8y(\frac{\pi}{4})$ is equal to :

Let a differentiable function $f$ satisfy $f(x) + \int_{3}^{x} \frac{f(t)}{t} dt = \sqrt{x+1}$ for $x \geq 3$. Then $12f(8)$ is equal to:

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