[Tex/LaTex] Align multiline equation with expression after equal sign

alignequationshorizontal alignment

I am trying to align a multiline equation using array within the equation but it turns out it doesn't do very well. The code I am using is as follows:

\begin{equation}    \begin{array}{lcl}
\mathcal{L}^{-1}\left\{f(d)\right\} &= \mathcal{L}^{-1}\left\{f_1(\delta).f_2(\delta)\right\} \\
& = exp(mt) \star \left\{\frac{l}{2\sqrt{\pi t^3}} exp(-l^2/{4t})\right\} \\
& = F_1 * F_2
\end{array}
\end{equation}

Can anyone suggest better way to deal with it ?

Best Answer

array is not designed for aligning equations, it is designed for arrays and matrices. The amsmath package has a host of alignment environments, I give a couple of examples:

enter image description here

\documentclass{article}

\usepackage{amsmath}


\begin{document}

\begin{align}
\mathcal{L}^{-1}\left\{f(d)\right\} &= \mathcal{L}^{-1}\left\{f_1(\delta).f_2(\delta)\right\} \\
& = \exp(mt) \star \left\{\frac{l}{2\sqrt{\pi t^3}} \exp(-l^2/{4t})\right\} \\
& = F_1 * F_2
\end{align}

or

\begin{equation}
\begin{aligned}
\mathcal{L}^{-1}\left\{f(d)\right\} &= \mathcal{L}^{-1}\left\{f_1(\delta).f_2(\delta)\right\} \\
& = \exp(mt) \star \left\{\frac{l}{2\sqrt{\pi t^3}} exp(-l^2/{4t})\right\} \\
& = F_1 * F_2
\end{aligned}
\end{equation}

\end{document}

note that exp is a multi-letter identifier so shouldn't be set in math italic.