It would be a lot easier to parse out what you've done if you clean up your LaTeX a bit. Here are some suggestions:
is \displaystyle\int f(x)\,dx.
That should help out quite a bit. Also note that you can get some equations to look nicer by including a blank line before and after them. That'll put enough space in there to allow room for various symbols.