Math Chapter 0
Math Chapter 0
Basic Concepts
• Notation
. Commutativity: a + b = b + a
. Associativity: a + (b + c) = (a + b) + c
. The additive identity is zero: a + 0 = a
. The additive inverse of a is −a : a + (−a) = 0, the additive identity.
. Subtraction can be thought of as a version of addition in the sense
that a − b = a + (−b)
• Multiplication
. Commutativity: ab = ba
. Associativity: (ab)c = a(bc)
. The multiplicative identity is one: a(1) = a
The multiplicative inverse of a is a1 : a a1 = 1a
.
a = 1, the multiplica-
tive identity. Zero has no multiplicative inverse.
. Zero element: a(0) = 0
. Sign rules: a(b) = ab, a(−b) = (−a)b = −ab, and (−a)(−b) = ab
1
. Division: can be thought of as a version of multiplication in the sense
that a ÷ b = ab = a/b = a 1b . Zero has no multiplicative inverse,
because 10 does not exist.
. Distributivity: a(b + c) = ab + ac = ba + ca = (b + c)a
• Exponent rules
. an = |a · a ·{za · · · a}
n times
. an am = an+m
. (ab)n = an bn
an a−m
.
am = a
n m nm
. (a ) =a
0
. a =1
. a−n = 1
an
. If x = by , then y = logb x
. logb (xy) = logb x + logb y
. logb xy = logb x − logb y
. logb xy = y(logb x)
loga x
. logb x = loga b
Generally we work with log base e (Euler’s number) ≈ 2.7183... and
this can be also written as ln x.
Basic Logic
• Given two statements, P (for example, “it rains”) and Q (for example, “I
take my umbrella”). “If P is true, then Q is true” is denoted by P ⇒ Q.
And we say that P is a sufficient condition for Q, and that Q is a necessary
condition for P . We can also say P implies Q.
2
Basic Proof Techniques
• The most obvious proof technique is deductive reasoning.
3
For n = m+1, we have 8(m+1) –3(m+1) = 8(m+1) –(3)8m +(3)8m –3m+1 =
(8 − 3)8m + 3(8m − 3m ) = (5)8m + 3(8m − 3m ).
The first term, (5)8m , is divisible by 5 (it has 5 as a factor). The
second term, 3(8m − 3m ) is divisible by 5 (by assumption). Since we
can factor a 5 out of both terms, then the entire expression, (5)8m +
3(8m − 3m ), must be divisible by 5.
• A = B: A ⊂ B and B ⊂ A.
• A $ B: A ⊂ B but A 6= B.
• C = A ∪ B: C = {x | x ∈ A, or x ∈ B}.
The union of several sets is the set that contains all elements found in any
of the sets of which the union is composed.
• C = A ∩ B: C = {x | x ∈ A, and x ∈ B}.
The intersection of several sets is the set that contains all the elements
common to all the sets in the given intersection.
We usually say that a set of sets is a collection Sof sets. For the
S union (or
intersection) of a collection of sets G, we write Gi ∈G Gi or Gi ∈G Gi .
Suppose there is a universal set U which contains all the elements that
exist in the context of the given discussion, then,
4
. ∅ denotes the empty set. ∅ contains no elements and is the comple-
ment of U . ∅ is a subset of any set.
Notice that ∅ is different from {∅}.
pressed as a fraction.
• R, the set of real numbers, usually the universal set of numbers in which
we work.
• Qc = R \ Q, the set of irrational numbers.
• C, the set of complex numbers.
Cartesian Products
• Ordered pairs are pairs of elements where the order of elements matters.
So the set {a, b} is unordered while the pair (a, b) is ordered. Ordered
pairs are one kind of ordered set, which is just a generalization of the
concept of ordered pairs.
• Ordered pairs can be elements of a set also. The Cartesian plane is the
most familiar example: all ordered pairs can be found on the cartesian
plane and the Cartesian plane is an infinite set of ordered pairs.
5
• The cartesian product (or direct product) is the set of all possible ordered
pairs that can be constructed where the first element of the ordered pair
comes from the first set and the second element of the ordered pair comes
from the second set. The cartesian product of sets A and B is denoted by
A × B, or “A cross B”.
Formal definition: A × B = {(a, b) | a ∈ A and b ∈ B}.
Two examples: {(x, y) | y = 3x, x, y ∈ R} and {(x, y) | y ≥ x}.
Functions
• Consider sets X and Y . A function is a especial kind of relation where
there is one and only one y-value for any given x-value. Note that a
function can have more than one x-value with the same y-value but not
more than one y-value for a given x-value. Any two-dimensional relation
that does not pass the “vertical line test” is not a function.
Cardinality
• Roughly speaking, cardinals are measures of the size of sets. For a set
with a finite number of elements, we just count them. And when we count
them, we are mapping these elements into natural numbers indeed.
6
• For two sets X and Y , if there exists a bijection between them, then we
say they have the same cardinal number, |X| = |Y |.