1 00:00:00,000 --> 00:00:03,166 The last thing I want to talk about is 
summation and product notation. 2 00:00:03,166 --> 00:00:07,333 So again your class might not 
have done this. So on Friday, I… 3 00:00:07,333 --> 00:00:09,200 So at the end of the week… 
the Friday of the week… 4 00:00:09,200 --> 00:00:12,933 I gave my class a bunch of sample 
problems to go through and to solve 5 00:00:12,933 --> 00:00:14,266 6 00:00:14,266 --> 00:00:17,000 using all the techniques up 
to this point. So we've done... 7 00:00:17,000 --> 00:00:21,133 by Friday we will actually been 12 
lectures - well 11 lectures completed. 8 00:00:21,133 --> 00:00:23,833 So you have a lot of proof techniques, and 
now when you actually read a problem, 9 00:00:23,833 --> 00:00:25,900 it's tough to know where 
to start the problem. 10 00:00:25,900 --> 00:00:30,033 So that was part of 
what I did on Friday, 11 00:00:30,033 --> 00:00:32,500 and the other part of what I did 
was summation/product notation. 12 00:00:32,500 --> 00:00:34,033 Now why did I do this? So next week, we're 13 00:00:34,033 --> 00:00:36,300 heading into something called 
Mathematical Induction, 14 00:00:36,300 --> 00:00:38,766 and this notation will 
appear everywhere. 15 00:00:38,766 --> 00:00:41,700 So my theory is that 
you should see this. 16 00:00:41,700 --> 00:00:43,566 Spend some time with 
it over the weekend, 17 00:00:43,566 --> 00:00:45,766 actually make sure you 
understand it because again 18 00:00:45,766 --> 00:00:47,966 if you're going to get problems 
that involve this notation 19 00:00:47,966 --> 00:00:50,033 and you have to think about 
what the notation means, 20 00:00:50,033 --> 00:00:52,166 it's going to be harder 
to solve the problem. 21 00:00:52,166 --> 00:00:54,433 So spend some time with 
this notation this week and 22 00:00:54,433 --> 00:00:56,366 really make sure you understand 
what it means so that 23 00:00:56,366 --> 00:00:58,600 when you see problems with 
it, you know what to do. 24 00:00:58,600 --> 00:01:01,300 You know what it means you don't have to 
think about what these words mean, okay? 25 00:01:01,300 --> 00:01:04,000 It's really 
important. 26 00:01:04,000 --> 00:01:06,000 So okay, summation and product notation. 27 00:01:06,000 --> 00:01:08,700 Well let a 1 to a n be a 
sequence of real numbers. 28 00:01:08,700 --> 00:01:10,800 In this case n 
real numbers. 29 00:01:10,800 --> 00:01:13,733 We're going to write the summation 
from i equals 1 to n of a i 30 00:01:13,733 --> 00:01:18,766 is going to be defined to be: “a1 
plus a2 all the way up to a n.” 31 00:01:18,766 --> 00:01:21,166 We'll see some examples in the next page. 
But basically what does this mean? 32 00:01:21,166 --> 00:01:24,466 It means add all 
of the elements 33 00:01:24,466 --> 00:01:27,000 a sub i from i 
equals 1 to n. 34 00:01:27,000 --> 00:01:30,866 So if you understand programming 
language stuff, this is similar to a ‘for loop’ 35 00:01:30,866 --> 00:01:34,000 something like this. A ‘for loop’ of a sum. 36 00:01:34,000 --> 00:01:36,466 We call i the index 
variable. We say that 1 is 37 00:01:36,466 --> 00:01:40,633 the starting number and n is the upper bound 
or the finishing number, the final index, 38 00:01:40,633 --> 00:01:42,633 all of these 
words, okay? 39 00:01:42,633 --> 00:01:45,066 We can also write summation 
notation as follows. 40 00:01:45,066 --> 00:01:48,000 So we have sets, we can write 
x is an element of S of x 41 00:01:48,000 --> 00:01:50,166 to mean the sum 
of the elements of S. 42 00:01:50,166 --> 00:01:54,266 Of course this has to make sense, so S 
has to have some addition operation on it. 43 00:01:54,266 --> 00:01:58,933 So let's say S is the set of integers, 
or real numbers, something like this. 44 00:01:58,933 --> 00:02:01,400 If S is the set of all hockey players on a hockey team, 45 00:02:01,400 --> 00:02:05,600 then clearly this doesn't make any sense, 
so it has to make sense to actually do this. 46 00:02:05,600 --> 00:02:08,000 Similarly, we define 
product notation. 47 00:02:08,000 --> 00:02:11,533 So the product from 
i equals 1 to n of a i. 48 00:02:11,533 --> 00:02:15,466 We're going to define that to be the 
product from a1, a2, all the way up to a n. 49 00:02:15,466 --> 00:02:17,166 So this is a 
big product. 50 00:02:17,166 --> 00:02:20,333 So here I should note also 
I've used for the first time 51 00:02:20,333 --> 00:02:22,000 “colon equals”. 52 00:02:22,000 --> 00:02:25,133 “Colon equals” means 
“defined to be”, okay? 53 00:02:25,133 --> 00:02:27,800 So I’m defining this notation to be this product. 54 00:02:27,800 --> 00:02:31,233 I'm defining this notation 
to mean this sum. 55 00:02:31,233 --> 00:02:34,266 I'm defining this product 
notation over x is in S 56 00:02:34,266 --> 00:02:36,700 this is the product of 
elements in S, okay? 57 00:02:36,700 --> 00:02:40,000 This product notation is a 
capital letter pi by the way. 58 00:02:40,000 --> 00:02:43,000 Slash prod 
in LaTex. 59 00:02:43,000 --> 00:02:45,700 Slash sum is the 
big summation. Sigma. 60 00:02:45,700 --> 00:02:47,900 Capital sigma that's what it is. 61 00:02:47,900 --> 00:02:50,766 We also make a couple of 
following conventions: so if 62 00:02:50,766 --> 00:02:53,733 the starting index is 
bigger than the final index, 63 00:02:53,733 --> 00:02:56,000 we're going to call the 
sum the “empty sum”. 64 00:02:56,000 --> 00:03:00,000 We're also going to define the sum 
over the empty set to just be 0. 65 00:03:00,000 --> 00:03:02,000 That's just what 
we're defining it as, 66 00:03:02,000 --> 00:03:04,000 it's just a definition 
it makes life easier, 67 00:03:04,000 --> 00:03:06,400 it works in a lot 
of nice situations. 68 00:03:06,400 --> 00:03:08,133 Take it as it is, okay? 69 00:03:08,133 --> 00:03:10,800 We're also going to 
define the product if 70 00:03:10,800 --> 00:03:14,033 the starting index is bigger 
than the final index to be 1. 71 00:03:14,033 --> 00:03:16,600 And again this is the same as 
the product over the empty set. 72 00:03:16,600 --> 00:03:18,766 Just notation, just to 
make life easier, okay, 73 00:03:18,766 --> 00:03:22,233 the empty product is 1, 
the empty sum is 0. 74 00:03:22,233 --> 00:03:23,466 Just makes life easier. 75 00:03:23,466 --> 00:03:26,933 You'll see if you actually read 
papers and stuff that use this stuff. 76 00:03:26,933 --> 00:03:30,033 It just usually works 
out in this case. 77 00:03:30,033 --> 00:03:32,500 Some examples, so we're going to 
finish off with a couple examples. 78 00:03:32,500 --> 00:03:34,433 Make sure we 
understand the notation. 79 00:03:34,433 --> 00:03:37,300 So the sum from i equals 1 to 4 of 
i squared, what does that mean? 80 00:03:37,300 --> 00:03:40,166 Well how do we do this? 
We start off with i equals 1, 81 00:03:40,166 --> 00:03:43,333 we plug it in, we square 
it. That's the first term. 82 00:03:43,333 --> 00:03:47,700 Increment your counter to 2. 2 is 
less than or equal to 4, plug in 2. 83 00:03:47,700 --> 00:03:49,833 2 squared. 84 00:03:49,833 --> 00:03:52,600 Increment the counter to 3. 
3 is less than or equal to 4, 85 00:03:52,600 --> 00:03:54,533 plug in 3, 
3 squared. 86 00:03:54,533 --> 00:03:57,500 Increment the counter you get 
to 4. 4 is less than or equal to 4, 87 00:03:57,500 --> 00:04:01,033 plug in that number
4. 4 squared 88 00:04:01,033 --> 00:04:02,966 into the i 
squared part. 89 00:04:02,966 --> 00:04:06,000 Increment the counter we get to 
5. 5 is bigger than 4, we stop. 90 00:04:06,000 --> 00:04:07,600 Those are all the terms. 91 00:04:07,600 --> 00:04:10,633 Then we can just add 
them up and we get 30. 92 00:04:10,633 --> 00:04:12,733 Similar with 
product notation, 93 00:04:12,733 --> 00:04:15,733 right, same sort of idea. 
Plug in i equals 1, 94 00:04:15,733 --> 00:04:17,866 we're going to get i squared, so 1 squared, 95 00:04:17,866 --> 00:04:20,000 and we're going to multiply 
that by the next term, 96 00:04:20,000 --> 00:04:22,966 right, so instead 
of 1, we plug in 2. 97 00:04:22,966 --> 00:04:26,466 So 1 goes to 2, 2 we 
plug in 2 squared. 98 00:04:26,466 --> 00:04:29,366 Increment the counter to 
3, 3 we plug in 3 squared. 99 00:04:29,366 --> 00:04:30,600 100 00:04:30,600 --> 00:04:32,300 Write that down. 
Again, it's a product. 101 00:04:32,300 --> 00:04:36,600 Increment the counter to 4. 4 is less 
than or equal to 4, plug in 4, 4 squared. 102 00:04:36,600 --> 00:04:40,000 Increment the counter we get to 
5. 5 is greater than 4, we stop. 103 00:04:40,000 --> 00:04:43,400 Take the product of all these numbers: 1 times 4, times 9, times 16, 104 00:04:43,400 --> 00:04:46,066 so 64 times 
9 is 576. 105 00:04:46,066 --> 00:04:47,700 106 00:04:47,700 --> 00:04:49,600 Another example, you won't see this too often: 107 00:04:49,600 --> 00:04:52,000 i going from 1 to 
3 and a half of i. 108 00:04:52,000 --> 00:04:56,000 You go 1, 2, 3, and 4 is bigger 
than 3 and a half so you're done. 109 00:04:56,000 --> 00:04:59,300 Usually you write this with integers, you can do it with decimal numbers too. 110 00:04:59,300 --> 00:05:03,433 I've actually never really seen 
this, but this is one way to do it… 111 00:05:03,433 --> 00:05:05,066 define it. 112 00:05:05,066 --> 00:05:07,433 Here's more of a 
convoluted example: so for 113 00:05:07,433 --> 00:05:09,700 k, a natural number fixed, what 
if we wanted the sum from 114 00:05:09,700 --> 00:05:12,500 i equals k to 
2k of 1 over k? 115 00:05:12,500 --> 00:05:16,000 Well again, it's the same 
idea. Start with k, plug it in, 116 00:05:16,000 --> 00:05:18,666 then increment the 
counter to k plus 1. 117 00:05:18,666 --> 00:05:21,500 If k plus 1 is less than 2k, we 
can write it, and you keep going. 118 00:05:21,500 --> 00:05:25,366 k plus 1, k plus 2, k plus 3, we go all 
the way up to… what's the last term? 119 00:05:25,366 --> 00:05:28,000 1 over 2k. 120 00:05:28,000 --> 00:05:30,500 Now something to think about, right? 
If we're going to keep doing this, 121 00:05:30,500 --> 00:05:33,000 k, k plus 1, k 
plus 2, k plus 3, 122 00:05:33,000 --> 00:05:35,900 what's eventually going to happen is we're going to write k in two different ways. 123 00:05:35,900 --> 00:05:38,800 We're going to write it 
as k plus some number, 124 00:05:38,800 --> 00:05:40,400 k plus a million 
who knows. 125 00:05:40,400 --> 00:05:42,800 Whatever… it depends 
on what k actually is. 126 00:05:42,800 --> 00:05:44,933 so let's say 
k plus j, 127 00:05:44,933 --> 00:05:47,066 and we're going to also write it as 2k, right? 128 00:05:47,066 --> 00:05:50,666 Eventually k plus j is going 
to equal 2k for some j. 129 00:05:50,666 --> 00:05:54,033 So don't let that confuse you here. Again it's just you start from the index 130 00:05:54,033 --> 00:05:57,600 1 over k, and you just increment 
all the way up to 1 over 2k. 131 00:05:57,600 --> 00:05:59,400 That's all 
this means. 132 00:05:59,400 --> 00:06:01,366 There are other convoluted ways to write it, but 133 00:06:01,366 --> 00:06:04,000 this is the main idea, okay, 
and you can write it… 134 00:06:04,000 --> 00:06:06,000 so in these 
upper cases, 135 00:06:06,000 --> 00:06:08,600 it was easy because we 
knew what the index was. 136 00:06:08,600 --> 00:06:10,800 If you don't know what the index is, you can use dots. 137 00:06:10,800 --> 00:06:13,066 The summation notation is supposed 
to take the place of these dots, 138 00:06:13,066 --> 00:06:14,966 and makes it look a little cleaner and nicer, 139 00:06:14,966 --> 00:06:17,300 but if you need to when 
you're learning this notation, 140 00:06:17,300 --> 00:06:20,666 feel free to write down the 
dots if it helps you out. 141 00:06:20,666 --> 00:06:23,000 So that's all I have 
to say for this video. 142 00:06:23,000 --> 00:06:26,100 Again hopefully this helped 
you, gave you some ideas, 143 00:06:26,100 --> 00:06:29,033 clarified things from 
class. If not, again, 144 00:06:29,033 --> 00:06:34,600 as always, send me an email, send 
me a post on Piazza or wherever. 145 00:06:34,600 --> 00:06:38,366 I'm usually around I'll 
hopefully answer your questions. 146 00:06:38,366 --> 00:06:39,833 Really I just 
hope this helped. 147 00:06:39,833 --> 00:06:42,700 I'm trying to make 
this a good learning tool, 148 00:06:42,700 --> 00:06:45,333 so let me know. Any 
feedback is great, 149 00:06:45,333 --> 00:06:48,499 and thank you very 
much and good luck.