Substitute and use to cancel the terms proportional to . The remaining ordinary differential equation is
On an interval where , divide through and put :
Thus reduction of order gives
A nonzero multiplicative constant gives an independent solution; adding a constant inside the integral adds a multiple of . The Wronskian is proportional to and is nonzero on the interval. The undivided equation remains meaningful at a zero of , but this integral representation then needs continuation rather than direct division.
Inspection gives in the degree-one Legendre differential equation. After division by , and . On either side of zero, reduction of order therefore gives
A second solution is . Although is singular at zero, the product has a smooth continuation throughout . This illustrates reduction of order across a zero of the known solution. Since , , and , the required coefficients are . Hence
The ordinary differential equation has regular coefficients near zero, so the resulting initial-value solution is unique and the removable singularity in the intermediate representation causes no ambiguity.
The defining Wronskian identity gives the first-order linear differential equation
Work first on an interval where . Dividing by recognizes a derivative:
This is reduction of order. Choose the nonzero Wronskian from the Abel identity to obtain linear independence. The constant only adds a multiple of . If has zeros, this quotient formula is local; the resulting solution can be continued across ordinary zeros using the original second-order linear differential equation.
For real parameters, work on so arbitrary real powers are unambiguous. Taking derivatives gives
The residual after substitution is
When , ranges over . Evaluating at the zeros of the cosine first forces the sine coefficient to vanish; then the cosine coefficient vanishes identically. If , the nonzero constant cannot satisfy the equation. Thus the necessary and sufficient conditions are
Under these conditions the normalized coefficient is . The Abel identity gives . Choose and apply reduction of order on an interval where :
The substitution evaluates the integral. After continuation across the cosine zeros,
This is a power substitution for an oscillatory second-order equation: in the variable , the equation reduces to the harmonic oscillator equation.
Here the indicial equation has the repeated root . The first Frobenius method solution is . Since , the Abel identity gives . Reduction of order with produces
where the additive constant is absorbed into . In particular the logarithmic coefficient is nonzero: an additional independent real analytic solution does not exist.
The general local form is
This is the repeated-root Logarithmic Frobenius solution. On the negative real side one may use , or use a fixed logarithm branch for a complex solution.
Differentiating the Wronskian gives
Thus , the Abel identity.
Also,
If , integration gives the reduction of order formula
For the specified equation, division by gives , so . With , an independent solution is
which is a nonzero multiple of . Hence
The conditions at give and , so
After division by , the coefficient of is . The Abel identity for the Wronskian gives
so
For , direct substitution confirms that . Reduction of order gives a second solution proportional to
To extract the requested coefficients, put
For the differential operator
one finds
The analytic correction must therefore satisfy . Its constant and linear coefficients give
Hence