📚

 > 

♾️ 

 > 

🔥

6.10 Integrating Functions Using Long Division and Completing the Square

1 min readjune 18, 2024

6.10 Integrating Functions Using Long Division and Completing the Square

Ever find yourself dealing with a tricky integral that doesn't seem possible with techniques you’re familiar with? This is when your knowledge of Algebra and Precalculus comes in handy. As you’ll learn today, it is possible to use techniques such as polynomial long division and completing the square to rearrange integral expressions into simpler, more approachable problems to solve. 🙌


➗ Integrating Using Long Division

If you can recall from Precalculus, a rational function has a polynomial in the numerator and the denominator of the function. A good rule of thumb is if the numerator of the rational function is an equal degree or higher than the denominator, long division might be the way to go.

✏️ Integrating Using Long Division Walkthrough

Solve the integral expression:

2x24x+1dx∫\frac{2x^2-4}{x+1}dx

First things first, we can see that we have a rational function, where the degree in the numerator is higher than that of the denominator. Let’s go ahead and solve it with long division!

Since we can see a quadratic function in the numerator and a linear function in the denominator, we can use long division to simplify this integral:2-2

Screenshot 2024-01-16 184649.png

Image Courtesy of MathCelebrity

Now, replace your integrand with the answer from your polynomial division:

(2x22x+1)dx∫(2x-2-\frac{2}{x+1})dx
x22x2lnx+1+C\boxed{x^2-2x-2\ln|x+1|+C}

Great job! You can now identify and solve integrals involving long division. 😊

Usually, these problems appear in the multiple-choice section and a quick look at the answer options can tell you that you may be looking at a long-division integral. If you see multiple answer options that start off as polynomials and end with a natural log term, that is a strong indicator of a long-division integral. For the last several years, this type of problem has appeared, at most, as one problem in the multiple-choice section.


🟦 Integrating Using Complete the Square

If you come across an integral with a quadratic expression in the integrand, and it's missing a perfect square term, completing the square could be very helpful. Manipulating the quadratic expression by adding and subtracting the right value allows you to simplify the integral and make it more manageable. This is commonly seen in integral expressions that end up being inverse trigonometric functions.

✏️ Integrating Using Complete the Square Walkthrough

Solve the integral expression:

4t24t+20dt∫\frac{4}{t^2-4t+20}dt

First, complete the square of the denominator, which is currently a quadratic expression. To complete the square, we want it in the form (th)2+k(t-h)^2+k.

t24t+20=(t24t+4)+204t^2-4t+20=(t^2-4t+4)+20-4
=(t2)2+16=(t-2)^2+16

Next, we need to place it into the integrand:

4(t2)2+16dt∫\frac{4}{(t-2)^2+16}dt

The next step is not necessarily intuitive. You should be starting to sense that we are heading towards an inverse trig solution. As such, making the numerator a 1 would make the integral easier.

41(t2)2+16dt4∫\frac{1}{(t-2)^2+16}dt

You may start to realize that this integral can be manipulated to resemble the integral of arctan\arctan:

1x2+a2dx=1aarctan(xa)+C∫\frac{1}{x^2+a^2}dx=\frac{1}{a}\arctan(\frac{x}{a})+C

Compare what you have with this integral and you’ll see that x=t2x=t-2 and a=4a=4. Substitute these into the formula. Remember to multiply the whole integral by the constant in the numerator, which is 4 in this case.

414arctan(t24)+C4\cdot\frac{1}{4}\arctan(\frac{t-2}{4})+C
arctan(t24)+C\arctan(\frac{t-2}{4})+C

Awesome work!!


⭐ Practice Problems

Practice #1

Evaluate the following integral.

2x3+3x217x27x29dx∫\frac{2x^3+3x^2-17x-27}{x^2-9}dx

And here’s the work for it!

Screenshot 2024-01-16 185349.png

Image Courtesy of MathCelebrity

(2x+3+xx29)dx∫(2x+3+\frac{x}{x^2-9})dx
x2+3x+12ln(x29)+Cx^2+3x+\frac{1}{2}ln(|x^2-9|)+C

Practice #2

Evaluate the following integral.

13x22xdx∫\frac{1}{\sqrt{3-x^2-2x}}dx

This time, integrate by completing the square.

x22x+3=(x+1)2+3+1-x^2-2x+3=-(x+1)^2+3+1
1(x+1)2+4dx∫\frac{1}{\sqrt{-(x+1)^2+4}}dx
arcsin(12(x+1))+C\arcsin(\frac{1}{2}(x+1))+C

Practice #3

Evaluate the following integral.

x2x+1dx∫\frac{x^2}{x+1}dx

Last but not least, another long-division question!

Screenshot 2024-01-16 190335.png

Image Courtesy of MathCelebrity

(x1+1x+1)dx∫(x-1+\frac{1}{x+1})dx
12x2x+ln(x+1)+C\frac{1}{2}x^2-x+ln(|x+1|)+C

🔷 Closing

Well done! 🎉

You can now successfully integrate expressions that require you to complete the square and do long division to simplify the integrand. These problems can get pretty convoluted, so it is important to get enough practice with them. Happy studying!

