Calculus Prerequisites
Algebra Foundations for Calculus
Algebra is the language used to describe quantities and relationships. Calculus builds on that language: derivatives and integrals often involve functions, fractions, powers, radicals, and equations that must first be manipulated correctly. This lesson develops the algebra skills that support later work in precalculus, calculus, differential equations, and calculus-based physics.
An effective way to learn these ideas is to try a problem before reading its solution. Working through a question reveals which step needs attention; simply watching a solution can make a familiar method seem easier than it is.
Number sets
A set is a collection of objects. In algebra, number sets classify numbers according to their properties.
From counting numbers to real numbers
-
The natural numbers, often written N, are the counting numbers:
N={1,2,3,4,…}.Some courses include 0 in the natural numbers, so the convention should be checked.
-
The nonnegative integers include 0 and all positive integers:
{0,1,2,3,…}. -
The integers, written Z, include zero, positive whole numbers, and negative whole numbers:
Z={…,−3,−2,−1,0,1,2,3,…}. -
The rational numbers, written Q, are numbers that can be expressed as a quotient of integers, with a nonzero denominator:
Q={qp:p,q∈Z, q=0}.Examples include 5, 0, 21, and −32, because each can be written as a fraction of integers.
A decimal that terminates or repeats is rational. For example, 1.333… is repeating, and
1.333…=34.Repetition matters: the decimal does not have to stop to represent a rational number.
-
Irrational numbers cannot be written as a quotient of integers. Their decimal expansions continue without eventually repeating. Examples include 2, π, and e.
-
The real numbers, written R, contain all rational and irrational numbers. They include familiar numbers such as −5, 21, 2, and π.
The main progression is that the integers include the natural numbers, the rational numbers include the integers, and the real numbers include both the rational and irrational numbers.
Complex numbers
A complex number has the form
a+bi,where a and b are real numbers and i is defined by
i2=−1.The real number a is called the real part, and b is called the imaginary part. For instance, 2+3i is a complex number.
A complex number can also be pictured as a point (a,b) in a plane. The horizontal direction is the real axis and the vertical direction is the imaginary axis. This picture gives a geometric way to represent numbers involving i.
The real numbers are not every possible number used in algebra: complex numbers extend the number system so that equations involving square roots of negative numbers can be represented.
Think About It: Why is 1.333… rational even though its decimal expansion never ends?
Intervals and set notation
An interval describes a continuous range of real numbers. It is especially useful for expressing solution sets of equations and inequalities.
Open, closed, and half-open intervals
An open interval excludes both endpoints:
(a,b)={x∈R:a<x<b}.On a number line, each endpoint is shown with an open circle.
A closed interval includes both endpoints:
[a,b]={x∈R:a≤x≤b}.Its endpoints are shown with filled circles.
A half-open interval includes one endpoint and excludes the other:
[a,b)={x∈R:a≤x<b},or
(a,b]={x∈R:a<x≤b}.The parentheses mean “not included,” while the square brackets mean “included.”
Intervals extending without bound
The symbol ∞ describes unboundedness, not a number that can be included as an endpoint. Therefore, infinity always uses a parenthesis:
(−∞,∞)=R, (−∞,a)={x∈R:x<a},and
[b,∞)={x∈R:x≥b}.Set-builder notation and interval notation express the same sets in different ways. For example,
{x∈R:x≥2}=[2,∞).Think About It: If a solution includes its smallest value but has no largest value, which endpoint symbols should the interval use?
Exponents and radicals
Exponent rules make expressions more manageable by recording repeated multiplication compactly.
Basic exponent rules
For nonzero a and integers m,n:
aman=am+n, anam=am−n, (am)n=amn,and
(ab)n=anbn.The product rule applies when the bases are the same. The power-of-a-power rule multiplies the exponents.
A negative exponent means to take a reciprocal:
a−n=an1.For example,
2−4=241=161.Moving a power across a fraction bar changes the sign of its exponent:
2−31=23=8.A power of zero equals 1 for a nonzero base:
a0=1.Parentheses and order of operations
Parentheses determine whether a negative sign belongs to the base. Without parentheses, the exponent applies before the leading negative sign:
−24=−(24)=−16.With parentheses, the negative number is the base:
(−2)4=16.An even power of a negative base is positive; an odd power remains negative.
Nested powers also require care. For example,
232=29=512,whereas
(23)2=82=64.The parentheses change which operation is performed first.
Fractional exponents
A fractional exponent represents a root:
a1/n=na.More generally,
am/n=(na)m.For example,
163/4=(416)3=23=8.When working with real numbers, a root with an even index requires a nonnegative radicand. This restriction matters when expressions contain variables.
Simplifying expressions with powers
Consider
(−3a2b3)(4ab2)2.First square each factor inside the parentheses:
(4ab2)2=16a2b4.Then multiply coefficients and add exponents on matching bases:
(−3a2b3)(16a2b4)=−48a4b7.A longer example is
(6x2y−1/22x3/2y4)−2.Inside the parentheses, simplify the numerical factor and subtract exponents in the quotient:
6x2y−1/22x3/2y4=31x−1/2y9/2.Then apply the exponent −2 to every factor:
(31x−1/2y9/2)−2=9xy−9=y99x.Simplifying radicals
To simplify a square root, factor out the largest perfect square. For example,
200+32=100⋅2+16⋅2=102+42=142.Only like radicals can be added. The terms 102 and 42 can be combined because both contain 2; terms containing different radicals generally cannot.
Think About It: Why does (−2)4 have a different value from −24?
Expanding and factoring expressions
Expanding turns products into sums. Factoring reverses that process by expressing a sum as a product. Both are useful: expanding can reveal like terms, while factoring can reveal roots and common factors.
The distributive property
The distributive property says
a(b+c)=ab+ac.Every term in one factor must be multiplied by every term in the other factor. For example,
3(x+5)−4(2x−4)=3x+15−8x+16=−5x+31.The final step combines like terms: terms with the same variable raised to the same power.
Multiplying two binomials
To expand a product of two binomials, each term in the first factor is multiplied by every term in the second. For example,
(x+2)(3x−5)=3x2−5x+6x−10=3x2+x−10.The difference-of-squares identity is especially useful:
(a−b)(a+b)=a2−b2.The middle terms cancel because one product contributes ab and the other contributes −ab. For instance,
(x−y)(x+y)=x−y.A squared binomial follows the identity
(a+b)2=a2+2ab+b2.With a minus sign, the middle term changes sign:
(a−b)2=a2−2ab+b2.For example,
(2x−3)2=4x2−12x+9.Pascal’s triangle and binomial expansion
A binomial is an expression with two terms. Pascal’s triangle supplies coefficients for expanding powers of binomials:
111121133114641Each interior entry is the sum of the two entries immediately above it. The row for power n supplies the coefficients for (a+b)n. The powers of a decrease from n to 0, while those of b increase from 0 to n.
For example, the coefficients for the third power are 1,3,3,1, so
(a+b)3=a3+3a2b+3ab2+b3.To expand (x−2)3, substitute a=x and b=−2:
(x−2)3=x3−6x2+12x−8.Common factoring methods
The first step in factoring is often to remove the greatest common factor. For example,
x3y−16xy=xy(x2−16)=xy(x−4)(x+4).After taking out the common factor, the expression inside can sometimes be factored further.
The difference-of-squares identity works in reverse:
4x2−9=(2x−3)(2x+3).A quadratic trinomial can often be factored by finding two numbers whose product is the product of the leading and constant coefficients, and whose sum is the middle coefficient. For example,
2x2−5x−12=(2x+3)(x−4).The product of the leading and constant coefficients is 2(−12)=−24, and 3 and −8 multiply to −24 and add to −5.
Grouping can help factor expressions with four terms:
x3−3x2−5x+15=x2(x−3)−5(x−3)=(x−3)(x2−5).The method works by grouping terms so that each group has a common factor, then factoring out the shared binomial.
For sums and differences of cubes, the useful identities are
a3+b3=(a+b)(a2−ab+b2)and
a3−b3=(a−b)(a2+ab+b2).For example,
x4+64x=x(x3+64)=x(x+4)(x2−4x+16).Fractional exponents can also be handled by taking out a common factor. Assuming x>0,
2x3/2−6x1/2+4x−1/2=2x−1/2(x2−3x+2)=x2(x−1)(x−2).The restriction x>0 ensures that x is real and that the denominator is not zero.
Think About It: How can factoring reveal information about the values that make a polynomial equal to zero?
Rational expressions
A rational expression is a quotient of polynomial expressions. As with ordinary fractions, the denominator cannot equal zero.
Simplifying, multiplying, and dividing
To simplify a rational expression, factor the numerator and denominator and cancel only common factors:
x2−4x2−3x+2=(x−2)(x+2)(x−1)(x−2)=x+2x−1.The original expression is undefined at x=2 and x=−2, even though the factor x−2 cancels. Simplification does not remove restrictions from the original expression.
For multiplication, multiply numerators and denominators, then factor and cancel common factors. For division, multiply by the reciprocal of the second expression:
BA÷DC=BA⋅CD,provided the denominators are nonzero and the divisor itself is not zero.
For example,
x2−92x2−x−1⋅2x+1x+3=(x−3)(x+3)(2x+1)(x−1)⋅2x+1x+3=x−3x−1.Cancellation applies to common factors, not to individual terms in a sum. For example, a term such as x+2 cannot be canceled against a single x.
Adding and subtracting rational expressions
Adding or subtracting fractions requires a common denominator. For example,
x1−y1=xyy−x,where x=0 and y=0.
For a more involved expression, simplify the numerator and denominator separately before dividing:
x1−y1yx−xy.The top becomes
xyx2−y2,and the bottom becomes
xyy−x.Dividing by the bottom means multiplying by its reciprocal:
xyx2−y2⋅y−xxy=y−x(x−y)(x+y)=−(x+y).The expression has additional restrictions from its original denominators and from the requirement that the divisor not be zero.
Rationalizing a denominator
When a denominator contains a square root, multiplying by a suitable expression can remove that root from the denominator. For a binomial denominator, the suitable expression is often its conjugate: the same two terms with the sign between them reversed.
For example,
2−12+1⋅2+12+1=2−1(2+1)2=3+22.The denominator simplifies because the product of conjugates is a difference of squares.
The same technique helps simplify expressions involving radicals. For h=0 and h=−9,
h9+h−3.Multiply by the conjugate:
h9+h−3⋅9+h+39+h+3=h(9+h+3)(9+h)−9=9+h+31.This form is especially useful in calculus, where expressions of this type arise when studying change over small intervals.
A complex fraction shortcut
For nonzero b and c,
c/da/b=bcad.This follows from multiplying by the reciprocal:
ba÷dc=ba⋅cd.Remembering this relationship can shorten calculations, but it does not replace checking that all original denominators are allowed.
Think About It: Why is it valid to cancel (x−2) in a product of factors, but not to cancel x from a sum such as x+2?
Completing the square
Completing the square rewrites a quadratic expression as a squared binomial plus or minus a constant. This form is useful for solving equations and studying quadratic graphs.
The key pattern is
x2+bx=(x+2b)2−(2b)2.The coefficient of x is halved, and that half is squared.
For example,
x2+x+1=(x+21)2+43.The check is that
(x+21)2=x2+x+41,so an additional 43 is needed to produce the original constant 1.
If the coefficient of x2 is not 1, factor it out of the quadratic terms first:
−2x2+12x−11=−2(x2−6x)−11.Inside the parentheses, half of −6 is −3, whose square is 9:
−2((x−3)2−9)−11=−2(x−3)2+7.The factor outside must be kept in mind when balancing the expression.
Another example is
21x2−x+1=21(x2−2x+2)=21((x−1)2+1).Think About It: Why must the number added inside a completed square also be balanced by subtracting it?
Solving equations
Solving an equation means finding values of the variable that make the equation true. Each algebraic operation must preserve the equation’s equality, and any restrictions in the original expression must still be respected.
Linear equations
A linear equation can be solved by collecting variable terms on one side and constants on the other. For example,
x+5=14−21x.Move the variable term to the left and the constant to the right:
x+21x=14−5.Then
23x=9,x=6.Multiplying through by a common denominator is often helpful when fractions are present.
Quadratic equations
A quadratic equation has the form
ax2+bx+c=0,where a=0. If it factors, the zero-product property says that a product is zero only if at least one factor is zero. For example,
x2−x−12=(x−4)(x+3)=0gives
x=4orx=−3.If a quadratic does not factor easily, use the quadratic formula:
x=2a−b±b2−4ac.For
2x2+4x+1=0,the formula gives
x=−1±22.Equations that become quadratic after substitution
Some equations contain powers such as x4 and x2. A substitution can reveal a simpler quadratic structure. For example, let
u=x2.Then
x4−2x2−3=0becomes
u2−2u−3=0=(u−3)(u+1).For real x, u=x2 cannot equal −1, so the real solutions come from u=3:
x=±3.If complex numbers are being considered, x2=−1 also gives x=±i.
Equations with denominators
Before solving a rational equation, note the values that would make an original denominator zero. Those values cannot be solutions.
For example,
x−1=x2requires x=0. Multiplying both sides by x gives
x2−x=2,so
(x−2)(x+1)=0.The solutions are x=2 and x=−1. Neither violates the original restriction.
Absolute-value equations
The absolute value ∣x∣ represents the distance from x to zero, so it is nonnegative. For a>0,
∣x∣=ameans
x=aorx=−a.Thus,
3∣x−2∣=5first becomes
∣x−2∣=35.The two solutions are
x=2+35=311orx=2−35=31.With multiple absolute-value expressions, the signs inside them can change at different points. Those points divide the number line into intervals. The expressions must be rewritten separately on each interval, according to whether the quantity inside each absolute value is positive or negative.
Think About It: Why is checking a proposed solution in the original equation particularly important when denominators or radicals are involved?
Exponential and logarithmic equations
An exponential expression has the variable in the exponent, such as e−4t. A logarithm reverses exponentiation: if
bx=y,then
x=logb(y),provided b>0, b=1, and y>0.
The natural logarithm, written ln, is the logarithm with base e. The identity
ln(ex)=xmakes it especially useful in calculus.
Solving an exponential equation
Consider
7−2e−4t=3.4.First isolate the exponential:
e−4t=1.8.Take the natural logarithm of both sides:
−4t=ln(1.8).Therefore,
t=−41ln(1.8).Taking a logarithm is useful because the exponent can then be brought down as a multiplier.
Solving a logarithmic equation
Consider
32ln(x−2)−4=54.First isolate the logarithm:
ln(x−2)=536.Convert to exponential form:
x−2=e36/5,so
x=2+e36/5.The original logarithm requires x−2>0, and this solution satisfies that condition.
For logarithms, every argument must be positive. That restriction must be checked in the original equation, even after algebraic manipulation.
Think About It: Why does taking ln help solve an equation when the unknown appears in an exponent?
Systems of equations
A system of equations asks for values that satisfy several equations at once. A solution is therefore a shared solution to every equation in the system.
Elimination for two variables
The elimination method makes one variable disappear by adding or subtracting equations. For example,
a+b2a−3b=2,=9.Multiplying the first equation by 3 gives 3a+3b=6. Adding it to the second equation eliminates b:
5a=15,a=3.Substituting into a+b=2 gives b=−1.
Elimination for three variables
For a system with three variables, elimination first removes one variable from pairs of equations. This produces two equations with two variables. Those can be solved by elimination, after which the values can be substituted back to find the remaining variable.
The same principle extends to larger systems: each elimination step reduces the number of variables that must be handled at once.
Nonlinear systems
A system is nonlinear if at least one equation contains a nonlinear expression, such as a squared variable. For example,
y+2xy+x=1,=x2−11.The first equation gives y=1−2x. Substituting this into the second produces a quadratic equation:
x2−x−12=0.Its solutions are x=3 and x=−4. Substitution into y=1−2x gives the solution pairs
(3,−5)and(−4,9).Think About It: In a system, why must a candidate pair satisfy both equations rather than just one?
Inequalities
An inequality describes a range of values rather than necessarily a single value. Addition or subtraction of the same quantity on both sides preserves the inequality’s direction. Multiplication or division by a negative number reverses it.
For instance, solving
−4<5−3x≤17requires subtracting 5 throughout:
−9<−3x≤12.Dividing by −3 reverses both inequality signs:
3>x≥−4,which is more commonly written
−4≤x<3.Polynomial and rational inequalities
For a polynomial inequality, factor the expression and find its zeros. These zeros divide the number line into intervals. The sign is constant within each interval, so one test value from each interval determines whether that interval belongs in the solution.
For example,
x2−x−2>0factors as
(x−2)(x+1)>0.The critical numbers are −1 and 2. The product is positive outside these numbers, so the solution is
(−∞,−1)∪(2,∞).Not every quadratic factors neatly over the integers. For example,
x2≤x+8becomes
x2−x−8≤0.Its roots are
21−33and21+33.Since the parabola opens upward, the expression is nonpositive between its roots:
[21−33,21+33].For rational inequalities, the zeros of the numerator and denominator divide the number line into intervals. Numerator zeros may be included when the inequality allows equality. Denominator zeros must always be excluded.
For example,
x+13x−3≤−1can be rewritten as
x+14x−2≤0.The numerator is zero at x=21, and the denominator is zero at x=−1. The solution is
(−1,21].The value −1 is excluded because it makes the denominator zero; 21 is included because it makes the expression zero.
Absolute-value inequalities
For a>0, the statement
∣x∣<ameans that x is within distance a of zero:
−a<x<a.By contrast,
∣x∣>ameans that x lies more than distance a from zero:
x<−aorx>a.If the original inequality includes equality, the corresponding endpoints are included as well.
For example,
∣x−3∣<4becomes
−4<x−3<4,so
−1<x<7.And
∣2x−3∣≥5splits into two cases:
2x−3≥5or2x−3≤−5.Thus,
x≥4orx≤−1.Think About It: Why must a denominator zero be excluded from an inequality’s solution even if the related factor cancels during simplification?
Polynomial long division and synthetic division
Polynomial division expresses one polynomial as a quotient plus a remainder. It is useful in later calculus work because it can rewrite a complicated rational expression as simpler terms.
Long division
Divide
2x3−2x2+x−3by
x+2.The leading terms show that the first quotient term must be 2x2, since x(2x2)=2x3. Multiplying the divisor by 2x2 and subtracting leaves −6x2+x−3. The next quotient term is −6x. Continuing the same process gives quotient 2x2−6x+13 and remainder −29:
2x3−2x2+x−3=(x+2)(2x2−6x+13)−29.Equivalently,
x+22x3−2x2+x−3=2x2−6x+13−x+229.A missing power must be represented with coefficient zero. For example,
3x3−x+1=3x3+0x2−x+1.The zero coefficient keeps all powers in the correct order during division.
Synthetic division
Synthetic division is a shortcut for dividing by a linear factor such as x−c. It uses the polynomial’s coefficients and the number c.
For the example above, the divisor is x+2=x−(−2), so the synthetic number is −2. The coefficients are
2, −2, 1, −3.The synthetic division produces quotient coefficients 2,−6,13 and remainder −29. Therefore, it gives the same result as long division:
2x2−6x+13−x+229.Synthetic division is also useful for repeated linear factors. When dividing by a higher-degree polynomial, that divisor must first be factored into linear factors when possible. The remainders must then be combined correctly; dividing successively is not the same as retaining only the final remainder.
For example,
x2+x−23x3−x+1has divisor
x2+x−2=(x−1)(x+2).Direct polynomial division gives quotient 3x−3 and remainder 8x−5:
3x3−x+1=(x2+x−2)(3x−3)+(8x−5).Think About It: In polynomial division, why does the process stop when the remainder has lower degree than the divisor?
The factor theorem and synthetic division
The factor theorem connects roots and factors. If a polynomial P(x) satisfies
P(c)=0,then
x−cis a factor of P(x). In practical terms, a value that makes the polynomial zero identifies a linear factor.
Consider
P(x)=2x3+x2−4x−3.Testing x=−1 gives P(−1)=0, so x+1 is a factor. Synthetic division by x+1 leaves
2x2−x−3,which factors as
(2x−3)(x+1).Thus,
2x3+x2−4x−3=(x+1)2(2x−3).A similar approach works for higher-degree polynomials. For example,
2x5+x4−5x3−x2+3xhas a common factor x. The remaining quartic has roots 1 and −1, and synthetic division reduces it to a quadratic. The complete factorization is
2x5+x4−5x3−x2+3x=x(x−1)2(x+1)(2x+3).Testing convenient values such as 1 and −1 can be a useful starting point, but testing is not a guarantee that every factor will be found quickly. After finding a root, division reduces the degree of the polynomial and makes the remaining problem simpler.
Think About It: If synthetic division produces a remainder of zero, what does that tell a student about the corresponding linear expression?
Comprehensive review
The ideas in this lesson fit together as a toolkit for later mathematics:
- Number sets classify what kinds of values an expression can take. Intervals and set notation describe collections of values precisely.
- Exponent laws and radical rules simplify expressions while preserving their meaning. Parentheses, restrictions on roots, and nonzero denominators must all be respected.
- Expanding uses the distributive property to produce sums; factoring reverses that process and can reveal zeros, simplify fractions, or reduce the degree of a polynomial.
- Rational expressions require careful attention to denominators. They can be simplified by factoring and canceling common factors, but original restrictions remain.
- Completing the square and the quadratic formula provide reliable ways to solve quadratic equations.
- Exponential and logarithmic equations are connected by inverse operations, while logarithmic arguments must remain positive.
- Systems require solutions that satisfy every equation. Elimination and substitution reduce complicated systems to simpler ones.
- Inequality solutions are ranges. Negative multiplication reverses the inequality, sign charts organize polynomial and rational inequalities, and absolute-value inequalities translate distance into intervals or separate cases.
- Long division and synthetic division express polynomials in quotient-and-remainder form. The factor theorem uses roots to identify factors and makes repeated polynomial reduction possible.
The unifying habit is to preserve the meaning of the original expression at every step: track restrictions, use valid algebraic operations, and check whether the final result satisfies the starting problem.

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