👉 Try now NerdPal! Our new math app on iOS and Android

Find the integral $\int\frac{x+8}{x^6-2x^4+x^2}dx$

Step-by-step Solution

Go!
Math mode
Text mode
Go!
1
2
3
4
5
6
7
8
9
0
a
b
c
d
f
g
m
n
u
v
w
x
y
z
.
(◻)
+
-
×
◻/◻
/
÷
2

e
π
ln
log
log
lim
d/dx
Dx
|◻|
θ
=
>
<
>=
<=
sin
cos
tan
cot
sec
csc

asin
acos
atan
acot
asec
acsc

sinh
cosh
tanh
coth
sech
csch

asinh
acosh
atanh
acoth
asech
acsch

Final Answer

$\frac{-9}{4\left(x-1\right)}+\frac{-7}{4\left(x+1\right)}+\frac{-32}{37x}-2.943243\ln\left(x-1\right)+2.714414\ln\left(x+1\right)+\frac{49}{370}\ln\left(x\right)+C_0$
Got another answer? Verify it here!

Step-by-step Solution

Specify the solving method

We could not solve this problem by using the method: Integrate by trigonometric substitution

1

We can factor the polynomial $x^6-2x^4+x^2$ using the rational root theorem, which guarantees that for a polynomial of the form $a_nx^n+a_{n-1}x^{n-1}+\dots+a_0$ there is a rational root of the form $\pm\frac{p}{q}$, where $p$ belongs to the divisors of the constant term $a_0$, and $q$ belongs to the divisors of the leading coefficient $a_n$. List all divisors $p$ of the constant term $a_0$, which equals $0$

$1$
2

Next, list all divisors of the leading coefficient $a_n$, which equals $1$

$1$
3

The possible roots $\pm\frac{p}{q}$ of the polynomial $x^6-2x^4+x^2$ will then be

$\pm5,\:\pm4,\:\pm3,\:\pm2,\:\pm1$
4

