Introductory university-level calculus, linear algebra, abstract algebra, probability, statistics, and stochastic processes.
Informal introduction to formal logic
Get link
Facebook
X
Pinterest
Email
Other Apps
-
In mathematics, we must prove (almost) everything and the proofs must be done logically and rigorously. Therefore, we need some understanding of basic logic. Here, I will informally explain some rudimentary formal logic.
Definitions
(Proposition): A proposition is a statement that is either true or false. "True" and "false" are called the truth values, and are often denoted and .
Here is an example. "Dr. Akira teaches at UBD." is a statement that is either true or false (we understand the existence of Dr. Akira and UBD), hence a proposition.
The following statement is also a proposition, although we don't know if it's true or false (yet):
Any even number greater than or equal to 4 is equal to a sum of two primes.
Next, we define several operations on propositions. Note that propositions combined with these operations are again propositions.
(Conjunction, logical "and"): Let and be propositions. Their conjunction is defined by the following truth table:
We "interpret" the conjunction as logical "and," that is, if and are both true, then is true.
(Disjunction, logical "or"): Let and be propositions. Their conjunction is defined by the following truth table:
We "interpret" the conjunction as logical "or," that is, if or is true, then is true.
(Negation, logical "not"):Let be a proposition. Its negation is defined by the following truth table:
We interpret the negation as logical "not," that is, if is true (false), then is false (true).
(Implication, "if...then..."):Let and be propositions. The implication is defined by the following truth table:
We interpret the implication as "if then " or " implies "." Note in particular that an implication is true if the left-hand side of is false (by the way, the left- and right-hand sides of are called a premise and a conclusion, respectively).
Examples
We can connect propositions with the above operations to make new propositions.
Let us show that and are equivalent. We say that two propositions are equivalent if their truth tables are identical. First, let's write down the truth table for :
It is often helpful to write down the smaller components of a complicated logical expression, such as , which is a "smaller" component of .
Next, :
By comparing the two tables, we can see that and are indeed equivalent.
If two propositions and are equivalent, we write
to denote their equivalence.
Theorem (De Morgan's laws)
Let and be any propositions.
We have
Proof. Exercise. (See above.) ■
Sometimes, we want propositions to depend on some inputs.
(Predicate) A proposition that depends on variables is called a predicate.
Example: Let be the predicate that " is an even integer." Then, , , etc.
Example: Let be the predicate that "" (i.e., is less than ). Then , etc.
Quantifiers
Next, consider the following "proposition":
For all , there exists such that .
(This statement means that, for any integer , there is (always) another integer that is greater than . This is clearly true!)
Here we have quantifiers such as "for all" or "there exists" that restrict the behavour of the variables and in the predicate "." We introduce the symbols for these quantifiers. The above proposition can be expressed as
The symbol "" is called the universal quantifier and is read as "for all..." or "for any..." or "for every...."
The symbol "" is called the existential quantifier and is read as "there exist(s)..." or "for some..."
The order of appearance of quantifiers matters. That is, the above proposition is different from
The latter reads as "There exists an integer such that, for every integer , holds." But this means that there exists the greatest integer (that is greater than any integers); this is clearly false.
Negation involving quantifiers
Note the following equivalence:
This means that "Not that is less than " is equivalent to " is greater than or equal to ." This equivalence is based on the mathematical meaning of and .
Next, note the following equivalence:
This means that, if " holds for all " does not hold, then there exists an such that does not hold, and vice versa.
We also have the following equivalence:
In plain English, if " holds for some " does not hold, it means that "for any , does not hold."
Example:
Note that the original proposition "" is false, but its negation "" is indeed true.
Propositions about members of the empty set.
Any propositions (predicates) about members of the empty set are true. For example,
is true. So is
This is because the proposition that is always false.
Defining the birth process Consider a colony of bacteria that never dies. We study the following process known as the birth process , also known as the Yule process . The colony starts with cells at time . Assume that the probability that any individual cell divides in the time interval is proportional to for small . Further assume that each cell division is independent of others. Let be the birth rate. The probability of a cell division for a population of cells during is . We assume that the probability that two or more births take place in the time interval is . That is, it can be ignored. Consequently, the probability that no cell divides during is . Note that this process is an example of the Markov chain with states \({n_0}, {n_0 + 1}, {n_0 + 2}...
Generational growth Consider the following scenario (see the figure below): A single individual (cell, organism, etc.) produces descendants with probability , independently of other individuals. The probability of this reproduction, , is known. That individual produces no further descendants after the first (if any) reproduction. These descendants each produce further descendants at the next subsequent time with the same probabilities. This process carries on, creating successive generations. Figure 1. An example of the branching process. Let be the random variable representing the population size (number of individuals) of generation . In the above figure, we have , , , , We shall assume as the initial condition. Ideally, our goal would be to find how the population size grows through generations, that is, to find the probability for e...
Comments
Post a Comment