[Tex/LaTex] Align matrix on left margin. align* left-aligned

alignequations

I have the following problem:
I put the command vmatrix inside the align* area. The result is unfortunately centered, but I'd like to have the matrix be left-aligned.

Here is the code:

\documentclass[11pt,a4paper]{report}
\usepackage{amsmath}
\begin{document}

\begin{align*}
\begin{vmatrix}
f(x_0=0) & = & a_0 \\
f'(0) & = & a_1 \\
f''(0) & = & 2\cdot a_2 \\
& \vdots & \\
f^{(n)}(0) & = & n! \cdot a_n 
\end{vmatrix} 
&  \Rightarrow  a_n = \frac{f^{(n)}(0)}{n!}
\end{align*}

\end{document} 

How can I put the matrix on the left margin?

Best Answer

To make the displayed equation start hard at the left edge of the text block, you should (a) load the amsmath package with the option fleqn (short for "flush left equation", I suppose) and (b) set the \mathindent length parameter to 0pt.

\documentclass[11pt,a4paper]{report}

\usepackage[fleqn]{amsmath}
\setlength\mathindent{0pt}

\begin{document}
\begin{align*}
\begin{vmatrix}
f(x_0=0) & = & a_0 \\
f'(0) & = & a_1 \\
f''(0) & = & 2\cdot a_2 \\
& \vdots & \\
f^{(n)}(0) & = & n! \cdot a_n 
\end{vmatrix} 
&  \Rightarrow  a_n = \frac{f^{(n)}(0)}{n!}
\end{align*}
\end{document}