\int \frac{x^2 + 1}{x^4 + 1} \, dx

2 min read
104 views
Published June 24, 2025
Mathematics
Calculus
Integral Calculus
Indefinite Integration
Partial Fractions

💡 Want to ask your own questions?

Get instant explanations with AI • Free trial

Detailed Explanation

1. Why break the fraction?

The denominator x4+1x^4+1 is a quartic. Integrating a quartic directly is hard, so we factor it:

x4+1=(x2+2x+1)(x22x+1)x^4+1=(x^2+\sqrt{2}x+1)(x^2-\sqrt{2}x+1)

Once factored, we can try partial fractions, writing

x2+1x4+1=Ax+Bx2+2x+1+Cx+Dx22x+1\frac{x^2+1}{x^4+1}=\frac{Ax+B}{x^2+\sqrt{2}x+1}+\frac{Cx+D}{x^2-\sqrt{2}x+1}

2. Solving for the constants

By equating coefficients of like powers of xx, we find

  • A=C=0A=C=0
  • B=D=12B=D=\dfrac12

So the integrand becomes

x2+1x4+1=12[1x2+2x+1+1x22x+1]\frac{x^2+1}{x^4+1}=\frac12\left[\frac{1}{x^2+\sqrt{2}x+1}+\frac{1}{x^2-\sqrt{2}x+1}\right]

3. Completing the square

Each quadratic takes the form

x2±2x+1=(x±22)2+12x^2\pm \sqrt{2}x+1=\left(x\pm\frac{\sqrt{2}}2\right)^2+\frac12

Now every term is of the standard type dxu2+a2=1atan1 ⁣(ua)\displaystyle\int\frac{dx}{u^2+a^2}=\frac1a\tan^{-1}\!\left(\frac{u}{a}\right).

4. Integrate each part

Let

  • u1=x+22, a=12u_1=x+\dfrac{\sqrt{2}}2\,,\ a=\dfrac{1}{\sqrt{2}}
  • u2=x22, a=12u_2=x-\dfrac{\sqrt{2}}2\,,\ a=\dfrac{1}{\sqrt{2}}

Then

dxu12+a2=2tan1(u12)\int\frac{dx}{u_1^2+a^2}=\sqrt{2}\,\tan^{-1}(u_1\sqrt{2}) dxu22+a2=2tan1(u22)\int\frac{dx}{u_2^2+a^2}=\sqrt{2}\,\tan^{-1}(u_2\sqrt{2})

5. Combine the results

Add the two answers and multiply by 12\dfrac12 (the factor we had pulled out):

 ⁣x2+1x4+1dx=22[tan1(2x+1)+tan1(2x1)]+C\boxed{\displaystyle \int\!\frac{x^2+1}{x^4+1}\,dx=\frac{\sqrt{2}}2\Big[\tan^{-1}(\sqrt{2}x+1)+\tan^{-1}(\sqrt{2}x-1)\Big]+C}

The steps use three chief ideas that frequently appear in JEE:

  1. Factorisation of quartics
  2. Partial-fraction decomposition
  3. Standard arctan integral dxx2+a2=1atan1 ⁣(xa)\displaystyle\int\frac{dx}{x^2+a^2}=\frac1a\tan^{-1}\!\left(\frac{x}{a}\right)

Simple Explanation (ELI5)

🧒🏼 Imagine breaking a big biscuit into two easy-to-eat pieces

When you see a scary fraction like x2+1x4+1\dfrac{x^2+1}{x^4+1}, think of it as one big biscuit. If we split it into two smaller pieces, each piece is easy to chew (integrate).

  1. Break the big biscuit: we write it as two simpler fractions that add up to the same thing.
  2. Shape of the small pieces: each small piece now looks like 1(x+number)2+number\dfrac{1}{(x+\text{number})^2+\text{number}}, exactly the shape whose area we already know (it turns into an arctan).
  3. Eat (integrate) each smaller piece using the arctan rule.
  4. Join the answers back and add a +C (the magic constant).

👆 Found this helpful? Get personalized explanations for YOUR questions!

Step-by-Step Solution

Step-by-step working

  1. Factor the denominator
    x4+1=(x2+2x+1)(x22x+1)x^4+1=(x^2+\sqrt{2}x+1)(x^2-\sqrt{2}x+1)

  2. Set up partial fractions
    x2+1x4+1=Ax+Bx2+2x+1+Cx+Dx22x+1\frac{x^2+1}{x^4+1}=\frac{Ax+B}{x^2+\sqrt{2}x+1}+\frac{Cx+D}{x^2-\sqrt{2}x+1}

  3. Equate coefficients (compare both sides after multiplying through): [ \begin{aligned} &A+C=0,\ &-A\sqrt{2}+B+C\sqrt{2}+D=1,\ &A+C+\sqrt{2}(-B+D)=0,\ &B+D=1. \end{aligned} ] Solving gives A=C=0,  B=D=12A=C=0,\;B=D=\dfrac12.

  4. Rewrite integrand
    x2+1x4+1=12[1x2+2x+1+1x22x+1]\frac{x^2+1}{x^4+1}=\frac12\Bigg[\frac{1}{x^2+\sqrt{2}x+1}+\frac{1}{x^2-\sqrt{2}x+1}\Bigg]

  5. Complete the square
    [ x^2\pm\sqrt{2}x+1=\left(x\pm\frac{\sqrt{2}}2\right)^2+\frac12. ]

  6. Integrate each term
    [ \int\frac{dx}{\left(x!\pm!\frac{\sqrt{2}}2\right)^2+\frac12}=\sqrt{2},\tan^{-1}!\Big(\sqrt{2},x!\pm!1\Big)+C. ]

  7. Combine and simplify
    [ \begin{aligned} \int\frac{x^2+1}{x^4+1},dx&=\frac12\Big[\sqrt{2},\tan^{-1}(\sqrt{2}x+1)+\sqrt{2},\tan^{-1}(\sqrt{2}x-1)\Big]+C\[6pt] &=\frac{\sqrt{2}}2\Big[\tan^{-1}(\sqrt{2}x+1)+\tan^{-1}(\sqrt{2}x-1)\Big]+C. \end{aligned} ]

Final Answer
22[tan1(2x+1)+tan1(2x1)]+C\boxed{\displaystyle \frac{\sqrt{2}}2\Big[\tan^{-1}(\sqrt{2}x+1)+\tan^{-1}(\sqrt{2}x-1)\Big]+C}

Examples

Example 1

Electronic filter design uses partial fractions to convert complex impedance into simpler RC components.

Example 2

Pharmacokinetics models break drug-concentration fractions into sums that integrate to exponential decays.

Example 3

Control systems decompose transfer functions into first-order terms, requiring exactly this algebra.

Visual Representation

References

🤔 Have Your Own Question?

Get instant AI explanations in multiple languages with diagrams, examples, and step-by-step solutions!

AI-Powered Explanations
🎯Multiple Languages
📊Interactive Diagrams

No signup required • Try 3 questions free