<< Hide Menu

📚

 > 

♾️ 

 > 

🔥

6.10 Integrating Functions Using Long Division and Completing the Square

1 min readjune 18, 2024

6.10 Integrating Functions Using Long Division and Completing the Square

Ever find yourself dealing with a tricky integral that doesn't seem possible with techniques you’re familiar with? This is when your knowledge of Algebra and Precalculus comes in handy. As you’ll learn today, it is possible to use techniques such as polynomial long division and completing the square to rearrange integral expressions into simpler, more approachable problems to solve. 🙌


➗ Integrating Using Long Division

If you can recall from Precalculus, a rational function has a polynomial in the numerator and the denominator of the function. A good rule of thumb is if the numerator of the rational function is an equal degree or higher than the denominator, long division might be the way to go.

✏️ Integrating Using Long Division Walkthrough

Solve the integral expression:

2x24x+1dx∫\frac{2x^2-4}{x+1}dx

First things first, we can see that we have a rational function, where the degree in the numerator is higher than that of the denominator. Let’s go ahead and solve it with long division!

Since we can see a quadratic function in the numerator and a linear function in the denominator, we can use long division to simplify this integral:2-2

Screenshot 2024-01-16 184649.png

Image Courtesy of MathCelebrity

Now, replace your integrand with the answer from your polynomial division:

(2x22x+1)dx∫(2x-2-\frac{2}{x+1})dx
x22x2lnx+1+C\boxed{x^2-2x-2\ln|x+1|+C}

Great job! You can now identify and solve integrals involving long division. 😊

Usually, these problems appear in the multiple-choice section and a quick look at the answer options can tell you that you may be looking at a long-division integral. If you see multiple answer options that start off as polynomials and end with a natural log term, that is a strong indicator of a long-division integral. For the last several years, this type of problem has appeared, at most, as one problem in the multiple-choice section.


🟦 Integrating Using Complete the Square

If you come across an integral with a quadratic expression in the integrand, and it's missing a perfect square term, completing the square could be very helpful. Manipulating the quadratic expression by adding and subtracting the right value allows you to simplify the integral and make it more manageable. This is commonly seen in integral expressions that end up being inverse trigonometric functions.

✏️ Integrating Using Complete the Square Walkthrough

Solve the integral expression:

4t24t+20dt∫\frac{4}{t^2-4t+20}dt

First, complete the square of the denominator, which is currently a quadratic expression. To complete the square, we want it in the form (th)2+k(t-h)^2+k.

t24t+20=(t24t+4)+204t^2-4t+20=(t^2-4t+4)+20-4
=(t2)2+16=(t-2)^2+16

Next, we need to place it into the integrand:

4(t2)2+16dt∫\frac{4}{(t-2)^2+16}dt

The next step is not necessarily intuitive. You should be starting to sense that we are heading towards an inverse trig solution. As such, making the numerator a 1 would make the integral easier.

41(t2)2+16dt4∫\frac{1}{(t-2)^2+16}dt

You may start to realize that this integral can be manipulated to resemble the integral of arctan\arctan:

1x2+a2dx=1aarctan(xa)+C∫\frac{1}{x^2+a^2}dx=\frac{1}{a}\arctan(\frac{x}{a})+C

Compare what you have with this integral and you’ll see that x=t2x=t-2 and a=4a=4. Substitute these into the formula. Remember to multiply the whole integral by the constant in the numerator, which is 4 in this case.

414arctan(t24)+C4\cdot\frac{1}{4}\arctan(\frac{t-2}{4})+C
arctan(t24)+C\arctan(\frac{t-2}{4})+C

Awesome work!!


⭐ Practice Problems

Practice #1

Evaluate the following integral.

2x3+3x217x27x29dx∫\frac{2x^3+3x^2-17x-27}{x^2-9}dx

And here’s the work for it!

Screenshot 2024-01-16 185349.png

Image Courtesy of MathCelebrity

(2x+3+xx29)dx∫(2x+3+\frac{x}{x^2-9})dx
x2+3x+12ln(x29)+Cx^2+3x+\frac{1}{2}ln(|x^2-9|)+C

Practice #2

Evaluate the following integral.

13x22xdx∫\frac{1}{\sqrt{3-x^2-2x}}dx

This time, integrate by completing the square.

x22x+3=(x+1)2+3+1-x^2-2x+3=-(x+1)^2+3+1
1(x+1)2+4dx∫\frac{1}{\sqrt{-(x+1)^2+4}}dx
arcsin(12(x+1))+C\arcsin(\frac{1}{2}(x+1))+C

Practice #3

Evaluate the following integral.

x2x+1dx∫\frac{x^2}{x+1}dx

Last but not least, another long-division question!

Screenshot 2024-01-16 190335.png

Image Courtesy of MathCelebrity

(x1+1x+1)dx∫(x-1+\frac{1}{x+1})dx
12x2x+ln(x+1)+C\frac{1}{2}x^2-x+ln(|x+1|)+C

🔷 Closing

Well done! 🎉

You can now successfully integrate expressions that require you to complete the square and do long division to simplify the integrand. These problems can get pretty convoluted, so it is important to get enough practice with them. Happy studying!