We need to solve the second-order linear non-homogeneous differential equation: $y'' + y = x^2 - x$.
AnalysisDifferential EquationsSecond-Order Linear Non-Homogeneous Differential EquationsMethod of Undetermined Coefficients
2025/3/6
1. Problem Description
We need to solve the second-order linear non-homogeneous differential equation: .
2. Solution Steps
First, we find the homogeneous solution. The characteristic equation is . The roots are . Therefore, the homogeneous solution is .
Next, we find a particular solution. Since the right-hand side is a polynomial of degree 2, we assume a particular solution of the form . Then, and .
Substituting into the differential equation, we have .
Comparing coefficients, we get:
, so , which implies .
Therefore, .
The general solution is the sum of the homogeneous and particular solutions: .