➗ Mathematics · High School · MATH 130

Algebra II & Trigonometry

A complete second course in algebra that extends the tools of Algebra I and introduces trigonometry. You will review linear equations, master systems and matrices, work with quadratic and polynomial functions, meet complex numbers, simplify rational and radical expressions, explore exponential and logarithmic functions, study sequences and series, and finish with right-triangle trigonometry, the…

Start the interactive course (quizzes, progress, videos) →

Free forever. No sign-up, no ads. 23 lessons. The full lesson text is below so you can read it right here.

Module 1: Linear Equations, Inequalities, and Functions

A review and deepening of Algebra I: solving linear equations and inequalities, the language of functions, and the equations of lines.

Solving Linear Equations and Inequalities

  • Solve multi-step linear equations, including those with fractions.
  • Solve linear inequalities and reverse the sign when needed.
  • Solve absolute value equations and inequalities.

A phone bill with one number missing

A prepaid phone plan charges 25 dollars a month plus 10 cents for every text you send. Last month the bill came to 43 dollars and 70 cents. How many texts was that? The question turns into a single line: 25 + 0.10t = 43.70. Notice what t is here. It is not a mystery in the universe; the texts have already been sent and the bill has already been printed. The number exists. We just have to uncover it. Take 25 off both sides and you have 0.10t = 18.70. Divide both sides by 0.10 and you have t = 187. That is the entire craft of this lesson, and you have already watched it work once.

In this lesson we will solve linear equations (sentences with an equals sign and one hidden number), then inequalities (sentences that say one side is bigger or smaller), then a few problems with absolute value bars. We will go together the whole way.

Key idea: Solving an equation just means finding the one number the letter is hiding.

An equation is a balance scale

Picture an old balance scale, the kind with two pans. The equals sign, written =, is the little pivot in the middle. It is read out loud as is the same as. The two sides of the equation are the two pans, and right now they hold the same weight. That is what the equals sign is promising us.

Here is the one rule that makes everything work. As long as you do exactly the same thing to both pans, the scale stays balanced. Add 5 to the left pan, add 5 to the right pan too. Cut the left pan in half, cut the right in half too. Read that once more if you like. Whatever you do to one side, you must do to the other. That is the whole trick.

Why this matters: Do the same thing to both sides, and the equation stays true.

Undoing, step by step

To find the hidden number, we peel away everything sitting next to the letter, one layer at a time, using opposite operations. Adding and subtracting are opposites. Multiplying and dividing are opposites. If something was added, we subtract it away. If something multiplied, we divide it away.

Let us try one together, slowly. We will solve 5x - 8 = 27. Read that as five times x, minus 8, is the same as 27. The letter x is the hidden number we want.

  1. Look at what is happening to x. It is multiplied by 5, and then 8 is taken away. We will undo those, in reverse order.
  2. First undo the minus 8. The opposite of subtracting 8 is adding 8. Add 8 to both sides: 5x - 8 + 8 = 27 + 8.
  3. Tidy up. On the left, minus 8 plus 8 cancels out. On the right, 27 plus 8 is 35. Now we have 5x = 35.
  4. Now undo the times 5. The opposite of multiplying by 5 is dividing by 5. Divide both sides by 5: 5x ÷ 5 = 35 ÷ 5.
  5. Tidy up. On the left, that leaves just x. On the right, 35 divided by 5 is 7. So x = 7.

Always check. Put 7 back in for x in the very first equation: 5 × 7 - 8 = 35 - 8 = 27. That matches the 27 on the right, so x = 7 is correct. Nice work. That was the hard part, and you just did it.

Key idea: Undo the operations around the letter in reverse order, then check your answer.

When the letter is on both sides

Sometimes x shows up on both sides, and there are parentheses too. We handle it with a four-step plan: spread out the parentheses, tidy each side, gather the letters on one side, then finish.

Let us solve 3(x - 2) + 4 = 2x + 9 together.

  1. Spread out the 3. It multiplies both things inside the parentheses. 3 times x is 3x. 3 times negative 2 is negative 6. So the left becomes 3x - 6 + 4 = 2x + 9.
  2. Tidy the left. Negative 6 plus 4 is negative 2. Now 3x - 2 = 2x + 9.
  3. Gather the letters. Subtract 2x from both sides. On the left, 3x minus 2x is 1x, which we just write as x. Now x - 2 = 9.
  4. Finish. Add 2 to both sides. That gives x = 11.

Check: the left side is 3(11 - 2) + 4 = 3 × 9 + 4 = 27 + 4 = 31. The right side is 2 × 11 + 9 = 22 + 9 = 31. Both are 31. See? You just solved an equation with the letter on both sides.

Fractions? Clear them out first

Fractions add clutter, so here is a shortcut: get rid of them right away. Find the smallest number that all the bottoms (the denominators) divide into evenly. That number is called the least common denominator, or LCD. Multiply every single term by it, and the fractions turn into whole numbers.

Let us solve x/2 + 1/3 = x/6 + 2. The bottoms are 2, 3, and 6. The smallest number all three go into is 6, so the LCD is 6. Multiply each term by 6.

  1. 6 times x/2: 6 divided by 2 is 3, so this is 3x.
  2. 6 times 1/3: 6 divided by 3 is 2, so this is 2.
  3. 6 times x/6: 6 divided by 6 is 1, so this is x.
  4. 6 times 2: this is 12. Do not forget the plain number.
  5. Now the equation reads 3x + 2 = x + 12, with no fractions left.
  6. Subtract x from both sides: 2x + 2 = 12.
  7. Subtract 2 from both sides: 2x = 10.
  8. Divide both sides by 2: x = 5.

Check: the left is 5/2 + 1/3. Over a common bottom of 6 that is 15/6 + 2/6 = 17/6. The right is 5/6 + 2 = 5/6 + 12/6 = 17/6. They match. Well done.

Where people get stuck: When clearing fractions, they multiply the fractions by the LCD but forget the plain whole number (here, the 2). Every term gets multiplied, even the ones with no fraction.

Two surprising endings: no answer, or every answer

Most equations have exactly one answer. But once in a while the letter disappears entirely, and that is not a mistake. It is telling you something.

If the letter cancels and you are left with something false, there is no solution. For example, solving 2x + 3 = 2x - 5: subtract 2x from both sides and you get 3 = -5. That is never true, so no number works.

If the letter cancels and you are left with something true, then every number works. For example, 2(x + 1) = 2x + 2 becomes 2x + 2 = 2x + 2, then 2 = 2, which is always true. So the answer is all real numbers.

Inequalities: when one side is bigger

An inequality compares two sides that are not equal. Here are the symbols, read aloud in plain words:

  • < means is less than.
  • > means is greater than.
  • ≤ means is less than or equal to.
  • ≥ means is greater than or equal to.

Instead of one answer, you usually get a whole range of answers. The good news: you solve inequalities the same way as equations, with just one extra rule to remember.

The flip rule. When you multiply or divide both sides by a negative number, flip the direction of the symbol. Here is why, with real numbers. We know 3 < 5 is true. If we multiply both sides by negative 1 and do not flip, we would write -3 < -5, which is false (negative 3 is actually bigger than negative 5). Flipping fixes it: -3 > -5 is true. Multiplying by a negative flips the number line around, so the symbol has to flip too.

Let us solve -2x + 3 > 11 together.

  1. Subtract 3 from both sides: -2x > 8.
  2. Divide both sides by negative 2. Because we divided by a negative, flip the symbol from greater-than to less-than: x < -4.

So the answer is every number less than negative 4.

Where people get stuck: Forgetting to flip the symbol when dividing or multiplying by a negative. That one slip turns the whole answer backwards. Any time a negative touches both sides, pause and flip.

Absolute value: how far from zero

The absolute value of a number is simply how far it is from zero on the number line. Distance is never negative, so absolute value is never negative. We write it with two straight bars. So |5| = 5 (5 is 5 steps from zero) and |-5| = 5 (negative 5 is also 5 steps from zero). Read |5| as the absolute value of 5.

Because two different numbers can be the same distance from zero, an absolute value equation often has two answers. The equation |x| = 5 asks which numbers are exactly 5 steps from zero, and both 5 and negative 5 fit. In general |stuff| = k splits into two easy equations: stuff = k or stuff = -k. (If k is negative, there is no solution, because distance is never negative.)

Let us solve |2x - 1| = 7.

  1. Split into two cases.
  2. Case one: 2x - 1 = 7. Add 1: 2x = 8. Divide by 2: x = 4.
  3. Case two: 2x - 1 = -7. Add 1: 2x = -6. Divide by 2: x = -3.

So the two answers are 4 and negative 3. Check case one: |2 × 4 - 1| = |7| = 7. Check case two: |2 × (-3) - 1| = |-7| = 7. Both work.

Try it: Solve |3x + 2| = 8. Take your time, then read on.

Worked answer: Case one: 3x + 2 = 8 gives 3x = 6, so x = 2. Case two: 3x + 2 = -8 gives 3x = -10, so x = -10/3. The answers are 2 and negative 10 over 3. Nice.

A real reason this matters

Say a phone plan costs 20 dollars plus 0.10 dollars per gigabyte, and you want the bill to stay at or below 35 dollars. Let g be gigabytes. Then 20 + 0.10g ≤ 35. Subtract 20: 0.10g ≤ 15. Divide by 0.10: g ≤ 150. You can use up to 150 gigabytes and stay in budget. That is a real question, answered with the exact skill from this lesson.

Common misconceptions

  • Forgetting to flip the inequality symbol when multiplying or dividing by a negative. Pause and flip every time a negative touches both sides.
  • Spreading a number to only part of the parentheses. In 3(x - 2), the 3 hits both the x and the negative 2, giving 3x - 6, not 3x - 2.
  • Missing a term when clearing fractions. Multiply every term by the LCD, including plain whole numbers.
  • Solving only one case of an absolute value problem. There are two cases, and skipping one loses half the answer.
  • Stopping short when the letter cancels. A false leftover means no solution; a true leftover means all real numbers. Both are real, correct answers.

Where this leaves us

Solving an equation means finding the hidden number. Keep the balance by doing the same thing to both sides, and undo the operations around the letter in reverse order. Spread out parentheses and tidy each side first, and clear fractions with the LCD when they appear. Watch for the two surprise endings: a false leftover means no solution, and a true leftover means every number works. Inequalities work the same way, but flip the symbol whenever a negative multiplies or divides both sides. Absolute value measures distance from zero, so |stuff| = k splits into two cases. Always check your answer by putting it back in. You did real algebra today.

Sources

  1. OpenStax. (2021). 2.2 Linear equations in one variable. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 2.7 Linear inequalities and absolute value inequalities. In Algebra and Trigonometry 2e. openstax.org
  3. Dawkins, P. (n.d.). Solving linear equations. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  4. Dawkins, P. (n.d.). Linear inequalities. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  5. Dawkins, P. (n.d.). Absolute value equations. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Khan Academy. (n.d.). Algebra 2. khanacademy.org
  7. Math is Fun. (n.d.). Solving inequalities. mathsisfun.com
Key terms
linear equation
An equation in which the variable appears only to the first power.
inverse operation
An operation that undoes another, such as subtraction undoing addition.
least common denominator
The smallest number all denominators divide into, used to clear fractions.
inequality
A statement comparing expressions with <, >, less-than-or-equal, or greater-than-or-equal.
absolute value
A number's distance from zero, always zero or positive.

Functions and Function Notation

  • Determine whether a relation is a function.
  • Evaluate functions using function notation.
  • Identify the domain and range of a function.

Press B4, get a granola bar

A vending machine has button B4 wired to the granola bars. Press B4 on Monday, a granola bar drops. Press B4 on Friday, a granola bar drops. It never gives you two snacks at once, and it never quietly swaps in a bag of chips. Write that behavior down as f(B4) = granola bar and you have written a function. The rule really is that strict: one input, one output, and the same output every single time you feed it the same input. A machine that sometimes gave chips instead would be useful for surprises and useless for mathematics.

In this lesson we will learn what makes something a function, meet the tidy way to write functions called function notation, practice putting numbers in and getting numbers out, and find which inputs are allowed (the domain) and which outputs come out (the range).

The point: A function is a rule that gives exactly one output for each input.

What makes it a function

Think of a list of pairs, each written as (input, output). A relation is just any such list, no rules attached. A function is a special, well-behaved relation: no input is ever allowed to give two different outputs.

Let us look at a friendly example. Here is a list: (1, 2), (2, 4), (3, 6). Each input, 1 and 2 and 3, shows up once and gives just one output. So this is a function. Nice and clean.

Now here is a list that breaks the rule: (1, 2), (1, 5), (3, 6). Look at the input 1. It gives 2 in one pair and 5 in another. Same input, two different outputs. Our vending machine just handed out two different snacks for the same button. So this is not a function.

One thing that trips people up: repeated outputs are totally fine. The list (1, 4), (2, 4), (3, 4) is a function. The output 4 repeats, but no input is ever reused with a different output. Read that once more if you like: it is only repeated inputs with different outputs that break the rule.

Where people get stuck: They think a repeated output means it is not a function. Not so. Check the inputs, not the outputs. A function is broken only when one input points to two different outputs.

The vertical line test (a picture check)

When a relation is drawn as a graph, there is a quick way to check if it is a function. Slide an imaginary vertical line (an up-and-down line) across the graph. If that line ever touches the graph in more than one spot at the same time, it is not a function.

Why does this work? A vertical line gathers up all the points that share one input (one x-value). If it hits the graph twice, that one input has two outputs, which is the exact thing a function is not allowed to do. A smile-shaped or frown-shaped parabola passes the test, so it is a function. A full circle fails, because a vertical line through the middle touches both a top point and a bottom point.

Remember: If no vertical line crosses the graph more than once, it is a function.

Function notation: a neat way to write the machine

Instead of always writing y, we give the machine a name and write f(x). That is read aloud as f of x. It means: the output of the machine named f when we feed in the input x.

Here is the single most important warning in this whole lesson. f(x) does not mean f times x. The parentheses are not multiplication here. They are a little box that holds whatever we are feeding in. Read that twice, because almost everyone stumbles on it once.

Let us try one together. Suppose f(x) = 2x + 1. To find f(3), we feed in 3 wherever we see x.

  1. Start with the rule: f(x) = 2x + 1.
  2. Put a 3 in place of x: f(3) = 2 × 3 + 1.
  3. Do the multiply first: 2 times 3 is 6. Now f(3) = 6 + 1.
  4. Do the add: 6 plus 1 is 7. So f(3) = 7.

That is the whole skill: put the input in, follow the rule, read the output. You just used function notation.

Feeding in a negative number, carefully

Let us try f(x) = x² - 4x + 5 and find f(-2). The safe habit is to wrap the input in parentheses everywhere x appears. This keeps the negative sign out of trouble.

  1. Wrap the input: f(-2) = (-2)² - 4 × (-2) + 5.
  2. Square first. Negative 2 times negative 2 is positive 4. So the first piece is 4.
  3. Next piece: negative 4 times negative 2 is positive 8.
  4. Now we have 4 + 8 + 5.
  5. Add left to right: 4 plus 8 is 12, and 12 plus 5 is 17. So f(-2) = 17.

Where people get stuck: Writing -2² without parentheses and getting negative 4. Squaring a negative gives a positive, so the parentheses in (-2)² = 4 really matter. When in doubt, add the parentheses.

Feeding in an expression, not just a number

You can even feed in a whole expression. Suppose g(x) = 3x - 7 and we want g(a + 2). Wherever we see x, we drop in the whole thing a + 2.

  1. Substitute: g(a + 2) = 3 × (a + 2) - 7.
  2. Spread the 3: 3 times a is 3a, and 3 times 2 is 6. Now 3a + 6 - 7.
  3. Tidy the numbers: 6 minus 7 is negative 1. So g(a + 2) = 3a - 1.

See? Same steps, just with a letter riding along. Different names like f, g, and h are simply different machines with their own rules.

Domain and range: the allowed inputs and the outputs

The domain is the set of all inputs the machine will accept. The range is the set of all outputs it can produce. A gentle way to remember: domain is the doorway in, range is what rolls out.

In this course, only two things can make an input illegal, and you should watch for both:

  • You cannot divide by zero. Any input that makes a bottom (a denominator) equal zero is not allowed.
  • You cannot take the square root of a negative. Any input that makes the amount under a square root go below zero is not allowed (for now).

If a function has no variable on the bottom and no variable under a square root, like f(x) = 3x - 7, then every real number is allowed. The domain is all real numbers.

Try a division domain together

Find the domain of g(x) = 1/(x - 3). The only danger is dividing by zero, so we make sure the bottom is not zero.

  1. Set the bottom not equal to zero: x - 3 ≠ 0.
  2. Add 3 to both sides: x ≠ 3.

So the domain is every real number except 3. In plain words: you may put in any number you like, just not 3.

Try a square-root domain together

Find the domain of h(x) = √(x - 2). The amount under the root must not go negative.

  1. Set the inside greater than or equal to zero: x - 2 ≥ 0.
  2. Add 2 to both sides: x ≥ 2.

So the domain is every number 2 or larger. The outputs (the range) are 0 or larger, because a square root never gives back a negative number.

Try it: Find the domain of k(x) = 1/(x + 5). Take your time.

Worked answer: Set the bottom not equal to zero: x + 5 ≠ 0, so x ≠ -5. The domain is all real numbers except negative 5. Nice.

Writing a domain in interval notation

"All numbers 3 or bigger" is fine out loud, but textbooks and exams expect interval notation. Two symbols do all the work: a square bracket includes the endpoint, a round bracket excludes it. Infinity always gets a round bracket, because you never arrive there.

  • x ≥ 3 becomes [3, infinity).
  • x > 3 becomes (3, infinity) - same idea, but 3 itself is out.
  • All real numbers except 5 becomes (-infinity, 5) U (5, infinity), where U means "and also."
  • -2 ≤ x < 7 becomes [-2, 7).

Read the third one aloud as a journey: come in from the far left, stop just short of 5, skip it, then continue from just past 5 onward forever. Being able to say a domain both ways - in words and in brackets - is a fast check that you understand your own answer.

Worked example: two restrictions at once. Find the domain of h(x) = √(x + 4) / (x - 1).

  1. The square root demands x + 4 ≥ 0, so x ≥ -4.
  2. The denominator forbids x - 1 = 0, so x ≠ 1.
  3. Obey both. Start at -4 and include it, run up to 1 but skip it, then continue forever.
  4. In brackets: [-4, 1) U (1, infinity).

Spot-check the boundaries. At x = -4: √0 / (-5) = 0, perfectly defined, so the square bracket is right. At x = -5: the root would be √(-1), undefined, so excluding it is right. At x = 1: the denominator is 0, undefined, so the round bracket is right. Testing the edges is how you catch a bracket pointing the wrong way.

Reading domain and range off a graph

On a graph, sweep your eyes left to right to see the domain (all the x-values the graph covers), and bottom to top to see the range (all the y-values). The curve y = x² stretches across every x-value, so its domain is all real numbers. But it never dips below zero, so its range is y ≥ 0. That fits, because squaring never gives a negative.

A real reason this matters

Functions describe how one thing depends on another. The cost of a taxi ride depends on distance. The area of a square depends on its side length: A(s) = s². In the real world the domain has to make sense: a side length cannot be negative, so here the sensible domain is s > 0, even though the algebra alone would accept negatives. Picking a sensible domain keeps your answer honest.

Common misconceptions

  • Reading f(x) as f times x. It means f evaluated at x. The parentheses hold the input; they are not multiplication.
  • Dropping parentheses on a negative input, turning (-2)² = 4 into a wrong negative 4.
  • Mixing up domain and range. Domain is the inputs (x). Range is the outputs (y).
  • Forgetting to check both dangers when a function has a square root on top of a denominator.
  • Calling a list with repeated outputs a non-function. Repeated outputs are fine. Only a repeated input with two different outputs breaks the rule.

What to carry forward

A function is a dependable machine: one input, exactly one output. A relation is any list of pairs with no such promise. The vertical line test checks a graph at a glance. Function notation f(x), read f of x, names the output of machine f at input x, and you evaluate by dropping the input, in parentheses, wherever x appears. The domain is the set of allowed inputs, limited by no dividing by zero and no square roots of negatives. The range is the set of outputs. Plain polynomials accept every real number, while fractions and roots need careful checking. You did great here.

Sources

  1. OpenStax. (2021). 3.1 Functions and function notation. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 3.2 Domain and range. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2021). 3.3 Rates of change and behavior of graphs. In Algebra and Trigonometry 2e. openstax.org
  4. OpenStax. (2021). 3.1 Functions and function notation. In College Algebra 2e. openstax.org
  5. Dawkins, P. (n.d.). The definition of a function. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Khan Academy. (n.d.). Functions. In Algebra (all content). khanacademy.org
  7. Math is Fun. (n.d.). What is a function? mathsisfun.com
Key terms
relation
Any set of ordered pairs (x, y).
function
A relation where each input has exactly one output.
function notation
Writing f(x) to name the output of function f at input x.
domain
The set of all allowed input values of a function.
range
The set of all output values a function produces.
vertical line test
A graph is a function if no vertical line meets it more than once.

Slope and Equations of Lines

  • Compute slope and interpret it as a rate of change.
  • Write the equation of a line in slope-intercept and point-slope form.
  • Identify parallel and perpendicular lines from their slopes.

A candle losing 1.5 centimeters an hour

A candle stands 20 centimeters tall when you light it. Two hours later you hold a ruler to it and read 17 centimeters. Two hours after that, 14. Every two hours, another 3 centimeters gone, which is 1.5 centimeters an hour, hour after hour, with no exceptions. That steadiness is the whole reason the height can be written as h = 20 - 1.5t. The 20 is where the candle started; the 1.5 is how fast it leaves. Those two numbers are the only two a line ever needs.

A line is just the picture of steady change: the same size step, over and over. In this lesson we will measure how steep a line is, a number called the slope, and then learn a few tidy ways to write a line's equation. We will go slowly, one small step at a time, and nothing will be skipped.

What matters here: A line is steady change, and slope is the number that measures how steep that change is.

Slope is just steepness

Picture a wheelchair ramp or a staircase. Slope measures how steep it is: for every step you take sideways, how far do you go up? We say it as rise over run, which means the up-and-down change (the rise) divided by the sideways change (the run).

Let us make that concrete first. Suppose walking from one spot to another you go up 6 units and across 3 units. Then the slope is the rise divided by the run, which is 6 divided by 3, which is 2. A slope of 2 means every 1 step to the right, the line climbs 2 steps up. That is all slope is, a climbing rate.

The letter we use for slope is m. When we have two points, we get the rise by subtracting the two up-values (the y-values), and the run by subtracting the two across-values (the x-values). Calling the first point (x1, y1) and the second point (x2, y2), the rule looks like this:

m = (y2 - y1) ÷ (x2 - x1)

Read that aloud as m equals y-two minus y-one, over x-two minus x-one. The little numbers just mean "first point" and "second point." Do not let the small subscripts worry you.

Let us find a slope together

Find the slope of the line through the points (1, 2) and (4, 11). We will go one tiny step at a time.

  1. Name the points. Call (1, 2) the first point, so x-one is 1 and y-one is 2.
  2. Call (4, 11) the second point, so x-two is 4 and y-two is 11.
  3. Find the rise. Subtract the y-values: 11 minus 2 is 9.
  4. Find the run. Subtract the x-values in the same order: 4 minus 1 is 3.
  5. Divide rise by run: 9 divided by 3 is 3.

So the slope is 3. The line climbs 3 units for every 1 unit to the right. See? You just measured steepness.

Where people get stuck: mixing up the order of subtraction. If you start with the second point's y on top, you must also start with the second point's x on the bottom. Keep both subtractions in the same order and you cannot go wrong. To prove the order does not change the answer, do it backwards: (2 - 11) over (1 - 4) is negative 9 over negative 3, which is still 3.

The four kinds of slope

  • Positive slope climbs as you read left to right, like walking uphill. An example is 2.
  • Negative slope falls as you read left to right, like walking downhill. An example is negative 2.
  • Zero slope is perfectly flat, like a level floor. The line is horizontal and the up-value never changes.
  • Undefined slope is a straight-up vertical line. The run is 0, and dividing by 0 is not allowed, so we say the slope is undefined. It has no number at all.

In short: uphill is positive, downhill is negative, flat is zero, and straight up is undefined.

A downhill example, carefully

Find the slope through (-2, 5) and (2, -3). The negative numbers just need a little care.

  1. Rise: subtract the y-values. Negative 3 minus 5 is negative 8.
  2. Run: subtract the x-values in the same order. 2 minus negative 2 is 2 plus 2, which is 4.
  3. Divide: negative 8 divided by 4 is negative 2.

The slope is negative 2. That negative sign is the line telling us it heads downhill. Nice work with the negatives.

Slope-intercept form: the friendliest equation

The most popular way to write a line is slope-intercept form: y = mx + b. Read it aloud as y equals m times x, plus b. It is a favorite because it hands you two facts for free:

  • m is the slope, the steepness.
  • b is the y-intercept, the spot where the line crosses the up-and-down axis, at the point (0, b).

So in y = 2x - 3, the slope is 2 and the line crosses the y-axis at negative 3. You can read a line's whole personality straight off this form.

Graphing from slope-intercept form

Let us graph y = 2x - 3 together, one dot at a time.

  1. Start with b. Here b is negative 3, so put your first dot at (0, -3), right on the y-axis.
  2. Turn the slope into rise over run. The slope 2 is the same as 2 over 1, so rise 2, run 1.
  3. From your dot, go up 2 and right 1. That lands you at (1, -1). Put a dot there.
  4. Do it again: up 2, right 1, landing at (2, 1). Put a dot there.
  5. Lay a ruler along your dots and draw the line.

That is the whole method: plot b, then step off the slope. If the slope were negative, like negative 2 over 3, you would go down 2 and right 3 instead.

Where people get stuck: reading b as the x-intercept. In y = mx + b, the b is where the line crosses the y-axis, not the x-axis. Slope is m, crossing spot is b.

Point-slope form: build a line from one point

Sometimes you know the slope and just one point on the line. The quickest tool then is point-slope form: y - y1 = m(x - x1), where (x1, y1) is your known point and m is the slope. Read it as y minus y-one equals m times, open parenthesis, x minus x-one.

