\begin{equation}
\begin{aligned}
2x^2+x &= 0 &\\
x(2x+1) &= 0 &\\
\end{aligned}
\end{equation}
\begin{equation*}
\begin{aligned}
x &= 0 & 2x+1 &=0\\
& & 2x &=-1\\
& & x &=-\frac{1}{2}
\end{aligned}
\end{equation*}
I have one equation that I'm solving step by step. After using the zero-product property, the equation solution splits into two equations. I need the two equations to be aligned, but not with the first one (equal signs in first two lines not aligned with the second two lines). I still want the results and equation to be numbered as one equation (now the number is in a wrong place).
After all that I want the another result to be cancelled like \cancel{x = 0}
and the other to be double-underlined as the final result \underline{\underline{x=-1}}
.
Any suggestions how to complete this code?
Best Answer
You could use
forest
ortikz-cd
to illustrate these things.Or with crossed out results.