Let X and Y be random variables with a joint probability density function (joint PDF) given by
$ f_{X,Y}(x,y) \quad=\quad \begin{cases} \frac{c}{1+x^2+y^2} & \text{ if } x^2+y^2<1\,, \\ 0 & \text{ otherwise,} \end{cases} $
where the positive constant c is determined by the requirement that $ f_{X,Y} $ is a PDF.
What is the correct formula for the marginal PDF of X?
I think I have to start off by integrating $ \frac{c}{1+x^2+y^2} $ with respect to y. Which gives me
$ \int \frac{c}{1+x^2+y^2} dy = \frac{c*\arctan{\frac{y}{\sqrt{1+x^2}}}}{\sqrt{1+x^2}} $
But don't know how to continue now.
I'd also like to know if there's any software out there where I can compute this kind of symbolic stuff.
Thanks