2.1 Real Numbers, Sets, Logic, Binary Operations & Groups
Key Takeaways
Real numbers split into rationals (terminating or recurring decimals, such as or ) and irrationals (non-terminating, non-recurring, such as and ); the field and order properties govern every algebraic manipulation.
A set with elements has subsets ( proper subsets), and solves most Venn-diagram counting questions.
De Morgan's laws, and , have exact logical twins: and .
A conditional is false only when is true and is false, and it is logically equivalent to its contrapositive , not to its converse .
A group is a set with a binary operation satisfying closure, associativity, an identity and inverses; it is abelian if the operation is also commutative.
Real Numbers, Sets, Logic, Binary Operations & Groups
The first chapters of Intermediate Mathematics Part I set up the language that the rest of the course uses: number systems, sets, logic and algebraic structures. These topics produce short recall and reasoning questions, so they are worth securing early.
1. The Real Number System
| Set | Symbol | Description | Examples |
|---|---|---|---|
| Natural numbers | |||
| Whole numbers | |||
| Integers | |||
| Rational numbers | with , | , | |
| Irrational numbers | Non-terminating, non-recurring decimals | , , | |
| Real numbers | all of the above |
Every terminating or recurring decimal is rational. To convert a recurring decimal, multiply by a power of 10 and subtract:
Common trap: is irrational, so is only an approximation. Likewise is rational even though it is written with a root sign.
Field and Order Properties of
For all real , , :
- Closure: and are real.
- Commutative: , .
- Associative: , .
- Identities: for addition, for multiplication.
- Inverses: for addition; for multiplication when .
- Distributive: .
- Order (trichotomy): exactly one of , , holds.
- Transitive: and imply .
- Multiplicative order: if and then ; if the inequality reverses, .
The last rule is the source of many errors when solving inequalities: multiplying or dividing by a negative number flips the sign.
2. Sets and Set Operations
A set is a well-defined collection of distinct objects. It can be written in tabular form, , or set-builder form, .
- Subset: if every element of is in . A set with elements has subsets and proper subsets.
- Power set: is the set of all subsets of , so . For , .
- Union, intersection, difference, complement: , , , and .
- Disjoint sets: .
Laws of Set Algebra
| Law | Union form | Intersection form |
|---|---|---|
| Commutative | ||
| Associative | ||
| Distributive | ||
| De Morgan |
Counting with Venn Diagrams
Worked example: In a class of 60 students, 35 study Physics, 30 study Chemistry and 12 study both. Then , so study neither. The number studying Physics only is .
Ordered Pairs and Cartesian Products
only if and . The Cartesian product has elements. A relation from to is any subset of , so there are possible relations. A function is a relation in which every element of appears as a first entry exactly once (functions are developed in Section 5.1).
3. Propositional Logic
A proposition is a statement that is either true or false. The basic connectives are:
| T | T | F | T | T | T | T |
| T | F | F | F | T | F | F |
| F | T | T | F | T | T | F |
| F | F | T | F | F | T | T |
The conditional is false only when is true and is false. A false premise makes the conditional true ("vacuously true").
Converse, Inverse and Contrapositive
For the conditional :
- Converse:
- Inverse:
- Contrapositive:
A conditional is logically equivalent to its contrapositive; the converse and inverse are equivalent to each other but not to the original. Example: "If a number is divisible by 4, it is even" is true; its converse "If a number is even, it is divisible by 4" is false (6 is a counterexample); its contrapositive "If a number is not even, it is not divisible by 4" is true.
Tautologies, Contradictions and Quantifiers
- A tautology is always true, such as or .
- A contradiction is always false, such as .
- A contingency is sometimes true and sometimes false.
- Logical De Morgan laws: and .
- Quantifiers: the negation of "for all , " is "there exists an such that not ".
4. Binary Operations and Groups
A binary operation on a set combines any two elements of to give an element of (closure is built into the definition). A non-empty set with a binary operation is a group if:
- Closure: for all .
- Associativity: .
- Identity: there is with .
- Inverses: every has with .
If, in addition, for all elements, the group is abelian (commutative). A set with only closure and associativity is a semi-group; a semi-group with identity is a monoid.
| Structure | Group? | Reason |
|---|---|---|
| Yes, abelian | Identity , inverse | |
| No | has no integer inverse | |
| Yes, abelian | Identity , inverse | |
| No | No identity in and no inverses | |
| under | Yes, abelian | Closed; identity ; |
| under | Yes, abelian | ; |
Worked example: On define . The identity satisfies , so . The inverse of satisfies , so . The operation is associative and commutative, so is an abelian group.
In any group, the identity is unique, each element has exactly one inverse, the cancellation laws hold, and .
In a survey of 80 students, 45 like cricket, 38 like hockey and 15 like both. How many students like neither game?
12
3
15
27
Which statement is logically equivalent to 'If it rains, the match is cancelled'?
If the match is cancelled, it rained.
If it does not rain, the match is not cancelled.
It rains and the match is not cancelled.
If the match is not cancelled, it did not rain.
On the set of real numbers, the operation is defined. What is the inverse of 2 under this operation?
-2
3
8
5
Sections you finish are checked off in the contents.