Linear equation: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Barry R. Smith
m (de-link)
mNo edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{subpages}}
{{subpages}}
In [[mathematics]], or more specifically [[algebra]], a '''linear equation''' is an [[equation]] in which each term is either a [[constant]] or the [[multiplication|product]] of a constant with a variable.  In other words, a linear equation equates [[polynomials]] of the first degree.
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 [[multiplication|product]] of a constant with a variable.  In other words, a linear equation equates [[polynomials]] of the first degree.


Linear equations are ubiquitous in [[applied mathematics|application]]s of mathematics.  They appear in the simplest problems where one unknown quantity needs to be determined from other given information.  They can always be [[solution (equation)|solved]], and are the simplest equations to solve, requiring only the elementary [[operation (mathematics)|operation]]s of elementary arithmetic ([[addition]], [[subtraction]], [[multiplication]], and [[division]]) and their properties.
Linear equations are ubiquitous in [[applied mathematics|application]]s 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 [[solution (equation)|solved]], and are the simplest equations to solve, requiring only the elementary [[operation (mathematics)|operation]]s of elementary arithmetic ([[addition]], [[subtraction]], [[multiplication]], and [[division]]) and their properties.


Many other types of equations (called '''non-linear''' equations) cannot be solved exactly.  Linear equations are important for finding approximate solutions when exact solutions cannot be obtained.
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 <math>ax + b = cx + d</math>, where ''x'' is the variable and at least one of ''a'' or ''c'' is nonzero.  For example,
 
: <math>2x - 3 = -\frac{1}{3}(x+2) + 1 </math>
 
is a linear equation.  To see this, we simplify the right side until it becomes a linear polynomial:
 
: <math>-\frac{1}{3} (x+2) + 1 = -\frac{1}{3} x + \left( -\frac{1}{3} \right) 2 + 1
  = -\frac{1}{3} x -\frac{2}{3} + 1 = -\frac{1}{3} x + \frac{1}{3}</math>.
 
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 <math>ax+b = cx+d</math>.  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
 
: <math> 2x - 3 - (-3) - \left( -\frac{1}{3} x \right) = -\frac{1}{3} x + \frac{1}{3} - (-3)
- \left( -\frac{1}{3} x \right) </math>
 
and after cancellation, we have
 
: <math> 2x + \frac{1}{3} x = \frac{1}{3} + 3</math>.
 
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:
 
: <math> \left( 2 + \frac{1}{3} \right) x = \frac{10}{3} </math>.
 
Finally, we simplify the coefficient of x on the left side to obtain <math>7/3 x</math>, and divide by the coefficient to isolate ''x''.
 
: <math> x = \frac{\frac{10}{3}}{\frac{7}{3}} = \frac{10}{3} \cdot \frac{3}{7} = \frac{10}{7} </math>.
 
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 <math>a=0</math>, then every possible value of ''x'' will be a solution of the equation.  If <math>a \neq 0</math>, 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 constants, 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.
 
 
=== Linear equations in two variables ===
Every equation (linear or not) in two variables ''x'' and ''y'' has an associated [[graph (mathematics)|graph]].  This is obtained by drawing [[perpendicular]] [[axis|axes]] in a [[plane (geometry)|plane]] which enable assigning a pair of [[coordinate]]s <math>(x,y)</math> to each point in the plane.  The graph of the equation is the set of points of the plane whose coordinates are solutions of the equation.
 
A linear equation in two variables can be simplified to the form <math>p(x,y) = 0</math> where <math>p(x,y)</math> is a linear polynomial in the variables ''x'' and ''y''.  As with equations in one variable, it is possible that this equation can "degenerate" so that ''x'' and ''y'' both occur with the coefficient 0, in which case either every possible pair of values substituted in for ''x'' and ''y'' give a solution or else there are no solutions.
 
Otherwise, the graph of the equation will be a [[line (Euclidean geometry)|line]] in the plane, hence the name "linear equation".  If the coefficient of ''y'' is zero, the equation can be put in the form <math>x=a</math>, and the associated graph is the vertical line through the point <math>(a,0)</math> on the x-axis, consisting of all points in the plane with x coordinate ''a''.  If the coefficient of ''y'' is nonzero, we can use the procedure for solving a linear equation in one variable to isolate ''y'', obtaining an [[equivalent (equation)|equivalent]] equation of the form
 
: <math> y = f(x) </math>
 
The graph of this equation is the graph of the [[linear function]] ''f(x)''.  Often, one writes <math>f(x) = mx + b</math>, in which case the equation is
 
: <math>y = mx + b</math>.
 
Written in this form, with ''y'' isolated on the left, the equation is said to be in '''slope-intercept''' form for the following reason.  The constant ''m'' is the [[slope (line)|slope]] of the graph, and ''b'' is the [[intercept (line)|y-intercept]].  Thus, when an equation is written in slope-intercept form, one can immediately obtain enough information from the equation to draw the graph.[[Category:Suggestion Bot Tag]]

Latest revision as of 06:01, 12 September 2024

This article is developing and not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
Advanced [?]
 
This editable Main Article is under development and subject to a disclaimer.

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 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 constants, 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.


Linear equations in two variables

Every equation (linear or not) in two variables x and y has an associated graph. This is obtained by drawing perpendicular axes in a plane which enable assigning a pair of coordinates to each point in the plane. The graph of the equation is the set of points of the plane whose coordinates are solutions of the equation.

A linear equation in two variables can be simplified to the form where is a linear polynomial in the variables x and y. As with equations in one variable, it is possible that this equation can "degenerate" so that x and y both occur with the coefficient 0, in which case either every possible pair of values substituted in for x and y give a solution or else there are no solutions.

Otherwise, the graph of the equation will be a line in the plane, hence the name "linear equation". If the coefficient of y is zero, the equation can be put in the form , and the associated graph is the vertical line through the point on the x-axis, consisting of all points in the plane with x coordinate a. If the coefficient of y is nonzero, we can use the procedure for solving a linear equation in one variable to isolate y, obtaining an equivalent equation of the form

The graph of this equation is the graph of the linear function f(x). Often, one writes , in which case the equation is

.

Written in this form, with y isolated on the left, the equation is said to be in slope-intercept form for the following reason. The constant m is the slope of the graph, and b is the y-intercept. Thus, when an equation is written in slope-intercept form, one can immediately obtain enough information from the equation to draw the graph.