professor-curious-logo
professor-curious-logo
  1. AP Maths
FlashcardFlashcardStudy GuideStudy Guide
Question BankQuestion BankGlossaryGlossary

Methods of Integration

Michael Green

Michael Green

6 min read

Next Topic - Integration Using Long Division

Listen to this study note

Study Guide Overview

This study guide covers completing the square for integrating expressions involving quadratic polynomials. It explains how to complete the square with and without leading coefficients. The guide also demonstrates using completing the square to apply standard integrals involving arctan and arcsin, provides worked examples and practice questions, and includes a glossary of key terms.

#Integration Using Completing the Square

#Table of Contents

  1. What is Completing the Square?
  2. Integrating Using Completing the Square
  3. Worked Example
  4. Practice Questions
  5. Glossary
  6. Summary and Key Takeaways

#What is Completing the Square?

#Introduction

Completing the square is a method used to rewrite quadratic expressions in a way that makes them easier to manipulate, particularly for solving equations and integrating.

#Quadratic Expression

A quadratic expression is of the form: ax2+bx+ca{x}^{2} + bx + cax2+bx+c

#Simple Version of Completing the Square

For a quadratic expression without a leading coefficient: x2+bx+c=(x+b2)2+c−(b2)2{x}^{2} + bx + c = \left(x + \frac{b}{2}\right)^{2} + c - \left(\frac{b}{2}\right)^{2}x2+bx+c=(x+2b​)2+c−(2b​)2

Example: x2−6x+2=(x−3)2+2−(−3)2=(x−3)2−7{x}^{2} - 6x + 2 = \left(x - 3\right)^{2} + 2 - \left(-3\right)^{2} = \left(x - 3\right)^{2} - 7x2−6x+2=(x−3)2+2−(−3)2=(x−3)2−7

#Completing the Square with a Leading Coefficient

When a coefficient is in front of the x2x^{2}x2 term: ax2+bx+c=a(x+b2a)2+c−a(b2a)2a{x}^{2} + bx + c = a\left(x + \frac{b}{2a}\right)^{2} + c - a\left(\frac{b}{2a}\right)^{2}ax2+bx+c=a(x+2ab​)2+c−a(2ab​)2

Example: 3x2+12x−7=3(x+2)2−7−3(2)2=3(x+2)2−193{x}^{2} + 12x - 7 = 3\left(x + 2\right)^{2} - 7 - 3\left(2\right)^{2} = 3\left(x + 2\right)^{2} - 193x2+12x−7=3(x+2)2−7−3(2)2=3(x+2)2−19

#Integrating Using Completing the Square

#Standard Integrals

Recall the following standard integrals: ∫11−x2,dx=arcsinx+C,−1<x<1\int \frac{1}{\sqrt{1 - x^{2}}} , dx = \mathrm{arcsin}x + C, \quad -1 < x < 1∫1−x2​1​,dx=arcsinx+C,−1<x<1 ∫11+x2,dx=arctanx+C\int \frac{1}{1 + x^{2}} , dx = \mathrm{arctan}x + C∫1+x21​,dx=arctanx+C

#Using Completing the Square in Integration

Completing the square can recast integrals into forms where the above results can be applied. Sometimes, methods from the Integrals of Composite Functions study guide may also be needed.

Example: ∫1x2−6x+13 dx\int \frac{1}{x^{2} - 6x + 13} \, dx∫x2−6x+131​dx
  1. Complete the square on the denominator: x2−6x+13=(x−3)2+4x^{2} - 6x + 13 = \left(x - 3\right)^{2} + 4x2−6x+13=(x−3)2+4

  2. Rewrite the function to be integrated: 1x2−6x+13=14+(x−3)2=14⋅11+(x−32)2\frac{1}{x^{2} - 6x + 13} = \frac{1}{4 + \left(x - 3\right)^{2}} = \frac{1}{4} \cdot \frac{1}{1 + \left(\frac{x - 3}{2}\right)^{2}}x2−6x+131​=4+(x−3)21​=41​⋅1+(2x−3​)21​

  3. Recognize the standard form: This is now a multiple of 11+(⋯ )2\frac{1}{1 + (\cdots)^{2}}1+(⋯)21​. Hence, the integral will involve arctan(⋯ )\mathrm{arctan}(\cdots)arctan(⋯).

  4. Differentiate arctan(x−32)\mathrm{arctan}\left(\frac{x - 3}{2}\right)arctan(2x−3​) to check: ddx(arctan(x−32))=11+(x−32)2⋅12=12⋅11+(x−32)2\frac{d}{dx}\left(\mathrm{arctan}\left(\frac{x - 3}{2}\right)\right) = \frac{1}{1 + \left(\frac{x - 3}{2}\right)^{2}} \cdot \frac{1}{2} = \frac{1}{2} \cdot \frac{1}{1 + \left(\frac{x - 3}{2}\right)^{2}}dxd​(arctan(2x−3​))=1+(2x−3​)21​⋅21​=21​⋅1+(2x−3​)21​

  5. Integrate: ∫1x2−6x+13,dx=14∫11+(x−32)2,dx=12arctan(x−32)+C\int \frac{1}{x^{2} - 6x + 13} , dx = \frac{1}{4} \int \frac{1}{1 + \left(\frac{x - 3}{2}\right)^{2}} , dx = \frac{1}{2} \mathrm{arctan}\left(\frac{x - 3}{2}\right) + C∫x2−6x+131​,dx=41​∫1+(2x−3​)21​,dx=21​arctan(2x−3​)+C

