Solving Integral Question: ((x^2)+1)/((x^4)+1)

  • Thread starter Thread starter transgalactic
  • Start date Start date
  • Tags Tags
    Integral
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
16 replies · 3K views
transgalactic
Messages
1,386
Reaction score
0
((x^2)+1)/((x^4)+1)

i tride to solve it in every way possible
1.by splitting it into two polinomials
2.by subtsituting x^4=t
3.by puttinh x=tan t

nothing works

how do i solve it
 
Physics news on Phys.org
As far as I can tell, after some cheating, you're supposed to somehow figure out that [tex]x^4 + 1 = (x^2 + \sqrt{2}x + 1)(x^2 - \sqrt{2}x + 1)[/tex]. I'm not sure exactly how one would easily recognize that though (assuming I didn't make a mistake).
 
Well let's first put it in LaTeX for the benefit of the homework helpers:

[tex]\int \frac{x^2 +1}{x^4 + 1} dx[/tex]

How exactly did you cheat Mystic?
 
Wolfram's Integrator.
 
Mystic998 said:
I'm not sure exactly how one would easily recognize that though (assuming I didn't make a mistake).
Buy Gelfand's Algebra book and you'll be able to factor almost any polynomial :p
 
Last edited:
It's somewhat depressing getting recommendations for high school algebra books while sitting in my crappy three-person TA office.

Anyway, out of curiosity, how would one proceed in getting that factorization of x^4 + 1. I've honestly got no clue, and that would probably be handy information.
 
Gelfand may be intended for HS students, but his books are hard. I just finished Calc 2 and I still struggle on a lot of his problems.

[tex]x^4+2x^2+1-2x^2[/tex]

[tex](x^2+1)^2-(\sqrt{2}x)^2[/tex]

[tex](x^2+\sqrt{2}x+1)(x^2-\sqrt{2}x+1)[/tex]
 
Wow, I feel silly now. Thanks.
 
Mystic998 said:
Wow, I feel silly now. Thanks.
Exactly how I felt before learning a few things in his book :-x
 
After splitting it into 2, and using Mystic's advice ...

[tex]\int\frac{x^2}{(x^2+\sqrt{2}x+1)(x^2-\sqrt{2}x+1)}dx+\int\frac{1}{(x^2+\sqrt{2}x+1)(x^2-\sqrt{2}x+1)}dx[/tex]

Partial Fraction?
 
Last edited:
so how do i solve it after this step
 
transgalactic said:
so how do i solve it after this step
You have to use Partial Fractions, have you learned that method yet?
 
yes i did but it looks very scary
will it work?
 
transgalactic said:
yes i did but it looks very scary
will it work?
Yes and it's pretty much the only method I can think of. After that, you may want to mess around with completing the square, I did that in order to use arctan.
 
rocophysics said:
After splitting it into 2, and using Mystic's advice ...

[tex]\int\frac{x^2}{(x^2+\sqrt{2}x+1)(x^2-\sqrt{2}x+1)}dx+\int\frac{1}{(x^2+\sqrt{2}x+1)(x^2-\sqrt{2}x+1)}dx[/tex]

Partial Fraction?

Have you done it? Note I think it saves some work if you do not split it as rocophysics suggests but just notice that [tex]\frac{A}{(x^2+\sqrt{2}x+1)}+\frac{B}{(x^2-\sqrt{2}x+1)}[/tex]
is capable of giving the form [tex]\frac{(x^2 + 1)}{(x^4 + 1)}[/tex] and that part of it is quite simple to get.

Edit: I mean easy to see or find what A and B must be.
 
Last edited:
Since [tex]x^{4}+1 =(x^2 +i) (x^2 -i)[/tex], partial fraction decomposition is simply

[tex]\frac{x^{2}+1}{x^{4}+1} =\frac{1+i}{2}\frac{1}{x^2 +i} +\frac{1-i}{2}\frac{1}{x^2 -i }[/tex] and then the integration would be easy.
 
The remark of epenguin is correct, you can llok for A and B to make the integrals more easy to solve. However if you notice the following:

[tex]x^2+1=\frac{1}{2}(2x^2+2) = \frac{1}{2}\left[\left(x+\frac{\sqrt{2}}{2}\right)^2+\left(\frac{\sqrt{2}}{2}\right)^2\right] + \frac{1}{2}\left[\left(x-\frac{\sqrt{2}}{2}\right)^2+\left(\frac{\sqrt{2}}{2}\right)^2\right][/tex]

And also that:

[tex]x^4+1 = \left[\left(x+\frac{\sqrt{2}}{2}\right)^2+\left(\frac{\sqrt{2}}{2}\right)^2\right] \cdot \left[\left(x-\frac{\sqrt{2}}{2}\right)^2+\left(\frac{\sqrt{2}}{2}\right)^2\right][/tex]

You get two integrals involving arctan.