Mathematics I: logic, sets, combinatorics and sequences
A first-year university lesson: statements and logical connectives, truth tables, set operations, mathematical induction, permutations and variations, arithmetic and geometric sequences – with worked examples and tests.
1. Logic
A statement is a sentence that is either true (
The negation
The conjunction
The disjunction
The implication
The equivalence
A tautology is a formula that is true for all values of its statements. It is checked with a truth table.
Example 1. Show that is a tautology.
The last column is always
Example 2. What is the formula ?
It is a tautology too: when exactly one statement is true, “
Laws
– commutative law of conjunction – associative law of conjunction – commutative law of disjunction – associative law of disjunction – law of contraposition , – De Morgan’s laws
Check yourself: , → ?
Answer:
2. Sets
Set operations
– union: the elements in at least one of the sets – intersection: the common elements – difference – symmetric difference – complement of in – power set: all subsets of ; if has elements, has – Cartesian product: all ordered pairs
Example. Sets given by a property, written by listing:
- \(\{x\mid x\in\mathbb N,\ x\text{ odd}\land x<10\}=\{1,3,5,7,9\}\)
For
, , , ,
3. Mathematical induction
Many properties of natural numbers are proved by the principle of mathematical induction, in three steps:
- check: the statement holds for
; - assumption: the statement holds for
; - proof: then it also holds for
.
Example. Prove that
1) For
2–3) Let
4. Combinatorics
Factorial:
Permutations (orderings) of
If among
Example. How many different words can be made from the letters of TEUTA (5 letters, T twice)?
Example. How many six-digit numbers with different digits can be written with 0, 1, 2, 3, 4, 5? From all
Variations without repetition: ordered choices of
Example.
Variations with repetition (each element may be chosen more than once):
Example. With the digits 1 and 2 (
If the order does not matter, these are combinations:
5. Sequences
A sequence is a function on the natural numbers:
Example. The first five terms of the sequences:
: : : :
An arithmetic sequence: each term is the previous one plus the same number
Example. A phone company earned 2000 € on 1 March, and every following day its earnings grew by 125 €. How much did it earn by the end of March?
Earnings on 31 March:
In total over 31 days:
A geometric sequence: each term is the previous one times the same number
Tests
Check yourself with the tests (10 problems each, with solutions):
- Mathematics I – foundations – test 1 – Logic: statements and truth tables
- Mathematics I – foundations – test 2 – Sets and mathematical induction
- Mathematics I – foundations – test 3 – Combinatorics: permutations and variations
- Mathematics I – foundations – test 4 – Sequences: arithmetic and geometric