I am trying to align these equations together but I can't figure out how to do that without centering absolutely everything.
below is what I currently have
\begin{addmargin}\[1em\]{1em}
\textbf{(a)} $A \cup B$\\
$$A \cup B = \{1,3,4,5,6,7,8,9\}$$
\textbf{(b)} $A \cap B$\\
$$A \cap B = \{4,8\}$$
\textbf{(b)} $A - B$\\
$$A - B = \{3,7,1,9\}$$
\end{addmargin}
when this is compiled it shows this As you can see the equations are centered but I want them to align on the equal sign. Does anybody know a way to do this?
\\
before a display (the function of$$
) will produce incorrect vertical spacing.