To certain students, math feels like a memorized set of rules. However, the only things that students may ever need to memorize in algebra are the basics of what is true about the object being studied and some notation. Any and all properties that students may feel like they need to remember are actually something someone can derive from the foundations they actually should remember.
In this page, we will introduce laws of logic and properties of conditional statements. We will be applying the laws of real numbers and algebra to prove some often-used theorems. Finally, we will use algebra to demonstrate a mathematical statement as true.
Introduction to Sets
The basic understanding of anything related to mathematics begins with learning about sets. While this will not be a substitute to a discrete math class (or the CLEP College Mathematics exam), some concepts you usually learn in there will be introduced much earlier on. As such, we will attempt to make this introduction intuitive and easy-to-understand. Finally, learning about sets and logic can easily help you in real world situations (moreso logic), especially in the context of probability.
Most people will imagine a set as an aggregation of objects (called elements) that which is defined. However, there needs to be a restriction.
A set is a "well-defined" collection of objects, known as elements. A set is usually denoted by a singular, capital letter.
Here is a question: can a set contain itself? If there is such a thing as the set that contains all sets, then the set that does not contain itself would be in the set. However, that is impossible; that set would not be in itself but can not be defined as such because this set contains all sets. Since it is impossible to define whether it is a set under this such definition, the set that contains all sets cannot be possible (this paradox is known as Russel's Paradox). The restriction that a set must be well-defined is a necessity for this reason.
"Well-defined" is vague for now, but the restrictions for what constitutes "well-defined" is beyond the scope of this text. For those that are curious, understanding Zermelo–Fraenkel set theory would be important (although a little high level for what we want to accomplish in College Algebra).
A set can contain any number of objects. For example, we could have a set that contains all of the positive, even, single-place numbers, . We could also have a set that contains nothing (we call that the empty-set, ). We could also have the set of common breakfast drinks, .
Note how we define the set. The way we define it is with curly braces, with the elements denoted and separated by commas. Sets are also unordered, meaning that the order of the elements in the set does not change whether one set is equal to another. Thus, if is defined as earlier, and , then . This tells us something very important about sets.
The Elements Define a Set
By what we defined, a set is a collection of elements. This means the objects define the set. Remember, this is true by definition, so this is sound logic.
Let there be a set containing (or not containing) an object . The object is in is written as . Otherwise, if is not in , then .
If there are two sets, and , then one of the sets can contain the other as an element, such as . If otherwise, then . Consequently, the question of whether or not a set is contained within another is a question of conditional logic: it is "true" that or it is "not true" that . There is no in-between option.
A set can only ever equal another if they contain the same elements. The order of the elements do not matter, so long as the element of each corresponds through its definition, and the number of the elements within each set is also identical. This therefore means a set is uniquely determined by its elements.
Example 1.1.(a): Set Conundrum Let and .
Answers: (a) . (b) but AND but . Explanation for (a) and (b): These are mostly self-explanatory. Keep in mind that any set within another set is defined as the element of the set. However, if that element contains any objects, then it is not part of the "parent" set. For example, let . Here . We know and . However, any element in does not define . The elements only define its own set. |
How to define a set contains an element is done in two different ways, explicitly and implicitly.
Let there be a set such that . The explicit definition of a set is written using curly brackets, known as set braces— — as below:
- , whereby all and only the elements found in must be written within the set braces.
The explicit way of defining a set is what we have been using throughout the entire section. However, this can also tend to be very useless when there are an infinite number of elements in the set. The next definition should held us in that aspect.
Let there be a set such that . The implicit definition of a set is written using set braces and ellipses given a pattern is demonstrated with the elements of the set, as below:
- .
A more robust definition of a set is thus the following:
A set, usually denoted by a singular letter, is a "well-defined" collection of objects, known as elements. A set is also uniquely defined by its elements.
Because elements define the set, it is often important to know the size of the set. This is known as the cardinality or size of the set. Because we want to keep this part of the subject intuitive, we will use size from here on.
A set with elements has a size of , denoted as
Example 1.1.(b): Breakfast set Let be the set of common breakfast drinks. A non-comprehensive list of the most common breakfast drinks in the U.S. are given: Coffee, Milk, Orange Juice, Apple Juice, Water.
Answers: (a) . (b) . Explanation for (a) and (b): These are mostly self-explanatory. The number of the items in the list is five, so the size of the set is five. |
Check your Understanding
Directions: Some questions will require you to select from among five choices. For these questions, select the BEST of the choices given.
Some questions will require you to type a numerical answer in the box provided.
Some questions will require you to select one or more answer choices.
More questions added later.
Properties Define an Element, Ergo, the Set
An object can have properties that would be important to write down. If the object itself changes because of it, then it is important to have that defined. These are referred to as conditionals (the more common one is propositional functions, but this is avoided in the interest of providing a definition of functions that is not treated as tautological when the definition of a function is non-tautological).
Let there be an operation such that the object variables give a truth value depending on either the values of the variables or the operation of (its "nature"). This is a conditional.
Since a set is defined by its objects, the conditional also defines the set. The notation for a given set that has a conditional is
- or
where such a set is read as is the set of all such that is true. The term "such as" originates from either the vertical bar ( ) or the colon ( ). In this textbook, we will use the vertical bar to refer to "such as" since this is standard in most College Algebra courses.
A special type of notation is used when a set can better represented through conditionals. Take the set of all Fibonacci numbers, for example, :
- .
This set can be listed implicitly. However, when there is a pattern to the set's elements, then a set can become much more useful. Let represent the index of the Fibonacci sequence, where is an index starting at zero. The set can be equivalently written as the following:
- .
While this notation seems to hurt rather than help (and seem more confusing), in actuality, this tells us a lot of information about the set, including the pattern used, what initial conditions are necessary for the set to exist, and what set need to belong to for this pattern to work.
A special case of set notation in which a set of elements can be more usefully listed with or too large to list with normal set notation.
We can now easily read sets. Looking back at the set (the set of Fibonacci numbers):
.
is the set of all such that , belong to the set of positive numbers, and there are two initial conditions, .
Example 1.2.(a): Set-builder notation Write each of the following using set-builder notation and implicit or explicit notation.
Answers: (a) . (b) . (c) . (d) . (e) . (f) . Explanations:
These are mostly self-explanatory. Note that there are two possible answers we could write. and are both expressions. However, to make sure both are equivalent, we need a rule so that the expressions can the elements in the set are equal to the other. Similar for (b).
The pair of solutions is given by the expression of some or . The rule is the equation itself since it describes how one finds the solution set. This is all that is needed for the set-builder notation. To obtain the solutions in the set, simply solve: By the zero factor theorem, This is where the explicit set notation comes. Because the natural numbers do not have negative numbers, fractions, or square roots, the natural number set of solutions is only . This type of analysis allows us to determine that one of the sets, see item (f), is empty, and is therefore equivalent to the empty set, . |
Check your Understanding
Directions: Some questions will require you to select from among five choices. For these questions, select the BEST of the choices given.
Some questions will require you to type a numerical answer in the box provided.
Some questions will require you to select one or more answer choices.
More questions added later.
Comparing Sets
Of course, many sets are similar to another. As such, many mathematicians find it very helpful to compare sets. Some vocabulary terms will be listed here.
Suppose and are sets. If each element is also in , then is a subset of . This is written as
If there is at least one element such that , then is not a subset of , or
- .
The idea of the subset is very simple; however, it can be very powerful when comparing two sets. Nevertheless, many students may neglect to take care in their notation while trying to compare sets. The examples presented below are correctly stated. The reasoning is given as well. This type of reasoning will be required for you to identify subsets and non-subsets.
- .
- Because , (the set) is a subset of .
- .
- Because , is a subset of .
- .
- Although , the elements of set cannot be found in the set . In other words, .
- .
- Because , . If one cannot see this, let . Notice that . Because , .
One other definition that is useful to know is the superset. The definition is complex yet the intuition is rather simple.
Suppose and are sets. is the superset of if , which is denoted as
If , then is not a superset of , or
- .
Some examples below will be listed below, along with an explanation. Notice they are the same as above.
- .
- Because , .
- .
- Because , .
- .
- Because , .
- .
- Because , .
- .
- Because , .
Check your Understanding
Directions: For each of the following conditions stated below, four to five choices will be provided. Identify the valid subsets of the one provided in the problem. Almost all of the questions below require multiple selection to be answered correctly.
Combining Sets
The process of combining sets can be very useful, especially when working in contexts of probability.
Suppose and are sets. The union of sets and is the set .
If you want to explain this a five-year-old: the "union set" is the set that contains all things in and .
A few examples are presented below, where , , and . These are all the possible combinations of the sets (excluding combinations with its own set).
Suppose and are sets. The intersection of sets and is the set .
If you want to explain this a five-year-old: the "intersection set" is the set that contains all things that are found in both and .
A few examples are presented below, where , , and . These are all the possible combinations of the sets (excluding combinations with its own set).
Suppose and are sets. The difference of sets and is the set .
If you want to explain this a five-year-old: the "difference set" is the set that contains elements of but excluding what are also found in or are in .
Several examples are presented below, where , , and . These are all the possible combinations of the sets (excluding combinations with its own set and any combinations with all three sets).
Check your Understanding
Introduction to Laws of Logic
Symbolic Logic
Properties of Conditional Statements
De Morgan's Laws
Proving Mathematical Properties
Applying Laws of Real Numbers to Verify and Prove Mathematical Properties
Example 3.1(a): Verify where . Verification is an easy task since all you have to do is rewrite the equation we see above and change only one side. Because only one side changes, a chain of transitive properties may be applied to that side, until one reaches the final conclusion: a simple statement as a property of equality to itself. This may be easier to show than explain, so simply follow along with us.
According to the definition of division, . Since this is true per each division found in the right expression, ( ) can be rewritten as the following:
Notice how each term in the right-hand side of the equation has a factor of therein. Because that is true, the following is true of the right-hand side of the equation.
By the definition of division, the right-hand side of the equation is equivalent to , so
Notice how the chain of equations herein can connect to every equality. Since ( ) and ( ) is true, we know the following equation below is true:
Because ( ) and ( ) is true, we know this below equation is true, and so on:
As shown in ( ), we have verified the truth, and are therefore done with the problem. The "chain of equations" below shall perhaps show this chain of "change of one side only." |
It is important to take note the language of the directive verbs found within the prompt in the example above. By asking the examinee to verify, it, in effect, tests the understanding of the writer to communicate how a certain statement can be made true by only validly changing one side.
In the example above, we decided to change the right-hand side of Equation (). Here is a question for the reader: "Why did we decide to change that side only?" If you can answer this question with precision before the next two examples, then it is safe to infer that this student understands how to verify literal equations.
Note: despite being an important skill, it would be impossible to show this type of understanding on a multiple choice exam. Nevertheless, the journey of the mathematician is of the skeptic of statements made. You cannot fully regard a statement as true if you do not know the proof of it or the verification of it.
Example 3.1(b): Verify in . This equation is not literal, so it is not necessary to change only one side to become the other. Nevertheless, it is not necessary one needs to solve the single-variable equation either. Instead, it may be easiest to simply substitute into the above equation. We shall do exactly that. Because both sides of the equation are equal, we have verified is true. |
One more example will be added later.
Example 3.1(d): Prove , where , , , and . This problem is a little different from the previous ones because the examinee needs to show something is true by what they are given, as well as demonstrate something is true through the derivation of different formulae and equations from fundamental properties. The importance of mathematical communication is what is tested here. The mathematician needs to describe what is given, or else, the proof will not follow logically as a form of deductive reasoning. We cannot follow the strategy we had for the previous two problems. This is because we are trying to communicate that a statement is beyond a shadow of a doubt true! With verification, we could assume the final statement is true, and thereby work backwards from where we started. However, when proving something, we have to show that when only given one statement, we can fully derive the other side without going backwards from where we started. Understanding this distinction is crucial! Let us first start with rewriting the expression into its equivalent:
Notice how we can apply a property of multiplication, that multiplying real numbers (and by extension integers) is associative. Therefore, we may rewrite ( ) as the following:
(. We can apply a property (proven in the exponents chapter) that . As such, we learn ) has the term
With this, we are done with the proof. |
There is a very subtle distinction here between a proof and a verification. If we were asked to verify the statement above, we would assume what we are given here is true and simply only change one side. However, notice how we started the proof in Example 3.1.d: "Let us first start with rewriting the expression..."
In a proof, starting with the conclusion is absolutely wrong and should not be allowed because such an argument is circular! Whenever working with deductive proofs, we start with what is given and try to derive a true statement from what we started. This is one of the fundamental properties of deductive proofs.
Usually, in proofs, especially in deductive ones, there are two principles in mind that are necessary in the development of further understanding: A "universal proposition," such as a theorem or definition, will imply a "singular proposition," such as a premise, conclusion, or intermediate conclusion. Either that or a singular proposition implies another singular proposition.
For this proof, the former is true (a universal proposition implied a singular proposition). By such an action, we can verify the validity of this proof. Although one may not call this a formal proof, per se, such proof did indeed follow from verified axioms, and since those axioms are true, and it led to a truth statement, this proof is valid.
As a student further explores mathematics, principles of proof and the formality of such proofs will be very important in the life of the mathematician. In exploration of such concepts, a deeper understanding will be essential, where further examination of logic will be in order, and different types of proofs will be categorized, explained, and used, sometimes with little delay in thought.
While this is not meant to be a further exploration nor explanation of proofs in general, this book does seek to further a student's foundation of such concepts before one gets into a discrete math class.
Example 3.1(e): Prove , where , , , and . Let us first start with what we are given: . One common trick done in proofs is to find a way to change the expression to make things easier on us without changing the meaning of the expression itself. For example, if one wanted to find the solution to , one may want to isolate the variable . However, that cannot be done if the five is in the way, so one could subtract the five. This would change the meaning of the equation unless it is also done to the other side. This same principle could apply to proofs. Here are some common ways in which a mathematician could make their lives easier. Let be an expression of interest:
The last bullet point shall be the trick we employ for this proof. After all, we are working with fractions. However, this constant cannot simply be any number. We shall be clever and select a number that will eliminate certain terms within. This will make our life easier in the long run. First, we begin by stating the Equality Postulate (an item must equal itself):
From there, we multiply to the right side. After all, this will simplify to ( ), so nothing changes.
Next, apply the distributive property to the right hand side of ( ).
Here is the special part of the proof. Notice how that there are two terms in which two fractions are multiplied against another. We can use the property we proved in Example 3.1.d.
As before, we colored all terms that are red as terms that can be canceled. We will leave this as a trivial exercise for the reader to prove this is true. This gives us our subsequent equation:
We can rewrite the rightmost side of (. The factorable term is in blue. Therefore, we know the following can be rewritten as the final equation. ) as
The entire argument above can be condensed into the following compact argument: |
Applying Laws of Real Numbers to Derive New Mathematical Properties
Proofs are not only useful when it comes to algebraic statements but also mathematical properties in general. It may be the case that these such items are much more useful towards the latter than the former because the laws of real numbers are by themselves always true. Although empirical evidence satisfy scientists, mathematicians differ in that regard.
If at some point, we found a location in which an mathematical "property" were to be false, then we would need to modify that statement. From thereon, we need to do the same to other items that also use this property, which may include absolute statements, such as theorems. If a specific location fails and that specific location is integral to the proof, then the proof of that theorem is automatically invalid. We do not wish for this "domino effect" to occur, so we must prove statements are true through deduction (or induction, which we will not discuss).
Let us take a look at division properties again.
Example 3.2(a): Examine the two below properties listed below when dividing. Try to find a possible error in the proofs.
In both proofs (a) and (b), it relied on the property that . While there is a zero factor theorem, this does not necessarily mean that the products of two numbers, one being zero, equals zero. Therefore, this proof may be false. One needs to prove that any number times zero equals zero. |
This may seem a little nit-picky. However, this can be very important when it comes to mathematical properties. If we assumed this were true, we may fundamentally be wrong about some solutions to rational equations, may fundamentally break some models of the universe, and may fundamentally conclude absurd ideas due to a wrong assumption. Therefore, mathematicians need to be picky!
Let us therefore start this section with a proof of this statement: any number times zero is equal to zero.
Example 3.2(b): Prove any real number multiplied by zero gives zero. Let be multiplied by zero. Subtract to both sides of equation. Suppose Already shown that . Ergo, By transitive property, Factor : By the property, |
In the mean time, the property we used for this proof will not be proven until the Exponents chapter. For now, this proof should be sufficient grounds to accept the properties of rational numbers as shown in Example 3.2.a.
The next property we will prove has usually been proven in Geometry classes due to its simplicity. However, will do these two proofs next because we want to show a semi-formal proof.
Example 3.2(c): Does adding an even number to another even number equal an even number? Let , , and . If , then is even. If , then is odd. Let and . Let . From this, if are even, then is even. |
Example 3.2(d): Prove any two odd numbers give an even number. This proof will be finished later. |
More will be added later.