1/276
conjunction
^; true only if both are true
disjunction
v; only false if both are false
exclusive xor
circle w/ plus; only true when signs are opposites (like t ___ f, or f ___ t)
conditional
p → q; only false when true implies false
biconditional
p ←> q; only true when the truth values are the same
converse
q → p
inverse
not p → not q
contrapositive
not q → not p
the _____ of a compound proposition is equivalent to the original comp. proposition
precedence of operators
negation, conjuction/disjunction, implicatoin/biconditional
tautology
a compound proposition that is always true
contradiction
a compound proposition that is always false
contingency
a compound proposition that is neither false nor true
De Morgans Laws - Proposition

De Morgans Law - Set theory

Conditional-Disjunction Equivalence

identity laws

domination laws

idempotent laws

double negation law

commutative laws

associative laws

distributive laws

absorption laws

negation laws

satisfiability
at least one truth value for the compound
solution for compound proposition
the assignment of truth values that makes a compound satisfiable
universal quantifier
V; true for every element under consideration
-heigher precedence than operators
extistential quantifier
there is one or more element under consideration for which the predicate is true
-heigher precedence than operators
counterexample
an element that proves a statement false
uniqueness quantifier
there exists a unique x such that P(x) is true

negating quantified expressions

nested quantifiers

direct proofs
a logical method used to show that a conditional p→ q is true by assuming p is true and using definitions, axioms, or established theorems to show q is true
state the hypothesis (that p is true)
apply definitions
deduce the conclusion (use algebrea and logical steps to show q true)
proof by contraposition (indirect proof)
proof that uses equivalence p→q = not q → not p
use when stuck on a direct proof or if it provides an easier starting point
state that you will use a proof by ________
assume that the conclusion q is false, aka assume not q is true
use direct proof steps, facts, and math rules to show that premise P must also be false (aka not P is true)
definition of even and odd integer
even: n=2k
odd: n=2k+1
definition of a rational number
r is rational if there exist integers p and q that r = p / q.
irrational: a real number that is not rational.
proof by contradiction
an indirect proof method that proves a statement is true by assuming it is false and showing that this assumption leads to a logical impossibility
state that you are using a proof by ______
assume the OPPOSITE of what you are meant to prove is true
reason logically until you hit a contradiction
conclude that your inital assumption was wrong, so the original statment is true
counterexample
an example for which P(x) is false.. be careful of begging the question and circular reasoning
existence proofs
a mathematical argument used to show that an object or value w/ a specific property exists.
constructive: find or build an example that makes the statement true
non constructive: prove an object must exist w/o showing what it is
cases, exhaustive
proof by ____: proving (p1 v p2 v … v pn) → q conditional can be done by proving p1, p2, … pn seperately.
____ proof: using specific cases to prove the statement holds
union
A U B: the set that contains the elements in the sets A or B
A ∩ B: intersection
the set that contains elements that are in both sets A, B
if the ________ = empty set, the sets A and B are disjoint
A-B
the set containing those elements that are in A but not in B
Ā
the set U-A, where U is the universal set
set identities - identity laws

set identities - domination laws

set identities - idempotent laws

set identities - complementation law

set identities - de morgans laws

set identities - complement laws

set identities - absorption laws

set identities - commutative laws

set identities - associative laws

set identities - distributive laws

inclusion-exclusion principle

roster notation of a set
{1,2,…n}
used when there is a clear pattern
set builder notation
example: {x | x is a _ and x < 0}
set equality
A = B
if A and B have the same elements, no matter the order or the repition of elements, they are equal
N
all natural numbers starting at 0?
Z
all integers
R
the set of all real numbers
Q
the set of rational numbers
C
the set of complex numbers
{∅}
has ONE element
is a SINGLETON set (a set of one element)
venn diagram of a set

subset
a set within/equal to another set
every nonempty set S is gauranteed to have at least two ____, the emoty set and S

