AP Syllabus focus:
‘Complete the square in quadratic expressions inside rational or radical integrands to transform them into forms with known antiderivatives.’
Completing the square is a powerful algebraic method that rewrites quadratic expressions in a form that exposes structure, allowing certain integrals to be evaluated using standard antiderivative formulas.
Completing the Square in the Context of Integration
In integration, completing the square is used to rewrite a quadratic expression so that it resembles forms whose antiderivatives are already known. This technique is especially useful when a quadratic appears inside a rational integrand or under a radical, and the expression is not easily factored or simplified in its original form. By reorganizing the quadratic into a perfect square plus or minus a constant, the integrand can often be matched to familiar patterns involving inverse trigonometric functions, logarithmic expressions, or basic substitution methods.

Geometric interpretation of completing the square, where the area represented by and the area represented by are rearranged into a nearly complete square with a missing corner. Adding a small square of side completes the larger square, corresponding algebraically to adding to the expression. This image includes only the geometric motivation and does not show integration, which is addressed separately in the text. Source.
Why Completing the Square Matters
AP Calculus AB emphasizes fluency with fundamental integration techniques, and completing the square enables integrals to fit into standard templates. Many integrals involving expressions such as cannot be solved efficiently without rewriting them. When used effectively, this method transforms integrals into recognizable forms that allow direct or substitution-based evaluation. This makes completing the square an essential strategy for handling otherwise resistant quadratic expressions.
Structure of Quadratics and Perfect Squares
When working with an expression containing a quadratic, such as , the first goal is to understand its structure. The technique uses algebraic manipulation to produce an expression of the form , known as vertex form.

Graph of the basic quadratic function , showing a parabola opening upward with its vertex at the origin. In vertex form, this would be written as , illustrating how the parameters and in correspond to horizontal and vertical shifts of the parabola. The image does not depict integration directly, but it clarifies how completing the square exposes the underlying quadratic structure used before applying integral formulas. Source.
Perfect Square Trinomial: A quadratic expression of the form , which factors as .
After rewriting a quadratic as a perfect square plus a constant, the new form typically fits one of several recognizable integrand patterns.
When Completing the Square is Appropriate
Completing the square is most valuable when the quadratic appears:
In the denominator of a rational expression.
Under a square root where direct factoring is impractical.
In an integrand that resembles inverse trigonometric derivative patterns.
In any situation where rewriting the quadratic yields a simpler substitution.
These situations frequently appear in AP Calculus AB, especially when preparing an integrand for substitutions such as or for matching functions like the derivative of .
Standard Forms Enabled by Completing the Square
Once a quadratic is rewritten as , it can resemble forms such as:
These forms correspond to integration strategies involving inverse tangent, inverse sine, or logarithmic rules. The AP syllabus expects students to recognize and process these connections efficiently.
= Variable of integration
= Constant determining horizontal scaling
A sentence bridging to the next concept is necessary before any additional definition or equation block.
The Process of Completing the Square
To apply this technique correctly, the algebraic steps must be executed with precision:
Step-by-Step Structure
Factor out the leading coefficient from the quadratic if .
Identify the coefficient of , divide it by 2, and square the result.
Add and subtract this squared term inside the expression to maintain equality.
Rewrite the trinomial portion as a perfect square.
Combine constants to produce the final transformed quadratic.
Reinsert factored constants if they were removed initially.
These steps yield an expression ideal for pairing with substitution.
Common Integration Patterns That Arise
After completing the square, students often encounter integrands structured like:
A rational function resembling
A radical function resembling
An integrand requiring a proportional -substitution after completing the square
Such forms are central to AP Calculus AB and emphasize recognizing when algebra precedes calculus.
Strategic Insights for AP Calculus AB Students
Completing the square must be viewed not as an isolated algebra skill but as an integration strategy. Its purpose is to reveal hidden structure that matches known antiderivative patterns. Students should look for indicators such as:
Quadratics that do not factor cleanly
Integrals reminiscent of inverse trigonometric derivatives
Rational expressions where direct substitution is impossible
Radicals of quadratic expressions that are not already perfect squares
By converting the quadratic into a perfect square form, the integrand becomes compatible with substitution or direct antiderivative rules.
This method also allows students to recognize when integrals that seem complex are, in fact, manageable with proper algebraic rewriting. Completing the square transforms a challenging expression into one that clearly aligns with established integration formulas, reinforcing a connection between algebraic structure and calculus technique.
FAQ
Factoring only helps when the quadratic has simple real roots, but many quadratics used in integration do not factor neatly. Completing the square works for every quadratic, regardless of whether its roots are real, repeated, or complex.
It also produces a consistent structure that can be matched to standard integral forms, particularly those leading to inverse trigonometric expressions or logarithmic relationships.
Look for a quadratic expression that appears inside a denominator or radical, especially if it cannot be factored easily.
Useful indicators include:
• A quadratic with a positive leading coefficient that does not factor nicely.
• An integrand that resembles the beginning of a form used in inverse trigonometric integrals.
• A structure that suggests a shift of variable might simplify the expression.
The most frequent error is forgetting to maintain equality when adding or subtracting terms. Any term added inside a bracket that has been factored must be accounted for outside the bracket as well.
Students also sometimes misidentify the value that must be squared. Always halve the coefficient of x before squaring, regardless of whether the quadratic is monic.
Not always. Completing the square simply reorganises the quadratic; what it leads to depends on the constant term and the overall structure.
It may produce:
• A form suitable for inverse tangent integrals.
• A form related to logarithmic integrals.
• A structure that becomes easier to integrate after a simple substitution.
Completing the square exposes the shifted variable at the centre of the quadratic, making it clearer which substitution simplifies the expression.
Once rewritten, the integrand often becomes a function of a single binomial, allowing a direct substitution such as u = x + h, which reduces complexity and avoids unnecessary algebraic expansion.
Practice Questions
Question 1 (1–3 marks)
The quadratic expression x² + 6x + 5 appears in the denominator of an integrand.
(a) Rewrite the expression x² + 6x + 5 by completing the square.
(b) Explain briefly why completing the square is useful before attempting to integrate an expression containing this quadratic.
Question 1
(a) 2 marks
• 1 mark: Correctly completing the square to obtain (x + 3)² − 4.
• 1 mark: Stating the final simplified form (x + 3)² − 4 + 5 = (x + 3)² + 1.
(b) 1 mark
• 1 mark: Clear explanation that completing the square rewrites the quadratic in a form that matches standard integral formulas, such as those involving inverse trigonometric functions or substitutions.
Total: 3 marks
Question 2 (4–6 marks)
Consider the integral of the function 1 divided by (4x² + 8x + 13).
(a) Complete the square for the quadratic 4x² + 8x + 13.
(b) Rewrite the integrand using your completed square form.
(c) State which standard integral form the rewritten integrand resembles, and describe the substitution that would be appropriate to evaluate the integral.
Question 2
(a) 2 marks
• 1 mark: Factoring out 4 from the quadratic to obtain 4(x² + 2x) + 13.
• 1 mark: Completing the square correctly to reach 4[(x + 1)² − 1] + 13 = 4(x + 1)² + 9.
(b) 1 mark
• 1 mark: Rewriting the integrand as 1 divided by [4(x + 1)² + 9], or equivalently 1 divided by [9 + 4(x + 1)²].
(c) 2–3 marks
• 1 mark: Identifying that the integrand resembles the standard form 1 divided by (a² + u²).
• 1 mark: Stating that the integral would lead to an inverse tangent form.
• 1 mark: Specifying a correct substitution, such as u = 2(x + 1). This earns the mark even if not simplified further.
Total: 5–6 marks
