Integrate 1/(x^2+y^2)^(3/2)

Well, so I really want to integrate what's shown in the title:
i.e.
$$\int \frac{dx}{(x^2+y^2)^\frac{3}{2}}$$

Now, I know there are quite a few straightforward answers to this. But what I really want is how people who do math got this formula in the first place. I don't just want a formula that seems to have come from a serendipitous accident or something. Please tell me how to derive the answer.

(You might have guessed this has something to do with electric fields)

Thank you for helping.

Last edited:

Hmm, are we keeping y constant here? If so then a trig substitution should might be a good first step.

Yes, y is a constant.

Trig substitution? The final answer doesn't have any trig functions.

That's because it probably involves an inverse trig function nested inside a trig function which of course would undo the trig function. Anyways you'll see what I mean if you try it.

Anyways I would try the substitution x = y*tan(t) (Have you learned u-sub?).

Last edited:
HallsofIvy
Homework Helper

$sin^2(\theta)+ cos^2(\theta)= 1$ so, dividing on both sides by $cos(\theta)$, $tan^2(\theta)+ 1= sec^2(\theta)$. Thats why snipez90 suggested "tan(t)". Let $x= ytan(\theta)$. In that case $x^2+ y^2= y^2tan^2(\theta)+ y^2= y^2(tan^2(\theta)+ 1)= y^2sec^2(\theta)$ so that $(x^2+ y^2)^{3/2}= (y^2sec^2(\theta))^{3/2}= y^3 sec^3(\theta)$.

Also, it $x= y tan(\theta)$, then $dx= ysec^2(\theta)d\theta$.

So the integral, $\int dx/(x^2+ y^2)^{3/2}$ becomes
$$\int \frac{y sec^2(\theta)d\theta}{y^3 sec^3(\theta)}= \int\frac{d\theta}{y^2 sec(\theta)}$$
$$= \frac{1}{y^2}\int cos(\theta)d\theta= \frac{1}{y^2}sin(\theta)+ C[/itex] Since $tan(\theta)= x/y$, imagine a right triangle having angle $\theta$, opposite side of length x, and near side of length y. Then the hypotenuse of that triangle has length $\sqrt{x^2+ y^2}$ and so $cos(\theta)= y/\sqrt{x^2+ y^2}$. That means that $(1/y^2)cos(\theta)+ C= (1/y^2)(y/\sqrt{x^2+ y^2})+ C= 1/(y\sqrt{x^2+ y^2})+ C$ @snipez90: Yes I've learned substitution. If it's solvable by substitution, then I just have the problem of finding what to substitute. @HallsofIvy: Ooh, that is one clever substitution. I never thought of that. What I don't get is why you are trying to find: $(1/y^2)cos(\theta)+ C= (1/y^2)(y/\sqrt{x^2+ y^2})+ C= 1/(y\sqrt{x^2+ y^2})+ C$ when there's a sin(x) in the final equation. In that case, the answer would be: [tex]{1 \over y^2} sin(\theta) + C = {1 \over y^2} {x \over \sqrt{x^2+y^2}} + C$$

Thanks so much!

Freiddie

I don't just want a formula that seems to have come from a serendipitous accident or something.
To put it to you bluntly, this is in fact where most integration formulae come from. Things like the above proof usually only come after the discovery of the initial function.

To put it to you bluntly, this is in fact where most integration formulae come from. Things like the above proof usually only come after the discovery of the initial function.

That's a depressing thought.

(I digress - Is there a possibility that a Turing machine exists that calculates integrals?)

Ben Niehoff
Gold Member

(I digress - Is there a possibility that a Turing machine exists that calculates integrals?)

No, there is no algorithm for finding general integrals (contrast to derivatives, for which there are very clear-cut algorithms). Many integral formulas were found, as mentioned, by lucky guesses (although many of those are still arrivable deterministically, if one is clever enough).

HallsofIvy