Skip to content

Unit 1 & 2: Fundamentals, Equations, and Inequalities

AP Precalc cheatsheet

Open ↗

Loading…


Before we solve anything, we need a shared language for the kinds of numbers that can show up. These sets are nested: every natural number is an integer, every integer is rational, and every rational number is real.

  • Natural numbers: N={1,2,3,…}\mathbb{N}=\{1,2,3,\ldots\}. These are the counting numbers.
  • Whole numbers: {0,1,2,3,…}\{0,1,2,3,\ldots\}. This is the natural numbers plus 00.
  • Integers: Z={…,−3,−2,−1,0,1,2,3,…}\mathbb{Z}=\{\ldots,-3,-2,-1,0,1,2,3,\ldots\}.
  • Rational numbers: Q={pq∣p,q∈Z, q≠0}\mathbb{Q}=\left\{\frac{p}{q}\mid p,q\in\mathbb{Z},\ q\ne 0\right\}. These are numbers that can be written as fractions of integers.
  • Irrational numbers: real numbers that are not rational, such as π\pi, ee, and 2\sqrt{2}.
  • Real numbers: R\mathbb{R}. These are all numbers on the number line.
  • Complex numbers: C={a+bi∣a,b∈R, i=−1}\mathbb{C}=\{a+bi\mid a,b\in\mathbb{R},\ i=\sqrt{-1}\}.

Decimal form is often a good way to tell rational and irrational numbers apart. Rational decimals either terminate, like 12=0.5\frac{1}{2}=0.5, or repeat, like 13=0.333…\frac{1}{3}=0.333\ldots. Irrational decimals do not terminate and do not repeat.

We also use set notation to describe groups of numbers:

  • x∈Ax\in A means ”xx is in set AA.”
  • A∪BA\cup B means ”AA or BB” (the union).
  • A∩BA\cap B means ”AA and BB” (the intersection).
  • A∖BA\setminus B means “in AA but not in BB.”
  • ∃\exists means “there exists.”
  • ∀\forall means “for all.”

Interval notation is another way to describe parts of the number line. Parentheses mean an endpoint is not included; brackets mean it is included:

(3,5)={x∣3<x<5},[3,5]={x∣3≤x≤5}.(3,5)=\{x\mid 3<x<5\},\qquad [3,5]=\{x\mid 3\le x\le 5\}.

Infinity is never included, so it always uses a parenthesis:

(−∞,4]or(2,∞).(-\infty,4]\quad\text{or}\quad (2,\infty).

The rectangular (Cartesian) coordinate plane lets us turn algebra into geometry. A point (x,y)(x,y) records two movements: horizontal movement first, then vertical movement. The plane is divided into four quadrants, starting with Quadrant I in the upper right and moving counterclockwise. The signs of xx and yy tell you where the point is:

  • Quadrant I: (+,+)(+,+)
  • Quadrant II: (−,+)(-,+)
  • Quadrant III: (−,−)(-,-)
  • Quadrant IV: (+,−)(+,-)

The distance formula comes from the Pythagorean Theorem. For points A(x1,y1)A(x_1,y_1) and B(x2,y2)B(x_2,y_2),

d(A,B)=(x2−x1)2+(y2−y1)2.d(A,B)=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}.

The midpoint formula averages the coordinates:

M=(x1+x22,y1+y22).M=\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2}\right).

These formulas are very useful later on for analytic geometry.

Slope measures how fast yy changes compared with xx:

m=riserun=ΔyΔx=y2−y1x2−x1.m=\frac{\text{rise}}{\text{run}}=\frac{\Delta y}{\Delta x}=\frac{y_2-y_1}{x_2-x_1}.

The same line can be written in several useful forms:

  • Slope-intercept form: y=mx+by=mx+b. This is best when you know the slope and yy-intercept.
  • Point-slope form: y−y1=m(x−x1)y-y_1=m(x-x_1). This is best when you know a point and a slope.
  • Standard form: Ax+By=CAx+By=C, usually with A,B,C∈ZA,B,C\in\mathbb{Z} and A≥0A\ge 0.

From standard form, if B≠0B\ne 0, the slope is

m=−AB.m=-\frac{A}{B}.

