For the Legendre differential equation , put . The equation becomes . Its indicial equation is . The exponent-zero power series obeys the displayed linear recurrence relation. For a nonnegative integer , it terminates at degree , giving a Legendre polynomial with . Every analytic solution at the endpoint is proportional to this one, since the recurrence determines all coefficients from .
The second independent solution has the local form , where is analytic near . Indeed, reduction of order gives , whose integrand is plus an analytic function. Rescale the second solution to obtain the unit coefficient of . Reflection gives the corresponding expansion at . This also proves the logarithmic divergence of the independent Legendre function of the second kind at each endpoint.
Use . The Legendre differential equation becomes
Substituting a Frobenius series , , gives the indicial equation : the indicial root zero is repeated. For , the coefficient of yields
or
For the multiplying factor is nonzero. At it vanishes, so and all later coefficients are zero. Thus one solution is a polynomial of exact polynomial degree , including a nonzero constant when . Denote a chosen normalization by .
The linear recurrence relation determines every analytic coefficient from , so there cannot be a second independent analytic solution at . To see the required logarithm explicitly, reduction of order gives the second solution locally as
Near , the integrand is plus an analytic function. After rescaling the second solution, its form is therefore
The analytic remainder converges locally; its constant term may be set to zero by adding a multiple of . The nonzero logarithmic coefficient makes linearly independent of . This Frobenius expansion of the Legendre equation at an endpoint gives a Logarithmic Frobenius solution; the same endpoint calculation at explains why the independent Legendre function of the second kind is excluded when boundedness at both ends is required.
When , the forcing has nonzero integral , violating the Fredholm alternative condition. There is no bounded solution. Directly, integration gives ; cancellation of its logarithmic divergence at requires , while cancellation at requires .
For , the constant is a particular solution. Subtract it from any solution. The remainder satisfies the Legendre differential equation, whose general solution is a combination of and the logarithmically unbounded Legendre function of the second kind. Boundedness removes the latter coefficient, giving
The constant forcing is orthogonal to for , consistently with Orthogonality of Legendre polynomials and the Fredholm alternative.
For a nonnegative integer , the chain of the same parity as reaches , where the numerator of the recurrence relation vanishes. The next coefficient and every later coefficient in that chain are zero, producing a polynomial of degree . Normalizing it at gives the Legendre polynomial .
The opposite-parity chain never reaches . Its other possible zero, , is negative and cannot occur, so a nonzero initial coefficient produces a nonterminating power series. It is linearly independent of and can be scaled to the Legendre function of the second kind .
The degree statement requires , as the examples in part (c) indicate. For a negative integer , the same equation has the nonnegative degree , because . A polynomial cannot literally have negative degree.
Since , part (d) gives . A partial fraction decomposition and integration give, for ,
The condition at zero fixes . Thus the full conclusion from the stated condition is
That condition alone does not fix the multiplicative constant. With the usual Legendre function of the second kind normalization , one has . On real exterior intervals replace the logarithm by ; complex continuation requires a choice of logarithm branch.
Two integrations give the general reduction of order formula
The integral is local on intervals avoiding zeros of . A pole of the integral at an interior polynomial zero need not be a singularity of : the product extends by reduction of order across a zero of the known solution. After a standard normalization the independent second solution is the Legendre function of the second kind .
For normalized Legendre polynomials, and . Near the endpoints the integral factor has the asymptotics
and
Thus an independent solution, for which , has the logarithmic endpoint singularities
The constants are understood for a solution continued consistently across the ordinary interior points. Adding any multiple of cannot cancel these logarithms. This explains why boundedness at an endpoint selects the Legendre polynomial and excludes the independent Legendre function of the second kind.