I'm having two issues:
1. The align function is not aligning my equation to the centre of the page centred at the "=" sign
2. It is also not wrapping my equation around, I couldn't figure out how to make it do this
Any help would be much appreciated, please find the code below:
Code: Select all
\begin{align*}
\sum_{v \in V(G)} \deg_G(v) &= 2 \left| E(G) \right|
\\
\left| \{ \text{deg}_G(v) : \text{deg}_G(v) = 1 \} \right| + \left| \{ \text{deg}_G(v) : \text{deg}_G(v) = 2 \} \right| + \left| \{ \text{deg}_G(v) : \text{deg}_G(v) = 3 \} \right| &= 2\left| E(G) \right|\\
\left| \{ \text{deg}_G(v) : \text{deg}_G(v) = 1 \} \right| &= 2\left| E(G) \right| - \left| \{ \text{deg}_G(v) : \text{deg}_G(v) = 2 \} \right| - \left| \{ \text{deg}_G(v) : \text{deg}_G(v) = 3 \} \right|
\hfill\\
\end{align*}