The intercepts are found by setting the other variable equal to 00. For example, in Ax+By=CAx+By=C, the xx-intercept is CA\frac{C}{A} when A≠0A\ne 0, and the yy-intercept is CB\frac{C}{B} when B≠0B\ne 0.

Also, parallel lines have the same slope, while perpendicular lines have slopes that are negative reciprocals:

m1m2=−1.m_1m_2=-1.

Solving a linear equation is usually a matter of undoing operations until the variable is alone. The main danger is not algebraic difficulty; it is losing track of what operation you applied to both sides.

For example,

3x−7=113x-7=11

becomes

3x=18⟹x=6.3x=18 \quad\Longrightarrow\quad x=6.

Linear equations usually have one solution, but there are two special cases:

  • If the variables disappear and you get a true statement, such as 0=00=0, the equation is true for all real xx that sastisfies the equation.
  • If the variables disappear and you get a false statement, such as 0=50=5, there is no solution.

A quadratic equation has the form

ax2+bx+c=0,a≠0.ax^2+bx+c=0,\qquad a\ne 0.

The basic idea is to get the equation into a form where the zero-product property, square roots, or the quadratic formula can finish the job.

Examples of problem solving techniques (Quadratics).

Factoring is the fastest method when it works:

(x−3)(x+2)=0⟹x=3orx=−2.(x-3)(x+2)=0 \quad\Longrightarrow\quad x=3\quad\text{or}\quad x=-2.

Be careful not to divide by a variable expression unless you know it is nonzero. For example, dividing x2=3xx^2=3x by xx loses the solution x=0x=0. Instead, move everything to one side:

x2−3x=0⟹x(x−3)=0.x^2-3x=0 \quad\Longrightarrow\quad x(x-3)=0.

Completing the square rewrites a quadratic as a perfect square:

x2+6x+5=0⟹(x+3)2=4.x^2+6x+5=0 \quad\Longrightarrow\quad (x+3)^2=4.

Then

x+3=±2,x+3=\pm 2,

so x=−1x=-1 or x=−5x=-5.

The quadratic formula works for every quadratic, but often times it is very inefficient to use compared to the techniques shown above. The solutions to any quadratic come in the form of:

x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

The discriminant b2−4acb^2-4ac tells you how many real roots the equation has:

  • b2−4ac>0b^2-4ac>0: two distinct real solutions.
  • b2−4ac=0b^2-4ac=0: one repeated real solution.
  • b2−4ac<0b^2-4ac<0: no real solutions, but two complex solutions.

Vieta’s formulas are also useful. If r1r_1 and r2r_2 are the roots of ax2+bx+c=0ax^2+bx+c=0, then

r1+r2=−ba,r1r2=ca.r_1+r_2=-\frac{b}{a},\qquad r_1r_2=\frac{c}{a}.

Proof (Quadratic formula). Let the quadratic be in the form of

ax2+bx+c=0ax^2 + bx + c = 0

with a≠0a\ne 0. Divide both sides by aa:

x2+bax+ca=0x^2 + \frac{b}{a} x + \frac{c}{a} = 0

Move the constant term to the other side:

x2+bax=−ca.x^2+\frac{b}{a}x=-\frac{c}{a}.

To complete the square, add (b2a)2\left(\frac{b}{2a}\right)^2 to both sides:

(x+b2a)2=−ca+b24a2.\left(x+\frac{b}{2a}\right)^2 =-\frac{c}{a}+\frac{b^2}{4a^2}.

Combine the right-hand side:

(x+b2a)2=b2−4ac4a2.\left(x+\frac{b}{2a}\right)^2 =\frac{b^2-4ac}{4a^2}.

Take the square root of both sides:

x+b2a=±b2−4ac2a.x+\frac{b}{2a}=\pm\frac{\sqrt{b^2-4ac}}{2a}.

Subtract b2a\frac{b}{2a}:

x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Rational equations contain variables in denominators. The first step is always domain restrictions: denominators cannot be 00.

For example, in

x+2x−3=5x−3,\frac{x+2}{x-3}=\frac{5}{x-3},

we must have x≠3x\ne 3 before doing anything else.

A polynomial equation uses whole-number powers of the variable:

anxn+an−1xn−1+⋯+a1x+a0=0.a_nx^n+a_{n-1}x^{n-1}+\cdots+a_1x+a_0=0.

