Difference between 'if' and 'only if'

  • Context: High School 
  • Thread starter Thread starter bonfire09
  • Start date Start date
  • Tags Tags
    Difference
Click For Summary

Discussion Overview

The discussion centers on the distinction between the logical terms "if" and "only if," particularly in the context of conditional statements. Participants explore examples and implications of these terms within logic and mathematics.

Discussion Character

  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants suggest that "if" indicates a sufficient condition, while "only if" indicates a necessary condition for an event to occur.
  • One participant translates "I will pass logic if I score 100 on every exam" to mean that scoring 100 is sufficient for passing, while "I will pass logic only if I score 100 on every exam" implies that scoring 100 is necessary for passing.
  • Another participant argues that the first statement does not specify outcomes for scores below 100, while the second statement asserts that failing to score 100 guarantees failure.
  • Examples involving odd numbers and conditions for having real square roots are presented to illustrate the differences in implications of "if" and "only if."
  • Some participants express confusion about whether the two terms convey the same meaning, leading to further clarification attempts.

Areas of Agreement / Disagreement

Participants express differing views on the implications of "if" and "only if," with no consensus reached on a singular interpretation. Some agree on the definitions, while others challenge or refine these interpretations.

Contextual Notes

Participants reference specific examples and logical translations, but there are unresolved nuances regarding the implications of each term in various contexts.

bonfire09
Messages
247
Reaction score
0
I'm having trouble understanding the difference between the two. such as in this example.


I will pass logic if I score 100 on every exam
I will pass logic only if I score 100 on every exam
 
Physics news on Phys.org
Your first example is typically translated into sentential logic the same way as

If I score 100 on every exam, then I will pass logic.

This first sentence is false if I score 100 on every exam and do not pass logic.

Your second example is typically translated the same way as

If I pass logic, then I score 100 on every exam.

This second sentence is false if I pass logic but do not score 100 on every exam.
 
bonfire09 said:
I'm having trouble understanding the difference between the two. such as in this example.I will pass logic if I score 100 on every exam
I will pass logic only if I score 100 on every exam

Will you pass logic if you score 99 on every exam? Not according to your second sentence.
"Only if" specifies that a condition is necessary for an event to occur, whereas "if" specifies that the event is sufficient.
 
Last edited:
In the first sentence if the student only gets 99 on every exam then he fails. Same thing with the second sentence. so only if and if are the same thing?
 
bonfire09 said:
In the first sentence if the student only gets 99 on every exam then he fails. Same thing with the second sentence. so only if and if are the same thing?

The first sentence says no such thing; it specifies a sufficient condition, not a necessary one.
 
bonfire09 said:
In the first sentence if the student only gets 99 on every exam then he fails. Same thing with the second sentence. so only if and if are the same thing?
Not at all. The two statements are quite different if the student does not get 100 on every test. The first statement says nothing about this situation. The student might pass, might fail, if the student fails to get 100 on every test. The second statement says that the student will not pass. Another difference: Suppose the student does get 100 on every test. The first statement says the student will indeed pass. The second doesn't say anything about the pass/fail outcome if the student does get 100 on every test. Yet another difference: Suppose you know the student passed. The first sentence doesn't tell you whether the student made a 100 on each test. The second sentence does tell you that the student made all 100s.
 
"A number is odd if it ends in a 3" is true.
"A number is odd if and only if it ends in a 3" is false.

Alternatively,
"A number has a real square root if it is bigger or equal to 0" is true.
"A number has a real square root if, and only if it is bigger or equal to 0" is also true.

With "if", there could be other conditions that lead to that outcome. With "only if", that is the only condition.
 
acabus said:
"A number is odd if it ends in a 3" is true.
"A number is odd if and only if it ends in a 3" is false.
Eloquently and succinctly put.
 
DaveC426913 said:
Eloquently and succinctly put.
Not quite. acabus' answer is about if versus if and only if. The question asks for the difference between if and only if.

The difference between if and only if is pretty simple.

"P if Q" is the same as "if Q then P."
"P only if Q" is the same as "if P then Q."
 
  • #10
The way I look at is the following:

If is used to imply that it can be a condition to satisfy the statement.
If and only if is used to imply that it be the only condition satisfying the statement.
 
  • #11
D H said:
Not quite. acabus' answer is about if versus if and only if. The question asks for the difference between if and only if.

The difference between if and only if is pretty simple.

"P if Q" is the same as "if Q then P."
"P only if Q" is the same as "if P then Q."

We can refine it a bit, maybe.

A number is even if it is divisible by 4 (true)
A number is even only if it is divisible by 4 (false)
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 14 ·
Replies
14
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 31 ·
2
Replies
31
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K