Write the equation of the line with slope 4 that passes through (2, 5).

  1. Start with point-slope form: y - y1 = m(x - x1).
  2. Drop in the numbers. m is 4, x-one is 2, y-one is 5: y - 5 = 4(x - 2).
  3. To get the friendlier slope-intercept form, spread the 4. 4 times x is 4x, and 4 times negative 2 is negative 8. Now y - 5 = 4x - 8.
  4. Add 5 to both sides to get y by itself: y = 4x - 3.

Both y - 5 = 4(x - 2) and y = 4x - 3 describe the exact same line. One is easy to build, the other is easy to graph.

Try it: Find the equation of the line through (1, 3) and (3, 7). Take your time, then read on.

Worked answer: First the slope. The rise is 7 minus 3, which is 4. The run is 3 minus 1, which is 2. So m is 4 over 2, which is 2. Now use point-slope with (1, 3): y - 3 = 2(x - 1). Spread the 2: y - 3 = 2x - 2. Add 3 to both sides: y = 2x + 1. To be sure, check the other point: 2 times 3 plus 1 is 7, which matches. Nicely done.

Flat lines and straight-up lines

A horizontal line looks like y = 4: every point shares the same y-value, and the slope is 0. A vertical line looks like x = 4: every point shares the same x-value, and the slope is undefined. A gentle way to keep them apart: the flat one still has a y in its equation, while the straight-up one has only an x.

Parallel and perpendicular lines

Two lines are parallel when they run side by side and never meet. That happens exactly when they have the same slope. Same steepness, same direction, never touching.

Two lines are perpendicular when they cross to make a perfect square corner, a 90 degree angle. That happens when their slopes are negative reciprocals. That phrase sounds fancy, so here is the plain recipe: take the slope, flip it upside down, then change its sign.

Let us try. Suppose a line has slope 2/3.

  1. A parallel line has the same slope, 2/3.
  2. For a perpendicular line, flip 2/3 upside down to get 3/2.
  3. Now change the sign: 3/2 becomes negative 3/2.

So a line perpendicular to slope 2/3 has slope negative 3/2. Quick check: multiply the two slopes, 2/3 times negative 3/2, and you get negative 1, which is always true for perpendicular lines. For a whole-number slope like 4 (which is really 4/1), the perpendicular slope is negative 1/4.

Where people get stuck: flipping the fraction but forgetting to change the sign, or changing the sign but forgetting to flip. A perpendicular slope needs both moves.

A real reason this matters

Slope is just the math word for "rate," and rates are everywhere. A savings account that grows by 50 dollars every month is a line with slope 50. A phone plan that costs 20 dollars plus 5 dollars per line has the equation C = 5n + 20, where the slope 5 is the cost per line and the 20 is the flat base fee you pay no matter what. Reading a slope as "how much the total changes for each one more" turns a plain number into something you can actually use.

Common misconceptions

  • Subtracting in different orders on the top and bottom of the slope formula. Keep both subtractions in the same order.
  • Flipping rise and run. Slope is rise over run (up-change over across-change), not run over rise.
  • Swapping zero and undefined. Flat horizontal lines have slope 0; straight-up vertical lines have undefined slope.
  • Reading b as the x-intercept. In y = mx + b, b is the y-intercept.
  • Half-finishing a perpendicular slope. You must flip the fraction and change the sign.

The short version

Slope measures steepness as rise over run, m = (y2 - y1) ÷ (x2 - x1), and it can be positive (uphill), negative (downhill), zero (flat), or undefined (straight up). Slope-intercept form y = mx + b shows the slope m and the y-intercept b, and it is the easiest form to graph: plot b, then step off the slope.

Point-slope form y - y1 = m(x - x1) is the fastest way to build a line from a slope and a point. Parallel lines share the same slope, and perpendicular lines have negative-reciprocal slopes. You measured steepness and wrote real line equations today. That is a big deal.

Sources

  1. OpenStax. (2021). 4.1 Linear functions. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 4.2 Modeling with linear functions. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2021). 2.1 The rectangular coordinate systems and graphs. In Algebra and Trigonometry 2e. openstax.org
  4. Dawkins, P. (n.d.). Lines. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  5. Khan Academy. (n.d.). Algebra 2. khanacademy.org
  6. Math is Fun. (n.d.). Equation of a straight line. mathsisfun.com
  7. Math is Fun. (n.d.). Gradient (slope) of a straight line. mathsisfun.com
Key terms
slope
The steepness of a line, equal to rise over run.
slope-intercept form
y = mx + b, showing slope m and y-intercept b.
point-slope form
y - y1 = m(x - x1), built from a slope and one point.
y-intercept
The y-value where a line crosses the y-axis.
parallel lines
Lines with equal slopes that never meet.
perpendicular lines
Lines whose slopes are negative reciprocals (product -1).

Module 2: Systems of Equations and Matrices

Solving systems by substitution and elimination, extending to three variables, and using matrices to organize and solve them.

Systems in Two Variables

  • Solve a system of two linear equations by substitution.
  • Solve a system by elimination.
  • Recognize systems with no solution or infinitely many solutions.

Two clues about two numbers

Here are two clues about a pair of numbers: they add up to 10, and one is 2 bigger than the other. Take either clue alone and you are stuck, because 1 and 9 add to 10 and so do 4 and 6 and so do 7.3 and 2.7. Take both at once and exactly one pair survives. Written down, the clues are x + y = 10 and x - y = 2, and the pair that keeps both promises is x = 6 and y = 4. Two equations, held true at the same time, is what a system means, and the rest of this lesson is about finding that surviving pair without guessing.

The upshot: A system is two equations at once, and the solution is the single (x, y) pair that makes both of them true.

What a system looks like, as a picture

Each linear equation, drawn on a graph, is a straight line. Two equations give two lines. The solution of the system is the one spot where the two lines cross, because that crossing point is the only place that sits on both lines at once. Picture two straight roads on a map: the solution is the single intersection where they meet.

We could try to read that crossing point off a careful graph, but graphs are slow and get fuzzy when the answer is not a tidy whole number. So we will learn two exact, pencil-and-paper tools instead: substitution and elimination. Both find the same crossing point.

Tool one: substitution

The word substitution just means "put in place of." The plan: if one equation tells you what a letter equals, you take that whole expression and drop it into the other equation. Now the second equation has only one kind of letter, and you can solve it the ordinary way.

Let us try one together, slowly. Solve the system y = 2x + 1 and 3x + y = 11.

  1. Look at the first equation. It already tells us y equals 2x + 1. That is a gift.
  2. Go to the second equation, 3x + y = 11, and gently replace the y with 2x + 1: 3x + (2x + 1) = 11.
  3. Now there is only one kind of letter. Combine the x-terms: 3x plus 2x is 5x. So 5x + 1 = 11.
  4. Subtract 1 from both sides: 5x = 10.
  5. Divide both sides by 5: x = 2.
  6. Find y by putting x back into the easy equation: y = 2(2) + 1 = 5.

The solution is the pair (2, 5). Always check both clues: first, y = 2(2) + 1 = 5, true. Second, 3(2) + 5 = 6 + 5 = 11, true. Nice, that is a full system solved.

Where people get stuck: finding x and stopping. A system's answer is a pair, both x and y. Once you have one number, always go back and find the other.

Tool two: elimination

The word elimination means "make one letter disappear." The trick: add the two equations together in a way that cancels one of the letters, leaving a simple one-letter equation.

Adding works when one letter has opposite signs in the two equations, like +y in one and -y in the other, because a thing plus its opposite is zero. Let us solve 3x + y = 9 and 2x - y = 1.

  1. Notice the y-terms: one is +y and the other is -y. They are opposites, perfect for adding.
  2. Add the two equations straight down. The left sides: 3x + 2x is 5x, and y + (-y) is 0. The right sides: 9 + 1 is 10. So 5x = 10.
  3. Divide both sides by 5: x = 2.
  4. Find y using either original equation. Using 3x + y = 9: 3(2) + y = 9, so 6 + y = 9, so y = 3.

The solution is (2, 3). The y vanished the moment we added, which is the whole point of elimination.

When nothing cancels yet: scale first

Sometimes neither letter is ready to cancel. Then we multiply one equation by a well-chosen number so that a pair of coefficients become opposites. Multiplying a true equation by a number keeps it true, the same as before.

Solve 3x + 2y = 16 and x - y = 2. As written, adding cancels nothing.

  1. Look at the y-terms: +2y and -y. If we could turn the -y into -2y, they would be opposites.
  2. Multiply the whole second equation by 2. Every term: 2x - 2y = 4.
  3. Now add this to the first equation. Left: 3x + 2x is 5x, and 2y + (-2y) is 0. Right: 16 + 4 is 20. So 5x = 20.
  4. Divide by 5: x = 4.
  5. Find y using x - y = 2: 4 - y = 2, so y = 2.

The solution is (4, 2). Check the first clue: 3(4) + 2(2) = 12 + 4 = 16, true. Well done, that was the trickiest kind.

Where people get stuck: multiplying only part of an equation. When you scale, every single term gets multiplied, including the number on the right side. Miss one and the whole line goes wrong.

Worked example: turning a story into a system

Most real uses of systems start as words. The skill is naming the unknowns clearly and writing one equation per fact.

Question: A school sells 240 tickets and takes 1520 dollars. Adult tickets cost 8 dollars and student tickets cost 5 dollars. How many of each were sold?

  1. Name the unknowns, with units. Let a = number of adult tickets, s = number of student tickets.
  2. Fact 1, about counts. a + s = 240.
  3. Fact 2, about money. 8a + 5s = 1520.
  4. Solve by substitution. From the first equation, s = 240 - a. Put that into the second: 8a + 5(240 - a) = 1520.
  5. Expand and solve. 8a + 1200 - 5a = 1520, so 3a = 320... which gives a = 106.67. Not a whole number of tickets, so something is off - and this is exactly the moment to recheck rather than plough on.

Recheck the arithmetic: 8a + 1200 - 5a = 3a + 1200, and 3a + 1200 = 1520 gives 3a = 320. The algebra is right, so the data is the problem: no whole-number combination of 8s and 5s totalling 240 tickets reaches exactly 1520 dollars.

Repair the numbers and finish. Suppose the takings were 1560 dollars instead. Then 3a = 360, so a = 120 and s = 240 - 120 = 120.

Check both original facts. Counts: 120 + 120 = 240. Money: 8(120) + 5(120) = 960 + 600 = 1560. Both hold, so the answer is right.

Why keep the failed version? Because it shows what to do when an answer comes out impossible - a negative length, a fractional person, a ticket count of 106.67. Do not round and move on. Go back and check the arithmetic, then the equations, then the given numbers. An impossible answer is information, and noticing it is a real part of the skill.

Two surprise endings

Usually a system has exactly one crossing point. But two other things can happen, and neither is a mistake.

If both letters cancel and you are left with something false, like 0 = 5, then the two lines are parallel and never cross. The system has no solution.

If both letters cancel and you are left with something true, like 0 = 0, then the two equations are secretly the same line drawn twice. Every point on it works, so there are infinitely many solutions.

Bottom line: a false leftover means no solution (parallel lines); a true leftover means infinitely many solutions (the same line twice).

A real reason this matters

Systems show up whenever two conditions must hold together. Say a school play sells adult tickets for 8 dollars and child tickets for 5 dollars. One night 30 tickets sell for 180 dollars total. Let a be adult tickets and c be child tickets. The count clue is a + c = 30, and the money clue is 8a + 5c = 180. Solve the first for a: a = 30 - c. Substitute: 8(30 - c) + 5c = 180, which becomes 240 - 3c = 180, so -3c = -60 and c = 20, giving a = 10. Ten adult and twenty child tickets. A two-clue story became a two-equation system, and you solved it.

Try it: Solve y = x - 1 and 2x + y = 8. Take your time, then read on.

Worked answer: Substitute x - 1 for y in the second equation: 2x + (x - 1) = 8. Combine: 3x - 1 = 8. Add 1: 3x = 9. Divide by 3: x = 3. Then y = 3 - 1 = 2. The solution is (3, 2). Check the second clue: 2(3) + 2 = 8, true. Lovely.

Common misconceptions

  • Reporting only x. A system's answer is an ordered pair. Find both coordinates and write the point (x, y).
  • Scaling only part of an equation. When you multiply to set up elimination, every term gets multiplied, including the constant on the right.
  • Sign slips when subtracting equations. If subtracting feels risky, multiply one equation by negative 1 and add instead. Adding is gentler on the eyes.
  • Confusing the surprise endings. A false statement (0 = 5) means no solution; a true statement (0 = 0) means infinitely many.
  • Plugging back into the same rearranged line. To find the second coordinate, use one of the original equations, not the step you just built.

Putting it together

A system of two linear equations asks for the single pair (x, y) that makes both equations true, which is where the two lines cross. Substitution puts one equation's expression into the other so only one letter remains. Elimination adds the equations (after scaling if needed) so one letter cancels. If both letters vanish, a false leftover means no solution and parallel lines, while a true leftover means infinitely many solutions and one shared line. Systems model real two-condition problems like ticket sales and plan comparisons, and you always check your pair in both original equations. You did real algebra with two unknowns today.

Sources

  1. OpenStax. (2021). 11.1 Systems of linear equations: Two variables. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 11.3 Systems of nonlinear equations and inequalities: Two variables. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2021). 4.2 Modeling with linear functions. In Algebra and Trigonometry 2e. openstax.org
  4. Dawkins, P. (n.d.). Linear systems with two variables. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  5. Dawkins, P. (n.d.). Nonlinear systems. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Khan Academy. (n.d.). Algebra 2. khanacademy.org
  7. Math is Fun. (n.d.). Systems of linear equations. mathsisfun.com
Key terms
system of equations
Two or more equations solved together.
substitution method
Solving one equation for a variable and plugging it into another.
elimination method
Adding or subtracting equations to cancel a variable.
no solution (system)
Parallel lines that never meet; the variables cancel to a false statement.
infinitely many solutions
The same line written twice; the variables cancel to a true statement.

Systems in Three Variables

  • Solve a system of three linear equations in three variables.
  • Use elimination to reduce a three-variable system to two variables.
  • Interpret the solution as a single point in space.

Three receipts from the same stand

Three people come back from the same concession stand with three receipts. The first bought 2 hot dogs, 1 drink, and 1 bag of chips for 9 dollars. The second bought 1 hot dog, 2 drinks, and 1 bag of chips for 8 dollars. The third bought 1 hot dog, 1 drink, and 2 bags of chips for 7 dollars. Nobody wrote down the individual prices, and yet the prices are recoverable. In symbols the receipts are 2h + d + c = 9, h + 2d + c = 8, and h + d + 2c = 7. By the end of this lesson you will be able to show that a hot dog is 3 dollars, a drink is 2, and chips are 1, and nothing in the method will be new. It is the same elimination you used with two equations, run one extra time.

Worth holding on to: A three-variable system is solved by shrinking it down to a two-variable system you already know how to handle.

What we are looking for

A system in three variables is three equations that each use x, y, and z. If you like pictures, each equation draws a flat sheet, called a plane, floating in three-dimensional space. The solution is the single point where all three sheets meet, like the corner of a room where two walls and the floor come together at one spot. That corner is one point, written as a triple (x, y, z).

The whole strategy in one sentence

Pick one letter to get rid of. Eliminate it from one pair of equations, then eliminate the same letter from another pair. That leaves you two equations in only two letters, which is the familiar problem from last lesson. Solve it, then walk backward to find the letter you removed.

Read that once more if you like. The word "same" is the secret. You must eliminate the same letter both times, or the two new equations will not fit together.

Let us solve one together, slowly

Here is our system. I have named the equations A, B, and C so we can keep track.

  • Equation A: x + y + z = 6
  • Equation B: 2x - y + z = 3
  • Equation C: x + 2y - z = 2

Look at the z-terms: A has +z, B has +z, and C has -z. That -z in C is friendly, because adding it to a +z cancels. So we will eliminate z.

  1. Add A and C. Left side: x + x is 2x, y + 2y is 3y, and z + (-z) is 0. Right side: 6 + 2 is 8. That gives 2x + 3y = 8. Call this equation D.
  2. Now add B and C to remove z again. Left: 2x + x is 3x, -y + 2y is y, and z + (-z) is 0. Right: 3 + 2 is 5. That gives 3x + y = 5. Call this equation E.
  3. Look what we have: D is 2x + 3y = 8 and E is 3x + y = 5. Two equations, two letters. This is last lesson's problem.
  4. Solve E for y: y = 5 - 3x.
  5. Substitute into D: 2x + 3(5 - 3x) = 8. Spread the 3: 2x + 15 - 9x = 8. Combine: -7x + 15 = 8.
  6. Subtract 15: -7x = -7. Divide by negative 7: x = 1.
  7. Find y from E: y = 5 - 3(1) = 2.
  8. Now walk all the way back to any original equation to get z. Using A: 1 + 2 + z = 6, so z = 3.

The solution is the triple (1, 2, 3). Let us check it in equation B, the one we used least: 2(1) - 2 + 3 = 2 - 2 + 3 = 3, which matches. That is a three-variable system, fully solved. Take a moment. That was genuinely hard, and you did it.

Where people get stuck: eliminating z from the first pair but then accidentally eliminating y from the second pair. The two new equations D and E must be missing the same letter, or they will not combine. Choose your victim letter first, and remove that one both times.

Stay organized

Almost every mistake here is a lost minus sign, not a lack of understanding. Two small habits protect you. First, label your new equations (D and E), so you always know what you are holding. Second, if subtracting equations feels error-prone, multiply one equation by negative 1 and add instead. Adding is easier to read than subtracting.

A second full solve, with the checking shown

Practice the rhythm once more, and this time verify the answer in all three original equations rather than just one.

Solve: x + y + z = 6, 2x - y + z = 3, x + 2y - z = 2.

  1. Pick a variable to eliminate. z looks easiest: it has coefficient 1 in the first two and -1 in the third.
  2. Combine equations 1 and 3 by adding, since +z and -z cancel: (x + y + z) + (x + 2y - z) = 6 + 2, giving 2x + 3y = 8. Call this equation A.
  3. Combine equations 2 and 3 the same way: (2x - y + z) + (x + 2y - z) = 3 + 2, giving 3x + y = 5. Call this equation B.
  4. Now solve the two-variable system A and B. From B, y = 5 - 3x. Substitute into A: 2x + 3(5 - 3x) = 8, so 2x + 15 - 9x = 8, then -7x = -7 and x = 1.
  5. Back-substitute. y = 5 - 3(1) = 2. Then from equation 1, 1 + 2 + z = 6, so z = 3.

Now check all three, not one.

  • Equation 1: 1 + 2 + 3 = 6. Correct.
  • Equation 2: 2(1) - 2 + 3 = 2 - 2 + 3 = 3. Correct.
  • Equation 3: 1 + 2(2) - 3 = 1 + 4 - 3 = 2. Correct.

The solution is (1, 2, 3).

Why check all three? Because the elimination in steps 2 and 3 used equation 3 twice and equation 1 only once. A mistake made in equation 1 would survive into the answer while still satisfying the combined equations. Testing the answer against every original equation is the only way to be certain, and it takes three short lines.

Where people get stuck: after eliminating z, forgetting that they now hold a genuine two-variable system and reaching for a third equation that no longer exists. Two equations, two unknowns - it is Lesson 4 again, and every tool from that lesson still applies.

The surprise endings, in three dimensions

Just like with two lines, three planes do not always meet at one clean point.

If your elimination ever gives a false statement like 0 = 4, there is no solution. The planes are arranged so no single point sits on all three.

If it gives a true statement like 0 = 0 with no contradiction, there are infinitely many solutions. The planes share a whole line or are the same plane, so endless points work.

The core of it: a false leftover means no solution, and a true leftover means infinitely many, exactly the same rule as before.

A number puzzle

Systems love word puzzles. The sum of three numbers is 16. The second number is 1 more than the first. The third is three times the first. Find them. Let the numbers be x, y, and z.

  1. Sum clue: x + y + z = 16.
  2. Second clue: y = x + 1.
  3. Third clue: z = 3x.
  4. The last two clues already say what y and z are, so substitute them into the sum: x + (x + 1) + 3x = 16.
  5. Combine: 5x + 1 = 16. Subtract 1: 5x = 15. Divide by 5: x = 3.
  6. Then y = 3 + 1 = 4 and z = 3(3) = 9.

The numbers are 3, 4, and 9. Check the sum: 3 + 4 + 9 = 16, true. Notice we did not even need full elimination here, because two clues were already solved. Always use the easiest route the problem hands you.

Try it: Using our solved system, put the triple (1, 2, 3) into equation C, x + 2y - z = 2, to make sure it fits. Take your time.

Worked answer: 1 + 2(2) - 3 = 1 + 4 - 3 = 2, which matches the right side. The point (1, 2, 3) checks out in the last equation too. Confidence earned.

A real reason this matters

Any time three unknown amounts are tied together by three facts, you get one of these systems. A meal planner might solve for servings of three foods that hit calorie, protein, and carbohydrate targets at once. An electrical engineer uses three equations to find three unknown currents in a circuit. Computer graphics programs even fit a smooth curve exactly through three data points with a system like this. The bigger versions, with thousands of variables, are handled by computers using the very elimination steps you just practiced.

Common misconceptions

  • Eliminating different letters from each pair. If one combination removes z and the other removes y, the two results will not form a solvable pair. Remove the same letter both times.
  • Reusing the same pair of equations. Your two eliminations should involve all three original equations, or you lose information.
  • Sign slips when subtracting. Subtracting an equation subtracts every term. Multiplying by negative 1 and adding is the safer habit.
  • Stopping after two letters. The answer is a triple (x, y, z). Do not forget the last back-substitution for the third letter.
  • Assuming one answer always exists. A false statement means no solution, and 0 = 0 means infinitely many. Not every system pins down a single point.

What to remember

A linear equation in three variables is a plane, and solving a three-variable system means finding where three planes meet. The strategy never changes: pick one letter, eliminate it from two different pairs of equations, solve the resulting two-variable system, then back-substitute to recover the third letter. A false statement along the way means no solution, and a true statement 0 = 0 means infinitely many. Label your steps, guard your signs, and check the triple in an original equation. You just handled three unknowns at once, which is a real milestone.

Sources

  1. OpenStax. (2021). 11.2 Systems of linear equations: Three variables. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 11.1 Systems of linear equations: Two variables. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2021). 11.6 Solving systems with Gaussian elimination. In Algebra and Trigonometry 2e. openstax.org
  4. Dawkins, P. (n.d.). Linear systems with three variables. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  5. Dawkins, P. (n.d.). Augmented matrices. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Khan Academy. (n.d.). Algebra 2. khanacademy.org
  7. Math is Fun. (n.d.). Systems of linear equations. mathsisfun.com
Key terms
three-variable system
Three linear equations in x, y, and z solved together.
plane
The graph of a linear equation in three variables.
back-substitution
Plugging a found value back into an earlier equation to find another variable.
unique solution
A single point (x, y, z) satisfying all three equations.
elimination
Combining equations to remove a variable.

Matrices and Determinants

  • Add, subtract, and multiply matrices.
  • Compute the determinant of a 2-by-2 matrix.
  • Solve a 2-by-2 system using Cramer's rule.

A coffee stand's week in a grid

A coffee stand sells two things and tracks them for three days. Monday: 12 coffees, 5 teas. Tuesday: 9 coffees, 7 teas. Wednesday: 14 coffees, 3 teas. Stack those numbers up and drop the words, keeping only the positions, and you get a matrix with three rows and two columns: 12 and 5, then 9 and 7, then 14 and 3. Nothing has been added to the arithmetic. What has been added is a rule about place: the first column always means coffee and the second always means tea, so a number's meaning lives in where it sits. Everything in this lesson is bookkeeping built on that one rule.

Remember: A matrix is a rectangle of numbers, and matrix rules are just careful bookkeeping of ordinary arithmetic.

What a matrix is

A matrix is a rectangular arrangement of numbers in rows (across) and columns (down). We describe its size as rows-by-columns. A grid with 2 rows and 3 columns is called a 2-by-3 matrix. A matrix with the same number of rows and columns, like 2-by-2, is called square. We will write a small matrix by listing its rows, so a 2-by-2 matrix might have top row [3 1] and bottom row [2 4].

Adding and subtracting: match the positions

To add two matrices, they must be the exact same size, and you simply add the numbers that sit in matching spots. Top-left plus top-left, top-right plus top-right, and so on.

Let us add matrix A with rows [2 -1] and [3 4] to matrix B with rows [1 5] and [-2 0].

  1. Top-left: 2 + 1 = 3.
  2. Top-right: -1 + 5 = 4.
  3. Bottom-left: 3 + (-2) = 1.
  4. Bottom-right: 4 + 0 = 4.

So A + B has rows [3 4] and [1 4]. Subtraction works the same way, just subtracting matching spots. You cannot add grids of different sizes, because some numbers would have no partner.

Scaling: multiply every entry

To multiply a whole matrix by a single number (called a scalar), you multiply every entry by that number. Tripling matrix A with rows [2 -1] and [3 4] gives rows [6 -3] and [9 12]. Every number got multiplied by 3, none skipped.

Multiplying two matrices: row meets column

This is the one truly new move, so we will go extra slowly. To multiply matrices, you do not pair up matching positions. Instead, each answer entry comes from marching a row of the first matrix across a column of the second, multiplying pairs and adding them up. This add-em-up move is called a dot product.

Warm up with the smallest case: multiply the row [2 3] by the column whose entries are 4 and 5.

  1. Multiply the first pair: 2 times 4 is 8.
  2. Multiply the second pair: 3 times 5 is 15.
  3. Add them: 8 plus 15 is 23.

That single number, 23, is one entry of a product. Now the full thing. Let A have rows [1 2] and [3 4], and B have rows [5 6] and [7 8].

  1. Answer's top-left: row 1 of A, which is [1 2], dotted with column 1 of B, which is 5 and 7. That is 1(5) + 2(7) = 5 + 14 = 19.
  2. Answer's top-right: row 1 of A with column 2 of B (6 and 8): 1(6) + 2(8) = 6 + 16 = 22.
  3. Answer's bottom-left: row 2 of A, which is [3 4], with column 1 of B: 3(5) + 4(7) = 15 + 28 = 43.
  4. Answer's bottom-right: row 2 of A with column 2 of B: 3(6) + 4(8) = 18 + 32 = 50.

