- Verberg vooruitgang Hide progress Toon vooruitgang Show progress
- Verwijder je antwoorden (op deze pagina) Remove your answers (on this page)
This section of the Appendix combines ideas from Section AppLinearEqIneq and AppLines so that we can start to solve systems of linear equations. Before we get ahead of ourselves, let’s review a few definitions.
For reasons which will become clear when you study Chapter SystemsofEquationsandMatrices, we are using subscripts in Definition lineareqntwovariables to indicate different, but fixed, real numbers and those subscripts have no mathematical meaning beyond that. For example, \(3x - \frac {y}{2} = 0.1\) is a linear equation in two variables with \(a_1 = 3\), \(a_2 = -\frac {1}{2}\) and \(c = 0.1\). We can also consider \(x = 5\) to be a linear equation in two variables by identifying \(a_1 = 1\), \(a_2 = 0\), and \(c = 5\).
If \(a_1\) and \(a_2\) are both \(0\), then depending on \(c\), we get either an equation which is always true, called an identity, or an equation which is never true, called a contradiction. (If \(c = 0\), then we get \(0 = 0\), which is always true. If \(c \neq 0\), then we’d have \(0 \neq 0\), which is never true.) Even though identities and contradictions have a large role to play throughout Chapter SystemsofEquationsandMatrices, we do not consider them linear equations. The key to identifying linear equations is to note that the variables involved are to the first power and that the coefficients of the variables are numbers. Some examples of equations which are non-linear are \(x^2 + y = 1\), \(xy = 5\) and \(e^{2x} + \ln (y) = 1\). The reader should consider why these do not satisfy Definition lineareqntwovariables.
We know from our work is Sections AppLines that the graphs of linear equations are lines. If we couple two or more linear equations together, in effect to find the points of intersection of two or more lines, we obtain a system of linear equations in two variables. Our first example explores the basic techniques for solving these systems. Remember - if we are looking for points in the plane, then both the \(x\) and \(y\) values are important. This is a key distinction between solving one equation and solving a system of equations.
Our first system is nearly solved for us. The second equation tells us that \(y=3\). To find the corresponding value of \(x\), we substitute this value for \(y\) into the the first equation to obtain \(2x - 3 = 1\), so that \(x = 2\). Our solution to the system is \((2,3)\). To check this algebraically, we substitute \(x=2\) and \(y=3\) into each equation and see that they are satisfied. We see \(2(2) - 3 = 1\), and \(3=3\), as required. To check our answer graphically, we graph the lines \(2x-y = 1\) and \(y=3\) and verify that they intersect at \((2,3)\).
To solve the second system, we use the addition method to eliminate the variable \(x\). We take the two equations as given and ‘add equals to equals’ to obtain
The equations in the third system are more approachable if we clear denominators. We multiply both sides of the first equation by \(15\) and both sides of the second equation by \(18\) to obtain the kinder, gentler system
An eerie calm settles over us as we cautiously approach our fourth system. Do its friendly integer coefficients belie something more sinister? We note that if we multiply both sides of the first equation by \(3\) and both sides of the second equation by \(-2\), we are ready to eliminate the \(x\)
This system has infinitely many solutions and one way to describe the solution set to this system is to use the roster method and write \(\{(x,y) \, | \, 2x-4y = 6\}\). While this is correct (and corresponds exactly to what’s happening graphically, as we shall see shortly), we take this opportunity to introduce the notion of a parametric solution to a system.
Our first step is to solve \(2x-4y = 6\) for one of the variables, say \(y = \frac {1}{2} x - \frac {3}{2}\). For each value of \(x\), the formula \(y = \frac {1}{2} x - \frac {3}{2}\) determines the corresponding \(y\)-value of a solution. Since we have no restriction on \(x\), it is called a free variable. We let \(x=t\), a so-called ‘parameter’, and get \(y = \frac {1}{2} t - \frac {3}{2}\). Our set of solutions can then be described as \(\left \{ \left (t, \frac {1}{2} t - \frac {3}{2}\right ) \, | \, -\infty < t < \infty \right \}\).
For specific values of \(t\), we can generate solutions. For example, \(t=0\) gives us the solution \(\left (0,-\frac {3}{2}\right )\); \(t = 117\) gives us \((117,57)\), and while we can check that each of these particular solutions satisfy both equations, the question is how do we check our general answer algebraically? Same as always.
We claim that for any real number \(t\), the pair \(\left (t, \frac {1}{2} t - \frac {3}{2}\right )\) satisfies both equations. Substituting \(x = t\) and \(y = \frac {1}{2} t - \frac {3}{2}\) into \(2x - 4y = 6\) gives \(2t - 4\left (\frac {1}{2} t - \frac {3}{2}\right ) = 6\). Simplifying, we get \(2t - 2t + 6 = 6\), which is always true. Similarly, when we make these substitutions in the equation \(3x-6y = 9\), we get \(3t - 6\left (\frac {1}{2} t - \frac {3}{2}\right ) = 9\) which reduces to \(3t - 3t + 9 = 9\), so it checks out, too.
Geometrically, \(2x-4y = 6\) and \(3x-6y=9\) are the same line, which means that they intersect at every point on their graphs. The reader is encouraged to think about how our parametric solution says exactly that.
Multiplying both sides of the first equation by \(2\) and the both sides of the second equation by \(-3\), we set the stage to eliminate \(x\)
As in the previous example, both \(x\) and \(y\) dropped out of the equation, but we are left with an irrevocable contradiction, \(0 = -18\). This tells us that it is impossible to find a pair \((x,y)\) which satisfies both equations; in other words, the system has no solution. Graphically, the lines \(6x + 3y =9\) and \(4x + 2y = 12\) are distinct and parallel, so they do not intersect.
We can begin to solve our last system by adding the first two equations
which gives \(x = 1\). Substituting this into the first equation gives \(1 - y = 0\) so that \(y = 1\). We seem to have determined a solution to our system, \((1,1)\). While this checks in the first two equations, when we substitute \(x=1\) and \(y=1\) into the third equation, we get \(-2(1) + (1) = -2\) which simplifies to the contradiction \(-1 = -2\). Graphing the lines \(x-y=0\), \(x+y = 2\), and \(-2x+y=-2\), we see that the first two lines do, in fact, intersect at \((1,1)\), however, all three lines never intersect at the same point simultaneously, which is what is required if a solution to the system is to be found.
A few remarks about Example reviewsubelim are in order. Notice that some of the systems of linear equations had solutions while others did not. Those which have solutions are called consistent, those with no solution are called inconsistent. We also distinguish between the two different types of behavior among consistent systems. Those which admit free variables are called dependent and those with no free variables are called independent.
Using this new vocabulary, we classify numbers 1, 2 and 3 in Example reviewsubelim as consistent independent systems, number 4 is consistent dependent, and numbers 5 and 6 are inconsistent. The system in 6 above is called overdetermined, since we have more equations than variables. Not surprisingly, a system with more variables than equations is called underdetermined. While the system in number 6 above is overdetermined and inconsistent, there exist overdetermined consistent systems (both dependent and independent) and we leave it to the reader to think about what is happening algebraically and geometrically in these cases. Likewise, there are both consistent and inconsistent underdetermined systems, but a consistent underdetermined system of linear equations is necessarily dependent.
We end this section with a story problem. It is an example of a classic “mixture” problem and should be familiar to most readers. The basic goal here is to create two equations: one which represents
and the other which represents
Solution. Let \(S\) stand for the number of fluid ounces of Sasquatch SweatTM Energy Drink and let \(F\) be the number of fluid ounces of Frooty Giggle DelightTM that will be added together. The goal is to make 5 gallons and there are 128 fluid ounces per gallon so the first equation is
Similarly, the \(F\) fluid ounces of Frooty Giggle DelightTM add \(3F\) mg. of caffeine to the total mixture. Thus when we go to express “value of stuff + value of other stuff = value of total stuff” we need to figure out how much caffeine is supposed to be in the end product. Well, the goal was 5 gallons of punch that had 80 mg. of caffeine per fluid ounce so the Dude-Bros need to end up with \(5*128*80 = 51200\) mg. of caffeine when they’re done. Hence the second is equation is
By turning the first equation into \(F = 640 - S\) and substituting that into the second equation we get
The reader should take the time to verify that \(S = \frac {49280}{97}\) and \(F = \frac {12800}{97}\) do indeed satisfy both equations and thus are the solution to the problem. Those are fairly unattractive numbers so we end this example by discussing a way to verify an approximate answer which is reasonable without having to fight with fractions. Round \(S\) down to 508 and round \(F\) up to 132. Clearly \(508 + 132 = 640\) so the first equation is still satisfied. Notice that \(100*508 + 3*132 = 51196\) which is really close to 51200. Thus the second equation is nearly satisfied which means the values \(S = 508\) and \(F = 132\), while not precise, are reasonable. □