Arithmetic
These notes are notes on basic arithmetic. All other notes on this site assume familiarity with topics covered here.
- Speaking Mathematics
- Number Sets
- Addition
- Closure
- Inequalities
- Multiplication
- Distributivity
- Multivariable Relationships
- Exponentiation
- Radicals
- Ratios
- Division
- Absolute Value
- Logarithms
- The Binomial Theorem
- Solving Quadratic Equations
- The Factorial
- Binomial Coefficients
- Invervals
- The Cartesian Plane
- The Distance Formula
- Functions
- Function Graphs
- Slope
Speaking Mathematics
Expressions
In algebra, we use letters like and to represent numbers. We call such letters variables. When we combine these variables with mathematical operations like addition, subtraction, multiplication, etc., we have an expression. For example, the following are all expressions:
When we place an equal sign between two expressions, we have an equation:
In mathematics, the equal sign is a symbol that expresses the relation between mathematical objects. In the example above above, these objects are expressions. When we place an equal sign between two expressions, we are saying: The expression is the same, in every way, as the expression This is a proposition. Notice its gravity. There are very few things in the world that have that property — the same in every way.
We will see in later sections that equality is just one kind of relation. In fact, a significant portion of mathematics (if not most) concerns inequations — propositions like We will revisit inequations (also called inequalities) once we've established familiarity with equations.
The Domain of an Expression
All mathematical expressions have a domain — the set of all values for which the expression is defined. Less formally, the domain of an expression is essentially the boundaries of what we're discussing. For example, if we were debating the costs and benefits of capitalism, the debate might be limited to economies that exist today, rather than the economies of ancient Egypt. The basic idea is that, outside of the domain, the expression is undefined — all bets are off.
For example, the expression has a domain of , since it is defined for all real numbers. We denote the domain of with the notation: . Example: What is the domain of ?
We impose restrictions on the domain, since and lead to the denominator evaluating to 0, which is undefined. For example, what is the domain of ?
Truth Sets
Because expressions contain variables, an equation is true or false if, and only if, we substitute values into those variables. Until then, an equation is neither true nor false. If a value is inputted and the equation is true, we call that value the solution, or root, of the equation. The set of all roots to an equation is called the equation's truth set.
If an equation's truth set is the equation's domain, we say that equation is an identity. For example, the equations:
are identities. Both equations have a domain of , and substituting with any real number will render the equations true.
Open Sentences
Consider the following:
The above is clearly an equation, but more broadly, it is called an open sentence — a statement that contains a variable, and becomes a proposition when an element of the universal set is substituted for the variable. In this case, the universal set is the set of all real numbers, If we substitute an element of the universal set, into the variable, we obtain a false proposition. But, if we instead substituted 3, another element of the universal set, we obtain a true proposition.
Like propostions, we denote open sentences with lower-case letters, with the one key difference — there is a subscript appended, corresponding to the variables used in the open sentence. For example, the open sentence above might be denoted
The rule of substituting remains applicable for variables that occur more than once in the sentence:
To return a true proposition for the sentence above, we must substitute a value into each in the open sentence.
We call these statements open sentences because they are in fact sentences. Equations, at the end of the day, are simply sentences. The equation is just another way of saying, “Two multiplied by some value is three.” The use of the symbols 2, and and arranging those symbols in a particular way, is nothing more than a means of making things more concise and easier to read. Mathematicians invent and use symbols because certain propositions cannot be expressed concisely and clearly in plain English:
“The ingegral with respect to from 0 to 3.8 of the quotient of the product of the product of the fourth power of Pi, and multiplied by the sum of the product of and the cosine of the quotient of the product of Pi and divided by the product of and the cosine of the quotient of 2, Pi, and and the square of the sine of the quotient of Pi and divided by all divided by the the fourth power of ”
Families of Equations
Equations fall into several types. Mathematicians have constructed these groupings because equations often share many properties. We will explore what these properties are carefully, but before doing so, we have some familiarity of the type names. The overview provided below is strictly informal. We will provide more formal definitions when we address each type of equation in turn.
Linear Equations
The linear equation is the simplest equation. Here are some examples of linear equations:
Notice that the number of variables doesn't prevent an equation from being classified as a linear equation. Indeed, the only requirements for something to be a linear equation is that each term is either a constant or the product of a constant and a single variable. If the linear equation consists of just one variable, we say that the equation is a linear equation of one-variable. If there are two variables, it's a linear equation of two-variables, and so on.
Despite their simplicity, linear equations are extremely important in both pure and applied mathematics. In physics, the distance an object travels, called displacement, is given by a linear equation: where is the displacement, is the final position, and is the initial position. The final velocity of an object can also be determined by the equation where is the final velocity, is the initial velocity, is the acceleration, and is the time interval. These are both linear equations.
Polynomial Equations
Polynomial equations are equations consisting of polynomials — expressions that consist of variables and coefficients where the onperations involved are addition, subtraction, multiplication, and non-negative integer exponentiation. This is a bit of a mouthful, so here are some examples of polynomial expressions:
and here are some examples of polynomial equations:
Wait a minute. Isn't that a linear equation? It is in fact a linear equation. All linear equations are polynomial equations of degree-1. But, not every polynomial equation is a linear equation. For example, a polynomial equation of degree-2:
Put simply, the degree of a polynomial equation is the leading exponent in the equation. A polynomial equation of degree-3:
Because it's fairly cumbersome to write “of degree-” every time, we have some special names for certain degrees. A quadratic equation is a polynomial equation of degree-2. For example:
A cubic equation is a polynomial equation of degree-3:
A quartic equation is a polynomial equation of degree-4:
Quartic equations are sometimes called biquadratic equations. We use the term quartic because it's shorter to write.
Polynomial equations are also classified by the number of terms the equation contains. A polynomial equation with only one term is called a monomial. For example, is a monomial equation. A polynomial equation with two terms is called a binomial. For example, is a binomial equation. A polynomial equation with three terms is called a trinomial —
Quadratic Equations
Quadratic equations are equations in one variable that can be written in the form:
If we seek to determine the the truth set of a quadratic equation (i.e., the set of all roots, or values of where the equation is true), our first course of action is to factor. And whenever we factor, we should be cognizant of the basic law of multiplication:
Example: What is the value of in
Subtracting from both sides, we get:
Factoring:
Solving for for one of the expressions:
And for the other expression:
Thus, we have:
Trigonometric Equations
Many equations represent cycles, and wherever there are cycles, there's likely a trigonometric operator involved. Such equations are called trigonometric equations. These equations might look something like:
Exponential Equations
Exponential equations look very much like polynomials, with the distinctive feature that their exponents have variables instead. For example:
Exponential equations are often seen in mathematical models for population growth and areas of finance.
Radical Equations
Radical equations have the distinctive feature of containing one or more radicands or fractional exponents:
Rational Equations
Finally, we have the rational equations. These are equations with rational expressions or negative exponents:
Conditional Equations
The opposite of an identity is a conditional equation. These are equations that are true only if some condition(s) is/are true. For example, the following are conditional equations:
The equation is true only if it is true that . The equation is true only if there is some number that equals one more than itself (a condition that can never be satisfied, so the equation can never be true).
Equivalent Equations
Equivalent expressions are represented by expressions. Equations themselves can be equivalent. Two equations are equivalent if, and only if, they have exactly the same solutions.
Inequations
Most critical findings in mathematics result from inequalities rather than equations. And understandibly so — it is often easier to determine whether particular expressions are greater or less than others, in comparison to concluding that they are equal. Whenever we replace the equal sign in an equation with one of the symbols or we obtain an an inequation. Both equations and inequations are mathematical statements. As such, inequations, like equations, have truth sets — the set of all values that render the inequality true if any member of that set is substituted into a variable, or variables, of the inequality.
For example, suppose The value would be a member of the inequation's truth set, since The value however, would not be a member of that truth set, since We can find the entire truth set for the inequation by solving for , using the same techniques for equations:
Although inequations can be solved by mostly applying the techniques for equations, there are some situations we should take care when handling. Particularly, we must be careful whenever we multiply or divide both sides of an inequation by the same nonzero number.
For example, suppose If we multiplied both sides of the inequality by 10, we would obtain Clearly this is true. But if were to multiply both sides by -5, we would obtain This is false. This observation returns 2 general rules:
lemma. If both sides of an inequation are multiplied or divided by a positive real number, then the inequation is preserved.
lemma. If both sides of an inequation are multiplied or divided by a negative real number, then the inequation is reversed.
More explicit rules:
lemma. If then and
lemma. If and then and >
lemma. and then and >
lemma. If and then
Number Sets
Numbers have been around for a long time. Early humans used all sorts of ways to record their enumerations: Scratches on cave walls and bones; knots on strings; pebbles and shells; notches cut into twigs — all attempts to quantify, to make sense of the environment. It's as if the numbers revealed themselves magically.
But what is it really magic? Or was it purely out of necessity? The intuitive response is that our ancestors needed to quantify objects. Perhaps the earliest hunters needed to determine how much game was needed for the village. Or the chief having to decide a fair tribute. But this response neglects the fact that our forebears weren't just concerned with survival. They were also deeply superstitious.
Some of the earliest forms of counting date to religious ceremonies and mysticism. Many of these ceremonies required ordering participants and events, hinting at the possibility that the ordinal numbers — numbers used to denote position — came before the cardinal numbers — numbers used for quantity.
Indeed, there's a plausible argument there. Some of the earliest forms of the cardinal numbers were rudimentary and simple, in contrast to their ordinal counterparts. Cardinal numbers were limited to and anything beyond that was a word for "many" or "lots." Moreover, the view that the ordinals preceded the cardinals would be in line with the recurring phenomenon of dividing the integers into "male" and "female," an idea that would eventually lead to "odd" and "even."
Regardless of whether the ordinal or the cardinal came first, the human need for numerating grew increasingly complex. And as complexity increased, so too did our sophistication. Sticks, stones, and bones were too ephemeral, so we developed number systems to more efficiently analyze our states of affairs. As far back as 3600 BC, the Ancient Egyptians used a numbering system where every unique characters could be abstracted, or symbolized, by a new, unique character. The Egyptian system evidences one of the earliest forms of a base-10 system, or decimal system. Unlike the number system we're familiar with, the Ancient Egyptian number system introduced a new symbol for every symbols. In other words, a symbol for then for every ten , a symbol for then then then then and so on.
Centuries later, the Greeks concocted their own number system, where a unique character for was introduced. The ancient Romans followed suit, utilizing the familiar capital letter numerals now relegated to formal headings and cryptic date tattoos. The numerals and are derived directly from using three fingers to symbolize the numeral from the angle formed by all five fingers; and from the joining of two The numeral represented and half of a — an — represented The numeral represented Split it in half and turn it on its side, we obtain something that looks like the numeral for
The ancient Mayans too had a sophisticated and flourishing number system, where dots and tallies were used as numerals. The beauty in the Mayan system was its strong connection to addition. Numerals logically followed from arithmetic. In contrast to the Egyptians, Greeks, and Romans, the ancient Mayans introduced a new, unique character for every symbols, an example of a base-20 system, or vigesimal system. Moreover, like the ancient Egyptians, the Mayans understood the need to represent zero and assigned it a unique symbol — well before zero was accepted in Europe.
Ancient China, whose characters made their way into the Korean peninsula and the Japanese isles, developed a number system from a mixture of pictographs and arithmetic. Unlike the Mayans and their connection to addition, the Chinese number system draws directly from multiplication and addition. By incorporating two arithmetic operators, the Chinese number system allowed for a smaller set of numerals, which in turn permitted efficient enumeration of large quantities.
The numerals we use today are the Hindu-Arabic numerals, derived from Hindu and Arabic number systems. Developed about years ago in India, the numerals made their way into Europe, via the Spanish peninsula. The Moors (Spanish Muslims), in their search for trade, brought both the Hindu-Arabic numerals and Ancient Greek philosophy, preserved by Arabic scholars. In the 12th century, Leonardo Fibonacci, for whom the Fibonacci numbers are named, furthered the numerals spread into continental Europe. By the 15th century, the Roman numerals — until then the predominant symbols — were entirely replaced by the Hindu-Arabic numerals we know today.
All of this is to say that there is a distinction between a numeral and a number. The numeral is purely a symbol. We could have just as easily continued using Roman symbols to do mathematics, just as medieval Europeans did. Understanding this distinction is crucial for when we study numbers. The Chinese symbol 五 is different from the Hindu-Arabic symbol , but they both communicate the same idea — the number five. Often, we'll find that numerals are inappropriate for a particular analysis because of the underlying idea they communicate — a discrete number. In those situations, we must let go of the numeral abstraction, and think in different terms, different symbols, and different relationships. To do so effectively, we study the properties of the real numbers.
The Natural Numbers
We define the natural numbers as the positive integers including zero (i.e., the nonnegative integers). These are what we refer to as the counting numbers in regular speech. Importantly, mathematicians differ on whether is a natural number. This is more a matter of convenience than anything else, but in these materials, we follow the premise that is a natural number. If there is a variation, we will explicitly state that is not included in the set.
Some texts define the natural numbers as the positive integers, and instead refer to the nonnegative integers as the whole numbers. For reasons beyond the scope of the current discussion, defining the natural numbers as including zero has benefits for later sections.
Integers
The integers are the numbers we use for counting (also called the cardinal numbers in other contexts), and their negatives. They are denoted with the special symbol, from the German zehr, meaning "number".
Some elementary mathematical texts call the counting numbers the whole numbers, and go so far as to denote them with the symbol This terminology is seldom used in higher level mathematics, so we'll stick to the more common integers. Nevertheless, the idea of a whole number is helpful for communicating the notion of an integer, so we'll momentarily use it.
But what is a whole number? We can think of the whole number as such: If a number has at least one non-zero digit after its decimal point, then it is not a "whole number" because we cannot count from or to zero with that number exactly 1 unit at a time on the number line. For example, is not a whole number, because no matter how much we try, to get to zero, we have to subtract This is not 1 unit, so it does not constitute a whole number. And since it does not constitute a whole number, it is not an integer.
The whole numbers greater than are called the positive integers. We can think of these numbers as the numbers we use to count forwards (e.g., inserting a certain amount of objects into a space).
Notice symbol for the set, a zehr with a superscripted plus sign. And the whole numbers less than are called the negative integers. Here, we can think of these numbers as the numbers we use to count backwards (e.g., removing a certain number of objects from a space).
The number is neither negative nor positive. It has a special duality: It is both a non-positive and non-negative number. The non-positive integers are negative integers including zero:
and the non-negative integers are the positive integers including zero:
Rational Numbers
When we divide one integer by another nonzero integer, we get a rational number. Specifically, if, and only if, a number can be written in the form , where is an integer and is a nonzero integer, then the number is a rational number. For example, 4 is a rational number, since 4 can be written as . 0.5 is a rational number, since it can be written as .
Irrational Numbers
If a number cannot be written in the form , where is an integer and is a nonzero integer, then the number is an irrational number. For example, the number is an irrational number, because it cannot be written in the form .
Real Numbers
and all of these numbers are called real numbers. In the simplest terms, a real number is a number that can be written as a decimal. Thus, 7 is a real number, since Similarly, while is an irrational number. It is a real number since it can be written as a decimal (), albeit non-terminating.
Real numbers are written in decimal notation. This is the prevailing standard (with the exception of binary, favored by computers). The decimal system is useful because it allows us to quickly add numbers through the process of carrying over.
Complex Numbers
Outside of the real numbers, we have the imaginary numbers. These are the numbers that result from operations such as . We will treat and analyze this numbers in a separate chapter.
Laws of Arithmetic
The following materials discuss arithmetic, the set of rules and conventions governing the manipulation of numbers. The word arithmetic is derived from the Greek arithmetike, meaning "art of counting," which is itself derived from the Greek arithmos, meaning "number."
There are four basic arithmetic operators:
Symbol | Operation |
---|---|
Addition | |
Subtraction | |
Multiplication | |
Division | |
Exponentiation |
Above, we used the letters and . These are called variables. They are simply placeholders that we can plug numbers, other variables, or even other operations with variables into. Variables allow us to generalize, or abstract, statements. For example, , and . We make an abstraction of this pattern, or idea, by writing something like This communicates the idea, "The number is the sum of and "
There are many ways to read an equation, but they all express the same idea. The human mind, however, is a peculiar thing. Often, reading and writing the same equation in different ways can lead to drastically different insights. Consider all the different ways we can read The sum of and is The number is the sum of and The numbers and such that the sum is The number is the difference of and
All of this is to say that addition and subtraction are just fast and flexible ways to express counting forwards and backwards. For example, the expression is just another way of saying "Count positions from ." This leads to: This in turn is just another way of saying "Count positions from " or "Count position from " Notice that with these addition (and subtraction), we are just offsetting from one or the other of the operands. is simply "1 offset 1," which is
All of this evidences that addition and subtraction are abstractions of counting. Abstractions are useful because they allow us greater flexibility and accuracy with our statements. Suppose we want to say, "I'm looking for two numbers that add to 10." We can write: . This flexibility and accuracy is a powerful tool in mathematics, because it gives us plenty of room to write statements that say what we can and cannot do — rules.
Understanding the basic rules of arithmetic at a very high level is priceless in mathematics. Part of the elegance and power of mathematics is that we can arrive at beautiful, and often shocking, results from a set of very basic rules.
Order of Operations
Arithmetic allows us to combine numbers, through the operations listed above, to form other numbers. The way we order operations matters in mathematics. Otherwise, we run into problems. For example, consider the following:
What does this expression mean? Well, it could be: (1) Add 2 and 3, then (2) multiply the sum by 4. Or, it could mean: (1) Multiply 3 and 4, and (2) add 2 to the product. This ambiguity is unacceptable in mathematics. We need be clear and precise with our words. For these reason, mathematics follows a few conventions on how to write mathematical expressions:
- Evaluate expressions in parentheses first, working from the inner most to the outer most, applying the rules below.
- Perform all exponentiations.
- Perform all multiplications and divisions from left to right.
- Perform all additions and subtractions from left to right.
The conventions above are collectively called the order of operations. Again, these are conventions. They are not universal truths; they're simply what mathematicians have come to agree to about how mathematics is communicated and understood.
Addition
Addition can be thought of as moving to the right along the real number line by whatever number we are adding. So, for example, the expression can be thought of as "Start at 4, and move 2 to the right." This give us the final destination of 6. Subtraction is really just addition, only instead of moving towards the right, we move towards the left. For example, is really , returning 1. Visually:
Identity Property of Real Addition
Pius, a bank robber, goes to Ultimate Safety Bank, and robs it. He leaves with 4,000 dollars. Pius then goes to another bank Safer Bank, 4,000 dollars and fake gun in hand, and tells the teller to put the money in the bag. The teller takes the bag, disappears below the counter, and pretends to place money in the bag; the teller, in fact, didn't place anything in the bag. She returns the bag, and Pius sprints out the building to his e-scooter, and zooms away. He gets home and opens the bag. How much money does Pius have?
Pius starts with 0, then takes 4,000 from Ultimate Safety, then goes to Safer Bank, and gets 0. When we add 0 to a number, we are effectively saying "no movement" along the number line. Thus, we have the following rule:
identity property of addition. Given it follows that
Real Subtraction
Knowing whether operands are negative or positive can allow us to immediately conclude certain propositions. First, the sum of two positive integers is a positive integer.
theorem. If then
From the rule property above, we have a further property: The sum of two negative numbers is a negative number.
theorem. If then
The operation of subtraction is not exactly an independent operation. Really, subtraction is just addition with a negative. The "operation" of subtraction is really just a shorthand way for writing out addition of positive and negative numbers. For example, when we write < we instead just write It's just a faster way of writing the same expression.
The identity property of addition leads to the additive inverse. As aforementioned, subtraction is really just adding negative numbers. Considering the addition with zero rule, we have the following inference:
additive inverse. Given
Given the equation , we say that is the additive inverse of Whenever we see the equation , we should immediately become aware that we and are on opposite sides of 0 on the real line. Furthermore, because , subtracting from both sides, we have .
The additive inverse also allows us to draw another inference. Given the equation we should immediately know that Similary, if we see the equation then we should immediately know that
Commutativity of Real Addition
The commutative law of addition states that:
In other words, the order of the terms in an addition expression does not change the sum of those terms. We call the property above more generally as commutativity. One way to remember it: In addition, terms can "commute."" In other words, the terms can move around as they please, as long as they stay within addition (and as we'll see later, multiplication).
The idea is made apparent from a simple analogy. If we want sweet iced tea, we can: add the tea, then the ice, then the sugar; or we can add the sugar, then the ice, then the tea; or we can add the tea, then the sugar, then the ice, and so on and so forth. Either or, the result is the same — sweet iced tea.1
Associative Law of Addition
The associative law of addition states that the sum of the terms does not depend on the grouping of the terms. In other words, we can group the terms however way we'd like.
associative property of addition. If then
We call the property above more generally as associativity. We can remember it as: In addition, the terms are free to associate. In other words, the terms can gather together or separate as they please, as long as they stay within addition (and again, as we'll see later, multiplication).
From the definition above, if we have the expression we can generate numerous different possibilities:
All these possibilities are equivalent, but some may be easier to compute than others. The associative law of addition leads to another useful property:
theorem. If , then and .
The above property is the direct result of subtracting either or from both sides. Associativity and commutativity are what allow us to rewrite expressions in numerous different ways:
Importantly, the associative property of addition does not apply to subtraction. For example, does not imply that is equivalent to but it is not equivalent to The proposition is true iff
The Cancellation Law of Addition
The Cancellation Law for Addition Suppose we have the following relationship:
Subtracting from both sides, we have . Simplifying, we have: .
cancellation law of addition. If , then .
Closure
property. Let then and
From the property above, we say that the reals are closed under addition and multiplication. In other words, if we add two reals numbers, then the sum is a real number. If we multiply two real numbers, then the product is real number. We can draw a few other useful properties.
Inequalities
Inequalities arguably appear more often than equalities in mathematics. This is because equality imposes an extraordinarily high burden of proof: When we write we are implying that and are the same in every possible way. Because of that burden, we often must speak in terms of relativity, using the symbols Let's discuss how each of these symbols are used and the propositions they can express.
First, when we write we are stating, is greater than _ The same proposition can be written as
Second, if we say that is negative. If we say that is positive.
Third, the inequality symbols operate similarly to the equal sign: There are two sides, and we can manipulate the expression accordingly — so long as the expression remains true. For example, consider the proposition We can manipulate this expression as such:
We see that given the expression it follows that is positive. This analysis leads to several laws. First, the Trichotomy law:
Trichotomy Law. For every one, and only one, of the following propositions is true: >
The rule above tells us that every real number can be only one of three things: zero, positive, or negative. Those are the only three possible states. Nothing else. Additionally, we have the laws of closure. We can think of these laws as defining the boundaries of addition and multiplication. First, the law of closure under addition:
Closure Under Addition. If and are in then is in
And the law of closure under multiplication:
Closure Under Multiplication. If and are in then is in
Complementing the laws above, we have the following definitions:
Definition. Given any two numbers and the following propositions hold:
As a consequence of the definitions above, we have:
definition. Given any two numbers and exactly one of the following propositions is true:
- xor
Manipulating the above definitions, we have:
Definition. Given any two numbers and exactly one of the following propositions is true: xor
That is to say, given any numbers and one is less than or equal to the other.
Multiplication
Multiplication is simply repeated addition. Accordingly, we can think of multiplication as an even faster method of counting. For example, is just another way of saying "Move 2 positions 2 times forward, from the origin." This leads to 4. Similarly, is equivalent to, "Move 2 positions 3 timees backward, from the origin." This leads to This reveals that whenever we write the expression there's an implicit Whenever we multiply integers, the following rule holds true:
Closure Property of Multiplication. The product of two integers is an integer.
Laws of Multiplication
Like addition, there are several laws of multiplication. These are equivalent to the laws of addition with just a few differences.
Commutative Law of Multiplication.
The commutative law of multiplication states that we the order in which we multiply two real numbers and doesn't affect the result. In other words, we can freely move terms around and arrive at the same product.2
Commutative Property of Multiplication. >
Reciprocal Law of Multiplication
What is the result of Clearly, it is How about It's also Indeed, will always return where is a real number. We call this the reciprocal law of multiplication:
Reciprocal Law of Multiplication. Given any there exists a number such that:
While we haven't covered exponents yet, the notation is the same as the expression . We call the number the reciprocal or the multiplicative inverse of the number The law above tells us that multiplying a real number by its reciprocal always yields the number as long as that real number isn't Why not Because if then we would have the reciprocal And for our purposes, division by is always undefined.
Associative Law of Multiplication
The associative law of multiplication tells us that we can group factors however way we'd like, and still arrive at the same product.3
Associative Property of Multiplication.
The laws of commutativity and associativity apply whether , , and are negative, positive, or 0.
Multiplication by Zero
A man goes to a café and asks the barista for a Bombón. The barista asks, "How many tablespoons of sugar would you like?" The man replies, "Zero."4
Question: How many table spoons of sugar would the man get? Very clearly zero! Zero of something is zero. We state this property of multiplication formally:
Zero Property of Multiplication. Given any real number >
Identity Property of Multiplication
Ayuri is about to walk to a smoke shop to buy some flavored tobacco. She asks her roommate Elena, "Do you want any flavored tobacco?" looking for flavored tobacco. Elena responds, "I do need some flavored tobacco." "What would you like?" Ayuri asks. Elena answers, "Surprise me." At the smoke shop, Ayuri asks the shopkeeper what flavors of tobacco the shop has. The shopkeeper says, "There are 100 flavors — tobacco, mint, mango, lemon ... " enumerating each. After several minutes, Ayuri responds, "One of each!" Ayuri returns home with a heavy bag, greeted by her roommate Elena with, "Good grief, how many did you buy?" Ayuri stares, "100 I think.".
The computation above is governed by the identity law of multiplication. More formally:
Identity Law of Multiplication. Given then:
The above rules allow us to perform elaborate simplifications:
The above example represents a useful technique when handling expressions involving multiple factors: group all of the integers into a single multiplication expression, and all of the variables elsewhere.
example. Numbers consisting entirely of the digit "8" are added, resulting in the sum 1000. What are these numbers?
First, assume the following:
What we know: Each number ends with an 8. Since the sum is 1000, the sum of the last digit, an 8, is 0.
example. How many 8s do we need to arrive at a sum where the last digit is 0? At least five 8s, since . Thus, we have:
Now note that there is a 4 that must be carried to the next place. To keep the sum's digits 0, we need a sum of 8s and a 4 that returns the last digit 0. We know that . Further, we need one more 8 to get a 10:
Thus, the numbers are 8, 8, 8, 88, and 888.
example. Suppose the following:
The denote some digit, the denote another digit, and denotes a third digit. What are these digits? To start, we are looking for a number where , where and are digits. Furthermore, , where and are digits. Then, . Next, we note that must result in a two digit number. Second, we further note that appears in the thousands position of the result (). Because appears in the thousands place, no other digit can be carried over into the thousands place. There is only one number for that can satisfy these conditions: 9.
example. Daniel claims that he can multiply any three-digit number by 1001 instantly. If his friend, Helga, says to him, "715" he gives the answer immediately. Compute his answer and explain Daniel's secret.
First, . We can see this with the multiplication algorithm:
Under the multiplication algorithm, Daniel simply takes the three digits, ABC, and performs the following:
Then, he adds the numbers, shifting one place to the left on each line:
The result then is , a repetition of the digits . Note further that there are two 0s, and the digits are repeated twice.
example. Compute . The multiplication algorithm tells us that we are simply shifting the number 57 over and over, but, with an added 0, since the the first place does not shift:
Thus, the product is 5757575757.
example. Compute . Solution We can compute this with the following:
Thus, the product is 10204060804050.
example. Compute . Rewriting the expression with the multiplication algorithm:
Distributivity
With the rules thus far, we can make even further inferences. We know that if , then and . Thus, if , then it must be true that , since and . If , then it follows that . Rearranging the equation, we have . Rearranging again, we have: . This yields the following inference:
Note that we should always be vigilant about distributing a minus sign to a sum involving negative numbers: . To ensure that vigilance, we should make the following rules clear:
lemma. If and are positive integers, then is a positive integer.
lemma. If and , then
We can see that these rules are true with a simple proof. Let and , where and are positive. It follows then that . Since and are positive, is positive. Since is positive, it follows that is negative, because is positive only if is negative. This analysis hints at another law, the distributive property.
distributive property. If then:
With the distribute property, we have another way of proving that
The distributive property is also what leads to what at first appears to be a mysterious rule: The product of two negative numbers is a positive number. First, we start by proving that
Because we can make the following inferences. First, the factor Adding to both sides:
Adding to both sides:
Multiplying we get:
Anoter example: Multiply
Multivariable Relationships
Suppose we know the following relationship:
Three number relationships are ripe for inferences. If we add to both sides of the equation, we obtain . Simplifying, we have . We can then infer:
example. Add 357 + 17999 + 1 without paper and pencil.
example. Add 899 + 1343 + 101 without paper and pencil.
example.
example. Prove:
example. Prove: Following the rule . Then, by associativity, . By commutativity, Following the rule , it follows that Therefore,
Expansions
There are some expansions that every student in mathematics should know. An expansion is just a way of rewriting — expanding — a shortened expression. The expansions are the following:
The Multiplication Algorithm
The law of distributivity is what leads to the multiplication algorithm we're all farmiliar with from elementary school. The multiplication algorithm allows us to compute large numbers without the need for memorization. For example, :
Similarly:
The algorithm above is really an embodiment of applying the distributive property:
Exponentiation
We can get by with the operations of addition, subtraction, multiplication, and division alone. However, having just these operations would be particularly cumbersome for many mathematical statements. Consider for example, the following expression:
This is difficult to parse, and delimiting with parentheses and operator symbols is no better:
Even worse:5
Because of this difficulty, we have the special operation of exponentiation. We can think of this as repeated multiplication. And because multiplication is already a pretty fast way of counting, exponentiation is even faster.
From the multiplication example, we have the following rule:
product rule of exponents. For any given and
Now, consider the following:
Really, this reduces to:
The computation above provides us this rule:
the quotient rule of exponents. For any and > such that >
and this rule:
the negative rule of exponents. For any and >
From the Quotient Rule of Exponents, we can observe:
Thus, we have the rule:
the zero exponent rule. For any >
The Zero Exponent Rule as applied to the number — — is a point of debate. Some mathematicians treat 0 as In algebra and calculus, however, In computer science, programming languages handle in numerous different ways; some languages provide an explicit value (i.e., 1), others undefined, others return an error.
Each approach has valid premises. If you consider as a function of two variables, then we have a problem with the definition If we approach 0 along the line then following the definition, However, if we approach 0 along the line then we get This would mean Thus, continuous mathematics generally treats
On the other hand, discrete mathematics treats In set theory, denotes the set of all functions from to If and denote the cardinalities (i.e., the "size" of the sets) then is the size of the set of all functions from to If we use the value 0 for and then 0 denotes the empty set — is the collection of all functions from the empty set to the empty set. This is the empty function. There is one, and only one, empty function. Accordingly, Thus, it must be true that
In these materials, we will limit the Zero Exponent Rule to a number where Next, consider the following example:
This expression captures:
Following the associative property of multiplication:
Again, we have another rule:
the power rule of exponents. For any and >
Using the commutative and associative properties of multiplication yields another inference:
Thus, it follows that:
the power of a product rule of exponents. For all given a
This rule leads to another rule. Consider the expression Expanding and reducing this expression with the negative rule of exponents, we get:
Applyting the definition of an exponent:
Then by commutativity:
And by the product rule of exponents:
Finally, by the negative rule of exponents:
This yields the rule:
the power of a quotient rule of exponents. For all and any
Perfect Powers
With exponentiation, we arrive at several special properties. First, we have the notion of a perfect square. The set of all perfect square looks something like:
Notice the pattern. These are all numbers that can be written in the form where is some integer. for example, is a perfect square because it can be written as So too are and They can be written as and respectively. Formally:
definition. A perfect square is a positive integer such that:
Alongside perfect squares, we have the perfect cube. The set of all perfect cubes looks like:
And the formal definition:
Definition. A perfect cube is a positive integer such that:
Both perfect squares and perfect cubes are examples of perfect powers. In other words, we can have a "perfect tesseract"6
Definition. A positive integer is a perfect power of iff:
Radicals
By introducing the exponentiation notation, it would be very helpful to have notation that quickly reverses the results. This notation is provided by the radical. The syntax:
The Square Root
Suppose we have a number where The square root of is the number that, when multiplied by itself, i.e., returns Now, that number may be positive or negative, because squaring two numbers, positive or negative, yields a positive number.
definition. Given is the number where such that
From the square root definition, we have the following rule:
The Product Rule of Square Roots. Given and
When simplifying radical expressions, there is a useful algorithm:
- Algorithm. Given a square root radical expression:
- Factor perfect squares from the radicand.
- Write the radical expression as a product of radical expressions.
- Simplify.
For example, consider implifying the following radical expression:
Factoring the perfect square:
By the product rule:
Then, simplifying:
Here's another example. Consider this square root:
Factoring:
Then, by the product rule of square roots:
And simplifying:
By commutativity:
Another useful algorithm is combining multiple radical expressions into a single radical expression:
- Combine all the multiple radical expressions into a single expression.
- Simplify.
For example, consider the radical expression: We can multiply the this expression's terms into a single expression:
The Quotient Rule of Square Roots
The Quotient Rule of Square Roots natural results from multiplication. First, suppose the following:
- and
This implies that and Next, suppose exists a nonnegative number such that It follows that, by substitution:
Hence,
by Assumptions 2 and 3. Thus, we have the following rule:
Property. Let Suppose where Then:
The rule above is particularly useful for rational expressions, which often contain radicands. Here's a useful algorithm for handling such expressions. Given a radical expression in the form of a quotient:
- Write the radical quotient has the quotient of two radical expressions.
- Simplify the numerator and denominator.
Adding and Subtracting Square Roots
We can add or subtract radical expressions only if (1) they have the same radicand and (2) they have the same root. For example:
Radican expressions can often be simplified by rewriting the relevant expression as a sum, followed by reductions.
Here's a helpful algorithm. Given an expression that adds or subtract radical expressions,
- Simplify each radical expression to yield as many equal radicands as possible.
- Add or subtract expressions with equal radicands.
nth Root
The proposition implies that Thus, the phrase "the root of " implies a number that, when raised to the the power, equals
If is a real number with at least one root, then the principal root of is the number with the same sign as that, when raised to the power, equals
Definition. Let where has at least one root.
Then the principle root of written as is the number with the same sign as such that, when raised to the power, equals We say that is the index of
Rational Exponents
Rather than using a radical symbol, we can express radical expressions with rational exponents. Needless to say, the index of such an exponent must be a positive integer:
A useful fact: If the index is even, then cannot be negative.
We can also have rational exponents with numerators other than 1. If the numerator is a number other than 1, then we raise the base to a power and take an root. The numerator tells us the power, and the denominator tells us the root:
Here's a useful procedure for handling rational exponents. Given an expression with a rational exponent:
-
Determine the power by looking at the exponent's numerator. Determine the root by looking at the exponent's denominator.
-
Using the base as the radicand, raise the radicand to the power and use the root as the index.
Ratios
The ratio of two quantities tells us the relative sizes of the quantities. For example, if we say, "There were 3 bachelors for every 5 bachelorettes," are expressing the ratio:
The use of a colon is often helpful when expressing the relative sizes of the quantities of multiple discrete objects: The sentence, "For every 1 house on Main Street, there are 2 cats and 100 mice," may be expressed as:
Example: The ratio of instructors to professors at the conference is 3:4. There are 84 total conference attendees, of which only instructors and professors attended.
Suppose is the number of instructors, and is the number of professors. Write an equation using the ratio information. Remember, a ratio tells us nothing about the actual sizes of the sets. It only gives us relative sizes. Thus, we know that:
Write an equation using the total number of conference attendees. We know that only instructors and professors attended. Hence:
Question: How many professors were at the conference? We solve the system of equations. First, isolate the in the first equation:
Then, substitute:
Example: The ratio of papayas to mangoes to rambutans in the fruit basket is 2:3:30. Only papayas, mangoes, and rambutans comprise the fruit basket.
What is the number of mangoes to the number of fruits in the fruit basket?
From the ratio, we know that there are at least 2 papayas, 3 mangoes, and 30 rambutans. Thus, there total fruits. Hence:
Suppose there are 385 fruits in the fruit basket. How many mangoes are there? The ratio of mangoes to fruits is Thus, we have:
where is the total amount of mangoes. Solving for :
Exercise. Shylock has a jewel box filled with only emeralds and rubies. The ratio of emeralds to the total number of jewels in the box is If Shylock adds 4 emeralds and removes 10 rubies, there will be twice as many emeralds in the box as rubies. How many jewels were in the box originally?
Let be the number of emeralds, the number of rubies, and the total number of jewels. We know that the box consists only of emeralds and rubies, so:
Thus, the original ratio of emeralds to jewels can be expressed as:
Next, we are told that if Shylock adds 4 emeralds and removes 10 rubies, there are twice as many emeralds in the box as there are rubies. This statement expresses a ratio:
Once more, we can express this ratio as a linear equation:
We know so we can substitute:
Since we know there are rubies. Thus, there are jewels in the box.
Exercise. 9 out of every 11 of Daniel's lawyers recommended against the merger. The rest said recommended it. 18 of Daniel's lawyers recommended the merger. How many lawyers does Daniel have?
Suppose is the number of lawyers against the merger, and is the total number of lawyers. Thus, we have the following ratio:
Since there are exactly 18 lawyers who recommend against the merger, there are lawyers who recommend the merger. Thus:
Now we merely must solve for
Daniel has 99 lawyers — a hefty bill.
Exercise. The ratio of correct answers to all answers is 7/10. What is the ratio of incorrect answers to the number of correct answers?
Because there are at least 7 correct answers, the remaining 3 answers are incorrect answers. Thus, the ratio of incorrect answers to correct answers is 3/7.
Exercise. Nio is given a bag filled with pills. There are only red, blue, and green pills. The ratio of red pills to blue pills to green pills is There are 27 green pills in the bag. How many total pills are in the bag?
We know there are 27 green pills. For every 3 of those pills, there is 1 red pill. Thus, there are red pills. Then, for every 1 red pill, there are 5 blue pills. Thus, there are blue pills. The total number of pills then is:
pills. Alternatively, we know that with just the ratio, there are total pills. Hence, the ratio of green pills to total pills is Suppose is the total number of pills in the bag. Because there are 27 green pills total, we have:
Exercise. Two-thirds of Thneedville's residents voted for executing Order 66. If 634 residents did not vote for executing Order 66, how many residents does Thneedville have?
Since 2/3 voted for, we know that 1/3 did not vote for. We know that 634 total did not vote for, so we have the ratio:
where is the total. Solving for
Thneedville has a total of 1,902 residents.
Exercise. Count Dracula changes height several times. The ratio of his original height to his second height is 24:5. The ratio of his second height to his third height is 1:12. The ratio of his original height to his fourth height is 16:1. The tallest of these four heights is 10 meters. What is Dracula's shortest height?
There are four heights total. We denote each with and We thus have the following ratios:
Since is we know that is This means that is of
Then, since is we know that is 12 times the second height:
Since the original height is 16 times the fourth height. Thus,
From the analysis thus far, we have:
Of these values, is the largest, since its constant multiplier is Hence, we solve for with 10:
The shortest height is since its constant multiplier is Evaluating:
Hence, Count Dracula's shortest height is meters.
Exercise. What is the ratio of to if:
The objective is rewrite the equation to express a relation of The key is cross multiplication:
Exercise. If and then what is
Percentages
The word percent is likely an abbreviation for the pseudo-Latin per centum, meaning "per hundred." Denoted by the a percent is a shorthand for where Thus,
Exercise. What percent of 240 is 48?
We solve for :
Thus, is of Of course, we could have found the percentage with simple arithmetic: Then, multiplying by we get We used algebra first because it provides the appropriate approach for handling more complex percentage problems.
Exercise. 36 is of what number?
We solve for
When we increase a number by some percentage, we add the percent of to itself. For example, if we increase 100 by , we increase 100 by 1, since of 100 is 1 — 101. Likewise, if we increase 100 by we obtain 200, since of 100 is 100
Proportions
Suppose there is a ratio of two variable quantities. If this ratio is always the same, we say the two quantities are in direct proportion. For example, suppose and Now suppose that and are directly proportional. What is when Since and are directly proportional:
Another example: Suppose and are directly proportional, and What is when Since and are directly proportional:
Rational Expressions
The quotient of two polynomial expressions is called a rational expression. When handling rational expressions, we use the same rules applicable to fractions.
Simplifying Rational Expressions
Simplifying a rational expressions is no different from simplifying a fraction. The only differences is that we must often use the techniques of factorization, as well as be mindful of the laws governing variable manipulation. To simplify a rational expression:
- Factor the numerator and denominator;
- cancel any common factors
For example:
Multiplying Rational Expressions
We follow the same procedures for multiplying fractions when we multiply rational expressions: To multiply two rational expressions:
- Factor the numerator and denominator;
- multiply the numerators;
- multiply the denominators
- simplify.
For example, given:
By factorization:
Using the associative property of multiplication:
Cancelling like terms:
We can thus conclude:
Adding and Subtracting Rational Expressions
Once more, adding and subtracting rational expressions works the same way was adding and subtracting fractions: We may add and subtract the fractions iff the rational expressions have a common denominator. To ease the computation, the least common denominator — the smallest multiple that the denominators have in common — should be used whenever possible.
To add or subtract rational expressions:
- Factor the numerator and denominator.
- Find the least common denominator of the expressions — to find the
least common denominator:
- Factor the expressions.
- Multiply all of the distinct factors.
- Multiply the expressions by a form of 1 that changes the denominators to the LCD.
- Add or subtract the numerators. Simplify.
For example, given:
The least common denominator is Multiplying the expressions by a form of 1 to ensure the denominator is the least common denominator:
Carrying out the multiplication:
Simplifying Nested Rational Expressions
Often, the numerators and denominators of a rational expression will themselves contain rational expressions. They might look like:
We call such expressions nested rational expressions (the rational expressions in the numerators and denominators are colloquially called nesting rats). Nested rational expressions often strike fear in students, partly because of their size, partly because they are not often encountered. Nested rational expressions, however, are a good example of where Polish notation has an advantage over the more common infix notation (the notation above). The same expression above can be expressed as:
When encountering deeply nested rational expressions like the above, consider rewriting the expression in Polish notation and simplifying the expression from inside to outside. For most nested rational expressions, however, we use the following algorithm:
- Combine the expressions in the numerator into a single rational expression by adding or subtracting.
- Combine the expressions in the denominator into a single rational expression by adding or subtracting.
- Rewrite the overall expression as the numerator divided by the numerator.
- Rewrite the overall expression as a multplication.
- Multiply.
- Simplify.
For example,
Combine the expressions in the numerator into a single expression:
Rewrite the expression as multiplication:
Rationalizing Radical Denominators
Rational expressions can contain radicals in the denominator. These can be cumbersome to handle, and it is almost always best to simplify them.
To remove radicals from the denominators of rational expressions, we multiply the radical expression by the form of 1 that will eliminate the radical. If the denominator contains a single term, we multiply the rational expression by its reciprocal. I.e., if the rational-radical expression is we multiply the expression by
Now, if the denominator of the rational-radical expression contains the sum of a rational and an irrational term, we multiply the numerator and the denominator by the conjugate of the denominator — the expression wherein the sign of the radial portion of the denominator is made opposite. For example, if the denominator is then the conjuage is
Given a radical expression of the form
- Multiply the numerator and the denominator by the radical in the denominator.
- Simplify.
Division
Of the core arithmetic operators, division is the most complex. In any discussion of division, we must first begin with two subsets of integers, the even integers:
and the odd integers:
Notice that both the even integers and the odd integers increment by 2. The difference, however, is that the even integers start at 2, and the odd integers start at 1. A number's property of odd-ness or even-ness is called the number's parity. Note that parity is a property held only by the positive integers. The negative integers are neither even nor odd. We can abstract this idea with algebra: An even integer is an integer that can be written as where is a positive integer. Denoting the set of even integers with the symbol and the set of positive integers with the symbol we can define an even integer more formally as:
Definition. Let > I.e., an integer is even if, and only if, it can be written in the form where is a positive integer.
For the odd integers, we write:
Definition. Let >
I.e., an integer is odd if, and only if, it can be written in the form where is a positive integer. Alternatively, we can define odd integers as the following:
Definition. Let >
In other words, an integer is odd if, and only if, it can be written in the form where is a natural number.
The only meaningful difference between the first and second definition is whether is a natural number or a positive integer. In other words, whether can be 0. If can be 0, then we must change the definition from to because if then is neither odd nor even, because parity is a property that applies only to positive integers (0 is also neither odd nor even).
Knowing the parity of two integers allows us to quickly determine the parity of their sums:
lemma. Let Then:
That is, the sum of two even integers is an even integer; the sum of an odd integer and an even integer is an odd integer; and the sum of two odd integers is an even integer. From the rule of addition by 0, we also have the following propositions:
lemma. Let Then: >
Let's prove the first property. First, the hypothesis to be proved:
Let If and then
Because and are even integers, then by definition, and can be written in the forms:
where . Thus, by substitution, the expression can be written as:
By distributivity:
The sum of two positive integers is a positive integer. Accordingly, the sum of and is some positive integer As such, the expression can be written as:
Because is an expression of the form then by definition, is even.
Now let's prove the second. Again, we'll use a direct proof. First, the hypothesis to proved:
Let If is even and is odd, then is odd.
Suppose is even and is odd. Then by definition, and are positive integers of the form:
where is a positive integer, and is a natural number. It follows that:
Then, by commutativity:
And by associativity:
Given that is a positive integer and is a non-negative integer (since is a natural number), is a natural number. Accordingly:
where which is some natural number. Hence, must be odd, by definition.
Parity provides yet another proposition:
Lemma. Let Then
The proposition above tells us that the square of an even integer is even, and the square of an odd integer is odd. Let's prove it.
The method here is by direct proof. There are two hypotheses to be proved:
- If is even, then is even.
- If is odd, then is odd.
We prove each hypothesis in turn, beginning with the first.
Suppose Since is an even integer, then by definition, is a positive integer of the form where is a positive integer. By substitution:
Applying the definition of an exponent:
By the associative property of multiplication, we get:
And by the definition of an exponent:
Because the product of positive integer is a positive integer, the intger is a positive integer. Hence:
where is a positive integer. Because is an even integer by definition, is even.
Next, we consider the second hypothesis. Suppose Given that is an odd integer, then by definition, is a positive integer of the form where is a positive integer. By substitution:
By expansion:
By associativity:
By distributivity:
Because is a positive integer, is a positive integer. Hence:
where is a positive integer. Because is an odd integer by definition, is odd. The proposition we've just proven yields a corollary:
Corollary. Let Then:
As with many corollaries, the propositions above are implied by the previous theorem. If is even, then must be even, for if is odd, then is odd. Similarly, if is odd, then must be odd, for if is even, then is even. This is a straightforward example of logical contradiction.
Divisibility
It is from parity that we generalize the concept of divisibility. Suppose is a positive integer and is an integer. When we say that is divisible by we mean that divides We denote this proposition with the notation An integer is divisible by if, and only if, where is some integer.
Definition. Let and Then:
where
The definition above yields several useful propositions:
Proposition. Every integer is divisible by 1. Every positive integer is divisible by itself.
The first proposition is implied by the fact that every integer can be written as This in turn implies the second proposition.
Composites & Primes
From the definition above, there are two subsets within the natural numbers. Any natural number that can be grouped into a solid rectangle is called a composite number (also called compound numbers). More formally:
definition. A composite number is a natural number greater than 1, divisible by some positive integer where
The negation of this definition yields the prime numbers, numbers that cannot be grouped into a solid rectangle.
definition. A prime number is a natural number greater than 1, divisible only by 1 and itself.
Note that from the definitions above, we see that the numbers 0 and 1 have a special property: Both 0 and 1 are neither prime nor compound.
Division & Rational Numbers
The operation of division is closely tied to the rational numbers. A rational number is any number that can be written in the form:
where and are integers, and The last condition is crucial, because in this particular world (classical algebra), we cannot divide by 0. The rational numbers come in various forms:
The rule is, as long as a number can be written as where are integers and then the number is rational number.7
Otherwise, the number is an irrational number. Note what this definition means. Every integer satisfies the definition rational number definition, so we say that the rational numbers are a proper superset of the integers. In other words, every integer is a rational number, but not every rational number is an integer.
The Division Algorithm
Question: A six-digit number having 1 as its leftmost digit becomes three times bigger if we take this digit off and put it at the end of the number. What is this number?
Let the number be . Then, . Rewrite this with the multiplication algorithm:
Let's focus on . We need a digit where , where is a digit. This digit must be 7, for . We know that is 7, so what might be? Well, we need a digit where . Or, rearranging, . The only digit that would satisfy this condition is (since .
We know that is 5, so now we look at . We need a digit such that , or, rearranging, . There is only one digit that satisfies this condition, 8. Thus, .
Now we look at . What digit satisfies the condition ? It must be 2. Therefore, .
Finally, we look at . What digit results in . It must be 4, since . Hence, the digits are , , , and .
Question: Divide 123123123 by 123. Again, we use the division algorithm:
We can confirm the result with the multiplication algorithm:
Question: Can one predict the remainder when (100 ones) is divided by ?
is 7 ones. Consider a simpler case:
Question: Divide (20 zeros) by 7.
Consider a simpler case:
Let's keep adding 0s to see if there's a pattern:
We return to a remainder of 1. This tells us that if we add another 0, we're back at 10, which gives us 30, then 20, then 60, then 40, and so on.
This also tells us that after every six 0s, we return to 10. Thus, for twenty 0s, we make 3 "laps" of returning to 10, with two more "runs":
- Lap 1 (six 0s): 142857 remainder 1
- Lap 2 (twelve 0s): 142857 14285 remainder 7
- Lap 3 (eighteen 0s): 142857 142857 remainder 1
- Lap 4 (nineteen 0s): 142857 142857 1 remainder 4
- Lap 5 (twenty 0s): 142857 142857 14 remainder 2
Hence, the quotient is: 14,285,714,285,714 + 2.
Absolute Value
Given a real number be a real number, the absolute value of is the distance between and the origin. We denote the absolute value of with the notation: For example, the numbers -8 and 8 are both 8 units from the origin. Thus, and . We define the absolute value as follows:
absolute value. Given
For example, . From the definition of absolute value, we can make the following inferences:
and |
Removing Absolute Value Symbols
When we encounter expressions containing absolute values, it's often a good idea to rewrite the expression without the absolute value symbols. For example, consider the expression . Using our algebraic definition above, we can rewrite this expression:
The example above reveals useful insight. Suppose that real numbers are points along the real number line. Let and be real numbers. Because and are points along a line, the distance between and is . And since the absolute value of a number is only concerned with the distance between a point and the origin, we can infer:
For real numbers and , the distance between and is,
Absolute Values and Inequalities
Whenever we see absolute values in inequalities, we should be on high alert. Suppose that and The following rules hold:
These rules follow from observing the number line. The statement implies that is somewhere between and , which is equivalent to saying that the distance from to 0 is less than (which, in mathematical notation, is simply ).
When inequalities contain expressions couched between absolute value symbols, the inequality is effectively expressing the expression's distance from 0. For example, suppse This statement tells us that the distance of from 0 is less than 1. Because absolute values tell us the distance from 0, the statement allows us to infer:
Logarithms
Consider the number 16. How many times can we divide 16 by 2? Let's try it:
Above, we can see that we can divide the number 16 by 2 a total of 4 times. This corresponds to:
The answer to "How many times can we divide a number by this constant " is the logarithm. More formally:
definition. Given and >
We say that is the logarithm in base of The logarithm provides a way of deducing, and rewriting, the exponent of a number. For example:
Suppose that From the definition above, it follows that Then, it follows then that by substitution. We state this as a corollary:
Corollary.
If then again from the definition, It follows that provided that We again state this as a corollary:
Corollary. where
The definition and corollaries above directly lead to the laws of logarithms:
Log Laws. Where and
The Binomial Theorem
Recall that a binomial is a polynomial consisting of the sum of two monomials. In other words, a polynomial with two terms. For example, the expression:
is a binomial, where and are numbers, and are distinct, nonnegative integers, and is a variable (or more formally, the indeterminate). Taking higher powers of binomials and expanding them is a process that quickly grows tedious. To see how, let's consider a few examples.
First, let's expand This is straightforward; it's just
Similarly, isn't so bad either:
isn't terrible if we know our expansions by heart:
How about ? Well, we can carry it out:
And
Notice how these expressions are getting more and more tedious. Laying out the expansions in a table:
expression | expansion | term count |
---|---|---|
1 | 1 | |
2 | ||
3 | ||
4 | ||
5 | ||
6 |
Needless to say, expanding binomials with higher powers by hand is tedious and prone to error. Attempting to expand something like would take a very, very long time. And then after we're done, we must still go through the process of checking if our algebraic manipulation is correct.
Fortunately, there's a theorem to make our lives easier. But, before we examine this theorem, let's segue briefly into the world of counting.
Solving Quadratic Equations
There are four primary ways of finding the truth set of quadratic equations:
- using the square root method;
- factoring;
- completing the square; and
- using the quadratic equation
The next few sections explore how each of these methods are used.
Completing the Square
Given the quadratic equation ompleting the square can be summarized into a simple algorithm:
- Look at the cofficient of
- Divide the coefficient by 2:
- Square the result:
- Add the number from step 1 to both sides of the equation:
- Simplify the equation.
- Factor the result Solve for
For example, suppose we were confronted by the quadratic equation:
Applying the method of completing the square, we look at the coefficient of first. We see that it's -2. We divide this number by 2 and square it:
Then we add this number to both sides of the equation:
Simplifying, we obtain:
We factor the left-hand side, and reach
Or, with a square,
Taking the square root of both sides, we have
(always be mindful of the the fact that squares result from both positive and negative numbers). Finally, we solve for by adding 1 to both sides:
Thus, the truth set of the equation is
Why Does Completing the Square Work?
The method of completing the square follows from geometry. Suppose we had a square, with sides of length :
We know that the area of is Now suppose that we were to add a rectangle with a width of and a length of to the square. This rectangle has an area of . When we add the rectangle, we obtain a total area of
Now suppose we rearranged the resulting shape by (1) splitting the added rectangle vertically, (2) leaving one half at the original square's side, and (3) moving the other half to the square's base:
Notice that a gap is left. What might be the dimensions of the shape that would fill that gap? Well, we know that the total area of the rectange we created earlier is . We also know that the two halves we created must respectively have an area of Thus, the shape we need to fill the gap must have an area of , or, simplifying the expression,
To see the connection to the algebraic method, consider the shape above without filling the gap. That shape has an area of When we complete the square, we add the area of the "missing square": Look familiar? Algebraically, the area of the incomplete shape is a quadratic equation.
If we had an equation of the form , where , , and are constants and that tells us that our original square has an area of . That makes computations needlessly difficult, and we want our original shape to be a square of area . Since is a constant, we can get rid of its place before by dividing all of the terms in the equation by
We can then move the term to the right side of the equation, to give us our incomplete shape:
The term represents the side of our added rectangle. The side of our halved rectangles then, is . And since represents the side of our halved rectangles, the missing square has an area of the term we add to both sides of
The Quadratic Formula
The truth set for quadratic equations cannot be found by simple factorization. Instead, a more robust formula must be used: the quadratic formula.
From the method of completing the square, we can derive the quadratic formula, a formula that allows us to quickly deduce the truth set of a quadratic equation. To derive the formula, we begin wtih the general quadratic equation: where We divide both sides by , and obtain:
Then we subtract from both sides, and obtain:
Now we comlete the square, by adding to both sides:
Thus, the truth set of the quadratic equation is:
The quadratic formula will always yield the truth set for quadratic equations of the form In the event that the term (the discriminant), however, the truth set of the equation consists of complex numbers, rather than real numbers.
Thus, given a quadratic equation of the form , where , , and are constants and , the truth set of the equation can be found with the equation:
Quadratic Formula. Given the quadratic equation , where the solutions are given by:
The Discriminant
In the quadratic formula, the expression that appears below the radical sign, is called the discriminant. If the discriminant evaluates to a positive real number, then the quadratic equation has 2 real solutions. If the discriminant evaluates to 0, then the quadratic equation has only 1 real solution. If the discriminant evaluates to a negative real number, then the quadratic equation has no real solutions — instead, it has a pair of complex conjugate solutions. Generalizing these results:
The Product and Sum of Polynomial Roots
Suppose we were faced with the equation What are the roots of this equation? First, let's rewrite the equation:
Then let's use the quadratic formula:
Thus, the truth set of is:
What would happen if we multiplied the two roots?
The product of the two roots is -5. What would happen if we added the two roots?
The sum of the two roots is -3. Recall that the quadratic equation was Is it pure coincidence that product of the two roots is -5, the term in the equation, and the sum of the two roots, -3, is the negative of the the term? Not a coincidence at all. In fact, it follows from a more general rule.
lemma. Let and be the roots of the quadratic equation It follows that and In other words, the product of the roots of is the constant term in the equation, , and the sum of the roots is the negative of the coefficient of the term, (i.e., ).
The general rule follows from manipulating the quadratic formula. Suppose there exists a quadratic equation where From the quadratic formula, it follows that the roots of the equation are:
Thus, the roots are:
The products of the roots:
And the sum of the roots:
The Factorial
A common operation in counting is the factorial. It is defined as follows:
Definition: Factorial. Let be a positive integer. Then read factorial, is denoted:
Alongside the definition above is the following axiom:
Axiom: Zero Factorial. The factorial of zero is one:
To illustrate, is computed as:
Binomial Coefficients
Suppose we had the following balls:
Our friend Leibniz comes up to us and says, Pick How many possible choices do we have? Well, we would have possible choices: A, B, C, and D. Now what if Leibniz said, Pick How many choices do we have here? Well, we can count the number of possible choices: AB, AC, AD, BC, BD, CD. These are six possible choices. In fact, we can layout these possibilities:
Choose Possibilities Number of Possibilities
In mathematics, we have special syntax for expressing our thought process above. When Leibniz says, Pick 1, we express this as:
This notation is read "Four choose one." There are four balls, and we are to pick one. When Leibniz says, Pick 2, we write this as:
"Four choose two." And when Leibniz says, Pick 3, we have:
"Four choose three." The notation is called a binomial coefficient, and it is read as choose Formally:
Definition: Binomial Coefficient. For nonnegative integers and where the expression also written as is called a binomial coefficient, and it is defined as:
Otherwise, where the binomial coefficient is defined as:
To understand where the binomial coefficient comes from, it's helpful to illustrate by example. Suppose we had the following ingredients for a cup of coffeee: coffee, milk, sugar. Now suppose we were asked, how many possible ways are there to make a cup of sweet coffee? Well, we can enumerate the number of ways with a table (where is for coffee, is for milk, and is for sugar):
pick | possible picks | number of possibilities |
---|---|---|
0 | 1 | |
1 | A, B, C, D | 4 |
2 | AB, AC, AD, BC, BD, CD | 6 |
3 | ABC, ABD, ACD, BCD | 4 |
4 | ABCD | 1 |
Reading the table above, we count six different orders. For example, is coffee, then milk, then sugar, and is sugar, then milk, then coffee. This result follows directly from the multiplication rule in counting. Since we have three different ingredients, the number of recipes is yielded by:
Generalizing the multiplication rule, given ingredients and choices, we have:
Importantly, the question of how many different recipes there are is distinct from asking: How many combinations of coffee, sugar, and milk are there? The former requires a distinct order, while the latter does not. The latter question — how many different combinations are there (disregarding order) — is what the binomial coefficient attempts to capture.
Hence, using our sweet coffee example, when write we are expressing the number of combinations of two ingredients among three, where order does not matter. If we enumerated all of the possibilities out on a table:
Counting the number of possibilities, we have But because we're disregarding order, the table above is incorrect because we've overcounted. Some of the possibilities are duplicated. As such, we must eliminate the duplicates:
ingredient | combination | combination |
---|---|---|
Notice that eliminating the overcount leaves us with three possibilities. Further notice that this is half of our original count. This is no coincidence. Looking back at our general formula for the multiplication rule, we can see that eliminating the overcount is a matter of dividing by a term (since we've overcounted by a factor of ):
And there it is — the binomial coefficient definition.
Pascal's Triangle
Do we notice any patterns in this triangle? There are several. The Binomial Theorem This is where the binomial theorem comes in handy:
Binomial Theorem. For any positive integer the following is true:
Invervals
An interval is a special kind of set. It is a subset of with the property: If and then In other words, an interval is simply a set of real numbers with two explicit members, called endpoints, with the added property that every number between the two endpoints is also an element of the set. Because there are infinitely many real numbers between two different real numbers, intervals with distinct endpoints have infinitely many members.
Intervals can be restricted to include or exclude its endpoints. If the interval excludes its endpoints, we say that the interval is an open interval. If the interval includes its endpoints, we say that the interval is an open interval.
Because of the special place intervals have in continuous mathematics, they have two different forms of notation: interval notation, and set notation. The table below lists some common intervals in both interval and set notation.
Interval Notation | Set Notation |
---|---|
To graphically indicate that an interval includes its endpoints, we color in the the dot marking the endpoint. To indicate exclusion, we leave the mark unfilled.
Suppose the interval and Now suppose there is a number Since , we can infer We know that (simplifying this expression will yield .) Since we can solve for :
Now suppose there is a number and that Solving for we obtain Given that it is evident that
Thus, we can infer the following rule:
lemma. Given the open interval and every number of the form > belongs to the interval Conversely, if then we can find a such that
Neighborhoods
Suppose The set is a neighborhood of if: There exists an open inteval centered at such that I.e., is a neighborhood of if there exists a such that the open interval
If is a neighborhood of , then the notation signifies the deleted neighborhood of . This implies that is a neighborhood of if has neighbors left and right.
For example, consider the following intervals:
The first interval demarcates the neighborhood of . The second interval demarcates the sinistral neighborhood of . Finally, the third interval demarcates the dextral neighborhood of . More formally:
lemma. Let The set is a dextral neighborhood (right-hand) of if there exists a such that The set is a sinistral neighborhood (left-hand) of if there exists a such that
In sum, neighborhoods are open intervals centered at a particular real number They can be large or small. The intervals , , and are all neighborhoods of the real number 0. Moreover, we can restrict our discussion to certain sections of the neighborhood: the sinistral (left-hand) and dextral (right-hand) neighborhoods. For example, the interval is the sinistral neighborhood of 0, and the interval is the dextral neighborhood of 0.
A neighborhood is free to include or exclude its reference point. Thus, where the of is defined as This particular set is simply called the neighborhood of , and the variable is equivalent to . If, however, we were to exclude the reference point , then we obtain what is called a reduced neighborhood—the set Thus, the difference between a neighborhood of and a reduced neighborhood of is that the reduced neighborhood of excludes the reference point , whereas the neighborhood of includes .
The Cartesian Plane
Continuous mathematics depends heavily on graphs. One way to represent graphs is through the Cartesian plane:
The Cartesian plane consists of two perpendicular real number lines. The point where the lines intersect is 0, and is called the origin. The horizontal number line is usually called the x-axis, and the vertical number line the -axis. On the -axis, all points to the right of the origin represent the positive real numbers, and all points to the left of the origin represent the negative real numbers. On the -axis, all points above the origin reprepresent the positive real numbers, and all points below the origin represent the negative real numbers.
A point on the Cartesian plane is represented by an ordered pair, of the form , where is a point on the -axis, and is a point on the -axis. For example:
Each of the points in the diagram above are Cartesian coordinates, or simply coordinates. The -coordinate is formally called the abscissa of the point, and the -coordinate the ordinate. When we refer to coordinates generally, or in the abstract, we write:
The notation above is read "the point ."
The Distance Formula
The Cartesian plane constructs a bridge between algebra and geometry. Many theorems and ideas from geometry can be applied in continuous mathematics. One such theorem is the Pythagorean theorem:
theorem. Given a right trangle, the lengths of the sides are related by the equation: where and are the lengths of the sides forming the right triangle, and is the length of the hypotentuse.
Conversely, if and are the sides of a triangle, and all three lengths are related by an equation of the form then the triangle is a right triangle, and is the hypotenuse.
We can visualize the Pythagorean Theorem with the following diagram:
The Pythagorean Theorem leads directly to the Distance Formula, an equation that allows us to compute the distance between two points on the Cartesian plane:
Formula. Given two points and , the distance between and is given by the formula:
Functions
Functions. What are they? At the most basic level, a function is a rule assigning a number to another number. At a more abstract level, a function is a relation between mathematical objects. There are many relations in mathematics (equality, inequality, congruence, proximity, etc.). Functions are just one kind of relation. Most commonly, functions are relations between numbers, where one number shares a specific relationship, defined by a rule, to exactly one number. More explicitly: A function is a rule that assigns one number to another number. Do not confuse this idea of "one-to-one" with "one-to-unique." A relation can still be a function even if one or more numbers are related to the same number.
Functions can be represented in a variety of ways. We can represent functions algebraically, using an equation or formula: , or . We can represent functions verbally: "For every , there is a such that is squared." We can represent functions with tables, where one column lists the values of , and another lists their corresponding values. Finally, we can represent functions with graphs, using a coordinate system. Regardless of the way we represent them, functions all express the same idea: a relationship where one mathematical object maps to exactly one mathematical object, according to a rule.
A more formal definition:
definition. Let and be nonempty sets. A function from to is a rule of correspondence that assigns, or maps, to each element in exactly one element in
Consider the following relations:
The relation maps the elements of to the elements of The relation maps the elements of to the elements of And the relation maps the elements of to the elements of The relation is a function, since it maps each element of to exactly one element of The same goes for relation — each element of is mapped to exactly one element of even if some elements of map to the same element of The relation however, is not a function, since at least one element of is mapped to more than one element of
We often refer to the inputs of a function with the variable , and the outputs of the function with the variable , or . The input, , is also called the independent variable, and the output, , is called the dependent variable.
A function will never give more than one output for one input. There are, of course, relationships where on number outputs more than one number. Those relationships, however, are not characterized by, or as, functions. We will explore those relationships later in due time.
definition Given two sets and , the set Cartesian product the set of all ordered pairs , where and . A subset of is called a relation.
A function is a special kind of relation. It is a pairing of elements in with elements in , where each eleemnt in is paired with exactly one element in . Thus, a function from to is a rule or relation between and that assigns, or maps, each element to one element in .
If a function is a subset of , then is the domain of the function, and is the range of the function.
Every function has a natural domain (also called the implied domain). The natural domain of a function is the set of all elements for which the function is defined. Whenever we analyze or discuss a function, we set a natural domain. That natural domain acts as the boundary of our analysis. For example, when we discuss the function , we may specify that the natural domain of is . Because the natural domain of is , the domain of cannot include negative real numbers, since is undefined for . Because of this fact, we specify the domain of as:
Properties of Functions
Functions can be identified by several properties:
- A set of inputs, called the function's domain, denoted e.g., the domain of the function is
- A set of all possible inputs, called the function's natural domain, denoted e.g., the natural domain of the function is , but the domain of the function is In set notation, given a function
- A set of outputs, called the function's range, or image, denoted or e.g., the function has the range of
- A set of all possible outputs, called the function's codomain, or target, denoted e.g., the function has a codomain of but if we restricted then but its codomain remains In set notation, given a function
- A name for a typical input, called a dummy variable, e.g., the function has the dummy variable .
- A name for the function, e.g., the function has the name
- An assignment rule or formula assigning to every element of the domain exactly one element of the codomain, e.g., the function has the assignment rule
- Some functions have graphs, denoted (We say "some" because a function need not concern numbers. A relation mapping common fruit names to their respective scientific names is just as much a function as
Arrow Notation
Functions can be represented in arrow notation:
For example, the function , in arrow notation, is and its domain and codomain are represented as The benefit of arrow notation is that it allows us to easily restrict a function's inputs and outputs, which in turn allows us to differentiate functions explicitly. This is a particularly useful asset when the functions share the same assignment rule:
Suppose the function The functions below all have the same assignment rule as but they are all different functions:
The function is neither injective nor surjective, the function is injective but not surjective, the function is surjective but not injective, and the function is a bijection.
Note that in the last function, the function name was used. This is generally considered poor writing in mathematics, as the letter is almost always exclusively reserved for the imaginary number (setting aside the unorthodox practices of electrical engineers using ).
Function Graphs
A function with a domain and range of real numbers can be graphed. When graphing functions, we use two axes—a horizontal axis for the function's domain (i.e., inputs) and vertical axis for function's range (i.e., outputs). We call the input axis the and the output axis the
Definition. Given a function the graph of on the plane consists of those points such that is the domain of and
The Vertical Line Test
The vertical line test allows us to determine if a particular graph represents a function. This is a particularly helpful result when we aren't provided any equation for a possible function, or if we are uncertain about what sets the function maps to and from.
A graph in the plane represents a function of iff any vertical line intersects the graph in at most one point.
For example, the graph below is not a function, since the blue vertical line passes through the plot at more than one point:
Graphing Transformations
Graphs of functions serve as a bridge between geometry and algebra. Crossing from geometry to algebra are the definitions of reflection, translation, and scaling. All of these defines are broadly referred to as transformations—if we reflect, translate, or scale a function's graph, we are transforming the function's graph.
Vertical Translation
When we vertically translate a graph, we either shift the graph up or down the y-axis. For example, the following are vertical translations of the graph
Observe that when add a positive constant to the function's expression, we shift the graph up the -axis. And when we add a negative constant (i.e., subtraction) to the function's expression, we shift the grown down the -axis. This logically follows from the fact that we are essentially adding a constant value to each element in the function's range. In other words, for every output, add or substract some constant—shift the graph up or down respectively.
definition. Let be a function and a constant, where Suppose Substituting with we obtain which is equivalent to This is a vertical translation of
If then transforms to which shifts by units up the -axis.
If then transforms to which shifts by units down the -axis.
If then there is no transformation, and a fortiori, no vertical translation.
Horizontal Translation
When we horizontally translate a graph, we either shift the graph left or right along the -axis. In essence, we are are adding or subtracting some constant from each element in the function's domain: For every input, add or substract some constant value. Horizontal translations, however, are a common source of error.
Consider again the graph of To shift the graph to the right, we add some negative constant to every input. Thus, indicates a shift units to the right along the -axis. Why is it a shift right? Because to get back to the original function , we have to add units. It is the same logic behind why scrolling down with a mouse wheel moves this page up, or why a gear moving clockwise turns a second gear counter-clockwise. For example, given the parabola's vertex is However, given the parabola's vertex is now a shift to the right.
In contrast, given we have a horizontal shift to the left. Again, consider The parabola is When the vertex is now a shift to the left. Below are horizontal translations:
In sum: If we subtract a constant, we shift right; add a constant, we shift left.
Definition. Let be a function and a constant, where Suppose Substituting with we obtain This is a horizontal translation of
If then transforms to which shifts by units to the right along the -axis.
If then transforms to which shifts by units to the left along the -axis.
If then there is no transformation, and a fortiori, no horizontal translation.
Slope
The graph of an equation is the set of all points with coordinates satisfying the equation. For example, suppose we had the equation . Does the point lie on the equation's graph? Yes. Plugging into the equation , we get , which is true. Thus, the point does indeed lie on the graph.
At very small intervals, graphs can be viewed as lines. Lines can either slant or remain straight, but in both cases, the line has a slope — a number that measures the line's direction.
Definition. Given two points, and , the slope of the line passing through the two points is the number :
For example, suppose we had two points, and . On the Cartesian plane, these two points appear as:
The line between these two points is:
Thus, the line between and has a slope of . The slope equation can also be written as:
The variable represents the change in -coordinates (), and the variable represents the change in -coordinates ().
Comparing Slopes
The slope of a line is a real number (). Thus, can be a member of only one of three subsets:
If is a negative real number — — then the line slants downwards to the right. If is a positive real number — — then the line slants upwards to the right. If , then the line is a perfectly straight horizontal line.
Given the Cartesian plane, one might wonder, aren't there two cases for straight lines: (a) a vertical straight line or (b) a horizontal straight line? Yes, there are indeed two cases, straight horizontal lines and straight vertical lines. But, the slope is not defined for a vertical line. If the two points share the same ordinate (the ), then the line is a horizontal line (e.g., ). If, however, the two points share the same abscissa (the ), then the line is a vertical line (e.g., ), but the slope is not defined. This is because calculating the slope for such a line would lead to an undefined result:
Does the magnitude, or size, of yield any inferences? Yes. represents the "steepness" of the line. The larger is, the steeper the line slants (i.e., tending towards a straight vertical line), and the smaller is, the less the line's steepness (i.e., tending towards a straight horizontal line).
The Point-Slope Formula
The slope formula can be rearranged in another form, yielding the point-slope formula.
Formula. Given a point , the equation of the line passing through is given by the equation:
Because of the point-slope formula, it follows that the equation of a horizontal line is simply the ordinate of . For example, suppose . A horizontal line is a line where , so it follows that the line's equation is:
We know that a horizontal line will always have a slope of . For vertical lines, only the -coordinate varies, and the -coordinate remains the same. Thus, we can state more general rules for horizontal and vertical lines:
Rule. Given a point , the equation of a line passing through is .
Rule. Given a point , the equation of a line passing through is .
Slope-Intercept Formula
If we know that a line passes through the point , then we can derive yet another equation for a line: the slope-intercept form. Since the line passes through (i.e., the line crosses the -axis), using the point-slope formula, we can conclude that . Simplifying and adding to both sides of the equation, we obtain the following rule.
Formula. Given a line with slope and a -intercept , the equation of the line is given by the equation:
If we know that a point satisfies this equation, then it must be the case that it lies on the line with the equation. Furthermore, whenever we see an equation of this form, we should be immediately aware that the equation graphically represents a line.
Parallel and Perpendicular Lines
In geometry, we can easily notice that parallel lines slant in the same direction (i.e., they have the same "steepness" to their slant):
Because perpendicular lines have the same slant, in algebraic terms, the lines have the same slope. Thus, given line (where and are two arbitrary points on the line) with the slope and the line (where and are two arbitary points on the line) with the slope , the lines and are parallel if, and only if, . In other words, two lines are parallel, if and only if, they have the same slope.
In contrast, perpendicular lines slant in the exact opposite direction, forming 90 degree angles:
Given that two lines are perpendicular if and only if they form 90 degree angles, it follows that for a line to be parallel to another line, the line's slope must be the negative reciprocal of the other line. Thus, given a line (where and are arbitrary points on the line) with the slope and a line (where and are arbirary points on the line) with the slope , lines and are perpendicular if, and only if, .
To see why a perpendicular line's slope must be the negative reciprocal of the other line, consider the following: First, suppose we have three lines, , , and the vertical line . Now suppose that , has a slope , and has a slope . Finally, suppose that and intersect at the origin, . The lines can be visually represented as:
Since , we know that that the vertical line intersects at and at This is because both lines have a
Where and intersect, a right angle, , is formed, since perpendicular lines form right angles. Thus, it follows that there is a right triangle since the resulting triangle from forms a right triangle.
Now, consider the distance between the origin, , and the point . From the distance formula, the length of (the distance between and ) is Similarly, Thus,
From this analysis, we now know all of the lengths of the sides of :
Because we know the lengths for all of the sides of we can express as an equation with the Pythagorean Theorem:
With this form, we can isolate and to separate sides of the equation:
The analysis above applies regardless of where the point of intersection is, since perpendicular lines will always form right triangles. Accordingly, it follows that given a line with the slope and a line with the slope , for to be true, it must be the case that .
Footnotes
-
Granted, greater minds may differ on how sweet iced tea should be made. ↩
-
A helpful mnemonic for the commutative law: "Factors freely flow." ↩
-
A helpful mnemonic for the associative law: "Factors freely faction." ↩
-
As an aside, the coffee example above is a play on the philosopher Slavoj Zizek's joke:
A man comes into a restaurant. He sits down at the table and he says, “Waiter, bring me a cup of coffee without cream.” Five minutes later, the waiter comes back and says, “I'm sorry, sir, we have no cream. Can it be without milk?”
Zizek's joke is an attempt at revitilizing Hegelian logic through an alternative reading. The idea is that the existence of a negation can be just as significant and worthy of consideration as the negation itself. In other words, when we encounter the proposition "coffee without cream", it's just as important to consider the possibility that what's being expressed is not "coffee without cream", but rather "coffee without".
This idea has its roots in Kant's essay An Attempt to Introduce the Concept of Negative Magnitudes of Philosophy. There, Kant presented a thought experiment: Two equal forces start at zero. One moves five feet to the right, the other moves five feet to the left. Is the zero resulting from their movement different from the zero they started at? Kant argued yes, they are different. The "zero" resulting from the two forces cancelling one another is different from the zero before any force moved. The and the have in themselves a in that means "Move 5 to the right from " and means "Move 5 to the left from " That inherent never went anywhere. It's always been there.
Hegel took this several steps further by arguing that the zero we get from is not only different, but that the process of negation alters the very thing we're negating. results in a non-being from a process that starts with a being, the origin This is the act of negation, and its result is different from zero, which represents nothingness. In Hegel's view, nothingness is always there. It requires no action by another to "be". In contrast, negation — the act of — requires an action by another.
Hegel's arguments on negation (and logic in general), no doubt had an impact on mathematical logic. In particular, Hegel's formulation of the absolute (a concept that follows from his work on negations) is contemporaneous with the concept of absolute value, a topic to be discussed in later sections.
The zero property of multiplication may seem straightforward, but it leads a particularly useful fact to keep in mind. The equation does not immediately imply that Why? Because if then either or could be any real number and Never assume that implies without first verifying, or stating explicitly, that
Additionally, if we know that then we have three possibilities: (1) (2) or (3) and ↩
-
As an aside, the eighth power of a number is called zenzizenzizenzic. Coined by the 16th century Welsh physician Robert Recorde, the root of the word is "zenzic," The German spelling of the Latin "censo," meaning "squared." At the time, there was no easy way to denote powers of numbers, so various forms of "zenzic" were used: zenzic for squared, zenzizenzic for the square of a square, and zenzizenzizenzic for the square of a square of a square. ↩
-
A "perfect tesseract" is not a formal term. The names "square" and "cube" come directly from geometry, so the next logical name would be a tesseract — perfect squares of squares. A more general definition for the perfect power: ↩
-
In computer science, the rational numbers are called floats or floating point numbers (the decimal point "floats" as needed). ↩