1 00:00:00,000 --> 00:00:01,600 Hello everyone. 2 00:00:01,600 --> 00:00:04,633 In this video, we're going to talk about long division, 3 00:00:04,633 --> 00:00:06,400 4 00:00:06,400 --> 00:00:10,633 and we're going to do it over 
a couple of different fields. 5 00:00:10,633 --> 00:00:13,000 So what are the quotient and remainder when 6 00:00:13,000 --> 00:00:16,833 this quintic polynomial is divided 
by this quadratic polynomial 7 00:00:16,833 --> 00:00:18,766 over the real numbers? 8 00:00:18,766 --> 00:00:22,200 And what if we do the
computations over Z 5, Z mod 5? 9 00:00:22,200 --> 00:00:24,833 What changes in this situation? 10 00:00:24,833 --> 00:00:25,766 11 00:00:25,766 --> 00:00:30,233 Okay, so instead of typing this out, I'm actually going to do this 12 00:00:30,233 --> 00:00:32,766 on paintbrush. 13 00:00:32,766 --> 00:00:34,900 So let's bring it up. Okay, 14 00:00:34,900 --> 00:00:38,333 so here I've written down the question again. 15 00:00:38,333 --> 00:00:41,100 We'd like to long divide 
these two polynomials. 16 00:00:41,100 --> 00:00:44,000 As you've noticed here in the middle, 17 00:00:44,000 --> 00:00:47,733 I have this extra x cubed term with a 0 coefficient. 18 00:00:47,733 --> 00:00:52,000 It's just a placeholder to help me keep everything organized as I attempt to go through this. 19 00:00:52,000 --> 00:00:53,900 20 00:00:53,900 --> 00:00:56,566 Okay, so let's begin. 21 00:00:56,566 --> 00:01:02,166 The question that I want to know is what number do I have to multiply x squared by to get to x to the 5 22 00:01:02,166 --> 00:01:06,500 over R? So this computation is going to be 
over R, maybe I'll put a little R over here. 23 00:01:06,500 --> 00:01:08,000 24 00:01:08,000 --> 00:01:10,366 Just to help remind us. 25 00:01:10,366 --> 00:01:11,600 26 00:01:11,600 --> 00:01:14,900 Okay, so what number do I have to 
multiply x squared by to get to x 5, 27 00:01:14,900 --> 00:01:17,866 or what object, I guess, it's not really a number. 28 00:01:17,866 --> 00:01:18,766 29 00:01:18,766 --> 00:01:20,566 x cubed. 30 00:01:20,566 --> 00:01:23,466 Now I take x cubed, multiply 
it by this whole polynomial, 31 00:01:23,466 --> 00:01:27,133 what do I get? I'm going to get x to the 5. 32 00:01:27,133 --> 00:01:27,700 33 00:01:27,700 --> 00:01:31,100 If these don't match up, then you've made a mistake up here, 34 00:01:31,100 --> 00:01:35,066 and I'm going to get minus 2x 35 00:01:35,066 --> 00:01:37,233 to the 3 plus 1 which is 4. 36 00:01:37,233 --> 00:01:39,266 37 00:01:39,266 --> 00:01:41,300 Now I subtract, 38 00:01:41,300 --> 00:01:42,500 39 00:01:42,500 --> 00:01:46,366 and that's going to give me 5x to the 4. 40 00:01:46,366 --> 00:01:49,666 41 00:01:49,666 --> 00:01:52,200 Now I'm going to bring down the 0 term, 42 00:01:52,200 --> 00:01:56,600 again it's not important that you 
write this. I'm just doing it for 43 00:01:56,600 --> 00:01:59,433 organizational purposes. 44 00:01:59,433 --> 00:02:04,000 x squared, now the number I'm going to 
multiply to get to 5x to the 4 that's 5x squared. 45 00:02:04,000 --> 00:02:08,000 46 00:02:08,000 --> 00:02:11,366 47 00:02:11,366 --> 00:02:14,100 So that's going to give me 48 00:02:14,100 --> 00:02:15,733 49 00:02:15,733 --> 00:02:19,866 5x to the 4, 50 00:02:19,866 --> 00:02:23,033 and then I'm going to take 5x 
squared multiply by the minus 2x, 51 00:02:23,033 --> 00:02:25,900 that’s going to be minus 10x cubed. 52 00:02:25,900 --> 00:02:30,633 53 00:02:30,633 --> 00:02:32,733 Now we subtract. 54 00:02:32,733 --> 00:02:34,933 55 00:02:34,933 --> 00:02:39,900 First two terms cancel again. Next two 
terms, it's going to give me a 10x cubed. 56 00:02:39,900 --> 00:02:44,000 57 00:02:44,000 --> 00:02:45,633 58 00:02:45,633 --> 00:02:47,666 Okay? 59 00:02:47,666 --> 00:02:50,866 Plus, let's bring down the next term, 2x squared. 60 00:02:50,866 --> 00:02:52,433 61 00:02:52,433 --> 00:02:55,766 x squared multiplied by 10x is 10x cubed, 62 00:02:55,766 --> 00:02:58,633 so up top I go 10x… 63 00:02:58,633 --> 00:03:02,066 64 00:03:02,066 --> 00:03:04,966 by the way, another way to 
see this, doesn't always work - 65 00:03:04,966 --> 00:03:08,300 well it does always work we have to 
think of the word divide carefully, 66 00:03:08,300 --> 00:03:11,266 you could divide 10x cubed by x squared, 67 00:03:11,266 --> 00:03:12,866 and that will give you the number up there. 68 00:03:12,866 --> 00:03:16,166 You have to divide properly in 
whatever field you're working in. 69 00:03:16,166 --> 00:03:20,300 In this case, it's R, so we have a good 
understanding of what's going on. 70 00:03:20,300 --> 00:03:21,600 71 00:03:21,600 --> 00:03:23,600 10x cubed 72 00:03:23,600 --> 00:03:24,433 73 00:03:24,433 --> 00:03:26,666 and minus 20x squared, 74 00:03:26,666 --> 00:03:31,333 75 00:03:31,333 --> 00:03:33,300 so it should be a 2. 76 00:03:33,300 --> 00:03:34,466 77 00:03:34,466 --> 00:03:36,500 Subtract, 78 00:03:36,500 --> 00:03:37,666 79 00:03:37,666 --> 00:03:39,766 so it's going to be 22 80 00:03:39,766 --> 00:03:40,633 81 00:03:40,633 --> 00:03:42,533 x squared. 82 00:03:42,533 --> 00:03:44,033 83 00:03:44,033 --> 00:03:46,766 I'm going to drop down the 4x, 84 00:03:46,766 --> 00:03:49,466 85 00:03:49,466 --> 00:03:53,166 I'm going to do the long 
division so it goes in 22 times. 86 00:03:53,166 --> 00:03:57,333 87 00:03:57,333 --> 00:03:59,466 Okay? So I'm going to get 88 00:03:59,466 --> 00:04:04,600 22x squared 89 00:04:04,600 --> 00:04:08,300 minus, what is that, 44x. 90 00:04:08,300 --> 00:04:11,433 91 00:04:11,433 --> 00:04:14,633 And my last subtraction 92 00:04:14,633 --> 00:04:15,566 93 00:04:15,566 --> 00:04:18,600 is going to give me 48x 94 00:04:18,600 --> 00:04:21,566 95 00:04:21,566 --> 00:04:23,600 plus 1. 96 00:04:23,600 --> 00:04:25,966 97 00:04:25,966 --> 00:04:28,500 And remember that this is the remainder, 98 00:04:28,500 --> 00:04:32,000 the 48x plus 1, so maybe I'll write the word remainder. 99 00:04:32,000 --> 00:04:36,000 100 00:04:36,000 --> 00:04:40,000 101 00:04:40,000 --> 00:04:43,633 102 00:04:43,633 --> 00:04:47,433 So that's my remainder, 
and up top is my quotient. 103 00:04:47,433 --> 00:04:52,000 104 00:04:52,000 --> 00:04:55,000 105 00:04:55,000 --> 00:05:00,066 Okay, great. So there's a long 
division example over R, okay? 106 00:05:00,066 --> 00:05:01,866 107 00:05:01,866 --> 00:05:06,533 Now what I'd like to do is I'd like to do 
the same computation over Z mod 5 108 00:05:06,533 --> 00:05:09,266 and see what changes, okay? 109 00:05:09,266 --> 00:05:11,600 110 00:05:11,600 --> 00:05:15,400 A lot of - okay, and we'll see what changes. 111 00:05:15,400 --> 00:05:16,700 112 00:05:16,700 --> 00:05:16,800 113 00:05:16,800 --> 00:05:20,800 114 00:05:20,800 --> 00:05:24,133 115 00:05:24,133 --> 00:05:26,033 Over Z mod 5. 116 00:05:26,033 --> 00:05:28,433 Okay, so let's see what changes now. 117 00:05:28,433 --> 00:05:30,966 So again x squared goes into x to the 5, 118 00:05:30,966 --> 00:05:32,800 119 00:05:32,800 --> 00:05:37,433 x cubed times. So now, what are we going 
to get? We're going to get x to the 5 120 00:05:37,433 --> 00:05:38,100 121 00:05:38,100 --> 00:05:42,833 minus 2x to the 4, 122 00:05:42,833 --> 00:05:45,533 123 00:05:45,533 --> 00:05:48,600 and that's going to give me a 0 124 00:05:48,600 --> 00:05:48,966 125 00:05:48,966 --> 00:05:50,600 126 00:05:50,600 --> 00:05:54,166 in Z 5, right, because again 3 127 00:05:54,166 --> 00:05:58,266 minus negative 2, so 3 plus 2 
is 5, and 5 is the same as 0 128 00:05:58,266 --> 00:06:00,566 129 00:06:00,566 --> 00:06:02,100 in Z 5. 130 00:06:02,100 --> 00:06:06,000 So bring down the 0, that doesn't 
work, let's go down to the next term, 131 00:06:06,000 --> 00:06:08,900 which is going to be 2x squared 132 00:06:08,900 --> 00:06:10,866 133 00:06:10,866 --> 00:06:12,733 plus 4x. 134 00:06:12,733 --> 00:06:14,200 135 00:06:14,200 --> 00:06:17,266 Now the question have to ask 
is how many times does… 136 00:06:17,266 --> 00:06:21,933 so what do I have to multiply x squared by to get to 2, that's easy, it's going to be 2. 137 00:06:21,933 --> 00:06:24,000 138 00:06:24,000 --> 00:06:29,566 So that's going to give 
me 2x squared minus 4x. 139 00:06:29,566 --> 00:06:31,200 140 00:06:31,200 --> 00:06:35,400 4 minus [negative] 4 is 8, that's going 
to leave me with a remainder of 3x 141 00:06:35,400 --> 00:06:37,433 142 00:06:37,433 --> 00:06:40,000 plus 1. 143 00:06:40,000 --> 00:06:43,366 144 00:06:43,366 --> 00:06:46,066 And that is it. So here's my 
remainder, it’s now 3x plus 1, 145 00:06:46,066 --> 00:06:50,600 and my quotient here is x cubed plus [2]. 
So if we go back to the previous example, 146 00:06:50,600 --> 00:06:53,100 147 00:06:53,100 --> 00:06:56,333 we have this longer polynomial, 
but if you reduce this mod 5, 148 00:06:56,333 --> 00:06:59,666 we actually get the same answer. If 
you reduce the remainder mod 5, 149 00:06:59,666 --> 00:07:02,800 if you look back, you get 3x plus 1. 150 00:07:02,800 --> 00:07:03,600 151 00:07:03,600 --> 00:07:07,433 I'm going to flip back and 
forth a little bit, so 48x plus 1, 152 00:07:07,433 --> 00:07:10,033 48[x plus 1] mod 5 is 3x plus 1, 153 00:07:10,033 --> 00:07:11,433 154 00:07:11,433 --> 00:07:14,100 and over here our remainder is 3x plus 1. So, 155 00:07:14,100 --> 00:07:18,433 in this setting, you do get the same 
answer if you just reduce the work 156 00:07:18,433 --> 00:07:20,833 over R, over Z 5. 157 00:07:20,833 --> 00:07:21,933 158 00:07:21,933 --> 00:07:24,700 It's something to think about. Does it always happen? 159 00:07:24,700 --> 00:07:25,900 160 00:07:25,900 --> 00:07:28,800 I'll probably make another video 
where it may or may not happen. 161 00:07:28,800 --> 00:07:31,066 I'm going to try a different one. 162 00:07:31,066 --> 00:07:32,000 163 00:07:32,000 --> 00:07:33,766 But that's the idea, okay? 164 00:07:33,766 --> 00:07:36,766 So hopefully this gives you a little bit of practice 
[with] long division and thank you very much.