Welcome to the Integration Toolkit!

In your journey through Unit 6: Integration and Accumulation of Change, you have already learned how to find antiderivatives using basic rules and \(u\)-substitution. But what happens when an integral looks messy or doesn't fit those patterns? Don't worry if these look intimidating at first! Sometimes, the hardest part of calculus is actually the algebra you do before you even start the calculus.

In this chapter, we will learn two powerful "algebraic face-lift" techniques: Long Division and Completing the Square. These methods help us rewrite complex fractions into simpler pieces that we can actually integrate.

1. Integrating Using Polynomial Long Division

When you see an integral involving a fraction (a rational function), the first thing you should look at is the degree (the highest exponent) of the numerator and the denominator.

When do I use Long Division?

Use long division when the fraction is "top-heavy" or "equal-heavy." This means the degree of the numerator is greater than or equal to the degree of the denominator.

Example: If you see \(\int \frac{x^2 + 1}{x - 1} dx\), the numerator is degree 2 and the denominator is degree 1. It's time for long division!

Step-by-Step Process:

1. Set up the long division just like you did in algebra class.
2. Divide the leading term of the numerator by the leading term of the denominator.
3. Multiply, subtract, and bring down the next term.
4. Continue until the degree of your remainder is less than the degree of your divisor.
5. Rewrite the integral as: \(\int (\text{Quotient} + \frac{\text{Remainder}}{\text{Divisor}}) dx\).

Example Walkthrough:

Let's find \(\int \frac{x^2}{x + 1} dx\).

By dividing \(x^2\) by \(x + 1\), we find that:
\(\frac{x^2}{x + 1} = (x - 1) + \frac{1}{x + 1}\)

Now, the integral becomes much easier:
\(\int (x - 1 + \frac{1}{x + 1}) dx\)

Using our basic rules, we get:
\(\frac{1}{2}x^2 - x + \ln|x + 1| + C\)

Key Takeaway: If the numerator's power is the same as or bigger than the denominator's, divide first! It turns one big, scary fraction into several small, easy-to-integrate terms.

2. Integrating by Completing the Square

Sometimes you’ll run into an integral where the denominator is a quadratic (like \(ax^2 + bx + c\)) that doesn't easily factor or work with \(u\)-substitution. If the numerator is just a constant, Completing the Square is your best friend.

When do I use Completing the Square?

We usually use this when we are trying to force a denominator to look like the formula for Inverse Trigonometric Functions. The most common target is the Arctangent rule:
\(\int \frac{1}{a^2 + u^2} du = \frac{1}{a} \arctan(\frac{u}{a}) + C\)

How to Complete the Square (A Quick Refresher):

If you have \(x^2 + bx + c\):
1. Take the coefficient of the middle term (\(b\)).
2. Divide it by 2, then square it: \((\frac{b}{2})^2\).
3. Add and subtract this number within the expression to keep it balanced.

Example Walkthrough:

Find \(\int \frac{1}{x^2 - 4x + 7} dx\).

Step 1: Complete the square for the denominator.
Take \(b = -4\). Half of \(-4\) is \(-2\), and \((-2)^2 = 4\).
Rewrite: \(x^2 - 4x + 4 - 4 + 7\)
This becomes: \((x - 2)^2 + 3\)

Step 2: Rewrite the integral.
\(\int \frac{1}{(x - 2)^2 + 3} dx\)

Step 3: Recognize the pattern.
This fits the \(\arctan\) form where \(u = (x - 2)\) and \(a = \sqrt{3}\).
The answer is: \(\frac{1}{\sqrt{3}} \arctan(\frac{x - 2}{\sqrt{3}}) + C\)

Key Takeaway: Completing the square is like giving the denominator a makeover so it fits into an inverse trig formula.

3. Comparison: Which Technique When?

It can be confusing to decide which method to use. Use this simple checklist:

1. Is the top power \(\ge\) the bottom power? Use Long Division.
2. Is the bottom a quadratic that won't factor, and the top is just a number? Use Completing the Square.
3. Could a simple \(u\)-substitution work? Always check this first! If the derivative of the bottom is on the top, \(u\)-sub is faster.

4. Common Pitfalls to Avoid

The Missing \(+ C\): On the AP Exam Free-Response Section, forgetting the constant of integration (\(+ C\)) on an indefinite integral is a very common way to lose a point. Don't let it happen to you!

Sign Errors in Division: When doing long division, remember that you are subtracting the entire expression. It is very easy to flip a plus to a minus accidentally.

The \(1/a\) for Arctan: When using the \(\arctan\) rule, students often forget to put the \(\frac{1}{a}\) in front of the function. Remember: \(\frac{1}{a} \arctan(\frac{u}{a})\).

Did You Know?

The AP Calculus BC exam weight for Unit 6 is 15–20%. While these specific algebraic techniques might only appear in a few questions, they are often the "keys" to unlocking points in both Multiple-Choice (Section I) and Free-Response (Section II) questions where a calculator is not permitted!

Quick Review Box

Long Division: Use when \(Degree_{Num} \ge Degree_{Denom}\).
Completing the Square: Use to turn quadratics into inverse trig forms (like \(\arctan\)).
Goal: Change the look of the function so standard integration rules (Topic 6.8) can be applied.

Don't worry if this seems tricky at first—algebraic manipulation is a skill that gets much faster with practice! Once you see the pattern of the "top-heavy" fraction or the "unfactorable" quadratic, you'll know exactly which tool to grab from your toolkit.