Dods
- 77
- 3
Ok, so I was thinking, is there a truth table for the "only if" operator?
I tried to build a truth table for P\ \text{only if}\ Q.
Case 1: P is false, Q is false.
I think in this case P\ \text{only if}\ Q is vacuously true, although I'm still not comfortable with vacuous truths.
Case 2: P is false, Q is true.
Case 3: P is true, Q is true.
In these cases the statement P\ \text{only if}\ Q is true - Q is a necessary condition for P, but not a sufficient one so both cases make sense.
Case 4: P is true, Q is false.
In this case the statement is false - Q is necessary for P, so we can't have P true when Q is false.
That gives us the following truth table:
<br /> \begin{array}{c| c | c} <br /> P & Q & P\ \text{only if}\ Q\\ <br /> \hline <br /> 0 & 0 & 1\\ <br /> 0 & 1 & 1\\ <br /> 1 & 1 & 1\\ <br /> 1 & 0 & 0 <br /> \end{array}<br />
That is equivalent to the table for P~\rightarrow Q
Also, earlier we showed that P\leftrightarrow Q is equivalent to (P~\rightarrow Q)~\wedge~(Q~\rightarrow~P).
So that's really the same as saying P\leftrightarrow Q is equivalent to (P\ \text{only if}\ Q)~\wedge~(P\ \text{if}\ Q).
Is all that right?
I tried to build a truth table for P\ \text{only if}\ Q.
Case 1: P is false, Q is false.
I think in this case P\ \text{only if}\ Q is vacuously true, although I'm still not comfortable with vacuous truths.
Case 2: P is false, Q is true.
Case 3: P is true, Q is true.
In these cases the statement P\ \text{only if}\ Q is true - Q is a necessary condition for P, but not a sufficient one so both cases make sense.
Case 4: P is true, Q is false.
In this case the statement is false - Q is necessary for P, so we can't have P true when Q is false.
That gives us the following truth table:
<br /> \begin{array}{c| c | c} <br /> P & Q & P\ \text{only if}\ Q\\ <br /> \hline <br /> 0 & 0 & 1\\ <br /> 0 & 1 & 1\\ <br /> 1 & 1 & 1\\ <br /> 1 & 0 & 0 <br /> \end{array}<br />
That is equivalent to the table for P~\rightarrow Q
Also, earlier we showed that P\leftrightarrow Q is equivalent to (P~\rightarrow Q)~\wedge~(Q~\rightarrow~P).
So that's really the same as saying P\leftrightarrow Q is equivalent to (P\ \text{only if}\ Q)~\wedge~(P\ \text{if}\ Q).
Is all that right?