## Content

### More on truth tables

In this section we concentrate on truth tables for two ways of combining propositions. These ways are important in certain searches, for example on the web.

The first method of combination is when we are looking for both a proposition $p$ and a proposition $q$. So we want both $p$ and $q$. We'll represent this as the proposition $pq$ and show its truth table in Table 6. You can see from the table, perhaps, why we write the combine proposition as $pq$.

$p$ | $q$ | $pq$ |

0 | 0 | 0 |

0 | 1 | 0 |

1 | 0 | 0 |

1 | 1 | 1 |

As you would expect, the result for $pq$ is only 1 (true) when both $p$ and $q$ are true.

You might want to search for female politicians so $p$ might be 'the person is a woman' and $q$ 'the person is a member of parliament'. Clearly you will get quite a different, and perhaps less useful result, if you searched for 'either the person is a woman or the person is a member of parliament'. But you might want to search for flights that 'go from Melbourne to London either through Singapore or Hong Kong'. So the combination either $p$ or $q$ is worth considering. This proposition is represented by $p + q$. We show the truth table of this combination in Table 7.

$p$ | $q$ | $p+q$ |

0 | 0 | 0 |

0 | 1 | 1 |

1 | 0 | 1 |

1 | 1 | 1 |

This table has only one false entry and that is for flights that go neither of the ways stipulated.

Questions

- Which of the following propositions are of the form $pq$ and which of the form $p + q$? What are $p$ and $q$ in each case?
- $\hspace{9px}$May does the washing and Ria does the drying;
- $\hspace{5px}$Fred watches sport or detective programmes;
- Today it will be 25$^{\circ}$ and there will be showers;
- $\hspace{2px}$Marilyn will wear a skirt or a pair of jeans;
- $\hspace{6px}$Leanne will wear a skirt with jeans underneath;
- $\hspace{2px}$Spot is a black dog.

Questions

- Suppose that $p$ is the proposition 'Alex swam at the Olympics' and $q$ is 'Alex won a gold medal'. What do the following propositions mean in words?
- $\hspace{9px}pq;$
- $\hspace{5px}p + q;$
- $pq';$
- $\hspace{2px}p + q'; $
- $\hspace{6px}p + p'q;$
- $\hspace{2px}p'q + pq'.$

- Write truth tables for the compound propositions (iii) to (vi) of Q48. What is interesting about (v)?