1 00:00:00,000 --> 00:00:00,450 2 00:00:00,450 --> 00:00:02,209 Let's explore a few more methods for 3 00:00:02,209 --> 00:00:04,410 solving systems of equations. 4 00:00:04,410 --> 00:00:12,370 Let's say I have the equation, 3x plus 4y is equal to 2.5. 5 00:00:12,369 --> 00:00:24,079 And I have another equation, 5x minus 4y is equal to 25.5. 6 00:00:24,079 --> 00:00:28,149 And we want to find an x and y value that satisfies both of 7 00:00:28,149 --> 00:00:29,219 these equations. 8 00:00:29,219 --> 00:00:31,259 If you think of it graphically, this would be the 9 00:00:31,260 --> 00:00:34,850 intersection of the lines that represent the solution sets to 10 00:00:34,850 --> 00:00:37,079 both of these equations. 11 00:00:37,079 --> 00:00:38,929 So how can we proceed? 12 00:00:38,929 --> 00:00:40,520 We saw in substitution, we like to 13 00:00:40,520 --> 00:00:42,350 eliminate one of the variables. 14 00:00:42,350 --> 00:00:44,030 We did it through substitution last time. 15 00:00:44,030 --> 00:00:47,719 But is there anything we can add or subtract-- let's focus 16 00:00:47,719 --> 00:00:50,689 on this yellow, on this top equation right here-- is there 17 00:00:50,689 --> 00:00:53,199 anything that we can add or subtract to both 18 00:00:53,200 --> 00:00:54,330 sides of this equation? 19 00:00:54,329 --> 00:00:56,289 Remember, any time you deal with an equation you have to 20 00:00:56,289 --> 00:00:59,240 add or subtract the same thing to both sides. 21 00:00:59,240 --> 00:01:01,590 But is there anything that we could add or subtract to both 22 00:01:01,590 --> 00:01:03,410 sides of this equation that might 23 00:01:03,409 --> 00:01:05,069 eliminate one of the variables? 24 00:01:05,069 --> 00:01:08,170 And then we would have one equation in one variable, and 25 00:01:08,170 --> 00:01:09,609 we can solve for it. 26 00:01:09,609 --> 00:01:12,459 And it's probably not obvious, even though it's sitting right 27 00:01:12,459 --> 00:01:14,049 in front of your face. 28 00:01:14,049 --> 00:01:17,619 Well, what if we just added this 29 00:01:17,620 --> 00:01:19,189 equation to that equation? 30 00:01:19,189 --> 00:01:22,859 What I mean by that is, what if we were to add 5x minus 4y 31 00:01:22,859 --> 00:01:27,140 to the left-hand side, and add 25.5 to the right-hand side? 32 00:01:27,140 --> 00:01:31,030 So if I were to literally add this to the left-hand side, 33 00:01:31,030 --> 00:01:33,829 and add that to the right-hand side. 34 00:01:33,829 --> 00:01:36,340 And you're probably saying, Sal, hold on, how can you just 35 00:01:36,340 --> 00:01:37,870 add two equations like that? 36 00:01:37,870 --> 00:01:41,829 And remember, when you're doing any equation, if I have 37 00:01:41,829 --> 00:01:45,399 any equation of the form-- well, really, any equation-- 38 00:01:45,400 --> 00:01:50,650 Ax plus By is equal to C, if I want to do something to this 39 00:01:50,650 --> 00:01:53,460 equation, I just have to add the same thing to both sides 40 00:01:53,459 --> 00:01:54,469 of the equation. 41 00:01:54,469 --> 00:01:58,569 So I could, for example, I could add D to both sides of 42 00:01:58,569 --> 00:01:59,089 the equation. 43 00:01:59,090 --> 00:02:01,310 Because D is equal to D, so I won't be 44 00:02:01,310 --> 00:02:02,969 changing the equation. 45 00:02:02,969 --> 00:02:09,270 You would get Ax plus By, plus D is equal to C plus D. 46 00:02:09,270 --> 00:02:12,170 And we've seen that multiple, multiple times. 47 00:02:12,169 --> 00:02:14,500 Anything you do to one side of the equation, you have to do 48 00:02:14,500 --> 00:02:15,759 to the other side. 49 00:02:15,759 --> 00:02:18,349 But you're saying, hey, Sal, wait, on the left-hand side, 50 00:02:18,349 --> 00:02:21,180 you're adding 5x minus 4y to the equation. 51 00:02:21,180 --> 00:02:25,090 On the right-hand side, you're adding 25.5 to the equation. 52 00:02:25,090 --> 00:02:27,975 Aren't you adding two different things to both sides 53 00:02:27,975 --> 00:02:28,840 of the equation? 54 00:02:28,840 --> 00:02:30,740 And my answer would be no. 55 00:02:30,740 --> 00:02:35,450 We know that 5x minus 4y is 25.5. 56 00:02:35,449 --> 00:02:40,159 This quantity and this quantity are the same. 57 00:02:40,159 --> 00:02:42,629 They're both 25.5. 58 00:02:42,629 --> 00:02:46,659 This second equation is telling me that explicitly. 59 00:02:46,659 --> 00:02:48,710 So I can add this to the left-hand side. 60 00:02:48,710 --> 00:02:51,170 I'm essentially adding 25.5 to it. 61 00:02:51,169 --> 00:02:54,149 And I could add 25.5 to the right-hand side. 62 00:02:54,150 --> 00:02:55,340 So let's do that. 63 00:02:55,340 --> 00:02:57,909 If we were to add the left-hand side, 64 00:02:57,909 --> 00:03:01,579 3x plus 5x is 8x. 65 00:03:01,580 --> 00:03:04,590 And then what is 4y minus 4y? 66 00:03:04,590 --> 00:03:06,659 And this was the whole point. 67 00:03:06,659 --> 00:03:08,079 When I looked at these two equations, I said, oh, I have 68 00:03:08,080 --> 00:03:09,860 a 4y, I have a negative 4y. 69 00:03:09,860 --> 00:03:12,490 If you just add these two together, they are going to 70 00:03:12,490 --> 00:03:13,180 cancel out. 71 00:03:13,180 --> 00:03:15,670 They're going to be plus 0y. 72 00:03:15,669 --> 00:03:17,780 Or that whole term is just going to go away. 73 00:03:17,780 --> 00:03:25,539 And that's going to be equal to 2.5 plus 25.5 is 28. 74 00:03:25,539 --> 00:03:26,799 So you divide both sides. 75 00:03:26,800 --> 00:03:30,530 So you get 8x is equal to 28. 76 00:03:30,530 --> 00:03:38,599 And you divide both sides by 8, and we get x is equal to 28 77 00:03:38,599 --> 00:03:41,759 over 8, or you divide the numerator and the 78 00:03:41,759 --> 00:03:43,199 denominator by 4. 79 00:03:43,199 --> 00:03:47,899 That's equal to 7 over 2. 80 00:03:47,900 --> 00:03:49,069 That's our x value. 81 00:03:49,069 --> 00:03:51,049 Now we want to solve for our y value. 82 00:03:51,050 --> 00:03:54,930 And we could substitute this back into either 83 00:03:54,930 --> 00:03:56,550 of these two equations. 84 00:03:56,550 --> 00:03:57,820 Let's use the top one. 85 00:03:57,819 --> 00:03:59,829 You could do it with the bottom one as well. 86 00:03:59,830 --> 00:04:08,280 So we know that 3 times x, 3 times 7 over 2-- I'm just 87 00:04:08,280 --> 00:04:11,509 substituting the x value we figured out into this top 88 00:04:11,509 --> 00:04:17,129 equation-- 3 times 7 over 2, plus 4y is equal to 2.5. 89 00:04:17,129 --> 00:04:18,588 Let me just write that as 5/2. 90 00:04:18,588 --> 00:04:21,410 We're going to stay in the fraction world. 91 00:04:21,410 --> 00:04:28,670 So this is going to be 21 over 2 plus 4y is equal to 5/2. 92 00:04:28,670 --> 00:04:31,509 Subtract 21 over 2 from both sides. 93 00:04:31,509 --> 00:04:37,310 So minus 21 over 2, minus 21 over 2. 94 00:04:37,310 --> 00:04:40,699 The left-hand side-- you're just left with a 4y, because 95 00:04:40,699 --> 00:04:44,930 these two guys cancel out-- is equal to-- this is 5 96 00:04:44,930 --> 00:04:47,220 minus 21 over 2. 97 00:04:47,220 --> 00:04:50,060 That's negative 16 over 2. 98 00:04:50,060 --> 00:04:53,730 So that's negative 16 over 2, which is the same thing-- 99 00:04:53,730 --> 00:04:56,550 well, I'll write it out as negative 16 over 2. 100 00:04:56,550 --> 00:05:02,030 Or we could write that-- let's continue up here-- 4y-- I'm 101 00:05:02,029 --> 00:05:06,339 just continuing this train of thought up here-- 4y is equal 102 00:05:06,339 --> 00:05:08,399 to negative 8. 103 00:05:08,399 --> 00:05:13,549 Divide both sides by 4, and you get y is 104 00:05:13,550 --> 00:05:16,009 equal to negative 2. 105 00:05:16,009 --> 00:05:21,149 So the solution to this equation is x is equal to 7/2, 106 00:05:21,149 --> 00:05:22,509 y is equal to negative 2. 107 00:05:22,509 --> 00:05:25,649 This would be the coordinate of their intersection. 108 00:05:25,649 --> 00:05:28,179 And you could try it out on both of these 109 00:05:28,180 --> 00:05:29,129 equations right here. 110 00:05:29,129 --> 00:05:31,500 So let's verify that it also 111 00:05:31,500 --> 00:05:34,329 satisfies this bottom equation. 112 00:05:34,329 --> 00:05:42,930 5 times 7/2 is 35 over 2 minus 4 times negative 2, so minus 113 00:05:42,930 --> 00:05:44,170 negative 8. 114 00:05:44,170 --> 00:05:52,620 That's equivalent to-- let's see, this is 17.5 plus 8. 115 00:05:52,620 --> 00:05:56,069 And that indeed does equal 25.5. 116 00:05:56,069 --> 00:05:58,969 So this satisfies both equations. 117 00:05:58,970 --> 00:06:02,400 Now let's see if we can use our newly found skills to 118 00:06:02,399 --> 00:06:05,579 tackle a word problem, our newly found skills in 119 00:06:05,579 --> 00:06:07,439 elimination. 120 00:06:07,439 --> 00:06:10,459 So here it says, Nadia and Peter visit the candy store. 121 00:06:10,459 --> 00:06:16,969 Nadia buys 3 candy bars and 4 Fruit Roll-Ups for $2.84. 122 00:06:16,970 --> 00:06:21,700 Peter also buys 3 candy bars, but can only afford 1 123 00:06:21,699 --> 00:06:23,430 additional Fruit Roll-Up. 124 00:06:23,430 --> 00:06:25,949 His purchase costs $1.79. 125 00:06:25,949 --> 00:06:30,029 What is the cost of each candy bar and each Fruit Roll-Up? 126 00:06:30,029 --> 00:06:32,309 So let's define some variables. 127 00:06:32,310 --> 00:06:33,649 Let's just use x and y. 128 00:06:33,649 --> 00:06:40,719 Let's let x equal cost of candy bar-- I was going to do 129 00:06:40,720 --> 00:06:43,830 a c and a f for Fruit Roll-Up, but I'll just stick with x and 130 00:06:43,829 --> 00:06:46,289 y-- cost of candy bar. 131 00:06:46,290 --> 00:06:53,020 And let y equal the cost of a Fruit Roll-Up. 132 00:06:53,019 --> 00:06:56,709 133 00:06:56,709 --> 00:06:57,259 All right. 134 00:06:57,259 --> 00:07:00,310 So what does this first statement tell us? 135 00:07:00,310 --> 00:07:04,060 Nadia buys 3 candy bars, so the cost of 3 candy bars is 136 00:07:04,060 --> 00:07:05,310 going to be 3x. 137 00:07:05,310 --> 00:07:09,519 138 00:07:09,519 --> 00:07:11,949 And 4 Fruit Roll-Ups. 139 00:07:11,949 --> 00:07:15,569 Plus 4 times y, the cost of a Fruit Roll-Up. 140 00:07:15,569 --> 00:07:17,339 This is how much Nadia spends. 141 00:07:17,339 --> 00:07:19,479 3 candy bars, 4 Fruit Roll-Ups. 142 00:07:19,480 --> 00:07:23,960 And it's going to cost $2.84. 143 00:07:23,959 --> 00:07:25,979 That's what this first statement tells us. 144 00:07:25,980 --> 00:07:28,210 It translates into that equation. 145 00:07:28,209 --> 00:07:29,389 The second statement. 146 00:07:29,389 --> 00:07:35,750 Peter also buys 3 candy bars, but could only afford 1 147 00:07:35,750 --> 00:07:37,550 additional Fruit Roll-Up. 148 00:07:37,550 --> 00:07:40,300 So plus 1 additional Fruit Roll-Up. 149 00:07:40,300 --> 00:07:46,250 His purchase cost is equal to $1.79. 150 00:07:46,250 --> 00:07:49,209 What is the cost of each candy bar and each Fruit Roll-Up? 151 00:07:49,209 --> 00:07:51,039 And we're going to solve this using elimination. 152 00:07:51,040 --> 00:07:53,270 You could solve this using any of the techniques we've seen 153 00:07:53,269 --> 00:07:56,389 so far-- substitution, elimination, even graphing, 154 00:07:56,389 --> 00:07:57,649 although it's kind of hard to eyeball 155 00:07:57,649 --> 00:07:59,019 things with the graphing. 156 00:07:59,019 --> 00:08:00,569 So how can we do this? 157 00:08:00,569 --> 00:08:03,199 Remember, with elimination, you're going to add-- let's 158 00:08:03,199 --> 00:08:05,990 focus on this top equation right here. 159 00:08:05,990 --> 00:08:08,379 Is there something we could add to both sides of this 160 00:08:08,379 --> 00:08:09,909 equation that'll help us 161 00:08:09,910 --> 00:08:12,170 eliminate one of the variables? 162 00:08:12,170 --> 00:08:14,240 Or let me put it this way, is there something we could add 163 00:08:14,240 --> 00:08:18,100 or subtract to both sides of this equation that will help 164 00:08:18,100 --> 00:08:20,550 us eliminate one of the variables? 165 00:08:20,550 --> 00:08:22,949 Well, like in the problem we did a little bit earlier in 166 00:08:22,949 --> 00:08:27,860 the video, what if we were to subtract this equation, or 167 00:08:27,860 --> 00:08:31,500 what if we were to subtract 3x plus y from 3x plus 4y on the 168 00:08:31,500 --> 00:08:34,798 left-hand side, and subtract $1.79 from 169 00:08:34,798 --> 00:08:36,029 the right-hand side? 170 00:08:36,029 --> 00:08:39,589 And remember, by doing that, I would be subtracting the same 171 00:08:39,590 --> 00:08:41,908 thing from both sides of the equation. 172 00:08:41,908 --> 00:08:44,058 This is $1.79. 173 00:08:44,058 --> 00:08:44,829 How do I know? 174 00:08:44,830 --> 00:08:48,170 Because it says this is equal to $1.79. 175 00:08:48,169 --> 00:08:51,809 So if we did that we would be subtracting the same thing 176 00:08:51,809 --> 00:08:53,759 from both sides of the equation. 177 00:08:53,759 --> 00:08:57,319 So let's subtract 3x plus y from the 178 00:08:57,320 --> 00:08:58,620 left-hand side of the equation. 179 00:08:58,620 --> 00:09:01,720 180 00:09:01,720 --> 00:09:03,550 And let me just do this over on the right. 181 00:09:03,549 --> 00:09:08,549 If I subtract 3x plus y, that is the same thing as negative 182 00:09:08,549 --> 00:09:12,679 3x minus y, if you just distribute the negative sign. 183 00:09:12,679 --> 00:09:13,750 So let's subtract it. 184 00:09:13,750 --> 00:09:20,820 So you get negative 3x minus y-- maybe I should make it 185 00:09:20,820 --> 00:09:23,750 very clear this is not a plus sign; you could imagine I'm 186 00:09:23,750 --> 00:09:27,559 multiplying the second equation by negative 1-- is 187 00:09:27,559 --> 00:09:30,459 equal to negative $1.79. 188 00:09:30,460 --> 00:09:32,000 I'm just taking the second equation. 189 00:09:32,000 --> 00:09:34,090 You could imagine I'm multiplying it by negative 1, 190 00:09:34,090 --> 00:09:37,440 and now I'm going to add the left-hand side to the 191 00:09:37,440 --> 00:09:39,310 left-hand side of this equation, and the right-hand 192 00:09:39,309 --> 00:09:42,159 side to the right-hand side of that equation. 193 00:09:42,159 --> 00:09:45,449 And what do we get? 194 00:09:45,450 --> 00:09:49,009 When you add 3x plus 4y, minus 3x, minus y, 195 00:09:49,009 --> 00:09:50,539 the 3x's cancel out. 196 00:09:50,539 --> 00:09:52,730 3x minus 3x is 0x. 197 00:09:52,730 --> 00:09:54,080 I won't even write it down. 198 00:09:54,080 --> 00:09:58,650 You get 4x minus-- sorry, 4y minus y. 199 00:09:58,649 --> 00:10:00,629 That is 3y. 200 00:10:00,629 --> 00:10:06,939 And that is going to be equal to $2.84 minus $1.79. 201 00:10:06,940 --> 00:10:07,930 What is that? 202 00:10:07,929 --> 00:10:12,979 That's $1.05. 203 00:10:12,980 --> 00:10:15,100 So 3y is equal to $1.05. 204 00:10:15,100 --> 00:10:16,903 Divide both sides by 3. 205 00:10:16,903 --> 00:10:20,360 206 00:10:20,360 --> 00:10:24,700 y is equal to-- what's $1.05 divided by 3? 207 00:10:24,700 --> 00:10:27,980 So 3 goes into $1.05. 208 00:10:27,980 --> 00:10:30,340 It goes into 1 zero times. 209 00:10:30,340 --> 00:10:33,290 0 times 3 is 0. 210 00:10:33,289 --> 00:10:35,189 1 minus 0 is 1. 211 00:10:35,190 --> 00:10:36,620 Bring down a 0. 212 00:10:36,620 --> 00:10:38,799 3 goes into 10 three times. 213 00:10:38,799 --> 00:10:41,219 3 times 3 is 9. 214 00:10:41,220 --> 00:10:42,379 Subtract. 215 00:10:42,379 --> 00:10:44,169 10 minus 9 is 1. 216 00:10:44,169 --> 00:10:46,360 Bring down the 5. 217 00:10:46,360 --> 00:10:49,169 3 goes into 15 five times. 218 00:10:49,169 --> 00:10:51,740 5 times 3 is 15. 219 00:10:51,740 --> 00:10:52,629 Subtract. 220 00:10:52,629 --> 00:10:54,149 We have no remainder. 221 00:10:54,149 --> 00:10:57,909 So y is equal to $0.35. 222 00:10:57,909 --> 00:11:01,019 So the cost of a Fruit Roll-Up is $0.35. 223 00:11:01,019 --> 00:11:03,929 Now we can substitute back into either of these equations 224 00:11:03,929 --> 00:11:07,719 to figure out the cost of a candy bar. 225 00:11:07,720 --> 00:11:12,470 So let's use this bottom equation right here. 226 00:11:12,470 --> 00:11:14,680 Which was originally, if you remember before I multiplied 227 00:11:14,679 --> 00:11:22,839 it by negative 1, it was 3x plus y is equal to $1.79. 228 00:11:22,840 --> 00:11:29,590 So that means that 3x plus the cost of a Fruit Roll-Up, 0.35 229 00:11:29,590 --> 00:11:32,090 is equal to $1.79. 230 00:11:32,090 --> 00:11:39,470 If we subtract 0.35 from both sides, what do we get? 231 00:11:39,470 --> 00:11:42,110 The left-hand side-- you're just left with the 3x; these 232 00:11:42,110 --> 00:11:45,529 cancel out-- is equal to-- let's see, this 233 00:11:45,529 --> 00:11:47,750 is $1.79 minus $0.35. 234 00:11:47,750 --> 00:11:52,000 That's $1.44. 235 00:11:52,000 --> 00:11:59,669 And 3 goes into $1.44, I think it goes-- well, 3 goes into 236 00:11:59,669 --> 00:12:03,250 $1.44, it goes into 1 zero times. 237 00:12:03,250 --> 00:12:06,279 1 times 3 is 0. 238 00:12:06,279 --> 00:12:07,539 Bring down the 1. 239 00:12:07,539 --> 00:12:08,189 Subtract. 240 00:12:08,190 --> 00:12:09,380 Bring down the 4. 241 00:12:09,379 --> 00:12:11,970 3 goes into 14 four times. 242 00:12:11,970 --> 00:12:14,129 4 times 3 is 12. 243 00:12:14,129 --> 00:12:17,360 I'm making this messy. 244 00:12:17,360 --> 00:12:20,259 14 minus 12 is 2. 245 00:12:20,259 --> 00:12:21,750 Bring down the 4. 246 00:12:21,750 --> 00:12:23,440 3 goes into 24 eight times. 247 00:12:23,440 --> 00:12:24,820 8 times 3 is 24. 248 00:12:24,820 --> 00:12:26,250 No remainder. 249 00:12:26,250 --> 00:12:30,740 So x is equal to 0.48. 250 00:12:30,740 --> 00:12:31,659 So there you have it. 251 00:12:31,659 --> 00:12:34,759 We figured out, using elimination, that the cost of 252 00:12:34,759 --> 00:12:39,029 a candy bar is equal to $0.48, and that the cost of a Fruit 253 00:12:39,029 --> 00:12:42,799 Roll-Up is equal to $0.35. 254 00:12:42,799 --> 00:12:43,265