If-Then Statements
Learn to write conditional statements in if-then form, find the hypothesis and conclusion, and decide when a conditional is false.
Intermediate25 min18 problems
Definition
A conditional statement, also called an if-then statement, joins two statements with the words if and then:
- The part after "if" is the hypothesis (), the condition.
- The part after "then" is the conclusion (), what must follow.
In symbols we write and read it as "if , then " or " implies ".
Example: If a number ends in 0, then it is divisible by 10.
- Hypothesis : a number ends in 0
- Conclusion : the number is divisible by 10
Think of a conditional as a promise. The promise is broken only when the hypothesis happens and the conclusion does not. So is false in exactly one case: is true and is false. In all other cases it is true.
| T | T | T |
| T | F | F |
| F | T | T |
| F | F | T |
The interactive truth table in this lesson lists the same four rows in the opposite order, starting with F, F. Both orders are fine.
An example where the hypothesis is true and the conclusion is false is called a counterexample. One counterexample is enough to show that a conditional is false.
Try it now
What is the hypothesis of the statement "If it rains, then the football match is cancelled"?
Interactive Visual
Truth Table
p → q
| p | q | p → q |
|---|---|---|
| F | F | T |
| F | T | T |
| T | F | F |
| T | T | T |
T= TrueF= False
Truth Table
p → q
| p | q | p → q |
|---|---|---|
| F | F | |
| F | T | |
| T | F | |
| T | T |
T= TrueF= False
Interactive Sandbox
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
18 problemsProblem 1 of 18
Easy
What is the hypothesis of the statement "If it rains, then the football match is cancelled"?
Glossary
- Conditional statement
- A statement of the form "if , then ", also called an if-then statement
- Hypothesis
- The condition of a conditional, the part after "if" ()
- Conclusion
- The result of a conditional, the part after "then" ()
- Implication
- Another name for a conditional; is read " implies "
- Counterexample
- A case where the hypothesis is true and the conclusion is false; it shows that a conditional is false
- Truth value
- Whether a statement is true (T) or false (F)
Formula Card
Conditional
Read "if $p$, then $q$": $p$ is the hypothesis, $q$ is the conclusion
Only false case
A conditional is false only when the hypothesis is true and the conclusion is false
Counterexample
One such case is enough to disprove $p \to q$