Linear equation
In mathematics, or more specifically algebra, a linear equation is an equation that can be written so that each term is either a constant or the product of a constant with a variable. In other words, a linear equation equates polynomials of the first degree.
Linear equations are ubiquitous in applications of mathematics. Equations involving a single variable appear in the simplest problems where one unknown quantity needs to be determined from other given information. They can always be solved, and are the simplest equations to solve, requiring only the elementary operations of elementary arithmetic (addition, subtraction, multiplication, and division) and their properties.
Other types of equations (called non-linear equations) often cannot be solved exactly. Linear equations are important for finding approximate solutions when exact solutions cannot be obtained.
Linear equations in applications
Solutions of linear equations
Linear equations in one variable
A linear equation in one variable can be put in the form , where where x is the variable and at least one of a or c is nonzero. For example,
is a linear equation. To see this, we simplify the right side until it becomes a linear polynomial:
- .
The first equality used the distributive property, and the second and third equalities were obtained by performing a multiplication and an addition.
To solve a linear equation, first simplify as above to obtain . Then, subtract b and cx from both sides, to put all terms involving x on the left side and all constant terms on the right. In the above example, we obtain
and after cancellation, we have
- .
Now that all terms involving the variable are on the left, we factor x out of the left side, and perform the addition on the right:
- .
Finally, we simplify the coefficient of x on the left side to obtain , and divide by the coefficient to isolate x.
- .
Once the solution is found, it is a good idea to check that it is indeed a solution by substituting it back in for x in the original equation. In this example, substituting 10/7 back into the original equation and simplifying gives the equality -1/7 = -1/7, so that 10/7 is indeed the correct solution. Because all steps are reversible in this solution process, the only reason the solution found would not work in the original equation is an arithmetic error during the solution procedure.
The above method of solution always succeeds with one caveat. If the coefficient of x after all simplification is performed is 0, then we cannot divide by it to isolate x. In this case, the final form of the equation will be 0 x = a , for some constant a. If , then every possible value of x will be a solution of the equation. If , then no value of x can be a solution, so the equation has no solutions. These exceptional cases are called degenerate cases, because after simplification the equation degenerates to an equation involving constannts, rather than first degree polynomials. In degenerate cases, there are either infinitely many solutions or there is no solution, while in non-degenerate cases, there is always a unique solution.