1 00:00:00,328 --> 00:00:01,161 - [Teacher] What's up everybody? 2 00:00:01,161 --> 00:00:02,525 In this video, I wanna derive 3 00:00:02,525 --> 00:00:04,191 this formula right here. 4 00:00:04,191 --> 00:00:06,351 This is the formula for beat frequency, 5 00:00:06,351 --> 00:00:07,969 so remember the way you get beats 6 00:00:07,969 --> 00:00:10,235 or beat frequency is by overlapping 7 00:00:10,235 --> 00:00:12,980 two waves that have different frequencies. 8 00:00:12,980 --> 00:00:15,093 So when you do this, you get beats, 9 00:00:15,093 --> 00:00:17,206 and I'm not talking about Dr. Dre beats. 10 00:00:17,206 --> 00:00:18,881 These are a little less exciting. 11 00:00:18,881 --> 00:00:21,168 This is a sound wave that goes from being loud, 12 00:00:21,168 --> 00:00:24,123 i.e. constructive to destructive, soft, 13 00:00:24,123 --> 00:00:26,987 and then all the way back to loud, constructive again 14 00:00:26,987 --> 00:00:29,629 and the number of times it does that per second 15 00:00:29,629 --> 00:00:30,848 is the beat frequency. 16 00:00:30,848 --> 00:00:32,961 The number of those wobbles per second 17 00:00:32,961 --> 00:00:34,342 is the beat frequency, and the way 18 00:00:34,342 --> 00:00:35,370 you find that beat frequency is you 19 00:00:35,370 --> 00:00:37,015 just take the difference in the two 20 00:00:37,015 --> 00:00:39,575 individual frequencies of the two sound waves 21 00:00:39,575 --> 00:00:41,415 that are overlapping, but why is this 22 00:00:41,415 --> 00:00:43,386 the formula for beat frequency? 23 00:00:43,386 --> 00:00:44,959 Why isn't it something more complicated? 24 00:00:44,959 --> 00:00:46,402 Why did it come out to be this? 25 00:00:46,402 --> 00:00:47,652 That's what I wanna show you how 26 00:00:47,652 --> 00:00:49,069 to derive in this video, 27 00:00:49,069 --> 00:00:50,268 and the way we'll approach it 28 00:00:50,268 --> 00:00:51,759 is we're just gonna say all right, 29 00:00:51,759 --> 00:00:54,108 instead of finding that, let's find this first. 30 00:00:54,108 --> 00:00:55,791 Let's find the beat period. 31 00:00:55,791 --> 00:00:57,753 So if beat frequency is number 32 00:00:57,753 --> 00:01:00,494 of wobbles per second, then the beat period 33 00:01:00,494 --> 00:01:03,634 would just be the number of seconds per wobble. 34 00:01:03,634 --> 00:01:05,462 In other words, how long does it take 35 00:01:05,462 --> 00:01:07,770 for this process to go from constructive 36 00:01:07,770 --> 00:01:10,057 all the way back to another constructive? 37 00:01:10,057 --> 00:01:11,474 'Cause if we can find this, if we can 38 00:01:11,474 --> 00:01:13,923 find this beat period, then we know 39 00:01:13,923 --> 00:01:15,668 that the frequency is always just 40 00:01:15,668 --> 00:01:17,247 one over the period. 41 00:01:17,247 --> 00:01:18,312 So if I can find the beat period, 42 00:01:18,312 --> 00:01:20,030 all I have to do is take one over that, 43 00:01:20,030 --> 00:01:21,960 and I'd get the beat frequency. 44 00:01:21,960 --> 00:01:22,883 So, how do I get this? 45 00:01:22,883 --> 00:01:24,610 How do we find this beat period? 46 00:01:24,610 --> 00:01:25,963 We find it by recognizing that 47 00:01:25,963 --> 00:01:27,860 this beat period is the time it takes 48 00:01:27,860 --> 00:01:30,921 for these waves to shift in such a way 49 00:01:30,921 --> 00:01:32,885 that these peaks originally overlap 50 00:01:32,885 --> 00:01:35,748 and then they overlap again later on in the process. 51 00:01:35,748 --> 00:01:36,623 So let me clean this up. 52 00:01:36,623 --> 00:01:37,497 Let's get rid of this. 53 00:01:37,497 --> 00:01:39,944 Let's just look at the two waves individually. 54 00:01:39,944 --> 00:01:43,804 So assuming they start off in phase, perfectly constructive. 55 00:01:43,804 --> 00:01:45,076 Right, so I'm gonna assume over here 56 00:01:45,076 --> 00:01:46,640 they started off constructive. 57 00:01:46,640 --> 00:01:48,019 We really just wanna know how long 58 00:01:48,019 --> 00:01:50,622 does it take for them to become constructive again 59 00:01:50,622 --> 00:01:51,830 all the way over to here? 60 00:01:51,830 --> 00:01:53,467 We're looking for this time. 61 00:01:53,467 --> 00:01:54,735 And the way we'll find this is by 62 00:01:54,735 --> 00:01:57,904 recognizing if these waves started off in phase, 63 00:01:57,904 --> 00:01:59,867 every time the red wave goes through 64 00:01:59,867 --> 00:02:02,578 one whole cycle, so in the time it takes 65 00:02:02,578 --> 00:02:05,360 the red wave to complete one period, 66 00:02:05,360 --> 00:02:08,562 it is now this far in front of the blue wave, 67 00:02:08,562 --> 00:02:10,045 and by in front of, I just mean, 68 00:02:10,045 --> 00:02:12,626 happening that much later than the 69 00:02:12,626 --> 00:02:14,565 blue wave's crest is happening. 70 00:02:14,565 --> 00:02:16,147 So these crests are now out of phase 71 00:02:16,147 --> 00:02:17,999 a little bit by this amount. 72 00:02:17,999 --> 00:02:19,554 What would that amount be? 73 00:02:19,554 --> 00:02:20,956 That's just the difference in periods 74 00:02:20,956 --> 00:02:22,529 between the two waves. 75 00:02:22,529 --> 00:02:25,516 So that's just gonna be the period of wave one. 76 00:02:25,516 --> 00:02:27,710 We'll make the red wave, wave one, 77 00:02:27,710 --> 00:02:29,618 and we'll make the blue wave, wave two. 78 00:02:29,618 --> 00:02:30,899 That way we're not gonna get a negative 79 00:02:30,899 --> 00:02:32,260 number here or anything weird 80 00:02:32,260 --> 00:02:33,601 'cause the period of the red wave 81 00:02:33,601 --> 00:02:36,284 is a little longer than the period of the blue wave. 82 00:02:36,284 --> 00:02:37,625 So if we take this difference, 83 00:02:37,625 --> 00:02:40,307 this is how out of phase in time 84 00:02:40,307 --> 00:02:42,298 these two peaks are getting over time. 85 00:02:42,298 --> 00:02:44,443 So after, if I waited one cycle, 86 00:02:44,443 --> 00:02:46,861 they would be exactly that far apart in time. 87 00:02:46,861 --> 00:02:48,425 If I waited two cycles, they'd be 88 00:02:48,425 --> 00:02:49,929 two times that far apart. 89 00:02:49,929 --> 00:02:50,974 If I waited three cycles, 90 00:02:50,974 --> 00:02:52,882 they'd be three times that far apart. 91 00:02:52,882 --> 00:02:54,114 How does this help us? 92 00:02:54,114 --> 00:02:55,484 Well look, now we can just say, 93 00:02:55,484 --> 00:02:56,662 all right if we wanna know how far 94 00:02:56,662 --> 00:02:59,153 apart these two crests are in time 95 00:02:59,153 --> 00:03:00,900 at any given moment, I'll just take 96 00:03:00,900 --> 00:03:03,905 this difference in period, and I'll multiply 97 00:03:03,905 --> 00:03:06,142 by the number of cycles that the red wave 98 00:03:06,142 --> 00:03:07,381 has gone through. 99 00:03:07,381 --> 00:03:09,859 So if the red wave has gone through three cycles, 100 00:03:09,859 --> 00:03:11,811 I'd plug in three here, 101 00:03:11,811 --> 00:03:13,253 and then three times this difference 102 00:03:13,253 --> 00:03:14,887 would tell me those peaks are gonna be 103 00:03:14,887 --> 00:03:18,149 spaced apart in time by that much time, 104 00:03:18,149 --> 00:03:19,084 this whole time right here. 105 00:03:19,084 --> 00:03:22,802 This is how far apart in time the two crests are. 106 00:03:22,802 --> 00:03:24,611 So they start off right on top of each other. 107 00:03:24,611 --> 00:03:26,053 After one cycle they're that far. 108 00:03:26,053 --> 00:03:27,394 After two cycles that far, 109 00:03:27,394 --> 00:03:29,719 three cycles that far, four cycles that far, 110 00:03:29,719 --> 00:03:30,828 five cycles that far. 111 00:03:30,828 --> 00:03:32,981 Now they start to get so far apart 112 00:03:32,981 --> 00:03:35,855 in phase that this red wave is overlapping 113 00:03:35,855 --> 00:03:39,401 with the next blue peak, i.e. the blue wave 114 00:03:39,401 --> 00:03:41,991 has basically lapped the red wave at this point, 115 00:03:41,991 --> 00:03:44,165 and the blue wave has advanced in time 116 00:03:44,165 --> 00:03:47,172 through so many cycles that it's next peak 117 00:03:47,172 --> 00:03:49,710 is overlapping with this red peak right here, 118 00:03:49,710 --> 00:03:51,538 and that's when it becomes constructive again. 119 00:03:51,538 --> 00:03:53,543 So this is the condition for this to become 120 00:03:53,543 --> 00:03:55,859 constructive again is that this red wave 121 00:03:55,859 --> 00:03:58,590 is now so out of phase, it's out of phase 122 00:03:58,590 --> 00:04:01,008 one whole blue period because now it's 123 00:04:01,008 --> 00:04:03,429 gonna overlap with that blue peak 124 00:04:03,429 --> 00:04:04,482 of the next peak. 125 00:04:04,482 --> 00:04:06,453 So the next peak sneaks in here, 126 00:04:06,453 --> 00:04:08,017 and now the two overlap again. 127 00:04:08,017 --> 00:04:10,211 So, really if I wanna know the time 128 00:04:10,211 --> 00:04:12,873 between constructive to constructive again, 129 00:04:12,873 --> 00:04:14,844 I just wanna know when this distance, 130 00:04:14,844 --> 00:04:16,692 the two peaks have been spaced apart. 131 00:04:16,692 --> 00:04:20,572 When that just equals one entire period of the second wave. 132 00:04:20,572 --> 00:04:22,747 So when this is true, I know that I've 133 00:04:22,747 --> 00:04:26,291 waited long enough for these to become constructive again 134 00:04:26,291 --> 00:04:28,506 because the blue wave will have exactly lapped 135 00:04:28,506 --> 00:04:30,416 the red wave, and then they overlap 136 00:04:30,416 --> 00:04:32,619 peak to peak again, but you might be concerned. 137 00:04:32,619 --> 00:04:33,585 You might be like, wait a minute, 138 00:04:33,585 --> 00:04:35,974 there's no time in here. 139 00:04:35,974 --> 00:04:37,924 How am I gonna solve for the time it took 140 00:04:37,924 --> 00:04:39,753 when there's no actual little t. 141 00:04:39,753 --> 00:04:40,952 These are just constants, right? 142 00:04:40,952 --> 00:04:43,521 This period of blue wave is just a constant 143 00:04:43,521 --> 00:04:45,613 determined by whatever the period of the blue wave is, 144 00:04:45,613 --> 00:04:46,668 and this period of the red wave 145 00:04:46,668 --> 00:04:47,523 is just a constant. 146 00:04:47,523 --> 00:04:48,945 Whatever the period of the red wave is, 147 00:04:48,945 --> 00:04:50,794 there's no variable t in here to solve for. 148 00:04:50,794 --> 00:04:52,611 Here's how we sneak t in here. 149 00:04:52,611 --> 00:04:55,784 This number of cycles the red wave has gone through 150 00:04:55,784 --> 00:04:57,824 isn't necessarily an integer. 151 00:04:57,824 --> 00:04:58,881 Maybe it's an integer. 152 00:04:58,881 --> 00:05:00,985 Maybe the red wave goes through exactly, 153 00:05:00,985 --> 00:05:02,903 in fact, on this picture, we can count 154 00:05:02,903 --> 00:05:05,178 the red wave went through one, two, 155 00:05:05,178 --> 00:05:09,091 three, four, five, six cycles exactly 156 00:05:09,091 --> 00:05:11,062 before it became in phase again 157 00:05:11,062 --> 00:05:13,297 with the blue wave, but that doesn't always happen. 158 00:05:13,297 --> 00:05:15,471 That was just because I wanted to draw this nicely 159 00:05:15,471 --> 00:05:17,672 and make it so that you could see this line up well. 160 00:05:17,672 --> 00:05:19,207 Maybe this isn't an integer. 161 00:05:19,207 --> 00:05:23,830 Maybe this happens after 4.2 cycles or 3.1 cycles. 162 00:05:23,830 --> 00:05:25,609 It'd be nice if we had a more general way 163 00:05:25,609 --> 00:05:27,566 to write the number of cycles the red 164 00:05:27,566 --> 00:05:29,673 wave has gone through and we do. 165 00:05:29,673 --> 00:05:30,506 Think about it. 166 00:05:30,506 --> 00:05:32,689 The number of cycles the red wave has gone through 167 00:05:32,689 --> 00:05:35,504 is just gonna equal the time that you've waited 168 00:05:35,504 --> 00:05:38,166 divided by the period of the red wave. 169 00:05:38,166 --> 00:05:39,597 I'll call that period one 'cause that's 170 00:05:39,597 --> 00:05:40,836 what we called it up here. 171 00:05:40,836 --> 00:05:42,197 This makes sense 'cause if I wait 172 00:05:42,197 --> 00:05:44,769 one whole period one, then I'd have period 173 00:05:44,769 --> 00:05:47,096 one over period one gives me one whole cycle 174 00:05:47,096 --> 00:05:48,487 that the red wave has gone through. 175 00:05:48,487 --> 00:05:52,489 If I wait two periods, I'd have two times T1 up here. 176 00:05:52,489 --> 00:05:54,693 The T1s would cancel each other and I'd get two. 177 00:05:54,693 --> 00:05:56,685 Two cycles is what it's gone through. 178 00:05:56,685 --> 00:05:58,982 So this gives me an opportunity 179 00:05:58,982 --> 00:06:00,262 to write the number of cycles 180 00:06:00,262 --> 00:06:02,343 the red wave has gone through as a function 181 00:06:02,343 --> 00:06:04,123 of whatever time it happens to be. 182 00:06:04,123 --> 00:06:05,423 Now I can plug in times where I 183 00:06:05,423 --> 00:06:07,272 don't get an integer number of cycles. 184 00:06:07,272 --> 00:06:10,108 I can plug in at 4.3 seconds, 185 00:06:10,108 --> 00:06:12,882 how many cycles has the red wave gone through? 186 00:06:12,882 --> 00:06:16,052 I take 4.3 seconds, I divide by the period 187 00:06:16,052 --> 00:06:18,029 which is the time for one cycle, 188 00:06:18,029 --> 00:06:19,404 and I get the number of cycles 189 00:06:19,404 --> 00:06:20,855 the red wave has gone through. 190 00:06:20,855 --> 00:06:22,846 So I'm gonna replace this nR over here 191 00:06:22,846 --> 00:06:24,280 with this expression. 192 00:06:24,280 --> 00:06:25,762 I'll just copy this, and I'm gonna 193 00:06:25,762 --> 00:06:29,399 rewrite nR as the time that you've waited 194 00:06:29,399 --> 00:06:32,274 divided by the period of that red wave, 195 00:06:32,274 --> 00:06:33,461 and now all I have to do is solve 196 00:06:33,461 --> 00:06:35,484 for the time little t because that will 197 00:06:35,484 --> 00:06:37,629 be telling me the time that it took 198 00:06:37,629 --> 00:06:40,494 for these two waves to get out of phase in time 199 00:06:40,494 --> 00:06:43,326 by a whole period of the second wave 200 00:06:43,326 --> 00:06:45,053 which is the requirement for it to go 201 00:06:45,053 --> 00:06:47,638 from constructive all the way back to constructive 202 00:06:47,638 --> 00:06:48,910 which is what we were looking for. 203 00:06:48,910 --> 00:06:50,768 That was the beat period up here. 204 00:06:50,768 --> 00:06:52,636 So if I solve this for little t, 205 00:06:52,636 --> 00:06:53,787 when I solve this for little t, 206 00:06:53,787 --> 00:06:55,888 I'll get little t, the time that it takes 207 00:06:55,888 --> 00:06:57,870 in order for these two peaks to get 208 00:06:57,870 --> 00:07:00,805 spaced out a whole second period 209 00:07:00,805 --> 00:07:03,527 is gonna be, I'll multiply both sides by T1, 210 00:07:03,527 --> 00:07:06,777 I get T1 times T2, and then divided by, 211 00:07:07,977 --> 00:07:09,898 I'll have to divide by this parenthesis term. 212 00:07:09,898 --> 00:07:12,824 So I'll have to divide by T1 - T2. 213 00:07:12,824 --> 00:07:16,084 And I'm claiming that this actually is the beat period. 214 00:07:16,084 --> 00:07:17,903 It's the beat period because we stuck 215 00:07:17,903 --> 00:07:19,366 in this condition that they're gonna 216 00:07:19,366 --> 00:07:21,324 be spaced apart one whole period 217 00:07:21,324 --> 00:07:23,682 of the second wave, and if they started in phase, 218 00:07:23,682 --> 00:07:24,710 they're gonna end in phase, 219 00:07:24,710 --> 00:07:26,843 and that's gonna be the time between constructive points. 220 00:07:26,843 --> 00:07:28,857 So this right here is the beat period. 221 00:07:28,857 --> 00:07:30,622 This time we solve for is the beat period. 222 00:07:30,622 --> 00:07:31,748 So I'm gonna take this. 223 00:07:31,748 --> 00:07:33,882 I'm just gonna say this beat period is equal to this. 224 00:07:33,882 --> 00:07:37,336 So this is the beat period for these two waves. 225 00:07:37,336 --> 00:07:38,810 So here's a cool formula for beat period, 226 00:07:38,810 --> 00:07:40,049 but we didn't want the beat period. 227 00:07:40,049 --> 00:07:41,919 Remember we wanted to derive this formula 228 00:07:41,919 --> 00:07:43,564 for beat frequency. 229 00:07:43,564 --> 00:07:45,027 So the way we find frequency is we say 230 00:07:45,027 --> 00:07:47,811 that the frequency is one over the period. 231 00:07:47,811 --> 00:07:49,233 And let me clean this up a little bit. 232 00:07:49,233 --> 00:07:50,188 Let me get rid of this. 233 00:07:50,188 --> 00:07:51,669 So if we solve now, if we take one 234 00:07:51,669 --> 00:07:54,069 over the beat period, that's just gonna equal 235 00:07:54,069 --> 00:07:55,572 one over this right hand side 236 00:07:55,572 --> 00:07:58,376 which means I just get the difference in the periods 237 00:07:58,376 --> 00:08:01,270 divided by the product of the two periods 238 00:08:01,270 --> 00:08:03,356 because I just flip that right hand side, 239 00:08:03,356 --> 00:08:04,553 and I can expand this now. 240 00:08:04,553 --> 00:08:08,036 I've T1 minus T2 over T1 times T2. 241 00:08:08,036 --> 00:08:09,391 So if I expand the top, this is 242 00:08:09,391 --> 00:08:12,558 gonna be equal to T1 over T1 times T2, 243 00:08:13,393 --> 00:08:16,310 and then minus T2 over T1 times T2. 244 00:08:18,147 --> 00:08:19,578 And now something magical happens. 245 00:08:19,578 --> 00:08:23,958 The T1s here cancel, and the T2s over here cancel, 246 00:08:23,958 --> 00:08:26,478 and I get that one over the beat period 247 00:08:26,478 --> 00:08:28,834 is gonna be equal to one over the period 248 00:08:28,834 --> 00:08:31,159 of the second wave minus one over 249 00:08:31,159 --> 00:08:33,029 the period of the first wave. 250 00:08:33,029 --> 00:08:33,861 But look at this. 251 00:08:33,861 --> 00:08:36,502 One over the beat period, what's one over the beat period? 252 00:08:36,503 --> 00:08:38,413 That's just the beat frequency. 253 00:08:38,413 --> 00:08:42,061 So one over beat period is just beat frequency. 254 00:08:42,061 --> 00:08:44,702 And what's one over the period of the second wave? 255 00:08:44,702 --> 00:08:47,006 That's just the frequency of the second wave. 256 00:08:47,006 --> 00:08:49,158 And what's one over the period of the first wave? 257 00:08:49,158 --> 00:08:51,690 That's just the frequency of the first wave. 258 00:08:51,690 --> 00:08:53,336 And we get our beat frequency formula. 259 00:08:53,336 --> 00:08:54,808 This is the formula we were trying to find. 260 00:08:54,808 --> 00:08:56,615 Remember over here we wanted to show 261 00:08:56,615 --> 00:08:59,280 that the beat frequency formula looked like this, 262 00:08:59,280 --> 00:09:00,113 and it does. 263 00:09:00,113 --> 00:09:00,946 It looked just like this, 264 00:09:00,946 --> 00:09:02,043 and the reason is you had to wait 265 00:09:02,043 --> 00:09:04,371 exactly that long, the beat period. 266 00:09:04,371 --> 00:09:06,003 In order for these peaks to get 267 00:09:06,003 --> 00:09:07,992 back into phase again, you had to wait 268 00:09:07,992 --> 00:09:09,482 for the peaks to get out of phase 269 00:09:09,482 --> 00:09:12,184 by one whole period of the second wave. 270 00:09:12,184 --> 00:09:13,261 Now you might be like, wait, 271 00:09:13,261 --> 00:09:15,568 we need the absolute values in here, right? 272 00:09:15,568 --> 00:09:17,058 I mean we could put these in here. 273 00:09:17,058 --> 00:09:18,894 We were careful at the beginning. 274 00:09:18,894 --> 00:09:20,616 I made sure that I took a difference 275 00:09:20,616 --> 00:09:23,237 between a larger period and a smaller period. 276 00:09:23,237 --> 00:09:25,341 So I took the larger minus the smaller 277 00:09:25,341 --> 00:09:27,118 which made sure we had a positive number, 278 00:09:27,118 --> 00:09:28,448 but you could throw this in here 279 00:09:28,448 --> 00:09:30,370 just in case you don't know which period 280 00:09:30,370 --> 00:09:31,833 or which frequency is larger. 281 00:09:31,833 --> 00:09:32,666 But that's how you get it, 282 00:09:32,666 --> 00:09:34,554 that how you determine the beat frequency, 283 00:09:34,554 --> 00:09:37,531 and that's why the formula looks the way it does. 284 00:09:37,531 --> 00:09:39,636 So recapping, we were able to determine 285 00:09:39,636 --> 00:09:42,216 and derive a formula for the beat frequency 286 00:09:42,216 --> 00:09:44,482 by figuring out the time we'd have to wait 287 00:09:44,482 --> 00:09:46,056 in order for these waves to become 288 00:09:46,056 --> 00:09:48,831 one whole period out of phase 289 00:09:48,831 --> 00:09:50,424 which is another way of saying how long 290 00:09:50,424 --> 00:00:00,000 we have to wait for them to become back in phase.