Leveling Mathematical Equations

When we create a mathematical document, of course we want the mathematical notations in it to look neat and beautiful. One thing that sometimes causes problems is how to align the mathematical equations in the document. $\LaTeX$ has provided various ways to flatten the mathematical equations created, including:
How to Flatten Mathematical Equations in LaTeX
1. Using commands eqnarray
If using command *eqnarray*, then the equation created also displays the equation number. For example, consider the following code.
\begin{eqnarray}
\Leftrightarrow 9^{2x-3}&=&27\\
\Leftrightarrow (3^2)^{2x-3}&=&3^3\\
\Leftrightarrow 3^{4x-6}&=&3^3\\
\Leftrightarrow 4x-6&=&3\\
\Leftrightarrow 4x&=&9\\
\Leftrightarrow x&=&\frac{9}{4}
\end{eqnarray}The resulting document is shown in the following image.

2. Using commands eqnarray*
As seen in the document results using the command *eqnarray*, there is numbering in the formula. To remove the numbering, we can use the command *eqnarray**. For example, consider the following code.
\begin{eqnarray*}
\Leftrightarrow 9^{2x-3}&=&27\\
\Leftrightarrow (3^2)^{2x-3}&=&3^3\\
\Leftrightarrow 3^{4x-6}&=&3^3\\
\Leftrightarrow 4x-6&=&3\\
\Leftrightarrow 4x&=&9\\
\Leftrightarrow x&=&\frac{9}{4}
\end{eqnarray*}The resulting document is shown in the following image.

3. Setting the Mark Position “&” on command eqnarray*
In the example using the command *eqnarray* And *eqnarray** above, it appears that the arrows are still not aligned from top to bottom. To align it we will change the position of the "&", and keep using the command *eqnarray**. Look at the following code example.
\begin{eqnarray*}
\Leftrightarrow& 9^{2x-3}&=27\\
\Leftrightarrow& (3^2)^{2x-3}&=3^3\\
\Leftrightarrow& 3^{4x-6}&=3^3\\
\Leftrightarrow& 4x-6&=3\\
\Leftrightarrow& 4x&=9\\
\Leftrightarrow& x&=\dfrac{9}{4}
\end{eqnarray*}The resulting document is shown in the following image.

4. Using commands align
Apart from using commands *eqnarray* And *eqnarray**, we can also use commands *align*. Look at the following code example.
\begin{align*}
\Leftrightarrow 9^{2x-3}&=27\\
\Leftrightarrow (3^2)^{2x-3}&=3^3\\
\Leftrightarrow 3^{4x-6}&=3^3\\
\Leftrightarrow 4x-6&=3\\
\Leftrightarrow 4x&=9\\
\Leftrightarrow x&=\dfrac{9}{4}
\end{align*}The resulting document is shown in the following image.

5. Using commands tabular
Then to flatten the formula, we can also use tabular commands. Pay attention to the following code.
\begin{tabular}{lll}
$\Leftrightarrow$(1/y)dy &=& $\lambda dt$\\
$\Leftrightarrow$ ln y &=& $\lambda t +c$\\
$\Leftrightarrow$ y &=& $c.e^{\lambda t}$\\
\end{tabular}The resulting document can be seen in the following image.

That's the article on how to flatten mathematical equations in $\LaTeX$. If you have suggestions or corrections, please leave them in the comments. I hope this is helpful.




