I'm a newcomer to Latex and have been relying on lots of examples to learn how to format a math proof. I have been really stuck on this particular part of the proof and was unable to find resources or a similar example to fix:
- the alignment of the equal signs
- (maybe not an issue) the "g" in the first line is not the same style/font as other "g"'s in the document that are \displaystyle
- the text label "(multinomial theorem)" should be right-aligned, hopefully this will fix itself when (1) is fixed?
\begin{flalign*}
&& g(\partial x)f &= \sum_{i=1}^{r} a_i(\sum_{j=1}^{n} {c_i}_j\partial_j)^{d}f \\
&= \sum_{i=1}^{r} a_i (\sum_{j=1}^{n} {c_i}_j \partial_j)^{d}f \\
&= \sum_{i=1}^{r} a_i [\sum_{\substack{K=(k_1 ... k_n) \\ |K| = d}}{d \choose k}\prod_{j=1}^{n} ({c_i}_j \partial_j)^{k_j}]f && \text{(multinomial theorem)} \\
\end{flalign*}
Any help is greatly appreciated, thank you!
\documentclass{article} \usepackage{amsmath} \begin{document} \begin{flalign*} g(\partial x)f &= \sum_{i=1}^{r} a_i(\sum_{j=1}^{n} {c_i}_j\partial_j)^{d}f \\ &= \sum_{i=1}^{r} a_i (\sum_{j=1}^{n} {c_i}_j \partial_j)^{d}f \\ &= \sum_{i=1}^{r} a_i [\sum_{\substack{K=(k_1 ... k_n) \\ |K| = d}}{d \choose k}\prod_{j=1}^{n} ({c_i}_j \partial_j)^{k_j}]f && \text{(multinomial theorem)} \\ \end{flalign*} \end{document}
?\binom{d}{k}
should be preferred to{d \choose k}
. Also...
should be\dots
.