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 + 1)^2 \frac{dy}{dx} + 2x(x^2 + 1)y = 1$ such that $y(0) = 0$. If $\sqrt{a} y(1) = \frac{\pi}{32}$,then the value of $a$ is

If $y(x)$ is the solution of the differential equation $\frac{dy}{dx} + \left( \frac{2x + 1}{x} \right)y = e^{-2x}, x > 0$ where $y(1) = \frac{1}{2}e^{-2}$,then:

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

Let $f: [1, \infty) \to \mathbb{R}$ be a differentiable function defined as $f(x) = \int_1^x f(t) \, dt + (1 - x)(\log_e x - 1) + e$. Then the value of $f(f(1))$ is:

The solution of the differential equation $y' = y \tan x - 2 \sin 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