Question
Question: Solve $\frac{dy}{dx} + \frac{2x+1}{x}y = e^{-2x}$....
Solve dxdy+x2x+1y=e−2x.

Answer
The general solution is y=e−2x(2x+xC).
Explanation
Solution
The differential equation is a first-order linear ODE. The solution is found by calculating the integrating factor I.F.=e∫P(x)dx, where P(x)=x2x+1. After finding I.F.=∣x∣e2x, the equation is transformed into dxd(y⋅I.F.)=Q(x)⋅I.F.. Integrating both sides yields y⋅I.F.=∫Q(x)⋅I.F.dx+C. Evaluating ∫∣x∣dx leads to a piecewise integration. The general solution is obtained by combining these cases into y=e−2x(2x+xC).