I'm trying to understand validity of arguments and using truth tables. This concerns an example on a discrete math course on Linkedin Learning which I reproduce here. Essentially, trying to make sentences out of the truth table is not making much sense except for the first row.
We have some sentence propositions:
- Today is Monday ($p$)
- If today is Monday, then I will have a salad for lunch ($p \rightarrow q$)
- Therefore, I will have a salad for lunch ($q$)
Which, symbolically, looks like
$$ p \\ p \rightarrow q \\ \therefore q $$
This is then used to construct the following table
$$ \begin{array}{|c|c|c|} \hline p& p \rightarrow q & q \\ \hline T &\ \ T & T \\ \hline T & F & F \\ \hline F & T & T \\ \hline F & T & F \\ \hline \end{array} $$
I get how the columns for $p$ and $q$ are laid out but I don't understand how the true/false values for $p \rightarrow q$ for the 3rd, and 4th rows play out (and I'm not entirely sure about the second either):
- Second row: "Today is Monday. If it is a Monday, then I will not have a salad for lunch. Therefore I am not having a salad for lunch".
- Third row: "Today is not Monday. If it is Monday, then I will have a salad for lunch. Therefore I will have a salad for lunch" ?
- Fourth row: "Today is not Monday. If it is Monday, then I will have a salad for lunch. Therefore I will not have a salad for lunch" ?