in Mathematical Logic
114 views
3 votes
3 votes
Which of the following propositional formulas is a tautology?
  1. $p \rightarrow(q \rightarrow p).$
  2. $p.$
  3. $p \vee p.$
  4. $(p \rightarrow q) \wedge(q \rightarrow p).$
in Mathematical Logic
114 views

1 Answer

2 votes
2 votes
A tautology is a formula that will evaluate to true under every truth value assignment.

First, eliminate the obvious candidates $p, p \vee p$, and $\neg \neg$ are all false when $p$ is false.

Now, notice that $(p \rightarrow q) \wedge(q \rightarrow p)$ is the same as $(p \leftrightarrow q)$ which will be false whenever the values of $p$ and $\mathrm{q}$ are different.

Hence the only option left is $p \rightarrow(q \rightarrow p)$. Can confirm that this is a tautology by building a truth table and verifying that it is true for all rows.
edited by
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true