I am trying to display a derivation that should look like:
f(x) = (expression 1) + (expression 2)
- (expression 3)
= (expression 4)
I can get this to display just the way I want, except centered, by using:
\begin{equation*}
\begin{alignedat}{2}
f(x) &= (\text{expression 1}) &&+ (\text{expression 2}) \\
& &&- (\text{expression 3}) \\ \\
&= (\text{expression 4}) &&
\end{alignedat}
\end{equation*}
The issue is that if I try any tricks I’ve seen mentioned here on Stack Exchange to left-align equations (such as \flalign), I lose the ability to align my equations relative to each other as desired. I’m fairly new to TeX so might be missing something simple.