I am trying to split up the longest set (the super long expression) here into multiple lines, I've looked at some other similar questions on this forum and tried a few different things but nothing seems to be working. I want it all aligned left like normal.
\documentclass{article}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{amstext}
\usepackage{amssymb}
\begin{document}
\begin{enumerate}
\item Problem 1
$\varnothing \times B= \varnothing$ because $\varnothing \times B=\left \{ (a,b):a\in \varnothing , b\in B \right \}$ but there are no elements in $\varnothing$
\item $(A \times B)\times B$
From (a): $(A \times B)=\left \{ (1,c),(2,c),(3,c),(4,c),(1,a),(2,a),(3,a),(4,a) \right \}$
$(A \times B)\times B=$
\left \{ ((1,c),a),((2,c),a),((3,c),a),((4,c),a),((1,a),a),((2,a),a),((3,a),a),((4,a),a),((1,c),c),((2,c),c),((3,c),c),((4,c),c),((1,a),c),((2,a),c), ((3,a),c),((4,a),c) \right \}
\end{enumerate}
\end{document}
amsmathloadsamstext. – cfr Apr 05 '15 at 03:47LaTeX. You may find it useful to consult the resources mentioned in this question: http://tex.stackexchange.com/questions/11/what-are-good-learning-resources-for-a-latex-beginner – Yossi Gil Apr 05 '15 at 06:42