00:01
So for number 41, we're told to write a truth table for a compound statement, p and q or r.
00:08
Since we have three statements, that means we're going to have eight columns.
00:12
To find that value, it's just two to the power of how many, the number of statements you have.
00:17
So there's going to be two to the power of three, which equals eight.
00:22
And we split up our columns into our three statements, our statement q or r, and our overall compound statement, p and q or r.
00:30
So we'll start with p.
00:33
For p, we're just going to have our eight values, which are four truths, four truths and four falses.
00:43
Then for q, we'll go through and start matching them up.
00:48
So for q, we could have a truth, we could have two truths and two falses.
00:57
And for falses, we could have two falses and two truths.
01:03
And lastly for r, if we had two truths here, we could have a false or a truth.
01:13
For our two true falses, we could have a false or a truth.
01:20
For our two double falses, we could have a false or a truth.
01:24
And for our two false truths, we could have a false or truth.
01:30
So now we have our eight possible combinations of true and false.
01:35
Pq and r.
01:37
So our next step is we'll use our values for q and r to determine when q or r will be true.
01:43
And since there's or, only one of these columns has to have a t in it for the statement to be true.
01:52
So this was going to be, our first two are both going to be true since they both have in the first one, q is true.
01:58
And our second one, they're both true.
02:00
Our third will be false, since q and r both false.
02:04
And remember we're ignoring p for this for q or r.
02:06
P will come back in whenever we do the final statement...