So AB has rows [19 22] and [43 50]. That was a lot of little steps, and you followed every one.

Where people get stuck: matrix multiplication is not in the same order both ways. If you compute BA instead of AB, you get a different grid. In matrix world, order matters, unlike with ordinary numbers where 3 times 5 equals 5 times 3. Also, to multiply at all, the number of columns in the first matrix must equal the number of rows in the second, so the rows and columns can shake hands.

The determinant of a 2-by-2 matrix

For a square 2-by-2 matrix with top row [a b] and bottom row [c d], the determinant is the single number ad - bc. Read that aloud as a times d, minus b times c. In words: multiply the main diagonal (top-left times bottom-right), then subtract the other diagonal (top-right times bottom-left).

Find the determinant of the matrix with rows [3 1] and [2 4].

  1. Main diagonal: a times d is 3 times 4, which is 12.
  2. Other diagonal: b times c is 1 times 2, which is 2.
  3. Subtract: 12 - 2 = 10.

The determinant is 10. This one number quietly tells us whether a system built from this matrix has a single tidy answer.

Try it: Find the determinant of the matrix with rows [5 2] and [3 4]. Take your time.

Worked answer: Main diagonal 5 times 4 is 20. Other diagonal 2 times 3 is 6. Subtract: 20 - 6 = 14. The determinant is 14. Well done.

Cramer's rule: determinants that solve a system

Here is a payoff. For the system ax + by = e and cx + dy = f, first find the coefficient determinant D = ad - bc. As long as D is not zero, the answers are x = (ed - bf) ÷ D and y = (af - ec) ÷ D. This is Cramer's rule. Do not try to memorize it; just follow it slowly with numbers.

Solve 2x + 3y = 8 and x + 2y = 5.

  1. Read off the pieces: a is 2, b is 3, c is 1, d is 2, e is 8, f is 5.
  2. Find D: ad - bc is 2(2) - 3(1) = 4 - 3 = 1.
  3. Find x: (ed - bf) ÷ D is (8(2) - 3(5)) ÷ 1 = (16 - 15) ÷ 1 = 1.
  4. Find y: (af - ec) ÷ D is (2(5) - 8(1)) ÷ 1 = (10 - 8) ÷ 1 = 2.

The solution is (1, 2). Check the first equation: 2(1) + 3(2) = 2 + 6 = 8, true. You just solved a system with determinants.

Worked example: Cramer's rule, start to finish

Run the rule on a system whose answer we can verify independently.

Solve: 3x + 2y = 16 and x - y = 2.

  1. The coefficient determinant D. Build it from the numbers in front of x and y: rows [3, 2] and [1, -1]. Then D = (3)(-1) - (2)(1) = -3 - 2 = -5. It is not zero, so a single solution exists.
  2. Dx: replace the x-column with the right-hand sides, giving rows [16, 2] and [2, -1]. Then Dx = (16)(-1) - (2)(2) = -16 - 4 = -20.
  3. Dy: replace the y-column instead, giving rows [3, 16] and [1, 2]. Then Dy = (3)(2) - (16)(1) = 6 - 16 = -10.
  4. Divide. x = Dx/D = -20/-5 = 4 and y = Dy/D = -10/-5 = 2.

Check in both original equations. 3(4) + 2(2) = 12 + 4 = 16. Correct. 4 - 2 = 2. Correct. The solution is (4, 2).

Cross-check by elimination. From the second equation x = y + 2. Substituting into the first: 3(y + 2) + 2y = 16, so 5y + 6 = 16, giving y = 2 and x = 4. Same answer by a completely different route, which is the strongest kind of confirmation.

Where people get stuck: replacing the wrong column. To find x you replace the x-column with the constants; to find y you replace the y-column. It also matters that both equations are written in the same order, with x first, y second, and the constant on the right. Rearranging one equation and forgetting to rearrange the other quietly scrambles every determinant.

When the determinant is zero

If D comes out to 0, Cramer's rule cannot run, because dividing by zero is undefined. A zero determinant is the matrix version of the surprise endings from earlier: the two lines are parallel or identical, so the system has no solution or infinitely many. When D is not zero, you are promised exactly one solution.

Key idea: a nonzero determinant means one clean solution; a zero determinant means you must look closer.

A real reason this matters

Matrices are how computers store and crunch huge tables of numbers. A spreadsheet of sales, with rows for products and columns for months, is a matrix, and merging two stores' spreadsheets is matrix addition. Video games and animation software rotate and stretch every point of a 3D scene by multiplying coordinate matrices, which is why graphics chips are built to multiply matrices at blinding speed. The little 2-by-2 determinant you learned is the seed of a test that tells whether even an enormous system has a unique answer.

Common misconceptions

  • Multiplying entry by matching entry. Matrix multiplication is row-dotted-with-column, not position times matching position.
  • Assuming AB equals BA. Order matters for matrices. The two orders usually differ, and sometimes only one is even allowed.
  • Flipping the determinant formula. It is ad - bc: main diagonal product minus the other diagonal product, in that order.
  • Running Cramer's rule when D = 0. A zero determinant means the rule does not apply; the system has no solution or infinitely many.
  • Ignoring size rules. Addition needs identical sizes; multiplication needs the first matrix's columns to match the second's rows.

Pulling it together

A matrix is a rectangle of numbers described by its rows-by-columns size. Add or subtract by matching positions (same size only), scale by multiplying every entry, and multiply by dotting each row with each column, remembering that order matters. The determinant of a 2-by-2 matrix is ad - bc, the main diagonal product minus the other diagonal product, and it reveals whether a system has one solution. Cramer's rule turns determinants into a direct formula for that solution whenever D is not zero. You organized arithmetic into a powerful tool today.

Sources

  1. OpenStax. (2021). 11.5 Matrices and matrix operations. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 11.8 Solving systems with Cramer's rule. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2021). 11.7 Solving systems with inverses. In Algebra and Trigonometry 2e. openstax.org
  4. OpenStax. (2021). 11.6 Solving systems with Gaussian elimination. In Algebra and Trigonometry 2e. openstax.org
  5. Dawkins, P. (n.d.). More on the augmented matrix. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Math is Fun. (n.d.). Determinant of a matrix. mathsisfun.com
  7. Math is Fun. (n.d.). How to multiply matrices. mathsisfun.com
Key terms
matrix
A rectangular array of numbers in rows and columns.
dimensions
The size of a matrix, written rows by columns.
scalar
A single number that multiplies every entry of a matrix.
matrix multiplication
Combining a row of one matrix with a column of another by dot product.
determinant
For a 2-by-2 matrix with rows [a b] and [c d], the number ad - bc.
Cramer's rule
A method that solves a linear system using determinants.

Module 3: Quadratic Functions and Complex Numbers

The parabola in depth, solving quadratics by factoring, completing the square, and the quadratic formula, plus the complex numbers.

Quadratic Functions and Their Graphs

  • Identify the vertex, axis of symmetry, and direction of a parabola.
  • Convert between standard and vertex form.
  • Find the vertex using the formula x = -b/(2a).

Where the thrown ball turns around

Throw a ball straight up at 20 meters per second, releasing it about 1.5 meters off the ground, and gravity writes the equation for you: h(t) = -4.9t² + 20t + 1.5, with h in meters and t in seconds. Every number in that line has a job. The 1.5 is where the ball starts, the 20 is how hard you threw it, and the -4.9 is the Earth pulling back. Ask when the ball is highest and the answer falls out of the equation: at t = 20/9.8, about 2.04 seconds, at a height of about 21.9 meters. The curve that graph draws, up and slowing and tipping over and back down, is a parabola.

In short: A quadratic function draws a smooth U-shaped curve called a parabola, and a few simple numbers tell us its whole shape.

What a quadratic function is

A quadratic function looks like f(x) = ax² + bx + c, where a is not zero. Read it aloud as f of x equals a times x squared, plus b times x, plus c. The star of the show is that x² term. That little squared piece is what bends a straight line into a U. The numbers a, b, and c are just dials that change the shape and position.

Which way does it open, and how wide?

The number a in front of x² controls the opening:

  • If a is positive, the parabola opens upward, like a smile or a cup that could hold water.
  • If a is negative, the parabola opens downward, like a frown or a hill.
  • The bigger a is (ignoring its sign), the narrower and steeper the U. A small a makes a wide, gentle U.

So y = 5x² is a narrow smile, and y = -x² is a frown. That is the first thing to notice about any quadratic.

The vertex and the mirror line

Every parabola has a single turning point, the tip of the U, called the vertex. On a smile the vertex is the lowest point; on a frown it is the highest point. A parabola is perfectly symmetric, like a butterfly. The vertical line straight through the vertex is the axis of symmetry: fold the curve along that line and the two halves match exactly.

There is a tidy formula for where that mirror line lives: x = -b ÷ (2a). Read it as negative b, over 2 times a. Once you know that x-value, you find the vertex's height by putting it back into the function.

Let us find a vertex together

Find the vertex of f(x) = x² - 6x + 5. We go one small step at a time.

  1. Read off the dials: a is 1, b is negative 6, c is 5.
  2. Find the axis of symmetry: x = -b ÷ (2a). Here that is negative, negative 6, over 2 times 1. Negative of negative 6 is positive 6, and 2 times 1 is 2, so x = 6 ÷ 2 = 3.
  3. Find the height: put x = 3 into the function. f(3) = 3² - 6(3) + 5 = 9 - 18 + 5 = -4.
  4. So the vertex is the point (3, -4).

Because a is positive, this parabola is a smile, so the vertex (3, -4) is its lowest point. Nice, you just located the tip of a curve from its equation.

Where people get stuck: dropping the minus sign in x = -b ÷ (2a). When b is already negative, the two minus signs make a plus. Here b was negative 6, and negative of negative 6 came out to positive 6. Go slowly with those signs.

Vertex form: the shape's home address

There is a second way to write a quadratic that hands you the vertex for free: vertex form, f(x) = a(x - h)² + k. In this form the vertex is simply (h, k). For example, f(x) = 2(x - 3)² - 4 has vertex (3, -4) and opens upward because a = 2 is positive.

One careful note. The vertex x-coordinate is the value that makes the inside of the parenthesis equal zero. So (x - 3)² gives h = 3, but (x + 2)² gives h = negative 2, because x plus 2 equals zero when x is negative 2. Read that twice, since the sign flip surprises almost everyone.

Turning standard form into vertex form

We can convert f(x) = x² - 6x + 5 into vertex form by a move called completing the square. Take half of the middle number, negative 6, which is negative 3, then square it to get 9.

  1. Group and prepare: f(x) = (x² - 6x + 9) + 5 - 9. We added 9 inside and subtracted 9 outside so nothing actually changed.
  2. The grouped part is a perfect square: x² - 6x + 9 = (x - 3)².
  3. Tidy the leftover numbers: 5 - 9 = -4.
  4. So f(x) = (x - 3)² - 4, which shows the vertex (3, -4) again.

Two different methods, the same vertex. That agreement is a good sign we did it right.

Worked example: building a quadratic from its vertex and one point

Vertex form y = a(x - h)² + k is a recipe with three ingredients. The vertex supplies h and k; a single extra point supplies a.

Question: A parabola has vertex (3, -4) and passes through (5, 8). Find its equation.

  1. Fill in the vertex. h = 3 and k = -4, so y = a(x - 3)² - 4.
  2. Use the extra point. Substitute x = 5, y = 8: 8 = a(5 - 3)² - 4 = 4a - 4.
  3. Solve for a. 12 = 4a, so a = 3.
  4. Answer. y = 3(x - 3)² - 4.

Check both conditions. At x = 3: y = 3(0) - 4 = -4, the vertex. At x = 5: y = 3(4) - 4 = 8, the given point. Both hold.

Expanding gives standard form if you want it: 3(x² - 6x + 9) - 4 = 3x² - 18x + 27 - 4 = 3x² - 18x + 23. Sanity check with the vertex formula x = -b/(2a) = 18/6 = 3, which is the h we started with.

Worked example: a maximum in a real situation

A parabola opening downward has a highest point, and finding it answers a huge class of practical questions.

Question: A farmer has 60 m of fence for a rectangular pen against a barn wall, so only three sides need fencing. What dimensions give the largest area?

  1. Name the sides. Let x be the width of each of the two sides perpendicular to the barn. The remaining side is 60 - 2x.
  2. Write the area. A(x) = x(60 - 2x) = 60x - 2x². That is a downward parabola, since a = -2 is negative.
  3. Find the vertex. x = -b/(2a) = -60/(2 · -2) = -60/-4 = 15 m.
  4. Find the other dimension. 60 - 2(15) = 30 m.
  5. Maximum area. 15 × 30 = 450 square metres.

Test the neighbours to be sure it is a maximum. At x = 14: 14 × 32 = 448. At x = 16: 16 × 28 = 448. Both are less than 450, so 15 really is the peak.

Notice that the answer is a square-ish shape but not a square - the barn wall is free, so the optimum spends twice as much fence on the long side. Changing which sides need fencing changes the answer, which is why you must write the area function from the actual situation rather than reaching for a remembered result.

Where the curve crosses the axes

Two more landmarks make a sketch accurate. The y-intercept is where the curve meets the up-and-down axis; put x = 0 into ax² + bx + c and everything but c disappears, so the y-intercept is always (0, c). The x-intercepts, if there are any, are where f(x) = 0.

For f(x) = x² - 6x + 5, setting it to zero and factoring gives (x - 1)(x - 5) = 0, so the curve crosses at x = 1 and x = 5. Notice the axis of symmetry x = 3 sits exactly halfway between them, since (1 plus 5) divided by 2 is 3. Not every parabola crosses the x-axis, though. A smile floating entirely above the axis never touches it.

A real reason this matters

Because the vertex is the highest or lowest point, quadratics answer "what is the most or the least" questions. Suppose a ball is thrown upward and its height in feet after t seconds is h(t) = -16t² + 64t + 5. When is it highest, and how high?

  1. Find the time of the peak: t = -b ÷ (2a) is negative 64 over 2 times negative 16, which is negative 64 over negative 32, which is 2 seconds.
  2. Find the height then: h(2) = -16(2²) + 64(2) + 5 = -64 + 128 + 5 = 69 feet.

The ball peaks 2 seconds after the throw, at 69 feet. Same skill, a real answer. Businesses use the very same vertex idea to find the price that brings the most revenue.

Try it: Find the vertex of f(x) = x² + 4x + 1. Take your time, then read on.

Worked answer: a is 1, b is 4. The axis is x = -4 ÷ (2 × 1) = -2. The height is f(-2) = (-2)² + 4(-2) + 1 = 4 - 8 + 1 = -3. So the vertex is (-2, -3). Since a is positive, it is the lowest point. Nicely done.

Common misconceptions

  • Dropping the minus in x = -b/(2a). The formula starts with negative b, so a negative b turns positive.
  • Reading the wrong sign of h in vertex form. In a(x - h)² + k, the value (x + 2)² means h is negative 2, not 2.
  • Confusing where the extreme happens with the extreme value. The x-coordinate tells you when or where; the y-coordinate is the actual highest or lowest amount.
  • Thinking a bigger a makes a wider curve. A bigger a makes the U narrower and steeper.
  • Assuming every parabola crosses the x-axis. Some never touch it and have no real x-intercepts.

The takeaway

A quadratic function f(x) = ax² + bx + c graphs as a parabola: a smile when a is positive, a frown when a is negative, and narrower as a grows. Its turning point, the vertex, sits on the axis of symmetry x = -b ÷ (2a), and vertex form a(x - h)² + k shows the vertex (h, k) directly. The y-intercept is (0, c), the x-intercepts solve f(x) = 0, and the axis sits midway between them. Because the vertex is the extreme point, quadratics solve real highest-and-lowest problems. You read a curve straight from its equation today.

Sources

  1. OpenStax. (2021). 5.1 Quadratic functions. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 5.2 Power functions and polynomial functions. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2021). 3.5 Transformation of functions. In Algebra and Trigonometry 2e. openstax.org
  4. Dawkins, P. (n.d.). Parabolas. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  5. Dawkins, P. (n.d.). Applications of quadratic equations. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Khan Academy. (n.d.). Algebra 2. khanacademy.org
  7. Math is Fun. (n.d.). Graphing quadratic equations. mathsisfun.com
Key terms
quadratic function
A function of the form f(x) = ax^2 + bx + c with a not zero.
parabola
The U-shaped graph of a quadratic function.
vertex
The highest or lowest turning point of a parabola.
axis of symmetry
The vertical line x = -b/(2a) that mirrors the parabola.
vertex form
f(x) = a(x - h)^2 + k, giving the vertex (h, k) directly.

Solving Quadratic Equations

  • Solve quadratics by factoring and the square root property.
  • Solve quadratics by completing the square.
  • Solve any quadratic with the quadratic formula and use the discriminant.

When does the ball hit the ground?

Same ball as last lesson: h(t) = -4.9t² + 20t + 1.5. Last time we asked how high it goes. Now ask when it lands, which means asking for the values of t that make h(t) = 0. The quadratic formula hands back two of them, about 4.16 seconds and about -0.07 seconds. Only one of those is a landing. The negative answer is honest algebra and impossible physics: it is the moment, a fraction of a second before you let go, when the same curve would have been passing through ground level had the ball been on it the whole time. Two answers is normal for a quadratic, and deciding which ones mean something is part of the job.

Bottom line: A quadratic equation ax² + bx + c = 0 usually has two solutions, and we have four friendly tools to find them.

Tool one: factoring and the zero-product idea

Here is a fact so simple it feels like a secret weapon: if two things multiply to give zero, then at least one of them must be zero. There is no way to multiply two nonzero numbers and land on zero. This is the zero-product property, and it turns a hard equation into two easy ones.

Let us solve x² - 5x + 6 = 0 together.

  1. Factor the left side into two pieces that multiply to it: (x - 2)(x - 3) = 0.
  2. The product is zero, so one of the pieces is zero. Set each to zero: x - 2 = 0 or x - 3 = 0.
  3. Solve each tiny equation: x = 2 or x = 3.

So the two solutions are 2 and 3. Whenever factoring is quick, this is the fastest road.

Where people get stuck: using this idea when the product is not zero. From (x - 1)(x - 2) = 6 you cannot say a piece equals 6. The zero-product property only works against a plain zero, so always move everything to one side first.

Tool two: the square root property

When a quadratic is a perfect square set equal to a number, or has no middle term, you can just take the square root of both sides. The one thing to remember is that a positive number has two square roots, one positive and one negative, so we write plus or minus, the symbol ±.

Solve x² = 25. Take the square root of both sides: x = ±5. That means x is 5 or negative 5, because both square to 25. Now a slightly bigger one, (x - 2)² = 9:

  1. Take the square root of both sides, keeping plus or minus: x - 2 = ±3.
  2. Split into two: x - 2 = 3 gives x = 5, and x - 2 = -3 gives x = -1.

So x is 5 or negative 1. Two answers, as expected.

Where people get stuck: forgetting the negative root. x² = 49 has answers 7 and negative 7. Taking only the positive one quietly throws away half the solution.

Tool three: completing the square

When a quadratic does not factor nicely, we can force it into a perfect square. The magic number to add is half of the middle coefficient, squared. Let us solve x² + 6x - 7 = 0.

  1. Move the plain number to the right: x² + 6x = 7.
  2. Take half of the middle number 6, which is 3, and square it: 3 squared is 9.
  3. Add that 9 to both sides: x² + 6x + 9 = 7 + 9, so x² + 6x + 9 = 16.
  4. The left side is now a perfect square: (x + 3)² = 16.
  5. Take the square root of both sides with plus or minus: x + 3 = ±4.
  6. Split: x + 3 = 4 gives x = 1, and x + 3 = -4 gives x = -7.

The solutions are 1 and negative 7. If the number in front of x² is not 1, divide every term by it first so the leading coefficient becomes 1, then complete the square.

Tool four: the quadratic formula, which always works

When nothing else is convenient, this tool never lets you down. For any ax² + bx + c = 0, the solutions are

x = (-b ± √(b² - 4ac)) ÷ (2a).

Read it slowly: x equals negative b, plus or minus the square root of, open parenthesis, b squared minus 4 a c, close parenthesis, all divided by 2a. It looks busy, but you just plug in three numbers and simplify. Let us solve 2x² - 4x - 3 = 0.

  1. Read off the numbers: a is 2, b is negative 4, c is negative 3.
  2. Work out the inside part first, called the discriminant: b² - 4ac = (-4)² - 4(2)(-3).
  3. Carefully: (-4)² is 16, and 4(2)(-3) is negative 24, so subtracting it adds: 16 + 24 = 40.
  4. Take the square root: √40 simplifies to 2√10.
  5. Now the outside: -b is -(-4), which is 4, and 2a is 4. So x = (4 ± 2√10) ÷ 4.
  6. Divide everything by 2 to tidy: x = (2 ± √10) ÷ 2.

The two solutions are (2 + √10) ÷ 2 and (2 - √10) ÷ 2. Not pretty, but exact, and the formula got us there without any lucky guessing.

Where people get stuck: sign slips with b. When b is negative 4, the -b in the formula becomes positive 4, and b² is positive 16. Wrap negatives in parentheses and go one small step at a time.

Where the quadratic formula comes from

The formula is not handed down from nowhere. It is completing the square, done once with letters instead of numbers, so nobody ever has to do it again. Follow the same six steps you just used, but with a, b, and c standing in.

  1. Start with ax² + bx + c = 0.
  2. Divide every term by a so the leading coefficient becomes 1: x² + (b/a)x + c/a = 0.
  3. Move the constant right: x² + (b/a)x = -c/a.
  4. Half the middle coefficient is b/(2a); square it to get b²/(4a²). Add that to both sides.
  5. The left is now a perfect square, and the right combines over the common denominator 4a²: (x + b/(2a))² = (b² - 4ac)/(4a²).
  6. Square-root both sides with plus or minus. The bottom √(4a²) is 2a: x + b/(2a) = ±√(b² - 4ac)/(2a).
  7. Subtract b/(2a) from both sides and combine over one denominator: x = (-b ± √(b² - 4ac))/(2a).

There it is. And notice where the discriminant appears: it is exactly what ended up under the square root in step 5, which is why its sign controls whether the answers are real. That is not a coincidence you have to remember - it is visible right there in the derivation.

Test the formula against a case you can check. For x² + 6x - 7 = 0 we found 1 and -7 by completing the square. The formula says a = 1, b = 6, c = -7, so the discriminant is 36 - 4(1)(-7) = 36 + 28 = 64, whose root is 8. Then x = (-6 ± 8)/2, giving 2/2 = 1 and -14/2 = -7. Same pair, as it must be.

The discriminant: a peek at the answers before you solve

That inside piece, b² - 4ac, is called the discriminant, and by itself it foretells what kind of answers you will get:

  • If it is positive, there are two different real solutions (the parabola crosses the x-axis twice).
  • If it is zero, there is exactly one real solution (the parabola just touches the x-axis).
  • If it is negative, there are no real solutions, only two complex ones (the parabola never reaches the x-axis). Complex numbers are the very next lesson.

For example, x² + 2x + 5 = 0 has discriminant 2² - 4(1)(5) = 4 - 20 = -16, which is negative, so we already know its answers are complex before doing any more work.

A real reason this matters

A ball thrown from a rooftop has height h(t) = -16t² + 32t + 48 feet. It lands when the height is zero.

  1. Set it to zero: -16t² + 32t + 48 = 0.
  2. Divide every term by negative 16 to simplify: t² - 2t - 3 = 0.
  3. Factor: (t - 3)(t + 1) = 0, so t = 3 or t = -1.
  4. Time cannot be negative, so we keep t = 3. The ball lands after 3 seconds.

Notice we threw away the answer that made no physical sense. Deciding which solutions actually fit the story is part of the skill.

Try it: Solve x² - 2x - 8 = 0 by factoring. Take your time, then read on.

Worked answer: Factor into two pieces that multiply to it: (x - 4)(x + 2) = 0. Set each to zero: x = 4 or x = -2. As a check, the quadratic formula gives x = (2 ± √36) ÷ 2 = (2 ± 6) ÷ 2, which is 4 or negative 2, the same pair. Great work.

Common misconceptions

  • Forgetting the plus or minus. A square root of a number has two values; x² = 49 gives 7 and negative 7.
  • Dividing both sides by x. Solving x² = 5x by dividing away the x loses the answer x = 0. Instead write x² - 5x = 0 and factor x(x - 5) = 0.
  • Using the zero-product idea against a nonzero number. First move everything to one side so it equals zero.
  • Sign errors in the formula. With b = negative 4, the -b becomes positive 4 and b² is positive 16.
  • Halving the wrong number when completing the square. Make the leading coefficient 1 first, then halve the middle coefficient.

Summing up

To solve a quadratic, put it in a helpful shape and pick a tool. Factoring with the zero-product property is fastest when factors jump out; the square root property handles a squared piece equal to a number (never forget the plus or minus); completing the square forces a perfect square by adding half the middle coefficient squared; and the quadratic formula x = (-b ± √(b² - 4ac)) ÷ (2a) solves anything. The discriminant b² - 4ac tells you ahead of time whether the answers are two real, one real, or two complex. In word problems, solve, then keep only the answers that make sense. You now hold a complete toolbox.

Sources

  1. OpenStax. (2021). 2.5 Quadratic equations. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 2.5 Quadratic equations. In College Algebra 2e. openstax.org
  3. OpenStax. (2019). 9.2 Solve quadratic equations by completing the square. In Intermediate Algebra 2e. openstax.org
  4. OpenStax. (2019). 9.3 Solve quadratic equations using the quadratic formula. In Intermediate Algebra 2e. openstax.org
  5. Dawkins, P. (n.d.). Quadratic equations: A summary. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Math is Fun. (n.d.). Quadratic equations. mathsisfun.com
  7. Math is Fun. (n.d.). Completing the square. mathsisfun.com
Key terms
standard form (quadratic)
The arrangement ax^2 + bx + c = 0.
zero-product property
If a product equals zero, at least one factor equals zero.
square root property
If x^2 = k, then x equals plus or minus the square root of k.
completing the square
Adding (b/2)^2 to make x^2 + bx a perfect square trinomial.
quadratic formula
x = (-b plus or minus the square root of b^2 - 4ac) over 2a.
discriminant
The value b^2 - 4ac that reveals how many and what kind of solutions exist.

