Discrete Math Glossary

Review key terms and their definitions from the Discrete Math course.

Binary and Bases

Boolean Values: A data type with two possible values, 0 and 1, often representing True/False data in computation

Congruences

a divides b: A property on two integers a and b that holds if there exists an integer k for which a*k = b.

a is congruent to b mod n: A property on three integers a, b, and n, where n > 0, such that n divides a - b.

Caesar cipher: A cipher that takes a given phrase or string of letters and shifts each one three places down the alphabet.

Function: A relation such that each input x has at most one corresponding output y.

Linear Congruence: Congruence relationship where the unknown variable is contained in a linear expression.

Linear Expression: Expression in the form ax + b, where a and b are constants and x is our unknown variable.

mod: Short-hand for modulus.

Modular Arithmetic: The operation that returns the remainder of b/a for two numbers a and b.

Modulus: The operator used to perform modular arithmetic.

Reflexive Property for Congruences: For two numbers a and n, n > 0, a is congruent to a mod n.

Symmetric Property for Congruences: For three numbers a, b, and n, n > 0, if a is congruent to b mod n, then b is congruent to a mod n.

Transitive Property for Congruences: For the integers a, b, c, and n, n > 0, if a is congruent to b mod n and b is congruent to c mod n, then a is congruent to c mod n.

x relates to y: A relationship where a given input x has a corresponding output y.

Counting Theory

Bit string (or) bitstring: A sequence of bits (0 or 1).

Hockey stick pattern: When you descend Pascal’s triangle diagonally at first, then slant to form the shape of a hockey stick, the number in the slanted portion is the sum of the numbers that descended diagonally.

Pascal’s Triangle: To build the triangle, start with a ‘1’ at the top, then continue placing numbers below it in a triangular pattern. Each number is the sum of the numbers directly above it.

Principle of Inclusion and Exclusion (PIE): For two sets A and B, |A ∪ B| = |A| + |B| − |A ⋂ B|.

Product Rule: If there are n(P) ways to do P and n(Q) independent ways to do Q, then the number of ways to do P and Q is n(P) * n(Q).

Sum Rule: If there are n(P) ways to do P and, distinct from them, n(Q) ways to do Q, then the number of ways to do P or Q is n(P) + n(Q).

Induction and Strong Induction

Base Case(s): The smallest possible case(s) for which a given statement is true.

Conjecture: Mathematical term with the same meaning as a statement.

Induction: A method of proof that is often used to prove statements with summations or recursions.

Induction Hypothesis (for Mathematical Induction): The supposition that a given statement is true for some integer k exceeding the base case.

Induction Hypothesis (for Strong Induction): The supposition that a given statement is true for all integers between the largest base case and some integer k exceeding that largest base case.

Induction Proof: A mathematical proof that uses induction.

Inductive Step: The process of constructing and proving the induction hypothesis.

Mathematical Induction: An induction technique that proves a statement by providing one base case, assuming the statement is true for some larger integer k, then proving the statement is true for k+1 using said assumption (induction hypothesis).

Mathematical Proof: A mathematical explanation for why a given statement is either true or false.

Nonnegative integer: An integer n such that n >= 0.

Strong Induction: An induction technique that proves a statement by providing more than one base case, assuming the statement is true for all integers from the largest base case to some even larger integer k, and then proving the statement is true for k+1 using that assumption (induction hypothesis).

Summation: Operation (denoted by the Greek letter capital Sigma) that adds consecutive terms together.

Permutations and Combinations

Combination: An arrangement, or selection, in which the order does not matter.

Enumeration: The number of ways to select from, or arrange, a set of n objects.

Permutation: An arrangement, or selection, in which the order matters.

Recurrence Relations

Boundary condition: The starting value for a recurrence relation. In a sequence, this is the first number.

Characteristic equation: A polynomial equation derived from a linear recurrence relation the roots of which raised to nth power constitute the closed-form solution.

Closed-form solution (for recurrence relations): A mathematical function, f(n), that computes the nth term of a sequence described by a recurrence relation.

Coefficient: multiplier that comes before a variable.

Dynamic Programming: A technique in which values are cached to be used for future computations.

Homogeneous linear recurrence relation: A linear recurrence relation that has no explicit dependence on n.

Homogeneous solution: The part of the closed-form solution to an inhomogeneous recurrence relation obtained by ignoring the f(n) term.

Inhomogeneous linear recurrence relation: A linear recurrence relation that contains a dependence on n; i.e., a recurrence relation that contains an f(n) term.

Initial condition: Same as boundary condition. This and “boundary condition” are used interchangeably.

Linear recurrence relation: A recurrence relation in which there is a linear dependence on previous values.

Multiplicity of a root: The number of times a root appears in the solution of a characteristic equation.

Non-linear recurrence relation: A recurrence relation in which there is a non-linear dependence on previous values.

Particular solution: The part of the closed-form solution to an inhomogeneous recurrence relation that assumes a solution must be of the same form as f(n).

Recursive function, recurrence relation: A function that computes a value by making a call to itself.

Fibonacci sequence: A sequence that starts with 0 and 1, with each next term being a sum of the terms before it.

Sequences and Summations

Closed Form Solution (for Sequences and Summations): A mathematical expression expressed using a finite number of standard operations, instead of an infinite summation/sequence.

Finite sequence: A sequence of numbers that eventually comes to an end.

Infinite sequence: A sequence of numbers that never comes to end (continues infinitely).

Natural Root (e): It is the base of the natural logarithm, approximately equal to 2.71828.

Sets and Set Operations

Cardinality of a set: It is the number of elements in the set.

Complement of a set: The set of all elements in the universal set U that are not in this set.

Dataset: A collection of numbers or values that relate to a particular subject.

Difference of two sets: It is the set of all elements of the first set that are not present in the second.

Domination Law for intersection: Any set intersected with an empty set gives the empty set.

Domination Law for union: The union of any set with the Universal set is the Universal set.

Identity Property for intersection: The intersection of a set with the Universal set is the set itself.

Identity Property for union: The union of a set and the empty set is the set itself.

Intersection of two sets: It is the set containing all the elements that the two sets have in common.

Null set: A set with no elements, usually denoted by ∅ or by { }.

SQL (Structured Query Language): A language used to communicate with a database.

Subset: A set formed by taking parts of the original set.

Union of two sets: It is the set of all their elements together (without repeating any elements that they share).

Universal set: A set that contains all the elements of other sets (and its own elements), usually denoted by the symbol ‘U’.

Venn diagram: A visual representation of sets.