The usual first move is to put everything on one side and make the other side 00. Then factor if possible.

Common factoring patterns include:

  • Greatest common factor: x3−4x=x(x2−4)x^3-4x=x(x^2-4).
  • Difference of squares: x2−9=(x−3)(x+3)x^2-9=(x-3)(x+3).
  • Quadratic in form: x4−5x2+4=0x^4-5x^2+4=0.

For a quadratic-in-form equation, substitute. If

x4−5x2+4=0,x^4-5x^2+4=0,

let u=x2u=x^2. Then

u2−5u+4=0.u^2-5u+4=0.

After solving for uu, substitute back and solve for xx. Do not stop at the substitution variable; the original question asked for xx.


Absolute value measures distance from 00:

∣x∣=the distance between x and 0.\lvert x \rvert =\text{the distance between }x\text{ and }0.

More generally, ∣x−a∣\lvert x-a \rvert is the distance between xx and aa. This distance interpretation is usually easier than memorizing cases.

For a>0a > 0:

∣u∣=a⟹u=a  or  u=−a\lvert u\rvert = a \quad \Longrightarrow \quad u = a \ \text{ or }\ u = -a ∣u∣<a⟹−a<u<a\lvert u\rvert < a \quad \Longrightarrow \quad -a < u < a ∣u∣>a⟹u<−a  or  u>a\lvert u\rvert > a \quad \Longrightarrow \quad u < -a \ \text{ or }\ u > a

If a=0a = 0, ∣u∣=0\lvert u\rvert = 0 means u=0u = 0. If a<0a < 0, ∣u∣=a\lvert u\rvert = a has no solution in R\mathbb{R}.

Absolute value expressions are also naturally piecewise. For example,

