1 00:00:00,000 --> 00:00:04,400 Hello everyone. In this video, we're 
going to do another if and only if proof. 2 00:00:04,400 --> 00:00:07,066 This time we're going to use sets. 3 00:00:07,066 --> 00:00:08,900 Prove that if… 4 00:00:08,900 --> 00:00:12,500 or prove that A is a subset 
of B, subset or equal to B, 5 00:00:12,500 --> 00:00:16,200 if and only if A intersect B is equal to A. 6 00:00:16,200 --> 00:00:18,833 So again with an if and only 
if proof, we're going to prove 7 00:00:18,833 --> 00:00:22,600 that the hypothesis implies the conclusion, 
and that the conclusion implies 8 00:00:22,600 --> 00:00:26,433 the hypothesis. So the forward direction and the reverse direction. 9 00:00:26,433 --> 00:00:29,466 10 00:00:29,466 --> 00:00:32,366 For the forward direction, 11 00:00:32,366 --> 00:00:38,266 12 00:00:38,266 --> 00:00:40,433 assume 13 00:00:40,433 --> 00:00:42,633 14 00:00:42,633 --> 00:00:46,300 that A is a subset or equal to B. 15 00:00:46,300 --> 00:00:48,800 16 00:00:48,800 --> 00:00:50,833 Now we're trying to prove a set equality 17 00:00:50,833 --> 00:00:54,033 and remember to prove a set equality, 
you need to show that every element 18 00:00:54,033 --> 00:00:57,566 in the left-hand set is in the right-hand set, 
and every element in the right-hand set 19 00:00:57,566 --> 00:01:00,566 is indeed a member of the left-hand set. 20 00:01:00,566 --> 00:01:02,533 So to show… 21 00:01:02,533 --> 00:01:06,266 22 00:01:06,266 --> 00:01:08,433 what am I doing? So to show 23 00:01:08,433 --> 00:01:10,600 A intersect B 24 00:01:10,600 --> 00:01:13,300 is a subset of A, we note 25 00:01:13,300 --> 00:01:16,533 26 00:01:16,533 --> 00:01:20,000 that A intersect B is the set 27 00:01:20,000 --> 00:01:21,400 28 00:01:21,400 --> 00:01:23,433 of all elements 29 00:01:23,433 --> 00:01:25,233 30 00:01:25,233 --> 00:01:26,966 contained 31 00:01:26,966 --> 00:01:29,433 32 00:01:29,433 --> 00:01:31,200 in both 33 00:01:31,200 --> 00:01:32,000 34 00:01:32,000 --> 00:01:34,333 A and B, 35 00:01:34,333 --> 00:01:35,333 36 00:01:35,333 --> 00:01:37,066 and so 37 00:01:37,066 --> 00:01:39,066 38 00:01:39,066 --> 00:01:41,000 all elements 39 00:01:41,000 --> 00:01:44,333 40 00:01:44,333 --> 00:01:46,133 are contained 41 00:01:46,133 --> 00:01:48,200 42 00:01:48,200 --> 00:01:49,866 in A. 43 00:01:49,866 --> 00:01:52,000 That's strictly by the definition. 
If you're in both A and B, 44 00:01:52,000 --> 00:01:54,833 then you're most certainly inside A. So that's true, 45 00:01:54,833 --> 00:02:00,000 A intersect B is definitely 
a subset or equal to A. 46 00:02:00,000 --> 00:02:01,866 47 00:02:01,866 --> 00:02:03,700 To show 48 00:02:03,700 --> 00:02:04,633 49 00:02:04,633 --> 00:02:08,533 A is a subset of A intersect B, 50 00:02:08,533 --> 00:02:12,433 51 00:02:12,433 --> 00:02:15,133 we're going to do this by showing 
an arbitrary element of A 52 00:02:15,133 --> 00:02:17,533 must be inside A intersect B. 53 00:02:17,533 --> 00:02:21,833 So I'm going to say let x be an element of A. 54 00:02:21,833 --> 00:02:25,366 You could have done this for the other part as well, but the other part really does just follow 55 00:02:25,366 --> 00:02:28,200 by writing out the sentence of what the set is. 56 00:02:28,200 --> 00:02:29,100 57 00:02:29,100 --> 00:02:32,900 So I'm going to take this set - I'm 
going to take an arbitrary element in A, 58 00:02:32,900 --> 00:02:35,366 and I'm going to show that 
it lives in this right-hand set. 59 00:02:35,366 --> 00:02:40,000 So how do I do that? I can't do that on 
its own because on its own that's not true, 60 00:02:40,000 --> 00:02:43,100 but with the hypothesis I can get there. 61 00:02:43,100 --> 00:02:46,000 So this statement was true no matter what the hypothesis was, 62 00:02:46,000 --> 00:02:49,200 but this statement we need to use hypothesis. 63 00:02:49,200 --> 00:02:52,000 Then since 64 00:02:52,000 --> 00:02:52,833 65 00:02:52,833 --> 00:02:56,666 A is contained inside B, we have 66 00:02:56,666 --> 00:02:58,500 that 67 00:02:58,500 --> 00:02:59,466 68 00:02:59,466 --> 00:03:02,333 x is an element of B. 69 00:03:02,333 --> 00:03:04,500 70 00:03:04,500 --> 00:03:07,033 As x is inside A 71 00:03:07,033 --> 00:03:10,433 and x is inside B, we have 72 00:03:10,433 --> 00:03:12,800 73 00:03:12,800 --> 00:03:17,166 that x is inside A intersect B, by definition. 74 00:03:17,166 --> 00:03:20,766 75 00:03:20,766 --> 00:03:23,000 Remember this is the set of all elements that are in A and B. 76 00:03:23,000 --> 00:03:25,766 Well x is in A and B, so we're done. 77 00:03:25,766 --> 00:03:27,033 78 00:03:27,033 --> 00:03:29,533 So since 79 00:03:29,533 --> 00:03:30,533 80 00:03:30,533 --> 00:03:33,933 A intersect B is a subset or equal to A 81 00:03:33,933 --> 00:03:38,433 and A is a subset of A [intersect] B, 82 00:03:38,433 --> 00:03:41,000 we have that 83 00:03:41,000 --> 00:03:42,666 84 00:03:42,666 --> 00:03:46,700 A is equal to A intersect B, alright. 85 00:03:46,700 --> 00:03:47,966 86 00:03:47,966 --> 00:03:50,733 I guess I wrote it in the flipped 
direction, but that's fine. Symmetry 87 00:03:50,733 --> 00:03:52,866 of equality, that's still okay. 88 00:03:52,866 --> 00:03:56,000 Alright, so the forward direction we're okay. For the reverse direction, 89 00:03:56,000 --> 00:04:00,000 90 00:04:00,000 --> 00:04:02,200 91 00:04:02,200 --> 00:04:04,233 we're going to assume 92 00:04:04,233 --> 00:04:08,033 93 00:04:08,033 --> 00:04:12,333 that A intersect B is equal to A. 94 00:04:12,333 --> 00:04:15,100 95 00:04:15,100 --> 00:04:19,266 Alright, and so what are we trying to show? 
We're trying to show therefore that 96 00:04:19,266 --> 00:04:22,033 A is a subset or equal to B. 97 00:04:22,033 --> 00:04:23,533 98 00:04:23,533 --> 00:04:26,366 Let's look at this set right here A intersect B. 99 00:04:26,366 --> 00:04:27,500 100 00:04:27,500 --> 00:04:31,466 Notice that before we 
showed that A intersect B 101 00:04:31,466 --> 00:04:34,033 is a subset or equal to A, right, 102 00:04:34,033 --> 00:04:36,366 and we use nothing about 
the hypothesis. So in fact, 103 00:04:36,366 --> 00:04:40,533 this same argument is going to hold to show that A intersect B is a subset or equal to B. 104 00:04:40,533 --> 00:04:44,266 So remember as mathematicians, 
we try to be as lazy as possible. 105 00:04:44,266 --> 00:04:46,566 Sort of a fun little joke, 106 00:04:46,566 --> 00:04:48,366 but we've already really done 
the same amount of work here. 107 00:04:48,366 --> 00:04:52,000 So really all I have to do is just copy the work except I change this A to a B. 108 00:04:52,000 --> 00:04:54,366 So I'm going to say as before, 109 00:04:54,366 --> 00:04:56,933 110 00:04:56,933 --> 00:04:59,166 we have that 111 00:04:59,166 --> 00:05:01,400 112 00:05:01,400 --> 00:05:05,400 A intersect B is a subset or equal to B 113 00:05:05,400 --> 00:05:07,133 since... 114 00:05:07,133 --> 00:05:09,666 115 00:05:09,666 --> 00:05:12,400 since A intersect B is all elements 116 00:05:12,400 --> 00:05:15,333 117 00:05:15,333 --> 00:05:17,333 contained 118 00:05:17,333 --> 00:05:18,933 119 00:05:18,933 --> 00:05:23,733 in both A and B, alright. 120 00:05:23,733 --> 00:05:25,200 121 00:05:25,200 --> 00:05:28,066 Great, so that's true. 122 00:05:28,066 --> 00:05:31,466 123 00:05:31,466 --> 00:05:34,233 As A is equal to A intersect B, 124 00:05:34,233 --> 00:05:35,833 125 00:05:35,833 --> 00:05:38,866 for any x inside A, 126 00:05:38,866 --> 00:05:41,900 x is inside A intersect B 127 00:05:41,900 --> 00:05:42,666 128 00:05:42,666 --> 00:05:45,500 and since… 129 00:05:45,500 --> 00:05:50,133 oops, and since A intersect B is contained inside B, we have that 130 00:05:50,133 --> 00:05:53,700 131 00:05:53,700 --> 00:05:57,333 x is an element of B. 132 00:05:57,333 --> 00:05:58,800 133 00:05:58,800 --> 00:06:02,166 So we've shown that any arbitrary element of A 134 00:06:02,166 --> 00:06:04,133 must live inside B, 135 00:06:04,133 --> 00:06:08,000 that's precisely the - that's precisely the 
statement that A is contained inside B. 136 00:06:08,000 --> 00:06:09,600 So therefore, 137 00:06:09,600 --> 00:06:10,633 138 00:06:10,633 --> 00:06:15,133 always start sentences with words don't start sentences with symbols, it's bad form. 139 00:06:15,133 --> 00:06:16,066 140 00:06:16,066 --> 00:06:19,166 There we go. A is inside B. 141 00:06:19,166 --> 00:06:23,666 That's it, that's a full if and 
only if proof using set notation. 142 00:06:23,666 --> 00:06:26,666 So hopefully this helps and all the best.