Complex Numbers

  • Simplify square roots of negative numbers using i.
  • Add, subtract, and multiply complex numbers.
  • Divide complex numbers using the conjugate.

An equation the number line cannot answer

Look at x² + 1 = 0. It is asking for a number whose square is negative 1. Square any number on the number line, positive or negative or zero, and the result is never negative, so on the line this equation simply has no answer. In 1572 an engineer in Bologna named Rafael Bombelli, stuck on cubic equations that plainly had real solutions, tried something stubborn: he kept calculating with square roots of negative numbers anyway, and watched the impossible parts cancel each other out and leave correct real answers behind. The name imaginary came later, and it is a bad name. Nothing about these numbers is fake; they are in your phone, your music, and the wiring in your walls.

The core of it: We invent one new number, i, whose square is negative 1, and then do ordinary algebra with it.

The new number: the imaginary unit

No ordinary number squares to a negative, because a positive times a positive is positive, and a negative times a negative is also positive. So we simply define a brand-new number called the imaginary unit, written i, with this single rule: i² = -1. Read that as i squared equals negative 1. Another way to say the same thing is i = √(-1).

That one rule lets us take the square root of any negative number. For example, √(-9) becomes √9 × √(-1) = 3 × i = 3i. We just peel off the negative as an i.

What a complex number is

A complex number has the form a + bi. The a is called the real part (an ordinary number), and the b is called the imaginary part (how many i's you have). Think of it like a bundle with two compartments: a regular-number compartment and an i compartment. Ordinary numbers are just complex numbers whose i compartment is empty, meaning b is 0.

Adding and subtracting: keep the compartments separate

To add or subtract, you combine the real parts together and the imaginary parts together, exactly like combining like terms. The real stays with the real, the i's stay with the i's.

Add (3 + 2i) + (1 - 5i).

  1. Add the real parts: 3 + 1 = 4.
  2. Add the imaginary parts: 2 + (-5) = -3, giving -3i.
  3. Put them back together: 4 - 3i.

That is the whole move. Reals with reals, i's with i's.

Multiplying: FOIL, then use the rule

To multiply two complex numbers, you multiply them out just like two binomials (every piece times every piece), then wherever you see i², you replace it with negative 1. Let us do (2 + 3i)(1 - 4i).

  1. Multiply every pair: 2(1) is 2, 2(-4i) is -8i, 3i(1) is 3i, and 3i(-4i) is -12i².
  2. Line it up: 2 - 8i + 3i - 12i².
  3. Now use the rule i² = -1: the -12i² becomes -12(-1) = +12.
  4. Combine the real parts: 2 + 12 = 14. Combine the imaginary parts: -8i + 3i = -5i.
  5. Final answer: 14 - 5i.

Where people get stuck: stopping before using i² = -1. Every complex multiplication ends by turning any i² into negative 1 and then tidying up. If you still see an i², you are not finished yet.

The conjugate: a partner that erases the i

The conjugate of a + bi is a - bi. You just flip the sign of the imaginary part, and leave the real part alone. The conjugate has a magical feature: a complex number times its conjugate is always a plain real number, because (a + bi)(a - bi) = a² + b², with the i's completely gone.

Dividing: multiply by the conjugate

Division is the one place complex numbers feel different, and the conjugate is the tool that saves us. To divide, multiply the top and bottom by the conjugate of the bottom. That clears the i out of the denominator. Let us compute (5 + i) ÷ (2 - i).

  1. The bottom is 2 - i, so its conjugate is 2 + i. Multiply top and bottom by that.
  2. New bottom: (2 - i)(2 + i) = 2² + 1² = 4 + 1 = 5, a real number.
  3. New top: (5 + i)(2 + i) = 10 + 5i + 2i + i² = 10 + 7i - 1 = 9 + 7i.
  4. Write the result: (9 + 7i) ÷ 5, which is 9/5 + (7/5)i.

The denominator is real again, so the answer is a proper complex number. Nice, that is the trickiest operation, handled.

Where complex numbers come from: unsolvable quadratics

Remember the discriminant. When it is negative, the quadratic formula asks for the square root of a negative number, and now we can answer. Solve x² - 4x + 13 = 0.

  1. The discriminant is (-4)² - 4(1)(13) = 16 - 52 = -36, negative, so expect complex answers.
  2. Quadratic formula: x = (4 ± √(-36)) ÷ 2.
  3. Convert the root: √(-36) = 6i. So x = (4 ± 6i) ÷ 2.
  4. Divide each part by 2: x = 2 ± 3i.

The two answers are 2 + 3i and 2 - 3i. Notice they are conjugates of each other. For any quadratic with ordinary-number coefficients, complex answers always arrive in these matched conjugate pairs, never alone.

The powers of i go round in a circle

Because i² = -1, the higher powers of i cycle through just four values, over and over:

Poweri1i2i3i4i5i6
Valuei-1-i1i-1

Each one is the previous times i: i³ = i² · i = -1 · i = -i, and i⁴ = i³ · i = -i · i = -i² = 1. After the fourth power it starts again.

So any power of i is answered by dividing the exponent by 4 and keeping the remainder. Find i²⁷: 27 ÷ 4 = 6 remainder 3, so i²⁷ = i³ = -i. Find i₁₀₀: 100 divides by 4 exactly, remainder 0, so it equals i⁴ = 1.

Worked example: a quadratic with complex solutions

In Lesson 8 we found that a negative discriminant means no real solutions. Now we can actually write those solutions down.

Question: Solve x² - 4x + 13 = 0.

  1. Identify a, b, c. a = 1, b = -4, c = 13.
  2. Discriminant. (-4)² - 4(1)(13) = 16 - 52 = -36. Negative, so the solutions are complex.
  3. Take the root of the negative number. √(-36) = √36 · √(-1) = 6i.
  4. Finish the formula. x = (4 ± 6i)/2 = 2 ± 3i.

The two solutions are 2 + 3i and 2 - 3i - a conjugate pair, which is always what happens when a quadratic with real coefficients has complex roots.

Check one by substituting. Take x = 2 + 3i. First square it: (2 + 3i)² = 4 + 12i + 9i² = 4 + 12i - 9 = -5 + 12i. Now the whole expression: (-5 + 12i) - 4(2 + 3i) + 13 = -5 + 12i - 8 - 12i + 13. The real parts give -5 - 8 + 13 = 0 and the imaginary parts give 12i - 12i = 0. The total is 0, so it is a genuine solution.

That check is worth doing at least once in your life. It is the moment complex numbers stop feeling like a made-up dodge and start feeling like real solutions to real equations.

A pitfall worth naming

The friendly rule √a × √b = √(ab) breaks when both numbers are negative. Always turn negatives into i-form first. For √(-4) × √(-9), write (2i)(3i) = 6i² = -6. If you had carelessly multiplied under the roots first to get √36 = 6, you would have the wrong sign. Pull out the i before anything else.

Try it: Compute (4 - 2i) + (1 + 5i) and (1 + i)(1 - i). Take your time, then read on.

Worked answer: For the sum, add reals 4 + 1 = 5 and imaginaries -2 + 5 = 3, giving 5 + 3i. For the product, notice it is a number times its conjugate: 1² + 1² = 2. Or FOIL: 1 - i + i - i² = 1 - (-1) = 2. Both give 2. Well done.

A real reason this matters

These numbers were invented to solve equations, but they turned out to run the modern world. Electrical engineers describe alternating-current circuits with complex numbers, where the real part is resistance and the imaginary part tracks timing. Signal processing, the math inside music software, phone calls, and image files, represents waves as complex numbers so they are easy to combine. Physicists write quantum mechanics in complex arithmetic. Far from imaginary, these numbers are hard at work all around you.

Common misconceptions

  • Thinking i is secretly some real number. No real number squares to negative 1. It is a genuinely new kind of number, defined by that one rule.
  • Multiplying roots of negatives before converting. Turn each into i-form first; the product of the roots of negative 4 and negative 9 is negative 6, not 6.
  • Forgetting to replace i² with -1. Every multiplication finishes by swapping i² for negative 1 and combining.
  • Flipping the wrong part for a conjugate. The conjugate of 3 - 7i is 3 + 7i. Only the imaginary part changes sign.
  • Expecting a single complex root. With ordinary coefficients, complex solutions come in conjugate pairs.

What you now know

The imaginary unit i is defined by i² = -1, which lets negative numbers have square roots. A complex number a + bi has a real part and an imaginary part; you add and subtract by keeping those parts separate, multiply by FOIL and then replacing i² with negative 1, and divide by multiplying top and bottom by the conjugate of the denominator, since a number times its conjugate is the real number a² + b². Quadratics with a negative discriminant give conjugate-pair solutions. Always convert roots of negatives to i-form before computing. You handled a whole new kind of number today.

Sources

  1. OpenStax. (2021). 2.4 Complex numbers. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 3.1 Complex numbers. In Precalculus 2e. openstax.org
  3. OpenStax. (2021). 2.5 Quadratic equations. In Algebra and Trigonometry 2e. openstax.org
  4. OpenStax. (2021). 5.5 Zeros of polynomial functions. In Algebra and Trigonometry 2e. openstax.org
  5. Dawkins, P. (n.d.). Complex numbers. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Khan Academy. (n.d.). Algebra 2. khanacademy.org
  7. Math is Fun. (n.d.). Complex numbers. mathsisfun.com
Key terms
imaginary unit
The number i with i squared equal to -1.
complex number
A number of the form a + bi with real part a and imaginary part b.
real part
The a in a complex number a + bi.
imaginary part
The coefficient b in a complex number a + bi.
complex conjugate
The number a - bi paired with a + bi; their product is real.
conjugate pair
Two complex solutions a + bi and a - bi that appear together.

Module 4: Polynomial Functions and Factoring

Working with polynomials of higher degree: operations, factoring techniques, dividing, and finding zeros.

Polynomial Operations

  • Classify polynomials by degree and number of terms.
  • Add, subtract, and multiply polynomials.
  • Apply the laws of exponents.

A garden three meters longer than it is wide

A rectangular garden is 3 meters longer than it is wide, and you want to know its area without first knowing its width. Call the width w. The length is then w + 3, and the area is w(w + 3), which multiplies out to w² + 3w. That last expression is a polynomial: a few terms added up, each one a number times w raised to a whole-number power. If the width turns out to be 4 meters, the area is 16 + 12 = 28 square meters, and you can check it against 4 times 7. The expression was doing the arithmetic for every possible width at once, which is the entire reason to write one.

Key idea: A polynomial is a sum of power-of-x terms, and working with them is just combining like terms and distributing.

The parts of a polynomial

Each piece added together is a term, like 3x² or -5x or 7. The degree of a polynomial is its highest power of x. We give polynomials friendly names by degree: degree 1 is linear, degree 2 is quadratic, degree 3 is cubic. We also name them by how many terms they have: one term is a monomial, two is a binomial, three is a trinomial. So x² - 4x + 5 is a quadratic trinomial. Naming them is just describing what you see.

The laws of exponents, with numbers first

Multiplying polynomials leans on three exponent rules. Let us see each with small numbers so they feel obvious.

  • Multiplying the same base: add the exponents. Think about x³ × x². That is (x x x) times (x x), which is five x's multiplied, so x5. You add: 3 plus 2 is 5.
  • A power raised to a power: multiply the exponents. (x²)³ means x² times itself 3 times, which is x6. You multiply: 2 times 3 is 6.
  • A power of a product: give the exponent to each factor. (2x)³ is 2³ x³ = 8x³. The 3 lands on both the 2 and the x.

Where people get stuck: adding exponents when they should stay put. Exponents add only when you multiply like bases. When you add terms, like x³ + x³, the exponent does not change; you just have two of them, so it is 2x³.

Adding and subtracting: combine like terms

Like terms have the exact same variable and exponent, such as 3x² and -x². You combine like terms by adding their number parts. To subtract a whole polynomial, first spread the minus sign to every term inside, then combine.

Simplify (4x³ - 2x + 7) - (x³ + 5x² - 3).

  1. Spread the minus across the second group. Each sign flips: 4x³ - 2x + 7 - x³ - 5x² + 3.
  2. Gather the x-cubed terms: 4x³ - x³ = 3x³.
  3. There is only one x-squared term: -5x².
  4. Only one x term: -2x.
  5. Combine the plain numbers: 7 + 3 = 10.
  6. Write it in order of powers: 3x³ - 5x² - 2x + 10.

Where people get stuck: forgetting the minus sign belongs to every term of the second group, not just the first. That stray sign is the most common slip here, so spread it carefully.

Multiplying: every term meets every term

To multiply polynomials, each term of the first must multiply each term of the second, then you combine. For two binomials, this is the familiar FOIL (First, Outer, Inner, Last). Multiply (2x + 3)(x - 4).

  1. First terms: 2x × x = 2x².
  2. Outer terms: 2x × (-4) = -8x.
  3. Inner terms: 3 × x = 3x.
  4. Last terms: 3 × (-4) = -12.
  5. Combine the middle like terms: -8x + 3x = -5x.
  6. Answer: 2x² - 5x - 12.

The same "every term times every term" idea handles bigger products. For (x + 2)(x² - 3x + 1), multiply the trinomial by x, then by 2, then add: x³ - 3x² + x plus 2x² - 6x + 2 gives x³ - x² - 5x + 2.

Two patterns worth memorizing

These come up so often that recognizing them saves real time.

  • Square of a binomial: (a + b)² = a² + 2ab + b². Notice the middle term. Squaring a sum always makes three terms, never two.
  • Difference of squares: (a + b)(a - b) = a² - b². The middle terms cancel, leaving just two.

Expand (3x - 2)² using the pattern with a = 3x and b = 2.

  1. First piece, a squared: (3x)² = 9x².
  2. Middle piece, 2 times a times b, with a minus: 2(3x)(2) = 12x, so -12x.
  3. Last piece, b squared: 2² = 4.
  4. Answer: 9x² - 12x + 4.

Where people get stuck: writing (3x - 2)² as 9x² + 4 and losing the middle. A square of a binomial has three terms. Read that once more: three terms, always.

Worked example: multiplying two trinomials

FOIL only names the four products of two binomials. For anything bigger, use the real rule it came from: every term in the first bracket multiplies every term in the second, then combine like terms.

Question: Multiply (x² + 2x - 3)(x² - x + 4).

Three terms times three terms gives nine products. Take them one row at a time.

  1. x² times each term: x⁴ - x³ + 4x².
  2. 2x times each term: 2x³ - 2x² + 8x.
  3. -3 times each term: -3x² + 3x - 12.

Now stack them by degree and add:

Degreex4x3x2xconstant
Row 11-14
Row 22-28
Row 3-33-12
Total11-111-12

The product is x⁴ + x³ - x² + 11x - 12.

Check it two ways. First, the degrees: a degree-2 times a degree-2 must give degree 4, and it does. Second, substitute a value into both forms. At x = 1 the original is (1 + 2 - 3)(1 - 1 + 4) = (0)(4) = 0, and the answer is 1 + 1 - 1 + 11 - 12 = 0. They match, so the expansion is right.

That substitution check is worth building into your habits. It takes fifteen seconds, catches almost every sign error and dropped term, and works for any expansion you will ever do. Pick a small value like 1 or 2, and avoid 0 if a bracket might vanish and hide a mistake.

A quick size check: degrees add

When you multiply, the highest-power terms multiply, so the degrees add. A degree-3 polynomial times a degree-2 polynomial gives degree 5. This is a handy way to check your answer is the right size before you even finish.

A real reason this matters

Polynomials are how we write measurement formulas. Picture making an open-top box by cutting a square of side x from each corner of a 10 by 8 sheet and folding up the flaps. The volume is V = x(10 - 2x)(8 - 2x).

  1. Multiply the two binomials: (10 - 2x)(8 - 2x) = 80 - 20x - 16x + 4x² = 4x² - 36x + 80.
  2. Multiply that by x: V = 4x³ - 36x² + 80x.

A real box, described by a cubic polynomial you just expanded. Businesses do the same to turn price and quantity into a revenue formula.

Try it: Multiply (x + 5)², and simplify x³ × x5. Take your time, then read on.

Worked answer: Using the square pattern, (x + 5)² = x² + 2(x)(5) + 5² = x² + 10x + 25. For the product, add the exponents 3 and 5 to get x8. Nicely done.

Common misconceptions

  • Writing (a + b)² as a² + b². The square of a sum has a middle term: a² + 2ab + b².
  • Adding exponents when adding terms. x³ + x³ = 2x³. Exponents add only when multiplying like bases.
  • Not spreading a subtraction to every term of the polynomial being subtracted.
  • Combining unlike terms, such as merging 3x² with 2x. Like terms must match in variable and exponent.
  • Multiplying only the first terms of each factor. Every term of one must meet every term of the other.

Looking back

A polynomial is a sum of power-of-x terms, named by its degree and by how many terms it has. The exponent laws drive multiplication: add exponents for products of like bases, multiply for a power of a power, and hand the exponent to each factor for a power of a product. Add and subtract by combining like terms, spreading any minus sign fully; multiply by letting every term meet every term. The square-of-a-binomial and difference-of-squares patterns save time, and degrees add under multiplication. These moves build the volume, revenue, and motion formulas of the real world. You did the whole toolkit today.

Sources

  1. OpenStax. (2021). 1.4 Polynomials. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 1.2 Exponents and scientific notation. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2021). 5.2 Power functions and polynomial functions. In Algebra and Trigonometry 2e. openstax.org
  4. Dawkins, P. (n.d.). Polynomials. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  5. Dawkins, P. (n.d.). Integer exponents. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Khan Academy. (n.d.). Polynomial arithmetic. In Algebra 2. khanacademy.org
  7. Math is Fun. (n.d.). Multiplying polynomials. mathsisfun.com
Key terms
polynomial
A sum of terms, each a number times a variable to a whole-number power.
degree
The highest exponent in a polynomial.
monomial
A polynomial with one term.
product rule (exponents)
When multiplying like bases, add the exponents.
difference of squares
The pattern (a + b)(a - b) = a^2 - b^2.
square of a binomial
The pattern (a + b)^2 = a^2 + 2ab + b^2.

Factoring Polynomials

  • Factor out the greatest common factor.
  • Factor trinomials and special forms.
  • Factor a sum or difference of cubes.

Which two brackets made this?

Someone hands you x² + 7x + 12 and says it came from multiplying two brackets together. Which two? The last numbers in the brackets have to multiply to 12 and add to 7, and once you say it that way the search is short: 1 and 12 add to 13, 2 and 6 add to 8, 3 and 4 add to 7. So the answer is (x + 3)(x + 4), and you can check it in ten seconds by multiplying back out. That is factoring, start to finish. It is not a bag of unrelated tricks; it is running a multiplication backward, and the check is always available.

Why this matters: Factoring rewrites a polynomial as a product of simpler pieces, which is the reverse of multiplying.

Step zero, always: pull out the GCF

Before anything fancy, look for the greatest common factor, the biggest chunk that divides every single term. Pulling it out first makes everything after it smaller and easier.

Factor 6x³ + 9x².

  1. What number divides both 6 and 9? That is 3.
  2. What power of x is in both terms? Both have at least x².
  3. So the GCF is 3x². Pull it out: 3x²(2x + 3).

You can always check by distributing back: 3x² times 2x is 6x³, and 3x² times 3 is 9x². It matches. Make this your automatic first move on every problem.

Simple trinomials: find two numbers

To factor x² + bx + c, hunt for two numbers that multiply to c and add to b. That is the whole puzzle.

Factor x² + 7x + 12.

  1. We need two numbers that multiply to 12 and add to 7.
  2. Try pairs that multiply to 12: 1 and 12, 2 and 6, 3 and 4. Which adds to 7? That is 3 and 4.
  3. Write the factors: (x + 3)(x + 4).

A gentle sign tip: when c is positive, both numbers share b's sign; when c is negative, the two numbers have opposite signs.

When the front coefficient is not 1: the ac method

For ax² + bx + c, we tweak the puzzle. Find two numbers that multiply to a times c, and add to b. Then split the middle term and factor by grouping.

Factor 2x² + 7x + 3.

  1. Compute a times c: 2 × 3 = 6.
  2. Find two numbers that multiply to 6 and add to 7: those are 6 and 1.
  3. Split the middle 7x into 6x and 1x: 2x² + 6x + x + 3.
  4. Group in pairs and factor each: 2x(x + 3) + 1(x + 3).
  5. Both pairs share (x + 3), so pull it out: (2x + 1)(x + 3).

That grouping move, pulling out a shared parenthesis, also factors any four-term polynomial. For x³ + 2x² + 3x + 6, group as x²(x + 2) + 3(x + 2) = (x² + 3)(x + 2).

Special patterns worth recognizing

A few shapes appear again and again. Spotting them is faster than any method.

  • Difference of squares: a² - b² = (a - b)(a + b). So x² - 25 = (x - 5)(x + 5).
  • Sum of cubes: a³ + b³ = (a + b)(a² - ab + b²).
  • Difference of cubes: a³ - b³ = (a - b)(a² + ab + b²).

The cube formulas have three signs, and a memory aid keeps them straight: SOAP, standing for Same, Opposite, Always Positive. The first sign is the Same as the original, the middle is the Opposite, and the last is Always Positive.

Factor x³ - 8. Notice 8 = 2³, so a = x and b = 2, a difference of cubes.

  1. First factor, same sign: (x - 2).
  2. Second factor from the pattern: (x² + 2x + 4).
  3. So x³ - 8 = (x - 2)(x² + 2x + 4).

Where people get stuck: trying to factor a sum of squares like x² + 9. Over ordinary numbers, it simply does not factor. Only a difference of squares splits apart.

Factoring by grouping (for four terms)

When a polynomial has four terms and no obvious common factor, split it into two pairs and factor each pair separately. If the two pairs leave the same bracket behind, you can pull that bracket out.

Worked example. Factor x³ + 3x² - 4x - 12.

  1. Split into pairs. (x³ + 3x²) + (-4x - 12).
  2. Factor each pair. The first gives x²(x + 3). The second gives -4(x + 3). Notice we pulled out negative 4 so the bracket would match.
  3. Both pairs left the same bracket. That is the signal grouping worked: x²(x + 3) - 4(x + 3).
  4. Pull out the shared bracket. (x + 3)(x² - 4).
  5. Keep going. x² - 4 is a difference of squares: (x + 3)(x - 2)(x + 2).

Check by expanding one step back. (x + 3)(x² - 4) = x³ - 4x + 3x² - 12, which reorders to the original. Correct.

Step 5 is the one people forget. Grouping got you a factored form, but not necessarily a fully factored one. Always look at each new bracket and ask whether it factors again.

Sum and difference of cubes

You already know the difference of squares. Cubes have their own two patterns, and they are worth recognizing because they look unfactorable until you know them.

  • a³ + b³ = (a + b)(a² - ab + b²)
  • a³ - b³ = (a - b)(a² + ab + b²)

The signs follow a small rhyme: same, opposite, always positive. The first sign matches the original, the middle sign is the opposite, and the last term is always added.

Worked example. Factor x³ + 8. Recognize 8 = 2³, so a = x and b = 2: (x + 2)(x² - 2x + 4).

Check by multiplying out: x³ - 2x² + 4x + 2x² - 4x + 8. The x² terms cancel, the x terms cancel, and you are left with x³ + 8. Exactly right.

Worked example. Factor 27x³ - 1. Here 27x³ = (3x)³ and 1 = 1³, so a = 3x and b = 1: (3x - 1)(9x² + 3x + 1).

Where people get stuck: trying to factor the second bracket further. Those quadratics such as x² - 2x + 4 almost never factor over the real numbers - its discriminant is 4 - 16 = -12, which is negative. Once you have applied the cube pattern, you are usually done.

A checklist for any polynomial

  1. GCF first. Always pull out the greatest common factor.
  2. Count the terms. Two terms: try difference of squares or a cube formula. Three terms: try the two-number method or the ac method. Four terms: try grouping.
  3. Factor again. Look at each piece you produced and factor it further if you can.
  4. Check by multiplying everything back together.

For example, 2x³ - 8x first gives 2x(x² - 4), and then the leftover is a difference of squares, so the full answer is 2x(x - 2)(x + 2). Skipping the GCF would have made that much harder.

A real reason this matters

Factoring is the engine behind solving equations. Remember the zero-product property: if a product is zero, a piece is zero. Solve x³ - 4x = 0 by factoring completely to x(x - 2)(x + 2) = 0, so the solutions are x = 0, x = 2, and x = -2. A cubic can have three answers, and factoring finds them all at once. Factoring also cleans up the fractions in the next module, and even the security of online encryption rests on how hard factoring can be. This is powerful mathematics, not busywork.

Try it: Factor x³ + 27. Take your time, then read on.

Worked answer: Notice 27 = 3³, so this is a sum of cubes with a = x and b = 3. Using SOAP, the first sign is the same (plus), the middle is opposite (minus), the last is always positive: x³ + 27 = (x + 3)(x² - 3x + 9). Well done.

Common misconceptions

  • Skipping the GCF. Factoring it out first is required for a complete answer and makes every later step smaller.
  • Stopping too early. Inspect each factor; a difference of squares often hides inside, as in x⁴ - 16.
  • Trying to factor a sum of squares. Over ordinary numbers, x² + 9 does not factor.
  • Scrambling the cube signs. Use SOAP: Same, Opposite, Always Positive.
  • Getting trinomial signs backward. The two numbers multiply to c and add to b; matching signs when c is positive, opposite signs when c is negative.

Recap

Factoring is un-multiplying: rewriting a polynomial as a product. Always pull out the GCF first, then let the number of terms guide your tool. Two terms suggest a difference of squares or a cube formula; three terms suggest the two-number or ac method; four terms suggest grouping. Watch for perfect squares, remember SOAP for the cube signs, and know that a sum of squares does not factor over ordinary numbers. Always factor completely and check by multiplying back. This is what powers equation solving and the simplifying to come. You gathered a real toolkit today.

Sources

  1. OpenStax. (2021). 1.5 Factoring polynomials. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 1.5 Factoring polynomials. In College Algebra 2e. openstax.org
  3. OpenStax. (2021). 1.4 Polynomials. In Algebra and Trigonometry 2e. openstax.org
  4. Dawkins, P. (n.d.). Factoring polynomials. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  5. Dawkins, P. (n.d.). Solving quadratic equations, part I. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Khan Academy. (n.d.). Algebra 2. khanacademy.org
  7. Math is Fun. (n.d.). Factoring. mathsisfun.com
