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.&=&
and set in inline mode. It is best to avoideqnarray
, you are loadingamsmath
and can usealign
eqnarray
was a depreciated command and created problems.align
, the space before = sign is too long.&
's inalign
. Here there should only be onw&
per row (&=
) and I'd use\iff\quad \int ...
, not need to align there too.