Linear Equations in Two Variables
In this chapter, we’ll use the geometry of lines to help us solve equations.
Linear equations in two variables If a, b,andr are real numbers (and if a and b are not both equal to 0) then ax + by = r is called a linear equation in two variables. (The “two variables” are the x and the y.) The numbers a and b are called the coe cients of the equation ax+by = r. The number r is called the constant of the equation ax + by = r.
Examples. 10x 3y =5and 2x 4y = 7 are linear equations in two variables.
Solutions of equations A solution of a linear equation in two variables ax+by = r is a specific point in R2 such that when when the x-coordinate of the point is multiplied by a, and the y-coordinate of the point is multiplied by b, and those two numbers are added together, the answer equals r. (There are always infinitely many solutions to a linear equation in two variables.)
Example. Let’s look at the equation 2x 3y =7. Notice that x =5andy =1isapointinR2 that is a solution of this equation because we can let x =5andy =1intheequation2x 3y =7 and then we’d have 2(5) 3(1) = 10 3=7. The point x =8andy =3isalsoasolutionoftheequation2 x 3y =7 since 2(8) 3(3) = 16 9=7. The point x =4and y =6isnot asolutionoftheequation2x 3y =7 because 2(4) 3(6) = 8 18 = 10, and 10 =7. 6 To get a geometric interpretation for what the set of solutions of 2x 3y =7 looks like, we can add 3y, subtract 7, and divide by 3 to rewrite 2x 3y =7 2 7 2 as 3x 3 = y. This is the equation of a line that has slope 3 and a y-intercept 7 of 3. In particular, the set of solutions to 2x 3y =7isastraightline. (This is why it’s called a linear equation.) 244 J\j -R 0 U’ oj -o
. .. H 0 -o
LinearLinearLinearLinear equations equations equations equations and and lines. lines. and and and lines. lines. lines If b =0,thenthelinearequationIfIfIfbbb =0,thenthelinearequation=0,thenthelinearequation=0,thenthelinearequationaxax ++ bybyaxaxax==+++rrbybybyisis= the= the= rrr same sameisisis the the the as as same same sameaxax == as as asrrax.ax.ax === rrr... rr rrr DividingDividingDividingDividing by a gives by by byaaxagivesgives==gives,,x sox sox=== the thea,,, solutions solutionsso so so the the the solutions solutions solutions to to this this to equation toequation of this this this equation equation equation consist consist consist ofconsist consistof the the of of of the the the aa aa r points onpoints the vertical on the linevertical line whose whose linexx-coordinates whose-coordinatesx-coordinates equal equal rr.. equal rr . pointspoints on on the the vertical vertical line line whose whose xx-coordinates-coordinatesaa equal equal aaa..
~xtr (b*o)
If b = 0,IfIfIf thenbbb=== 0, the 0, 0, then then then same the the the ideas ideas same same same from from ideas ideas ideas the the from from from 2 2xx the the the33yy 2 2=7examplethatwelooked 2=7examplethatwelookedxxx 333yyy=7examplethatwelooked=7examplethatwelooked=7examplethatwelooked ⇥6 6 at previouslyatatat previously previously previously⇥ shows6 that shows shows showsaxax that+ that+ thatbybyaxax=ax= +rr++isisbybyby the the===rr samer sameisisis the the the equation equation same same same equation equation equation as, as, just just as, as, writtenas, written just just just written written inwritten in in in in adi erentadi form↵erent from, form from,aax + rr =aaaxy+.r Thisrr = y is. the This equation is the equation of a straight of a straight line line adi erentadiadi form erenterent from, form form from, from,bb x + bb b=bbxxy++.bb Thisb == yy. is. This This the equation is is the the equation equation of a straight of of a a straight straight line line line a aaa rr rrr whose slopewhosewhosewhose is slope slope slopeand is is is whose whoseb andandandyy whose whose-intercept whose-interceptyyy-intercept-intercept-intercept is is .. is is is b... bb bb bb bb J\j ~xtr (b*o) -R 0 U’ oj -o
1862 1862452 H 0 -o Systems of linear equations Rather than asking for the set of solutions of a single linear equation in two variables, we could take two di↵erent linear equations in two variables and ask for all those points that are solutions to both of the linear equations. For example, the point x =4andy =1isasolutionofbothoftheequations x + y =5andx y =3. If you have more than one linear equation, it’s called a system of linear equations, so that x + y =5 x y =3 is an example of a system of two linear equations in two variables. There are two equations, and each equation has the same two variables: x and y. A solution of a system of equations is a point that is a solution of each of the equations in the system.
Example. The point x =3andy =2isasolutionofthesystemoftwo linear equations in two variables 8x +7y =38 3x 5y = 1 because x =3andy =2isasolutionof3x 5y = 1 and it is a solution of 8x +7y =38. Unique solutions Geometrically, finding a solution of a system of two linear equations in two variables is the same problem as finding a point in R2 that lies on each of the straight lines corresponding to the two linear equations. Almost all of the time, two di↵erent lines will intersect in a single point, so in these cases, there will only be one point that is a solution to both equations. Such a point is called the unique solution of the system of linear equations.
Example. Let’s take a second look at the system of equations 8x +7y =38 3x 5y = 1 246 The first equation in this system, 8x +7y =38,correspondstoalinethat TheThe first first8 equation equation in in this this system, system, 8 8xx+7+7yy =38,correspondstoalinethat=38,correspondstoalinethat has slope 788. The second equation in this system, 3x 5y =3,isrepresented hashas slope slope 77.. The The second second equation equation3 3 in in this this system, system, 3 3xx 55yy =3,isrepresented=3,isrepresented by a line that has slope 3 = 3. Since the two slopes