Key terms
greatest common factor
The largest monomial dividing every term of a polynomial.
ac method
Factoring ax^2 + bx + c by finding numbers that multiply to ac and add to b.
factoring by grouping
Grouping terms in pairs to reveal a common binomial factor.
sum of cubes
a^3 + b^3 = (a + b)(a^2 - ab + b^2).
difference of cubes
a^3 - b^3 = (a - b)(a^2 + ab + b^2).

Polynomial Division and Zeros

  • Divide polynomials using synthetic division.
  • Apply the remainder and factor theorems.
  • Find the real zeros of a polynomial.

One arithmetic check that cracks a cubic

Take x³ - 4x² + x + 6 and try x = 3 in it: 27 - 36 + 3 + 6 = 0. That single line of arithmetic has just told you something large. Because the polynomial equals zero at x = 3, the bracket (x - 3) divides it exactly, with nothing left over. Divide it out and what remains is x² - x - 2, which factors on sight into (x - 2)(x + 1). So the whole cubic is (x - 3)(x - 2)(x + 1) and it crosses the x-axis at 3, at 2, and at -1. Dividing, factoring, and finding zeros are not three topics. They are one fact seen from three sides.

The point: A zero of a polynomial is an x that makes it equal 0, and dividing, factoring, and finding zeros are three views of one idea.

What a zero is

A zero (also called a root) of a polynomial f is any value of x that makes f(x) = 0. On the graph, the real zeros are exactly the x-intercepts, the spots where the curve crosses or touches the horizontal axis. Finding zeros is the whole game, because they tell you where the polynomial equals zero, which is what most real questions ask.

Synthetic division: a tidy shortcut

Synthetic division is a fast way to divide a polynomial by a simple factor of the form x - c, using only the coefficients. The rhythm is always the same four beats: bring down, multiply, add, repeat. Let us divide x³ - 2x² - 5x + 6 by x - 3, so c is 3.

  1. Write just the coefficients in a row: 1, -2, -5, 6.
  2. Bring the first coefficient, 1, straight down.
  3. Multiply that 1 by c = 3 to get 3, and add it to the next coefficient: -2 + 3 = 1.
  4. Multiply that 1 by 3 to get 3, and add to the next: -5 + 3 = -2.
  5. Multiply that -2 by 3 to get -6, and add to the last: 6 + (-6) = 0.

The numbers you built along the bottom are 1, 1, -2, and 0. The last one, 0, is the remainder. The others are the coefficients of the answer (the quotient), one degree lower: x² + x - 2. Because the remainder is 0, x - 3 divides in evenly, which means it is a factor.

Where people get stuck: the sign of c. To divide by x - 3 you use c = 3, but to divide by x + 3 you use c = -3, because x + 3 is the same as x - (-3). Read that once more, since the sign flip trips almost everyone.

Two theorems that save time

Here is a lovely shortcut. The remainder theorem says that if you divide f(x) by x - c, the remainder is simply f(c), the value you get by plugging c into the polynomial. So you can find a remainder without dividing at all, just by evaluating.

The factor theorem is the payoff: x - c is a factor of f exactly when f(c) = 0. In other words, a zero and a factor are two names for the same thing. Plug in a number; if you get zero, you found a factor.

Finding all the zeros of a cubic

Once one factor is out, the rest follows. From the division above, f(x) = x³ - 2x² - 5x + 6 equals (x - 3)(x² + x - 2). Factor the leftover quadratic: x² + x - 2 = (x + 2)(x - 1). So f(x) = (x - 3)(x + 2)(x - 1), and the zeros are 3, negative 2, and 1. A cubic can have three zeros, and this method finds them all.

Where to even start: the rational root idea

How do you find the first factor to test? The rational root theorem narrows the search: any nice fraction that could be a zero is a factor of the constant term divided by a factor of the leading coefficient. It gives you a short list of candidates to try, instead of guessing blindly. Let us find every zero of f(x) = x³ - 6x² + 11x - 6.

  1. List candidates. The constant is negative 6 and the leading coefficient is 1, so the candidates are plus or minus 1, 2, 3, and 6.
  2. Test one. Try x = 1: f(1) = 1 - 6 + 11 - 6 = 0. It works, so x - 1 is a factor.
  3. Divide it out with synthetic division (c = 1) on 1, -6, 11, -6. The bottom row comes out 1, -5, 6, 0, so the quotient is x² - 5x + 6.
  4. Factor the quotient: x² - 5x + 6 = (x - 2)(x - 3).

So f(x) = (x - 1)(x - 2)(x - 3) and the zeros are 1, 2, and 3. Each is an x-intercept on the graph. Nice work, that was a full solve.

Where people get stuck: a skipped power. If a polynomial is missing a term, you must put a 0 in its place in the coefficient row. To divide x³ - 5x + 2, there is no x-squared term, so the row is 1, 0, -5, 2, not 1, -5, 2.

Long division, when the divisor is bigger than x - c

Synthetic division is a shortcut with one condition: the divisor must look like x - c. For anything else - x² + 1, 2x - 3, and so on - you use polynomial long division, which follows exactly the same rhythm as long division with numbers.

Worked example. Divide x³ + 2x² - 5 by x² + 1. First insert placeholders for the missing terms: x³ + 2x² + 0x - 5.

  1. Divide the leading terms. x³ ÷ x² = x. That is the first term of the answer.
  2. Multiply and subtract. x(x² + 1) = x³ + x. Subtracting leaves 2x² - x - 5.
  3. Repeat. 2x² ÷ x² = 2. Then 2(x² + 1) = 2x² + 2, and subtracting leaves -x - 7.
  4. Stop. The leftover -x - 7 has degree 1, lower than the divisor's degree 2, so it is the remainder.

Answer: quotient x + 2, remainder -x - 7.

Check by multiplying back. (x² + 1)(x + 2) + (-x - 7) = x³ + 2x² + x + 2 - x - 7 = x³ + 2x² - 5. That is exactly what we started with, so the division is right. This check works every time and costs one line.

Where people get stuck: the subtraction. You are subtracting a whole expression, so every sign inside it flips. In step 2 we subtracted x³ + x, which turned the +0x into -x. Writing the subtraction as "add the opposite" - change every sign, then add - eliminates most errors here.

Using the remainder theorem in reverse

The remainder theorem also lets you solve for an unknown coefficient.

Question: For what value of k does x - 2 divide evenly into f(x) = x³ + kx² - 4x + 6?

  1. "Divides evenly" means the remainder is 0, and the remainder theorem says that remainder is f(2).
  2. Compute f(2) = 8 + 4k - 8 + 6 = 4k + 6.
  3. Set it to zero: 4k + 6 = 0, so k = -1.5.

Check. With k = -1.5, f(2) = 8 + 4(-1.5) - 8 + 6 = 8 - 6 - 8 + 6 = 0. Confirmed, so x - 2 is a factor.

What made this quick was never dividing at all. One substitution replaced a whole page of synthetic division, which is the entire point of the remainder theorem.

How the graph meets a zero

A factor can repeat, and how many times it repeats, called its multiplicity, tells you how the graph behaves there. A zero that appears an odd number of times makes the graph cross the axis. A zero that appears an even number of times makes the graph touch the axis and turn back, like a gentle bounce. For f(x) = (x + 1)(x - 2)², the graph crosses at x = negative 1 and just bounces off at x = 2.

A real reason this matters

Finding where a polynomial equals zero is one of the most common jobs in science and engineering. Designers solve cubic volume equations to size tanks and boxes. Economists find the break-even production level where a profit function crosses zero. Video games and flight simulators detect collisions by finding roots of polynomials that describe moving objects. The remainder theorem even gives software a fast way to evaluate polynomials, and synthetic division is the hand version of methods computers still use.

Try it: Use the remainder theorem to find the remainder when f(x) = x³ - 4x + 1 is divided by x - 2. Take your time, then read on.

Worked answer: The remainder is just f(2). Compute: 2³ - 4(2) + 1 = 8 - 8 + 1 = 1. The remainder is 1. Since it is not zero, x - 2 is not a factor. Quick and clean.

Common misconceptions

  • Using the wrong sign for c. Dividing by x + 3 means c = negative 3, because x + 3 = x - (-3).
  • Forgetting placeholder zeros for missing powers when setting up synthetic division.
  • Thinking every candidate is a zero. The rational root theorem only lists possibilities; each one must be tested.
  • Mixing up remainder and quotient. The last number in the bottom row is the remainder; the earlier numbers are the quotient's coefficients.
  • Expecting a cross at every zero. At a zero of even multiplicity the graph touches and turns instead of crossing.

Where this leaves us

Synthetic division divides a polynomial by x - c using only its coefficients, with bring-down, multiply, add, repeat, and the last number is the remainder. The remainder theorem says that remainder equals f(c), and the factor theorem turns a zero remainder into a factor. To find every zero of a cubic, use the rational root theorem to list candidates, test until one gives zero, divide it out, then factor the remaining quadratic. Multiplicity tells whether the graph crosses or touches at each intercept. These tools turn a formula into a solved equation and an accurate sketch. You connected three big ideas today.

Sources

  1. OpenStax. (2021). 5.4 Dividing polynomials. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 5.5 Zeros of polynomial functions. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2021). 5.3 Graphs of polynomial functions. In Algebra and Trigonometry 2e. openstax.org
  4. Dawkins, P. (n.d.). Dividing polynomials. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  5. Dawkins, P. (n.d.). Finding zeroes of polynomials. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Khan Academy. (n.d.). Polynomial arithmetic. In Algebra 2. khanacademy.org
  7. Math is Fun. (n.d.). Polynomial long division. mathsisfun.com
Key terms
zero
A value of x for which f(x) = 0; an x-intercept of the graph.
synthetic division
A shortcut for dividing a polynomial by a linear factor x - c.
remainder theorem
Dividing f(x) by x - c leaves the remainder f(c).
factor theorem
x - c is a factor of f(x) exactly when f(c) = 0.
rational root theorem
A rational zero is a factor of the constant over a factor of the leading coefficient.

Module 5: Rational Expressions, Radicals, and Rational Exponents

Simplifying and operating on algebraic fractions, working with radicals, and connecting radicals to rational exponents.

Rational Expressions

  • Simplify rational expressions by factoring.
  • Multiply and divide rational expressions.
  • Add and subtract rational expressions with a common denominator.

The point where the graph has a hole

The expression (x² - 1)/(x + 1) looks like it should simplify to x - 1, and almost everywhere it does, because the top factors into (x - 1)(x + 1) and the matching brackets cancel. Now put x = -1 into the original. The top is 0 and the bottom is 0, and 0/0 is not a number. The simplified version happily reports -2 there; the original refuses to answer at all. So the graph is the line y = x - 1 with a single point punched out of it at (-1, -2). Canceling is allowed. Forgetting what you canceled is what gets people, and it is the one habit this lesson most wants to build.

What matters here: A rational expression is a fraction of polynomials, and it follows the same rules as ordinary fractions.

One rule to watch: no dividing by zero

A fraction is undefined when its bottom is zero, because dividing by zero has no meaning. So for each rational expression we quietly note the excluded values, the x-values that would make the denominator zero. For (x² - 1)/(x + 1), the bottom is zero when x is negative 1, so we exclude x = negative 1. This is just good housekeeping.

Simplifying: factor, then cancel whole factors

To simplify a number fraction like 6/9, you factor and cancel the shared 3, leaving 2/3. Rational expressions work the same way: factor the top and bottom completely, then cancel any factor they share.

Simplify (x² - 9)/(x - 3).

  1. Factor the top. x² - 9 is a difference of squares: (x - 3)(x + 3).
  2. Now the fraction is (x - 3)(x + 3) / (x - 3).
  3. The top and bottom share a whole factor of (x - 3). Cancel it.
  4. What remains is x + 3.

Where people get stuck: canceling pieces of a sum instead of whole factors. In (x + 2)/x, you cannot cancel the x, because the top's x is glued into a sum with the 2. Only complete multiplied factors cancel. Read that once more, since it is the number-one mistake in this whole topic.

State the restrictions, every single time

Here is something subtle enough that it is worth its own section. When we simplified (x² - 9)/(x - 3) down to x + 3, we did not get an equal expression - not quite.

  • The original is undefined at x = 3, because the denominator would be zero.
  • The simplified x + 3 is perfectly happy at x = 3, where it equals 6.

So the two agree everywhere except at one point, where one exists and the other does not. The honest way to write the answer is:

(x² - 9)/(x - 3) = x + 3,  for x ≠ 3

The restriction comes from the original denominator, before any cancelling. Cancel first and the evidence disappears, which is exactly why you must read off the restrictions before you simplify, not after.

Worked example: find every restriction first. Simplify (x² + 5x + 6)/(x² - 4).

  1. Restrictions first. Factor the denominator: x² - 4 = (x - 2)(x + 2). It is zero at x = 2 and x = -2, so both are excluded.
  2. Now factor the top. x² + 5x + 6 = (x + 2)(x + 3).
  3. Cancel the shared factor. (x + 2) goes, leaving (x + 3)/(x - 2).
  4. Report both. The answer is (x + 3)/(x - 2), for x ≠ 2 and x ≠ -2.

Notice the two restrictions behave differently on a graph. At x = 2 the surviving denominator still blows up, so there is a vertical asymptote. At x = -2 the factor cancelled, so the simplified expression is perfectly finite - there is just a single missing point, a hole, at x = -2. Its height is (-2 + 3)/(-2 - 2) = 1/(-4) = -0.25, so the hole sits at (-2, -0.25).

Multiplying and dividing

To multiply, factor everything, cancel any shared factors across the fractions, then multiply straight across. Multiply (x + 2)/(x - 3) × (x² - 9)/(x + 2).

  1. Factor x² - 9 = (x - 3)(x + 3).
  2. Now you have (x + 2)/(x - 3) × (x - 3)(x + 3)/(x + 2).
  3. Cancel the shared (x + 2), and cancel the shared (x - 3).
  4. What is left is just x + 3.

To divide, use the same rule as with number fractions: keep the first, flip the second, then multiply. For (x/6) ÷ (x²/3), flip the second to get (x/6)(3/x²) = 3x/(6x²), which simplifies to 1/(2x).

Adding and subtracting: get a common denominator

Just like with numbers, you can only add fractions that share a denominator. If they already match, add the tops and keep the bottom: 3/(x + 1) + 2/(x + 1) = 5/(x + 1).

When the bottoms differ, build each fraction up to the least common denominator first. Add 3/(x + 2) + 4/(x - 1).

  1. The bottoms share no factor, so the common denominator is their product (x + 2)(x - 1).
  2. Rescale each fraction to that bottom: 3(x - 1) over the LCD, plus 4(x + 2) over the LCD.
  3. Expand the tops: 3(x - 1) = 3x - 3 and 4(x + 2) = 4x + 8.
  4. Add the tops: (3x - 3) + (4x + 8) = 7x + 5.
  5. The sum is (7x + 5)/((x + 2)(x - 1)).

Where people get stuck: when subtracting, forgetting that the minus sign covers the whole top of the second fraction. Wrap that numerator in parentheses and distribute the minus to every term inside.

Fractions inside fractions

A complex fraction has little fractions stacked inside a big one, like (1 + 1/x)/(1 - 1/x). The cleanest fix is to multiply the top and bottom of the big fraction by the LCD of all the little ones, here just x. The top x(1 + 1/x) becomes x + 1, and the bottom becomes x - 1, so the whole thing is (x + 1)/(x - 1). One multiplication melts away every inner fraction.

Solving rational equations

When an equation has these fractions, multiply every term by the LCD to clear them, solve normally, then double-check that no answer makes a denominator zero. Solve 3/x + 1/2 = 5/(2x).

  1. The LCD is 2x. Multiply every term by it.
  2. 2x × 3/x = 6, 2x × 1/2 = x, and 2x × 5/(2x) = 5.
  3. The equation becomes 6 + x = 5.
  4. Solve: x = -1.
  5. Check that x = negative 1 does not make any bottom zero. It does not, so it is valid.

Always run that final check. An answer that zeroes a denominator has to be thrown out.

Worked example: when the only answer is extraneous. Solve x/(x - 2) = 2/(x - 2) + 3.

  1. Note the restriction first. The denominator x - 2 is zero at x = 2, so x ≠ 2 from the start.
  2. Clear the fractions. Multiply every term by (x - 2): x = 2 + 3(x - 2).
  3. Expand and solve. x = 2 + 3x - 6 = 3x - 4, so -2x = -4 and x = 2.
  4. Check against the restriction. The only candidate is exactly the value we excluded in step 1. It is extraneous.

Conclusion: the equation has no solution. That is a complete, correct answer - not a sign you made a mistake.

Why does this happen? Multiplying both sides by (x - 2) is a legal move only when x - 2 is not zero. At x = 2 you multiplied both sides by zero, which turns any false statement into the true statement 0 = 0. The cleared equation therefore "knows" about a solution the original never had. That is precisely why the restriction check is mandatory rather than good manners.

Where people get stuck: writing "x = 2" as the answer because the algebra produced it. The algebra produced a candidate; only the check turns a candidate into a solution. Get the restrictions down on paper before you clear denominators, and this trap closes.

A real reason this matters

Rational expressions model "per" quantities and shared work. If one painter finishes a room in 6 hours and another in 3 hours, together they paint 1/6 + 1/3 = 1/2 of the room each hour, so the job takes 2 hours. The same arithmetic gives electrical resistance: two parallel resistors of 6 ohms and 3 ohms satisfy 1/R = 1/6 + 1/3 = 1/2, so R is 2 ohms. Average cost, lens equations, and chemical concentrations all take this fraction-of-polynomials form.

Try it: Simplify (x² - 4)/(x - 2). Take your time, then read on.

Worked answer: Factor the top as a difference of squares: x² - 4 = (x - 2)(x + 2). The fraction becomes (x - 2)(x + 2)/(x - 2). Cancel the shared (x - 2) to get x + 2, remembering that x = 2 is still excluded from the original. Nicely done.

Common misconceptions

  • Canceling terms instead of factors. In (x + 2)/x the x is part of a sum and cannot be canceled. Only whole multiplied factors cancel.
  • Adding denominators. a/b + c/d is not (a + c)/(b + d). Fractions must share a bottom before the tops add.
  • Dropping excluded values after simplifying. Even though (x² - 1)/(x + 1) simplifies to x - 1, the value x = negative 1 stays excluded.
  • Flipping the wrong fraction when dividing. Keep the first, flip the second, then multiply.
  • Forgetting to distribute a subtraction across the whole top of the second fraction.

What to carry forward

A rational expression is a ratio of polynomials, undefined at its excluded values. Simplify by factoring completely and canceling shared factors, never loose terms. Multiply by canceling then going straight across; divide by flipping the second fraction and multiplying. To add or subtract, build each fraction up to the least common denominator, combine the tops carefully, and simplify. Clear complex fractions by multiplying top and bottom by the inner LCD, and solve rational equations by clearing denominators and rejecting any answer that zeroes a bottom. These skills power work-rate, resistance, and average-cost problems. You handled algebraic fractions today.

Sources

  1. OpenStax. (2021). 1.6 Rational expressions. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 1.6 Rational expressions. In College Algebra 2e. openstax.org
  3. OpenStax. (2021). 5.6 Rational functions. In Algebra and Trigonometry 2e. openstax.org
  4. OpenStax. (2021). 2.6 Other types of equations. In Algebra and Trigonometry 2e. openstax.org
  5. Dawkins, P. (n.d.). Rational expressions. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Khan Academy. (n.d.). Algebra 2. khanacademy.org
  7. Math is Fun. (n.d.). Rational expressions. mathsisfun.com
Key terms
rational expression
A fraction whose numerator and denominator are polynomials.
excluded value
An x-value that makes the denominator zero, where the expression is undefined.
reciprocal
The flipped fraction; dividing means multiplying by the reciprocal.
least common denominator
The smallest expression all denominators divide into.
simplify
To cancel common factors after factoring numerator and denominator.

Radicals and Rational Exponents

  • Simplify radical expressions.
  • Add, subtract, multiply, and rationalize radicals.
  • Convert between radical and rational-exponent notation.

The diagonal of a one-meter square

Cut a square tile one meter on each side, corner to corner. How long is that cut? The Pythagorean theorem answers immediately: 1² + 1² = 2, so the diagonal is √2 meters, about 1.41421 meters, and no fraction of whole numbers will ever name it exactly. That is the first thing to know about roots: they are ordinary lengths you can cut with a saw, even when they refuse to be written as tidy decimals. The second thing is that they tidy up in their own way. √50 looks worse than √2 but is really 5√2, because 50 is 25 times 2 and the 25 comes out as a 5.

The upshot: A square root asks what squares to a number, and a fractional exponent is just another way to write a root.

Simplifying a square root

To simplify a square root, pull out the biggest perfect square hiding inside. A perfect square is a number like 4, 9, 16, 25, 36 that is something squared. Simplify √72.

  1. Look for the largest perfect square that divides 72. That is 36, since 72 = 36 × 2.
  2. Split the root: √72 = √36 × √2.
  3. Take the root of the perfect square: √36 = 6.
  4. Leave the rest inside: 6√2.

So √72 = 6√2. Read that as six root two. The leftover 2 has no perfect-square factors, so we stop.

Adding and subtracting: only like roots combine

You can add radicals only when the part under the root is identical. These are called like radicals, and they behave like matching objects. 3√2 + 5√2 = 8√2, the same way 3 apples plus 5 apples is 8 apples. But √2 + √3 cannot be combined, because root two and root three are different things.

Multiplying roots

To multiply square roots, just multiply what is inside: √a × √b = √(ab). For example, √3 × √6 = √18, and then simplify: 18 = 9 × 2, so √18 = 3√2.

Clearing a root out of the bottom

By tradition we do not leave a root in a denominator. To rationalize, multiply the top and bottom by whatever clears it. Simplify 3 ÷ √5.

  1. Multiply top and bottom by √5.
  2. The bottom becomes √5 × √5 = 5, a plain number.
  3. The top becomes 3√5.
  4. Result: 3√5 ÷ 5, usually written (3√5)/5.

When the bottom has two terms, like 3 + √5, multiply by its conjugate, 3 - √5, the same partner trick from complex numbers. For 4/(3 + √5), the bottom becomes (3 + √5)(3 - √5) = 9 - 5 = 4, and the whole thing simplifies to 3 - √5.

Clearing a two-term denominator with the conjugate

Rationalizing a single root is easy - multiply top and bottom by that root. When the bottom has two terms, one of them a root, multiplying by the root alone does not clear it. Use the conjugate instead: the same two terms with the middle sign flipped. Multiplying a pair of conjugates is a difference of squares, and squaring kills the root.

Worked example. Rationalize 3/(2 + √5).

  1. Write the conjugate of 2 + √5: it is 2 - √5.
  2. Multiply top and bottom by it. That is multiplying by 1, so the value is unchanged: [3(2 - √5)] / [(2 + √5)(2 - √5)].
  3. The bottom is a difference of squares. 2² - (√5)² = 4 - 5 = -1. The root is gone.
  4. Simplify. (6 - 3√5)/(-1) = 3√5 - 6.

Check numerically. The original is 3/(2 + 2.2361) = 3/4.2361 = 0.7082. The answer is 3(2.2361) - 6 = 6.7082 - 6 = 0.7082. Identical, so the manipulation was legitimate.

Note that a "rationalized" answer is not simpler in any everyday sense - 3√5 - 6 is hardly friendlier than 3/(2 + √5). The convention exists because it produces a single standard form, so two students who did the work differently can compare answers.

Solving radical equations, and the check you cannot skip

To solve an equation with a root, isolate the root and square both sides. But squaring is not a reversible move: it can invent solutions that were never there, because 2 and -2 both square to 4.

Worked example. Solve √(x + 5) = x - 1.

  1. Square both sides. x + 5 = (x - 1)² = x² - 2x + 1.
  2. Gather everything on one side. 0 = x² - 3x - 4.
  3. Factor. (x - 4)(x + 1) = 0, so x = 4 or x = -1.
  4. Check x = 4 in the original. Left: √9 = 3. Right: 4 - 1 = 3. They match, so it is a real solution.
  5. Check x = -1. Left: √4 = 2. Right: -1 - 1 = -2. But 2 ≠ -2, so this one fails.

The only solution is x = 4. The value -1 is extraneous: it solved the squared equation but not the original.

Why it appeared. The square root symbol always returns the non-negative root, so the left side of the original can never be negative. That means the right side x - 1 cannot be negative either, which already rules out x = -1 before any arithmetic. Squaring erased that restriction, and the check put it back. Whenever you square both sides of anything, checking is not optional.

The other language: rational exponents

Here is the beautiful bridge. A fraction in the exponent means a root. The rule is: x to the power 1/n is the n-th root of x, and x to the power m/n is the n-th root of x to the m. A simple way to remember it: the bottom of the fraction is the root, and the top is the power.

Evaluate 8 to the power 2/3.

  1. The bottom is 3, so take the cube root of 8. The cube root of 8 is 2, because 2 × 2 × 2 = 8.
  2. The top is 2, so square that result: 2² = 4.
  3. So 8 to the power 2/3 is 4.

Switching languages also lets you rewrite roots: √(x³) is the same as x to the power 3/2, because the square root is the 1/2 power and the cube is the 3rd power. Once radicals are written as exponents, all the ordinary exponent rules apply.

Negative and higher roots, briefly

A negative exponent means "flip it," a reciprocal, not a negative number. So 25 to the power -1/2 is 1 ÷ √25 = 1/5, a positive number. And the little number tucked into a root, called the index, says which root to take. The cube root of 54 simplifies by pulling out the perfect cube 27: 54 = 27 × 2, so the cube root of 54 is 3 times the cube root of 2. Odd roots even accept negatives, since the cube root of negative 27 is negative 3.

Where people get stuck: trying to split a root across a sum. √(9 + 16) is not 3 + 4. You must add first: √25 = 5. Roots break apart over multiplication and division, never over addition. Read that once more, because it is the most common radical error.

A real reason this matters

