Calculus Prerequisites
Algebra Foundations for Calculus
Algebra provides the language and techniques used throughout precalculus, calculus, and differential equations. The most important skills include recognizing number sets, manipulating expressions, factoring polynomials, solving equations and inequalities, and interpreting functions involving powers, roots, and logarithms.
1. Common Number Sets
A set is a collection of objects. Number sets are usually written with standard symbols.
Natural numbers and nonnegative integers
Natural numbers, often written N, are the counting numbers:
N={1,2,3,4,…}.Some conventions include 0 in the natural numbers; others do not. When the distinction matters, the nonnegative integers can be written explicitly:
{0,1,2,3,…}.
Integers
The integers, written Z, include zero, positive whole numbers, and negative whole numbers:
They can also be described as the natural numbers, zero, and their negative counterparts.
Rational numbers
A rational number is any number that can be written as a ratio of two integers with a nonzero denominator:
Examples include integers, fractions, and terminating or repeating decimals:
Every repeating decimal represents a rational number. For instance,
Likewise,
Irrational numbers
An irrational number is a real number that cannot be written as a ratio of integers. Its decimal expansion is nonterminating and nonrepeating.
Examples include
A number involving radicals or other familiar constants is not automatically irrational or rational; each expression must be considered. For example, 2+3 is irrational, and 23 is also irrational.
Real numbers
The real numbers, written R, include all rational and irrational numbers. They correspond to the points on the ordinary number line.
Examples include
The standard inclusion relationships are
Complex numbers
A complex number has the form
where a and b are real numbers and the imaginary unit i satisfies
The number a is the real part, and b is the imaginary part. A complex number can be represented as the point (a,b) in a plane:
The horizontal axis is the real axis.
The vertical axis is the imaginary axis.
For example, 2+3i corresponds to (2,3). The complex numbers are written C and include all real numbers, since a real number a can be written as a+0i.
Positive and nonnegative integers
Modified symbols may be used to specify restricted parts of the integers:
Z>0={1,2,3,…} is the set of positive integers.
Z≥0={0,1,2,3,…} is the set of nonnegative integers.
2. Intervals and Set Notation
Intervals describe continuous collections of real numbers. Parentheses exclude endpoints, while square brackets include endpoints.
Open intervals
The interval
means all real numbers strictly between a and b:
Neither endpoint is included. On a number line, an open endpoint is shown with an unfilled circle.
Closed intervals
The interval
includes both endpoints:
On a number line, included endpoints are shown with filled circles.
Half-open intervals
An interval can include one endpoint but not the other:
[a,b) means a≤x<b.
(a,b] means a<x≤b.
Intervals extending to infinity
The entire real line is written
A ray to the left of a can be written
for x<a, or (−∞,a] for x≤a.
A ray to the right of b can be written
for x>b, or [b,∞) for x≥b.
Infinity is never an included endpoint, so an interval always uses parentheses next to ∞ or −∞.
Set-builder notation
A set can also be described by stating the condition its elements satisfy. For example,
is the same set as the interval (a,b].
The symbol ∪ means union: it combines the elements belonging to either set. For example,
describes numbers below −1 or above 2.
3. Powers, Roots, and Order of Operations
Order of operations and negative signs
Powers are evaluated before a leading negative sign unless the negative number is inside parentheses:
whereas
Parentheses therefore change the meaning of an expression.
Exponent rules
For nonzero a and integer exponents where the expressions are defined:
Product of powers with the same base:
aman=am+n.Quotient of powers with the same base:
anam=am−n.Power of a power:
(am)n=amn.Power of a product:
(ab)n=anbn.Power of a quotient:
(ba)n=bnan,b=0.Zero exponent:
a0=1,a=0.Negative exponent:
a−n=an1,a=0.
A negative exponent indicates a reciprocal; it does not make the value negative. For example,
When a factor moves from numerator to denominator, or vice versa, its exponent changes sign.
Nested powers require care
For a power raised to another power, the exponents are multiplied:
But an expression such as 232 is evaluated from the top exponent first:
Thus, 232 and (23)2 are different expressions.
Fractional exponents and roots
A fractional exponent represents a root:
More generally,
when the real-valued expression is defined. Taking the root first can simplify calculations. For example,
For real numbers, an even root requires a nonnegative radicand. An odd root, such as a cube root, can accept negative radicands:
Parentheses around a negative base matter
For example,
By contrast,
The first expression raises the negative number −8 to a power; the second applies a negative sign after evaluating the power of 8.
4. Simplifying Expressions and Radicals
Combining like terms
Terms are like terms when their variable parts and exponents match. For instance, 3x and −8x are like terms, while x and x2 are not.
When multiplying monomials, multiply coefficients and add exponents of matching variables. For example,
When dividing powers with the same base, subtract exponents. For instance,
A negative exponent in the simplified result may be moved to the opposite part of the fraction to produce a positive exponent.
Simplifying square roots
To simplify n, factor out the largest perfect-square factor. For example,
Only radicals with the same radicand can be combined as like terms. For example,
which cannot be combined further.
Quotients involving radicals
When the numerator and denominator have the same root, they can often be combined under one radical:
The radicands must be in the domain of the root, and the denominator must not be zero.
5. Expanding Products
The distributive property
Multiplication distributes over addition and subtraction:
To multiply two multi-term expressions, multiply every term in one expression by every term in the other, then combine like terms. For example,
This term-by-term method works even when the expressions have more than two terms. For example,
Difference of squares
A particularly useful identity is
For example,
when the real square roots are defined.
Squaring a binomial
The formulas for squaring a sum and difference are
and
The middle term is twice the product of the two terms. Thus,
The expression (a+b)2 is not equal to a2+b2 in general because the middle term 2ab is required.
Binomial expansions and Pascal’s triangle
A binomial has two terms. The coefficients in powers of a binomial can be read from Pascal’s triangle:
Each interior entry is the sum of the two entries immediately above it. The row beginning and ending with 1 supplies the coefficients for the corresponding power:
For power 2, the coefficients are 1,2,1.
For power 3, they are 1,3,3,1.
For power 4, they are 1,4,6,4,1.
In a binomial expansion, the power of the first term decreases from the full exponent to zero, while the power of the second term increases from zero to the full exponent.
For example,
The negative sign belongs to the second term, so odd powers of that term contribute negative signs.
6. Factoring Polynomials
Factoring rewrites a sum or difference as a product. Common methods include extracting a greatest common factor, using special identities, grouping, and factoring quadratics.
Greatest common factor
The first step is often to factor out the greatest common factor (GCF). For example,
The factorization continues until no factor can be extracted or decomposed further over the chosen number system.
Difference of squares
The identity
applies when an expression is a difference of two squares. For example,
It does not apply to a sum of squares in the same way.
Factoring a quadratic
For a quadratic ax2+bx+c, one can look for factors whose product is ac and whose sum is b. For example,
has ac=−24, and −8 and 3 have product −24 and sum −5. Splitting the middle term gives
Factoring by inspection or trial can also be used, but any proposed factors should be checked by expanding them.
Factoring by grouping
Grouping is useful when an expression has four terms. The goal is to arrange groups so each has a common factor, then reveal a repeated factor.
For example,
Over the real numbers, the remaining quadratic can be factored further:
Grouping is a strategy, not a guarantee: it works only when the terms can be arranged to produce a common factor.
Sum and difference of cubes
The identities are
and
The first factor keeps the original sum or difference. The quadratic factor uses the opposite sign for its middle term.
For example,
The quadratic factor has no real linear factors.
Factoring expressions with fractional powers
When all terms contain powers of the same variable, factor out the smallest power to obtain simpler exponents. For example,
Then factor the quadratic:
where the original expression requires x>0 because of the square root and negative exponent.
Factoring a polynomial using known roots
If a polynomial P(x) satisfies P(r)=0, then x−r is a factor. This is the factor theorem:
For example, for
substitution gives P(−1)=0, so x+1 is a factor. Dividing leaves
Therefore,
The repeated factor x+1 means that −1 is a root of multiplicity 2.
The rational root theorem helps identify possible rational roots. For a polynomial with integer coefficients, a rational root in lowest terms must have numerator dividing the constant term and denominator dividing the leading coefficient. These values are candidates to test; they are not guaranteed to be roots.
7. Rational Expressions
A rational expression is a quotient of polynomials. Its denominator must be nonzero, even if a factor later cancels.
Simplifying a rational expression
Factor the numerator and denominator, then cancel common factors. For example,
The original expression is still undefined at x=2 and x=−2. Cancellation simplifies the formula but does not restore values excluded from the original domain.
Only common factors can be canceled. Terms that are merely parts of sums cannot be canceled separately.
Multiplying and dividing rational expressions
For multiplication, factor and cancel common factors across the product. For example,
For division, multiply by the reciprocal of the second expression:
provided all original denominators are nonzero and the divisor is not zero.
Equivalently,
where b, c, and d are nonzero. The denominator of the original numerator fraction becomes a factor in the final denominator; the denominator of the divisor becomes a factor in the final numerator.
Adding and subtracting rational expressions
Fractions must have a common denominator before they can be combined. For example,
After combining the numerator, the expression can be simplified or factored. The domain must still exclude values that make any original denominator zero.
Complex fractions
A complex fraction has a fraction in its numerator, denominator, or both. A useful approach is to simplify the top and bottom separately, then divide by multiplying by the reciprocal.
For example,
requires x=0 and y=0. Simplifying the numerator and denominator gives
The final value is valid only where the original expression is defined and its overall denominator is nonzero.
Difference quotients
The expression
is a common algebraic form in calculus, where h=0, x=0, and x+h=0. Combining the top terms gives
The cancellation of h is valid only under the original condition h=0.
8. Rationalizing Denominators
Rationalizing removes a radical from a denominator when possible. For a binomial denominator involving a square root, multiply by the conjugate: the expression with the same terms but the opposite sign between them.
Using a conjugate
For example,
The denominator simplifies because
Another example is
Rationalizing expressions with radicals in a difference
The conjugate is also useful when subtracting two square roots. For example,
for values of h for which the original expression is defined and the multiplying conjugate is nonzero.
A related expression is
First combine the fractions in the numerator:
Multiplying by the conjugate of the numerator gives
Such transformations are useful because they replace a difference of radicals with an expression that is easier to analyze.
9. Completing the Square
Completing the square rewrites a quadratic as a perfect-square binomial plus or minus a constant. It is useful for solving quadratic equations and rewriting quadratic functions.
For a quadratic whose leading coefficient is 1, take half the coefficient of x, square it, and add and subtract that result:
For example,
The coefficient of x is 1, so half of it is 21, and its square is 41. Adding and subtracting 41 creates the square.
When the leading coefficient is not 1, factor it out of the quadratic and linear terms first. For example,
Inside the parentheses, half of −6 is −3, whose square is 9:
For a fractional leading coefficient,
10. Solving Equations
Solving an equation means finding values that make the original equality true. All transformations must preserve the solution set, and proposed solutions should be checked in the original equation when restrictions may be present.
Linear equations
A linear equation can be solved by collecting variable terms on one side and constants on the other. For example,
Adding 21x to both sides and subtracting 5 gives
so x=6.
When fractions appear, multiplying every term by the least common denominator can simplify the equation.
Rational equations
For equations with variables in denominators, first record values that make a denominator zero; those values cannot be solutions. Then multiply through by a common denominator or cross-multiply where appropriate.
For example,
requires x=−1 and x=0. Cross-multiplication gives
Thus x=1, which satisfies the original restrictions.
Factoring a polynomial equation
If a product is zero, at least one factor must be zero. This is the zero-product property:
For example,
factors as
Therefore, x=4 or x=−3.
Quadratic formula
When a quadratic does not factor conveniently, use the quadratic formula. If
then
The quantity
is the discriminant. It indicates the type of roots:
Positive: two distinct real roots.
Zero: one repeated real root.
Negative: two nonreal complex roots.
For example,
has solutions
Biquadratic equations and substitution
An equation involving x4 and x2 can often be simplified by setting
For example,
becomes
Since u=x2, the first factor gives x2=3, or x=±3. The equation x2=−1 gives no real solutions, but it gives x=±i if complex solutions are allowed.
Equations with radicals
When solving an equation containing a radical, isolate the radical and raise both sides to the required power. Squaring can introduce extraneous solutions, so every candidate must be checked in the original equation.
Absolute-value equations
For a≥0,
means
For example,
becomes
Thus,
giving
When an equation contains several absolute-value expressions, the signs inside them can change at different points. The number line must be divided into intervals at those breakpoints, and the absolute values must be removed according to the sign in each interval.
11. Exponential and Logarithmic Equations
Exponential and logarithmic relationships
For a positive base b=1,
provided A>0.
The natural logarithm is logarithm base e:
Logarithm properties
For positive A and B:
and
The argument of a real logarithm must be positive.
Solving an equation with an exponential term
A useful procedure is to isolate the exponential expression, take logarithms, and solve for the variable. For example,
gives
Taking the natural logarithm yields
so
A decimal approximation may be computed afterward, but the logarithmic expression is the exact answer.
Solving an equation with a logarithm
For example,
Rearranging gives
Exponentiating both sides gives
so
The original logarithm requires x−2>0, which this solution satisfies.
Logarithms with other bases
For a logarithm in base 10,
is equivalent to
If the logarithm contains an absolute value, then after converting to exponential form, both signs may be possible. For example, if
then
Each resulting equation must be solved under the original domain restrictions.
12. Systems of Equations
A system of equations is a collection of equations whose solutions must satisfy every equation at the same time.
Elimination for two variables
The elimination method adds or subtracts equations so that one variable cancels. For example,
Multiplying the first equation by 3 and adding it to the second gives
so a=3. Substitution into a+b=2 gives b=−1.
If a variable has matching coefficients with opposite signs, add the equations. If coefficients match with the same sign, subtract them. Otherwise, multiply one or both equations first to create matching coefficients.
Substitution for two variables
If one equation is easy to solve for a variable, substitute that expression into the other equation. This is particularly useful for nonlinear systems.
For example,
has y=1−2x from the first equation. Substituting into the second gives
or
Thus x=4 or x=−3. Substitution into y=1−2x produces the corresponding ordered pairs.
Systems with three variables
For three equations in x, y, and z, eliminate one variable from pairs of equations. This produces two equations involving only the remaining two variables. Solve that smaller system, then substitute to find the eliminated variable.
For example, given
adding the first two equations eliminates z and gives
Adding the first and third eliminates z and gives
Solving these gives x=2 and y=−1. Substituting into an original equation gives z=1.
A system may have one solution, no solution, or infinitely many solutions; the elimination process reveals which situation occurs.
13. Inequalities
Rules for manipulating inequalities
Adding or subtracting the same number on both sides preserves the inequality direction.
Multiplying or dividing by a positive number also preserves the direction. Multiplying or dividing by a negative number reverses it:
For example,
becomes
after dividing by −3 and reversing both inequality signs. In increasing order, the solution is
Polynomial inequalities and sign charts
For a factored inequality:
Find the values that make each factor zero.
Mark those values on a number line.
Test the sign in each interval, or track sign changes across the critical values.
Include zeros when the inequality allows equality.
Exclude values that make an original denominator zero.
For example,
has critical values −1 and 2. The product is positive when both factors have the same sign, so the solution is
For
factoring gives
so the solution is
A factor with odd multiplicity changes sign as the variable crosses its zero. A factor with even multiplicity does not change sign there.
Rational inequalities
For a rational inequality, combine terms onto one side and identify all zeros of the numerator and denominator. Numerator zeros may be included when the inequality allows equality. Denominator zeros are always excluded.
For example,
is equivalent to
or
The critical values are −1 and 1. The value −1 is excluded because it makes the denominator zero; 1 is included because it makes the numerator zero. The solution is
The sign of a denominator must not be ignored by multiplying an inequality through by it unless its sign is known. A sign chart avoids this difficulty.
Absolute-value inequalities
For a>0:
and
The first condition describes values within distance a of zero. The second describes values more than distance a from zero. If the inequality includes equality, use non-strict inequalities accordingly.
For example,
gives
so
For
first divide by 2:
Thus,
so the solution is
14. Polynomial Long Division
Polynomial long division divides a polynomial by another polynomial and produces a quotient and remainder:
The remainder must have lower degree than the divisor.
Procedure
Write the polynomials in descending powers.
Insert zero coefficients for missing powers.
Divide the leading term of the current dividend by the leading term of the divisor.
Multiply the divisor by that result and subtract.
Bring down the next term and repeat.
Stop when the remainder has lower degree than the divisor.
For example,
has quotient 2x2−6x+13 and remainder −29. Therefore,
and
If a power is missing, its coefficient must be included as zero. For example,
Why polynomial division is useful
Long division can rewrite a rational function as a polynomial plus a proper rational expression. For example,
This form is especially useful when integrating rational functions.
15. Synthetic Division
Synthetic division is a shortened method for dividing by a linear factor of the form x−r. It uses polynomial coefficients and the value r.
For example, division by x+2 uses r=−2. For
the coefficients are 2,−2,1,−3. Synthetic division proceeds by:
Bringing down the first coefficient.
Multiplying the current result by r.
Adding the product to the next coefficient.
Repeating through the final coefficient.
The quotient coefficients are 2,−6,13, and the remainder is −29, agreeing with long division.
Synthetic division also tests whether x−r is a factor: a remainder of zero means it is a factor. A missing power must still be represented by a zero coefficient.
For divisors of degree greater than one, ordinary synthetic division does not directly apply in this basic form. A divisor may be factored into linear factors, but the division and remainder must be tracked carefully; polynomial long division is the general method.
16. Combining the Factor Theorem and Synthetic Division
The factor theorem and synthetic division work together to factor higher-degree polynomials:
Identify candidate roots, often beginning with simple integers.
Evaluate the polynomial at each candidate.
If P(r)=0, then x−r is a factor.
Use synthetic division to reduce the degree.
Repeat until the remaining polynomial is quadratic or cannot be factored further.
For example,
Testing x=−1 gives P(−1)=0, so x+1 is a factor. Synthetic division leaves
Hence,
For a higher-degree example,
has a common factor x:
The quartic factor has roots 1 and −1. Dividing successively by x−1 and x+1 leaves 2x2+x−3=(2x+3)(x−1). The complete factorization is
Repeated factors correspond to roots with multiplicity greater than one.
17. Common Algebraic Statements: True or False
These identities are not interchangeable. Each is either valid under stated conditions or false in general.
False: (a+b)2=a2+b2.
The correct identity is (a+b)2=a2+2ab+b2.False: a2+b2=a+b.
In general, the square root of a sum of squares is not the sum of the terms.False: a−b=a−b.
Roots do not distribute across addition or subtraction.True with conditions: ab=ab for real a,b≥0.
False: (a+b)2=a+b.
The expansion includes the middle term 2ab.False in general: b1+ab=1+a.
For b=0, the left side is b1+a.False: x−y1=x1−y1.
The right-hand side has a different denominator structure.True when b=0:
ba+b=1+ba.True when x=0 and a=b:
a/x−b/x1/x=a−b1.Simplify, but do not combine the radicals:
4+5=2+5.True when the roots are defined:
(x−y)(x+y)=x−y.True when the denominators are nonzero:
c/da/b=bcad.
The central checks throughout algebra are whether the expressions are defined, whether a transformation preserves equality or inequality, and whether factors—not isolated terms—are being canceled.

Ask anything
We've read this whole study set, so questions about it get the best answers.