Calculus/Algebra
This section is intended to review algebraic manipulation. It is important to understand algebra in order to do calculus. If you have a good knowledge of algebra, you should probably just skim this section to be sure you are familiar with the ideas.
Contents
Rules of arithmetic and algebra[edit]
The following laws are true for all whether these are numbers, variables, functions, or more complex expressions involving numbers, variable and/or functions.
Addition[edit]
 Commutative Law: .
 Associative Law: .
 Additive Identity: .
 Additive Inverse: .
Subtraction[edit]
 Definition: .
Multiplication[edit]
 Commutative law: .
 Associative law: .
 Multiplicative identity: .
 Multiplicative inverse: , whenever
 Distributive law: .
Division[edit]
 Definition: , whenever .
Let's look at an example to see how these rules are used in practice.
(from the definition of division)  
(from the associative law of multiplication)  
(from multiplicative inverse)  
(from multiplicative identity) 
Of course, the above is much longer than simply cancelling out in both the numerator and denominator. But, when you are cancelling, you are really just doing the above steps, so it is important to know what the rules are so as to know when you are allowed to cancel. Occasionally people do the following, for instance, which is incorrect:
 .
The correct simplification is
 ,
where the number cancels out in both the numerator and the denominator.
Interval notation[edit]
There are a few different ways that one can express with symbols a specific interval (all the numbers between two numbers). One way is with inequalities. If we wanted to denote the set of all numbers between, say, 2 and 4, we could write "all satisfying ." This excludes the endpoints 2 and 4 because we use instead of . If we wanted to include the endpoints, we would write "all satisfying ." This includes the endpoints.
Another way to write these intervals would be with interval notation. If we wished to convey "all satisfying " we would write . This does not include the endpoints 2 and 4. If we wanted to include the endpoints we would write . If we wanted to include 2 and not 4 we would write ; if we wanted to exclude 2 and include 4, we would write .
Thus, we have the following table:
Endpoint conditions  Inequality notation  Interval notation 

Including both 2 and 4  all satisfying 

Not including 2 nor 4  all satisfying 

Including 2 not 4  all satisfying 

Including 4 not 2  all satisfying 

In general, we have the following table:
Meaning  Interval Notation  Set Notation 

All values greater than or equal to and less than or equal to  
All values greater than and less than  
All values greater than or equal to and less than  
All values greater than and less than or equal to  
All values greater than or equal to  
All values greater than  
All values less than or equal to  
All values less than  
All values 
Note that and must always have an exclusive parenthesis rather than an inclusive bracket. This is because is not a number, and therefore cannot be in our set. is really just a symbol that makes things easier to write, like the intervals above.
The interval is called an open interval, and the interval is called a closed interval.
Intervals are sets and we can use set notation to show relations between values and intervals. If we want to say that a certain value is contained in an interval, we can use the symbol to denote this. For example, . Likewise, the symbol denotes that a certain element is not in an interval. For example .
Exponents and radicals[edit]
There are a few rules and properties involving exponents and radicals that you'd do well to remember. As a definition we have that if is a positive integer then denotes factors of . That is,
If then we say that .
If is a negative integer then we say that .
If we have an exponent that is a fraction then we say that .
In addition to the previous definitions, the following rules apply:
Rule  Example 

Factoring and roots[edit]
Given the expression , one may ask "what are the values of that make this expression 0?" If we factor we obtain
.
If , then one of the factors on the right becomes zero. Therefore, the whole must be zero. So, by factoring we have discovered the values of that render the expression zero. These values are termed "roots." In general, given a quadratic polynomial that factors as
then we have that and are roots of the original polynomial.
A special case to be on the look out for is the difference of two squares, . In this case, we are always able to factor as
.
For example, consider . On initial inspection we would see that both and are squares ( and ) . Applying the previous rule we have
.
The following is a general result of great utility.
The quadratic formula
Given any quadratic equation , all solutions of the equation are given by the quadratic formula:
Example: Find all the roots of
Finding the roots is equivalent to solving the equation . Applying the quadratic formula with , we have:

The quadratic formula can also help with factoring, as the next example demonstrates.
Example: Factor the polynomial
We already know from the previous example that the polynomial has roots and . Our factorization will take the form
You can see that solves the equation. So the factorization is 
Note that if then the roots will not be real numbers.
Simplifying rational expressions[edit]
Consider the two polynomials
and
When we take the quotient of the two we obtain
The ratio of two polynomials is called a rational expression. Many times we would like to simplify such a beast. For example, say we are given . We may simplify this in the following way:
This is nice because we have obtained something we understand quite well, , from something we didn't.
Formulas of multiplication of polynomials[edit]
Here are some formulas that can be quite useful for solving polynomial problems:
Polynomial Long Division[edit]
Suppose we would like to divide one polynomial by another. The procedure is similar to long division of numbers and is illustrated in the following example:
Example[edit]
Divide (the dividend or numerator) by (the divisor or denominator)
Similar to long division of numbers, we set up our problem as follows: First we have to answer the question, how many times does go into ? To find out, divide the leading term of the dividend by leading term of the divisor. So it goes in times. We record this above the leading term of the dividend: , and we multiply by and write this below the dividend as follows: Now we perform the subtraction, bringing down any terms in the dividend that aren't matched in our subtrahend: Now we repeat, treating the bottom line as our new dividend: In this case we have no remainder. 
Application: Factoring Polynomials[edit]
We can use polynomial long division to factor a polynomial if we know one of the factors in advance. For example, suppose we have a polynomial and we know that is a root of . If we perform polynomial long division using P(x) as the dividend and as the divisor, we will obtain a polynomial such that , where the degree of is one less than the degree of .
Exercise[edit]
Application: Breaking up a rational function[edit]
Similar to the way one can convert an improper fraction into an integer plus a proper fraction, one can convert a rational function whose numerator has degree and whose denominator has degree with into a polynomial plus a rational function whose numerator has degree and denominator has degree with .
Suppose that divided by has quotient and remainder . That is
Dividing both sides by gives
will have degree less than .
Example[edit]
Write as a polynomial plus a rational function with numerator having degree less than the denominator.
so 