Evaluate the indefinite integral
where and are constants.
Build the key antiderivative by differentiating a guess. Rather than a trig substitution, differentiate using the product rule:
Hence
Split the numerator.
The first piece is already done; only the piece needs work.
Turn into the denominator's own expression. The identity
lets us write
This is the whole trick: it converts an awkward numerator into two integrals we already recognise, avoiding any trigonometric substitution.
Assemble the pieces. Using the Step 1 result and :
Combining the first two terms over gives the coefficient .
Verify by differentiating the answer. Take the concrete values , . Numerically differentiating the closed form at gives , and the integrand at is ✓. At both give ✓. The antiderivative is correct.
Need to solve a different problem like this? Open the solver →