Radical formulas appear wherever a quantity grows with squares or cubes. Crash investigators estimate a car's speed from the length of its skid marks with s = √(30fd), where d is the skid length and f is the road's friction. For f = 0.8 and d = 60, the speed is √(30 × 0.8 × 60) = √1440, which is about 37.9 miles per hour. The swing time of a pendulum depends on the square root of its length, which is why tall clocks tick slowly. Rational exponents even run Kepler's law of planetary orbits. Real science, powered by roots.

Try it: Simplify √50, and evaluate 27 to the power 1/3. Take your time, then read on.

Worked answer: For √50, the biggest perfect square inside is 25, since 50 = 25 × 2. So √50 = √25 × √2 = 5√2. For 27 to the power 1/3, the bottom 3 says take the cube root of 27, which is 3. Nicely done.

Common misconceptions

  • Splitting a root over addition. √(9 + 16) = 5, not 7. Roots distribute over products and quotients only.
  • Combining unlike radicals. √2 + √3 cannot be joined; only like radicals add.
  • Reading x to the 1/2 as half of x. The exponent 1/2 means square root, a completely different operation.
  • Treating a negative exponent as a negative number. A negative exponent means reciprocal; 25 to the power negative 1/2 is the positive number 1/5.
  • Dropping the middle term when squaring a radical binomial. (1 + √2)² is 3 + 2√2, not 3.

The short version

Simplify a square root by pulling out the largest perfect square, combine only like radicals, and multiply roots by multiplying what is inside. Clear a root from a denominator by multiplying by that root, or by the conjugate when the denominator has two terms. Rational exponents translate roots into exponent language, with the denominator as the root and the numerator as the power, so every exponent rule applies, and a negative exponent means reciprocal. Roots never split over addition. From skid marks to pendulums to planets, these formulas describe the real world. You learned two languages for one idea today.

Sources

  1. OpenStax. (2021). 1.3 Radicals and rational exponents. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 2.6 Other types of equations. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2019). 8.6 Solve radical equations. In Intermediate Algebra 2e. openstax.org
  4. Dawkins, P. (n.d.). Radicals. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  5. Dawkins, P. (n.d.). Equations with radicals. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Math is Fun. (n.d.). Nth root. mathsisfun.com
  7. Math is Fun. (n.d.). Fractional exponents. mathsisfun.com
Key terms
radical
An expression using a root symbol, such as the square root of n.
radicand
The quantity underneath a radical sign.
like radicals
Radicals with the same index and radicand that can be combined.
rationalize
To rewrite a fraction so no radical remains in the denominator.
rational exponent
An exponent m/n meaning the n-th root of the m-th power.

Module 6: Exponential and Logarithmic Functions

What it means to run a function backward, then growth and decay with exponential functions, the meaning of logarithms, their properties, and solving equations that involve them.

Inverse Functions

  • Explain what an inverse function is and verify inverses using composition.
  • Use the horizontal line test to decide whether a function has an inverse.
  • Find the inverse of a function algebraically and relate its graph to reflection over y = x.

Celsius to Fahrenheit, and back again

The formula F = 9C/5 + 32 turns 20 degrees Celsius into 68 degrees Fahrenheit: nine fifths of 20 is 36, and 36 plus 32 is 68. Now run the machine backward. Undo the plus 32 first, then undo the times nine fifths, and you get C = 5(F - 32)/9, which turns 68 straight back into 20. Those two formulas are an inverse pair. Notice the order of the undoing: last operation undone first, the same way you take off shoes before socks. Learn this now and logarithms, three lessons from here, will feel inevitable rather than mysterious, because a logarithm is nothing but the inverse of an exponential.

Worth holding on to: If f sends a to b, its inverse sends b back to a. Each machine undoes the other.

The notation, and one warning before anything else

The inverse of f is written f-1, read aloud as f inverse. Here is the warning: that little -1 is not an exponent. f-1(x) does not mean 1/f(x). It is only a label for the backward machine, the same way a rewind symbol is not a fraction. For f(x) = 2x + 3, the reciprocal is 1/(2x + 3), while the inverse turns out to be (x - 3)/2, a completely different thing. Keep those separate and half the errors in this topic never happen.

Undo one by thinking it through

Take f(x) = 2x + 3. As a recipe, the machine does two things to an input, in order: multiply by 2, then add 3. To undo a recipe, reverse the steps and the order, exactly like the socks and shoes:

  1. The last thing f did was add 3, so the inverse undoes that first: subtract 3.
  2. Before that, f multiplied by 2, so the inverse then divides by 2.

So f-1(x) = (x - 3)/2. Test it with a number. f(5) = 2(5) + 3 = 13, and running 13 backward, f-1(13) = (13 - 3)/2 = 5. We fed in 5, got 13, and the inverse handed 5 right back.

The algebraic recipe: swap and solve

Thinking backward works for simple machines, but there is a recipe that always works.

  1. Write the function as y = f(x).
  2. Swap x and y. This is the undo move: it trades the roles of input and output.
  3. Solve the new equation for y.
  4. Rename that y as f-1(x).

On f(x) = 2x + 3: write y = 2x + 3, swap to get x = 2y + 3, subtract 3 to get x - 3 = 2y, divide by 2 to get y = (x - 3)/2. The recipe lands exactly where our backward thinking did.

Worked example. Find the inverse of f(x) = x³ - 2.

  1. Write y = x³ - 2.
  2. Swap: x = y³ - 2.
  3. Solve: add 2 to get y³ = x + 2, then take the cube root: y is the cube root of x + 2.
  4. Check with a number: f(2) = 8 - 2 = 6, and the inverse of 6 is the cube root of 6 + 2 = 8, which is 2. It returns.

Which functions can be undone?

Here is the catch, and it is the deepest idea on this page. Try to undo f(x) = x². Since f(3) = 9 and f(-3) = 9, the backward machine gets handed a 9 and faces an impossible choice: send it to 3, or to -3? A machine that cannot decide is not a function. The problem is that x² repeats an output.

A function has an inverse function exactly when it never repeats an output, so each output comes from exactly one input. Such a function is called one-to-one. And there is a picture test for it. You already know the vertical line test from Module 1, which checks whether a graph is a function at all. Its twin, the horizontal line test, checks whether a function is one-to-one: if no horizontal line crosses the graph more than once, no output is ever repeated, and the inverse exists.

  • f(x) = 2x + 3: every horizontal line crosses the rising line once. Passes. Inverse exists.
  • f(x) = x³: always climbing, never repeats. Passes.
  • f(x) = x²: the line y = 9 crosses the parabola twice, at 3 and -3. Fails. No inverse, as it stands.

The fix for a failed test is to restrict the domain: keep only x ≥ 0, and the right half of the parabola never repeats an output. That half has an inverse, and you have known it for a module already: the square root. √9 = 3 is precisely "undo the squaring, on the non-negative half." That is why your calculator's root button returns 3 and not -3.

The certification test: composition

Suppose someone hands you a claimed inverse. How do you certify it? Feed one machine into the other, in both orders, and demand that everything cancels. In symbols, g is the inverse of f exactly when

f(g(x)) = x and g(f(x)) = x for every allowed input.

Run the check on f(x) = 2x + 3 and g(x) = (x - 3)/2:

  1. f(g(x)) = 2 · (x - 3)/2 + 3 = (x - 3) + 3 = x. First direction passes.
  2. g(f(x)) = ((2x + 3) - 3)/2 = 2x/2 = x. Second direction passes. Certified.

Now watch a plausible fake fail. Try g(x) = x/2 - 3, which undoes the right operations but in the wrong order: f(g(x)) = 2(x/2 - 3) + 3 = x - 6 + 3 = x - 3. Not x, so not the inverse. Reversing the operations without reversing the order is the shoes-before-socks mistake, and composition catches it instantly.

The mirror: reflection over y = x

The inverse also has a beautiful picture. If f sends a to b, then the point (a, b) sits on the graph of f, and the inverse sends b back to a, so (b, a) sits on the graph of f-1. Every point swaps its coordinates, and swapping coordinates reflects a point across the 45-degree line y = x. So the graph of an inverse is the original graph flipped over the line y = x, like an image in a tilted mirror.

Watch it with f(x) = 2x + 3: the points (0, 3), (1, 5), and (5, 13) are on f, so (3, 0), (5, 1), and (13, 5) are on the inverse, and indeed each satisfies y = (x - 3)/2. One more consequence falls out for free: since inputs and outputs trade jobs, the domain of f becomes the range of f-1, and the range becomes the domain.

Where people get stuck: reflecting over the wrong line. The mirror is not the x-axis or the y-axis; it is the diagonal y = x, because that is the line where inputs and outputs trade places. Read that once more, and picture the point (2, 7) hopping to (7, 2).

Why this lesson sits right before logarithms

The next lesson introduces the exponential function f(x) = bx. Its graph is always climbing (or always falling), so it passes the horizontal line test, and an inverse must exist. But try the swap-and-solve recipe on y = 2x: swapping gives x = 2y, and now solve for y. Nothing from any earlier module can pry that y down out of the exponent. The inverse exists, yet none of our machinery can write its formula, so mathematicians gave it a brand-new name: the logarithm. When the lesson after next says "a logarithm is the inverse of an exponential," it will mean exactly what you certified today: two machines that feed into each other and cancel, with mirror-image graphs across y = x.

A real reason this matters

Inverse pairs are everywhere once you look. Celsius to Fahrenheit is F = (9/5)C + 32, and solving backward gives the inverse C = 5(F - 32)/9; check that F(100) = 180 + 32 = 212 and C(212) = 5(180)/9 = 100, boiling water both ways. A cashier converting dollars to euros and back uses an inverse pair, and every secret code is a function whose inverse decodes it, which only works because a good code never sends two messages to the same scramble: one-to-one, exactly the condition you met today. Undo buttons, rewind, refunds: the inverse is the mathematics of taking it back.

Try it: Find the inverse of f(x) = 3x - 5, then certify it with composition. Take your time, then read on.

Worked answer: Write y = 3x - 5, swap to x = 3y - 5, add 5 and divide by 3: f-1(x) = (x + 5)/3. Certify: f((x + 5)/3) = 3 · (x + 5)/3 - 5 = x + 5 - 5 = x. It cancels perfectly. Nicely done.

Common misconceptions

  • Reading the -1 as an exponent. f-1(x) is the inverse function, not 1/f(x). For f(x) = 2x + 3, those are (x - 3)/2 and 1/(2x + 3), nothing alike.
  • Thinking every function has an inverse. Only one-to-one functions do. x² has none until you restrict its domain to half the parabola.
  • Undoing the operations in the same order. The inverse reverses the order as well as each operation, shoes off before socks. Composition exposes the wrong order at once.
  • Mixing up the two line tests. Vertical decides whether a graph is a function; horizontal decides whether that function is one-to-one and can be undone.
  • Reflecting over an axis. The inverse's graph is the mirror image across the diagonal y = x, so the point (a, b) moves to (b, a), not to (-a, b) or (a, -b).

Putting it together

An inverse function runs the original backward: f sends a to b, and f-1 sends b back to a, with the -1 a label rather than an exponent. Find it by swap and solve, and certify it with composition, demanding f(g(x)) = x and g(f(x)) = x. Only one-to-one functions qualify, the horizontal line test spots them, and a failed test can be repaired by restricting the domain, which is where the square root comes from. Graphically the inverse is the reflection over y = x, with domain and range trading places. And one climbing function, the exponential, passes the test but defeats every solving tool you own, which is precisely the vacancy the logarithm was invented to fill. You learned how to take a function back today.

Sources

  1. OpenStax. (2021). 3.7 Inverse functions. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 1.7 Inverse functions. In Precalculus 2e. openstax.org
  3. OpenStax. (2019). 10.1 Finding composite and inverse functions. In Intermediate Algebra 2e. openstax.org
  4. OpenStax. (2021). 6.3 Logarithmic functions. In Algebra and Trigonometry 2e. openstax.org
  5. Dawkins, P. (n.d.). Inverse functions. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Khan Academy. (n.d.). Algebra 2. khanacademy.org
  7. Math is Fun. (n.d.). Inverse functions. mathsisfun.com
Key terms
inverse function
The function that undoes f: if f sends a to b, the inverse sends b back to a.
one-to-one
A function that never repeats an output, so each output comes from exactly one input.
horizontal line test
If no horizontal line crosses a graph more than once, the function is one-to-one and has an inverse.
composition
Feeding one function's output into another; f(g(x)) applies g first, then f.
reflection over y = x
The mirror move that turns a function's graph into its inverse's graph by swapping each point's coordinates.

Exponential Functions

  • Recognize and evaluate exponential functions.
  • Distinguish exponential growth from decay.
  • Model real situations with exponential functions.

A penny that doubles for thirty days

Day 1 you are paid one cent. Day 2, two cents. Day 10 the payment is 5 dollars and 12 cents, which is pitiful next to a thousand dollars a day. Day 20 it is 5,242 dollars and 88 cents. Day 30 it is 5,368,709 dollars and 12 cents, for that one day. The rule never changed and never sped up; it was multiply by 2, every single day. Adding a fixed amount, which is what a line does, and multiplying by a fixed amount, which is what an exponential function does, look almost identical for the first week and then part company forever. That parting is the subject of this lesson.

Remember: An exponential function multiplies by the same factor at every step, which makes it grow (or shrink) far faster than steady adding.

What makes a function exponential

An exponential function looks like f(x) = a · bx. Read it as a times b to the x. The key feature is that the variable x sits up in the exponent. Two numbers run it:

  • a is the starting value, the output when x is 0.
  • b is the base, the fixed factor you multiply by at each step.

Compare that with a straight line, which adds the same amount each step. An exponential multiplies by the same amount each step. That single difference is everything.

Growth or decay

  • If the base b is bigger than 1, you multiply by more than 1 each time, so the values climb. This is exponential growth.
  • If the base b is between 0 and 1, you multiply by a fraction each time, so the values shrink toward zero. This is exponential decay.

In decay, the graph gets closer and closer to the x-axis but never actually touches it. That never-touched line is called a horizontal asymptote. The outputs always stay positive.

Let us evaluate one together

For f(x) = 3 · 2x, let us find a few values and watch the pattern.

  1. f(0) = 3 · 20. Anything to the 0 power is 1, so this is 3 · 1 = 3, the starting value.
  2. f(1) = 3 · 21 = 3 · 2 = 6.
  3. f(2) = 3 · 4 = 12, and f(3) = 3 · 8 = 24. Every step up in x doubles the output.
  4. f(-1) = 3 · 2-1 = 3 · (1/2) = 3/2. A negative exponent divides, so the left side of the graph hugs the x-axis.

See the multiplying? 3, 6, 12, 24, each one double the last. That is exponential growth in action.

Turning a percent into a base

Real problems usually give a percent rate, and you build the base from it. For growth, the base is 1 + r. For decay, the base is 1 - r. So a 3 percent growth means multiplying by 1.03, and losing 15 percent means keeping 85 percent, so multiplying by 0.85.

Where people get stuck: using the bare rate as the base. A 5 percent growth uses base 1.05, not 0.05. A 15 percent loss uses base 0.85, not 0.15. Read that once more, since it is the most common modeling slip in this whole topic.

A population example

A town of 10000 people grows 3 percent per year. The base is 1 + 0.03 = 1.03, so P(t) = 10000(1.03)t. Predict 5 years out.

  1. We need 1.035. Building up: 1.03² ≈ 1.0609, and continuing, 1.035 ≈ 1.1593.
  2. Multiply by the start: P(5) ≈ 10000 × 1.1593 = 11593 people.

That is about 1600 more people, even though 3 percent sounds tiny. Small percents, applied again and again, add up.

A decay example

A car worth 20000 dollars loses 15 percent of its value each year, so it keeps 85 percent: V(t) = 20000(0.85)t. After 2 years, V(2) = 20000(0.85)² = 20000(0.7225) = 14450 dollars. Notice the dollar loss shrinks over time, since 15 percent is taken of a smaller and smaller amount.

Doubling and half-life

Repeated doubling is exponential growth with base 2. Bacteria starting at 200 cells and doubling every hour follow N(t) = 200 · 2t, so after 6 hours there are 200 × 64 = 12800 cells. Radioactive decay runs the same idea backward with base one-half. A sample of 80 mg with a half-life of 3 days loses half every 3 days: after 9 days, that is three half-lives, so the amount is 80 → 40 → 20 → 10 mg. Half-life thinking powers carbon dating and how medicines clear your body.

Worked example: building a model from two data points

Word problems hand you measurements, not the formula. Recovering a and b is a standard move.

Question: A bacteria culture holds 200 cells at hour 0 and 1600 cells at hour 3. Assuming exponential growth, write P(t) = a · bt.

  1. a is the value at t = 0, because b⁰ = 1. So a = 200.
  2. Use the second point. 200 · b³ = 1600, so b³ = 8.
  3. Take the cube root. b = 2. The culture doubles every hour.
  4. Model: P(t) = 200 · 2t.

Check both points. P(0) = 200 · 1 = 200. P(3) = 200 · 8 = 1600. Both land exactly.

When neither point is at t = 0, divide the two equations to cancel a first, then back-substitute. Dividing works because a is a multiplier; subtracting would not help at all.

Linear growth against exponential growth

It is easy to say exponential growth is "faster" and hard to feel how much. Put the two side by side. Compare adding 50 each step with doubling each step, both starting small.

Step xLinear: y = 50xExponential: y = 2x
525032
105001 024
1575032 768
201 0001 048 576

At step 5 the line is nearly eight times ahead. By step 10 the exponential has overtaken it. By step 20 the exponential is over a thousand times larger, and the gap keeps widening without limit.

This is the real meaning of "exponential." Not "fast at the start" - it is slower at the start - but "eventually beats any straight line, no matter how steep." A line adding a million per step would still be overtaken by doubling; it would simply take longer. That is why a savings account left alone for forty years behaves so differently from one cashed out after five, and why an epidemic that looks manageable in week one need not stay that way.

A word on interest

Money at yearly rate r grows as A = P(1 + r)t, where P is what you start with. Invest 500 dollars at 4 percent for 3 years: A = 500(1.04)³ ≈ 562.43 dollars. This is the doubling penny in disguise: interest earning interest, growing faster the longer it runs.

Try it: For f(x) = 5 · 3x, find f(2), and say whether it grows or decays. Take your time, then read on.

Worked answer: f(2) = 5 · 3² = 5 × 9 = 45. Because the base 3 is bigger than 1, this is exponential growth. Nicely done.

A real reason this matters

Exponential change is everywhere once you notice it. Epidemiologists track outbreaks by their doubling time: a disease doubling weekly can leap from 100 cases to over 100000 in ten weeks. Computer chips followed Moore's law, doubling in power roughly every two years for decades. Archaeologists date bones by how much carbon-14 has decayed, and doctors time medicine doses around a drug's half-life. Every case asks the same question: what is the constant factor, and how many times does it apply?

Common misconceptions

  • Confusing 2x with 2x. The first doubles again and again; the second just adds 2 each step. They look close early, then diverge wildly.
  • Using the rate as the base. A 5 percent growth gives base 1.05; a 15 percent loss gives base 0.85.
  • Thinking decay reaches zero. The graph approaches the line y = 0 but never lands on it. Outputs stay positive.
  • Expecting equal amounts of change. Exponential change is a steady percent, so the raw amount added or lost shifts every period.
  • Treating a negative exponent as a negative value. 2-3 = 1/8, a small positive number.

What to remember

An exponential function f(x) = a · bx starts at a and multiplies by the base b for every unit step in x: growth when b is bigger than 1, decay when b is between 0 and 1, always hugging the x-axis as a horizontal asymptote. Build the base from a percent rate as 1 + r for growth or 1 - r for decay, use base 2 for doubling and base one-half for half-life, and model money with A = P(1 + r)t. Because multiplying eventually crushes any steady adding, exponential functions describe the fastest changes around us. You met a powerful new shape today.

Sources

  1. OpenStax. (2021). 6.1 Exponential functions. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 6.2 Graphs of exponential functions. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2021). 6.7 Exponential and logarithmic models. In Algebra and Trigonometry 2e. openstax.org
  4. OpenStax. (2021). 4.1 Exponential functions. In Precalculus 2e. openstax.org
  5. Dawkins, P. (n.d.). Exponential functions. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Khan Academy. (n.d.). Algebra 2. khanacademy.org
  7. Math is Fun. (n.d.). Exponents and logarithms. mathsisfun.com
Key terms
exponential function
A function f(x) = a times b to the x, with the variable in the exponent.
base
The fixed number b being raised to a power in an exponential function.
exponential growth
Repeated multiplication by a factor greater than 1.
exponential decay
Repeated multiplication by a factor between 0 and 1.
asymptote
A line the graph approaches but never touches, here the x-axis.

Logarithms and Their Properties

  • Convert between exponential and logarithmic form.
  • Evaluate logarithms.
  • Apply the product, quotient, and power properties of logarithms.

What power of 10 gives 500?

You know that 10² = 100 and 10³ = 1000. So whatever power of 10 produces 500 has to sit somewhere between 2 and 3, and probably closer to 3 than the halfway point, since 500 is halfway between 100 and 1000 in the ordinary sense but not in the multiplying sense. The number is 2.699. Written in the short way, log 500 = 2.699. That is the entire idea of a logarithm: it is the exponent, and nothing else. Every rule in this lesson comes from that one sentence, so if a step ever stops making sense, say the sentence again.

In short: A logarithm is the exponent you must put on the base to reach a given number.

What a logarithm says

The statement logb(y) = x means exactly the same thing as bx = y. Read the log form aloud as log base b of y equals x, and read what it means as b to the x gives y. So a logarithm takes a number y and gives back the exponent x. It is the undo button for an exponential.

Translating between the two forms

The exponential form and the log form carry the identical fact, just dressed differently. Being able to flip between them is the core skill.

  • 2³ = 8 becomes log2(8) = 3. In words, the power that turns 2 into 8 is 3.
  • 10² = 100 becomes log10(100) = 2.
  • Going backward, log5(125) = 3 unpacks to 5³ = 125.

Two logarithms are so common they get nicknames. The common logarithm uses base 10 and is written just log with no base shown. The natural logarithm uses the special base e ≈ 2.718 and is written ln. Your calculator has a button for each.

Evaluating: just ask the question

Every logarithm you evaluate is the same question: the base to what power gives this number?

  1. log3(81): 3 to what power is 81? Since 3⁴ = 81, the answer is 4.
  2. log2(1/8): 2 to what power is one-eighth? Since 2-3 = 1/8, the answer is negative 3.
  3. log7(7) = 1, because 7 to the first power is 7.
  4. log7(1) = 0, because 7 to the 0 power is 1. In fact, log of 1 is 0 for every base.

Two handy anchors to remember: for any base, the log of 1 is 0, and the log of the base itself is 1.

One restriction: only positive numbers have logs

A positive base raised to any power is always positive, so you can never reach a negative number or zero. That means log2(-4) and log(0) are undefined. Logarithms only accept positive inputs. Good to know before you plug anything in.

The three properties, and why they exist

Because a logarithm is an exponent, it inherits the exponent laws. When you multiply powers you add exponents, so logs turn multiplication into addition. That gives three time-saving rules:

  • Product rule: logb(MN) = logb(M) + logb(N). A log of a product is a sum of logs.
  • Quotient rule: logb(M/N) = logb(M) - logb(N). A log of a quotient is a difference.
  • Power rule: logb(Mp) = p · logb(M). An exponent inside a log jumps out front.

Let us expand log(x²y). First the product rule splits it: log(x²) + log(y). Then the power rule pulls the 2 out front: 2 log(x) + log(y). Going the other way, condense 3 log(x) - log(y): the power rule tucks the 3 back in as an exponent, log(x³) - log(y), then the quotient rule joins them into log(x³/y).

Where people get stuck: trying to split a log across a plus sign. log(a + b) is not log(a) + log(b). The product rule is about multiplication inside the log, never addition. Read that once more, since it is the most common logarithm mistake there is.

Expanding and condensing, one law per line

Most log exercises are one of two jobs: break a single log into pieces (expand), or pack several logs into one (condense). Both are just the three laws applied in order.

Worked example: expand log(x³y / z).

  1. Quotient law first, since the outermost structure is a division: log(x³y) - log(z).
  2. Product law on the first piece: log(x³) + log(y) - log(z).
  3. Power law to bring the exponent down: 3 log(x) + log(y) - log(z).

Work from the outside in - quotient, then product, then powers - and the pieces come apart cleanly. Diving for the exponent first tends to create a tangle.

Worked example: condense 2 log(x) + log(y) - 3 log(z) into one log.

  1. Power law backwards, turning every coefficient into an exponent: log(x²) + log(y) - log(z³).
  2. Product law on the two added terms: log(x²y) - log(z³).
  3. Quotient law on the subtraction: log(x²y / z³).

Condensing runs the same three laws in reverse order: powers first, then products, then quotients.

The counterexample worth carrying around

Sooner or later you will be tempted to write log(a + b) = log(a) + log(b). Test it once with numbers you can do in your head, base 10:

  • Left side: log(10 + 10) = log(20) ≈ 1.301.
  • Right side: log(10) + log(10) = 1 + 1 = 2.

They are not equal, so the rule is false. Now test the law that is true: log(10 × 10) = log(100) = 2, and log(10) + log(10) = 2. Perfect agreement.

The reason there is no law for a sum is worth seeing. A log is an exponent, and the product law is really "add the exponents" in disguise: bm · bn = bm+n. There is no matching exponent rule for bm + bn, so there is no matching log rule either. The gap in one mirrors the gap in the other.

Change of base

Calculators only have base 10 and base e, but any logarithm converts with one formula: logb(x) = log(x) ÷ log(b). For example, log2(10) = log(10) ÷ log(2) ≈ 1 ÷ 0.301 ≈ 3.32, which says 2 raised to about 3.32 gives 10. The same formula works with ln.

Try it: Rewrite 5³ = 125 in logarithmic form, and evaluate log2(16). Take your time, then read on.

Worked answer: The exponential 5³ = 125 becomes log5(125) = 3. For log2(16), ask 2 to what power is 16; since 2⁴ = 16, the answer is 4. Nicely done.

A real reason this matters

