Additionally, is it possible to align cases to the surrounding align environment? If not (and assuming one can un-align a particular line), then I could simply add space before/after the cases in order to math the rest of the alignment, but this is a rather cumbersome way of doing it.
I realise one possibilty would be to have:
Code: Select all
Code, edit and compile here:
\begin{align*}The start\end{align*}\[ This is not aligned \]\begin{align*}the end\end{align*}
My particular scenario is the following:
Code: Select all
Code, edit and compile here:
\begin{align*}\frac{4}{x^3+2x^x} &= \frac{4}{x^2(x+2)} \\\frac{4}{x^2(x+2)} &\equiv \frac{A}{x} + \frac{B}{x^2} + \frac{C}{x+2} \\\therefore 0x^2+0x^1+4x^0 &= Ax(x+2) + B(x+2)+Cx^2 \\&= Ax^2+2Ax+Bx+2B+Cx^2 \\\begin{cases} x^2: & 0 = A + C \\x^1: & 0 = 2A+B \\x^0: & 4 = 2B \\\end{cases} \\ % These cases should be, if possible, aligned with the surrounding environmentA=-1, B=2, C=1 \\ % This line should be centered\frac{4}{x^2(x+2)} &\equiv \frac{-1}{x} + \frac{2}{x^2} + \frac{1}{x+2} \\\end{align*}