A non-homogeneous differential equation is one that includes a term independent of the variable function and its derivatives, known as the non-homogeneous term. In essence, it consists of a homogeneous part, which can be written without any external inputs, and a non-homogeneous part where external forces or sources are considered.
To solve a non-homogeneous equation, you generally find two parts:
- Homogeneous Solution (\(x_h\)): Solve the respective homogeneous differential equation, which is formed by setting the non-homogeneous part to zero.
- Particular Solution (\(x_p\)): Specifically tailor a solution that satisfies the entire equation, including the non-homogeneous term.
Combine these to form the general solution. For example, in the equation from the problem \(x'' + x = 2\), the particular solution is consistent with \(x_p = 2\). Together, with the homogeneous solution, forms the complete solution.