Two families of braces answer different questions: cases gives a brace and left-aligned rows, while a brace around aligned gives a brace and a shared alignment point. Choose by what has to line up, not by which one you learned first. The row syntax belongs to Align, and the matrix forms reuse the delimiters from Brackets.
Which one to use
cases\left\{\begin{aligned}alignedaligned\left[\begin{array}{cc|c}\text{no solution}\text.The commands
\begin{cases} 2x + y = 5 \\ x - 3y = 1 \end{cases}
\left\{ \begin{array}{l} 3x + 2y = 8 \\ x - y = 1 \end{array} \right.
\left\{ \begin{array}{rcl} 2x + y &=& 5 \\ x - 3y &=& 1 \end{array} \right.
\begin{cases} x + y + z = 6 \\ 2x - y + z = 3 \\ x + 2y - z = 2 \end{cases}
(x, y) = (2, 1)
\begin{aligned} 2x + y &= 5 \\ -\,(2x - 2y) &= -2 \\ 3y &= 3 \end{aligned}
\begin{cases} x + y = 1 \\ x + y = 2 \end{cases} \quad \text{inconsistent}
\{(2t+1,\; t) : t \in \mathbb{R}\}
\left( \begin{array}{cc|c} 1 & 2 & 5 \\ 3 & 4 & 11 \end{array} \right)
Worked examples
Substitution
\begin{aligned} y &= 2x - 1 \\ x + (2x-1) &= 8 \\ 3x &= 9 \\ x &= 3 \end{aligned}
Once one equation is rearranged, the system becomes a chain and moves into an aligned block.
Elimination with a brace
\left\{ \begin{array}{rcr} 2x + 3y &=& 12 \\ 2x - y &=& 4 \end{array} \right.
Matching coefficients in the first column is the whole point of aligning them.
Non-linear system
\begin{cases} x^2 + y^2 = 25 \\ y = x + 1 \end{cases}
Circle and line; the cases form carries mixed degrees without any change in syntax.
System with inequalities
\begin{cases} x + y \le 4 \\ x \ge 0 \\ y \ge 0 \end{cases}
Linear programming constraints use the identical structure, which is why strict inequality symbols matter more than the grouping.
Common mistakes
- Reaching for
matrixto draw a system. A matrix has no relation signs and brackets, not a brace — the object you mean is a list of equations. - Using
casesthen wondering why the equals signs drift. Its rows are left-aligned; column alignment requires thearrayform. - Forgetting
\right.after anarrayand getting an unmatched-delimiter error, or adding a mirrored brace on the right that reverses the reading. - Cramming the elimination working inside the same brace as the statement, which merges the problem and its solution into one undifferentiated stack.
Questions about this notation
How do I get a curly brace before a set of equations?
\begin{cases} ... \end{cases}, which prints the brace automatically, or build \left\{ \begin{array}{l} ... \end{array} \right. yourself. The first is quicker; the second lets you align columns.Should the system be numbered as one equation or several?
How do I write three equations with two unknowns?
How do I align a system at the equals signs and still keep the brace?
aligned block inside cases: the brace comes from cases and the alignment from aligned, and the whole system gets one equation number. If you want the brace sized by hand instead, build it with \left\{ ... \right. — the closing \right. is a delimiter of zero height, which is what makes a one-sided brace possible.Keep reading
Three ways into the same idea: the notation itself, the lesson that teaches it, and an article that applies it.