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 [itex]P\ \text{only if}\ Q[/itex].
Case 1: [itex]P[/itex] is false, [itex]Q[/itex] is false.
I think in this case [itex]P\ \text{only if}\ Q[/itex] is vacuously true, although I'm still not comfortable with vacuous truths.
Case 2: [itex]P[/itex] is false, [itex]Q[/itex] is true.
Case 3: [itex]P[/itex] is true, [itex]Q[/itex] is true.
In these cases the statement [itex]P\ \text{only if}\ Q[/itex] is true - [itex]Q[/itex] is a necessary condition for [itex]P[/itex], but not a sufficient one so both cases make sense.
Case 4: [itex]P[/itex] is true, [itex]Q[/itex] is false.
In this case the statement is false - [itex]Q[/itex] is necessary for [itex]P[/itex], so we can't have [itex]P[/itex] true when [itex]Q[/itex] is false.
That gives us the following truth table:
[tex] \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}[/tex]
That is equivalent to the table for [itex]P~\rightarrow Q[/itex]
Also, earlier we showed that [itex]P\leftrightarrow Q[/itex] is equivalent to [itex](P~\rightarrow Q)~\wedge~(Q~\rightarrow~P)[/itex].
So that's really the same as saying [itex]P\leftrightarrow Q[/itex] is equivalent to [itex](P\ \text{only if}\ Q)~\wedge~(P\ \text{if}\ Q)[/itex].
Is all that right?
I tried to build a truth table for [itex]P\ \text{only if}\ Q[/itex].
Case 1: [itex]P[/itex] is false, [itex]Q[/itex] is false.
I think in this case [itex]P\ \text{only if}\ Q[/itex] is vacuously true, although I'm still not comfortable with vacuous truths.
Case 2: [itex]P[/itex] is false, [itex]Q[/itex] is true.
Case 3: [itex]P[/itex] is true, [itex]Q[/itex] is true.
In these cases the statement [itex]P\ \text{only if}\ Q[/itex] is true - [itex]Q[/itex] is a necessary condition for [itex]P[/itex], but not a sufficient one so both cases make sense.
Case 4: [itex]P[/itex] is true, [itex]Q[/itex] is false.
In this case the statement is false - [itex]Q[/itex] is necessary for [itex]P[/itex], so we can't have [itex]P[/itex] true when [itex]Q[/itex] is false.
That gives us the following truth table:
[tex] \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}[/tex]
That is equivalent to the table for [itex]P~\rightarrow Q[/itex]
Also, earlier we showed that [itex]P\leftrightarrow Q[/itex] is equivalent to [itex](P~\rightarrow Q)~\wedge~(Q~\rightarrow~P)[/itex].
So that's really the same as saying [itex]P\leftrightarrow Q[/itex] is equivalent to [itex](P\ \text{only if}\ Q)~\wedge~(P\ \text{if}\ Q)[/itex].
Is all that right?