Integration by completing the square

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
luigihs
Messages
86
Reaction score
0
1/x^2 + 4x + 5



1) Completing the square
x^2 + 4x/2 + 5 - 4
(x+2)^2 +1

After this I know what to do??
 
Physics news on Phys.org
luigihs said:
1/x^2 + 4x + 5
1) Completing the square
x^2 + 4x/2 + 5 - 4
(x+2)^2 +1

After this I know what to do??
What's your question? You're asking about an integration problem - what is the problem?

x2 + 4x + 5 = x2 + 4x + 4 + 1 = (x + 2)2 + 1
 
What you wrote is
[tex]\frac{1}{x^2}+ 4x+ 5[/tex]
but I feel sure you meant
[tex]\frac{1}{x^2+ 4x+ 5}= \frac{1}{(x+2)^2+ 1}[/tex]

Now, do you know an integral formula for
[tex]\int \frac{dx}{x^2+a^2}[/tex]?