Discrete Mathematics

Construct a deterministic finite-state automaton that recognizes the set of all bit strings beginning with 01

To solve this exercise, we have to options. We can answer using a state table or state diagram. First, we need to consider that to be in the final state, we need first to start from S0, and recognize a 0, and then a 1. This tells us that we should have at least three […]

Construct a deterministic finite-state automaton that recognizes the set of all bit strings beginning with 01 Read More »

Show that p → q and ¬q → ¬p are logically equivalent

The solution to this exercise is straightforward by constructing the truth table. By looking at the truth table for the two compound propositions p → q and ¬q → ¬p, we can conclude that they are logically equivalent because they have the same truth values (check the columns corresponding to the two compound propositions) Related

Show that p → q and ¬q → ¬p are logically equivalent Read More »

What are propositional equivalences in Discrete Mathematics?

Propositional equivalences are used extensively in the construction of mathematical arguments. By using these equivalences, we can substitute propositions with other propositions with the same truth value. This proves to be very useful in different types of situations. Two compound propositions p and q are logically equivalent if p ↔ q is a tautology. The

What are propositional equivalences in Discrete Mathematics? Read More »

Create the truth table for the compound proposition (p∨¬q)->(p∧q)

Truth tables are very important in Discrete Mathematics. You can use them to calculate the truth value of (compound) propositions, to determine if a compound proposition is a tautology or a contradiction, and also to verify whether two propositions are logically equivalent. Let’s see an example of how to create a truth table for the

Create the truth table for the compound proposition (p∨¬q)->(p∧q) Read More »