Template:Linear system/Simultaneously
\begin{matrix} a _{ 1 1 } x _1 + a _{ 1 2 } x _2 + \cdots + a _{ 1 n } x _{ n } & = & c_1 & ( = & d_1, & = & e_1, \ldots ) \\ a _{ 2 1 } x _1 + a _{ 2 2 } x _2 + \cdots + a _{ 2 n } x _{ n } & = & c_2 & ( = & d_2, & = & e_2, \ldots ) \\ \vdots & \vdots & \vdots \\ a _{ m 1 } x _1 + a _{ m 2 } x _2 + \cdots + a _{ m n } x _{ n } & = & c_m &( = & d_m, & = & e_m, \ldots ) \, \end{matrix}