1 00:00:00,000 --> 00:00:04,133 Hello everyone. So in this video, I'd like to talk about summations and products, 2 00:00:04,133 --> 00:00:06,533 but first I'd like to review 
what the notation means. So 3 00:00:06,533 --> 00:00:10,066 recall that when we have a 
sum from i equals 1 to n of a i, 4 00:00:10,066 --> 00:00:12,466 this is literally the terms 5 00:00:12,466 --> 00:00:15,566 when you...you start by 
plugging in i equals 1, 6 00:00:15,566 --> 00:00:17,766 you get the term a1, 7 00:00:17,766 --> 00:00:18,366 8 00:00:18,366 --> 00:00:21,800 then you increment i so you go to i equals 2. 9 00:00:21,800 --> 00:00:25,233 If 2 is less than or equal to n, you 
plug it into here and you repeat 10 00:00:25,233 --> 00:00:29,500 until you get to the very end, so 
a1 plus a2 all the way up to a n. 11 00:00:29,500 --> 00:00:31,600 Again if n, for example, was 1, 12 00:00:31,600 --> 00:00:34,100 there will only be one term in the sum. 13 00:00:34,100 --> 00:00:34,866 14 00:00:34,866 --> 00:00:38,266 If we change this sum to the product, the only 
thing that changes is the operation between them, 15 00:00:38,266 --> 00:00:40,400 so instead of sums, they're products now. 16 00:00:40,400 --> 00:00:42,500 17 00:00:42,500 --> 00:00:44,433 With this in mind, let's answer 
the following questions, 18 00:00:44,433 --> 00:00:49,466 so question 1: "Write the following summation using a summation starting from 1." 19 00:00:49,466 --> 00:00:52,000 So here the summation 
starts at 3 goes up to 28, 20 00:00:52,000 --> 00:00:54,700 and you have this expression here. 21 00:00:54,700 --> 00:00:57,933 22 00:00:57,933 --> 00:01:00,333 So how do we change 
the bottom index 23 00:01:00,333 --> 00:01:02,766 to start from 0? Well the idea 24 00:01:02,766 --> 00:01:03,900 25 00:01:03,900 --> 00:01:05,066 is 26 00:01:05,066 --> 00:01:07,100 you're going to use 27 00:01:07,100 --> 00:01:11,333 a new letter. So we're going to 
define a new letter, let's call it j, 28 00:01:11,333 --> 00:01:12,833 29 00:01:12,833 --> 00:01:16,400 and we're going to define it to be i minus 2. 30 00:01:16,400 --> 00:01:19,100 31 00:01:19,100 --> 00:01:23,666 Now you can rewrite the summation using the same 
letter but I'm going to use a different letter just 32 00:01:23,666 --> 00:01:25,833 for ease of notation. 33 00:01:25,833 --> 00:01:28,000 34 00:01:28,000 --> 00:01:29,333 35 00:01:29,333 --> 00:01:33,766 So now that j is i minus 
2, when i is 3, j is 1 36 00:01:33,766 --> 00:01:34,700 37 00:01:34,700 --> 00:01:38,400 and when i is 28 j is [26] so... 38 00:01:38,400 --> 00:01:41,200 if I replace i 39 00:01:41,200 --> 00:01:42,566 40 00:01:42,566 --> 00:01:45,500 with j plus 2 41 00:01:45,500 --> 00:01:47,566 42 00:01:47,566 --> 00:01:51,000 and write up the summations, 
let's see what we get. 43 00:01:51,000 --> 00:01:51,733 44 00:01:51,733 --> 00:01:54,633 Let's see what we get. So when 
we plug it into the summation, 45 00:01:54,633 --> 00:01:57,866 i equals 3 becomes j equals 1, 46 00:01:57,866 --> 00:02:01,433 28 becomes 26 that's [28] minus 2, 47 00:02:01,433 --> 00:02:02,533 48 00:02:02,533 --> 00:02:06,433 the i becomes j plus 2, and the i 
plus 1 becomes j plus 2 plus 1, 49 00:02:06,433 --> 00:02:09,400 so let's write that as j plus 3. Let's make it 50 00:02:09,400 --> 00:02:10,033 51 00:02:10,033 --> 00:02:11,433 in its simplest form. 52 00:02:11,433 --> 00:02:13,866 And these two summations are equal. Right? 53 00:02:13,866 --> 00:02:15,433 54 00:02:15,433 --> 00:02:19,100 This is what you call substitution. You could 
substitute a letter for a different letter, 55 00:02:19,100 --> 00:02:21,600 and you can modify your summation 56 00:02:21,600 --> 00:02:23,266 accordingly. 57 00:02:23,266 --> 00:02:23,800 58 00:02:23,800 --> 00:02:25,733 Now, for example, 59 00:02:25,733 --> 00:02:26,766 60 00:02:26,766 --> 00:02:29,033 you can also say that these two 
things are equal. We can also just 61 00:02:29,033 --> 00:02:32,400 expand some of the terms out 
which might be a good exercise so 62 00:02:32,400 --> 00:02:33,233 63 00:02:33,233 --> 00:02:36,933 I'm just... let's call it a "for fun" section. 64 00:02:36,933 --> 00:02:38,166 65 00:02:38,166 --> 00:02:40,300 So the sum 66 00:02:40,300 --> 00:02:44,733 67 00:02:44,733 --> 00:02:47,866 is going to be 3 times 3 plus 1 68 00:02:47,866 --> 00:02:50,966 69 00:02:50,966 --> 00:02:53,166 to the power of 3. 70 00:02:53,166 --> 00:02:53,866 71 00:02:53,866 --> 00:02:58,433 So if we start to evaluate this sum, right, the 
first term is 3 times 3 plus 1 cubed, right, 72 00:02:58,433 --> 00:03:01,866 I'm just plugging in 3. I 
increment 3 and I go to 4, 73 00:03:01,866 --> 00:03:06,366 74 00:03:06,366 --> 00:03:09,033 and I get the next term: 75 00:03:09,033 --> 00:03:11,233 the 4 times 4 plus 1 cubed. 76 00:03:11,233 --> 00:03:13,866 Now you increment i to 
go to 5, 5 is less than 28, 77 00:03:13,866 --> 00:03:16,033 and I continue and I continue and I continue. 78 00:03:16,033 --> 00:03:16,966 79 00:03:16,966 --> 00:03:21,533 When's the last term? Well the last term is going 
to occur when i equals 28 so I'm going to get 28, 80 00:03:21,533 --> 00:03:24,366 28 plus 1 cubed. 81 00:03:24,366 --> 00:03:25,866 82 00:03:25,866 --> 00:03:27,433 83 00:03:27,433 --> 00:03:30,133 So hopefully we all agree that that's true 84 00:03:30,133 --> 00:03:31,433 85 00:03:31,433 --> 00:03:33,900 and then we can do this 
with the other sum as well. 86 00:03:33,900 --> 00:03:36,100 87 00:03:36,100 --> 00:03:38,466 Again, this is just for practice; just 
to make sure we understand 88 00:03:38,466 --> 00:03:40,733 the notation and that we can actually do this. 89 00:03:40,733 --> 00:03:42,000 90 00:03:42,000 --> 00:03:45,233 So if I see the other sum, 91 00:03:45,233 --> 00:03:48,400 I'm going to plug in the first 
term which is 1 plus 2, 92 00:03:48,400 --> 00:03:51,200 1 plus 3 cubed, 93 00:03:51,200 --> 00:03:52,466 94 00:03:52,466 --> 00:03:56,600 plus 2 plus 2, 2 plus 3 95 00:03:56,600 --> 00:03:57,166 96 00:03:57,166 --> 00:03:58,900 cubed, 97 00:03:58,900 --> 00:03:59,866 98 00:03:59,866 --> 00:04:03,366 and then the last term, again 3, 2, 3… 99 00:04:03,366 --> 00:04:07,266 so I plug in 1, I plug in 2, I plug in 
3, and I go all the way up to 26. 100 00:04:07,266 --> 00:04:08,233 101 00:04:08,233 --> 00:04:08,466 102 00:04:08,466 --> 00:04:10,933 So let's see what we have, 
sorry that was a typo, 103 00:04:10,933 --> 00:04:11,866 104 00:04:11,866 --> 00:04:15,266 so we plug in the 1 term into 
here so 1 plus 2, 1 plus 3. 105 00:04:15,266 --> 00:04:17,566 Hopefully we agree that 
those two things are equal, 106 00:04:17,566 --> 00:04:19,933 then we have 2 plus 2, and 2 plus 3 107 00:04:19,933 --> 00:04:24,266 so 4 and 5, those two things are 
equal, and then we keep going 108 00:04:24,266 --> 00:04:26,366 and at every step, even though 
I didn't show all the steps, 109 00:04:26,366 --> 00:04:29,733 28 is 26 plus 2, 28 plus 1 
is the same as 26 plus 3. 110 00:04:29,733 --> 00:04:32,633 These two sums are actually 
equal, every term is the same. 111 00:04:32,633 --> 00:04:33,400 112 00:04:33,400 --> 00:04:35,400 Okay? 113 00:04:35,400 --> 00:04:38,066 Hopefully this gives you a idea of 
how to change the indices so that 114 00:04:38,066 --> 00:04:40,733 you can start it at whatever number you'd like, 115 00:04:40,733 --> 00:04:43,366 and this might be important 
for certain applications. 116 00:04:43,366 --> 00:04:44,566 117 00:04:44,566 --> 00:04:46,933 Question: 118 00:04:46,933 --> 00:04:50,300 "Write the sum from i equals 
k plus 2 to 3k plus 1 i 119 00:04:50,300 --> 00:04:53,400 as a summation from i 
equals k to i equals 3k 120 00:04:53,400 --> 00:04:53,966 121 00:04:53,966 --> 00:04:55,466 of i." 122 00:04:55,466 --> 00:04:59,233 You want to use other terms as well, right, because 
there's no way these two things are going to be equal. 123 00:04:59,233 --> 00:05:03,000 124 00:05:03,000 --> 00:05:05,233 So let's see that now. 125 00:05:05,233 --> 00:05:05,933 126 00:05:05,933 --> 00:05:07,966 Let's look at this, so 127 00:05:07,966 --> 00:05:10,833 128 00:05:10,833 --> 00:05:14,200 129 00:05:14,200 --> 00:05:18,333 I'm not going to expand this sum 
out like I did the last one, just for 130 00:05:18,333 --> 00:05:20,800 sanity's sake. 131 00:05:20,800 --> 00:05:24,600 We should be able to do this just by looking 
at it, right? Where do these differ? Well… 132 00:05:24,600 --> 00:05:31,433 133 00:05:31,433 --> 00:05:33,500 let's look at this equality. 134 00:05:33,500 --> 00:05:36,566 135 00:05:36,566 --> 00:05:39,866 Now the terms here, there's a couple 
of extra terms. Right? We start at k, 136 00:05:39,866 --> 00:05:43,966 but this sum started at k plus 2, right? 
So this one's going to have a k, 137 00:05:43,966 --> 00:05:48,800 a k plus 1, a k plus 2, k plus 3 
all the way up to 3k, right, 138 00:05:48,800 --> 00:05:51,433 but the k and the k plus 1 
terms aren't the same. 139 00:05:51,433 --> 00:05:54,833 So if I'm going to include the k and k plus 1 terms in the sum, 140 00:05:54,833 --> 00:05:57,800 141 00:05:57,800 --> 00:05:59,866 I'd better remove them. 142 00:05:59,866 --> 00:06:03,566 143 00:06:03,566 --> 00:06:07,833 Right now, if you expand this out, 
this is a sum from k, k plus 1, 144 00:06:07,833 --> 00:06:12,033 k plus 2, k plus 3, but now I’m subtracting off k and k plus 1. 145 00:06:12,033 --> 00:06:14,833 So I could condense this to 
a sum starting at k plus 2, 146 00:06:14,833 --> 00:06:17,966 so these two things at the bottom end are equal. 147 00:06:17,966 --> 00:06:23,400 Now on the top end though, this one has 
a term 3k plus 1 and this one stops at 3k. 148 00:06:23,400 --> 00:06:25,466 149 00:06:25,466 --> 00:06:28,900 So to account for that, I need to 
include the 3k plus 1 term. If I plug in 150 00:06:28,900 --> 00:06:32,433 3k plus 1 in for i, I'm just 
going to get 3k plus 1. 151 00:06:32,433 --> 00:06:35,766 152 00:06:35,766 --> 00:06:38,566 You could imagine changing this question slightly. 153 00:06:38,566 --> 00:06:39,366 154 00:06:39,366 --> 00:06:42,833 For example, if I made everything squared, 155 00:06:42,833 --> 00:06:43,700 156 00:06:43,700 --> 00:06:46,700 instead of i I had i squared, 
then I would instead of just 157 00:06:46,700 --> 00:06:48,666 k and k plus 1, 158 00:06:48,666 --> 00:06:50,733 159 00:06:50,733 --> 00:06:53,333 I would have squares everywhere. 160 00:06:53,333 --> 00:06:55,933 So let me do the changed question. 161 00:06:55,933 --> 00:06:57,466 162 00:06:57,466 --> 00:07:01,533 Sorry, I didn't actually put up the answer 
to the other one, sorry. It didn't render. 163 00:07:01,533 --> 00:07:04,366 So what if I changed it to, "Write i squared as a summation", 164 00:07:04,366 --> 00:07:08,300 so write this sum as a summation 
like this with other terms. 165 00:07:08,300 --> 00:07:12,100 Here again, I'm starting from 
i equals k to 3k of i squared. 166 00:07:12,100 --> 00:07:13,833 167 00:07:13,833 --> 00:07:16,533 The kth and the k plus first terms, 168 00:07:16,533 --> 00:07:17,166 169 00:07:17,166 --> 00:07:19,333 these are 170 00:07:19,333 --> 00:07:20,700 extra on this side, 171 00:07:20,700 --> 00:07:22,866 right, this starts at k plus 2 but 
this starts at k, so I need to 172 00:07:22,866 --> 00:07:26,666 remove those in order to get the equality on 
the bottom end of these two sums to be equal. 173 00:07:26,666 --> 00:07:28,466 And on the top end, well this one 174 00:07:28,466 --> 00:07:31,600 finishes at 3k plus one and this one finishes at 3k 175 00:07:31,600 --> 00:07:34,833 so I need to add in that 
extra term that I've lost. 176 00:07:34,833 --> 00:07:38,833 Now, for example, if I change 
the 3k plus 1 to a 3k plus 2, 177 00:07:38,833 --> 00:07:42,133 then I would just simply add the extra 3k plus 2 term. 178 00:07:42,133 --> 00:07:46,833 179 00:07:46,833 --> 00:07:49,233 180 00:07:49,233 --> 00:07:51,300 And there you have it. 181 00:07:51,300 --> 00:07:53,300 182 00:07:53,300 --> 00:07:55,633 These are all ways to manipulate summations, 183 00:07:55,633 --> 00:07:59,166 these aren't all of the ways but 
these are some of the ways to do so. 184 00:07:59,166 --> 00:08:02,833 So hopefully this gives you a better 
understanding of the notation 185 00:08:02,833 --> 00:08:07,533 and helps you out for your midterm. Best of luck.