I want to write equation with this code.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{eqnarray}
&\dfrac{d\mu(x)}{dx} &= \mu(x)\left(\dfrac{x}{1+x^2}\right)\\
\iff&\int\dfrac{d\mu(x)}{\mu(x)}&=\int\left(\dfrac{x}{1+x^2}\right)dx
\end{eqnarray}
\end{document}
Why the integral symbol is small? How to make it bigger?
EDIT:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
&\dfrac{d\mu(x)}{dx} &= \mu(x)\left(\dfrac{x}{1+x^2}\right)\\
\iff&\int\dfrac{d\mu(x)}{\mu(x)}&=\int\left(\dfrac{x}{1+x^2}\right)dx
\end{align}
\end{document}
The space before = sign is too long.



eqnarray. It's buggy. – egreg Oct 22 '20 at 11:17&=&and set in inline mode. It is best to avoideqnarray, you are loadingamsmathand can usealign– David Carlisle Oct 22 '20 at 11:17eqnarraywas a depreciated command and created problems. – Sebastiano Oct 22 '20 at 11:19align, the space before = sign is too long. – Ongky Denny Wijaya Oct 22 '20 at 11:22&'s inalign. Here there should only be onw&per row (&=) and I'd use\iff\quad \int ..., not need to align there too. – daleif Oct 22 '20 at 11:35