# How to integrate 1/(x^2 +1)^2, does partial fractions work?

#### timjones007

how do you integrate 1/(x2 + 1)2 ?

i have tried integration by partial fractions but when you set 1 equal to (Ax +B)(x2+1) + (Cx + D) this leads to A=B=C=0 and D=1 which just gives you the original equation

#### TheFurryGoat

Re: integration

Try subbing x=tan(u), dx=1/cos^2(u)

#### Count Iblis

Re: integration

Partial fraction in terms of the complex linear fractions 1/(x±i) and 1/(x±i)^2 will also work. You can then take together terms with their complex conjugate and then rewrite everything in a manifestly real form (you need to use the relation between the logarithm and arctan etc.).

#### timjones007

Re: integration

ah thank you that works

### The Physics Forums Way

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving