1 00:00:00,000 --> 00:00:04,266 Now I want to talk about the polynomial ring, 
okay, so we're going to finish this week off 2 00:00:04,266 --> 00:00:08,000 with a little bit of an introduction to polynomials. 3 00:00:08,000 --> 00:00:09,466 4 00:00:09,466 --> 00:00:11,933 So definition, a polynomial 
in x over a ring R 5 00:00:11,933 --> 00:00:14,933 is an expression of the form: 6 00:00:14,933 --> 00:00:19,833 a n times x to the n plus dot dot 
dot plus a1 times x plus a0, 7 00:00:19,833 --> 00:00:22,866 where all of these elements 
are actually in your ring R, 8 00:00:22,866 --> 00:00:25,633 and n greater than or 
equal to 0 is an integer. 9 00:00:25,633 --> 00:00:29,200 We're going to [denote] the set, 
or the ring, of all polynomials 10 00:00:29,200 --> 00:00:31,566 over R by R of x, okay? 11 00:00:31,566 --> 00:00:35,400 I say this is a ring that means I'm going to have 
to give it an addition and multiplication structure. 12 00:00:35,400 --> 00:00:38,433 It's what you think it is, it's what you've 
been doing all along with polynomials. 13 00:00:38,433 --> 00:00:40,666 You've been multiplying 
polynomials for a long time. 14 00:00:40,666 --> 00:00:44,966 Do that operation for multiplication, and addition is, again, what you think, just 15 00:00:44,966 --> 00:00:49,433 common factor like-terms with the powers of x’s. 16 00:00:49,433 --> 00:00:51,066 17 00:00:51,066 --> 00:00:53,266 As a reminder, what's a ring? 18 00:00:53,266 --> 00:00:56,700 Remember that a ring is a set with two operations, 19 00:00:56,700 --> 00:01:01,566 addition and multiplication, such that it satisfies some usual axioms, okay? That you can… 20 00:01:01,566 --> 00:01:02,033 21 00:01:02,033 --> 00:01:04,100 there's additive inverses, you can multiply, 22 00:01:04,100 --> 00:01:07,800 there's the distributive property, 
it's commutative and associative, 23 00:01:07,800 --> 00:01:10,833 there's multiplicative and additive identities, things like this. 24 00:01:10,833 --> 00:01:11,933 25 00:01:11,933 --> 00:01:13,933 Typically in this course, 26 00:01:13,933 --> 00:01:17,466 we're going to use the definition of 
a polynomial over a field. Okay? 27 00:01:17,466 --> 00:01:18,433 28 00:01:18,433 --> 00:01:21,400 This makes our life easier, but I do want to mention 29 00:01:21,400 --> 00:01:24,566 that you can define a 
polynomial ring over a ring. 30 00:01:24,566 --> 00:01:28,000 You can even define it more 
generally, but I think it makes… 31 00:01:28,000 --> 00:01:30,933 it’s best to do it over a ring like we've done here. 32 00:01:30,933 --> 00:01:32,533 33 00:01:32,533 --> 00:01:35,333 What else is important here to mention? 34 00:01:35,333 --> 00:01:36,666 35 00:01:36,666 --> 00:01:38,566 Alright, so I mentioned that… 36 00:01:38,566 --> 00:01:42,266 yeah we will do this over a field. Our fields will 
include the rational numbers, the real numbers, 37 00:01:42,266 --> 00:01:44,600 the complex numbers, and Z mod p. 38 00:01:44,600 --> 00:01:46,566 Those are the ones that we use, 
but you could also talk about 39 00:01:46,566 --> 00:01:48,566 let's say the integral polynomials, right? 40 00:01:48,566 --> 00:01:51,600 Polynomials with integer 
coefficients and things like that. 41 00:01:51,600 --> 00:01:54,566 I just don’t want our definition to restrict us to a field when we know what 42 00:01:54,566 --> 00:01:57,433 the word ring means and we can 
talk about it a little bit more general. 43 00:01:57,433 --> 00:02:00,233 44 00:02:00,233 --> 00:02:02,600 So assorted definitions, so a 
lot of these you already know. 45 00:02:02,600 --> 00:02:05,733 I'm going to just do 
some highlights from this. 46 00:02:05,733 --> 00:02:09,966 The degree of a polynomial 
is the largest non-zero term. 47 00:02:09,966 --> 00:02:12,400 So we're assuming here that a n is not 0, 48 00:02:12,400 --> 00:02:13,733 49 00:02:13,733 --> 00:02:16,400 so that gives us the degree of the polynomial. 50 00:02:16,400 --> 00:02:18,333 The largest non-zero… 51 00:02:18,333 --> 00:02:20,300 the largest non-zero term. 52 00:02:20,300 --> 00:02:24,000 Whatever the power of x is 
for that term, we call that n. 53 00:02:24,000 --> 00:02:25,500 54 00:02:25,500 --> 00:02:29,500 The degree of the 0 polynomial is undefined, we sometimes call it negative infinity, 55 00:02:29,500 --> 00:02:32,000 we'll see why in a little bit, 56 00:02:32,000 --> 00:02:33,233 57 00:02:33,233 --> 00:02:36,366 but I think for us we're just going to say 
it's undefined, that’s perfectly fine for us. 58 00:02:36,366 --> 00:02:38,966 59 00:02:38,966 --> 00:02:41,900 Two polynomials are equal if and only 
if their degrees are the same and 60 00:02:41,900 --> 00:02:44,733 each of the coefficients 
match up, term by term. 61 00:02:44,733 --> 00:02:46,433 62 00:02:46,433 --> 00:02:49,033 x is an indeterminate, so 
something to keep in mind here, 63 00:02:49,033 --> 00:02:52,300 this x thing doesn't have 
any meaning, okay? 64 00:02:52,300 --> 00:02:53,233 65 00:02:53,233 --> 00:02:56,333 One thing we can do is we 
can attach meaning to x, 66 00:02:56,333 --> 00:02:58,533 so for example if we look 
at a complex polynomial 67 00:02:58,533 --> 00:03:02,333 and we'd like to evaluate it at 
a value, that's fine, but that's 68 00:03:02,333 --> 00:03:05,166 doing something a little bit 
more general than just like - 69 00:03:05,166 --> 00:03:08,666 so plugging in a number is actually defining 
a function is kind of what's happening here, 70 00:03:08,666 --> 00:03:12,200 the function takes the polynomial and 
plugs in, instead of x, some number 71 00:03:12,200 --> 00:03:14,933 and then simplifies it. That's 
really what's happening there. 72 00:03:14,933 --> 00:03:19,866 So you can view this as a map, it's a little 
bit abstract but I had a couple of students 73 00:03:19,866 --> 00:03:21,933 really confused - well not really confused but 74 00:03:21,933 --> 00:03:24,433 wondering about, “Okay what is this x thing? 75 00:03:24,433 --> 00:03:26,966 Like you keep changing it sometimes, 
and sometimes you don’t,” 76 00:03:26,966 --> 00:03:29,966 and that's really what's happening, 
okay? So the polynomial... 77 00:03:29,966 --> 00:03:32,000 the polynomial has 78 00:03:32,000 --> 00:03:34,566 coefficients over, let's say, a ring or a field, 79 00:03:34,566 --> 00:03:38,433 and the x has no meaning, it's 
just an indeterminate, okay? 80 00:03:38,433 --> 00:03:41,666 You can give it meaning, you can 
plug in values and substitute and 81 00:03:41,666 --> 00:03:44,766 and things like that, but that's 
defining a map that goes into 82 00:03:44,766 --> 00:03:47,066 a different ring, etc, etc, okay? 83 00:03:47,066 --> 00:03:51,666 It's a subtle point, so if you miss 
that it’s not a huge deal, but 84 00:03:51,666 --> 00:03:52,533 85 00:03:52,533 --> 00:03:56,100 if you really understand this and you’re wondering, “Oh why can’t I do these things?” This is what's 86 00:03:56,100 --> 00:03:58,200 happening, hopefully it gives you a little bit of an idea. 87 00:03:58,200 --> 00:03:59,033 88 00:03:59,033 --> 00:04:02,133 Operations on polynomials: 
addition, subtraction, multiplication. 89 00:04:02,133 --> 00:04:03,166 90 00:04:03,166 --> 00:04:05,566 They're what you expect 
they are. Addition, again, 91 00:04:05,566 --> 00:04:09,900 common factor like-terms, multiplication, 
just FOIL it out like you normally would. 92 00:04:09,900 --> 00:04:10,866 93 00:04:10,866 --> 00:04:14,533 Last thing I want to talk about is the Division Algorithm for Polynomials. So 94 00:04:14,533 --> 00:04:18,533 there's not too much - this is a…the introduction 
to polynomial says a lot of words and 95 00:04:18,533 --> 00:04:22,066 just making sure that we're on the same 
page of definitions and things like that. 96 00:04:22,066 --> 00:04:24,666 One thing that we did do though 
that was a little bit of substance 97 00:04:24,666 --> 00:04:27,733 is the Division Algorithm for Polynomials. 98 00:04:27,733 --> 00:04:31,600 So here let F be a field, so remember for 
us if you want to simplify your life a lot, 99 00:04:31,600 --> 00:04:35,566 think of a field as Q, R, C, or Z mod p. 100 00:04:35,566 --> 00:04:39,500 If f and g are polynomials in 
our field, and g of x is not 0, 101 00:04:39,500 --> 00:04:43,000 and there exist unique polynomials 
q of x and r of x inside 102 00:04:43,000 --> 00:04:44,866 f of x such that 103 00:04:44,866 --> 00:04:45,900 104 00:04:45,900 --> 00:04:49,700 f of x is equal to q x 
times g x plus r of x, 105 00:04:49,700 --> 00:04:50,633 106 00:04:50,633 --> 00:04:56,100 with r x equals 0, or the degree 
of r is less than the degree of g. 107 00:04:56,100 --> 00:04:57,766 108 00:04:57,766 --> 00:05:00,933 So the Division Algorithm for Polynomials, 
this is why sometimes people say that 109 00:05:00,933 --> 00:05:04,133 the degree of the 0 polynomial is negative infinity. 110 00:05:04,133 --> 00:05:06,400 It works in theorems like this 
for example, right, where 111 00:05:06,400 --> 00:05:09,033 negative infinity would be 
less than the degree of g 112 00:05:09,033 --> 00:05:12,000 for any g as long as g was non-zero 113 00:05:12,000 --> 00:05:14,700 114 00:05:14,700 --> 00:05:17,700 But we know that g is non-zero, 
we have that right there. 115 00:05:17,700 --> 00:05:19,433 116 00:05:19,433 --> 00:05:20,700 Good, good, good. 117 00:05:20,700 --> 00:05:24,166 So this is a polynomial, notice 
that this is very similar to 118 00:05:24,166 --> 00:05:27,800 Division Algorithm for Integers. 
If we have a is equal to 119 00:05:27,800 --> 00:05:32,966 b q plus r, instead now we have f is 
equal to q g plus r, it's the same idea. 120 00:05:32,966 --> 00:05:35,100 121 00:05:35,100 --> 00:05:38,933 And it's the same idea, it's kind 
of like evaluating an f over g, 122 00:05:38,933 --> 00:05:43,100 but we're doing it as f 
is equal to q g plus r of x. 123 00:05:43,100 --> 00:05:44,366 124 00:05:44,366 --> 00:05:47,200 One thing we're going to talk about, 
maybe I’ll start the next one with this, is 125 00:05:47,200 --> 00:05:50,900 Long Division of Polynomials, that's 
something that's pretty important. 126 00:05:50,900 --> 00:05:52,266 127 00:05:52,266 --> 00:05:55,866 Long division for us is going to be a little 
bit more complicated than normal because 128 00:05:55,866 --> 00:05:59,566 our fields might have really weird coefficients, right? We might be working… 129 00:05:59,566 --> 00:06:02,400 divide two polynomials over Z 7, let's say. 130 00:06:02,400 --> 00:06:06,566 That's a little different, 
right, than doing it over R. 131 00:06:06,566 --> 00:06:07,666 132 00:06:07,666 --> 00:06:12,133 There's a lots of examples of this, I do have a 
couple of videos where I do do the long division 133 00:06:12,133 --> 00:06:14,366 process. You can check them out on the website, 134 00:06:14,366 --> 00:06:16,166 but I think that's all I have to say. 135 00:06:16,166 --> 00:06:18,100 So thank you very much your 
time, thanks for listening, 136 00:06:18,100 --> 00:06:20,566 and hopefully this video gives you 137 00:06:20,566 --> 00:06:25,032 a little bit of insight into Week 10 of Math 135. Take care.