1 00:00:00,260 --> 00:00:01,540 Irrationality. 2 00:00:01,540 --> 00:00:03,940 [SOUND] 3 00:00:03,940 --> 00:00:07,620 [MUSIC] 4 00:00:07,620 --> 00:00:11,320 What is an irrational number? Well, here's a definition. 5 00:00:11,320 --> 00:00:17,340 A real number x is irrational, if it can't be expressed as a rational number. 6 00:00:17,340 --> 00:00:21,400 If it can't be written as p over q, for p and q integers. 7 00:00:21,400 --> 00:00:23,960 You might have already met some irrational numbers. 8 00:00:23,960 --> 00:00:28,180 For example, here's a claim, the square root of 2 is irrational. 9 00:00:28,180 --> 00:00:31,580 Now, how do I go about proving such a claim? 10 00:00:31,580 --> 00:00:32,890 Well, the argument begins 11 00:00:32,890 --> 00:00:37,760 by supposing that I can write the square root of 2 as a rational number. 12 00:00:37,760 --> 00:00:40,340 And, if I can write the square root of 2 as a rational number, 13 00:00:40,340 --> 00:00:44,440 then I can write the square root of 2 as a fraction in lowest terms. 14 00:00:44,440 --> 00:00:47,540 So, I'm supposing that a and b don't have any factors in common. 15 00:00:48,760 --> 00:00:52,120 Alright, now once I've written the square root of 2 as a over b, I 16 00:00:52,120 --> 00:00:57,430 could square both sides, and then I'd find that 2 is a squared over b squared. 17 00:00:57,430 --> 00:00:59,280 And then 18 00:00:59,280 --> 00:01:01,540 I could multiply both sides of this equation by b 19 00:01:01,540 --> 00:01:06,400 squared, and I'd find that 2 b squared is a squared. 20 00:01:06,400 --> 00:01:07,990 Now what does that mean? 21 00:01:07,990 --> 00:01:13,500 Well, that means in particular that a is a multiple of 2, alright? 22 00:01:13,500 --> 00:01:15,900 So, that means that a must be even. 23 00:01:15,900 --> 00:01:22,080 So, I can write a as 2 times some integer. I'll call that integer k. 24 00:01:22,080 --> 00:01:24,370 So a is even. A is twice 25 00:01:24,370 --> 00:01:28,560 some integer. Now, I can plug this fact back into here. 26 00:01:28,560 --> 00:01:28,790 Right? 27 00:01:28,790 --> 00:01:32,248 Instead of saying 2b squared is a squared, I can say that 28 00:01:32,248 --> 00:01:37,560 2b squared is now a, which is 2 times an integer, squared. 29 00:01:37,560 --> 00:01:40,480 And, if I expand that out I get that that's. 30 00:01:42,040 --> 00:01:45,040 2b squared is 4k squared. 31 00:01:46,800 --> 00:01:49,820 Now, if I divide both sides of this by 2, 32 00:01:49,820 --> 00:01:55,105 then I get, that b squared is 2k squared. 33 00:01:55,105 --> 00:01:55,425 [LAUGH] 34 00:01:55,425 --> 00:01:57,720 And what does that mean about b? 35 00:01:57,720 --> 00:02:00,240 Well, that means that b, is also a multiple of 2. 36 00:02:00,240 --> 00:02:02,360 That means that b is even. 37 00:02:02,360 --> 00:02:05,290 But if a and b are both even, then the 38 00:02:05,290 --> 00:02:08,940 fraction a over b is not in lowest terms, right? 39 00:02:08,940 --> 00:02:12,880 I've got a common factor of 2 in the numerator and denominator, and 40 00:02:12,880 --> 00:02:18,670 that's the contradiction that can show that the Square of 2 can't be written. 41 00:02:18,670 --> 00:02:19,680 As a fraction. 42 00:02:19,680 --> 00:02:20,610 That's a pretty standard 43 00:02:20,610 --> 00:02:22,760 method for showing that a number is irrational. 44 00:02:22,760 --> 00:02:24,530 You start about by assuming that it's a 45 00:02:24,530 --> 00:02:26,960 rational number, and then drive some kind of 46 00:02:26,960 --> 00:02:30,360 contradiction which reveals that your original assumption that 47 00:02:30,360 --> 00:02:33,730 the number was rational, must have been in error. 48 00:02:33,730 --> 00:02:35,330 And then you know the number's irrational. 49 00:02:35,330 --> 00:02:39,450 Now try the same kind of game, but not with square of 2, but with the number e. 50 00:02:40,790 --> 00:02:45,680 Well, if e were rational number, then it's reciprocal, 51 00:02:45,680 --> 00:02:48,300 1 over e would be a rational number as well. 52 00:02:48,300 --> 00:02:53,190 If could write e as a fraction, this would just be the reciprocal of that fraction. 53 00:02:53,190 --> 00:02:58,160 I can analyze 1 over e, turns out that 1 over e. 54 00:02:58,160 --> 00:03:02,710 Is equal to the value of this convergent and alternating series. 55 00:03:02,710 --> 00:03:05,310 Now, the quality of 1 over e with the value 56 00:03:05,310 --> 00:03:08,660 of this series, isn't something that we're quite able to do. 57 00:03:08,660 --> 00:03:11,275 We're going to see that these are equal in week 58 00:03:11,275 --> 00:03:13,290 six of this course. 59 00:03:13,290 --> 00:03:15,710 So, there's a little bit more to do here, alright? 60 00:03:15,710 --> 00:03:17,280 But here's the big deal. 61 00:03:17,280 --> 00:03:21,860 I can analyze this alternating series so, our goal is going to 62 00:03:21,860 --> 00:03:25,990 be, to show that the value of this alternating series is irrational. 63 00:03:25,990 --> 00:03:28,850 And at some future point we're going to see that the value of this series 64 00:03:28,850 --> 00:03:34,850 is 1 over e, which will then mean that e also must be irrational. 65 00:03:36,000 --> 00:03:36,530 For the meantime 66 00:03:36,530 --> 00:03:40,780 let's just show the value of that series as an irrational number. 67 00:03:40,780 --> 00:03:45,240 So, let's supposed that the value of this series, this sum n 68 00:03:45,240 --> 00:03:49,830 goes from 0 to infinity, negative 1 to be n over n factorial. 69 00:03:49,830 --> 00:03:54,320 Let's suppose that this is equal to a rational number. 70 00:03:54,320 --> 00:04:01,480 That it is a over b for integers a and b. Now lets look at the b's partial sum. 71 00:04:01,480 --> 00:04:01,600 Yeah, 72 00:04:01,600 --> 00:04:03,260 I really mean this b. Right. 73 00:04:03,260 --> 00:04:05,610 The b from the denominator of this fraction 74 00:04:05,610 --> 00:04:08,490 that I'm imagining 1 over e is equal to. 75 00:04:08,490 --> 00:04:11,580 So let's take a look, at that bth partial sum. 76 00:04:12,990 --> 00:04:14,160 s sub b. 77 00:04:14,160 --> 00:04:14,310 Right. 78 00:04:14,310 --> 00:04:16,400 It's just the sum of the terms, n goes from 0 79 00:04:16,400 --> 00:04:19,590 to b, of minus 1 to the n over n factorial. 80 00:04:19,590 --> 00:04:22,510 Now, the whole deal here is that I've got an alternating series. 81 00:04:22,510 --> 00:04:26,760 And what that means is the true value of this alternating series, which is 1 over 82 00:04:26,760 --> 00:04:34,890 e, must be between the s of b and s of b plus 1 partial sums. 83 00:04:34,890 --> 00:04:38,040 I, hence the, that the trick about the error bounds for 84 00:04:38,040 --> 00:04:41,660 an alternating series, that the true value of an alternating series. 85 00:04:41,660 --> 00:04:44,690 Is always between neighboring partial sums. 86 00:04:46,078 --> 00:04:48,910 Now, the significance of this is that I know exactly how 87 00:04:48,910 --> 00:04:51,470 far apart s and b and s and b plus 1 are. 88 00:04:52,710 --> 00:04:52,778 S 89 00:04:52,778 --> 00:04:56,715 and b and s and b plus 1 are exactly 1 over b plus 1 factorial apart. 90 00:04:56,715 --> 00:04:58,890 ' because s and b plus 1 and s and 91 00:04:58,890 --> 00:05:02,890 b differ by the b plus 1th term in the series. 92 00:05:04,100 --> 00:05:07,330 So, I could put these two statements together to make this claim, 93 00:05:07,330 --> 00:05:11,490 that the distance between 1 over e, the true value of the series. 94 00:05:11,490 --> 00:05:14,660 And the s sub b partial sum, the distance 95 00:05:14,660 --> 00:05:18,130 between these two numbers is no more than this, 96 00:05:18,130 --> 00:05:20,130 1 over b plus 1 factorial. 97 00:05:20,130 --> 00:05:23,580 Now, I'll multiply both sides by b factorial. 98 00:05:23,580 --> 00:05:23,812 Right. 99 00:05:23,812 --> 00:05:27,060 So, we've got this inequality multiplying both sides 100 00:05:27,060 --> 00:05:31,180 of this inequality by the positive number b factorial. 101 00:05:31,180 --> 00:05:32,330 Now what do I have? 102 00:05:32,330 --> 00:05:35,920 Well I've got b factorial over b plus 1 factorial. 103 00:05:35,920 --> 00:05:37,680 This side can be simplified a bit. 104 00:05:37,680 --> 00:05:43,160 This is 1 over b plus 1. And one thing I know about 1 over b plus 1 105 00:05:43,160 --> 00:05:48,470 is that it's less than one. I can also simplify the left hand side. 106 00:05:48,470 --> 00:05:49,750 Well, first of all, I know that 1 107 00:05:49,750 --> 00:05:52,600 over e isn't actually equal to the partial summary. 108 00:05:52,600 --> 00:05:56,150 This is the true value of the series, this is just the sum of the first b terms. 109 00:05:56,150 --> 00:05:57,800 These are not the same. 110 00:05:57,800 --> 00:06:02,700 So, that tells me that I've got 0 less than this quantity. 111 00:06:02,700 --> 00:06:04,480 And I can also simplify this a little bit more. 112 00:06:04,480 --> 00:06:04,690 Right? 113 00:06:04,690 --> 00:06:08,490 I can say that this is b factorial times, well, what's 1 over e? 114 00:06:08,490 --> 00:06:12,690 I was assuming that I could write 1 over e as this fraction a over b. 115 00:06:12,690 --> 00:06:17,890 And now I could distribute this to get this, right? 116 00:06:17,890 --> 00:06:22,170 B factorial times 1 over e, which is, I'm assuming, a over b. 117 00:06:22,170 --> 00:06:25,890 Minus b factorial, times the bth partial sum. 118 00:06:25,890 --> 00:06:27,490 But I also know something about the 119 00:06:27,490 --> 00:06:30,210 quantity, that I'm taking the absolute value of. 120 00:06:30,210 --> 00:06:33,840 Specifically, I know that b factorial times a over b, 121 00:06:33,840 --> 00:06:34,970 is an integer. 122 00:06:34,970 --> 00:06:38,060 Right, this is just b minus 1 factorial times a. 123 00:06:38,060 --> 00:06:39,610 That's an integer. 124 00:06:39,610 --> 00:06:44,310 I also know something about b factorial times the bth partial sum. 125 00:06:44,310 --> 00:06:44,620 All right? 126 00:06:44,620 --> 00:06:45,670 What is that? 127 00:06:45,670 --> 00:06:47,960 Well, by definition, that's just b factorial, and 128 00:06:47,960 --> 00:06:50,650 here I've written out the bth partial sum. 129 00:06:51,980 --> 00:06:55,620 But now I could put the b factorial inside there. 130 00:06:55,620 --> 00:06:58,890 And I'd get, this is the sum, n goes from 0 to b, of negative 1 to 131 00:06:58,890 --> 00:07:02,310 the n plus 1 times b factorial over n factorial. 132 00:07:02,310 --> 00:07:03,240 Now what do I know? 133 00:07:03,240 --> 00:07:05,380 B is at least as big as n. 134 00:07:05,380 --> 00:07:09,220 So, b factorial divided by n factorial, that's an integer. 135 00:07:09,220 --> 00:07:12,080 This is the sum and difference of integers. 136 00:07:12,080 --> 00:07:18,220 That means, that b factorial times the bth partial sum, is an integer. 137 00:07:18,220 --> 00:07:20,570 And that, is problematic. 138 00:07:20,570 --> 00:07:23,780 Because if this is an integer, and this is an integer, 139 00:07:23,780 --> 00:07:28,340 that means that quantity inside here is also an integer. 140 00:07:28,340 --> 00:07:32,800 That means that there's some integer that's between zero and one. 141 00:07:32,800 --> 00:07:34,810 But that is not true. 142 00:07:34,810 --> 00:07:40,130 Well, since there is no integer between zero and one, that's a contradiction. 143 00:07:40,130 --> 00:07:45,280 And consequently, it must be the case than 1 over e is irrational. 144 00:07:45,280 --> 00:07:48,790 And therefore, e is irrational, which is what I wanted 145 00:07:48,790 --> 00:07:49,730 to show. 146 00:07:49,730 --> 00:07:54,040 I still owe you a proof that that alternating series evaluates to 1 over e. 147 00:07:54,040 --> 00:07:55,600 And that proof is coming. 148 00:07:55,600 --> 00:07:57,210 But in the mean time, it's worth 149 00:07:57,210 --> 00:08:00,330 reflecting on why this argument worked at all. 150 00:08:00,330 --> 00:08:03,980 The cool thing about alternating series, is that they come with error bounds. 151 00:08:03,980 --> 00:08:05,320 I know that the true value of 152 00:08:05,320 --> 00:08:09,330 an alternating series, is between neighboring partial sums. 153 00:08:09,330 --> 00:08:10,770 And that's great for doing numerics. 154 00:08:10,770 --> 00:08:13,890 That's great for doing computation. But the real point 155 00:08:13,890 --> 00:08:16,910 of computation isn't numbers. It's insight. 156 00:08:16,910 --> 00:08:21,820 And I think this argument, this proof that 1 over e and therefore e is irrational. 157 00:08:21,820 --> 00:08:25,680 Is a really great example of how a computational tool, the 158 00:08:25,680 --> 00:08:31,631 fact that we have these explicit error bounds, can yield real insight. 159 00:08:31,631 --> 00:08:33,340 [NOISE] 160 00:08:33,340 --> 00:08:38,020 [NOISE] 161 00:08:38,020 --> 00:08:41,159 [MUSIC]