Target Exam

CUET

Subject

Section B1

Chapter

Differential Equations

Question:

Solve the differential equation $\frac{dy}{dx} + y = x$.

Options:

$xe^x - e^x + c $

$x- e^x + c $

$xe^x - 1 + c $

$xe^x +1 + c $

Correct Answer:

$xe^x - e^x + c $

Explanation:

The correct answer is Option (1) →$xe^x - e^x + c $ ##

The given differential equation is of the form $\frac{dy}{dx} + Py = Q$. The integrating factor of the differential equation is $e^{\int dx} = e^x$.

The solution of the differential equation is

$ ye^x = \int xe^x dx + c $

$ = xe^x - e^x + c $