# Integral of dx/(sqrt(d^2+x^2))

1. Mar 30, 2012

### carlosbgois

Hi there. Evaluating the expression $\int\frac{dx}{\sqrt{x^{2}+y^{2}}}$ I can get to the result $ln(\frac{x+\sqrt{x^{2}+y^{2}}}{d})$, but in my book it goes from this directly to $ln (x+\sqrt{x^{2}+y^{2}})$, a result wolframalpha says is valid for 'restricted $x$ values'. What does it mean? What are those restricted values? Why?

Many thanks.

2. Mar 30, 2012

### DonAntonio

Well, since this is indefinite integration both the results are correct as their difference is just the constant $-\ln d$.

The question is: where did you get the constant $d$ from??

The result is valid for any values of $x,y, s.t. x^2+y^2\neq 0$

DonAntonio

3. Mar 30, 2012

### carlosbgois

Thank you. 'd' is actually a constant length (the distance from a point p to a disk, in an axis that goes through the center of the disk)