Integration With Completing the Square

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
Bashyboy
Messages
1,419
Reaction score
5
The problem is: [itex]\int\frac{1}{\sqrt{1-4x-x^2}}dx[/itex]

I took the expression under the radical and I completed the square, yielding: [itex]\int\frac{1}{\sqrt{5-(x+2)^2}}dx[/itex]

Then I figured that I could apply the arcsin formula, where [itex]a^2=5[/itex] and[itex]u^2=(x+2)^2[/itex]

But by solving for "a" and "u," I would be left with two roots, wouldn't I?
 
Physics news on Phys.org
What exactly would you solve for a and u?
 
Forget about the "formula". If you're unsure, do some integration by substitution and try to get to something familiar.

[tex]\int \frac{1}{\sqrt{5-(x+2)^2}}dx=\int \frac{1}{\sqrt{5}}\frac{1}{\sqrt{1-\frac{(x+2)^2}{5}}}dx=\frac{1}{\sqrt{5}} \int \frac{1}{\sqrt{1-\left(\frac{x+2}{\sqrt{5}}\right)^2}}dx[/tex]
What should you do next? The integrand is essentially [itex]\frac{1}{\sqrt{1-x^2}}[/itex], you just need the right substitution.
 
Thank you, Christoff, that was rather clever.