We can factor the polynomial $x^6-2x^4+x^2$ using synthetic division (Ruffini's rule). We found that $1$ is a root of the polynomial

$1^6-2\cdot 1^4+1^2=0$
5

Now, divide the polynomial by the root we found $\left(x-1\right)$ using synthetic division (Ruffini's rule). First, write the coefficients of the terms of the numerator in descending order. Then, take the first coefficient $1$ and multiply by the factor $1$. Add the result to the second coefficient and then multiply this by $1$ and so on

$\left|\begin{array}{c}1 & 0 & -2 & 0 & 1 & 0 & 0 \\ & 1 & 1 & -1 & -1 & 0 & 0 \\ 1 & 1 & -1 & -1 & 0 & 0 & 0\end{array}\right|1$
6

In the last row of the division appear the new coefficients, with remainder equals zero. Now, rewrite the polynomial (a degree less) with the new coefficients, and multiplied by the factor $\left(x-1\right)$

$\int\frac{x+8}{\left(x^{5}+x^{4}-x^{3}-x^{2}\right)\left(x-1\right)}dx$
7

We can factor the polynomial $\left(x^{5}+x^{4}-x^{3}-x^{2}\right)$ using the rational root theorem, which guarantees that for a polynomial of the form $a_nx^n+a_{n-1}x^{n-1}+\dots+a_0$ there is a rational root of the form $\pm\frac{p}{q}$, where $p$ belongs to the divisors of the constant term $a_0$, and $q$ belongs to the divisors of the leading coefficient $a_n$. List all divisors $p$ of the constant term $a_0$, which equals $0$

$1$
8

Next, list all divisors of the leading coefficient $a_n$, which equals $1$

$1$
9

The possible roots $\pm\frac{p}{q}$ of the polynomial $\left(x^{5}+x^{4}-x^{3}-x^{2}\right)$ will then be

$\pm5,\:\pm4,\:\pm3,\:\pm2,\:\pm1$
10

We can factor the polynomial $\left(x^{5}+x^{4}-x^{3}-x^{2}\right)$ using synthetic division (Ruffini's rule). We found that $1$ is a root of the polynomial

$1^{5}+1^{4}-1\cdot 1^{3}-1\cdot 1^{2}=0$
11

Now, divide the polynomial by the root we found $\left(x-1\right)$ using synthetic division (Ruffini's rule). First, write the coefficients of the terms of the numerator in descending order. Then, take the first coefficient $1$ and multiply by the factor $1$. Add the result to the second coefficient and then multiply this by $1$ and so on

$\left|\begin{array}{c}1 & 1 & -1 & -1 & 0 & 0 \\ & 1 & 2 & 1 & 0 & 0 \\ 1 & 2 & 1 & 0 & 0 & 0\end{array}\right|1$
12

In the last row of the division appear the new coefficients, with remainder equals zero. Now, rewrite the polynomial (a degree less) with the new coefficients, and multiplied by the factor $\left(x-1\right)$

$\int\frac{x+8}{\left(x^{4}+2x^{3}+x^{2}\right)\left(x-1\right)\cdot \left(x-1\right)}dx$
13

We can factor the polynomial $\left(x^{4}+2x^{3}+x^{2}\right)$ using the rational root theorem, which guarantees that for a polynomial of the form $a_nx^n+a_{n-1}x^{n-1}+\dots+a_0$ there is a rational root of the form $\pm\frac{p}{q}$, where $p$ belongs to the divisors of the constant term $a_0$, and $q$ belongs to the divisors of the leading coefficient $a_n$. List all divisors $p$ of the constant term $a_0$, which equals $0$

$1$
14

Next, list all divisors of the leading coefficient $a_n$, which equals $1$

$1$
15

The possible roots $\pm\frac{p}{q}$ of the polynomial $\left(x^{4}+2x^{3}+x^{2}\right)$ will then be

$\pm5,\:\pm4,\:\pm3,\:\pm2,\:\pm1$
16

We can factor the polynomial $\left(x^{4}+2x^{3}+x^{2}\right)$ using synthetic division (Ruffini's rule). We found that $-1$ is a root of the polynomial

${\left(-1\right)}^{4}+2\cdot {\left(-1\right)}^{3}+{\left(-1\right)}^{2}=0$
17

Now, divide the polynomial by the root we found $\left(x+1\right)$ using synthetic division (Ruffini's rule). First, write the coefficients of the terms of the numerator in descending order. Then, take the first coefficient $1$ and multiply by the factor $-1$. Add the result to the second coefficient and then multiply this by $-1$ and so on

$\left|\begin{array}{c}1 & 2 & 1 & 0 & 0 \\ & -1 & -1 & 0 & 0 \\ 1 & 1 & 0 & 0 & 0\end{array}\right|-1$
18

In the last row of the division appear the new coefficients, with remainder equals zero. Now, rewrite the polynomial (a degree less) with the new coefficients, and multiplied by the factor $\left(x+1\right)$

$\int\frac{x+8}{\left(x^{3}+x^{2}\right)\left(x+1\right)\left(x-1\right)\cdot \left(x-1\right)}dx$
19

Factor the polynomial $\left(x^{3}+x^{2}\right)$ by it's greatest common factor (GCF): $x^2$

$\int\frac{x+8}{\left(x-1\right)^2\left(x+1\right)^2x^2}dx$
20

Rewrite the fraction $\frac{x+8}{\left(x-1\right)^2\left(x+1\right)^2x^2}$ in $6$ simpler fractions using partial fraction decomposition

$\frac{x+8}{\left(x-1\right)^2\left(x+1\right)^2x^2}=\frac{A}{\left(x-1\right)^2}+\frac{B}{\left(x+1\right)^2}+\frac{C}{x^2}+\frac{D}{x-1}+\frac{F}{x+1}+\frac{G}{x}$
21

Find the values for the unknown coefficients: $A, B, C, D, F, G$. The first step is to multiply both sides of the equation from the previous step by $\left(x-1\right)^2\left(x+1\right)^2x^2$

$x+8=\left(x-1\right)^2\left(x+1\right)^2x^2\left(\frac{A}{\left(x-1\right)^2}+\frac{B}{\left(x+1\right)^2}+\frac{C}{x^2}+\frac{D}{x-1}+\frac{F}{x+1}+\frac{G}{x}\right)$
22

Multiplying polynomials

$x+8=\frac{\left(x-1\right)^2\left(x+1\right)^2x^2A}{\left(x-1\right)^2}+\frac{\left(x-1\right)^2\left(x+1\right)^2x^2B}{\left(x+1\right)^2}+\frac{\left(x-1\right)^2\left(x+1\right)^2x^2C}{x^2}+\frac{\left(x-1\right)^2\left(x+1\right)^2x^2D}{x-1}+\frac{\left(x-1\right)^2\left(x+1\right)^2x^2F}{x+1}+\frac{\left(x-1\right)^2\left(x+1\right)^2x^2G}{x}$
23

Simplifying

$x+8=\left(x+1\right)^2x^2A+\left(x-1\right)^2x^2B+\left(x-1\right)^2\left(x+1\right)^2C+\left(x-1\right)\left(x+1\right)^2x^2D+\left(x-1\right)^2\left(x+1\right)x^2F+\left(x-1\right)^2\left(x+1\right)^2xG$
24

Assigning values to $x$ we obtain the following system of equations

$\begin{matrix}9=4A&\:\:\:\:\:\:\:(x=1) \\ 7=4B&\:\:\:\:\:\:\:(x=-1) \\ 10=36A+4B+9C+36D+12F+18G&\:\:\:\:\:\:\:(x=2) \\ 6=4A+36B+9C-12D-36F-18G&\:\:\:\:\:\:\:(x=-2) \\ 11=144A+36B+64C+288D+144F+192G&\:\:\:\:\:\:\:(x=3) \\ 5=36A+144B+64C-144D-288F-192G&\:\:\:\:\:\:\:(x=-3)\end{matrix}$
25

Proceed to solve the system of linear equations

$\begin{matrix}4A & + & 0B & + & 0C & + & 0D & + & 0F & + & 0G & =9 \\ 0A & + & 4B & + & 0C & + & 0D & + & 0F & + & 0G & =7 \\ 36A & + & 0B & + & 0C & + & 36D & + & 12F & + & 18G & =10 \\ 0A & + & 36B & + & 9C & - & 12D & - & 36F & - & 18G & =6 \\ 144A & + & 36B & + & 64C & + & 288D & + & 144F & + & 192G & =11 \\ 36A & + & 144B & + & 64C & - & 144D & - & 288F & - & 192G & =5\end{matrix}$
26

Rewrite as a coefficient matrix

$\left(\begin{matrix}4 & 0 & 0 & 0 & 0 & 0 & 9 \\ 0 & 4 & 0 & 0 & 0 & 0 & 7 \\ 36 & 0 & 0 & 36 & 12 & 18 & 10 \\ 0 & 36 & 9 & -12 & -36 & -18 & 6 \\ 144 & 36 & 64 & 288 & 144 & 192 & 11 \\ 36 & 144 & 64 & -144 & -288 & -192 & 5\end{matrix}\right)$
27

Reducing the original matrix to a identity matrix using Gaussian Elimination

$\left(\begin{matrix}1 & 0 & 0 & 0 & 0 & 0 & \frac{9}{4} \\ 0 & 1 & 0 & 0 & 0 & 0 & \frac{7}{4} \\ 0 & 0 & 1 & 0 & 0 & 0 & \frac{32}{37} \\ 0 & 0 & 0 & 1 & 0 & 0 & -2.943243243243243 \\ 0 & 0 & 0 & 0 & 1 & 0 & 2.714414 \\ 0 & 0 & 0 & 0 & 0 & 1 & \frac{49}{370}\end{matrix}\right)$
28

The integral of $\frac{x+8}{\left(x-1\right)^2\left(x+1\right)^2x^2}$ in decomposed fraction equals

$\int\left(\frac{9}{4\left(x-1\right)^2}+\frac{7}{4\left(x+1\right)^2}+\frac{32}{37x^2}+\frac{-2.943243}{x-1}+\frac{2.714414}{x+1}+\frac{\frac{49}{370}}{x}\right)dx$
29

Expand the integral $\int\left(\frac{9}{4\left(x-1\right)^2}+\frac{7}{4\left(x+1\right)^2}+\frac{32}{37x^2}+\frac{-2.943243}{x-1}+\frac{2.714414}{x+1}+\frac{\frac{49}{370}}{x}\right)dx$ into $6$ integrals using the sum rule for integrals, to then solve each integral separately

$\int\frac{9}{4\left(x-1\right)^2}dx+\int\frac{7}{4\left(x+1\right)^2}dx+\int\frac{32}{37x^2}dx+\int\frac{-2.943243}{x-1}dx+\int\frac{2.714414}{x+1}dx+\int\frac{\frac{49}{370}}{x}dx$
30

We can solve the integral $\int\frac{9}{4\left(x-1\right)^2}dx$ by applying integration by substitution method (also called U-Substitution). First, we must identify a section within the integral with a new variable (let's call it $u$), which when substituted makes the integral easier. We see that $x-1$ it's a good candidate for substitution. Let's define a variable $u$ and assign it to the choosen part

$u=x-1$
31

Now, in order to rewrite $dx$ in terms of $du$, we need to find the derivative of $u$. We need to calculate $du$, we can do that by deriving the equation above

$du=dx$
32

Substituting $u$ and $dx$ in the integral and simplify

$\frac{1}{4}\int\frac{9}{u^2}du+\int\frac{7}{4\left(x+1\right)^2}dx+\int\frac{32}{37x^2}dx+\int\frac{-2.943243}{x-1}dx+\int\frac{2.714414}{x+1}dx+\int\frac{\frac{49}{370}}{x}dx$
33

The integral $\frac{1}{4}\int\frac{9}{u^2}du$ results in: $\frac{-9}{4\left(x-1\right)}$

$\frac{-9}{4\left(x-1\right)}$
34

The integral $\int\frac{7}{4\left(x+1\right)^2}dx$ results in: $\frac{-7}{4\left(x+1\right)}$

$\frac{-7}{4\left(x+1\right)}$
35

The integral $\int\frac{32}{37x^2}dx$ results in: $\frac{-32}{37x}$

$\frac{-32}{37x}$
36

The integral $\int\frac{-2.943243}{x-1}dx$ results in: $-2.943243\ln\left(x-1\right)$

$-2.943243\ln\left(x-1\right)$
37

The integral $\int\frac{2.714414}{x+1}dx$ results in: $2.714414\ln\left(x+1\right)$

$2.714414\ln\left(x+1\right)$
38

The integral $\int\frac{\frac{49}{370}}{x}dx$ results in: $\frac{49}{370}\ln\left(x\right)$

$\frac{49}{370}\ln\left(x\right)$
39

Gather the results of all integrals

$\frac{-9}{4\left(x-1\right)}+\frac{-7}{4\left(x+1\right)}+\frac{-32}{37x}-2.943243\ln\left(x-1\right)+2.714414\ln\left(x+1\right)+\frac{49}{370}\ln\left(x\right)$
40

As the integral that we are solving is an indefinite integral, when we finish integrating we must add the constant of integration $C$

$\frac{-9}{4\left(x-1\right)}+\frac{-7}{4\left(x+1\right)}+\frac{-32}{37x}-2.943243\ln\left(x-1\right)+2.714414\ln\left(x+1\right)+\frac{49}{370}\ln\left(x\right)+C_0$

Final Answer

$\frac{-9}{4\left(x-1\right)}+\frac{-7}{4\left(x+1\right)}+\frac{-32}{37x}-2.943243\ln\left(x-1\right)+2.714414\ln\left(x+1\right)+\frac{49}{370}\ln\left(x\right)+C_0$

Explore different ways to solve this problem

Solving a math problem using different methods is important because it enhances understanding, encourages critical thinking, allows for multiple solutions, and develops problem-solving strategies. Read more

Solve integral of ((x+8)/(x^6+-2x^4))dx using partial fractionsSolve integral of ((x+8)/(x^6+-2x^4))dx using basic integralsSolve integral of ((x+8)/(x^6+-2x^4))dx using u-substitutionSolve integral of ((x+8)/(x^6+-2x^4))dx using integration by parts

Give us your feedback!

Function Plot

Plotting: $\frac{-9}{4\left(x-1\right)}+\frac{-7}{4\left(x+1\right)}+\frac{-32}{37x}-2.943243\ln\left(x-1\right)+2.714414\ln\left(x+1\right)+\frac{49}{370}\ln\left(x\right)+C_0$

SnapXam A2
Answer Assistant

beta
Got a different answer? Verify it!

Go!
1
2
3
4
5
6
7
8
9
0
a
b
c
d
f
g
m
n
u
v
w
x
y
z
.
(◻)
+
-
×
◻/◻
/
÷
2

e
π
ln
log
log
lim
d/dx
Dx
|◻|
θ
=
>
<
>=
<=
sin
cos
tan
cot
sec
csc

asin
acos
atan
acot
asec
acsc

sinh
cosh
tanh
coth
sech
csch

asinh
acosh
atanh
acoth
asech
acsch

How to improve your answer:

Your Math & Physics Tutor. Powered by AI

Available 24/7, 365.

Unlimited step-by-step math solutions. No ads.

Includes multiple solving methods.

Support for more than 100 math topics.

Premium access on our iOS and Android apps as well.

20% discount on online tutoring.

Choose your subscription plan:
Have a promo code?
Pay $39.97 USD securely with your payment method.
Please hold while your payment is being processed.
Create an Account