For the linear differential operator , the exponential function is an eigenfunction: . Distinct give the two homogeneous solutions, while the method of undetermined coefficients supplies a particular solution at the distinct forcing exponent :
For , use the Euler differential equation substitution , so , and . The transformed equation is
Its characteristic polynomial factors as . The forcing coincides with a homogeneous solution, so the method of undetermined coefficients requires a particular solution . Substitution gives , hence . Transforming back,
The conditions at give and , so
Differentiating confirms both initial values and the original equation. The solution interval containing excludes the singular point .
The characteristic equation gives the complementary function . Write the forcing as . The method of undetermined coefficients gives for the first term. Because already belongs to the homogeneous solution, resonance in a differential equation requires a trial for the second; substitution gives . Therefore
Use the method of undetermined coefficients with the polynomial . Substitution into gives
Matching successive coefficients with the forcing gives , , and . Hence a particular integral is
Indeed and give . The complementary function, if wanted, is .
The complementary solution comes from the characteristic equation , whose roots are . It is therefore
For the resonant exponential particular solution, the forcing is already a homogeneous exponential, so the method of undetermined coefficients needs the resonant trial . If , the identity when gives . Hence and
The decay condition first eliminates the growing exponential, . A nonzero combination of the sine and cosine has a fixed nonzero amplitude and cannot tend to zero, so as well. Both remaining exponential terms decay because . Finally , giving the unique answer
This is an instance of resonance in a differential equation: multiplication by supplies the particular solution when the forcing exponent is a simple characteristic root.
The characteristic roots of the homogeneous linear ordinary differential equation are and . The forcing is resonant with the solution, so the method of undetermined coefficients uses the particular solution . Thus . The two initial conditions are and , giving
The characteristic polynomial factors as , so the complementary solution is . Each exponential forcing resonates with a homogeneous mode; the method of undetermined coefficients therefore uses and . Substitution gives the particular solution . Thus
The initial conditions give and . Hence
The factors of in the particular solution are essential: an unmodified exponential trial lies in the kernel of the differential operator.
Use the method of undetermined coefficients. Substitution of gives
Equating the coefficients of , , , and to the forcing gives , , , . Thus
The characteristic equation of the homogeneous equation is , with a repeated root. Its complementary function is . Since and , the initial conditions give and . Therefore
Direct differentiation verifies both zero initial data and the original forcing.
The characteristic polynomial factors as , so the homogeneous solution is . The forcing already occurs in that solution, so a constant multiple of cannot be a particular solution. Use instead. Its derivatives are and , so substitution gives and fixes . Thus
The extra factor of accounts for the repeated forcing exponent in the method of undetermined coefficients.
Use the method of undetermined coefficients, choosing a particular solution . Substitution gives
Matching the constant and cosine coefficients to gives , . Thus
Neither forcing term is resonant with the homogeneous angular frequency one.
The homogeneous solution is . If , the method of undetermined coefficients permits a particular integral . Substitution gives and hence
For , the forcing is itself a homogeneous solution, so this trial fails by resonance in a differential equation. Multiplying the sine trial by gives
Thus the resonant general solution is
The secular term containing describes the increasing amplitude under undamped resonant forcing.
The associated homogeneous linear differential equation has characteristic roots , so its complementary function is . For a particular integral, the method of undetermined coefficients suggests . Substitution and comparison of coefficients gives
so . The general solution is therefore
The first boundary condition gives . At , the polynomial part already equals the assigned boundary value and the cosine vanishes, so . Thus
This is the unique solution satisfying the two boundary conditions; here the phrase “particular solution” means that selected member of the full family, rather than only the polynomial particular integral.
The characteristic equation of a constant-coefficient differential equation here is . Its homogeneous solution is . Because the forcing is already a homogeneous mode, the method of undetermined coefficients requires rather than .
Here and , so . Thus , and the general solution is
For the forcing , the method of undetermined coefficients gives the particular term . The term is resonant with a homogeneous solution, so use for its forcing; substitution gives .
Thus . The two initial conditions reduce to and , so , . The solution of the initial value problem is
The extra factor in the resonant particular solution is essential.