Show worked solution
Worked solution
Identify the equation as linear with constant coefficients
The coefficients are numbers, so the auxiliary-equation method applies.
Write down the auxiliary equation
Putting into the left-hand side and cancelling turns the differential equation into this quadratic.
Solve the auxiliary equation
The discriminant is zero, so the auxiliary equation has one repeated root.
Write down the complementary function
A repeated root supplies only one exponential, so the second independent solution carries an extra factor of : .
Look at the right-hand side
The shape of the right-hand side dictates the shape of the trial particular integral.
Test the right-hand side against the complementary function
The right-hand side is itself a term of the complementary function, so the usual trial function would give on the left. Multiplying the trial function by an extra factor of repairs this.
Choose the trial particular integral
The trial function copies the shape of the right-hand side, with the extra factor of demanded by the clash with the complementary function.
Compare coefficients on both sides
Powers of , exponentials, sines and cosines are independent, so their coefficients must match separately.
Solve for the unknown coefficients
These values are the only ones that make the trial function satisfy the equation.
State the particular integral
Substituting the coefficients back into the trial function gives one solution of the full equation.
Write down the general solution
The general solution of a linear equation is the complementary function plus the particular integral.
Substitute the condition on
This is the first equation satisfied by the two arbitrary constants.
Differentiate the general solution
The second condition involves the gradient, so the derivative of the general solution is needed.
Substitute the condition on
This is the second equation satisfied by the two arbitrary constants.
Solve the two equations for the arbitrary constants
Both conditions are now used, so the solution is completely determined.
State the final answer
This function satisfies the differential equation and both of the given conditions.