This table is meant to clarify Table 3.6.1 in your textbook. Please let me know if you find any errors, or if you have a suggestion for making it clearer.

Forcing FunctionForm of yp
tAt+B
t2At2+Bt+C
t3 At3+Bt2+Ct+D
Etc. Etc.
sin(at) A sin(at) + B cos(at)
cos(at)A sin(at) + B cos(at)
But if sin(at) or cos(at) is a solution of the homogeneous problem instead use
yp = A t sin(at) + B t cos(at)
t sin(at) (A t +B)sin(at) + (Ct+D) cos(at)
t cos(at) (A t +B)sin(at) + (Ct+D) cos(at)
But if t sin(at) or t cos(at) is a solution of the homogeneous problem instead use
yp = (At2+Bt) sin(at) + (Ct2+Dt) cos(at)
This case cannot happen for 2nd problems, but can for higher order ones.
Etc. Etc.
eat A eat
But if eat is a solution of the homogeneous problem instead use A t eat. However, if
t eat is also solution of the homogeneous problem then use
yp = A t2 eat
t eat (A t +B)eat
But if eat or t eat is a solution of the homogeneous problem instead use
yp = (A t2 + Bt)eat or, yp = (A t3 + Bt2)eat respectively.
t2 eat (At2 +Bt + C)eat
But if eat or t eat is a solution of the homogeneous problem instead use
yp = (At3 +Bt2 + Ct)eat or, yp = (At4 +Bt3 + Ct2)eat respectively.
Etc. Etc.
eatsin(bt) or eatcos(bt) A eatsin(bt) + B eatcos(bt)
But if either is a solution of the homogeneous problem instead use
yp = At eatsin(bt) + Bt eatcos(bt).
teatsin(bt) or teatcos(bt) (At+B) eatsin(bt) + (Ct+D) eatcos(bt)
But if eatsin(bt) or eatcos(bt) is a solution of the homogeneous problem instead use
yp = (At2+Bt) eatsin(bt) + (Ct2+Dt) eatcos(bt)
Etc. Etc.