∣x−3∣={x−3,x≥3,3−x,x<3.\lvert x-3 \rvert= \begin{cases} x-3, & x\ge 3,\\ 3-x, & x<3. \end{cases}

When an equation has several absolute values, break the number line at the values where the inside expressions equal 00, solve on each interval, and check that each answer belongs to the interval where you found it.


When the bases can be made the same, rewrite first:

2x−3=8x⟹2x−3=(23)x=23x.2^{x-3}=8^{x} \quad\Longrightarrow\quad 2^{x-3}=(2^3)^x=2^{3x}.

Since 2u2^u is one-to-one,

x−3=3x.x-3=3x.

In general, if a>0a>0 and a≠1a\ne 1, then

am=an⟹m=n.a^m=a^n\quad\Longrightarrow\quad m=n.

If the bases cannot be matched cleanly, isolate the exponential expression and use logarithms. Keep an eye on the domain: logarithms only accept positive inputs, and exponential bases must be positive and not equal to 11 in the usual real-valued setting.


Fractional exponents are another way to write radicals:

xp/q=xpq.x^{p/q}=\sqrt[q]{x^p}.

For example,

x1/2=x,x2/3=x23.x^{1/2}=\sqrt{x},\qquad x^{2/3}=\sqrt[3]{x^2}.

Even roots require nonnegative radicands in the real numbers. Odd roots allow negative radicands. This is why x−4\sqrt{x-4} requires x≥4x\ge 4, but x−43\sqrt[3]{x-4} does not.

One important simplification is

x2=∣x∣,\sqrt{x^2}=\lvert x \rvert,

not just xx. The square root symbol means the nonnegative square root.


Radical equations are equations with roots, such as

x−5=x−7.\sqrt{x-5}=x-7.

For example, if a step gives

x−x=20,x-\sqrt{x}=20,

then isolating and squaring may produce candidates. Each candidate must still be substituted back into the original radical equation.


Solving inequalities feels like solving equations, but the answer is usually an interval or a union of intervals instead of a single number.

The key rule: multiplying or dividing by a negative number reverses the inequality sign:

−2x<8⟹x>−4.-2x<8 \quad\Longrightarrow\quad x>-4.

Compound inequalities describe overlaps or unions:

  • −3<2x−1≤5-3<2x-1\le 5 means both inequalities must be true at the same time.
  • x<−2x<-2 or x>4x>4 means either interval works.

Graphing on a number line is often the cleanest way to avoid mistakes. Open circles go with << and >>; closed circles go with ≤\le and ≥\ge.


Absolute value inequalities are distance statements. For a>0a>0:

∣u∣<a⟺−a<u<a\lvert u\rvert < a \quad \Longleftrightarrow \quad -a < u < a ∣u∣≤a⟺−a≤u≤a\lvert u\rvert \le a \quad \Longleftrightarrow \quad -a \le u \le a ∣u∣>a⟺u<−a  or  u>a\lvert u\rvert > a \quad \Longleftrightarrow \quad u < -a \ \text{ or }\ u > a ∣u∣≥a⟺u≤−a  or  u≥a\lvert u\rvert \ge a \quad \Longleftrightarrow \quad u \le -a \ \text{ or }\ u \ge a

The short version:

  • “Less than” means between.
  • “Greater than” means outside.

For example,

∣3x−2∣≤4\lvert 3x-2 \rvert \le 4

means

−4≤3x−2≤4.-4\le 3x-2\le 4.

But

∣4−5x∣>1\lvert 4-5x \rvert >1

means

4−5x>1or4−5x<−1.4-5x>1 \quad\text{or}\quad 4-5x<-1.

If the absolute value expression is compared to a negative number, pause. Since absolute value is never negative, statements like ∣u∣<−3\lvert u \rvert <-3 have no solution.


Polynomial inequalities ask where a polynomial is positive or negative:

p(x)>0,p(x)≤0,etc.p(x)>0,\qquad p(x)\le 0,\qquad \text{etc.}

Multiplicity matters. A simple root usually changes the sign. An even-multiplicity root touches the axis and does not change the sign.

For example,

(x−1)2(x+3)<0(x-1)^2(x+3)<0

has critical numbers −3-3 and 11. The squared factor is never negative and does not change sign at x=1x=1, so the sign behavior is controlled mostly by x+3x+3.


Typical form: P(x)Q(x)>0\dfrac{P(x)}{Q(x)} > 0, ≥0\ge 0, <0< 0, or ≤0\le 0 (strict vs non-strict matters at zeros of the denominator).

The method is similar to polynomial inequalities, with one major warning: denominator zeros are never allowed.


Example: f(x)<g(x)\sqrt{f(x)} < g(x).

Radical inequalities need more care than radical equations because squaring inequalities is only automatically safe when both sides are known to be nonnegative.

Always begin with the domain. For an even root,

f(x)\sqrt{f(x)}

requires f(x)≥0f(x)\ge 0.

If the inequality is

f(x)≤g(x),\sqrt{f(x)}\le g(x),

then we also need g(x)≥0g(x)\ge 0, because the left side is nonnegative. After those conditions are in place, squaring is safe:

f(x)≤g(x)2.f(x)\le g(x)^2.

For

f(x)>g(x),\sqrt{f(x)}>g(x),

split into cases:

  • If g(x)<0g(x)<0, the inequality is automatically true wherever the radical exists.
  • If g(x)≥0g(x)\ge 0, square both sides and solve f(x)>g(x)2f(x)>g(x)^2.

The final answer is the union of valid pieces that also satisfy the original domain.


Symmetry asks what happens to a graph when you reflect or rotate it. The algebra tests come from replacing points with their reflected versions.

  • xx-axis symmetry: if (x,y)(x,y) is on the graph, then (x,−y)(x,-y) is also on the graph. Algebra test: replace yy with −y-y and see whether the equation stays the same.
  • yy-axis symmetry: if (x,y)(x,y) is on the graph, then (−x,y)(-x,y) is also on the graph. Algebra test: replace xx with −x-x.
  • Origin symmetry: if (x,y)(x,y) is on the graph, then (−x,−y)(-x,-y) is also on the graph. Algebra test: replace both xx with −x-x and yy with −y-y.

For example, the graph of

y=x2y=x^2

has yy-axis symmetry because replacing xx with −x-x gives

y=(−x)2=x2.y=(-x)^2=x^2.

The graph of

y=x3y=x^3

has origin symmetry because replacing both variables gives

−y=(−x)3=−x3,-y=(-x)^3=-x^3,

which simplifies back to y=x3y=x^3.

Extension. If a graph has both xx-axis and yy-axis symmetry, does it necessarily have origin symmetry? If a graph has origin symmetry, does it necessarily have xx-axis and yy-axis symmetry?


  1. The taxicab distance between points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) in the coordinate plane is given by ∣x1−x2∣+∣y1−y2∣\lvert x_1 - x_2 \rvert + \lvert y_1 - y_2 \rvert. For how many points PP with integer coordinates is the taxicab distance between PP and the origin less than or equal to 2020? (2022 AMC 12A)
  1. Solve for xx: x4−13x2+36=0x^4 - 13x^2 + 36 = 0.
  1. Simplify x4256+x332+5x216+x+4+16x−84x−7−24+2(x216+x4+2)(−2+24x−7)\sqrt{\frac{x^4}{256} + \frac{x^3}{32} + \frac{5x^2}{16} + x + 4 + 16x - 8\sqrt{4x-7} - 24 + 2(\frac{x^2}{16} + \frac{x}{4} + 2)(-2 + 2\sqrt{4x-7})}. (Hint: Use factor by grouping.)
  1. Solve for xx and discard any extraneous solutions: 1x−1+2x2−1=3x+1\dfrac{1}{x-1} + \dfrac{2}{x^2-1} = \dfrac{3}{x+1}.
  1. Solve for xx in R\mathbb{R}: 9x−10⋅3x+9=09^x - 10\cdot 3^x + 9 = 0.
  1. Solve for xx in R\mathbb{R} and check every candidate in the original equation: 2x+3+x+1=3\sqrt{2x+3} + \sqrt{x+1} = 3.
  1. Solve for xx in R\mathbb{R} and write the answer in interval notation: 3x+1x−2>2\dfrac{3x+1}{x-2} > 2.
  1. Solve for xx in R\mathbb{R} and write the answer in interval notation: ∣x−2∣+∣x+4∣≤10\lvert x - 2\rvert + \lvert x + 4\rvert \le 10.
  1. Solve for xx in R\mathbb{R} and write the answer in interval notation: ∣x2−9∣≤5\lvert x^{2} - 9\rvert \le 5.
  1. Solve in R\mathbb{R}: (x−1)2(x−4)(x+2)<0(x-1)^{2}(x-4)(x+2) < 0. Explain how repeated roots change the sign chart compared with all simple roots.
  1. Solve in R\mathbb{R}: x3−5x2+6x≥0x^{3} - 5x^{2} + 6x \ge 0.
  1. Solve in R\mathbb{R}: x2−4x2+x≤0\dfrac{x^{2} - 4}{x^{2} + x} \le 0. Give the domain, a single rational inequality of the form R(x)Q(x)≤0\dfrac{R(x)}{Q(x)} \le 0 with no common factors, and the solution in interval notation.
  1. Solve in R\mathbb{R}: 4−x2≥x\sqrt{4 - x^{2}} \ge x. Find the radical domain first, then split into x<0x < 0 and x≥0x \ge 0 before squaring where legal.
  1. Solve in R\mathbb{R}: x2+5≤x+2\sqrt{x^{2} + 5} \le x + 2. Impose all conditions needed before and after squaring.
  1. Determine the symmetries of both graphs: f(x)=x2x2+1f(x)=\dfrac{x^2}{x^2+1} and g(x)=x∣x∣g(x)=x\lvert x\rvert. For each, decide whether the graph has yy-axis symmetry, xx-axis symmetry, origin symmetry, or none.
  1. (Bonus, Markov equations)

Our goal is to find all positive integer solutions (x,y)(x,y) to

x2+y2+1=3xy.x^2+y^2+1=3xy.

This is a small version of a famous family of Diophantine equations (equations with positive integer solutions) known as Markov equations.

(A)(A) Find the solutions with y=1y=1.

(B)(B) Treat the equation as a quadratic in xx. If xx is one root, use Vieta’s formulas to find the other root x′x'.

(C)(C) Suppose (x,y)(x,y) is a positive integer solution with x≥y≥2x\ge y\ge 2. Prove that the other root x′x' is a positive integer and that x′<yx'<y.

(D)(D) Explain why repeatedly replacing the larger coordinate by the smaller Vieta root must eventually reach a solution with one coordinate equal to 11.

(E)(E) Reverse the process to describe all positive integer solutions.