Basic Linear Equations
John Travis
Mississippi College
Roughly, a linear equation is an expression where all of the variable terms are raised to the first power and not multiplied by other variable terms. You are familiar with the standard equation for a line $y = mx + b$ and that is indeed a linear equation. However, linear equations can contain many variables--and not just the x and y from your long forgotten past. To keep things straight when you may have a number of variables, we often will denote the variables in a sequence format $x_1, x_2, ... , x_n$ which yields a more general form for a linear equation:
$a_1 x_1 + a_2 x_2 + a_3 x_3 + ... + a_n x_n = b$
where the terms $a_j$ are constant parameters known as the coefficients. Of course, if you have more than one equation to deal with at a time, you will need some way to denote each one. If each equation uses the same variables, the only thing that has to be changed is the collection of coefficients. So, for each coefficient we add another subscript $a_{i,j}$ where the index "i" denotes the equation number and the second index "j" denotes which variable to associate with the value. So, a more general way of referring to a linear equation is
$a_{i,1} x_1 + a_{i,2} x_2 + a_{i,3} x_3 + ... a_{i,n} x_n = b_i$
2D
In two dimensions, since there are so few terms to deal with, we often resort to using the old fashioned variables $x$ and $y$ versus $x_1$ and $x_2$. To make things easier in 2D, we also may write the coefficients without subscripts in the form ax + by = c.
Regardless of the form of the equation, you can graph a line by plotting points or using point/slope ideas like you have done many times in your life. In the box below, play around with the coeffiicients to see how each affects the graph of the resulting line.
Click to the left again to hide and once more to show the dynamic interactive window |
Questions:
You can graph two lines at the same time but will need to supply two sets of coefficients--one set for each line. Below, go ahead and type in the equations for each line and be certain to write the equations using correct mathematical syntax explicitly using "*" for every necessary multiplication. Also, use "= =" instead of a single equals.
Click to the left again to hide and once more to show the dynamic interactive window |
Click to the left again to hide and once more to show the dynamic interactive window |
3D
You can also see the graphs of linear equations with three variables. In this case, we sometimes also just use the variables x, y and z and write the equations ax + by + cz = d instead of $a_1 x_1 + a_2 x_2 + a_3 x_3 = b$. Below, experiment with entering various linear equations with the three variables x, y and z using the same format as you did with the graphs above. Notice what the resulting graphs of each equation look like and when and if they intersect.
Click to the left again to hide and once more to show the dynamic interactive window |
Click to the left again to hide and once more to show the dynamic interactive window |
Click to the left again to hide and once more to show the dynamic interactive window |
Click to the left again to hide and once more to show the dynamic interactive window |
|
|
There are also "non-linear" equations that sometimes arise. We will not deal with these in MAT 213 since it is a course in "Linear Algebra". In general, solving non-linear systems of equations can be difficult even when you only have a few equations. Sometimes however things work out and sometimes software can be useful.
|
|
|
|