proper subset
a subset of a set that is not equal to the original set

cardinality
|S| : the amount of elements in a finite set
if a set has n elements, then the cardinatlity of its power set is P(A) = 2^n
power set
P(S) is the set of all subsets of set S
if a set has n elements, then the cardinatlity of its power set is P(A) = 2^n
cartesian products
A x B
the set of all ordered pairs (a,b) where a belongs to set A, b belongs to set B
function
f: A→B is an assigment of each element of A to exactly one element of B
f(a) = b if b is the unique output b assigned to a
A is the domain of f
B is the codomain of f
if f(a) = b:
b is called the image of a under f (the output)
a is called the preimage of b (the input)
range: the subset of the codomain B that contains only the actual outputs produced by the function
function equality
two ____ are identical/equal iff they share the same domain, codomain, and the exact same mapping rule for every element
injection
one-to-one or _____
iff f(a) = f(b) implies that a=b
every input maps to a distinct output
surjective
onto
iff for every element b belongs to set B, there is an element a belongs to set A with f(a) = b
every output is caused by an input
bijective
if a function is injective and surjective, then it is ______
floor and ceiling functions
round up/down to the nearest integer
inverse functions
an ____ only exists if f is a bijection
f-1(y) = x if f(x)=y
countable sets
finite set, countably infinite set
uncountable set
always infinite
ex: R, the interval (0,1) proved by Cantor’s Diagonalization Argument, irrational numbers
Enumeration
creating a complete, ordered list of everey single element inside a set
cantors diagonalization argument
proof by contradiction that the set of all real numbers between 0 and 1 is countable by diagonally constructing a new number that is guaranteed to be missing
0.13579…
0.25680…
etc
binary relation from A to B
a subset of A x B, aka a collection of ordered pairs where the first element comes from A and the second comes from B
a function is just a ____ w/ the rule that every a must have exactly one b
set operations can be used on _____
reflexive relation
iff (a,a) belongs to R for every element of a belong to A
every element must have its doppleganger
symmetric relation
iff (b,a) belongs to R when (a,b) belongs to R
every element must be mirrored
antisymmetric
iff for every a,b belonging to A, if (a,b) belongs to R and (b,a) belongs to R, then a=b
transitive
if (a,b) and (b,c), then (a,c)
equivalence relations
a relation is an _ if it is reflexive, symmetric, and transitive
two elements related by an _ are equivalent
composition of relations
to find the _____ of relations, look for a matching linking element from set B
ex: R1 = {(1,x), (2,y)}
R2 = {(x, gold), (y, silver)}
R2 o R1 = {(1, gold), (2, silver)}
equivalence classes
a subset of elements from a larger set that are all considered “equivalent” to each other under a specific equivalence relation
____ are either complete identical or completely DISJOINT

partition of a set
a collection of disjoint non-empty subsets of S that have S as their union
basically just divvying it up
N-ary relation
a mathematical relationship defined among N sets
ex: binary, ternary, quaternary
sequence
a function from a subset of the integers
finite: 1, 2, 3
infite: 1, 3, 9, .., 3^n
an denotes the image (output) of an integer n. it is a term of the ______
{an } represents the entire _____
geometric progression
a sequence of the form a, ar, ar2, arn

arithmetic progression
a sequence of the form a, a+d, a+2d, …, a+nd, ..
recurrence relations
an equation that defines each term of a sequence using one or more preceding terms
closed form of a recurrence relation
expresses the nth term directly in terms of n and initial conditions
can be found by:
iteration until a pattern appears
telescoping
solution sequence
a specific sequence whose terms satisfy a recurrence relation for every valid index n
forward substitution
start at an initial condition and generate consecutive terms upward until a pattern appears for a clsoed formula
backward substitution
expands an down to a base case / until a pattern appears
repeatedly replaces terms with their definitions until a pattern apepars
summations
adds a sequence of numbers over a specified range of index values
