- Events, Workshops and Programs
- Resources by Discipline
Support and Resources by Topic
- - Statistics Help (General)
- - Statistics Help (R Commander)
- - Arithmetic
- - Standard Derivatives
- - Standard Integrals
- - Hyperbolic Trigonometric Functions
- - Remainders and Quotients
- - SPSS Help
- - Logic Basics: AND, OR, NOT
- - Approximations: rounding and truncation
- - Mathematical Terminology
- - Proportional Reasoning
- - Number Sense
- - I Don't Get It
- - Percentages
- Contact the MESH team
- MESH Research
- Resources for Staff
More on NOT
This page contains more examples of the use of NOT.
The logical operator NOT is written ! when writing a program in Java. here both NOT and ! are used because it is important to know both.
Often T is written for true and F for false.
Putting NOT before a true statement creates a false statement. Putting NOT before a false statement creates a true statement. This is summarised in the truth table for NOT.
What is the truth value of NOT $3=3$?
Answer: $3=3$ is T (true). So NOT $3=3$ is F (false).
What is the truth value of $!3=3$?
Answer: $!3=3$ could be written as $!(3=3)$. It is the same as NOT $3=3$. therefore it is F.
What is the truth value of "\$1000 is not less money than \$5"?
Answer: We could write this as NOT (\$1000 is less money than \$5). We know that (\$1000 is less money than \$5) is F, so NOT (\$1000 is less money than \$5) is T.
What is the truth value of $!!5\le 6$?
Answer: $5\le 6$ is T. So $!5\le 6$ is F. Therefore $!!5\le 6$ is T.
Some for you to try
Find the truth value of each statement (that is, decide whether each is true or false).
|The sky is NOT always red.|