Example (constant forcing)
For the equation $$ ay' + by = c, $$ we first guess a particular integral. Setting $y$ to be a constant gives $$ y_p(x) = \frac cb. $$ Then we write the general solution as $$ y(x) = y_c(x) + y_p(x) $$ where the complementary function satisfies $$ ay_c' + by_c = 0. $$ Solving, $$ y_c(x) = e^{-(b/a) x}. $$
Therefore, $$ y(x) = e^{-(b/a)x} + \frac cb. $$