|
|
Line 1: |
Line 1: |
| {{refimprove|date=September 2012}}
| | Greetings! I am Myrtle Shroyer. My day job is a meter reader. His spouse doesn't like it the way he does but what he really likes performing is to do aerobics and he's been performing it for quite a while. Minnesota is where he's been living for many years.<br><br>Here is my web blog - [http://www.megafilex.com/user/FKayser/blog http://www.megafilex.com] |
| | |
| [[File:Linear Function Graph.svg|thumb|300px|Graph sample of linear equations.]]
| |
| A '''linear equation''' is an [[algebraic equation]] in which each [[term (mathematics)|term]] is either a [[Constant term|constant]] or the product of a constant and (the first power of) a single [[variable (mathematics)|variable]].
| |
| | |
| Linear equations can have one or more variables. Linear equations occur abundantly in most subareas of [[mathematics]] and especially in [[applied mathematics]]. While they arise quite naturally when modeling many phenomena, they are particularly useful since many [[non-linear equation]]s may be reduced to linear equations by assuming that quantities of interest vary to only a small extent from some "background" state. Linear equations do not include exponents.
| |
|
| |
| This article considers the case of a single equation for which one searches the [[real number|real]] solutions. All its content applies for [[complex number|complex]] solutions and, more generally for linear equations with [[coefficient]]s and solutions in any [[field (mathematics)|field]].
| |
| | |
| == One variable ==
| |
| | |
| A linear equation in one [[unknown]] ''x'' may always be rewritten
| |
| :<math>ax=b.</math>
| |
| | |
| If ''a'' ≠ 0, there is a unique solution
| |
| :<math>x=\frac{b}{a}.</math>
| |
| | |
| If ''a'' = 0, then either the equation does not have any solution, if ''b'' ≠ 0 (it is [[inconsistent equations|inconsistent]]), or every number is a solution, if ''b'' is also zero.
| |
| | |
| ==Two variables==
| |
| A common form of a linear equation in the two variables ''x'' and ''y'' is
| |
| | |
| :<math>y = mx + b,\,</math>
| |
| | |
| where ''m'' and ''b'' designate constants (parameters). The origin of the name "linear" comes from the fact that the set of solutions of such an equation forms a [[straight line]] in the plane. In this particular equation, the constant ''m'' determines the [[slope]] or gradient of that line, and the [[constant term]] ''b'' determines the point at which the line crosses the ''y''-axis, otherwise known as the y-intercept.
| |
| | |
| Since terms of linear equations cannot contain products of distinct or equal variables, nor any power (other than 1) or other function of a variable, equations involving terms such as ''xy'', ''x''<sup>2</sup>, ''y''<sup>1/3</sup>, and sin(''x'') are ''[[Nonlinear system|nonlinear]]''.
| |
| | |
| === Forms for 2D linear equations ===
| |
| Linear equations can be rewritten using the laws of [[elementary algebra]] into several different forms. These equations are often referred to as the "equations of the straight line." In what follows, ''x'', ''y'', ''t'', and ''θ'' are variables; other letters represent [[Constant term|constant]]s (fixed numbers).
| |
| | |
| ====General (or standard) form====
| |
| In the general (or standard<ref>{{harvnb|Barnett|Ziegler|Byleen|2008|loc = pg. 15}}</ref>) form the linear equation is written as:
| |
| | |
| : <math>Ax + By = C, \,</math>
| |
| | |
| where ''A'' and ''B'' are not both equal to zero. The equation is usually written so that ''A'' ≥ 0, by convention. The [[Cartesian coordinate system|graph]] of the equation is a [[line (geometry)|straight line]], and every straight line can be represented by an equation in the above form. If ''A'' is nonzero, then the ''x''-intercept, that is, the ''x''-[[coordinate]] of the point where the graph crosses the ''x''-axis (where, ''y'' is zero), is ''C''/''A''. If ''B'' is nonzero, then the ''y''-intercept, that is the ''y''-coordinate of the point where the graph crosses the ''y''-axis (where x is zero), is ''C''/''B'', and the [[slope]] of the line is −''A''/''B''. The general form is sometimes written as:
| |
| : <math>ax + by + c = 0, \,</math>
| |
| where ''a'' and ''b'' are not both equal to zero. The two versions can be converted from one to the other by moving the constant term to the other side of the equal sign.
| |
| | |
| ====Slope–intercept form====
| |
| :<math>y = mx + b,\,</math>
| |
| | |
| where ''m'' is the slope of the line and ''b'' is the ''y''-intercept, which is the ''y''-coordinate of the location where line crosses the ''y'' axis. This can be seen by letting ''x'' = 0, which immediately gives ''y'' = ''b''. It may be helpful to think about this in terms of ''y'' = ''b'' + ''mx''; where the line passes through the point (0, ''b'') and extends to the left and right at a slope of ''m''. Vertical lines, having undefined slope, cannot be represented by this form.
| |
| | |
| ====Point–slope form====
| |
| :<math>y - y_1 = m( x - x_1 ),\,</math>
| |
| | |
| where ''m'' is the slope of the line and (''x''<sub>1</sub>,''y''<sub>1</sub>) is any point on the line.
| |
| | |
| The point-slope form expresses the fact that the difference in the ''y'' coordinate between two points on a line (that is, ''y'' − ''y''<sub>1</sub>) is proportional to the difference in the ''x'' coordinate (that is, ''x'' − ''x''<sub>1</sub>). The proportionality constant is ''m'' (the slope of the line).
| |
| | |
| ====Two-point form====
| |
| :<math>y - y_1 = \frac{y_2 - y_1}{x_2 - x_1} (x - x_1),\,</math>
| |
| where (''x''<sub>1</sub>, ''y''<sub>1</sub>) and (''x''<sub>2</sub>, ''y''<sub>2</sub>) are two points on the line with ''x''<sub>2</sub> ≠ ''x''<sub>1</sub>. This is equivalent to the point-slope form above, where the slope is explicitly given as (''y''<sub>2</sub> − ''y''<sub>1</sub>)/(''x''<sub>2</sub> − ''x''<sub>1</sub>).
| |
| | |
| Multiplying both sides of this equation by (''x''<sub>2</sub> − ''x''<sub>1</sub>) yields a form of the line generally referred to as the '''symmetric form''':
| |
| :<math>(x_2 - x_1)(y - y_1)=(y_2 - y_1)(x - x_1).\,</math>
| |
| | |
| Expanding the products and regrouping the terms leads to the general form:
| |
| :<math>x\,(y_2-y_1) - y\,(x_2-x_1)= x_1y_2 - x_2y_1</math>
| |
| | |
| Using a [[determinant]], one gets a '''determinant form''', easy to remember:
| |
| :<math>
| |
| \begin{vmatrix}
| |
| x&y&1\\
| |
| x_1&y_1&1\\
| |
| x_2&y_2&1
| |
| \end{vmatrix}
| |
| =0\,.</math>
| |
| | |
| ====Intercept form====
| |
| : <math>\frac{x}{a} + \frac{y}{b} = 1,\,</math>
| |
| where ''a'' and ''b'' must be nonzero. The graph of the equation has ''x''-intercept ''a'' and ''y''-intercept ''b''. The intercept form is in standard form with ''A''/''C'' = 1/''a'' and ''B''/''C'' = 1/''b''. Lines that pass through the origin or which are horizontal or vertical violate the nonzero condition on ''a'' or ''b'' and cannot be represented in this form.
| |
| | |
| ====Matrix form====
| |
| Using the order of the standard form
| |
| : <math>Ax + By = C,\,</math>
| |
| one can rewrite the equation in matrix form:
| |
| :<math>\begin{pmatrix} A&B \end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix} = \begin{pmatrix}C\end{pmatrix}.</math>
| |
| Further, this representation extends to systems of linear equations.
| |
| : <math>A_1x + B_1y = C_1,\,</math>
| |
| : <math>A_2x + B_2y = C_2,\,</math>
| |
| becomes
| |
| :<math>
| |
| \begin{pmatrix}
| |
| A_1&B_1\\
| |
| A_2 & B_2
| |
| \end{pmatrix}
| |
| \begin{pmatrix}
| |
| x\\y
| |
| \end{pmatrix} =
| |
| \begin{pmatrix}
| |
| C_1\\
| |
| C_2
| |
| \end{pmatrix}.</math>
| |
| | |
| Since this extends easily to higher dimensions, it is a common representation in [[linear algebra]], and in computer programming. There are named methods for solving [[system of linear equations]], like [[Gauss-Jordan]] which can be expressed as matrix elementary row operations.
| |
| | |
| ====Parametric form====
| |
| :<math>x = T t + U\,</math>
| |
| and
| |
| :<math>y = V t + W.\,</math>
| |
| Two [[simultaneous equations]] in terms of a variable parameter ''t'', with slope {{nowrap|1=''m'' = ''V'' / ''T''}}, ''x''-intercept {{nowrap|1=(''VU'' - ''WT'') / ''V''}} and ''y''-intercept {{nowrap|1=(''WT'' - ''VU'') / ''T''}}.
| |
| This can also be related to the two-point form, where {{nowrap|1=''T'' = ''p'' - ''h''}}, ''U'' = ''h'', {{nowrap|1=''V'' = ''q'' - ''k''}}, and ''W'' = ''k'':
| |
| This can also be related to the two-point form, where {{nowrap|1=''T'' = ''p'' - ''h''}}, ''U'' = ''h'', {{nowrap|1=''V'' = ''q'' - ''k''}}, and ''W'' = ''k'':
| |
| :<math>x = (p - h) t + h\,</math>
| |
| and
| |
| :<math>y = (q - k)t + k.\,</math>
| |
| In this case ''t'' varies from 0 at point (''h'',''k'') to 1 at point (''p'',''q''), with values of ''t'' between 0 and 1 providing [[interpolation]] and other values of ''t'' providing [[extrapolation]].
| |
| | |
| ====2D vector determinant form====
| |
| The equation of a line can also be written as the determinant of two vectors. If <math>P_1</math> and <math>P_2</math> are unique points on the line, then <math>P</math> will also be a point on the line if the following is true:
| |
| | |
| : <math>\det( \overrightarrow{P_1 P} , \overrightarrow{P_1 P_2} ) = 0. </math>
| |
| | |
| One way to understand this formula is to use the fact that the determinant of two vectors on the plane will give the area of the parallelogram they form. Therefore, if the determinant equals zero then the parallelogram has no area, and that will happen when two vectors are on the same line.
| |
| | |
| To expand on this we can say that <math>P_1 = (x_1 ,\, y_1)</math>, <math>P_2 = (x_2 ,\, y_2)</math> and <math>P = (x ,\, y)</math>. Thus <math>\overrightarrow{P_1 P} = (x-x_1 ,\, y-y_1) </math> and <math>\overrightarrow{P_1 P_2} = (x_2-x_1 ,\, y_2-y_1)</math>, then the above equation becomes:
| |
| | |
| :<math>\det \begin{pmatrix}x-x_1&y-y_1\\x_2-x_1&y_2-y_1\end{pmatrix} = 0.</math>
| |
| Thus,
| |
| :<math>( x - x_1 )( y_2 - y_1 ) - ( y - y_1 )( x_2 - x_1 )=0.</math>
| |
| | |
| Ergo,
| |
| :<math>( x - x_1 )( y_2 - y_1 ) = ( y - y_1 )( x_2 - x_1 ).</math>
| |
| Then dividing both side by <math>( x_2 - x_1 )</math> would result in the “Two-point form” shown above, but leaving it here allows the equation to still be valid when <math>x_1 = x_2</math>.
| |
| | |
| ====Special cases====
| |
| : <math>y = b\,</math>[[File:Horizontal-Line.png|thumb|Horizontal Line ''y'' = ''b'']]
| |
| This is a special case of the standard form where ''A'' = 0 and ''B'' = 1, or of the slope-intercept form where the slope ''m'' = 0. The graph is a horizontal line with ''y''-intercept equal to ''b''. There is no ''x''-intercept, unless ''b'' = 0, in which case the graph of the line is the ''x''-axis, and so every real number is an ''x''-intercept.
| |
| | |
| : <math>x = a\,</math>[[File:Vertical-Line.png|thumb|Vertical Line ''x'' = ''a'']]
| |
| This is a special case of the standard form where ''A'' = 1 and ''B'' = 0. The graph is a vertical line with ''x''-intercept equal to ''a''. The slope is undefined. There is no ''y''-intercept, unless ''a'' = 0, in which case the graph of the line is the ''y''-axis, and so every real number is a ''y''-intercept.
| |
| | |
| === Connection with linear functions ===
| |
| A linear equation, written in the form ''y'' = ''f''(''x'') whose graph crosses the origin (''x'',''y'') = (0,0), that is, whose ''y''-intercept is 0, has the following properties:
| |
| | |
| :<math> f ( x_1 + x_2 ) = f ( x_1) + f ( x_2 )\ </math>
| |
| and
| |
| :<math> f ( a x ) = a f ( x ),\,</math>
| |
| | |
| where ''a'' is any [[scalar (mathematics)|scalar]]. A function which satisfies these properties is called a ''linear function'' (or ''linear operator'', or more generally a ''[[linear map]]''). However, linear equations that have non-zero ''y''-intercepts, when written in this manner, produce functions which will have neither property above and hence are not linear functions in this sense. They are known as affine functions. | |
| | |
| ==More than two variables==
| |
| | |
| A linear equation can involve more than two variables. Every linear equation in ''n'' [[unknown]]s may be rewritten
| |
| :<math>a_1 x_1 + a_2 x_2 + \cdots + a_n x_n = b,</math>
| |
| where, ''a''<sub>1</sub>, ''a''<sub>2</sub>, ..., ''a''<sub>''n''</sub> represent numbers, called the ''coefficients'', ''x''<sub>1</sub>, ''x''<sub>2</sub>, ..., ''x''<sub>''n''</sub> are the unknowns, and ''b'' is called the ''constant term''. When dealing with three or fewer variables, it is common to use ''x'', ''y'' and ''z'' instead of ''x''<sub>1</sub>, ''x''<sub>2</sub> and ''x''<sub>3</sub>.
| |
| | |
| If all the coefficients are zero, then either ''b'' ≠ 0 and the equation does not have any solution, or ''b'' = 0 and every set of values for the unknowns is a solution.
| |
| | |
| If at least one coefficient is nonzero, a permutation of the subscripts allows to suppose ''a''<sub>1</sub> ≠ 0, and rewrite the equation
| |
| :<math>x_1 = b -\frac{a_2}{a_1}x_2- \cdots - \frac{a_n}{a_1}x_n. </math>
| |
| In other words, if ''a''<sub>''i''</sub> ≠ 0, one may choose arbitrary values for all the unknowns except ''x''<sub>''i''</sub>, and express ''x''<sub>''i''</sub> in term of these values.
| |
| | |
| If ''n'' = 3 the set of the solutions is a plane in a [[three dimensional space]]. More generally, the set of the solutions is an (''n''–1)-dimensional [[hyperplane]] in a ''n''-dimensional [[Euclidean space]] (or [[affine space]] if the coefficients are complex numbers or belong to any field).
| |
| | |
| == See also ==
| |
| * [[Line (geometry)]]
| |
| * [[Linear belief function]]
| |
| * [[Linear inequality]]
| |
| | |
| ===Algebraic equations===
| |
| * [[Quadratic equation]] (degree = 2)
| |
| * [[Cubic equation]] (degree = 3)
| |
| * [[Quartic equation]] (degree = 4)
| |
| * [[Quintic equation]] (degree = 5)
| |
| * [[System of linear equations]]
| |
| * [[System of polynomial equations]]
| |
| * [[Linear Diophantine equation]]
| |
| * [[Linear equation over a ring]]
| |
| | |
| == Notes ==
| |
| {{Reflist}}
| |
| | |
| == References ==
| |
| * {{citation|first1=R.A.|last1=Barnett|first2=M.R.|last2=Ziegler|first3=K.E.|last3=Byleen|title=College Mathematics for Business, Economics, Life Sciences and the Social Sciences|edition=11th|year=2008|publisher=Pearson|place=Upper Saddle River, N.J.|isbn=0-13-157225-3}}
| |
| | |
| == External links ==
| |
| * [http://eqworld.ipmnet.ru/en/solutions/ae.htm Algebraic Equations] at EqWorld: The World of Mathematical Equations.
| |
| * [http://video.google.com/videoplay?docid=-5991926520926012350#] Video tutorial on solving one step to multistep equations
| |
| * [http://catalog.flatworldknowledge.com/bookhub/reader/128?e=fwk-redden-ch02 Linear Equations and Inequalities] Open Elementary Algebra textbook chapter on linear equations and inequalities.
| |
| * {{springer|title=Linear equation|id=p/l059190}}
| |
| | |
| {{Polynomials}}
| |
| | |
| {{DEFAULTSORT:Linear Equation}}
| |
| [[Category:Elementary algebra]]
| |
| [[Category:Equations]]
| |