1 00:00:00,000 --> 00:00:01,050 2 00:00:01,050 --> 00:00:04,040 Welcome to the presentation on systems of linear equations. 3 00:00:04,040 --> 00:00:06,970 So let's get started and see what it's all about. 4 00:00:06,969 --> 00:00:10,109 So let's say I had two equations now. 5 00:00:10,109 --> 00:00:15,739 The first equation let me write it as 9x minus 6 00:00:15,740 --> 00:00:21,759 4y equals minus 78. 7 00:00:21,760 --> 00:00:28,950 And the second equation I will write as 4x plus 8 00:00:28,949 --> 00:00:33,390 y is equal to mine 18. 9 00:00:33,390 --> 00:00:35,411 Now what we're going to do now is we're actually going to 10 00:00:35,411 --> 00:00:39,700 use both equations to solve for x and y. 11 00:00:39,700 --> 00:00:41,900 We already know that if you have one equation, it has one 12 00:00:41,899 --> 00:00:44,280 variable, it is very easy to solve for that one variable. 13 00:00:44,280 --> 00:00:45,789 But now we have to equations. 14 00:00:45,789 --> 00:00:47,339 You can almost view them as two constraints. 15 00:00:47,340 --> 00:00:50,340 And we're going to solve for both variables. 16 00:00:50,340 --> 00:00:51,790 And you might be a little confused. 17 00:00:51,789 --> 00:00:52,519 How does that work? 18 00:00:52,520 --> 00:00:54,910 Is it just magic that two equations can solves 19 00:00:54,909 --> 00:00:55,899 for two variables? 20 00:00:55,899 --> 00:00:56,799 Well it's not. 21 00:00:56,799 --> 00:00:58,849 Because you can actually rearranged each of these 22 00:00:58,850 --> 00:01:01,840 equations so that they look kind of in normal y 23 00:01:01,840 --> 00:01:03,700 equals mx plus b format. 24 00:01:03,700 --> 00:01:06,200 And I'm not going to draw these actual two equations because I 25 00:01:06,200 --> 00:01:08,859 don't know what they look like, but if this was a coordinate 26 00:01:08,859 --> 00:01:11,620 axis-- and I don't know what that first line actually does 27 00:01:11,620 --> 00:01:14,010 look like, we could do another model where we figured it out 28 00:01:14,010 --> 00:01:16,500 --but lets just say for sake of argument, that first line all 29 00:01:16,500 --> 00:01:20,540 the x's and y's that satisfy 9x minus 4y equals negative 30 00:01:20,540 --> 00:01:22,690 78, let's say it looks something like that. 31 00:01:22,689 --> 00:01:26,399 And let's say all of the x's and y's that satisfy that 32 00:01:26,400 --> 00:01:31,340 second equation, 4x plus y equals negative 18, let's say 33 00:01:31,340 --> 00:01:34,680 that looks something like this. 34 00:01:34,680 --> 00:01:35,620 Right? 35 00:01:35,620 --> 00:01:40,050 So, on the line is all of the x's and y's that satisfy this 36 00:01:40,049 --> 00:01:42,554 equation, and on the green line are all the x's and y's 37 00:01:42,555 --> 00:01:44,275 that satisfy this equation. 38 00:01:44,275 --> 00:01:48,170 But there's only one pair of x and y's that satisfy both 39 00:01:48,170 --> 00:01:51,430 equations, and you can guess where that is, that's 40 00:01:51,430 --> 00:01:52,560 right here right. 41 00:01:52,560 --> 00:01:57,659 Whatever that point is-- I'll do it in pink for emphasis. 42 00:01:57,659 --> 00:02:00,799 Whatever this point is, notice it's on both lines. 43 00:02:00,799 --> 00:02:05,259 So whatever x and y that is would be the solution to 44 00:02:05,260 --> 00:02:06,670 this system of equations. 45 00:02:06,670 --> 00:02:09,860 So let's actually figure out how to do that. 46 00:02:09,860 --> 00:02:12,080 So what we want to do is eliminate a variable, because 47 00:02:12,080 --> 00:02:15,200 if you can eliminate a variable then we can just solve for 48 00:02:15,199 --> 00:02:16,429 the one that's left over. 49 00:02:16,430 --> 00:02:19,930 And the way to do that-- let's see, I want to eliminate, I 50 00:02:19,930 --> 00:02:22,210 feel like eliminating this y, and I think you'll get 51 00:02:22,210 --> 00:02:24,629 an intuition for how we can do that later on. 52 00:02:24,629 --> 00:02:26,620 And the way I'm going to do that is I'm going to make 53 00:02:26,620 --> 00:02:29,250 it so that when I had this to this, they cancel out. 54 00:02:29,250 --> 00:02:31,340 Well, they don't cancel out right now, so I have to 55 00:02:31,340 --> 00:02:34,379 multiply this bottom equation by 4, and I think it'll be 56 00:02:34,379 --> 00:02:35,519 obvious why I'm doing it. 57 00:02:35,520 --> 00:02:37,810 So let's multiply this bottom equation by 4. 58 00:02:37,810 --> 00:02:50,819 And I get 16x plus 4y is equal to 40 plus 32 minus 72. 59 00:02:50,819 --> 00:02:51,129 Right? 60 00:02:51,129 --> 00:02:53,949 All I did is I multiplied both sides of the 61 00:02:53,949 --> 00:02:55,619 equation by 4, right? 62 00:02:55,620 --> 00:02:57,210 And you have to multiply every term because 63 00:02:57,210 --> 00:02:59,500 it's the distributive property on both sides. 64 00:02:59,500 --> 00:03:01,050 Whatever you do to one side you have to do to the other. 65 00:03:01,050 --> 00:03:03,300 Let me rewrite top equation again. 66 00:03:03,300 --> 00:03:05,230 And I'll write in the same color so we can keep 67 00:03:05,229 --> 00:03:06,340 track of things. 68 00:03:06,340 --> 00:03:13,360 9x minus 4y is equal to minus 78. 69 00:03:13,360 --> 00:03:18,580 OK, well now, if we were to add these two equations, when you 70 00:03:18,580 --> 00:03:20,430 add equations, you just add the left side and you 71 00:03:20,430 --> 00:03:22,270 add the right side. 72 00:03:22,270 --> 00:03:25,439 Well when you add, you have 16x plus 9x. 73 00:03:25,439 --> 00:03:28,590 Well that equals 25x. 74 00:03:28,590 --> 00:03:28,950 Right? 75 00:03:28,949 --> 00:03:31,449 16 plus 9. 76 00:03:31,449 --> 00:03:34,909 4y minus 4, that just equals 0. 77 00:03:34,909 --> 00:03:43,680 So that's plus 0 equals, and then we have minus 72 minus 78. 78 00:03:43,680 --> 00:03:51,490 So, let's see that's minus 150, minus 150, right? 79 00:03:51,490 --> 00:03:53,060 Just adding them all together. 80 00:03:53,060 --> 00:03:58,819 So we have 25x equals 150. 81 00:03:58,819 --> 00:04:03,419 Well, we could just divide both sides by 25 or multiply both 82 00:04:03,419 --> 00:04:05,379 sides by 1/25, it's the same thing. 83 00:04:05,379 --> 00:04:08,469 And you get x equals-- that's a negative 150 84 00:04:08,469 --> 00:04:11,500 --x equals minus 6. 85 00:04:11,500 --> 00:04:14,870 There we solved the x-coordinate. 86 00:04:14,870 --> 00:04:16,949 Now to solve the y-coordinate we can just use either one of 87 00:04:16,949 --> 00:04:18,500 these equations up at top. 88 00:04:18,500 --> 00:04:20,810 So let's use this one, it seems a little bit, 89 00:04:20,810 --> 00:04:23,019 marginally simpler. 90 00:04:23,019 --> 00:04:26,089 So we just substitute the x back in there and we get 91 00:04:26,089 --> 00:04:34,715 4 time minus 6 plus y is equal to minus 18. 92 00:04:34,716 --> 00:04:35,730 Go up here. 93 00:04:35,730 --> 00:04:42,564 4 times minus 6 we get minus 24 plus y is equal to minus 18. 94 00:04:42,564 --> 00:04:47,406 And then get y is equal to 24 minus 18. 95 00:04:47,406 --> 00:04:50,509 So y is equal to 6. 96 00:04:50,509 --> 00:04:54,099 So these two lines or these two equations, you could even say, 97 00:04:54,100 --> 00:05:00,300 intersect at the point x is m inus six and y is plus 6. 98 00:05:00,300 --> 00:05:02,520 So they actually intersect someplace around here instead. 99 00:05:02,519 --> 00:05:05,639 I drew these, the line probably look something more like that. 100 00:05:05,639 --> 00:05:06,949 But that's pretty cool, no? 101 00:05:06,949 --> 00:05:11,829 We actually solved for two variables using two equations. 102 00:05:11,829 --> 00:05:12,639 Let's see how much time I have. 103 00:05:12,639 --> 00:05:14,469 I think we have enough time to do another problem. 104 00:05:14,470 --> 00:05:20,200 105 00:05:20,199 --> 00:05:23,019 So let's say I had the points-- and I'm going to write them in 106 00:05:23,019 --> 00:05:32,939 two different colors again --minus 7x minus 4y equals 9, 107 00:05:32,939 --> 00:05:39,149 and then the second equation is going to be x plus 108 00:05:39,149 --> 00:05:42,459 2y is equal to 3. 109 00:05:42,459 --> 00:05:45,139 Now if I were doing this as fast as possible, I'd probably 110 00:05:45,139 --> 00:05:47,990 multiply this equation times 7 and it would automatically 111 00:05:47,990 --> 00:05:49,019 cancel out. 112 00:05:49,019 --> 00:05:49,849 But that's easy way. 113 00:05:49,850 --> 00:05:51,290 I'm going to show you that sometimes you might have to 114 00:05:51,290 --> 00:05:54,780 multiply both equations-- actually, not in this case. 115 00:05:54,779 --> 00:05:56,799 Actually let's just do it the fast way real fast. 116 00:05:56,800 --> 00:05:59,379 So let's multiply this bottom equation by 7. 117 00:05:59,379 --> 00:06:00,829 And the whole reason why I want to the, multiply it with 7, 118 00:06:00,829 --> 00:06:03,439 because I want this to cancel out with this. 119 00:06:03,439 --> 00:06:10,149 If you multiply it by 7 you get 7x plus 14y is equal to 21. 120 00:06:10,149 --> 00:06:12,929 Let's write that first equation down again. 121 00:06:12,930 --> 00:06:19,064 Minus 7x minus 4y is equal to 9. 122 00:06:19,064 --> 00:06:20,329 Now we just add. 123 00:06:20,329 --> 00:06:24,259 This is a positive 7x, it just always looks like a negative. 124 00:06:24,259 --> 00:06:25,899 OK, so that's 0. 125 00:06:25,899 --> 00:06:32,459 14 minus 4y plus 10y is equal to 30. 126 00:06:32,459 --> 00:06:34,750 y is equal to 3. 127 00:06:34,750 --> 00:06:36,350 Now we just substitute back into either equation, 128 00:06:36,350 --> 00:06:37,980 lets do that one. 129 00:06:37,980 --> 00:06:42,110 x plus 2 times y, 2 times 3. 130 00:06:42,110 --> 00:06:43,879 x plus 6 equals 3. 131 00:06:43,879 --> 00:06:45,899 We get x equals negative 3. 132 00:06:45,899 --> 00:06:48,469 That one was super easy. 133 00:06:48,470 --> 00:06:49,550 The intercept. 134 00:06:49,550 --> 00:06:51,210 Hope I didn't do it to fast. 135 00:06:51,209 --> 00:06:54,430 Well, you can pause it and watch it again if you have. 136 00:06:54,430 --> 00:07:00,269 OK, so these two lines intersect at the point 137 00:07:00,269 --> 00:07:03,181 negative 3 comma 3. 138 00:07:03,182 --> 00:07:04,250 Let's do one more. 139 00:07:04,250 --> 00:07:07,456 140 00:07:07,456 --> 00:07:10,710 Hope this one's harder. 141 00:07:10,709 --> 00:07:11,509 I think it will. 142 00:07:11,509 --> 00:07:20,300 OK, negative 3x minus 9y is equal to 66. 143 00:07:20,300 --> 00:07:27,199 We have minus 7x plus 4y is equal to minus 71. 144 00:07:27,199 --> 00:07:28,370 So here it's not obvious. 145 00:07:28,370 --> 00:07:31,540 What we have to do is, let's say we want to cancel 146 00:07:31,540 --> 00:07:33,980 out the y's first. 147 00:07:33,980 --> 00:07:36,500 What we do is we try to make both of them equal to the least 148 00:07:36,500 --> 00:07:38,660 common multiple of 9 and 4. 149 00:07:38,660 --> 00:07:43,340 So, if we multiply the top equation by 4 we get-- 150 00:07:43,339 --> 00:07:44,519 I'll do it right here. 151 00:07:44,519 --> 00:07:45,870 Let's multiply it by 4. 152 00:07:45,870 --> 00:07:47,959 Times 4. 153 00:07:47,959 --> 00:07:59,199 We'll get minus 12x minus 36y is equal to 4 times 154 00:07:59,199 --> 00:08:05,399 240 plus 24 is 264. 155 00:08:05,399 --> 00:08:06,929 Right, I hope that's right. 156 00:08:06,930 --> 00:08:09,220 We multiply the second equation by 9. 157 00:08:09,220 --> 00:08:25,420 So it's minus 63x plus 36y is equal to, let's see, 639. 158 00:08:25,420 --> 00:08:26,030 Big numbers. 159 00:08:26,029 --> 00:08:29,349 639. 160 00:08:29,350 --> 00:08:31,540 OK, now we add the two equations. 161 00:08:31,540 --> 00:08:43,570 Minus 12 minus 63 thats minus 75x-- these cancel out --equals 162 00:08:43,570 --> 00:08:50,129 264, let's see what's 639 minus 264. 163 00:08:50,129 --> 00:08:51,159 See I do this in real time. 164 00:08:51,159 --> 00:08:55,100 I don't use some kind of solution manual or something. 165 00:08:55,100 --> 00:08:59,710 13 and 5, 70. 166 00:08:59,710 --> 00:09:02,259 I don't know if I'm right, but we'll see. 167 00:09:02,259 --> 00:09:06,360 Since it's actually the negative 639, this is minus 168 00:09:06,360 --> 00:09:12,440 375, and I know that seventy five goes into 300 4 169 00:09:12,440 --> 00:09:16,450 times, so x is equal to 5. 170 00:09:16,450 --> 00:09:19,515 75 times 5 is 375. 171 00:09:19,514 --> 00:09:22,460 We just divided both sides by 75. 172 00:09:22,460 --> 00:09:25,367 So if x is 5 we just substitute it back into-- let's 173 00:09:25,366 --> 00:09:27,889 use this equation. 174 00:09:27,889 --> 00:09:36,379 So we get minus 3 times 5 minus 9y is equal to 66. 175 00:09:36,379 --> 00:09:41,919 We get minus 15 minus 9y equals 66. 176 00:09:41,919 --> 00:09:45,879 Minus 9y is equal to 81. 177 00:09:45,879 --> 00:09:49,840 And then we get y is equal to minus 9. 178 00:09:49,840 --> 00:09:53,530 So the answer is 5 comma minus 9. 179 00:09:53,529 --> 00:09:55,529 I think you're ready to do some systems of equations now. 180 00:09:55,529 --> 00:09:57,089 Have Fun.