<<

Linear in Two Variables

In this chapter, we’ll use the 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 in two variables. (The “two variables” are the x and the y.) The numbers a and b are called the coecients 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 =4andy =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 that has 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 adierentadi 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 adierentadiadi formerenterent 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 are not equal, the byby a a line line that that has has slope slope 53 == 53.. Since Since the the two two slopes slopes are are not not equal, equal, the the lines have to intersect in exactly 55 one55 point. That one point will be the unique lineslines have have to to intersect intersect in in exactly exactly one one point. point. That That one one point point will will be be the the unique unique solution. As we’ve seen before, x =3andy =2isasolutionofthissystem. solution.solution. As As we’ve we’ve seen seen before before that that xx =3and=3andyy =2isasolutiontothis=2isasolutiontothis It is the unique solution. system,system, it it must must be be the the unique unique solution. solution.

5

Ii.

3

2.

ii ~

Example. The system Example.Example. TheThe system system 5x +2y =4 S 55xx +2+2yy =4=4 2x + y =11 22xx++ yy =11=11 has a unique solution. It’sIt x = 2andy =7. hashas a a unique unique solution. solution. It’s It’s xx == 2and2andyy =7.=7. It’s straightforward to check that x = 2andy =7isasolutionofthe It’sIt’s straightforward straightforward to to3 check check that that xx == 2and2andyy =7isasolutiontothe=7isasolutiontothe system. That it’s the only solution follows from the fact that the slope of the system.system. That That it’s it’s the the only only solution solution follows follows from from the the fact fact that that the the slope slope of of the the line 5x +2y =4isdi↵erent from slope of the line 2x + y =11.Thosetwo lineline 5 5xx +2+2yy5=4isdi=4isdierenterent from from slope slope of of the the line line 22xx++yy =11.Thosetwo=11.Thosetwo slopes are 5 and 22 respectively. slopesslopes are are25 andand 2 respectively.respectively. 22 1111 NoNoNo solutions solutions. solutions. If you reach into a hat and pulla outS two di↵erent linear equations in two IfIf you you reach reach into into a a hat hat and and pull pull out out two two di dierenterent linear linear equations equations in in two two variables, it’s highly unlikely that the two corresponding lines would have variables,variables, it’s it’s highly highly unlikely unlikely that that the the two two corresponding corresponding lines lines would would have have exactly the same slope. But if they did have the same slope, then there exactlyexactly the the same same slope. slope. But But if if they they247 did did have have the the same same slope, slope, then then there there 1884 5

Ii. wouldwould not not be be a a solution of to the the system system of of two two linear linear equations equations since since no no point point would22 not be a solution3 to the system of two linear equations since no point inin R 2wouldwould lie lie on on both both of of the the parallel parallel lines. lines. inRR would lie on both of the parallel lines. Example. The system 2. Example.Example.TheThe system system xx 22yy == 44 x 2y = 4 33xx +6+6 yy =0=0 ii3x +6~y =0 doesdoes not not have have a a solution. solution. That’s That’s because because each each of of the the two two lines lines has has the the same same does not1 have a solution. That’s because each of the two lines has the same slope, 1, so the lines don’t intersect. slope, 22,1 so the lines don’t intersect. slope, 2, so the lines don’t intersect.

S

It

3

a S

************* **************************

248189 5 Exercises

1.) What are the coecients of the equation 2x 5y = 23 ? 2.) What is the constant of the equation 2x 5y = 23 ? 3.) Is x = 4andy =3asolutionoftheequation2x 5y = 23 ?

4.) What are the coecients of the equation 7x +6y =15? 5.) What is the constant of the equation 7x +6y =15? 6.) Is x =3andy = 10 a solution of the equation 7x +6y =15?

7.) Is x =1andy =0asolutionofthesystem x + y =1 2x +3y =3

8.) Is x = 1andy =3asolutionofthesystem 7x +2y = 1 5x 3 y = 14

9.) What’s the slope of the line 30x 6y =3? 10.) What’s the slope of the line 10x +5y =4? 11.) Is there a unique solution to the system 30x 6y =3 10x +5y =4

12.) What’s the slope of the line 6x +2y =4?

13.) What’s the slope of the line 15x +5y = 7? 249 14.) Is there a unique solution to the system 6x +2y =4 15x +5y = 7

For #15-17, find the roots of the given quadratic .

15.) 9x2 12x +4 16.) 2x2 3x +1 17.) 4x2 +2x 3

250