Return to Video

Chapter2TruthTablesB

  • 0:02 - 0:05
    In this video, we will look at 2 examples
  • 0:05 - 0:08
    to help us practice drawing truth tables,
  • 0:08 - 0:11
    which, remember, are just a way to organize
  • 0:11 - 0:15
    possible truth values in a table format
  • 0:15 - 0:20
    when you have, sometimes, pretty complicated situations with p's and q's.
  • 0:20 - 0:22
    So when you're doing a truth table,
  • 0:22 - 0:24
    the first thing you want to do is figure out
  • 0:24 - 0:27
    how many columns that you're going to need.
  • 0:27 - 0:33
    In this case, we're drawing a truth table for p, q, and p and q.
  • 0:33 - 0:39
    So our ultimate end is going to be p and q,
  • 0:39 - 0:42
    and before we get there we're going to have to have
  • 0:42 - 0:44
    p individually and q individually.
  • 0:44 - 0:46
    So altogether you need 3 columns.
  • 0:46 - 0:50
    Now, we're working with 2 variables, so the first thing you need to do is figure out
  • 0:50 - 0:55
    all the possible combinations of truths for p and q, for 2 variables.
  • 0:55 - 1:01
    So they could both be true; you could have, also, 1 be true and 1 be false.
  • 1:01 - 1:06
    And there's 2 ways for that to happen, because either 1 could be true.
  • 1:06 - 1:09
    And finally, it could also be that they're both false.
  • 1:09 - 1:15
    So for 2 variables there's 4 possible truth combinations to start.
  • 1:15 - 1:19
    Once you've done that, you want to analyze p and q.
  • 1:19 - 1:24
    So for p and q to be true, remember, that's the symbol for and,
  • 1:24 - 1:27
    both p and q have to be true.
  • 1:27 - 1:35
    So if p is true and q is false, then p and q will be false.
  • 1:35 - 1:38
    So they both have to be true for p and q to be true.
  • 1:38 - 1:43
    So the only time where both of them are true is the first 1.
  • 1:43 - 1:46
    So in that case, p and q will be true,
  • 1:46 - 1:51
    but in the rest of them p and q would be false.
  • 1:51 - 1:56
    So that's a truth table for p, q, and p and q.
  • 1:56 - 1:58
    All right. Second example.
  • 1:58 - 2:02
    Draw a truth table for p, q, and p or q.
  • 2:02 - 2:06
    So the same thing, except this time we're doing 'or' instead of 'and.'
  • 2:06 - 2:10
    So again, we're going to have 3 columns,
  • 2:10 - 2:16
    for p and q each by themselves, and then p or q.
  • 2:16 - 2:19
    So again, once we've realized that we're working with 2 variables,
  • 2:19 - 2:23
    the first thing you're going to do is fill in all the possible truths
  • 2:23 - 2:27
    for p and q, for 2 variables, and there should be 4.
  • 2:27 - 2:29
    If there were 3 variables, there should be 8,
  • 2:29 - 2:31
    if there are 4 variables, there's 16.
  • 2:31 - 2:35
    They're actually always powers of 2, the number of possible combinations.
  • 2:35 - 2:39
    So for 2 possible variables.
  • 2:39 - 2:43
    They could both be true, you could have 1 be true and 1 be false,
  • 2:43 - 2:46
    or the other 1 be false and the other 1 be true,
  • 2:46 - 2:47
    or they could both be false.
  • 2:47 - 2:50
    Those are the 4 possible combinations.
  • 2:50 - 2:55
    Now, with this symbol, this is the symbol for or.
  • 2:55 - 3:00
    And for p or q to be true, it just means that at least 1 of them has to be true
  • 3:00 - 3:02
    but not necessarily both.
  • 3:02 - 3:07
    So p or q, you should look through and notice
  • 3:07 - 3:09
    in almost all of these, 1 of them is true.
  • 3:09 - 3:12
    There's only 1 case where neither of them are true, which is right here.
  • 3:12 - 3:16
    So that's the only case where our answer will be false,
  • 3:16 - 3:20
    but for all of these we're going to just have true, true, true.
  • 3:20 - 3:23
    So p or q is true most of the time, unless
  • 3:23 - 3:27
    the original 2 statements, both of them were false.
Title:
Chapter2TruthTablesB
Video Language:
English
Team:
Volunteer
adeptshari added a translation

English subtitles

Revisions