A set is a collection of distinct objects.
Notation:
\(S_1 = \{1,2,3,4,5\}\)
\(\Rightarrow\) "x can only take values of 1, 2, 3, 4 or 5.
\(S_2 = \{\text{x | x is a letter in the English alphabet}\}\)
\(\Rightarrow\) “Collection of all letter x such that x is in the English alphabet”.
\(S_3 = \{\text{x : x > 2 and x is odd}\}\)
\(\Rightarrow\) “Collection of all numbers x such that x is greater than 2 and x is odd”.
\(S_3 = \{\text{x | x} \in S_1\}\)
\(\Rightarrow\) "Collection of all numbers x such that x can only take values from the set \(S_1\).
If every element of a set A is also an element of a set B, then we say that A is a subset of B. Notation: \(A \subseteq B\).
If A and B are sets such that \(A \subseteq B\) but \(A \neq B\), then we say that A is a proper subset of B. In other words, a set A is a proper subset of a set B. Notation: \(A \subset B\), if (1) \(A \subseteq B\) and (2) there exists at least one element in B that is not in A. The second condition states that the set A is properly “smaller” than the set B.
B is not a subset of A if there exists at least one element in B that is not in A. Notation: \(B \not\subset A\).
The set that contains no elements is called the empty set and is denoted by \(\varnothing\).
The empty set, \(\varnothing\), is a subset of every set. \(\varnothing\) has no elements and therefore contains no element that is not also in any set A.
Natural numbers: \(\mathbb{N} = \{1,2,3,4,...\}\)
Integer numbers: \(\mathbb{Z} = \{...,-4,-3,-2,-1,0,1,2,3,4,...\}\)
Rational numbers: \(\mathbb{Q} = \{x|x=\frac{p}{q}\text{ and }p\in\mathbb{Z}\text{ and }q\in\mathbb{Z}\}\)
Real numbers: \(\mathbb{R} = \{x|x\in\mathbb{Q}\text{ and }x\notin\mathbb{Q}\}\)
Example: \(\sqrt{2}\) or \(\pi\).
The number of elements in a set is called the cardinality of the set.
If A and B are disjoin sets, then \(n(A\cup B) = n(A) + n(B)\).
If A and B are finite sets, then \(n(A\cup B) = n(A) + n(B) - n(A \cap B)\).
A function is a relation between a set of inputs and a set of outputs.
\(y = f(x)\)
(\(y\) is output, \(x\) is input, \(f\) is function)
\(f : X \rightarrow Y\)
(\(Y\) is the set of output, \(X\) is the set of input, \(f\) is function)
Each input value can only give one output value.
Ex1: \(f(x) = \frac{1}{2}x\), \(g(x) = f(x) - 5\) or \(g(x) = \frac{1}{2}x - 5\)
Ex2: \(f(x) = \frac{1}{2}x\), \(g(x) = f(x) + 10\) or \(g(x) = \frac{1}{2}x + 10\)
Ex3: \(f(x) = 3x\), \(h(x) = 2x\), \(g(x) = f(x)h(x)\) or \(g(x) = 6x^2\)
Ex4: \(f(x) = \frac{1}{2}x\), \(g(x) = \frac{1}{4}f(x)\) or \(g(x) = \frac{1}{8}x\)
The result of a function can become the input to another function.
\(y = f(x)\), \(z = g(y)\), then \(z = g(f(x))\)
Ex1: \(f(x) = 2x\), \(g(x) = 5x + 1\), then \(g(f(x)) = 5f(x) + 1 = 5(2x) + 1 = 10x + 1\)
Ex2: \(f(x) = 2x\), \(g(x) = 5x + 1\), then \(f(g(x)) = 2g(x) = 2(5x + 1) = 10x + 2\)
If \(y = f(x)\) then its inverse function is \(f^-1(y)\).
If \(g(x) = f^-1(x)\) and \(f(x) = g^-1(x)\) then \(f(x)\) and \(g(x)\) are inverses of each other.
The function is invertible if the inverse function exists.
Not every function has an inverse function.
To find the inverse function, write the full expression, then rewrite it as a function of x in terms of y (1 single x on the left side and all the y terms on the right side of the equation):
\[ y = 4x - 5 \\ 4x = y + 5 \\ x = \frac{1}{4}y + \frac{5}{4} \\ \Rightarrow \text{The inverse function of } y = 4x - 5 \text{ is } f^-1(y) = \frac{1}{4}y + \frac{5}{4} \]
\(y = k\) is a horizontal asymtote for the function as the function \(f(x)\) continually approaches the line \(y = k\) but never reaches it.
\(x = a\) is a vertical asymtote for the function as the value of the function \(f(x)\) grows indefinitely the more the function approaches \(x = a\).
Domain of a function is the set of all possible input values to the function.
Range of a function is the set of all possible values that the function can take.
Roots (or zeros) of a function are the intersection(s) of the function with the \(x\) axis.
Roots are all values of \(x\) such that \(f(x) = 0\).
Applying Pythagorean theorem: \(d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}\)
Slope-intercept form: \(y = mx + b\)
General form: \(Ax + By + C = 0\)
\[ \begin{array}{lcl} nb + \left(\sum x_i\right)m = \sum y_i \\ \left(\sum x_i\right)b + \left(\sum x_i^2\right)m = \sum x_iy_i \end{array} \]
\[ m = \dfrac{n \sum x_i y_i - \sum x_i \sum y_i}{n \sum x_i^2 - \left(\sum x_i\right)^2}\\ b = \dfrac{\sum y_i - m\sum x_i}{n} = \bar{y} - m\bar{x} \]
Accepted row operations:
- Row interchange: \(R_i \leftrightarrow R_j\)
- Row multiplication with a non-zero constant: \(cR_i\)
- Row addition then multiplication with a non-zero constant: \(R_i + cR_j\)
A vector is a matrix with either single row or single column.
A scalar is a real number muliplied with a matrix to create a scalar product.
A permutation of the set is an arrangement of the set objects in a definite order.
Permutations of n distinct objects taken r at a time:
\(P(n,r) = _nP_r = P_r^n = P_{n,r} = \dfrac{n!}{(n-r)!}\)
\(\dfrac{n!}{n_1!n_2! \ldots n_m!}\)
- where \(n_1 + n_2 + \ldots + n_m = n\)
\(P(n) = (n-1)!\)
\(C(n,r) = _nC_r = C_r^n = C_{n,r} = \dfrac{n!}{r!(n-r)!}\)
The probability of an event, denoted \(P(E)\), is the likelihood of that event occuring.
\(P(E) = \dfrac{n(E)}{n(S)}\)
Experiment is any process that can be repeated in which the results are uncertain.
Outcome is the result of an experiment • Sample event (or point): any single outcome from a probability experiment.
Sample space is a list (or set) of all possible outcomes of a probability experiment.
Event is any collection of outcomes from a probability experiment (a subset of the sample space).
\(0 \leq P(E) \leq 1\)
\(P(E) = 0\) means impossible event.
\(P(E) = 1\) means certainty of event.
if E and F are any 2 events of an experiment, then \(P(E \cup F) = P(E) + P(F) - P(E \cap F)\)
If E and F are mutually exclusive, then \(P(E \cup F) = P(E) + P(F)\)
If \(S = \{e_1,e_2,e_3,...,e_n\}\), then \(P(e_1) + P(e_2) + P(e_3) + \ldots + P(e_n) = P(S) = 1\)
If \(E = \{s_1,s_2,s_3,...,s_n\}\), where \(\{s_1\}\), \(\{s_2\}\), \(\{s_3\}\), …, \(\{s_n\}\) are simple events, then \(P(E) = P(s_1) + P(s_2) + P(s_3) + \ldots + P(s_n)\)
\(P(E^c) = 1 - P(E)\)
Used to find conditional probabilities in a finite stochastic process.
Stochastic process: an experiment consisting of a finite number of stages in which the outcomes and associated probabilities of each stage depend on the outcomes and associated probabilities of the preceding stage.
The probability of B given A, which means that Event A has already occurred, is denoted \(P(B|A)\).
\(P(B|A) = \dfrac{P(B \cap A)}{P(A)}\)
\(P(B \cap A) = P(A) \cdot P(B|A)\)
If A and B are independent events, then \(P(B|A) = P(B)\) and \(P(A|B) = P(A)\). In other words, \(P(A \cap B) = P(A) \cdot P(B)\).
\[ Var(x) = \sigma^2 = \dfrac{\sum(x - \mu)^2}{N} \]
\[ \sigma = \sqrt{Var(x)} = \sqrt{\dfrac{\sum(x - \mu)^2}{N}} \]
\[ \delta = \sqrt{Var(x)} = \sqrt{\dfrac{\sum(x - \bar{x})^2}{n-1}} \]