Logarithms shrink enormous ranges into manageable numbers. Chemistry's pH scale is pH = -log[H+], so each single step in pH means a tenfold change in acidity, and pH 3 is 100 times more acidic than pH 5. Earthquake magnitudes and sound decibels work the same way: one step up means ten times the energy or intensity. Computer scientists even measure how fast a search runs in logarithms, because each doubling of the data adds only one more step. Before calculators, tables of logs plus these rules were how people multiplied huge numbers by hand.

Common misconceptions

  • Splitting a log across addition. log(a + b) is not log(a) + log(b). The product rule is about multiplication inside the log.
  • Multiplying logs to combine them. log(a) · log(b) is not log(ab); adding logs does that.
  • Taking a log of zero or a negative. The input must be positive, or the log is undefined.
  • Misreading a quotient of logs. log(a) ÷ log(b) is the change-of-base form of logb(a), not log(a/b).
  • Forgetting the anchors. For any base, log of 1 is 0 and log of the base is 1.

Pulling it together

A logarithm is an exponent: logb(y) = x means bx = y. Common logs use base 10 and natural logs use base e. Evaluate by asking what power the base needs, remembering that only positive inputs are allowed and that log of 1 is 0. The product, quotient, and power rules turn multiplication, division, and powers into addition, subtraction, and a front multiplier, and change of base rewrites any log for a calculator. Logarithmic scales like pH, decibels, and earthquake magnitude tame huge real-world ranges. Keep the mantra close: a logarithm is an exponent. You learned to run exponentials backward today.

Sources

  1. OpenStax. (2021). 6.3 Logarithmic functions. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 6.5 Logarithmic properties. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2021). 6.4 Graphs of logarithmic functions. In Algebra and Trigonometry 2e. openstax.org
  4. OpenStax. (2021). 4.5 Logarithmic properties. In Precalculus 2e. openstax.org
  5. Dawkins, P. (n.d.). Logarithm functions. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Khan Academy. (n.d.). Algebra 2. khanacademy.org
  7. Math is Fun. (n.d.). Logarithms. mathsisfun.com
Key terms
logarithm
The exponent to which a base must be raised to produce a number.
common logarithm
A logarithm with base 10, written log.
natural logarithm
A logarithm with base e, written ln.
product property
The log of a product equals the sum of the logs.
quotient property
The log of a quotient equals the difference of the logs.
power property
The log of a power moves the exponent out front as a multiplier.

Solving Exponential and Logarithmic Equations

  • Solve exponential equations by matching bases or using logarithms.
  • Solve logarithmic equations by converting to exponential form.
  • Check solutions against the domain of a logarithm.

How long until the money doubles?

An account pays 5 percent a year, compounded once a year. You put in 1,000 dollars. When does it become 2,000? The question is 1000(1.05)t = 2000, and dividing both sides by 1000 makes it cleaner: 1.05t = 2. Now you are stuck in a way you have not been stuck before, because t is up in the exponent where none of your usual moves can reach it. A logarithm reaches it. Taking logs of both sides gives t = log 2 / log 1.05, which is about 14.2 years. Every problem in this lesson is a version of that rescue: the unknown is trapped somewhere new, and the opposite operation sets it free.

Bottom line: To free a trapped variable, apply the opposite operation, because exponentials and logarithms undo each other.

Method 1: make the bases match

If you can write both sides of an exponential equation as powers of the same base, then the exponents themselves must be equal. Solve 2x = 32.

  1. Write 32 as a power of 2: 32 = 25.
  2. Now the equation reads 2x = 25.
  3. Same base, so the exponents match: x = 5.

Sometimes the answer is a fraction. Solve 9x = 27 by writing both as powers of 3: 9 = 3² and 27 = 3³, so (3²)x = 3³, which is 32x = 3³. Match exponents: 2x = 3, so x = 3/2.

Where people get stuck: equating exponents when the bases are different. From 2x = 3² you may not say x = 2. The exponents only match once the bases are identical.

Method 2: take a logarithm of both sides

When the bases simply will not match, take a log of both sides and use the power rule to bring the exponent down in front. Solve 3x = 20.

  1. Take the common log of both sides: log(3x) = log(20).
  2. The power rule pulls the x down: x · log(3) = log(20).
  3. Divide both sides by log(3): x = log(20) ÷ log(3), which is about 2.727.

A gentle warning: log(20) ÷ log(3) is not log(20/3). It is the change-of-base form of log3(20), exactly the exponent we wanted.

One more habit: isolate the exponential before taking logs. To solve 5 · 2x = 40, divide by 5 first to get 2x = 8, and now the bases match easily, giving x = 3. Clear the clutter before reaching for logarithms.

Method 3: turn a log equation into exponential form

To solve an equation with a logarithm, get the log by itself and rewrite the statement in exponential form. Solve log2(x) = 5. Reading it as "2 to the 5th is x," we get x = 25 = 32.

Solve log3(2x - 1) = 2 the same way.

  1. Convert to exponential form: 2x - 1 = 3² = 9.
  2. Add 1 to both sides: 2x = 10.
  3. Divide by 2: x = 5.
  4. Domain check: the inside was 2(5) - 1 = 9, which is positive, so x = 5 is valid.

Method 2a: when e is the base, use ln

Whenever the base is e, take the natural log rather than the common log. The two undo each other exactly, so the exponent falls out in a single step with no leftover coefficient.

Worked example. Solve 50e0.03t = 200.

  1. Isolate the exponential first. Divide both sides by 50: e0.03t = 4.
  2. Take ln of both sides. Since ln(ek) = k, the left collapses at once: 0.03t = ln 4.
  3. Compute. ln 4 ≈ 1.3863, so t = 1.3863/0.03 ≈ 46.2.

Check. 50e0.03(46.2) = 50e1.386 = 50(4.00) = 200. It returns to the starting value.

Step 1 is not optional. Taking a log while the 50 is still attached would give ln(50e0.03t), and there is no law that splits that apart usefully in one move. Peel off everything multiplying or adding to the exponential before the log ever appears.

Method 2b: unknowns in exponents on both sides

Worked example. Solve 3x+1 = 5x.

  1. Take ln of both sides. ln(3x+1) = ln(5x).
  2. Power law on each side. The whole exponent comes down, brackets included: (x + 1) ln 3 = x ln 5.
  3. Distribute. x ln 3 + ln 3 = x ln 5.
  4. Collect the x terms. ln 3 = x ln 5 - x ln 3 = x(ln 5 - ln 3).
  5. Divide. x = ln 3 / (ln 5 - ln 3) ≈ 1.0986 / 0.5108 ≈ 2.15.

Check. Left: 33.15 ≈ 31.9. Right: 52.15 ≈ 31.9. They agree.

Once the logs became plain numbers in step 3, this turned into an ordinary linear equation. That is the pattern for every problem of this type: log both sides, bring exponents down, and what remains is algebra you have done since Algebra I.

Combining logs, and the crucial domain check

Sometimes you must combine logs first. Solve log2(x) + log2(x - 2) = 3.

  1. Product rule combines the two logs: log2(x(x - 2)) = 3.
  2. Convert to exponential form: x(x - 2) = 2³ = 8.
  3. Expand and set to zero: x² - 2x - 8 = 0.
  4. Factor: (x - 4)(x + 2) = 0, so the candidates are x = 4 and x = -2.

Now the essential step. A logarithm only accepts positive inputs. If we try x = -2, then log2(x) becomes log2(-2), which is undefined. So x = -2 is an extraneous solution and we throw it out. The only real answer is x = 4.

Where people get stuck: skipping this domain check. Combining logs can quietly let in a false answer, so always test each candidate in the original equation and keep only the ones that leave every logarithm positive. Read that once more, because it is the step people most often forget.

A real reason this matters

These equations answer "how long?" questions. How many years does money at 6 percent yearly interest take to double? Solve (1.06)t = 2.

  1. Take logs of both sides: t · log(1.06) = log(2).
  2. Divide: t = log(2) ÷ log(1.06) ≈ 0.3010 ÷ 0.0253 ≈ 11.9 years.

So money doubles in roughly 12 years. The same algebra tells you when a town hits a target population, or how long a radioactive sample takes to decay to a safe level.

Try it: Solve 5x = 125, and solve log3(x) = 2. Take your time, then read on.

Worked answer: For 5x = 125, write 125 = 5³, so x = 3. For log3(x) = 2, convert to exponential form: x = 3² = 9. Nicely done.

Common misconceptions

  • Logging each term instead of each whole side. The log applies to an entire side at once; log(a + b) cannot be split.
  • Confusing log(20)/log(3) with log(20/3). The first is log3(20) by change of base; the second is a different number.
  • Skipping the domain check. A candidate that makes any original log argument zero or negative is extraneous and must be discarded.
  • Taking logs before isolating. In 5 · 2x = 40, divide by 5 first to avoid a mess.
  • Equating exponents across different bases. The exponents only match once the bases are the same.

The takeaway

Solve an exponential equation by matching bases and equating exponents, or, when bases will not match, by isolating the exponential and taking a log of both sides so the power rule brings the exponent down. Solve a logarithmic equation by condensing to a single log and rewriting in exponential form, or by equating arguments when both sides are single logs of the same base. Then always check that each candidate keeps every original logarithm positive, discarding the extraneous ones. These tools answer real doubling-time and decay-time questions. You freed the variable from two new hiding spots today.

Sources

  1. OpenStax. (2021). 6.6 Exponential and logarithmic equations. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 6.7 Exponential and logarithmic models. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2021). 4.6 Exponential and logarithmic equations. In Precalculus 2e. openstax.org
  4. Dawkins, P. (n.d.). Solving exponential equations. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  5. Dawkins, P. (n.d.). Solving logarithm equations. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Dawkins, P. (n.d.). Applications of exponentials and logarithms. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  7. Khan Academy. (n.d.). Algebra 2. khanacademy.org
Key terms
matching bases
Rewriting both sides of an exponential equation with the same base to equate exponents.
exponential form
The form b^x = y, used to solve logarithmic equations.
power property
The rule that lets you bring an exponent down when taking a logarithm.
extraneous solution
A candidate that satisfies the derived equation but violates the original domain.
argument of a logarithm
The quantity inside the logarithm, which must be positive.

Module 7: Sequences and Series

Patterns of numbers: arithmetic and geometric sequences, their sums, and summation notation.

Arithmetic Sequences and Series

  • Identify an arithmetic sequence and its common difference.
  • Find the nth term using the explicit formula.
  • Sum a finite arithmetic series.

Five dollars, then eight, then eleven

A savings plan: put away 5 dollars this week, 8 dollars next week, 11 the week after, adding 3 dollars to the deposit every week. What do you deposit in week 52, and what is in the jar at the end of the year? The deposits form an ordered list, 5, 8, 11, 14, and so on, which is a sequence; the running total is a series. Both questions have one-line answers. Week 52's deposit is 5 + 51(3) = 158 dollars, and the year's total is 52(5 + 158)/2 = 4,238 dollars. This lesson is about where those two formulas come from, so that you never have to add fifty-two numbers by hand.

Key idea: An arithmetic sequence adds the same fixed amount at every step, and simple formulas find any term or any sum.

Sequences, terms, and the common difference

Each number in a sequence is a term. A sequence is arithmetic when each term is the previous term plus the same fixed amount, called the common difference, written d. To find d, subtract any term from the one after it. For 3, 7, 11, 15, the difference is 7 - 3 = 4, so d is 4. The difference can be negative too: in 10, 7, 4, 1, each step subtracts 3, so d is negative 3. Constant subtraction still counts.

Jumping to any term

To reach the nth term you start at the first term and add d over and over. But how many times? To get from the 1st term to the 5th term you take only 4 steps, not 5, because the first term is already there. That gives the formula:

an = a1 + (n - 1)d

Read it as the nth term equals the first term plus, open parenthesis, n minus 1, close parenthesis, times d. The (n - 1) is the number of steps you take.

Find the 20th term of 3, 7, 11, 15, ...

  1. Read off the pieces: a1 = 3 and d = 4.
  2. Count the steps: to reach term 20 you take 20 - 1 = 19 steps.
  3. Add them on: a20 = 3 + 19 × 4 = 3 + 76 = 79.

So the 20th term is 79, found in one line without listing all the terms in between.

Where people get stuck: multiplying d by n instead of by n - 1. The very first term uses zero steps, so the 20th term adds d only 19 times. Read that once more, since it is the classic slip here.

Adding up a whole run: the series

A series is the sum of the terms of a sequence. There is a beautiful shortcut for adding an arithmetic run:

Sn = (n ÷ 2)(a1 + an)

In plain words, that is the number of terms, times the average of the first and last term. It works because evenly spaced numbers pair up neatly: the smallest with the largest, the next smallest with the next largest, and every pair adds to the same total.

Sum the first 20 terms of 3, 7, 11, ..., where we already found the 20th term is 79.

  1. There are 20 terms, the first is 3, and the last is 79.
  2. Add the first and last: 3 + 79 = 82.
  3. Multiply by the number of terms and halve: (20 ÷ 2)(82) = 10 × 82 = 820.

So the sum is 820. There is a famous story that a young student named Gauss added 1 through 100 in seconds using this very idea: (100 ÷ 2)(1 + 100) = 50 × 101 = 5050. You just did the same trick.

Proving the sum formula, not just using it

That "pairs add to the same total" idea deserves to be written out properly, because once you see it the formula is impossible to forget.

Write the sum forwards, then write it again backwards underneath:

S = a₁ + a₂ + a₃ + ... + aₙ

S = aₙ + ... + a₃ + a₂ + a₁

Add the two lines column by column. The first column gives a₁ + aₙ. The second gives a₂ + aₙ₋₁, and since a₂ is one step up from a₁ while aₙ₋₁ is one step down from aₙ, the two steps of d cancel and the column total is again a₁ + aₙ. Every column works the same way.

There are n columns, all equal to a₁ + aₙ, so

2S = n(a₁ + aₙ),  giving  S = (n/2)(a₁ + aₙ)

Try it on something small enough to add by hand. For 3, 7, 11, 15 the direct sum is 36. The formula gives (4/2)(3 + 15) = 2 x 18 = 36. Match.

There is a second version worth knowing, for when you have not yet found the last term. Substitute aₙ = a₁ + (n - 1)d into the formula and it becomes S = (n/2)[2a₁ + (n - 1)d]. Same rule, expressed with d instead of the last term - handy when a problem gives you the first term, the difference, and how many terms, but not the ending value.

Worked example: how many terms to reach a target sum?

Question: You save 10 dollars in week 1, 13 dollars in week 2, 16 in week 3, and so on. After how many weeks have you saved 1225 dollars in total?

  1. Identify the sequence. a₁ = 10, d = 3.
  2. Use the d-version of the sum formula. S = (n/2)[2(10) + (n - 1)(3)] = (n/2)(20 + 3n - 3) = (n/2)(3n + 17).
  3. Set it equal to 1225. (n/2)(3n + 17) = 1225, so n(3n + 17) = 2450, giving 3n² + 17n - 2450 = 0.
  4. Solve the quadratic. The discriminant is 17² + 4(3)(2450) = 289 + 29400 = 29689, and √29689 = 172.3. Then n = (-17 + 172.3)/6 ≈ 25.9, or a negative value we discard.
  5. Interpret. n must be a whole number of weeks. At n = 25 the total is (25/2)(75 + 17) = 12.5 x 92 = 1150; at n = 26 it is (26/2)(78 + 17) = 13 x 95 = 1235. So you pass 1225 dollars during week 26.

Notice how the answer had to be interpreted rather than just reported. The algebra gave 25.9, but there is no such thing as 0.9 of a week's saving, so the honest answer is the first whole week that clears the target.

Running the formula backward

You can also ask whether a number appears in a sequence, and where. Is 399 a term of 3, 7, 11, 15, ...?

  1. Set the term formula equal to 399: 3 + (n - 1)(4) = 399.
  2. Subtract 3 from both sides: (n - 1)(4) = 396.
  3. Divide by 4: n - 1 = 99.
  4. Add 1: n = 100.

Since n came out a positive whole number, 399 is indeed a term, the 100th one. If n had come out a fraction, the number would simply not be in the list.

Try it: For 5, 8, 11, 14, ..., find the 10th term. Take your time, then read on.

Worked answer: Here a1 = 5 and d = 3. To reach term 10 you take 10 - 1 = 9 steps: a10 = 5 + 9 × 3 = 5 + 27 = 32. Nicely done.

A real reason this matters

Arithmetic sequences model anything that grows by a steady amount each step. A theater has 24 seats in the first row, and every row adds 2 more. With 20 rows, the last row holds 24 + 19 × 2 = 62 seats, and the whole house seats (20 ÷ 2)(24 + 62) = 10 × 86 = 860 people. A job starting at 42000 dollars with a 1500 dollar raise each year pays 42000 + 9 × 1500 = 55500 dollars in year 10. Stacked pipes, stadium rows, and simple-interest balances all follow this same pattern, and now you can total them in one line.

Common misconceptions

  • Multiplying d by n instead of n - 1. The first term takes zero steps, so the nth term adds d only n - 1 times.
  • Confusing a sequence with a series. A sequence is the ordered list; a series is the sum of that list.
  • Assuming d must be positive. The sequence 10, 7, 4, 1 is arithmetic with d = negative 3.
  • Using the averaging shortcut on lists that are not evenly spaced. S = (n/2)(first + last) works only because the terms step by a constant d.
  • Miscounting the number of terms. From term 3 to term 8 is 5 steps, not 8; count the gaps, not the labels.

Summing up

An arithmetic sequence adds a fixed common difference d at every step. The term formula an = a1 + (n - 1)d jumps straight to any term, and it runs in reverse to tell which position a value holds. A finite arithmetic series adds up with Sn = (n ÷ 2)(a1 + an), the number of terms times the average of the first and last. These tools turn long, repetitive additions like seat counts and salary totals into one-line calculations. You tamed a whole list of numbers today.

Sources

  1. OpenStax. (2021). 13.2 Arithmetic sequences. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 13.4 Series and their notations. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2021). 13.1 Sequences and their notations. In Algebra and Trigonometry 2e. openstax.org
  4. OpenStax. (2021). 11.2 Arithmetic sequences. In Precalculus 2e. openstax.org
  5. Dawkins, P. (n.d.). Series: The basics. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Khan Academy. (n.d.). Algebra 2. khanacademy.org
  7. Math is Fun. (n.d.). Arithmetic sequences and sums. mathsisfun.com
Key terms
sequence
An ordered list of numbers called terms.
arithmetic sequence
A sequence with a constant difference between consecutive terms.
common difference
The fixed amount d added to get the next term.
nth-term formula
a_n = a_1 + (n - 1)d for an arithmetic sequence.
series
The sum of the terms of a sequence.

Geometric Sequences and Series

  • Identify a geometric sequence and its common ratio.
  • Find the nth term of a geometric sequence.
  • Sum finite geometric series and recognize infinite ones.

A ball that keeps 60 percent of its bounce

Drop a ball from 2 meters. It comes back up to 1.2 meters, then 0.72, then 0.432, each rebound reaching 60 percent of the one before. The heights never quite reach zero, so in principle the bouncing never stops. Add up every single rebound height, all of the infinitely many of them, and the total is not infinite: it is exactly 3 meters. That is a geometric sequence and the sum of its terms, and the fact that endlessly many positive numbers can add to a finite total is the most surprising thing in this lesson. Last lesson each step added a fixed amount. This lesson each step multiplies by a fixed amount, and everything changes.

The upshot: A geometric sequence multiplies by the same fixed number at every step, and simple formulas find any term or any sum.

Multiplying instead of adding

A sequence is geometric when each term is the previous term times the same fixed number, called the common ratio, written r. To find r, divide any term by the one before it. For 2, 6, 18, 54, each term is 3 times the last, since 6 ÷ 2 = 3 and 18 ÷ 6 = 3, so r is 3.

Jumping to any term

To reach the nth term you start at the first term and multiply by r again and again. Just like before, getting to the 6th term takes only 5 multiplications, not 6, because the first term is already there. That gives:

an = a1 · rn-1

Read it as the nth term equals the first term times r to the power n minus 1. The exponent n - 1 counts the multiplications.

Find the 6th term of 2, 6, 18, 54, ...

  1. Read the pieces: a1 = 2 and r = 3.
  2. Count the multiplications: 6 - 1 = 5.
  3. Compute the power: 35 = 243.
  4. Multiply by the first term: a6 = 2 × 243 = 486.

So the 6th term is 486, without listing the whole run.

Where people get stuck: using rn instead of rn-1. The first term has been multiplied by r zero times, so the 6th term uses the 5th power. Read that once more, since it is the classic slip here.

Adding a finite run

The sum of the first n terms of a geometric sequence (as long as r is not 1) is

Sn = a1(1 - rn) ÷ (1 - r).

It looks busy, but you just plug in three numbers. Sum the first 4 terms of 2, 6, 18, 54.

  1. Here a1 = 2, r = 3, and n = 4.
  2. Compute rn = 34 = 81.
  3. Top: 1 - 81 = -80, and a1 times that is 2 × (-80) = -160.
  4. Bottom: 1 - 3 = -2.
  5. Divide: -160 ÷ (-2) = 80.

Check by adding directly: 2 + 6 + 18 + 54 = 80. The formula matches.

Where that busy formula comes from

You do not have to take Sn = a₁(1 - rn)/(1 - r) on faith. It falls out of one clever subtraction.

  1. Write the sum out. S = a₁ + a₁r + a₁r² + ... + a₁rn-1.
  2. Multiply the whole thing by r. Every term shifts up one power: rS = a₁r + a₁r² + ... + a₁rn-1 + a₁rn.
  3. Subtract the second line from the first. Look at what the two lines share: everything from a₁r up to a₁rn-1 appears in both, so all of it cancels. Only the very first term of line 1 and the very last term of line 2 survive: S - rS = a₁ - a₁rn.
  4. Factor both sides. S(1 - r) = a₁(1 - rn).
  5. Divide by (1 - r). S = a₁(1 - rn)/(1 - r).

Step 5 also explains the small print "as long as r is not 1": dividing by 1 - r would be dividing by zero. And that case is easy anyway - if r is 1 every term is the same, so the sum is just n a₁.

Watch it work on the example we already checked. For 2, 6, 18, 54: line 1 is S = 2 + 6 + 18 + 54 and line 2 is 3S = 6 + 18 + 54 + 162. Subtracting, the 6, 18, and 54 all cancel, leaving S - 3S = 2 - 162, so -2S = -160 and S = 80. Exactly what direct addition gave, and you can see every cancellation happen.

Adding endlessly many terms

Here is the surprising part. When the ratio is a fraction between negative 1 and 1, each term is smaller than the last, and the terms shrink toward zero so fast that even an infinite sum lands on a finite number:

S = a1 ÷ (1 - r), valid only when the size of r is less than 1.

Sum 1 + 1/2 + 1/4 + 1/8 + ... forever. Here a1 = 1 and r = 1/2, so S = 1 ÷ (1 - 1/2) = 1 ÷ (1/2) = 2. Adding infinitely many pieces gives exactly 2. Picture walking half the remaining distance to a wall over and over: you get ever closer to the wall, a total of one wall's distance, but never overshoot.

Where people get stuck: using this on a series that does not shrink. If the size of r is 1 or more, the terms do not fade, and there is no finite total. The formula only works when r is between negative 1 and 1.

A hidden geometric series: repeating decimals

The decimal 0.7777... is secretly 7/10 + 7/100 + 7/1000 + ..., a geometric series with a1 = 7/10 and r = 1/10. Its sum is (7/10) ÷ (1 - 1/10) = (7/10) ÷ (9/10) = 7/9. That is why every repeating decimal equals a fraction. Rather neat.

Try it: For 3, 12, 48, ..., find the common ratio and the 5th term. Take your time, then read on.

Worked answer: The ratio is r = 12 ÷ 3 = 4. For the 5th term, multiply 4 times: a5 = 3 × 44 = 3 × 256 = 768. Nicely done.

A real reason this matters

Geometric sequences model anything that changes by a constant percent per step. Money at 5 percent yearly interest turns 1000 dollars into 1000, 1050, 1102.50, ... with r = 1.05, and after 10 years the balance is 1000(1.05)10 ≈ 1628.89 dollars. A ball dropped from a height that rebounds to 60 percent of its previous height each bounce has rebounds 6, 3.6, 2.16, ..., and the total of all those rebounds is the infinite sum 6 ÷ (1 - 0.6) = 15 meters. Radioactive decay and populations changing by a fixed percent run on this same mathematics.

Common misconceptions

  • Using rn instead of rn-1. The first term is multiplied by r zero times, so the nth term uses the power n - 1.
  • Thinking every infinite series adds up. The infinite formula works only when the size of r is less than 1; otherwise the terms do not shrink.
  • Dividing in the wrong order for r. The ratio is a term divided by the term before it. The other order gives 1 over r.
  • Dropping the sign of a negative ratio. A negative r makes the terms alternate sign; if yours do not alternate, recheck r.
  • Mixing up the sum formulas. Arithmetic sums average the ends; geometric sums use a1(1 - rn)/(1 - r). Classify first.

What you now know

A geometric sequence multiplies by a fixed common ratio r at each step, so the nth term is an = a1 · rn-1. Finite sums come from Sn = a1(1 - rn)/(1 - r), and when the size of r is less than 1 the infinite series settles to a1/(1 - r). Ratios can be negative (alternating signs) or fractional (shrinking terms), and two known terms are enough to rebuild the whole sequence. Compound interest, bouncing balls, repeating decimals, and percent change of every kind are geometric series in disguise. You added up infinity today, and it behaved.

Sources

  1. OpenStax. (2021). 13.3 Geometric sequences. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 13.4 Series and their notations. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2021). 11.3 Geometric sequences. In Precalculus 2e. openstax.org
  4. OpenStax. (2021). 11.4 Series and their notations. In Precalculus 2e. openstax.org
  5. Dawkins, P. (n.d.). Series: The basics. Paul's Online Math Notes. Lamar University. tutorial.math.lamar.edu
  6. Khan Academy. (n.d.). Algebra 2. khanacademy.org
  7. Math is Fun. (n.d.). Geometric sequences and sums. mathsisfun.com
Key terms
geometric sequence
A sequence with a constant ratio between consecutive terms.
common ratio
The fixed number r each term is multiplied by to get the next.
nth-term formula (geometric)
a_n = a_1 times r to the power (n - 1).
finite geometric series
A sum of finitely many geometric terms, S_n = a_1(1 - r^n)/(1 - r).
infinite geometric series
A sum of endlessly many terms, equal to a_1/(1 - r) when the ratio is between -1 and 1.

Module 8: Trigonometry

Right-triangle ratios, angle measure and the unit circle, and the graphs of the sine and cosine functions.

Right-Triangle Trigonometry

  • Define sine, cosine, and tangent as ratios of sides.
  • Use SOH-CAH-TOA to find missing sides.
  • Solve right triangles.

Measuring a tree you cannot climb

Stand 30 meters back from a tree, hold up a protractor with a weighted string, and sight along it to the very top. Suppose it reads 40 degrees above horizontal. You now know the height of that tree without leaving the ground: tan 40 = h/30, so h = 30 tan 40, which is about 25.2 meters above your eye, plus your own eye height. Nothing was measured but a distance you could pace out and an angle you could read. That trade, an angle for a length you cannot reach, is what trigonometry is for, and it rests on three ratios you can fit on a fingernail.

Why this matters: In a right triangle, three ratios of the sides are fixed by the angle, so one angle and one side reveal the others.

Naming the three sides

First pick one of the two non-right angles to focus on. Then the sides get names relative to that angle:

  • The hypotenuse is the longest side, always the one across from the right angle. It never changes.
  • The opposite side is the one directly across from the angle you picked.
  • The adjacent side is the remaining leg, the one touching your angle that is not the hypotenuse.

Notice that opposite and adjacent depend on which angle you choose. Switch to the other acute angle and those two legs trade names. The hypotenuse alone stays put.

SOH-CAH-TOA

The three basic ratios have a friendly memory phrase, SOH-CAH-TOA, said "so-kuh-toe-uh." Each chunk is one ratio:

  • SOH: Sine = Opposite ÷ Hypotenuse.
  • CAH: Cosine = Adjacent ÷ Hypotenuse.
  • TOA: Tangent = Opposite ÷ Adjacent.

Read sinθ as sine of theta, where theta is just a name for the angle. It is one number attached to the angle, not sine times theta.

Where people get stuck: choosing which ratio to use. Here is the trick: look at the two sides involved in your problem (the one you know and the one you want), then pick the ratio built from exactly those two. Opposite and hypotenuse point to sine, adjacent and hypotenuse point to cosine, opposite and adjacent point to tangent. Match the sides, and the ratio picks itself.

Let us read the ratios off a triangle

The 3-4-5 right triangle is the friendliest example: legs of 3 and 4, hypotenuse of 5. Focus on the angle whose opposite side is 3 and whose adjacent side is 4.

  1. sinθ = opposite ÷ hypotenuse = 3/5.
  2. cosθ = adjacent ÷ hypotenuse = 4/5.
  3. tanθ = opposite ÷ adjacent = 3/4.

That is all three ratios, straight from the side lengths. No mystery, just careful reading.

Finding a missing side

Here is where it earns its keep. Suppose an angle is 30 degrees and the hypotenuse is 10, and you want the side opposite that angle.

  1. The sides involved are opposite and hypotenuse, so reach for sine (the SOH ratio): sin 30° = opposite ÷ 10.
  2. The value sin 30° is exactly 1/2.
  3. So 1/2 = opposite ÷ 10.
  4. Multiply both sides by 10: opposite = 10 × (1/2) = 5.

The opposite side is 5. You chose the ratio that linked your known side to your wanted side, and the rest was ordinary algebra.

The Pythagorean theorem, your built-in check

The three sides of any right triangle always obey a² + b² = c², where c is the hypotenuse. If the legs are 6 and 8, then c² = 36 + 64 = 100, so c = 10. This lets you find a third side and double-check the other two.

Measuring a tower from the ground

Stand 50 meters from the base of a tower. The angle up to the top (the angle of elevation) is 30 degrees. How tall is the tower?

  1. The height is opposite your angle, and the 50 meters is adjacent, so use tangent (the TOA ratio): tan 30° = height ÷ 50.
  2. Multiply both sides by 50: height = 50 × tan 30°.
  3. Since tan 30° ≈ 0.577, the height is about 50 × 0.577 ≈ 28.9 meters.

You measured a tower without climbing it, using one angle and one distance. That is the power of trigonometry.

Going backward: finding an angle

If you know two sides and want the angle, run a ratio in reverse with an inverse function. If tanθ = 3/4 = 0.75, then θ = tan-1(0.75) ≈ 36.9°. The buttons sin-1, cos-1, and tan-1 on a calculator turn a ratio back into its angle.

Solving a triangle completely

"Solve the triangle" means find every unknown side and angle. One angle and one side are enough.

Question: A right triangle has an acute angle of 35 degrees and a hypotenuse of 10. Find everything else.

  1. The other acute angle. The three angles total 180 and one is 90, so the two acute ones total 90: 90 - 35 = 55 degrees.
  2. The side opposite 35 degrees. Sine is opposite over hypotenuse: opp = 10 sin 35° = 10(0.5736) ≈ 5.74.
  3. The side adjacent to 35 degrees. Cosine is adjacent over hypotenuse: adj = 10 cos 35° = 10(0.8192) ≈ 8.19.

Check with Pythagoras. 5.74² + 8.19² = 32.9 + 67.1 = 100.0, matching 10². Both legs are right.

A second free check: 35 degrees is the smaller acute angle, so the side facing it should be the shorter leg. It is, 5.74 against 8.19. In any triangle the bigger angle always faces the longer side.

Angles of elevation and depression

Two words appear constantly in application problems, and mixing them up is a common source of lost marks.

  • Angle of elevation: measured upward from the horizontal, from you to something above you.
  • Angle of depression: measured downward from the horizontal, from you to something below you.

Both are measured from a horizontal line, never from a vertical one - that is the detail people get wrong.

Worked example. From the top of a 40 m cliff, the angle of depression to a boat is 25 degrees. How far is the boat from the base of the cliff?

  1. Draw it. The cliff is the vertical side (40 m), the sea is the horizontal side (the unknown distance d), and the line of sight is the hypotenuse.
  2. Find the angle inside the triangle. The 25 degrees is measured from the horizontal at the top. Because the sea and that horizontal are parallel, the angle at the boat is also 25 degrees (alternate angles).
  3. Choose the ratio. From the boat's angle, the cliff is opposite and the distance is adjacent, so tangent is the one: tan 25° = 40/d.
  4. Solve. d = 40 / tan 25° = 40 / 0.4663 ≈ 85.8 m.

Sanity check. A shallow 25-degree sight line should reach much farther than the cliff is tall, and 85.8 m is comfortably more than 40 m. Had the answer come out smaller than 40, you would know the ratio had been used upside down.

Two triangles worth memorizing

Two shapes show up so often their ratios are worth knowing by heart. In a 45-45-90 triangle the two legs are equal and the hypotenuse is a leg times √2. In a 30-60-90 triangle the sides follow the pattern x, x√3, 2x: the short leg is x, the long leg is x√3, and the hypotenuse is 2x. These give the exact values like sin 30° = 1/2.

Try it: In a right triangle the side opposite an angle is 5 and the hypotenuse is 13. Find the sine of that angle and the third side. Take your time, then read on.

Worked answer: Sine is opposite over hypotenuse, so sinθ = 5/13. For the third side (the adjacent leg), use the Pythagorean theorem: adjacent = √(13² - 5²) = √(169 - 25) = √144 = 12. Nicely done.

A real reason this matters

Angles of elevation (looking up) and depression (looking down) run surveying, flying, and building. A wheelchair ramp that rises 1 unit for every 12 units of run sits at an angle of tan-1(1/12) ≈ 4.8°, gently sloped by design. The same triangle logic finds tree heights from shadows, cliff heights from a boat, and roof pitches from rise and run. One angle plus one length, and the whole triangle opens up.

Common misconceptions

  • Treating opposite and adjacent as fixed. They depend on which acute angle you pick; the legs trade names when you switch angles.
  • Letting the hypotenuse act as adjacent. The hypotenuse is always across from the right angle; adjacent is the other leg touching your angle.
  • Wrong calculator mode. In radian mode, sin 30 gives about negative 0.988 instead of 0.5. Set the calculator to degrees for degree problems.
  • Reading sinθ as multiplication. Sine is a function of the angle, so sin 60° is not twice sin 30°.
  • Using SOH-CAH-TOA without a right angle. These ratios need a right triangle; other triangles use different laws.

Looking back

Right-triangle trigonometry names the sides relative to a chosen acute angle, then compares them with three ratios: sine (opposite over hypotenuse), cosine (adjacent over hypotenuse), and tangent (opposite over adjacent), remembered as SOH-CAH-TOA. One angle and one side unlock the other sides, two sides unlock the angles through inverse functions, and the Pythagorean theorem a² + b² = c² ties all three sides together as a check. The 45-45-90 and 30-60-90 patterns give exact values, and angles of elevation and depression carry the whole idea into the real world. You learned to measure the unreachable today.

Sources

  1. OpenStax. (2021). 7.2 Right triangle trigonometry. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 7.4 The other trigonometric functions. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2021). 5.4 Right triangle trigonometry. In Precalculus 2e. openstax.org
  4. OpenStax. (2021). 8.3 Inverse trigonometric functions. In Algebra and Trigonometry 2e. openstax.org
  5. Khan Academy. (n.d.). Right triangles and trigonometry. In Trigonometry. khanacademy.org
  6. Math is Fun. (n.d.). Sine, cosine and tangent. mathsisfun.com
  7. Math is Fun. (n.d.). Finding a side in a right-angled triangle. mathsisfun.com
Key terms
hypotenuse
The longest side of a right triangle, opposite the right angle.
opposite side
The side across from the chosen acute angle.
adjacent side
The leg next to the chosen angle, not the hypotenuse.
SOH-CAH-TOA
Sine = opposite/hypotenuse, cosine = adjacent/hypotenuse, tangent = opposite/adjacent.
Pythagorean theorem
For legs a and b and hypotenuse c, a^2 + b^2 = c^2.

Angles and the Unit Circle

  • Convert between degrees and radians.
  • Use the unit circle to define sine and cosine for any angle.
  • Find sine and cosine of special angles with reference angles.

An angle of 210 degrees has no triangle

Ask a right triangle for the cosine of 210 degrees and it has nothing to offer, because the angles inside a right triangle are all smaller than 90 degrees. And yet cos 210 has a definite value, negative √3/2, about -0.866. It comes from a different picture. Draw a circle of radius 1 around the origin, start at the point (1, 0), and walk counterclockwise around the rim through 210 degrees. You land in the third quadrant, and the two coordinates of the point where you land are the cosine and the sine of that angle. That circle is called the unit circle, and it takes sine and cosine well past the triangles they were born in.

Remember: The unit circle turns sine and cosine into the coordinates of a point, which extends them to every angle.

Two rulers for angles

You already know degrees, where a full circle is 360 of them. There is a second unit called radians, where a full circle is 2π radians. They measure the same angles, just with different-sized marks, like inches versus centimeters. The one bridge you need is:

180 degrees = π radians.

From that, converting is one multiplication. To go from degrees to radians, multiply by π/180. To go from radians to degrees, multiply by 180/π.

Convert 60 degrees to radians: 60 × π/180 = π/3. Convert 3π/4 radians to degrees: (3π/4)(180/π) = 135 degrees. The π symbols cancel, leaving a plain number.

Where people get stuck: thinking π is a whole circle. It is not. A full circle is 2π, and π by itself is a half turn, 180 degrees. Keep that anchor and radians stop feeling strange.

The unit circle: sine and cosine become coordinates

The unit circle is simply the circle of radius 1 centered at the origin. Put an angle θ in standard position, meaning its corner is at the origin and one side runs along the positive x-axis. Rotate the other side by the angle, and it meets the circle at one point. Here is the beautiful fact: that point's coordinates are exactly (cosθ, sinθ).

So cosine is the x-coordinate and sine is the y-coordinate of the point. Because a point exists for every angle, no matter how large or negative, sine and cosine now work for all angles, not just the little ones in a triangle. Read that once more, since it is the heart of the whole lesson.

The special angles worth knowing

Three first-quadrant angles come up constantly, and their exact values are worth memorizing.

Anglesinecosine
30 degrees (π/6)1/2√3 over 2
45 degrees (π/4)√2 over 2√2 over 2
60 degrees (π/3)√3 over 21/2

Where those exact values come from

Nobody needs to memorize that table blindly. Every entry comes out of two triangles you can build from scratch, then place on the unit circle.

The 45-45-90 triangle. Cut a unit square along its diagonal. Both legs are 1, and Pythagoras gives the diagonal as √(1 + 1) = √2. Now shrink the whole triangle so the hypotenuse is 1 - divide every side by √2 - and the legs become 1/√2, which tidies to √2/2. Drop that triangle onto the circle at 45 degrees, and the horizontal leg is the cosine while the vertical leg is the sine. Both equal √2/2 ≈ 0.707.

The 30-60-90 triangle. Take an equilateral triangle of side 1 and cut it straight down the middle. The half you keep has hypotenuse 1, a short leg of 1/2 (half the original base), and a long leg of √(1 - 1/4) = √3/2. Place it at 30 degrees on the circle: the long leg lies horizontally, so cos 30° = √3/2 ≈ 0.866 and sin 30° = 1/2. Tip the same triangle up for 60 degrees and the two swap: cos 60° = 1/2, sin 60° = √3/2.

Check them against the picture. A small angle like 30 degrees lands near the right edge of the circle, so its x-coordinate should be big (0.866) and its y small (0.5). A large angle like 60 degrees lands high up, so the reverse. If you ever blank on which is which, look at the circle and ask "far right, or far up?"

And one more free check. Every point sits on a circle of radius 1, so Pythagoras guarantees cos²θ + sin²θ = 1 for every angle. At 30 degrees: 3/4 + 1/4 = 1. At 45 degrees: 1/2 + 1/2 = 1. Any pair of values that fails this is wrong, no exceptions - which makes it the fastest error-catcher in all of trigonometry.

Reference angles and the sign by quadrant

For an angle outside the first quadrant, use a reference angle: the small acute angle between the terminal side and the x-axis. It tells you the size of the sine or cosine, matching the table above. Then the quadrant tells you the sign. A handy phrase, All Students Take Calculus, records where each function is positive, going counterclockwise from Quadrant I: All positive in I, Sine positive in II, Tangent positive in III, Cosine positive in IV.

Find sin 225°.

  1. 225 degrees is past 180, so it sits in Quadrant III.
  2. The reference angle is 225 - 180 = 45 degrees.
  3. The size comes from the table: sin 45° = √2/2.
  4. The sign comes from the quadrant: in Quadrant III, sine is negative.
  5. So sin 225° = -√2/2.

Where people get stuck: doing the reference angle but forgetting the sign, or the reverse. You need both halves: the reference angle for the size, the quadrant for the sign.

Angles that land on an axis

Some angles point straight along an axis, and you read their values right off the circle's coordinates. At 0 degrees the point is (1, 0); at 90 degrees, (0, 1); at 180 degrees, (-1, 0); at 270 degrees, (0, -1). So cos 180° = -1 and sin 270° = -1. No reference angle needed; the coordinates are the answers.

Going around more than once

Adding a full turn (360 degrees, or 2π) lands you on the same spot, so those angles, called coterminal, share the same sine and cosine. Thus 400 degrees behaves like 400 - 360 = 40 degrees, and negative 30 degrees behaves like 330 degrees.

Why radians are worth it: arc length

Radians make circle formulas clean. The length of an arc cut by a central angle θ (in radians) on a circle of radius r is simply s = rθ. On a circle of radius 6 centimeters, an angle of π/3 cuts an arc of s = 6 × π/3 = 2π ≈ 6.28 centimeters. That tidy formula is exactly why science and higher math prefer radians.

Try it: Convert 225 degrees to radians, and give its reference angle. Take your time, then read on.

Worked answer: Multiply by π/180: 225 × π/180 = 5π/4 radians. Since 225 degrees is in Quadrant III, its reference angle is 225 - 180 = 45 degrees. Nicely done.

A real reason this matters

Arc length measures the real world. Each degree of latitude on Earth (radius about 6371 km) spans s = 6371 × π/180 ≈ 111 kilometers, which is how early navigators sized the planet. A 40-meter wind-turbine blade sweeping a quarter turn moves its tip through 40 × π/2 = 20π ≈ 62.8 meters. And because the unit circle carries sine and cosine to every angle, it is the engine behind rotating machinery, alternating current, and the yearly swing of daylight that the next lesson graphs.

Common misconceptions

  • Thinking π radians is a full circle. A full circle is 2π; the number π is a half turn, 180 degrees.
  • Writing the point as (sin, cos). The x-coordinate comes first, and x is cosine: the point is (cosθ, sinθ).
  • Measuring the reference angle from the y-axis. It is always the acute angle to the x-axis; for 150 degrees it is 30, not 60.
  • Wrong calculator mode. Evaluating in the wrong units gives wrong answers; match the calculator mode to degrees or radians.
  • Skipping the sign step. The reference angle gives the size; the quadrant gives the sign. You need both.

Recap

Degrees and radians are two rulers for the same angles, linked by 180 degrees = π radians, and radians shine through the arc-length formula s = rθ. The unit circle defines cosine and sine as the x and y coordinates of the point where the angle's terminal side meets the circle, which extends both functions to every angle, with coterminal angles sharing values. Axis angles read straight off the coordinates, and every other angle reduces to the special-angle table by its reference angle plus the quadrant's sign, remembered as All Students Take Calculus. You freed sine and cosine from the triangle today.

Sources

  1. OpenStax. (2021). 7.1 Angles. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 7.3 Unit circle. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2021). 5.1 Angles. In Precalculus 2e. openstax.org
  4. OpenStax. (2021). 5.2 Unit circle: Sine and cosine functions. In Precalculus 2e. openstax.org
  5. Khan Academy. (n.d.). Trigonometry. khanacademy.org
  6. Math is Fun. (n.d.). Unit circle. mathsisfun.com
  7. Math is Fun. (n.d.). Interactive unit circle. mathsisfun.com
Key terms
degree
An angle measure where a full circle is 360 degrees.
radian
An angle measure where a full circle is 2 pi; 180 degrees equals pi radians.
unit circle
The circle of radius 1 centered at the origin where a point is (cos, sin).
standard position
An angle with its vertex at the origin and initial side on the positive x-axis.
reference angle
The acute angle between the terminal side and the x-axis.

Graphs of Sine and Cosine

  • Describe the shape, period, and midline of sine and cosine graphs.
  • Identify amplitude and period from an equation.
  • Sketch a transformed sine or cosine curve.

Riding a Ferris wheel, written down

A Ferris wheel is 40 meters across, turns once every 3 minutes, and its lowest car hangs 2 meters above the ground. Get in at the bottom and your height t minutes later is h(t) = 22 - 20cos(2πt/3). Check it at t = 0: cosine of 0 is 1, so h is 22 minus 20, which is 2 meters, exactly where you got in. Every number in that equation is something you could measure with a tape and a stopwatch. The 20 is the radius, the 22 is the height of the axle, and the 3 is how long a full turn takes. This last lesson is about reading those numbers off a wave, and writing them back on.

The core of it: Sine and cosine are repeating waves, and four numbers (amplitude, period, phase shift, midline) describe any of them.

The two basic waves

The sine curve starts at 0, rises to 1, comes back to 0, dips to negative 1, and returns to 0, all in one trip. The cosine curve is the very same shape but starts at the top, at 1. Because they repeat forever, they are called periodic, and the length of one full trip is the period. For plain sine and cosine, the natural period is 2π.

Amplitude: how tall the wave is

The amplitude is the height from the middle of the wave up to a peak. In y = a sin(x) or y = a cos(x), the amplitude is the size of a, written |a|. So y = 3 sin(x) rises to 3 and falls to negative 3. A bigger a makes a taller wave.

Midline: where the wave is centered

The midline is the horizontal line halfway between the top and bottom of the wave. Adding a constant on the outside lifts the whole wave. y = sin(x) + 2 has midline y = 2, so it swings between 1 and 3 instead of between negative 1 and 1.

Period: how fast the wave repeats

The number multiplying x inside changes how quickly the wave cycles. For y = sin(bx), the period is 2π ÷ |b|. A bigger b squeezes more waves into the same space, so the wave repeats faster.

Read the features of y = 4 cos(2x).

  1. Amplitude is the size of 4, so |4| = 4. The curve runs between 4 and negative 4.
  2. Period is 2π ÷ 2 = π. One full cycle finishes in a span of π instead of 2π, so it is twice as fast.

Where people get stuck: reading the period as b itself. The period is 2π ÷ |b|, so a bigger b means a shorter, faster wave, not a slower one. Read that once more, since it feels backward at first.

Building an equation from features

You can also run it in reverse. Write a cosine wave with amplitude 5 and period π.

  1. The amplitude gives a = 5.
  2. For the period, solve 2π ÷ b = π, which gives b = 2.
  3. So one answer is y = 5 cos(2x).

Five points make a sketch

Every cycle is anchored by five evenly spaced points: the start, the quarter, the half, the three-quarter, and the end of one period. For y = sin(x) those heights go midline, maximum, midline, minimum, midline, at x = 0, π/2, π, 3π/2, 2π with heights 0, 1, 0, -1, 0. Plot the five anchors, connect them with a smooth curve, and your sketch is done. Cosine uses the same five x-values but starts at the maximum.

Worked example: a full sketch from the equation

Put every dial together on one function. Question: Describe and sketch y = 3 sin(2x) - 1.

  1. Amplitude. The multiplier out front is 3, so the wave rises and falls 3 units from its centre.
  2. Midline. The - 1 outside lowers the centre to y = -1.
  3. Range. Centre minus amplitude to centre plus amplitude: from -1 - 3 = -4 up to -1 + 3 = 2.
  4. Period. The 2 inside compresses the wave: period is 2π/2 = π. One full cycle now takes half the usual width.
  5. Five key points. Divide one period into quarters: x = 0, π/4, π/2, 3π/4, π.
x0π/4π/23π/4π
2x0π/2π3π/22π
sin(2x)010-10
y = 3sin(2x) - 1-12-1-4-1

The curve starts on the midline at (0, -1), climbs to its maximum (π/4, 2), returns to the midline at (π/2, -1), drops to its minimum (3π/4, -4), and comes back to the midline at (π, -1), ready to repeat.

Verify the maximum directly. At x = π/4 the inside is 2(π/4) = π/2, and sin(π/2) = 1, so y = 3(1) - 1 = 2. Confirmed.

Where people get stuck: reading the 2 in sin(2x) as a period of 2. It is not the period; it is how many cycles fit in the usual 2π. Two cycles in 2π means each one is π wide, which is why the formula divides rather than multiplies. Whenever you doubt it, build the middle row of that table - work out what 2x becomes - and the compression is impossible to misread.

The full form, one letter at a time

The general wave is y = a sin(b(x - c)) + d, and each letter controls exactly one feature:

  • |a| is the amplitude (how tall).
  • 2π ÷ |b| is the period (how fast).
  • c is the phase shift, sliding the wave right if positive, left if negative.
  • d is the midline (how high the center sits).

The maximum is d + |a| and the minimum is d - |a|. If a is negative, the wave flips and starts by heading down. Analyze y = 2 sin(3(x - π/6)) + 1: amplitude 2, period 2π/3, phase shift π/6 to the right, midline y = 1, swinging between 3 and negative 1.

Try it: State the amplitude and period of y = 2 sin(3x). Take your time, then read on.

Worked answer: The amplitude is the size of the front number, |2| = 2. The period is 2π ÷ 3 = 2π/3. Nicely done, and that is the whole reading skill.

A real reason this matters

These waves are the mathematics of anything that cycles. A harbor's depth might follow h(t) = 1.5 sin(πt/6) + 4, swinging between 2.5 and 5.5 meters around a 4-meter midline, with period 2π ÷ (π/6) = 12 hours, matching the roughly twice-daily tide. Household electricity in the United States is V(t) = 170 sin(120πt), whose period 2π ÷ (120π) = 1/60 second means 60 cycles a second. Daylight through the year, sound, and a heartbeat on a monitor all wear this same shape. You can now model them.

Common misconceptions

  • Reading the period as b. The period is 2π ÷ |b|; a bigger b makes a faster, shorter wave.
  • Calling the amplitude negative. Amplitude is a distance, |a|; a negative a flips the wave but the amplitude stays positive.
  • Confusing maximum with amplitude. The maximum is d + |a|; with a raised midline, an amplitude-3 wave can peak at 8.
  • Expecting a or b to move the midline. Only the constant d added outside lifts the wave; a and b just stretch it.
  • Forgetting a negative a starts the wave downward. The reflection flips the usual up-first motion to down-first.

The short version

Sine and cosine graph as endless smooth waves with natural period 2π, and the full form y = a sin(b(x - c)) + d dials in every feature: |a| is the amplitude, 2π ÷ |b| is the period, c is the phase shift, and d is the midline, with a negative a flipping the wave. Five anchor points per cycle make sketching quick, and the same four numbers can be read off a graph to rebuild its equation. Tides, Ferris wheels, alternating current, and every steady cycle in nature are described by exactly these curves. You finished the course by learning to draw the rhythm of the world.

Sources

  1. OpenStax. (2021). 8.1 Graphs of the sine and cosine functions. In Algebra and Trigonometry 2e. openstax.org
  2. OpenStax. (2021). 8.2 Graphs of the other trigonometric functions. In Algebra and Trigonometry 2e. openstax.org
  3. OpenStax. (2021). 6.1 Graphs of the sine and cosine functions. In Precalculus 2e. openstax.org
  4. OpenStax. (2021). 3.5 Transformation of functions. In Algebra and Trigonometry 2e. openstax.org
  5. Khan Academy. (n.d.). Trigonometry. In Algebra 2. khanacademy.org
  6. Math is Fun. (n.d.). Amplitude, period, frequency and phase shift. mathsisfun.com
  7. Math is Fun. (n.d.). Graphs of sine, cosine and tangent. mathsisfun.com
Key terms
periodic function
A function whose values repeat over a fixed interval.
period
The horizontal length of one complete cycle, 2 pi over the absolute value of b.
amplitude
The distance from the midline to a peak, equal to the absolute value of a.
midline
The horizontal line halfway between the maximum and minimum.
sinusoid
A graph shaped like the sine or cosine curve.

Open the interactive version with quizzes and progress →