lavster said:
hi, i was readin through a textbook on electrodynamics and this integral has stumped me - can someone please tell me how to solve it-thanks!
[tex]\int\frac{1}{(z^2+x^2)^{\frac{3}{2}}}dx[/tex]
where z is an independent variable, which can be treated as a constant
Use the fact that [itex]1+ tan^2(\theta)= sec^2(\theta)[/itex] so that [itex]\sqrt{1+ tan^2(\theta)}= sec(\theta)[/itex] to get rid of the square root.
Specifically, let [itex]x= z tan(\theta)[/itex] so that [itex]z^2+ x^2= z^2+ z^2tan^2(\theta)= z^2(1+ tan^2(\theta))[/itex] and then [itex]\sqrt{z^2+ x^2}= z sec(\theta)[/itex].
Of course, you will also need to set [itex]dx= z sec^2(\theta)d\theta[/itex] so the integral becomes
[tex]\int \frac{1}{z^3 sec^3theta)} (z sec^2(\theta)d\theta= \frac{1}{z^2}\int \frac{1}{sec(\theta)}d\theta[/tex]
Now, since [itex]sec(\theta)= 1/cos(\theta)[/itex], that integral becomes
[tex]\frac{1}{z^2}\int cos(\theta)d\theta=\frac{1}{z^2} sin(\theta)+ C[/tex].
Since [itex]tan(\theta)= x/z[/itex], you can imagine a right triangle with "opposite side" x and "near side" z. Then the hypotenuse has length [itex]\sqrt{x^2+ z^2}[/itex], [itex]sin(\theta)[/itex]= "opposite side over hypotenuse" or [itex]x/\sqrt{x^2+ z^2}[/itex] so the integral is
[tex]\frac{xz^2}{x^2+ z^2}+ C[/tex]