Calculus
dy/dx + 2y = x
Step-by-step solution with explanation
Final Answer
, where C is an arbitrary constantStep-by-step solution
Understanding this problem
Learning Insight
The integrating factor method works because it forces the left side of the equation to become a perfect derivative (a product rule result). Once that happens, you only need to integrate both sides — turning a differential equation into an algebra problem. The e^(2x) 'integrates away' on the left because of how exponential derivatives work.Quick Tip
For dy/dx + ky = f(x) with a constant k, the integrating factor is always e^(kx), and your answer will always have a Ce^(−kx) term on the end. Spot that pattern and you can write down the structure of the answer immediately.Common Mistake
Students forget to add the constant of integration C before dividing by the integrating factor, or they accidentally write +Ce^(2x) instead of +Ce^(−2x) when dividing by e^(2x).