Use integration by substitution with , so and . The indefinite integral becomesThus, with an arbitrary constant of integration,This real antiderivative applies for and extends continuously to the stated endpoint. Its left derivative there agrees with the limiting integrand, zero.
Use integration by substitution with , so . ThenDifferentiating the answer by the chain rule gives , confirming the antiderivative. The real constant of integration is arbitrary.
Write . Apply integration by parts with and :Using on the right gives . Rearranging provesFor , the analogous integration by parts uses and , giving . HenceAn arbitrary constant of integration absorbs the choices in the lower-order antiderivatives.
At , the initial conditions implyDifferentiate the first relation and solve for the two derivatives:Fix a reference point and set . Taking antiderivatives givesThe constants must be opposite to preserve the first initial condition; the arbitrary constant of integration does not change . Substitution yields D'Alembert's formula:The fundamental theorem of calculus verifies that its time derivative at zero is , and its value at zero is . The oriented integral also makes the formula valid for negative .
For a partial fraction decomposition, writeMultiplying by gives . Setting gives , and comparing the coefficient of gives . ThusIntegrating each term gives the antiderivativeThe constant of integration can be chosen independently on each interval separated by and .