Lably
Skip to content

System of linear equations

Several equations of degree 1 to be solved simultaneously

  • 16 min read
  • 6 chapters
  • 2 labs on Lably

Learn it on Lably

Linear systems are a fundamental part of linear algebra, a subject used in most modern mathematics. Computational algorithms for finding the solutions are an important part of numerical linear algebra, and play a prominent role in engineering, physics, chemistry, computer science, and economics. A system of non-linear equations can often be approximated by a linear system (see linearization), a helpful technique when making a mathematical model or computer simulation of a relatively complex system.

Very often, and in this article, the coefficients and solutions of the equations are constrained to be real or complex numbers, but the theory and algorithms apply to coefficients and solutions in any field. For other algebraic structures, other theories have been developed. For coefficients and solutions in an integral domain, such as the ring of integers, see Linear equation over a ring. For coefficients and solutions that are polynomials, see Gröbner basis. For finding the "best" integer solutions among many, see Integer linear programming. For an example of a more exotic structure to which linear algebra can be applied, see Tropical geometry.

Elementary examples

Trivial example

The system of one equation in one unknown 2x=4 has the solution x=2.

However, most interesting linear systems have at least two equations.

Simple nontrivial example

The simplest kind of nontrivial linear system involves two equations and two variables:

2x+3y=64x+9y=15.

One method for solving such a system is as follows. First, solve the top equation for x in terms of y:

x=3−32y.

Now substitute this expression for x into the bottom equation:

4(3−32y)+9y=15.

This results in a single equation involving only the variable y. Solving gives y=1, and substituting this back into the equation for x yields x=32. This method generalizes to systems with additional variables (see "elimination of variables" below, or the article on elementary algebra).

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Algebra