Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

A system of linear equations has the form:

a11x1++a1nxn=b1am1x1++amnxn=bn\begin{align} a_{11}x_{1} + \cdots + a_{1n}x_{n} &= b_{1} \\ \vdots \\ a_{m1}x_{1} + \cdots + a_{mn}x_{n} &= b_{n} \end{align}

There are n unknown variables, (x1,,xn)(x_1, \cdots, x_n) and m equations. The m equations have coefficients amna_{mn} for each of the n variables and m right-hand side values (b1,,bm)(b_1, \cdots, b_m). These equations be rewritten using matrices and vectors:

[a11a1nam1amn][ x1xn]=[b1bm]\begin{bmatrix} a_{11} & \cdots & a_{1n} \\ \vdots & & \vdots \\ a_{m1} & \cdots & a_{mn} \end{bmatrix} \begin{bmatrix} \ x_{1} \\ \vdots \\ x_{n} \end{bmatrix} = \begin{bmatrix} b_{1} \\ \vdots \\ b_{m} \end{bmatrix}

or in shorthand:

Ax=b\vv{A}\vv{x} = \vv{b}

A system of linear equations can have:

For example, consider the following graphs of different systems of 2 equations: