AP Calculus AB and BC
Integral of (2x+3)/(x^2+3x): Spot the Derivative
The integral of 2x plus 3 over x squared plus 3x is the natural log of the absolute value of x squared plus 3x, plus C. The numerator is exactly the derivative of the denominator, so the substitution u equals x squared plus 3x finishes the problem in one line with no coefficient in front.
Differentiate the denominator first
Before doing anything with a rational integrand, differentiate the bottom. Here , which is the numerator, character for character. Any integrand shaped like integrates to .
So take and . The substitution consumes the entire numerator, which is why no fraction appears out front.
Partial fractions gets there too, slowly
The denominator does factor, as , so a BC student can legitimately decompose it. Solving gives and , and both logs come out with coefficient one.
Same answer, three times the writing
Decomposing is not an error here, it is wasted minutes and three extra chances to drop a sign. Check the numerator against the derivative of the denominator before you set up A and B. When they match, the answer is one logarithm and you are done.
The mistakes students make
The pattern is easy once seen, and the errors below all come from not looking for it.
- Dividing by the derivative and writing . Antiderivatives never divide by a non-constant function that way; only a constant can be pulled out.
- Attaching a stray and answering . That would be right if the numerator were , half of . As written, matches the numerator exactly and no coefficient is needed.
- Breaking the fraction into . Both halves do come out to logs, the first because cancels to , but you have turned one substitution into two problems plus a recombination step.
Every answer on this page is machine checked
An automated test differentiates the antiderivative above and confirms it returns the integrand. A wrong sign or a missing factor fails the build, so it cannot reach you.
Frequently asked questions
What is the integral of (2x+3)/(x^2+3x)?
One substitution, , carries it all the way to , with no coefficient out front.
How do I know when a fraction integrates to a natural log?
When the numerator is the derivative of the denominator, or a constant multiple of it. Differentiate the bottom and compare; if the derivative of the bottom is times the numerator, the answer is .
Is ln|x| + ln|x+3| the same answer?
Yes. The product law combines it into , so the two forms are identical.