#Worked Example

#Problem

Find the indefinite integral: ∫121−x2+4x,dx\int \frac{1}{\sqrt{21 - x^{2} + 4x}} , dx∫21−x2+4x​1​,dx

#Solution

  1. Complete the square on the expression inside the square root: 21−x2+4x=−(x−2)2+2521 - x^{2} + 4x = -\left(x - 2\right)^{2} + 2521−x2+4x=−(x−2)2+25

  2. Rewrite the function to be integrated: 121−x2+4x=125−(x−2)2=15⋅11−(x−25)2\frac{1}{\sqrt{21 - x^{2} + 4x}} = \frac{1}{\sqrt{25 - \left(x - 2\right)^{2}}} = \frac{1}{5} \cdot \frac{1}{\sqrt{1 - \left(\frac{x - 2}{5}\right)^{2}}}21−x2+4x​1​=25−(x−2)2​1​=51​⋅1−(5x−2​)2​1​

  3. Recognize the standard form: This is now a multiple of 11−(⋯ )2\frac{1}{\sqrt{1 - (\cdots)^{2}}}1−(⋯)2​1​. Hence, the integral will involve arcsin(⋯ )\mathrm{arcsin}(\cdots)arcsin(⋯).

  4. Differentiate arcsin(x−25)\mathrm{arcsin}\left(\frac{x - 2}{5}\right)arcsin(5x−2​) to check: ddx(arcsin(x−25))=11−(x−25)2⋅15\frac{d}{dx}\left(\mathrm{arcsin}\left(\frac{x - 2}{5}\right)\right) = \frac{1}{\sqrt{1 - \left(\frac{x - 2}{5}\right)^{2}}} \cdot \frac{1}{5}dxd​(arcsin(5x−2​))=1−(5x−2​)2​1​⋅51​

  5. Integrate: ∫121−x2+4x,dx=∫15⋅11−(x−25)2,dx=arcsin(x−25)+C\int \frac{1}{\sqrt{21 - x^{2} + 4x}} , dx = \int \frac{1}{5} \cdot \frac{1}{\sqrt{1 - \left(\frac{x - 2}{5}\right)^{2}}} , dx = \mathrm{arcsin}\left(\frac{x - 2}{5}\right) + C∫21−x2+4x​1​,dx=∫51​⋅1−(5x−2​)2​1​,dx=arcsin(5x−2​)+C

Thus, ∫121−x2+4x,dx=arcsin(x−25)+C\int \frac{1}{\sqrt{21 - x^{2} + 4x}} , dx = \mathrm{arcsin}\left(\frac{x - 2}{5}\right) + C∫21−x2+4x​1​,dx=arcsin(5x−2​)+C

#Practice Questions

Practice Question
  1. Integrate: ∫1x2+4x+5,dx\int \frac{1}{x^{2} + 4x + 5} , dx∫x2+4x+51​,dx
Practice Question
  1. Integrate: ∫19−6x+x2,dx\int \frac{1}{\sqrt{9 - 6x + x^{2}}} , dx∫9−6x+x2​1​,dx

#Glossary

  • Quadratic Expression: A polynomial of degree 2, generally written as ax2+bx+cax^2 + bx + cax2+bx+c.
  • Completing the Square: A method used to rewrite a quadratic expression as a perfect square trinomial plus a constant.
  • Arcsin: The inverse sine function.
  • Arctan: The inverse tangent function.

#Summary and Key Takeaways

#Summary

  • Completing the square simplifies quadratic expressions and is a powerful tool in integration.
  • Standard integrals involving arcsin\mathrm{arcsin}arcsin and arctan\mathrm{arctan}arctan can be used once the quadratic expression is transformed into the appropriate form.

#Key Takeaways

  • Always convert the quadratic expression to a perfect square form.
  • Use standard integrals to find the antiderivative after completing the square.
  • Check your solution by differentiating to ensure accuracy.

Exam Tip

Completing the square is especially useful for integrals involving quadratic polynomials. Master this technique to handle a variety of integration problems effectively.

Common Mistake

Don't forget to adjust and compensate after completing the square, especially when dealing with coefficients in front of x2x^2x2.

Continue your learning journey

FlashcardFlashcard

Flashcard

Continute to Flashcard

Question BankQuestion Bank

Question Bank

Continute to Question Bank

Mock ExamMock Exam

Mock Exam

Continute to Mock Exam

Previous Topic - Integration Using SubstitutionNext Topic - Integration Using Long Division
Feedback stars icon

How are we doing?

Give us your feedback and let us know how we can improve

Question 1 of 7

What is the completed square form of x2+4x+1x^2 + 4x + 1x2+4x+1?

(x+2)2−3(x+2)^2 - 3(x+2)2−3

(x+4)2−15(x+4)^2 - 15(x+4)2−15

(x−2)2+5(x-2)^2 + 5(x−2)2+5

(x−4)2+17(x-4)^2 + 17(x−4)2+17