1 00:00:00,000 --> 00:00:02,294 Sequences are complicated. 2 00:00:02,294 --> 00:00:08,350 [MUSIC] 3 00:00:08,350 --> 00:00:11,630 It's not so easy to find the limit of a sequence. 4 00:00:11,630 --> 00:00:19,450 The logistic map provides one source of rich, and by rich I mean very complicated. 5 00:00:20,600 --> 00:00:23,430 Examples. Let's see how these are defined. 6 00:00:23,430 --> 00:00:24,850 Here's a sequence I want to consider. 7 00:00:24,850 --> 00:00:28,610 It's actually a family of sequences, which depend on some parameter r. 8 00:00:29,630 --> 00:00:33,821 Let's call r, 2.5 for the time being. And I'll pick an initial 9 00:00:33,821 --> 00:00:37,980 value for my sequence. Let's make it 0.25 for now. 10 00:00:37,980 --> 00:00:40,850 And then here's the recursive definition of the sequence. 11 00:00:40,850 --> 00:00:46,271 A sub n plus one will be this constant r times the 12 00:00:46,271 --> 00:00:51,420 previous term a sub n times one minus a sub n. 13 00:00:51,420 --> 00:00:54,500 And by varying r and by varying the initial value 14 00:00:54,500 --> 00:00:58,980 I'll get a whole bunch of different sequences to consider. 15 00:00:58,980 --> 00:01:02,560 Let's try it with those values. Let's try it with r equals 2.5. 16 00:01:02,560 --> 00:01:04,730 So here's an example. 17 00:01:04,730 --> 00:01:08,891 I start with the initial value, 0.25 and each subsequent value 18 00:01:08,891 --> 00:01:13,900 is 2.5 times the previous value times one minus the previous value. 19 00:01:13,900 --> 00:01:16,050 We have graphed these values, right? 20 00:01:16,050 --> 00:01:18,430 The first is at 0.25, then it goes up 21 00:01:18,430 --> 00:01:21,440 a bit, then it starts sort of levelling off here. 22 00:01:21,440 --> 00:01:25,130 And indeed, if we look at this numerically, and 23 00:01:25,130 --> 00:01:30,620 if the first value is exactly 0.25, and then as I run down through the 24 00:01:30,620 --> 00:01:36,962 sequence, it seems like the values are getting closer and closer to about 0.6. 25 00:01:36,962 --> 00:01:41,358 And in this case the limit of the sequence is in fact 0.6. 26 00:01:41,358 --> 00:01:44,440 What if we start with a different initial value? 27 00:01:44,440 --> 00:01:50,070 What if instead of a sub one equals 0.25, we make a sub one equal something else. 28 00:01:50,070 --> 00:01:55,398 So the recursive formula we're using is a sub n plus one is 29 00:01:55,398 --> 00:02:00,565 2.5 times a sub n times one minus a sub n. And 30 00:02:00,565 --> 00:02:05,841 before, we were starting with a sub one equal to 0.25. 31 00:02:05,841 --> 00:02:10,390 Let's start with 0.8 and see what happens in that case. 32 00:02:10,390 --> 00:02:15,160 So if I start with 0.8, I could rewrite 0.8 as 4 33 00:02:15,160 --> 00:02:20,036 5ths, and instead of writing 2.5 I'll write five 34 00:02:20,036 --> 00:02:23,810 halves times a n times one minus a n. 35 00:02:23,810 --> 00:02:26,840 Just like working with the fractions instead of the decimals. 36 00:02:26,840 --> 00:02:28,750 So let's use this to calculate the next term. 37 00:02:28,750 --> 00:02:29,600 What a sub two? 38 00:02:29,600 --> 00:02:34,150 Well, according to this formula, it's five halves times 39 00:02:34,150 --> 00:02:36,990 a sub one, times one minus a sub one. 40 00:02:36,990 --> 00:02:40,706 But I've got a sub one, it's 4 5ths. 41 00:02:40,706 --> 00:02:48,287 So that's five halves times 4 5ths minus one minus 4 5ths, which is 1 5th. 42 00:02:48,287 --> 00:02:54,550 Now, 1 5th and this five can cancel. I can get rid of these. 43 00:02:54,550 --> 00:03:01,022 And this four and this two, become a two in the numerator, so I've just got 2 5ths. 44 00:03:01,022 --> 00:03:06,145 So a sub two is 2 5ths. Now I can calculate a sub three. 45 00:03:06,145 --> 00:03:06,725 [SOUND] 46 00:03:06,725 --> 00:03:11,713 So a sub three will be five halves again, times a sub 47 00:03:11,713 --> 00:03:16,880 two, times one minus a sub two. And, in this case. 48 00:03:18,040 --> 00:03:22,000 What is, a sub two, we just calculated, it's 2 5ths. 49 00:03:22,000 --> 00:03:26,860 So this is five halves times 2 5ths times one minus 2 50 00:03:26,860 --> 00:03:32,232 5ths, which is 3 5ths. But now I've got five halves and 51 00:03:32,232 --> 00:03:36,896 2 5ths, and those cancel, so a sub three is just 3 52 00:03:36,896 --> 00:03:42,710 5ths. Now, let's calculate a sub four. 53 00:03:42,710 --> 00:03:45,870 Well, a sub four is, again, five halves times 54 00:03:45,870 --> 00:03:48,490 a sub three times one minus a sub three. 55 00:03:48,490 --> 00:03:52,888 That's five halves times a sub three is 3 5ths. 56 00:03:52,888 --> 00:03:56,620 One minus 3 5ths is 2 5ths. 57 00:03:56,620 --> 00:03:57,588 But now I've 58 00:03:57,588 --> 00:04:00,730 got 5 halves and 2 5ths. Those cancel. 59 00:04:00,730 --> 00:04:07,955 So a sub four is just 3 5ths. Or what's a sub five? 60 00:04:07,955 --> 00:04:10,814 Well, a sub 5 is also 3 5ths. 61 00:04:10,814 --> 00:04:13,772 I'm going to use the exact same formula here but I'm again just 62 00:04:13,772 --> 00:04:16,523 going to plug in 3 5ths and I'm going to get 3 5ths out. 63 00:04:16,523 --> 00:04:19,269 So a sub five is 3 5ths a sub six is 3 5ths, right. 64 00:04:19,269 --> 00:04:22,877 The point is that this sequence is just constant from 65 00:04:22,877 --> 00:04:27,733 here on out. And that means that, in this case the 66 00:04:27,733 --> 00:04:33,295 limit as n approaches infinity of the sequence is just 3 5ths, 67 00:04:33,295 --> 00:04:38,980 just like in the case when I started with 0.25, alright. 68 00:04:38,980 --> 00:04:42,330 It happened in this case that even when I start with 0.8, 69 00:04:42,330 --> 00:04:45,970 when I use this formula I again ended up with the same limit. 70 00:04:45,970 --> 00:04:48,133 It's kind of interesting. Let's try 71 00:04:48,133 --> 00:04:50,180 r equals 7 3rds. 72 00:04:50,180 --> 00:04:55,220 I'll again, have my sequence start with 0.25, but then each new term 73 00:04:55,220 --> 00:04:59,310 is 7 3rds times the old term, times one minus the old term. 74 00:04:59,310 --> 00:05:02,388 And if we look at this graph, it looks like the 75 00:05:02,388 --> 00:05:06,766 sequence is converging, and if we look at the numbers, right. 76 00:05:06,766 --> 00:05:10,066 The first term in this sequence is 0.25 and it's 77 00:05:10,066 --> 00:05:13,591 about 0.4 and about 0.57 and it keeps on going and 78 00:05:13,591 --> 00:05:18,990 it does indeed look like, the sequence is getting closer and closer to something. 79 00:05:18,990 --> 00:05:22,959 This number might not be too meaningful to you, but you can 80 00:05:22,959 --> 00:05:27,300 in fact show that the limit of this sequences is 4 7ths. 81 00:05:27,300 --> 00:05:29,540 And indeed, this number is about 4 7ths. 82 00:05:29,540 --> 00:05:33,448 So changing the value of r seems to affect the limit. 83 00:05:33,448 --> 00:05:35,780 Let's try r equals 3.25. 84 00:05:35,780 --> 00:05:38,900 So again my sequence will start 85 00:05:38,900 --> 00:05:46,240 with 0.25, but now the r value is 3.25. What does the sequence look like? 86 00:05:46,240 --> 00:05:50,648 Well, I can graph a bunch of terms of the sequence, and it starts with 87 00:05:50,648 --> 00:05:55,450 a 0.25 and it goes up, and then it seems to bounce between two values. 88 00:05:55,450 --> 00:05:59,860 And indeed, the numerical evidence supports that same conclusion. 89 00:05:59,860 --> 00:06:03,532 Here's the first value, 0.25 and it's about 0.6, 90 00:06:03,532 --> 00:06:07,590 0.7, 0.5, 0.8, 0.5, 0.8, 0.5. 91 00:06:07,590 --> 00:06:11,150 And since it's been flip-flopping between these two values. 92 00:06:11,150 --> 00:06:16,070 And since it's flip-flopping between those two values, the limit doesn't exist. 93 00:06:16,070 --> 00:06:16,850 Let's try another example. 94 00:06:16,850 --> 00:06:19,560 Let's try r equals 3.7. 95 00:06:19,560 --> 00:06:25,940 The same initial value 0.25, but now 3.7 is my value for r. 96 00:06:25,940 --> 00:06:28,462 What does this sequence look like? Well, 97 00:06:28,462 --> 00:06:33,230 I can start graphing the terms in this sequence and wow. 98 00:06:33,230 --> 00:06:36,020 I mean, it just looks like garbage. 99 00:06:36,020 --> 00:06:39,380 There just doesn't seem to be any pattern at all, you know? 100 00:06:39,380 --> 00:06:41,448 And there's maybe moments when it looks like things 101 00:06:41,448 --> 00:06:44,030 are getting better, but then it suddenly breaks apart again. 102 00:06:44,030 --> 00:06:46,481 And if you look at the numbers, right. 103 00:06:46,481 --> 00:06:50,310 Numerically things don't look so great here either. 104 00:06:50,310 --> 00:06:53,726 I mean 0.25, that's the initial value but as you look through 105 00:06:53,726 --> 00:06:57,570 these numbers, it doesn't look like any sort of pattern. 106 00:06:57,570 --> 00:06:59,730 These really coming out. 107 00:06:59,730 --> 00:07:01,490 What is going on here? 108 00:07:01,490 --> 00:07:03,567 Well changing the value of r doesn't 109 00:07:03,567 --> 00:07:06,950 just change quantitative features of the sequence. 110 00:07:06,950 --> 00:07:09,790 It changes qualitative features of the sequence. 111 00:07:09,790 --> 00:07:14,400 Depending on the value of r, this sequence might converge, might have a limit. 112 00:07:14,400 --> 00:07:16,322 It might flip-flop between a couple 113 00:07:16,322 --> 00:07:18,988 values, might flip-flop between four different 114 00:07:18,988 --> 00:07:21,344 values, it might just move all over the place 115 00:07:21,344 --> 00:07:24,940 and not really have any kind of discernible pattern. 116 00:07:24,940 --> 00:07:29,480 And it all boils down to this value of r in a seemingly mysterious way. 117 00:07:29,480 --> 00:07:31,493 But that's not to say that the sequence 118 00:07:31,493 --> 00:07:34,888 can't be understood, that, that it can't be studied. 119 00:07:34,888 --> 00:07:34,889 Alright. 120 00:07:34,889 --> 00:07:39,959 Maths isn't just random, right, I mean there's structure to this thing, 121 00:07:39,959 --> 00:07:44,015 and with more work you can really start digging in, to the very 122 00:07:44,015 --> 00:07:47,759 complicated structure that appears, even something as 123 00:07:47,759 --> 00:07:51,128 seemingly simple as just the sequence of numbers. 124 00:07:51,128 --> 00:08:01,128 [SOUND]