College Algebra
Real Numbers & Exponents
Most people who find algebra hard are not really stuck on algebra. They are stuck on a few rules of arithmetic. Those rules were taught fast, years ago, and never looked at again. This chapter goes back and lays those rules out with care. You will see what kinds of numbers exist and how they act when you add and multiply them. You will see the order that operations happen in, and how exponents work. Nothing here is beyond you, and nothing will be rushed; every rule comes with a reason. Every example is worked out one step at a time, in plain view. Get this chapter solid, and the rest of algebra stops feeling like guesswork.
By the end of this chapter you can
- Name the natural, whole, integer, rational, irrational, and real numbers, and sort any number into the right sets.
- Change a repeating decimal into a fraction, and explain why that proves the number is rational.
- State and use the commutative, associative, distributive, identity, and inverse properties by name.
- Explain why subtraction and division are not commutative or associative, and why you cannot divide by zero (it is undefined).
- Work out the value of any number expression using the correct order of operations, including signed numbers and grouping symbols.
- Use the product, quotient, power, zero, and negative exponent rules, and state the limits that come with each one.
- Write very large and very small numbers in scientific notation, and multiply, divide, and add them.
Section 1The real number system

Start with counting, then notice what is missing
The first numbers anyone learns are the ones you count with: 1, 2, 3, 4, and on forever; these are the natural numbers (often written N). They are sometimes called the counting numbers. They are very useful, but they leave a lot out. Try to count the sheep in an empty field, and you need a number they do not have. Add zero, and you have the whole numbers (W): 0, 1, 2, 3, and up.
Now try to write down a temperature of eight degrees below zero. Or think of a bank account that is 40 dollars overdrawn. You need numbers on the other side of zero. Add the negatives, and you have the integers (Z): …, −3, −2, −1, 0, 1, 2, 3, … Notice the pattern that is starting to form. Each new set keeps everything the old set had. Then it adds the piece that was missing. Every natural number is a whole number, and every whole number is an integer. That nesting, one set inside the next, is just what the figure above shows you.
Rational numbers: anything you can write as a fraction
Integers still cannot handle half a pizza. A rational number (Q, for quotient) is any number you can write as a ratio of two integers. That means you can write it as (a)/(b), where a and b are integers and b ≠ 0. That limit is not there for show; you cannot divide by zero (it is undefined). So a denominator, the bottom of a fraction, can never be zero. You will see that condition next to fractions for the rest of your math life.
The rationals are a bigger group than they first seem. Every integer is secretly a fraction: 7 = (7)/(1), and −12 = (−12)/(1). Every decimal that ends (a terminating decimal) is a fraction: 0.25 = (25)/(100) = (1)/(4). And this one surprises people: every repeating decimal is a fraction too. Written as a decimal, a rational number either stops or falls into a block of digits that repeats. There is no third choice.
Irrational numbers, and the real number line
Some decimals never stop and never repeat; those are the irrational numbers. The famous ones are √2 = 1.41421356…, π = 3.14159265…, and e = 2.71828182…. None of them can be written as a fraction of two integers. That fact can be proved. It is not just that no one has found the right fraction yet. Be careful: √9 = 3 is fully rational. Only the square roots that do not come out evenly land in the irrational pile.
Put the rationals and the irrationals together, and you get the real numbers (R). These are all the numbers that have a place on the number line, with no gaps anywhere. Every real number is exactly one point on that line. And every point on that line is exactly one real number. Here is one last limit worth knowing now. √−4 is not a real number, because no real number times itself gives a negative result. Even roots of negatives (square roots, fourth roots, and so on) step outside the real numbers completely.
| Set | Symbol | What is in it | Examples | What it still cannot do |
|---|---|---|---|---|
| Natural | N | 1, 2, 3, 4, … | 7, 250 | No zero, no negatives, no fractions |
| Whole | W | 0, 1, 2, 3, … | 0, 19 | No negatives, no fractions |
| Integer | Z | …, −2, −1, 0, 1, 2, … | −12, 0, 45 | No fractions |
| Rational | Q | Any (a)/(b), a and b integers, b ≠ 0 | (3)/(4), −0.25, 0.666…, 8 | Cannot express √2 or π |
| Irrational | - | Decimals that never end and never repeat | π, √2, √10, e | Cannot be written as a fraction of integers |
| Real | R | All rationals and all irrationals together | Everything on the number line | Cannot express √−4 |
Worked example: turning a repeating decimal into a fraction
Here is the trick that proves repeating decimals are rational. Let us change 0.727272… into a fraction, step by step, showing every line.
Step 1: name the number. Let x = 0.727272…
Step 2: move the decimal point past one full repeating block. The block "72" is two digits long, so multiply both sides by 102 = 100:
100x = 72.727272…
Step 3: subtract the first equation from the new one. The endless tails are the same, so they cancel:
100x − x = 72.727272… − 0.727272…
99x = 72
Step 4: solve for x. Divide both sides by 99:
x = (72)/(99)
Step 5: reduce. Both 72 and 99 are divisible by 9. 72 ÷ 9 = 8 and 99 ÷ 9 = 11, so
x = (8)/(11)
Step 6: check. Divide 8 by 11 by hand: 8.000 ÷ 11 gives 0.7272… ✓ The first decimal comes back, so the answer is right. And 8 and 11 are both integers with 11 ≠ 0. So the number 0.727272… is rational, just as promised.
- The sets nest, one inside the next: natural ⊂ whole ⊂ integer ⊂ rational ⊂ real.
- A rational number is any (a)/(b) with integers a, b and b ≠ 0. As a decimal, it ends or repeats.
- An irrational number has a decimal that never ends and never repeats: π, e, and roots like √2 that do not come out evenly.
- The real numbers are all the rationals plus all the irrationals. They fill the number line with no gaps. An even root of a negative is not real (√−4 has no real value). But odd roots, such as the cube root of −8, are real.
Section 2Properties of real numbers

Five rules you already use without naming
You have used these properties for years without ever calling them by name. So why learn the names now? Books, teachers, and test questions will ask you to justify a step, which means to give the reason for it. "Because that is how it works" is not an answer they accept. Each property is a promise. It tells you what you may move around without changing the value.
The commutative property says order does not matter: a + b = b + a, and a · b = b · a. The associative property says grouping does not matter: (a + b) + c = a + (b + c), and (ab)c = a(bc). The distributive property links multiplication to addition: a(b + c) = ab + ac. It is the most used property in all of algebra. It also works in both directions. Read left to right, it expands. Read right to left, it factors.
The identity properties name the two numbers that change nothing: a + 0 = a (zero is the additive identity) and a · 1 = a (one is the multiplicative identity). The inverse properties name the partner that undoes a number. One is a + (−a) = 0. Here −a is the opposite, or additive inverse. The other is a · (1)/(a) = 1. Here (1)/(a) is the reciprocal, or multiplicative inverse. That second one has a limit, a ≠ 0, because (1)/(0) does not exist.
Where these properties do not apply
This is where careless work goes wrong. Commutative and associative work for addition and multiplication only. Subtraction and division get neither one. Check it yourself with real numbers. 8 − 3 = 5 but 3 − 8 = −5, so subtraction is not commutative. And 12 ÷ 4 = 3 but 4 ÷ 12 = (1)/(3), so division is not commutative either. Grouping fails the same way. (12 − 5) − 2 = 7 − 2 = 5, while 12 − (5 − 2) = 12 − 3 = 9. Same numbers, same order, different grouping, different answer.
There is a fix, though, and it is worth learning well. Rewrite subtraction as adding the opposite. Rewrite division as multiplying by the reciprocal. Once 8 − 3 becomes 8 + (−3), you are back in addition, and all the addition properties return. This is why algebra teachers keep saying that subtraction is "just addition in a costume."
| Property | Addition form | Multiplication form | Numerical check |
|---|---|---|---|
| Commutative | a + b = b + a | ab = ba | 4 + 9 = 9 + 4 = 13 |
| Associative | (a+b)+c = a+(b+c) | (ab)c = a(bc) | (2·5)·3 = 2·(5·3) = 30 |
| Distributive | a(b + c) = ab + ac | 6(10 + 3) = 60 + 18 = 78 | |
| Identity | a + 0 = a | a · 1 = a | −7 + 0 = −7; −7 · 1 = −7 |
| Inverse | a + (−a) = 0 | a · (1)/(a) = 1, a ≠ 0 | 5 + (−5) = 0; 5 · (1)/(5) = 1 |
Worked example: naming every property in a simplification
Simplify 3(2x − 5) + 4x, and give the name of the property behind each step.
Step 1: rewrite the subtraction as adding the opposite, so the distributive property applies cleanly:
3(2x − 5) + 4x = 3 [ 2x + (−5) ] + 4x
Step 2: distribute the 3 across both terms (distributive property):
= 3(2x) + 3(−5) + 4x
Step 3: do the arithmetic inside each product. 3 · 2 = 6, and 3 · (−5) = −15:
= 6x + (−15) + 4x
Step 4: move 4x next to 6x (commutative property of addition):
= 6x + 4x + (−15)
Step 5: group the like terms (associative property of addition):
= (6x + 4x) + (−15)
Step 6: factor out the x (distributive property, read right to left):
= (6 + 4)x + (−15)
Step 7: finish the arithmetic. 6 + 4 = 10, and "+ (−15)" is written as "− 15":
= 10x − 15
Check with a number. Let x = 2. Original: 3(2·2 − 5) + 4·2 = 3(4 − 5) + 8 = 3(−1) + 8 = −3 + 8 = 5. Simplified: 10(2) − 15 = 20 − 15 = 5. ✓ They match, so you can trust the simplified form.
The distributive property as a mental-math shortcut
Watch how much work the distributive property saves. Say you want 7 × 98 without a calculator. Notice that 98 = 100 − 2:
7 × 98 = 7(100 − 2) = 7(100) − 7(2) = 700 − 14 = 686
That is the same property you will use to expand 7(x − 2) into 7x − 14. Numbers and variables follow the same rules; that is really the whole idea behind algebra.
- Commutative means the order can change. Associative means the grouping can change. Both work for addition and multiplication only.
- Distributive, a(b + c) = ab + ac, is the workhorse. It expands one way and factors the other.
- Identities: 0 for addition, 1 for multiplication. Inverses: −a for addition, and (1)/(a) for multiplication, with a ≠ 0.
- Rewrite subtraction as adding the opposite and division as multiplying by the reciprocal to get the properties back.
Section 3Order of operations

Why an order is needed at all
Take the expression 2 + 3 × 4. Add first, and you get 5 × 4 = 20. Multiply first, and you get 2 + 12 = 14. You could argue for either one, and that cannot stand. An expression has to mean one thing, so mathematicians agreed on a fixed order. Everything from your calculator to the software that flies a spacecraft follows it. The correct value is 14, because multiplication outranks addition.
The agreed order is often remembered as PEMDAS: Parentheses, Exponents, Multiplication and Division, Addition and Subtraction. But that short word misleads a great many people every year, so read the next part twice. Multiplication and division sit on the same level. You do them left to right, in the order they appear. Addition and subtraction sit on the same level too, and you also do them left to right. PEMDAS has four levels, not six.
| Level | What you do | Direction | Watch out for |
|---|---|---|---|
| 1. Grouping | Parentheses, brackets, and hidden groupers: fraction bars, radicals, absolute value | Innermost first | A fraction bar groups the whole top and the whole bottom |
| 2. Exponents | Powers and roots | Right to left when powers are stacked | −32 is not the same as (−3)2; a stacked 232 means 29 = 512, not 82 = 64 |
| 3. Multiply / Divide | Both, at the same rank | Left to right | 8 ÷ 2 × 4 is 16, not 1 |
| 4. Add / Subtract | Both, at the same rank | Left to right | 10 − 4 + 3 is 9, not 3 |
Signed numbers, carefully
Most order of operations mistakes are really sign mistakes. Four rules cover nearly everything. When you multiply or divide, the same signs give a positive and different signs give a negative: (−6)(−7) = 42, but (−6)(7) = −42. When you add two numbers with the same sign, add their sizes and keep the sign: −5 + (−8) = −13. When you add two numbers with different signs, subtract the smaller size from the larger. Then keep the sign of the larger: −9 + 4 = −5. And subtracting is adding the opposite: 6 − (−4) = 6 + 4 = 10.
Then there is the most common trap with exponents and signs. In −32, the exponent belongs only to the 3. So you square first and make it negative second: −32 = −(3 · 3) = −9. In (−3)2, the parentheses make −3 the base. So (−3)2 = (−3)(−3) = 9. Those two expressions differ by more than a sign; they are different questions.
| Expression | What the base is | Work | Value |
|---|---|---|---|
| −32 | 3 (the minus is applied after) | −(3 · 3) | −9 |
| (−3)2 | −3 | (−3)(−3) | 9 |
| (−3)3 | −3 | (−3)(−3)(−3) = 9 · (−3) | −27 |
| −33 | 3 | −(3 · 3 · 3) | −27 |
Worked example: a full expression, one step at a time
Find the value of 8 + 3(7 − 2 · 5)2 ÷ 9 − (−4). Nothing gets skipped.
Step 1: work inside the parentheses first. Inside, multiplication outranks subtraction, so 2 · 5 = 10:
= 8 + 3(7 − 10)2 ÷ 9 − (−4)
Step 2: finish inside the parentheses. 7 − 10 = −3:
= 8 + 3(−3)2 ÷ 9 − (−4)
Step 3: exponents. The base is −3 because of the parentheses, and (−3)(−3) = 9:
= 8 + 3 · 9 ÷ 9 − (−4)
Step 4: multiplication and division, left to right. The leftmost is 3 · 9 = 27:
= 8 + 27 ÷ 9 − (−4)
Step 5: continue left to right. 27 ÷ 9 = 3:
= 8 + 3 − (−4)
Step 6: addition and subtraction, left to right. 8 + 3 = 11:
= 11 − (−4)
Step 7: subtracting a negative is adding a positive. 11 + 4 = 15.
Notice how much of the hard part sat in Steps 3 and 7, the two places where signs mattered. That is typical.
Worked example: substituting values into an expression
Find the value of b2 − 4ac when a = 2, b = −5, and c = −3. (You will meet this exact expression again; it is the discriminant in the quadratic formula.)
Step 1: substitute, and put every negative value in parentheses. This one habit prevents most sign errors:
b2 − 4ac = (−5)2 − 4(2)(−3)
Step 2: exponents first. (−5)(−5) = 25:
= 25 − 4(2)(−3)
Step 3: multiply left to right. 4 · 2 = 8:
= 25 − 8(−3)
Step 4: keep multiplying. 8 · (−3) = −24:
= 25 − (−24)
Step 5: subtract the negative. 25 + 24 = 49.
Worked example: the fraction bar as a grouping symbol
Find the value of (4 − 2(−3))/((−1)2 + 4). A fraction bar acts like hidden parentheses. It wraps the whole numerator (top) and the whole denominator (bottom). So you must finish both before you divide.
Step 1: numerator, multiplication first. 2(−3) = −6, so the numerator is 4 − (−6) = 4 + 6 = 10.
Step 2: denominator, exponent first. (−1)2 = (−1)(−1) = 1, so the denominator is 1 + 4 = 5.
Step 3: now divide. (10)/(5) = 2.
Before you divide, always make sure the denominator is not zero. Here it is 5, so the expression has a value (it is defined). If a denominator ever works out to 0, the expression is undefined, and there is no value to report.
- Order: grouping → exponents → multiply/divide → add/subtract. That is four levels, not six.
- Multiplication and division are done together left to right, and so are addition and subtraction. Do not follow the order of the letters in the word.
- Fraction bars, radical signs, and absolute value bars are hidden parentheses.
- −a2 squares first and makes it negative second. (−a)2 squares the negative. Put every negative you substitute in parentheses, every time.
Section 4Integer exponents
What an exponent actually abbreviates
An exponent is just repeated multiplication written in a short way. In a5, the number a is the base, and 5 is the exponent or power. It means a · a · a · a · a: five factors of a. You can find every exponent rule again by writing out the factors and canceling. That is worth knowing. It means you never have to memorize a rule you cannot rebuild.
Watch the product rule show up on its own. Take a3 · a2 and write it out: (a · a · a)(a · a) = a · a · a · a · a = a5. Three factors plus two factors is five factors. So am · an = am+n. You add exponents when you multiply like bases, meaning the same base. Note that "like bases" is required. a3 · b2 cannot be combined at all.
The zero and negative exponent rules are not arbitrary
People are often told that "anything to the zero power is 1," with no reason given. It feels like a made up rule, but it is not. Work out (23)/(23) two different ways. By plain arithmetic, (8)/(8) = 1. By the quotient rule, 23−3 = 20. Both answers describe the same amount, so 20 = 1. The same reasoning works for any base that is not zero. That is just why the rule carries the limit a ≠ 0. 00 is undefined, because the reasoning would need you to divide 0 by 0.
Negative exponents come from the same move. Work out (23)/(25) both ways. Arithmetic: (8)/(32) = (1)/(4). Quotient rule: 23−5 = 2−2, so 2−2 = (1)/(4) = (1)/(22). In general, a−n = (1)/(an) with a ≠ 0. Say this out loud once, and it will stick: a negative exponent does not make a number negative. It moves the factor to the other side of the fraction bar. So 2−3 = (1)/(8), a positive number, and (1)/(x−4) = x4.
| Rule | Statement | Restriction | Example |
|---|---|---|---|
| Product | am · an = am+n | Same base; a ≠ 0 if either exponent is negative | x4 · x6 = x10 |
| Quotient | (am)/(an) = am−n | a ≠ 0 | (x9)/(x2) = x7 |
| Power of a power | (am)n = amn | a ≠ 0 if either exponent is negative | (x3)5 = x15 |
| Power of a product | (ab)n = anbn | a, b ≠ 0 if n is negative | (3x)2 = 9x2 |
| Power of a quotient | ((a)/(b))n = (an)/(bn) | b ≠ 0 | ((x)/(2))3 = (x3)/(8) |
| Zero exponent | a0 = 1 | a ≠ 0 | (−5)0 = 1, but −50 = −1 |
| Negative exponent | a−n = (1)/(an) | a ≠ 0 | 3−2 = (1)/(9) |
Worked example: simplifying with negative exponents
Simplify (12x5y−3)/(3x−2y4), and write the answer with positive exponents only. State any limits on the variables (restrictions).
Step 0: state the restrictions before you touch anything. The variables sit in denominators. (And y−3 is itself a denominator in disguise.) So we need x ≠ 0 and y ≠ 0. Everything below assumes that.
Step 1: split the expression into a number piece, an x piece, and a y piece:
= (12)/(3) · (x5)/(x−2) · (y−3)/(y4)
Step 2: divide the numbers. 12 ÷ 3 = 4:
= 4 · (x5)/(x−2) · (y−3)/(y4)
Step 3: use the quotient rule on x. Subtract the exponents, and be careful with the double negative: 5 − (−2) = 5 + 2 = 7:
= 4x7 · (y−3)/(y4)
Step 4: use the quotient rule on y. −3 − 4 = −7:
= 4x7y−7
Step 5: clear the negative exponent by moving that factor to the denominator:
= (4x7)/(y7) for x ≠ 0, y ≠ 0
Check with numbers. Let x = 1 and y = 2. Original: (12 · 1 · 2−3)/(3 · 1 · 24) = (12 · (1)/(8))/(3 · 16) = (1.5)/(48) = 0.03125. Answer: (4 · 1)/(27) = (4)/(128) = 0.03125. ✓
Worked example: a negative power of a whole group
Simplify (2a3b−1)−2, positive exponents only, with a ≠ 0 and b ≠ 0.
Step 1: the outer exponent hits every factor inside (power of a product):
= 2−2 · (a3)−2 · (b−1)−2
Step 2: multiply the exponents (power of a power). 3 · (−2) = −6 and (−1)(−2) = 2:
= 2−2 · a−6 · b2
Step 3: evaluate 2−2. It equals (1)/(22) = (1)/(4):
= (1)/(4) · a−6 · b2
Step 4: move a−6 to the denominator and collect:
= (b2)/(4a6) for a ≠ 0, b ≠ 0
A quick check on Step 3: the answer must be positive, since 2−2 is a positive fraction. If you wrote −4 there, the negative exponent trap caught you.
- Multiplying like bases adds exponents. Dividing subtracts them. A power of a power multiplies them.
- a0 = 1 for a ≠ 0, because an ÷ an equals both 1 and a0.
- a−n = (1)/(an), with a ≠ 0. A negative exponent moves a factor. It never makes the value negative.
- Powers spread over products and quotients, but never over sums: (x + y)2 ≠ x2 + y2.
Section 5Scientific notation

The form, and the one rule that defines it
Real amounts are often silly to write out in full. The mass of Earth is about 5,970,000,000,000,000,000,000,000 kilograms. The width of a hydrogen atom is about 0.000000000106 meters. Counting all those zeros invites mistakes. So we use scientific notation, where every number is written as
a × 10n, where 1 ≤ |a| < 10 and n is an integer
That condition on a is the whole rule, and it is strict. Exactly one digit that is not zero sits to the left of the decimal point. So 5.97 × 1024 is proper scientific notation. But 59.7 × 1023 and 0.597 × 1025 are equal in value, not in proper form. The exponent n is positive for large numbers (|a × 10n| of 10 or more). It is zero when the number already sits between 1 and 10. It is negative for small ones (absolute value between 0 and 1). That gives you a quick check on any answer.
Worked example: converting in both directions
Large number. Write 5,970,000,000,000,000,000,000,000 in scientific notation.
Step 1: place the decimal point so exactly one digit that is not zero is in front of it. That puts it between the 5 and the 9: 5.97
Step 2: count how many places the decimal moved. It started at the far right end of the number and moved left 24 places.
Step 3: moving left means a positive exponent. You shrank a huge number, so the power of ten must build it back up:
5,970,000,000,000,000,000,000,000 = 5.97 × 1024 kg
Small number. Write 0.000000000106 in scientific notation.
Step 1: place the decimal point after the first digit that is not zero. That digit is 1, so the number becomes 1.06
Step 2: count the move. From 0.000000000106 the decimal moved right 10 places to sit after the 1.
Step 3: moving right means a negative exponent:
0.000000000106 = 1.06 × 10−10 m
Going back the other way. To write out 3.4 × 10−5, move the decimal point 5 places left, filling with zeros: 0.000034. To write out 2.9 × 106, move it 6 places right: 2,900,000.
| Written out | Scientific notation | Decimal moved | Sign of exponent |
|---|---|---|---|
| 7,500 | 7.5 × 103 | 3 places left | Positive (number > 10) |
| 62,000,000 | 6.2 × 107 | 7 places left | Positive |
| 1 | 1 × 100 | no move | Zero |
| 0.0045 | 4.5 × 10−3 | 3 places right | Negative (0 < number < 1) |
| 0.00000082 | 8.2 × 10−7 | 7 places right | Negative |
| −0.00031 | −3.1 × 10−4 | 4 places right | Negative (the sign of the number is separate) |
Worked example: multiplying and dividing
This is where Section 4 pays off; the exponent rules do all the work.
Multiply: (3.2 × 105)(4.5 × 10−9)
Step 1: regroup so the decimals are together and the powers of ten are together. Here the commutative and associative properties do real work:
= (3.2 × 4.5)(105 × 10−9)
Step 2: multiply the decimals. 3.2 × 4.5 = 14.4
Step 3: add the exponents (product rule). 5 + (−9) = −4:
= 14.4 × 10−4
Step 4: fix the form. 14.4 is not between 1 and 10, so rewrite 14.4 as 1.44 × 101:
= 1.44 × 101 × 10−4 = 1.44 × 10−3
Divide: (6.4 × 107)/(8.0 × 10−3)
Step 1: split into a decimal quotient and a power-of-ten quotient:
= (6.4)/(8.0) × (107)/(10−3)
Step 2: divide the decimals. 6.4 ÷ 8.0 = 0.8
Step 3: subtract the exponents (quotient rule), watching the double negative: 7 − (−3) = 7 + 3 = 10:
= 0.8 × 1010
Step 4: fix the form. 0.8 is less than 1, so write it as 8.0 × 10−1:
= 8.0 × 10−1 × 1010 = 8.0 × 109
Worked example: adding requires a matching exponent
Add 4.2 × 106 + 3.5 × 105. You cannot just add the decimals here. The two terms are not counted in the same size unit. One is in millions, and the other is in hundred thousands.
Step 1: rewrite the smaller term to match the larger exponent. To raise the exponent from 5 to 6, shift the decimal point one place left: 3.5 × 105 = 0.35 × 106. (Check: 0.35 × 1,000,000 = 350,000, and 3.5 × 100,000 = 350,000. ✓)
Step 2: now both terms carry 106, so factor it out (distributive property):
= (4.2 + 0.35) × 106
Step 3: add the decimals. 4.2 + 0.35 = 4.55:
= 4.55 × 106
Step 4: check the form. 4.55 sits between 1 and 10, so the answer is already in proper form. Written out, that is 4,550,000, which matches 4,200,000 + 350,000. ✓
- Proper form is a × 10n, with 1 ≤ |a| < 10 and n an integer.
- Numbers with an absolute value of 10 or more get a positive exponent. Those with an absolute value between 0 and 1 get a negative one. The sign of the number itself is carried by a, never by n.
- To multiply, multiply the decimals and add the exponents. To divide, divide the decimals and subtract the exponents.
- To add or subtract, first rewrite the terms so both carry the same power of ten. Then factor it out.
The chapter in one breath
- The number sets nest: natural ⊂ whole ⊂ integer ⊂ rational ⊂ real. The irrationals fill the rest of the gaps on the number line.
- A number is rational exactly when you can write it as (a)/(b) with integers and b ≠ 0. Put another way, its decimal ends or repeats.
- Commutative (order) and associative (grouping) work for addition and multiplication only. The distributive property links the two. It both expands and factors.
- Identities are 0 and 1. Inverses are −a and (1)/(a). 0 has no reciprocal, because you cannot divide by zero.
- Order of operations runs grouping → exponents → multiply/divide → add/subtract. The middle two levels are each worked left to right.
- −a2 and (−a)2 are different expressions. Put parentheses around every negative you substitute.
- Exponents add when you multiply like bases, subtract when you divide, and multiply for a power of a power. a0 = 1 and a−n = (1)/(an), and both need a ≠ 0.
- Scientific notation is a × 10n with 1 ≤ |a| < 10. Multiplying adds exponents, and dividing subtracts them. Adding needs you to match them first.
ReferenceWords worth knowing
A quick list of the words in this chapter. Skim it now, and come back any time a word in a problem slows you down.
- Absolute value
- How far a number sits from zero on the number line. It is always zero or positive: |−7| = 7 and |7| = 7. The bars also act as a grouping symbol.
- Associative property
- Regrouping does not change the result: (a+b)+c = a+(b+c) and (ab)c = a(bc). It works for addition and multiplication only.
- Base
- In an, the number a that gets multiplied over and over. In −32 the base is 3. In (−3)2 the base is −3.
- Commutative property
- Reordering does not change the result: a+b = b+a and ab = ba. It works for addition and multiplication only.
- Distributive property
- a(b+c) = ab+ac. Read left to right it expands; read right to left it factors.
- Exponent
- The small raised number that tells how many factors of the base to multiply. It is also called the power.
- Identity property
- Adding 0 or multiplying by 1 leaves a number the same: a+0 = a, a·1 = a.
- Integers
- The whole numbers together with their negatives: …, −2, −1, 0, 1, 2, …
- Irrational number
- A real number whose decimal never ends and never repeats. So it cannot be written as a ratio of integers. Examples are π, e, and √2.
- Multiplicative inverse (reciprocal)
- The number that multiplies with a to give 1, which is (1)/(a). It exists only for a ≠ 0.
- Natural numbers
- The counting numbers 1, 2, 3, 4, … with no zero, no negatives, and no fractions.
- Opposite (additive inverse)
- The number that adds with a to give 0, which is −a. Every real number has one, even 0 itself.
- Order of operations
- The agreed order for finding the value of an expression. First grouping, then exponents, then multiplication and division left to right, then addition and subtraction left to right.
- Power
- Either the exponent itself or the whole expression an, depending on the setting. "3 to the fourth power" means 34 = 81.
- Radical sign
- The symbol √ that shows a root. It acts as a grouping symbol. So everything under it is worked out before the root is taken.
- Rational number
- Any number you can write as (a)/(b) with a and b integers and b ≠ 0. Put another way, any decimal that ends or repeats.
- Real number
- Any number with a place on the number line. That is every rational and every irrational number together.
- Repeating decimal
- A decimal in which a block of digits comes back forever, such as 0.727272… Every repeating decimal is rational.
- Scientific notation
- Writing a number as a × 10n with 1 ≤ |a| < 10 and n an integer.
- Undefined
- Having no value in the number system you are using. Examples are division by zero, 00, and √−4 within the real numbers.
- Whole numbers
- The natural numbers together with 0: 0, 1, 2, 3, …
Check yourself
Linear Equations & Inequalities
Almost everything you will ever do in algebra rests on one small and forgiving idea. Whatever you do to one side of an equation, do the same thing to the other side, and the equation stays true. That single rule, called the balance rule, is enough to solve every linear equation there is, from x + 3 = 7 to a formula full of letters. This chapter walks you through it slowly and out loud; you will learn how to get a variable by itself and what to do when fractions show up. You will see what it means when an equation has no answer or every answer. You will learn how to rearrange a formula for the letter you want, and how to turn an English sentence into an equation. Last, you will see how inequalities behave almost the same way, with one famous exception. If algebra has ever felt like a bag of tricks, this is the chapter where it becomes one method you can trust.
By the end of this chapter you can
- Solve a linear equation in one variable by getting the variable by itself (isolating it), and check your answer by putting it back in (substitution).
- Clear fractions and decimals from an equation by using the least common denominator.
- State the restrictions on a variable, and spot an extraneous solution, which is an answer that does not really work.
- Sort an equation as a conditional equation, an identity, or a contradiction, and state its solution set.
- Solve a literal equation, or formula, for any letter you choose, even when that letter appears twice.
- Turn an English sentence into an equation, and solve applied problems about numbers, money, and travel.
- Solve linear inequalities, and use the rule that flips the sign when you multiply or divide by a negative.
- Solve compound and absolute value inequalities, and write the answers in interval notation.
Section 1Solving linear equations

What "solve" actually means
An equation is a claim that two expressions are equal. A linear equation in one variable is one where the variable appears only to the first power. That means there is no x2, no √x, and no x alone in a denominator. To solve the equation is to find every number you could put in place of the variable that makes the claim true. That number is called a solution (or a root), and the group of all of them is called the solution set.
Here is the part that trips people up, so let us say it plainly. You are not "moving things around." You are doing the same operation to both sides of a balance. If the two sides start out equal and you add 5 to each of them, they are still equal; if you divide each of them by 3, they are still equal. Each move like this gives a new equation with exactly the same solutions, which is called an equivalent equation; you keep making moves until the equation reads x = something.
| Legal move | Name | Small example |
|---|---|---|
| Add the same number to both sides | Addition property of equality | x − 5 = 3 → x = 8 |
| Subtract the same number from both sides | Subtraction property of equality | x + 5 = 3 → x = −2 |
| Multiply both sides by the same nonzero number | Multiplication property of equality | (x)/(4) = 3 → x = 12 |
| Divide both sides by the same nonzero number | Division property of equality | 4x = 12 → x = 3 |
| Rewrite one side without changing its value | Distributive property, combining like terms | 2(x + 3) → 2x + 6 |
Notice the word nonzero, which means "not zero." Multiplying both sides by zero turns any equation into 0 = 0, which is true but useless. And dividing by zero is not defined at all; those are the only two moves that are not allowed in this whole chapter.
A worked example, every single step
Solve 5(x − 3) + 2 = 3x + 7; we will not skip anything along the way.
- Clear the parentheses using the distributive property. 5(x − 3) means 5·x − 5·3 = 5x − 15, so the equation becomes 5x − 15 + 2 = 3x + 7.
- Combine like terms on each side, one side at a time. On the left, −15 + 2 = −13, so now we have 5x − 13 = 3x + 7.
- Collect the variable terms on one side. Subtract 3x from both sides, so that all the x terms end up together on the left: 5x − 3x − 13 = 3x − 3x + 7, which simplifies to 2x − 13 = 7.
- Collect the constants on the other side. Add 13 to both sides, so that the plain numbers end up together on the right: 2x − 13 + 13 = 7 + 13, which gives 2x = 20.
- Undo the coefficient, the number multiplying x. Divide both sides by 2: (2x)/(2) = (20)/(2), so x = 10.
- Check. Put 10 back into the original equation. The left side is 5(10 − 3) + 2 = 5(7) + 2 = 35 + 2 = 37, and the right side is 3(10) + 7 = 30 + 7 = 37. Both sides are 37, so x = 10 is correct.
That order works every time: parentheses, combine, variables one way, numbers the other way, divide, and check; it is worth learning as a rhythm that you repeat, more than as a rule.
Fractions, decimals, and denominators that hold variables
Fractions are not harder than whole numbers, they are just noisier to work with. The fix is to multiply every term on both sides by the least common denominator (LCD), which wipes out the denominators in one stroke. Solve (x)/(3) + (1)/(4) = (x)/(2) − (5)/(6).
- Find the LCD of 3, 4, 2, and 6. The smallest number that all four divide into evenly is 12.
- Multiply every term by 12. Term by term: 12·(x)/(3) = 4x; 12·(1)/(4) = 3; 12·(x)/(2) = 6x; 12·(5)/(6) = 10. The equation is now 4x + 3 = 6x − 10, with no fractions left.
- Collect the variables. Subtract 4x from both sides, because 6x is the bigger x term and this keeps it positive: 3 = 2x − 10.
- Collect the constants. Add 10 to both sides, so that the number −10 is cleared away from the x term: 13 = 2x.
- Divide by 2. Dividing both sides by 2 leaves x alone, so x = (13)/(2) = 6.5.
- Check with x = 6.5 in the original equation. Left: (6.5)/(3) + (1)/(4) = 2.1667 + 0.25 = 2.4167. Right: (6.5)/(2) − (5)/(6) = 3.25 − 0.8333 = 2.4167. The two sides match, so x = (13)/(2) is correct.
Decimals work the same way; multiply both sides by 10, 100, or 1000, whichever clears the longest decimal, and you are back to working with whole numbers.
Sometimes the variable sits under a fraction bar, then you must first write down the values that would make a denominator zero. Those values are the restrictions (also called excluded values), and they are ruled out before you solve a single step; solve (3)/(x − 2) = (5)/(x + 4).
- Restrictions. x − 2 = 0 when x = 2, and x + 4 = 0 when x = −4. Since neither denominator may be zero, x ≠ 2 and x ≠ −4.
- Multiply both sides by (x − 2)(x + 4), which is the LCD here. The left side becomes 3(x + 4) and the right side becomes 5(x − 2), so 3(x + 4) = 5(x − 2).
- Distribute the number in front of each parenthesis to every term inside it: 3x + 12 = 5x − 10.
- Collect. Subtract 3x from both sides: 12 = 2x − 10. Add 10 to both sides: 22 = 2x. Divide both sides by 2: x = 11.
- Check against the restrictions and the original equation. 11 is neither 2 nor −4, so it is allowed. The left side is (3)/(11 − 2) = (3)/(9) = (1)/(3), and the right side is (5)/(11 + 4) = (5)/(15) = (1)/(3), so the answer is correct.
Sometimes the algebra hands you a number that a restriction rules out; solve (x)/(x − 3) = (3)/(x − 3) + 4, where x ≠ 3. Multiply everything by (x − 3): x = 3 + 4(x − 3) = 3 + 4x − 12 = 4x − 9. Subtract 4x: −3x = −9, so x = 3, but x = 3 is exactly the excluded value, because it makes the original denominators zero. It is an extraneous solution, an answer that looks right but does not work; the honest answer is that this equation has no solution.
Checking is not extra busywork that you can skip. Putting your answer back into the original equation is the only step that can catch a slip in the arithmetic, a dropped negative, or an extraneous solution. It takes about twenty seconds, and it is the difference between "I think it is 10" and "it is 10."
- A linear equation has the variable to the first power only. Solving it means finding every value that makes it true.
- Every allowed move is done to both sides and gives an equivalent equation. The allowed moves are to add, subtract, multiply by a number that is not zero, or divide by a number that is not zero.
- Clear fractions by multiplying every term by the LCD, and clear decimals by multiplying by a power of ten.
- If the variable appears in a denominator, list the restrictions first, and throw out any extraneous solution that breaks them.
Section 2Identities and contradictions

Not every equation has exactly one answer
Most of the equations you meet have exactly one solution, and it is easy to think that they all do; they do not. A linear equation in one variable has exactly one of three possible outcomes, and the last line of your work tells you which one you got.
A conditional equation is true only on the condition that the variable takes one particular value. That is the familiar case where you end with x = 7 and the solution set is {7}. An identity is true no matter what the variable is, because the two sides were secretly the same expression all along. You end with something like 4 = 4, and the solution set is all real numbers. A contradiction is true for no value at all; you end with something plainly false like −15 = 1, and the solution set is empty, written ∅ or { }.
| Type | Your last line looks like | Solution set | Picture (graph each side) |
|---|---|---|---|
| Conditional equation | x = a number | One value, e.g. {7} | Two lines crossing at one point |
| Identity | A true statement with no variable, e.g. 4 = 4 or 0 = 0 | All real numbers, (−∞, ∞) | The same line drawn twice |
| Contradiction | A false statement with no variable, e.g. −15 = 1 | No solution, ∅ | Two parallel lines: never meet |
Three worked examples, side by side
(a) An identity. Solve 4(x + 1) − 2x = 2x + 4.
- Distribute the 4 on the left side to both terms inside the parenthesis: 4x + 4 − 2x = 2x + 4.
- Combine like terms on the left side: 4x − 2x = 2x, so the equation becomes 2x + 4 = 2x + 4.
- Subtract 2x from both sides to try to get the variable alone, and you are left with 4 = 4.
- The variable vanished, and what is left is true, so this is an identity and every real number works. To spot check with x = 5, the left side is 4(6) − 10 = 24 − 10 = 14, and the right side is 10 + 4 = 14. Now try x = −1: the left side is 4(0) + 2 = 2, and the right side is −2 + 4 = 2. Both values work, as promised.
(b) A contradiction. Solve 3(2x − 5) = 6x + 1.
- Distribute the 3 on the left side to both terms inside the parenthesis: 6x − 15 = 6x + 1.
- Subtract 6x from both sides to try to get the variable alone, and you are left with −15 = 1.
- The variable vanished, and what is left is false. This is a contradiction, so there is no solution, ∅. Check with x = 0 to be sure: left = 3(−5) = −15, and right = 1. They differ by 16. They will differ by 16 for every value of x, because both sides grow at the same rate of 6 for each unit.
(c) A conditional equation. Solve 2(x + 6) = 3x + 5.
- Distribute the 2 on the left side to both terms inside the parenthesis: 2x + 12 = 3x + 5.
- Subtract 2x from both sides, so that the only x left is on the right side: 12 = x + 5.
- Subtract 5 from both sides: 7 = x, which is the same as x = 7.
- To check, the left side is 2(7 + 6) = 2(13) = 26, and the right side is 3(7) + 5 = 21 + 5 = 26. There is just one solution, {7}.
Why the picture explains everything
Think of each side of the equation as its own straight line; case (c) gives the lines y = 2x + 12 and y = 3x + 5. Their slopes differ (2 versus 3), so they must cross exactly once, and that crossing point is at x = 7. Case (b) gives y = 6x − 15 and y = 6x + 1; these have the same slope but different intercepts, so they are parallel and never touch. No crossing point means no solution; case (a) gives y = 2x + 4 twice. That is one line lying right on top of the other, touching at every point, which is why every number is a solution.
When the variable disappears, do not panic; read the sentence that is left. If both variable terms cancel, look at what remains. A true statement (7 = 7) means there are infinitely many solutions. A false statement (7 = 2) means there are none. People often write "x = 0" here, which is wrong in both cases, because zero is a specific answer and not the same as "no answer."
- A conditional equation is true for one value. An identity is true for all values. A contradiction is true for none.
- If the variable cancels and leaves a true statement, the solution is all real numbers, (−∞, ∞).
- If the variable cancels and leaves a false statement, there is no solution, ∅.
- On a graph: lines that cross give one solution, the same line twice gives infinitely many, and parallel lines give none.
Section 3Literal equations and formulas

Same rules, more letters
A literal equation is an equation with more than one letter in it, which is another way of saying a formula. A = lw, d = rt, and F = (9)/(5)C + 32 are all literal equations. To "solve a formula for a variable" means to rewrite it so that the letter you chose stands alone on one side, with everything else on the other side.
Here is the good news: there is nothing new to learn; you use exactly the same moves from Section 1. The only difference is in how it feels; the other letters look like they should be doing something, but they are not; they are just numbers you happen not to know yet. If you can solve 3x = 12 by dividing by 3, you can solve bx = 12 by dividing by b.
Worked examples, from easy to genuinely tricky
(a) Solve A = ½bh for h.
- The ½ is in the way, so clear it first. Multiply both sides by 2, because 2 times ½ is 1: 2A = 2 · ½bh = bh.
- Here h is multiplied by b, so undo that by dividing both sides by b: (2A)/(b) = h.
- Result: h = (2A)/(b), as long as b ≠ 0. (A triangle with no base has no height to find.)
- Check with real numbers. If b = 10 and h = 6, then A = ½(10)(6) = 30. Our formula gives h = (2 · 30)/(10) = (60)/(10) = 6, so it is correct.
(b) Solve F = (9)/(5)C + 32 for C. This is the formula for changing temperatures between scales. It is the classic exercise, because the order in which you undo things matters.
- C is multiplied by (9)/(5), and then 32 is added. So undo them in reverse order, and subtract 32 first: F − 32 = (9)/(5)C.
- Now undo the multiplication by (9)/(5). You undo multiplying by a fraction by multiplying by its reciprocal, which is (5)/(9): (5)/(9)(F − 32) = (5)/(9) · (9)/(5)C = C.
- Result: C = (5)/(9)(F − 32).
- Check with a number you know: water boils at F = 212. Then C = (5)/(9)(212 − 32) = (5)/(9)(180) = 5 · 20 = 100. Water does boil at 100 degrees Celsius, so it is correct.
(c) Solve P = 2L + 2W for W.
- Subtract 2L from both sides, so that only the term with W is left on the right: P − 2L = 2W.
- Divide both sides by 2, because W is being multiplied by 2: W = (P − 2L)/(2).
- Check with numbers. A rectangle with L = 9 and W = 4 has P = 2(9) + 2(4) = 18 + 8 = 26. Our formula gives W = (26 − 18)/(2) = (8)/(2) = 4, so it is correct.
- A common slip is to write W = P − L. You must divide the whole numerator by 2, not just part of it.
(d) The variable appears twice: solve ax + b = cx + d for x. This one looks scary, but it is the most useful pattern in the section.
- Gather every x term on one side. Subtract cx from both sides: ax − cx + b = d.
- Move the terms without x to the other side. Subtract b: ax − cx = d − b.
- Factor out x. This is the step people forget: x(a − c) = d − b. Factoring is what turns two x's into one.
- Divide by the whole parenthesis. x = (d − b)/(a − c), as long as a ≠ c.
- Check against Section 1. Solve 5x + 3 = 2x + 12 the long way, and you get 3x = 9, so x = 3. Now use the formula with a = 5, b = 3, c = 2, and d = 12: x = (12 − 3)/(5 − 2) = (9)/(3) = 3. You get the same answer.
That restriction, a ≠ c, is really Section 2 in disguise; if a = c, the two sides have the same slope. Then the equation is either a contradiction (if b ≠ d) or an identity (if b = d). The algebra warns you about this by asking you to divide by zero.
| Formula | What it describes | Solved for another variable |
|---|---|---|
| A = lw | Area of a rectangle | w = (A)/(l), l ≠ 0 |
| P = 2L + 2W | Perimeter of a rectangle | W = (P − 2L)/(2) |
| A = ½bh | Area of a triangle | h = (2A)/(b), b ≠ 0 |
| C = 2πr | Circumference of a circle | r = (C)/(2π) |
| d = rt | Distance traveled | t = (d)/(r), r ≠ 0 |
| I = Prt | Simple interest | r = (I)/(Pt), P, t ≠ 0 |
| F = (9)/(5)C + 32 | Fahrenheit from Celsius | C = (5)/(9)(F − 32) |
| A = P(1 + rt) | Balance with simple interest | r = (A − P)/(Pt) |
When the letters confuse you, sneak numbers in. Are you stuck on how to solve V = πr2h for h? Ask yourself how you would solve 12 = 3h; you would divide by 3. So divide by πr2 instead: h = (V)/(πr2); the letters never change the method, only how it feels.
- A literal equation is a formula with several letters. Solving it for one letter uses the same properties of equality as any other equation.
- Undo operations in reverse order. Remove addition and subtraction first, then multiplication and division.
- Undo multiplying by a fraction by multiplying by its reciprocal.
- If the letter you want appears twice, gather those terms and factor the variable out. Then divide by the whole parenthesis, and note the restriction that keeps that parenthesis from being zero.
Section 4Applications

The five-step method
Word problems scare people, but not because the algebra is hard; in fact, it is the easiest algebra in the chapter. They are scary because the step of turning words into math has not been practiced, so do that step on purpose, in writing, every single time; the method never changes.
- Read it twice, and say out loud what the problem is asking for.
- Name the unknown. Write "Let x = ..." with units. If there are two unknowns, write the second one in terms of the first.
- Translate the sentence into an equation, one phrase at a time.
- Solve the equation, using the same moves you learned in Section 1.
- Answer the question that was asked in a sentence with units. Then check your answer against the words of the problem, not just against your own equation.
Step 5 has two halves for a reason. You can solve your equation perfectly and still be wrong. Maybe you found the brother's age when the question asked for the sister's. Or maybe you solved for the discount when the question asked for the original price.
| English phrase | Translates to | Watch out for |
|---|---|---|
| the sum of a number and 7 | x + 7 | - |
| 7 more than a number | x + 7 | - |
| 7 less than a number | x − 7 | Not 7 − x: the order flips |
| a number decreased by 7 | x − 7 | - |
| twice a number | 2x | - |
| 4 more than twice a number | 2x + 4 | Not 2(x + 4) |
| the quotient of a number and 5 | (x)/(5) | Not (5)/(x) |
| 15% of a number | 0.15x | "of" means multiply; convert the percent |
| is, was, will be, gives | = | This is where the equals sign goes |
| consecutive integers | n, n + 1, n + 2 | - |
| consecutive even or odd integers | n, n + 2, n + 4 | Step by 2 for both even and odd |
Worked examples: ages, money, and travel
An age problem. Imani is 4 years older than twice her brother's age. Together their ages total 40. How old is each?
- Name the unknown. The brother's age is the simpler amount, so let b = the brother's age in years.
- Write the other unknown in terms of the first. "4 years older than twice her brother's age" means 2b + 4, so Imani's age is 2b + 4.
- Translate. "Together their ages total 40" means that the two ages added up give 40: b + (2b + 4) = 40.
- Solve. Combine like terms to get 3b + 4 = 40. Subtract 4 from both sides to get 3b = 36. Divide both sides by 3 to get b = 12.
- Answer both parts of the question. The brother is 12 years old, and Imani is 2(12) + 4 = 24 + 4 = 28 years old.
- Check against the words. Twice 12 is 24, and 4 more is 28, so Imani is indeed 4 years older than twice his age. And 12 + 28 = 40. Both sentences hold true.
A percent problem. A jacket sells for 68 dollars after a 15% discount. What was the original price?
- Name the unknown. Let p = the original price in dollars. Be careful here: the discount is 15% of the original price, not 15% of the 68 dollars.
- Translate. The original price minus the discount equals the sale price, so the equation is p − 0.15p = 68.
- Combine like terms. On its own, p means 1p, so 1p − 0.15p = 0.85p. The equation is now 0.85p = 68.
- Solve. Divide both sides by 0.85 to get p by itself: p = (68)/(0.85) = 80.
- Check against the words. 15% of 80 is 0.15(80) = 12, and 80 − 12 = 68, so it is correct. The original price was 80 dollars.
Notice the shortcut hiding in step 3. Taking 15% off is the same as keeping 85%, so you could have written 0.85p = 68 right away. That shortcut is worth knowing well, because it also works the other way for markups, where a 15% increase is 1.15p.
A distance problem. Two cars leave the same rest stop at the same time and drive in opposite directions. One goes 55 mi/h, and the other goes 65 mi/h; after how many hours are they 360 miles apart?
- Name the unknown. Let t = the time in hours. Both cars drive for the same amount of time, so they share the same t.
- Use d = rt for each car (distance equals rate times time). The first car covers 55t miles, and the second covers 65t miles.
- Translate. They move in opposite directions, so the gap between them is the sum of the two distances: 55t + 65t = 360.
- Solve. Combine like terms to get 120t = 360. Then divide both sides by 120 to get t = 3.
- Check against the words. In 3 hours, the first car goes 55(3) = 165 miles and the second goes 65(3) = 195 miles. Since they went opposite ways, they are 165 + 195 = 360 miles apart. So the answer is correct: 3 hours.
Here is one more pattern worth seeing, because it comes up all the time: three consecutive even integers sum to 84. Consecutive means they come one right after another. Let n be the smallest, so the next two are n + 2 and n + 4. Then n + (n + 2) + (n + 4) = 84 becomes 3n + 6 = 84, so 3n = 78 and n = 26. The integers are 26, 28, and 30, and 26 + 28 + 30 = 84, which is correct.
"Less than" reverses the order, but "less" does not. "5 less than x" is x − 5. But "5 less x" and "the difference of 5 and x" are both 5 − x. When a problem turns on a phrase like this, test it with a number; is "5 less than 12" equal to 7 or to −7? It is 7, so the form is x − 5.
- Always write down what the variable stands for, with units, before you translate.
- Write a second unknown in terms of the first, so the equation has only one variable.
- "Is" becomes =, and "of" becomes multiply. "Less than" and "subtracted from" reverse the order of the terms.
- Finish by answering the question that was asked, and check your numbers against the original sentences.
Section 5Linear inequalities

Almost the same rules, with one exception
An inequality uses <, >, ≤, or ≥ instead of =. It does not ask "which value works." It asks "which values work." The answer is usually a whole stretch of the number line, which is why we report it in interval notation.
You solve an inequality with exactly the moves from Section 1: add, subtract, multiply, and divide on both sides. One rule is added: if you multiply or divide both sides by a negative number, reverse the direction of the inequality symbol. Here is why, in one line you can test yourself. Start with the true statement −2 < 3; multiply both sides by −1, and you get 2 and −3; is 2 < −3? No. Is 2 > −3? Yes; multiplying by a negative flips both numbers across zero, like a mirror; that swaps which one is larger, so the symbol must flip to keep the statement true.
Notice what does not cause a flip. Adding or subtracting a negative number does not, and neither does having a negative number somewhere in the problem. The flip happens only when the operation you do is multiplying or dividing by a negative.
| Inequality | Interval notation | On a number line |
|---|---|---|
| x < a | (−∞, a) | Open circle at a, shaded left |
| x ≤ a | (−∞, a] | Closed circle at a, shaded left |
| x > a | (a, ∞) | Open circle at a, shaded right |
| x ≥ a | [a, ∞) | Closed circle at a, shaded right |
| a < x < b | (a, b) | Both endpoints open, shaded between |
| a ≤ x ≤ b | [a, b] | Both endpoints closed, shaded between |
| x < a or x > b | (−∞, a) ∪ (b, ∞) | Two rays pointing outward |
| every real number | (−∞, ∞) | The entire line shaded |
Lock in these rules for writing intervals. A square bracket means the endpoint is included, and it goes with ≤ and ≥. A parenthesis means the endpoint is left out, and it goes with < and >. And ∞ always gets a parenthesis, because infinity is a direction, not a number you can reach.
Here is the flip in action; solve −3x + 7 ≤ 22, and write the answer in interval notation.
- Subtract 7 from both sides. There is no flip, because subtracting never flips. −3x ≤ 22 − 7, so −3x ≤ 15.
- Divide both sides by −3. This is division by a negative, so the symbol flips from ≤ to ≥: x ≥ (15)/(−3), so x ≥ −5.
- Write the interval. [−5, ∞). Use a bracket on −5 because ≥ includes it, and always use a parenthesis on infinity.
- Check with two test values. Try x = 0, which is in our answer: −3(0) + 7 = 7, and 7 ≤ 22 is true. Now try x = −10, which is not in our answer: −3(−10) + 7 = 30 + 7 = 37, and 37 ≤ 22 is false, so it is rightly left out. Last, test the endpoint x = −5: −3(−5) + 7 = 15 + 7 = 22, and 22 ≤ 22 is true, so the endpoint does belong.
Compare that with an inequality where no flip is needed; solve 5(x − 2) > 3x + 4. Distribute to get 5x − 10 > 3x + 4; subtract 3x to get 2x − 10 > 4; add 10 to get 2x > 14. Then divide by positive 2, so there is no flip, which gives x > 7, or (7, ∞). Check x = 8: 5(6) = 30 and 3(8) + 4 = 28, and 30 > 28 is true.
Compound inequalities: "and" versus "or"
A compound inequality joins two inequalities; an and statement (also called a conjunction) needs both parts to be true. So its solution is the overlap, which is usually one interval squeezed between two numbers; an or statement needs at least one part to be true. So its solution is everything that either part covers, which is usually two separate rays joined with the union symbol ∪.
An "and" example. Solve −5 ≤ 2x − 1 < 7; because the variable sits in the middle, work on all three parts at the same time.
- Add 1 to all three parts. Whatever you do to one part, you must do to all three: −5 + 1 ≤ 2x − 1 + 1 < 7 + 1, which gives −4 ≤ 2x < 8.
- Divide all three parts by 2. Two is a positive number, so nothing flips: −2 ≤ x < 4.
- Interval notation. [−2, 4). It is closed on the left because of ≤, and open on the right because of <.
- Check. Test x = 0, which is inside: 2(0) − 1 = −1, and −5 ≤ −1 < 7 is true. Test x = 4, the endpoint that is left out: 2(4) − 1 = 7, and since 7 < 7 is false, 4 is rightly left out. Test x = −2, the endpoint that is included: 2(−2) − 1 = −5, and since −5 ≤ −5 is true, −2 belongs.
An "or" example. Solve 3x + 2 < −4 or 3x + 2 > 8. Solve each piece on its own; from the first: 3x < −6, so x < −2; from the second: 3x > 6, so x > 2; the solution is x < −2 or x > 2, written (−∞, −2) ∪ (2, ∞). Check x = −3: 3(−3) + 2 = −7, and −7 < −4 is true, so the "or" is met. Check x = 0: 3(0) + 2 = 2, which is neither less than −4 nor greater than 8, so 0 is rightly left out.
Absolute-value inequalities
Absolute value measures distance from zero, and distance is never negative; that one fact gives you both rules. If |u| < c for some positive c, then u is within c units of zero. So −c < u < c, which is an "and," a middle interval; if |u| > c, then u is farther than c from zero. So u < −c or u > c, which is an "or," two rays pointing outward. Here is a memory trick that has helped a lot of people: less than is an and, and greator is an or.
Worked example (less than). Solve |2x − 3| ≤ 7.
- Rewrite without the bars, using the "and" form: −7 ≤ 2x − 3 ≤ 7.
- Add 3 to all three parts, so that the −3 next to 2x goes away: −7 + 3 ≤ 2x ≤ 7 + 3, which gives −4 ≤ 2x ≤ 10.
- Divide all three parts by 2. Since 2 is positive, nothing flips, and you get −2 ≤ x ≤ 5.
- Interval notation. [−2, 5].
- Check both endpoints. At x = 5: |2(5) − 3| = |10 − 3| = |7| = 7, and 7 ≤ 7 is true. At x = −2: |2(−2) − 3| = |−4 − 3| = |−7| = 7, which is also true. And at x = 6, which is outside: |12 − 3| = 9, and 9 ≤ 7 is false, so it is rightly left out.
Worked example (greater than). Solve |3x + 1| > 5.
- Rewrite without the bars, using the "or" form: 3x + 1 < −5 or 3x + 1 > 5.
- Solve the left branch. Subtract 1 from both sides to get 3x < −6. Then divide both sides by 3 to get x < −2.
- Solve the right branch. Subtract 1 from both sides to get 3x > 4. Then divide both sides by 3 to get x > (4)/(3).
- Interval notation. (−∞, −2) ∪ ((4)/(3), ∞).
- Check. Test x = 2, which is in the right branch: |3(2) + 1| = |7| = 7, and 7 > 5 is true. Test x = −3, which is in the left branch: |−9 + 1| = |−8| = 8, and 8 > 5 is true. Test x = 0, which is in neither branch: |0 + 1| = 1, and since 1 > 5 is false, 0 is rightly left out.
Last, there are three special cases that come straight from the fact that distance is never negative. |u| < −3 has no solution (∅), because no absolute value can be smaller than a negative number. |u| > −3 is true for all real numbers, (−∞, ∞), because every absolute value is already bigger than a negative. And |u| < 0 is also empty, while |u| ≥ 0 is all real numbers; spot these just by looking, instead of grinding through the algebra. Splitting them into cases gives nonsense.
Get the absolute value by itself before you split. In 3|x − 1| + 4 < 19, you must first subtract 4 to get 3|x − 1| < 15. Then divide by 3 to get |x − 1| < 5. Only then do you write −5 < x − 1 < 5, which gives −4 < x < 6, or (−4, 6). Splitting too early is the most common error in this section.
- Inequalities use the same solving moves as equations, except that multiplying or dividing by a negative reverses the symbol.
- Report answers in interval notation. Brackets include endpoints, parentheses leave them out, and ∞ always takes a parenthesis.
- A compound and gives an overlap, which is one interval. A compound or gives a union of two rays.
- |u| < c becomes −c < u < c (an "and"). |u| > c becomes u < −c or u > c (an "or"). Always get the bars by themselves first.
The chapter in one breath
- Solving a linear equation means doing the same allowed move to both sides until the variable stands alone, and then checking in the original. The allowed moves are to add, subtract, or multiply or divide by a number that is not zero.
- Clear fractions by multiplying every term by the LCD, and clear decimals by multiplying by a power of ten. What is left is an ordinary problem with whole numbers.
- If a variable sits in a denominator, list the restrictions first. Throw out any extraneous solution that lands on one.
- Every linear equation is one of three kinds. A conditional equation has one solution. An identity has all real numbers as solutions, because the variable cancels and leaves a true statement. A contradiction has no solution, ∅, because the variable cancels and leaves a false one.
- A literal equation is solved for the letter you choose by the same moves. When that letter appears twice, gather its terms, factor it out, and divide by the whole parenthesis.
- Word problems give way to a fixed routine. Define the variable, write other unknowns in terms of it, translate phrase by phrase, solve, and answer the question that was really asked.
- Inequalities act exactly like equations, except that multiplying or dividing by a negative flips the symbol. Answers are written in interval notation.
- Compound inequalities are overlaps ("and") or unions ("or"). Absolute value inequalities change into one or the other: less than gives an "and," and greater than gives an "or."
ReferenceWords worth knowing
Here is a quick list of the words in this chapter; read it through now, and come back to it any time a word in a problem stops you.
- Absolute value
- The distance of a number from zero on the number line, written |x|. It is never negative, so |−7| = 7 and |7| = 7.
- Coefficient
- The number multiplying a variable. In 5x − 3, the coefficient of x is 5.
- Compound inequality
- Two inequalities joined by and (the solution is the overlap) or by or (the solution is the union).
- Conditional equation
- An equation that is true only for certain values of the variable. It is the ordinary case, with exactly one solution for a linear equation.
- Constant
- A term with no variable in it, such as the −3 in 5x − 3.
- Contradiction
- An equation that is true for no value of the variable. Solving it gives a false statement such as 4 = 9, and the solution set is empty (∅).
- Distributive property
- The rule a(b + c) = ab + ac, used to clear parentheses.
- Equivalent equations
- Two equations with exactly the same solution set. Every allowed move you make gives one.
- Extraneous solution
- A value that comes from correct algebra but still fails in the original equation, usually because it breaks a restriction.
- Identity
- An equation that is true for every allowed value of the variable. Solving it gives a true statement such as 6 = 6, and the solution set is all real numbers.
- Inequality
- A statement that compares two expressions with <, >, ≤, or ≥ instead of =.
- Interval notation
- A short way to write a solution set. Brackets [ ] include an endpoint, parentheses ( ) leave it out, and ∞ always takes a parenthesis.
- Least common denominator (LCD)
- The smallest expression that every denominator divides into. Multiplying an equation by it clears all the fractions at once.
- Linear equation
- An equation in which the variable appears only to the first power, with no variable under a radical or alone in a denominator.
- Literal equation
- An equation with two or more letters, such as a formula. It can be solved for any one of them.
- No solution (empty set)
- The solution set of a contradiction, written ∅ or { }. It is not the same as the solution x = 0.
- Properties of equality
- The rules that let you add, subtract, multiply, or divide both sides of an equation by the same amount. The amount must not be zero when you multiply or divide.
- Restriction (excluded value)
- A value the variable may not take, because it would make a denominator zero or would leave the expression with no value.
- Solution (root)
- A value that makes an equation a true statement when you put it in place of the variable.
- Solution set
- The collection of all solutions, written in set or interval notation.
- Term
- A single number, variable, or product of them, set apart from its neighbors by + or − signs. In 5x − 3 there are two terms.
- Variable
- A letter that stands for an unknown or changing amount.
Check yourself
Graphs & Lines
Algebra stops being a pile of symbols the moment you can see it. A graph turns an equation into a picture, and the simplest and most useful picture in all of math is a straight line. In this chapter you will learn to place a point on the plane and to measure how steeply a line climbs or falls. You will learn three ways to write the same line, which can be swapped for one another. You will learn to spot when two lines run side by side or cross at a perfect corner. Last, you will use a line to describe something real, such as a price, a distance, or a rate. Every idea here is built from arithmetic you already know: subtraction, division, and being willing to check your answer. If you have ever felt lost in a math class, this is a good place to get found, because almost everything here can be checked. You can plug your answer back in and watch it work.
By the end of this chapter you can
- Plot an ordered pair on the coordinate plane (the grid made by two number lines), and name the quadrant it lands in.
- Find the x-intercept and the y-intercept of a linear equation by using algebra.
- Compute slope from two points and interpret it as a rate of change.
- Tell positive, negative, zero, and undefined slope apart, and write the equations of flat (horizontal) and up and down (vertical) lines.
- Move fluently among slope-intercept, point-slope, and standard form.
- Write the equation of a line through two given points and check it.
- Use what slopes tell you to build lines that are parallel to a given line or perpendicular to it (meeting at a right angle).
- Build a linear model from two data points, and say what the slope and the intercept mean in the real setting, with units.
Section 1The coordinate plane

Two number lines, one address system
Take the number line you have known since grade school and lay it flat. Now take a second number line and stand it up, so it crosses the first one at zero; that is the whole invention. The flat (horizontal) line is the x-axis, the up and down (vertical) line is the y-axis, and the crossing point is the origin, written (0, 0). Together they form the Cartesian coordinate plane, named for René Descartes; its only job is to give every point in the flat plane its own address made of two numbers.
That address is an ordered pair, written (x, y). The word ordered matters here, because the first number is always the sideways move and the second is always the up or down move. To plot (4, −3), start at the origin and walk 4 to the right because 4 is positive, then walk 3 down because −3 is negative, and put your dot there; to plot (−3, 4), start at the origin, walk 3 to the left, and then go 4 up; those are two completely different points, which is exactly why the order matters.
Here is a useful habit: say the moves out loud as you make them, such as "Four right, three down." People who say the two moves out loud make far fewer sign mistakes than people who try to guess by eye.
The four quadrants
The two axes cut the plane into four regions called quadrants. They are numbered with Roman numerals, starting in the upper right and going counterclockwise, which is the opposite way to a clock's hands. That direction was chosen by habit, but everyone uses it, so it is worth learning once. The quadrant a point lands in depends only on the two signs in its address, so you never have to look at a picture to know the answer.
| Quadrant | Where | Sign of x | Sign of y | Example point |
|---|---|---|---|---|
| I | Upper right | positive (+) | positive (+) | (3, 2) |
| II | Upper left | negative (−) | positive (+) | (−3, 2) |
| III | Lower left | negative (−) | negative (−) | (−3, −2) |
| IV | Lower right | positive (+) | negative (−) | (3, −2) |
| None | On an axis | x = 0 or y = 0 | (0, 5), (−4, 0), (0, 0) | |
Notice that last row. A point sitting on an axis is not in any quadrant, because the axes are the fences between the yards and not part of any yard. So (0, 5) is on the y-axis, (−4, 0) is on the x-axis, and the origin is on both; test questions love this.
Intercepts: where a graph meets the axes
An intercept is a point where a graph crosses an axis, and each of the two kinds is set by a single fact. The x-intercept is where the graph crosses the x-axis, and every point on the x-axis has y = 0. The y-intercept is where the graph crosses the y-axis, and every point on the y-axis has x = 0; that gives you a recipe with nothing to memorize:
- To find the x-intercept, set y = 0 and solve for x.
- To find the y-intercept, set x = 0 and solve for y.
Fully worked example. Find both intercepts of 2x + 5y = 20, and use them to graph the line.
Step 1: find the x-intercept by setting y = 0.
- 2x + 5y = 20 → 2x + 5(0) = 20
- 5(0) = 0, so the equation becomes 2x + 0 = 20, that is 2x = 20
- Divide both sides by 2: (2x)/(2) = (20)/(2), so x = 10
- The x-intercept is the point (10, 0).
Step 2: find the y-intercept by setting x = 0.
- 2(0) + 5y = 20
- 2(0) = 0, so 0 + 5y = 20, that is 5y = 20
- Divide both sides by 5: (5y)/(5) = (20)/(5), so y = 4
- The y-intercept is the point (0, 4).
Step 3: check both answers by putting them back into the original equation.
- Check (10, 0): 2(10) + 5(0) = 20 + 0 = 20. True. ✓
- Check (0, 4): 2(0) + 5(4) = 0 + 20 = 20. True. ✓
Step 4: graph. Plot (10, 0) and (0, 4), lay a ruler across them, and draw the line. Two points are enough to fix a line, so a pair of intercepts is often the fastest way to graph one. A third point is cheap insurance. Try x = 5, which gives 2(5) + 5y = 20 → 10 + 5y = 20 → 5y = 10 → y = 2. So (5, 2) should land right on your line, and it does, exactly halfway between the intercepts.
- An ordered pair (x, y) is the sideways move first and the up or down move second, and the order is not optional.
- Quadrants run I, II, III, IV counterclockwise from the upper right, and the signs alone tell you the quadrant.
- Points on an axis belong to no quadrant.
- x-intercept: set y = 0 and solve. y-intercept: set x = 0 and solve. Report each as a point.
Section 2Slope

What slope actually measures
Slope answers one question: when I move to the right, how fast does the line go up or down? It is a ratio, the up or down change divided by the sideways change, and it is often called rise over run. Rise is how far you climbed (negative if you fell); run is how far you traveled sideways. Slope is written with the letter m, a habit with no good reason behind it that we are all stuck with.
Given any two distinct points (x1, y1) and (x2, y2) on a line:
m = (rise)/(run) = (y2 − y1)/(x2 − x1), provided x2 ≠ x1
That restriction, x2 ≠ x1, is not there just for show. If the two x values are equal, the denominator is zero, and you cannot divide by zero; in a moment we will see exactly what kind of line does that.
Here are two comforts. First, it does not matter which point you call "point 1." Swap them, and both the top and the bottom change sign, so the two negatives cancel. Second, it does not matter which two points on the line you pick, because a straight line has the same steepness everywhere. That is exactly what makes it straight, and slope is the one number that defines the line.
A fully worked slope calculation
Fully worked example. Find the slope of the line through (−3, 7) and (5, −1).
Step 1: label the points, so that putting them in the formula is automatic.
- x1 = −3, y1 = 7 (the first point)
- x2 = 5, y2 = −1 (the second point)
Step 2: substitute into the formula, writing the parentheses even when they look silly.
- m = (y2 − y1)/(x2 − x1) = (−1 − 7)/(5 − (−3))
Step 3: work out the top and the bottom one at a time, out loud.
- Top: −1 − 7 = −8. (Starting at −1 and subtracting 7 moves you further left on the number line.)
- Bottom: 5 − (−3) = 5 + 3 = 8. (Subtracting a negative is adding: this is the single most common place to slip.)
Step 4: divide.
- m = (−8)/(8) = −1
Step 5: check by reversing the labels. Call (5, −1) the first point instead:
- m = (7 − (−1))/(−3 − 5) = (7 + 1)/(−8) = (8)/(−8) = −1. Same answer. ✓
What it means. A slope of −1 says: every 1 unit you move right, the line drops 1 unit. It falls at a 45° angle.
One more, with a fraction that does not simplify to a whole number. Through (2, −5) and (6, 1):
- m = (1 − (−5))/(6 − 2) = (1 + 5)/(4) = (6)/(4) = (3)/(2)
Always reduce the fraction. A slope of (3)/(2) is a clean instruction: run 2 right, rise 3 up; left as 6/4 it still works, since running 4 and rising 6 lands on the same line. But the reduced form is the standard one, and it is the one graders expect.
Four kinds of slope
Every line falls into exactly one of four groups, and you should be able to name the group before you finish the arithmetic.
| Slope | Look of the line | Worked example | Equation type |
|---|---|---|---|
| Positive (m > 0) | Rises left to right (uphill) | (1, 2) & (4, 8): m = (8 − 2)/(4 − 1) = (6)/(3) = 2 | Slanted, e.g. y = 2x |
| Negative (m < 0) | Falls left to right (downhill) | (−3, 7) & (5, −1): m = (−8)/(8) = −1 | Slanted, e.g. y = −x + 4 |
| Zero (m = 0) | Perfectly flat: horizontal | (−4, 3) & (6, 3): m = (3 − 3)/(6 − (−4)) = (0)/(10) = 0 | y = 3 |
| Undefined | Straight up and down: vertical | (2, −1) & (2, 5): m = (5 − (−1))/(2 − 2) = (6)/(0): undefined | x = 2 |
Study the last two rows side by side, because they are the pair that people mix up. Zero slope means the rise is zero, because you moved sideways and never went up; zero is a real number, and the line is flat (horizontal) with equation y = (some number). Undefined slope means the run is zero, because you went up without going sideways at all. There is no number that equals 6 divided by 0; the line is up and down (vertical), with equation x = (some number). "Zero" and "no slope" are not the same thing. Saying "no slope" out loud is how the mix up starts, so use the word undefined instead.
Slope as a rate of change
Outside of a graph, slope has a much more familiar name: a rate; miles per hour, dollars per page, degrees per minute, and milligrams per kilogram are all slopes; in fact, every "per" you have ever said is a slope. The units tell you exactly what the number means, since slope has units of (y-units) per (x-unit). If x is measured in hours and y in miles, a slope of 55 is 55 miles per hour. If x is pages and y is dollars, a slope of 0.18 is 18 cents per page. This is the bridge from Section 2 to Section 5, and it is the reason lines matter at all.
- m = (y2 − y1)/(x2 − x1), valid only when x2 ≠ x1.
- The order of the two points does not matter, but keeping the same order within the fraction does.
- Positive slope rises, negative falls, zero is flat (y = k), and undefined is straight up and down (x = k).
- Slope is a rate of change: its units are always y-units per one x-unit.
Section 3Forms of a line

Three outfits, one line
A single line can be written in several ways that mean the same thing in algebra. They describe the same set of points, but each one makes different facts easy to read at a glance. Learning all three is not busywork, because each one is the fastest tool for its own kind of job.
| Form | Looks like | What it hands you free | Best used when |
|---|---|---|---|
| Slope-intercept | y = mx + b | Slope m and y-intercept (0, b) | Graphing fast; comparing two lines |
| Point-slope | y − y1 = m(x − x1) | A point (x1, y1) and the slope | Building a line from a point and a slope |
| Standard | Ax + By = C | Both intercepts quickly; no fractions needed | Systems of equations; tidy final answers |
| Horizontal | y = k | Slope 0 | Flat lines (a special case of all three) |
| Vertical | x = k | Slope undefined | Vertical lines: cannot be written as y = mx + b |
In slope-intercept form, y = mx + b, the number multiplying x is the slope; the number standing alone is the y value where the line crosses the y-axis. In y = −4x + 9, the slope is −4 and the y-intercept is (0, 9), with no work needed. To graph it, put a dot at (0, 9), then use the slope −4 = (−4)/(1) to step 1 right and 4 down to (1, 5), and connect the dots.
In standard form, Ax + By = C, both variables sit on the left and the constant sits alone on the right. By custom, A, B, and C are integers with no common factor, and A is not negative; standard form is where the intercept recipe from Section 1 works best. It is also the form that vertical lines can be written in (x = 2 is 1x + 0y = 2), even though slope-intercept form cannot hold them.
Point-slope: the workhorse
Point-slope form deserves special love, because it is the form you build with. Rearrange the slope formula. If (x, y) is any point on the line and (x1, y1) is a known point, then m = (y − y1)/(x − x1). Multiply both sides by (x − x1), and you get y − y1 = m(x − x1). That is all there is to it: point-slope form is just the slope formula with the denominator cleared; whenever a problem gives you a point and a slope, or two points, start here.
Fully worked example. Write the equation of the line through (−2, 5) with slope (−3)/(4). Give it in point-slope, slope-intercept, and standard form.
Step 1: write point-slope form, putting in the values with care. Here x1 = −2, y1 = 5, and m = (−3)/(4).
- y − y1 = m(x − x1)
- y − 5 = (−3)/(4) · (x − (−2))
- Simplify the inside: x − (−2) = x + 2
- y − 5 = (−3)/(4) · (x + 2) ← point-slope form, done
Step 2: distribute to reach slope-intercept form.
- (−3)/(4) · x = (−3x)/(4)
- (−3)/(4) · 2 = (−6)/(4) = (−3)/(2)
- So y − 5 = (−3x)/(4) − (3)/(2)
Step 3: add 5 to both sides, and combine the plain numbers over a common denominator.
- y = (−3x)/(4) − (3)/(2) + 5
- Rewrite 5 as (10)/(2) so the fractions match: −(3)/(2) + (10)/(2) = (7)/(2)
- y = (−3)/(4) · x + (7)/(2) ← slope-intercept form. Slope (−3)/(4), y-intercept (0, (7)/(2)) = (0, 3.5)
Step 4: clear the fractions to reach standard form. The denominators are 4 and 2, so multiply every term by 4.
- 4 · y = 4 · (−3x)/(4) + 4 · (7)/(2)
- 4y = −3x + 14
- Add 3x to both sides so A is positive: 3x + 4y = 14
- 3x + 4y = 14 ← standard form (integers, no common factor, A > 0)
Step 5: check the original point in all three forms. Substitute x = −2 and see whether y comes out 5.
- Point-slope: y − 5 = (−3)/(4) · (−2 + 2) = (−3)/(4) · 0 = 0, so y = 5. ✓
- Slope-intercept: y = (−3)/(4) · (−2) + (7)/(2) = (6)/(4) + (7)/(2) = (3)/(2) + (7)/(2) = (10)/(2) = 5. ✓
- Standard: 3(−2) + 4(5) = −6 + 20 = 14. ✓
Three forms, one line, all verified.
Two points to an equation
If you are handed two points instead of a slope, you just do Section 2 first and then Section 3; nothing new is needed.
Fully worked example. Find the equation of the line through (1, −2) and (4, 7).
- Step 1: slope. m = (7 − (−2))/(4 − 1) = (7 + 2)/(3) = (9)/(3) = 3
- Step 2: point-slope, using (1, −2). y − (−2) = 3(x − 1), which tidies to y + 2 = 3(x − 1)
- Step 3: distribute. y + 2 = 3x − 3
- Step 4: subtract 2 from both sides. y = 3x − 3 − 2 = 3x − 5
- Step 5: check the point you did NOT use. At x = 4: y = 3(4) − 5 = 12 − 5 = 7. ✓ The line passes through (4, 7) as required.
Notice Step 5; using the point you did not use as your check is free insurance, because if the arithmetic had gone wrong anywhere, that check would have caught it. Had we started with (4, 7) instead, we would have gotten y − 7 = 3(x − 4) → y = 3x − 12 + 7 = 3x − 5, which is the very same line. Either point works.
Reading slope out of standard form
Given 5x − 2y = 8, you cannot see the slope, but if you solve for y it appears; one condition comes first. Solving Ax + By = C for y means dividing by B, so this move is allowed only when B ≠ 0. If B = 0, the equation is Ax = C, a vertical line, which has no slope-intercept form at all; here B = −2, so we are safe:
- Subtract 5x: −2y = −5x + 8
- Divide every term by −2: (−2y)/(−2) = (−5x)/(−2) + (8)/(−2)
- y = (5)/(2) · x − 4
- So m = (5)/(2) and the y-intercept is (0, −4).
The risky step is dividing by a negative, because both the x term and the constant change sign; divide term by term, in writing, every time.
- y = mx + b shows the slope and the y-intercept. y − y1 = m(x − x1) is built from a point and a slope. Ax + By = C is the tidy form with integers.
- All three describe the same line. Changing between them is pure algebra, and you can check by putting in a known point.
- To clear fractions and reach standard form, multiply every term by the common denominator.
- A vertical line x = k has no slope-intercept form at all.
Section 4Parallel and perpendicular lines

Parallel means equal slopes
Two lines are parallel when they never meet, no matter how far you extend them. Slope is the one number that controls direction, so this happens exactly when the slopes match: m1 = m2; one warning: equal slopes and equal y-intercepts do not give you two parallel lines; they give you the same line drawn twice; for truly parallel lines, you need equal slopes and different intercepts.
Perpendicular means negative reciprocal slopes
Two lines are perpendicular when they cross at a right angle (90°), like the corner of a square; the slope condition is:
m1 · m2 = −1, which is the same as m2 = −1/m1 (as long as m1 ≠ 0)
The condition m1 ≠ 0 on that second version is the same habit of listing excluded values that you used with the slope formula. The second version divides by m1, so it tells you nothing at all when m1 = 0. That gap is exactly the case of a flat line, which is covered below.
In plain words: flip the fraction and change the sign; that is what "negative reciprocal" means; doing it in two careful moves keeps you from the classic half mistake of flipping without changing the sign. If m1 = (2)/(3), flip it to (3)/(2), then change the sign to get (−3)/(2). If m1 = −5, first write it as (−5)/(1), flip it to (1)/(−5) = −(1)/(5), and then change the sign to get (1)/(5). Check: (−5) · (1)/(5) = (−5)/(5) = −1. ✓
There is one honest exception. A flat line (m = 0) and a vertical line (slope undefined) clearly meet at a right angle, but you cannot multiply 0 by "undefined" and get −1. The product rule simply does not apply to that pair; they are perpendicular because of their shapes (geometry), not because of arithmetic. Handle vertical and flat lines with a picture, not with the formula.
| Relationship | Slope rule | Given m1 = (2)/(3) | Given m1 = −4 |
|---|---|---|---|
| Parallel | m2 = m1 | m2 = (2)/(3) | m2 = −4 |
| Perpendicular | m2 = −1/m1 | m2 = (−3)/(2) | m2 = (1)/(4) |
| Neither | Slopes unequal and product ≠ −1 | e.g. m2 = 5 | e.g. m2 = 2 |
| Same line | Same m and same b | y = 2x + 1 and 4x − 2y = −2 are one line | |
| Horizontal & vertical | Perpendicular by geometry | y = 3 and x = −1 meet at a right angle; the product rule does not apply | |
A fully worked pair
Fully worked example. Line L has the equation 2x − 3y = 12. Find (a) the line parallel to L through (6, −1), and (b) the line perpendicular to L through (6, −1); give both in slope-intercept form.
Step 1: get the slope of L by solving for y.
- 2x − 3y = 12
- Subtract 2x: −3y = −2x + 12
- Divide every term by −3: (−3y)/(−3) = (−2x)/(−3) + (12)/(−3)
- y = (2)/(3) · x − 4, so mL = (2)/(3)
Step 2(a): the parallel line has the same slope, (2)/(3). Use point-slope with (6, −1):
- y − (−1) = (2)/(3) · (x − 6), which is the same as y + 1 = (2)/(3) · (x − 6)
- Distribute: (2)/(3) · 6 = (12)/(3) = 4, so y + 1 = (2)/(3) · x − 4
- Subtract 1: y = (2)/(3) · x − 5
- Check the point: at x = 6, y = (2)/(3) · 6 − 5 = 4 − 5 = −1. ✓
- Check it is truly parallel: slope (2)/(3) matches L, and the intercept −5 differs from L's −4, so it is a different line. ✓
Step 2(b): the perpendicular line uses the negative reciprocal. Flip (2)/(3) to (3)/(2), then change the sign: m⊥ = (−3)/(2).
- y + 1 = (−3)/(2) · (x − 6)
- Distribute: (−3)/(2) · (−6) = (18)/(2) = 9, so y + 1 = (−3)/(2) · x + 9
- Subtract 1: y = (−3)/(2) · x + 8
- Check the point: at x = 6, y = (−3)/(2) · 6 + 8 = −9 + 8 = −1. ✓
- Check the right angle: (2)/(3) · (−3)/(2) = (−6)/(6) = −1. ✓
Deciding how two lines relate. To sort two given lines, put both into slope-intercept form and compare them. Are 3x − 4y = 20 and y = (3)/(4) · x − 2 parallel? Solve the first: −4y = −3x + 20 → y = (3)/(4) · x − 5; both slopes are (3)/(4), and the intercepts −5 and −2 differ, so they are parallel.
- Parallel: equal slopes, different y-intercepts. Equal slopes and equal intercepts means it is the same line.
- Perpendicular: m1 · m2 = −1. Flip the fraction, then change the sign.
- Change both equations to y = mx + b before you compare them, because slopes hide in standard form.
- Flat and vertical lines are perpendicular because of their shapes. The product rule cannot be used with an undefined slope.
Section 5Modeling with linear equations

When is a line the right model?
A linear model is the right choice whenever an amount changes by the same amount in every equal step, such as the same dollars per page, the same gallons per minute, or the same degrees per hour. That steady step is the slope; if an amount keeps multiplying instead, such as doubling or growing by a fixed percent, a line is the wrong tool. Then you need the curves of later chapters; before you fit a line, ask yourself whether the change is steady or whether it keeps building on itself.
Two habits separate a model from a bare equation. First, name your variables with units: not "x" but "p = number of pages printed." Second, say the slope and intercept in a sentence. A model that you cannot explain in English has not been finished.
Building a model from two data points
Fully worked example. A print shop charges a one-time setup fee plus a fixed cost per page. A 100-page order costs $23. A 400-page order costs $77. Write a linear model for the cost, interpret it, and use it to price a 250-page order.
Step 1: define the variables, with units.
- p = number of pages printed (the input, so it goes on the sideways axis)
- C = total cost in dollars (the output)
- The two facts become the ordered pairs (100, 23) and (400, 77).
Step 2: find the slope, which is the cost per page.
- m = (77 − 23)/(400 − 100)
- Top: 77 − 23 = 54 dollars
- Bottom: 400 − 100 = 300 pages
- m = (54)/(300) = (54 ÷ 6)/(300 ÷ 6) = (9)/(50) = 0.18
- Units: dollars per page. So each page costs $0.18, or 18 cents.
Step 3: use point-slope with either data point. We will use (100, 23).
- C − 23 = 0.18(p − 100)
- Distribute: 0.18 · 100 = 18, so C − 23 = 0.18p − 18
- Add 23 to both sides: C = 0.18p − 18 + 23
- −18 + 23 = 5
- C = 0.18p + 5
Step 4: check with the data point we did not use.
- At p = 400: C = 0.18(400) + 5 = 72 + 5 = 77. Matches the given $77. ✓
Step 5: interpret in plain English (this is the actual point of the exercise).
- Slope 0.18: every extra page adds $0.18 to the bill, so the cost rises 18 cents per page.
- y-intercept 5: at p = 0 pages the cost is $5. That is the setup fee: what you pay just to walk in the door before a single page prints.
Step 6: use the model to predict. Price a 250-page order:
- C = 0.18(250) + 5
- 0.18 · 250 = 45
- C = 45 + 5 = $50.00
Step 7: state the restriction. Pages cannot be negative, so the model only makes sense for p ≥ 0, and in real life p should be a whole number. Plugging in p = −20 gives a number, but not one with any meaning.
| Piece of C = 0.18p + 5 | Algebra name | Meaning in this context | Units |
|---|---|---|---|
| p | Independent variable | Pages ordered: what you control | pages |
| C | Dependent variable | Total charge: what results | dollars |
| 0.18 | Slope | Cost added per additional page | dollars per page |
| 5 | y-intercept | Flat setup fee, paid at zero pages | dollars |
| p ≥ 0 | Domain restriction | You cannot order negative pages | - |
Reading a model that is handed to you
Half of modeling is explaining what the numbers mean (interpretation), not just building the equation. Suppose a tank is draining, and the volume of water is V = 500 − 12t, where V is gallons and t is minutes. In your head, rewrite it as V = −12t + 500, so the shape looks familiar.
- Slope −12: the tank loses 12 gallons every minute. Negative slope means the quantity is decreasing: the sign carries meaning.
- Intercept 500: at t = 0, V = −12(0) + 500 = 500 gallons. The tank started full at 500 gallons.
- When is it empty? Set V = 0: 0 = 500 − 12t → 12t = 500 → t = (500)/(12) = (125)/(3) ≈ 41.7 minutes.
- Check: at t = (125)/(3), V = 500 − 12 · (125)/(3) = 500 − (1500)/(3) = 500 − 500 = 0. ✓
- Restriction: the model is meaningful only for 0 ≤ t ≤ (125)/(3). After that the tank is empty; the equation would report negative gallons, which is nonsense.
That last bullet is worth a moment. Predicting inside the range of your data is called interpolation, and it is usually safe. Predicting outside that range is called extrapolation, and it is where linear models make people look foolish. Our print shop model will happily give a price for a one million page order, but the real shop would give you a bulk discount, and the line would be wrong. A model describes a range of data; it is not a law of nature.
Average rate of change
When data are not perfectly linear, the slope between two data points still has a name: the average rate of change over that interval; say a cup of coffee is cooling. It measures 186°F at minute 2 and 174°F at minute 8; the average rate of change is (174 − 186)/(8 − 2) = (−12)/(6) = −2 degrees per minute. The coffee did not always drop exactly 2 degrees in every single minute, but on average, over that span, that is the trend; it is the same formula making a smaller claim.
- Use a linear model when the change per equal step is constant.
- Two data points → slope → point-slope → simplify. Then check with the point you did not use.
- The slope is a rate (y-units per x-unit); the y-intercept is the starting value at x = 0.
- State the domain restriction (the inputs where the model makes sense), and do not trust extrapolation far outside the data.
The chapter in one breath
- The coordinate plane gives every point an address made of two numbers, (x, y). The sideways move comes first and the up or down move second, and quadrants I to IV run counterclockwise from the upper right.
- Intercepts come from a one line recipe. Set y = 0 for the x-intercept and set x = 0 for the y-intercept, and report each one as a point.
- Slope is m = (y2 − y1)/(x2 − x1), with x2 ≠ x1. It is rise over run, and it is the one number that defines the line.
- Positive slope rises, negative falls, zero is flat (y = k), and undefined is vertical (x = k). Zero and undefined are not the same thing.
- One line can wear three outfits: slope-intercept y = mx + b, point-slope y − y1 = m(x − x1), and standard Ax + By = C. Point-slope is the one you build with.
- Parallel lines have equal slopes and different intercepts. Perpendicular lines have slopes that multiply to −1, so flip the fraction and change the sign.
- A linear model fits any case with a steady rate. Two data points give the slope, point-slope form gives the equation, and the point you did not use gives the check.
- Explaining what the numbers mean is the real job. The slope is a rate with units, and the y-intercept is the starting value. Every model also has a domain restriction, and outside it, extrapolation cannot be trusted.
ReferenceWords worth knowing
Here is a quick list of the words in this chapter. Skim it now, and come back whenever a word slows you down in the middle of a problem.
- Average rate of change
- The slope between two data points, (y2 − y1)/(x2 − x1). It describes the typical change per unit over that interval, even when the data are not perfectly linear.
- Cartesian coordinate system
- The grid formed by a flat x-axis and an up and down y-axis that cross at the origin. It gives every point an address (x, y).
- Collinear
- Lying on the same straight line. Three points are collinear when the slope between each pair of them is the same. They are also collinear when all three share the same x value, which is the vertical case, where every slope between pairs is undefined.
- Extrapolation
- Using a model to predict outside the range of the data it was built from. It can be done, but it is not reliable, and it is the usual source of silly predictions.
- Horizontal line
- A flat line with slope 0 and equation y = k. Every point on it has the same y value.
- Intercept
- A point where a graph crosses an axis. Always reported as an ordered pair, never as a lone number.
- Interpolation
- Using a model to estimate a value inside the range of the data it was built from. It is usually the safer kind of prediction.
- Linear equation in two variables
- An equation whose graph is a straight line. It can always be written as Ax + By = C, with A and B not both zero.
- Negative reciprocal
- What you get when you flip a fraction and change its sign. The negative reciprocal of (2)/(3) is (−3)/(2). The slopes of perpendicular lines are negative reciprocals of each other.
- Ordered pair
- A point written (x, y), where the first entry is the sideways position and the second is the up or down position.
- Origin
- The point (0, 0), where the two axes cross.
- Parallel lines
- Lines that never intersect; they have equal slopes and different y-intercepts.
- Perpendicular lines
- Lines that cross at a 90° angle. Their slopes multiply to −1, except for a flat line and a vertical line, which are perpendicular by their shapes.
- Point-slope form
- y − y1 = m(x − x1): the form built directly from one known point and the slope.
- Quadrant
- One of the four regions that the axes divide the plane into, numbered I through IV counterclockwise from the upper right. Points on an axis are in no quadrant.
- Rise and run
- The up or down change (rise) and the sideways change (run) between two points. Rise divided by run is the slope.
- Slope
- The steady rate at which a line rises or falls, m = (y2 − y1)/(x2 − x1). It is defined only when x2 ≠ x1.
- Slope-intercept form
- y = mx + b, where m is the slope and (0, b) is the y-intercept.
- Standard form of a line
- Ax + By = C, usually written with integer coefficients, no common factor, and A not negative.
- Undefined slope
- What happens when the run is zero and the slope formula would divide by zero. The line is vertical. This is not the same as zero slope.
- x-intercept
- The point where a graph crosses the x-axis, found by setting y = 0 and solving. It has the form (a, 0).
- y-intercept
- The point where a graph crosses the y-axis, found by setting x = 0 and solving. It has the form (0, b).
Check yourself
Introduction to Functions
Up to now, algebra has mostly been about solving, which means finding the x that makes a sentence true. This chapter changes the question. Instead of hunting for one answer, we start studying relationships, which show how one amount depends on another for every possible input at once. That idea is called a function, and it is the most important idea in the rest of your math life. Nothing here needs new arithmetic, because if you can put a number into an expression and simplify, you already have every skill you need. What changes is the way we talk about it, and this chapter walks through that new language one careful step at a time.
By the end of this chapter you can
- State what a function is, and decide whether a set of ordered pairs, a mapping, or a table is one.
- Apply the vertical line test to a graph and explain why it works.
- Read and use function notation, including why f(x) does not mean multiply.
- Find the value of f(x) at a number and at an expression with letters, showing every step.
- Find the domain of a function from its equation by excluding division by zero and even roots of negatives.
- Read domain and range off a graph and write both in interval notation.
- Recognize the six toolkit functions and state the domain, range, and shape of each.
- Describe and use shifts, reflections, and stretches, and follow a single point as the graph changes.
Section 1What a function is

The definition, in plain words
A relation is any pairing of inputs with outputs. That is a loose idea: a relation can pair anything with anything. A function is a relation with one extra rule attached, and the rule is short enough to memorize today:
A function assigns to each input exactly one output.
Read that slowly, because every word is load-bearing. Each input must get an output. And each input gets exactly one: not two, not "it depends." Think of a vending machine: you press B4 and you get one specific snack. If pressing B4 sometimes gave you chips and sometimes gave you a candy bar, the machine would be broken. A function is a machine that is not broken.
Notice what the rule does not say, because it says nothing about outputs being used only once. Two different inputs are allowed to give the same output, so pressing B4 and B5 and getting the same brand of chips is no problem. The rule runs in one direction only: one input, one output. People lose points on this more than almost anything else in the chapter, so it is worth writing on a sticky note.
The input is called the independent variable (usually x), because you get to choose it freely. The output is called the dependent variable (usually y), because its value depends on what you chose.
Five ways to spot a function
Relations show up in five common outfits: a list of ordered pairs, a table, a mapping diagram (arrows from a set on the left to a set on the right), a graph, and an equation. The function test looks a little different in each outfit, but underneath it is always the same question: does any input have two different outputs?
| Form | What to look at | It is a function when… |
|---|---|---|
| Ordered pairs | The first coordinates | No x-value is repeated with a different y-value |
| Table | The input column | No input appears twice with different outputs |
| Mapping diagram | The arrows leaving each left-hand item | Exactly one arrow leaves each input |
| Graph | Vertical lines | No vertical line touches the graph twice |
| Equation | Solve for y | Each x you plug in produces one y |
Worked example 1: ordered pairs
Decide whether each relation is a function.
Relation A: {(1, 3), (2, 5), (3, 7), (4, 9)}
Step 1. List the inputs, which are the first numbers in each pair: 1, 2, 3, 4.
Step 2. Ask if any input repeats. None do, since each input appears exactly once.
Step 3. Conclusion: A is a function.
Relation B: {(1, 3), (2, 5), (3, 7), (2, 9)}
Step 1. List the inputs: 1, 2, 3, 2.
Step 2. The input 2 appears twice. Check its outputs: the pair (2, 5) says the output is 5, and the pair (2, 9) says the output is 9. Since 5 ≠ 9, the input 2 has two different outputs.
Step 3. Conclusion: B is not a function.
Relation C: {(1, 4), (2, 4), (3, 4), (4, 4)}
Step 1. Inputs: 1, 2, 3, 4, no repeats.
Step 2. The outputs are all 4, which looks suspicious but breaks no rule. Repeated outputs are legal.
Step 3. Conclusion: C is a function (a constant function, in fact).
Worked example 2: the vertical line test
Does the equation y2 = x make y a function of x?
Step 1. Pick a specific input and see what happens. Let x = 9.
Step 2. Substitute: y2 = 9.
Step 3. Solve. Taking a square root of both sides gives y = ±3, because 32 = 9 and (−3)2 = 9. Both are genuine solutions.
Step 4. Interpret. The single input x = 9 produced two outputs, y = 3 and y = −3. That violates the one-input-one-output rule.
Step 5. Conclusion: y2 = x is not a function of x.
Now look at it on a graph. The graph of y2 = x is a parabola that opens sideways to the right. Draw the vertical line x = 9. It crosses the curve at the point (9, 3) and again at (9, −3), which is two hits. That is exactly the vertical line test: if any vertical line crosses the graph more than once, the graph is not a function.
The vertical line test is not a separate rule to memorize on top of the meaning of a function, because it is that meaning, drawn as a picture. A vertical line is the set of all points that share one x value. If the line hits the graph twice, you have found one x with two y values, and that is the whole argument.
- A function assigns exactly one output to each input.
- Repeated outputs are fine; repeated inputs with different outputs are not.
- The vertical line test is the graphical version of that same rule.
- x is the independent variable, which you choose, and y is the dependent variable, which follows from it.
Section 2Function notation

What f(x) means, and what it does not
Instead of writing y = 3x + 1, people in math usually write f(x) = 3x + 1. Out loud, that is "f of x equals three x plus one." The letter f is the name of the function, like the name of a recipe, and the x in parentheses is the input slot.
Here is the point that trips up nearly everyone, so let us clear it up right away: f(x) does not mean f times x. These parentheses are not multiplication parentheses. They are a holder that says "whatever goes in here is the input." If you see f(3), it does not mean 3f, because it means "run the number 3 through the rule named f."
Why bother with the extra notation at all? It is exact and short. The single symbol f(3) says "the output of this function when the input is 3," and saying that with y takes a whole sentence. Once you have several functions in one problem, such as f, g, and h, or C(x) for cost and R(x) for revenue (the money that comes in), the names keep them straight.
| You see | You say | It means |
|---|---|---|
| f(x) | "f of x" | The output rule, in general |
| f(3) | "f of 3" | Replace every x with 3 and simplify |
| f(3) = 8 | "f of 3 is 8" | The point (3, 8) is on the graph |
| f(0) | "f of 0" | Input 0: this gives the y-intercept |
| f(x) = 0 | "f of x equals 0" | Solve for the x that makes the output 0: the x-intercept |
| f(a + 1) | "f of a plus 1" | Replace every x with the whole quantity (a + 1) |
Worked example 3: evaluating at a number
Let f(x) = 3x2 − 5x + 2. Find f(−2).
Step 1. Rewrite the rule with an empty slot where every x was:
f( ) = 3( )2 − 5( ) + 2
Step 2. Drop −2 into every slot. Always use parentheses: this is the step that saves you from sign errors:
f(−2) = 3(−2)2 − 5(−2) + 2
Step 3. Exponents first. (−2)2 = (−2)(−2) = 4. The parentheses matter a great deal here, because (−2)2 = 4, but −22 = −4.
f(−2) = 3(4) − 5(−2) + 2
Step 4. Multiply. 3(4) = 12, and −5(−2) = +10 (negative times negative is positive):
f(−2) = 12 + 10 + 2
Step 5. Add left to right. 12 + 10 = 22, then 22 + 2 = 24.
f(−2) = 24
What did we really learn? We learned that the point (−2, 24) sits on the graph of f, because every time you find a value of a function, you have found a point.
Worked example 4: evaluating at an expression
Let f(x) = x2 − 3. Find f(a + 1).
Step 1. Every x becomes the entire quantity (a + 1), parentheses included:
f(a + 1) = (a + 1)2 − 3
Step 2. Expand the square. Remember (a + 1)2 means (a + 1)(a + 1), not a2 + 1:
(a + 1)(a + 1) = a2 + a + a + 1 = a2 + 2a + 1
Step 3. Substitute back and combine:
f(a + 1) = a2 + 2a + 1 − 3 = a2 + 2a − 2
Step 4. Sanity check with a number. Let a = 3. Our answer predicts 32 + 2(3) − 2 = 9 + 6 − 2 = 13. Directly: f(3 + 1) = f(4) = 42 − 3 = 16 − 3 = 13. They match, so the algebra is right.
Worked example 5: going backwards
Let f(x) = 2x + 7. Find the value of x for which f(x) = 19.
Step 1. Notice the direction. Here we are handed the output and asked for the input, which is the reverse of example 3.
Step 2. Set the rule equal to the given output: 2x + 7 = 19.
Step 3. Subtract 7 from both sides: 2x + 7 − 7 = 19 − 7, so 2x = 12.
Step 4. Divide both sides by 2: x = 6.
Step 5. Check by putting it back in: f(6) = 2(6) + 7 = 12 + 7 = 19. ✓
x = 6
- f(x) is read "f of x," and it never means multiply.
- To find a value, replace every x with the input in parentheses, then simplify using the order of operations.
- Inputs can be expressions: f(a + 1) substitutes the whole quantity.
- f(3) = 8 is the same statement as "the point (3, 8) is on the graph."
Section 3Domain and range

Two sets, one function
The domain is the set of every input the function is allowed to accept. The range is the set of every output it really produces. If a function is a machine, the domain is the list of raw supplies it can work with, and the range is the list of products that come out.
Most algebra functions accept every real number, and when that happens we simply say the domain is all real numbers. Trouble only arrives from two places, and in this course those two are the entire list:
- Division by zero is undefined. Any input that makes a denominator (the bottom of a fraction) equal zero must be thrown out.
- Even roots of negative numbers are not real. Any input that makes the inside of a square root (or a fourth root, sixth root, and so on) negative must be thrown out.
That is all. If the function has no fraction with a variable on the bottom and no square root with a variable inside, its domain is all real numbers, and you do not have to hunt for a problem that is not there.
Interval notation
Domains and ranges are usually written in interval notation, a short way of writing a set of numbers. A square bracket means "include this endpoint," and a parenthesis means "get as close as you like, but do not include it." Infinity is not a number you can reach, so it always gets a parenthesis. The union symbol ∪ means "and also this piece."
| In words | Inequality | Interval notation |
|---|---|---|
| All numbers bigger than 3 | x > 3 | (3, ∞) |
| 3 and everything bigger | x ≥ 3 | [3, ∞) |
| Everything less than 5 | x < 5 | (−∞, 5) |
| 5 and everything smaller | x ≤ 5 | (−∞, 5] |
| Between −2 and 5, including −2 only | −2 ≤ x < 5 | [−2, 5) |
| All real numbers | - | (−∞, ∞) |
| All reals except 4 | x ≠ 4 | (−∞, 4) ∪ (4, ∞) |
Worked example 6: domain of a rational function
Find the domain of f(x) = (x + 2)/(x2 − 9).
Step 1. Spot the danger. There is a variable in the denominator, so dividing by zero is possible. There is no square root, so that danger does not apply.
Step 2. Set the denominator equal to zero and solve, because these are the values to leave out:
x2 − 9 = 0
Step 3. Add 9 to both sides: x2 = 9.
Step 4. Take the square root of both sides, keeping both signs: x = ±3, so x = 3 or x = −3.
Step 5. Check one of them. At x = 3 the denominator is 32 − 9 = 9 − 9 = 0 and the numerator (top) is 3 + 2 = 5, which gives 5/0, and that is undefined. Confirmed.
Step 6. Write the answer. The domain is every real number except 3 and −3:
(−∞, −3) ∪ (−3, 3) ∪ (3, ∞)
Notice that we did not touch the numerator, because a zero on top is perfectly fine: f(−2) = 0/((−2)2 − 9) = 0/(4 − 9) = 0/(−5) = 0, which is a real output. Only a zero in the denominator breaks things.
Worked example 7: domain and range of a square root function
Find the domain and range of g(x) = √(2x − 8).
Step 1. Spot the danger. There is a square root, so the inside must not be negative.
Step 2. Set the inside greater than or equal to zero:
2x − 8 ≥ 0
Step 3. Add 8 to both sides: 2x ≥ 8.
Step 4. Divide both sides by 2. Dividing by a positive number leaves the direction of the inequality alone: x ≥ 4.
Step 5. The domain in interval notation is [4, ∞). The bracket on 4 is correct because x = 4 is allowed, since it gives √0, and √0 = 0 is a real number.
Step 6. Test the edge and one point on each side. g(4) = √(2(4) − 8) = √(8 − 8) = √0 = 0 ✓. g(6) = √(2(6) − 8) = √(12 − 8) = √4 = 2 ✓. g(3) = √(2(3) − 8) = √(6 − 8) = √(−2), which is not a real number, so it is rightly left out.
Step 7. Range. The square root symbol never gives back a negative value, so the smallest possible output is 0 (reached at x = 4), and the outputs grow without limit as x grows. The range is [0, ∞).
Worked example 8: both hazards at once, and reading a graph
Find the domain of h(x) = 5/√(x − 1).
Step 1. There is a square root and that root is in a denominator, so both rules apply.
Step 2. The root needs x − 1 ≥ 0, which means x ≥ 1.
Step 3. The denominator needs √(x − 1) ≠ 0, which fails only when x − 1 = 0, which means x = 1.
Step 4. Put them together: x ≥ 1 but x ≠ 1 means x > 1. The domain is (1, ∞). The endpoint that was let in at step 2 gets thrown back out at step 3, which is exactly why we check both rules.
Reading a graph is even easier: the domain is what you see as you scan from left to right, and the range is what you see as you scan from bottom to top. For the parabola y = x2 − 4, the curve stretches forever to the left and forever to the right, so the domain is (−∞, ∞). Going up and down, the lowest point is the vertex at (0, −4), which you can check: y = 02 − 4 = −4. The arms rise forever, so the range is [−4, ∞), with a bracket because the graph really reaches −4.
- Domain = allowed inputs; range = resulting outputs.
- Leave out inputs that make a denominator zero or put a negative under an even root.
- Brackets include an endpoint, parentheses exclude it; ∞ always gets a parenthesis.
- From a graph: domain is read left to right, range is read bottom to top.
Section 4Graphs of basic functions
The toolkit
There are six graphs that show up all the time in college algebra, and most of the functions you meet in the next several chapters are one of these six in disguise. (Two more parent graphs, the exponential and the logarithmic, join the family later, since no amount of shifting or stretching a toolkit graph gives you 2x.) The six are called the toolkit functions (or parent functions). If you learn their shapes now, then later, when you meet y = −2(x − 3)2 + 5, you will not start from scratch, because you will see a parabola and adjust it.
You do not memorize these by staring at pictures. You memorize them by plotting three or four points by hand, once, and letting the shape emerge. Do that today and it sticks.
| Name | Rule | Shape | Domain | Range |
|---|---|---|---|---|
| Linear (identity) | f(x) = x | Straight line through the origin, rising 1 for each 1 right | (−∞, ∞) | (−∞, ∞) |
| Quadratic | f(x) = x2 | Parabola, vertex (0, 0), opens up, symmetric about the y-axis | (−∞, ∞) | [0, ∞) |
| Absolute value | f(x) = |x| | A sharp V with its corner at (0, 0) | (−∞, ∞) | [0, ∞) |
| Square root | f(x) = √x | Half a parabola lying on its side, starting at (0, 0) and rising right | [0, ∞) | [0, ∞) |
| Cubic | f(x) = x3 | A stretched S through the origin, rising from lower left to upper right | (−∞, ∞) | (−∞, ∞) |
| Reciprocal | f(x) = 1/x | Two separate branches hugging the axes; never touches either | (−∞, 0) ∪ (0, ∞) | (−∞, 0) ∪ (0, ∞) |
Worked example 9: building the cubic by hand
Make a table of values for f(x) = x3 using x = −2, −1, 0, 1, and 2, and describe the shape.
f(−2) = (−2)3 = (−2)(−2)(−2). Work left to right: (−2)(−2) = 4, then 4(−2) = −8. So f(−2) = −8.
f(−1) = (−1)3 = (−1)(−1)(−1) = 1(−1) = −1.
f(0) = 03 = 0.
f(1) = 13 = 1.
f(2) = 23 = (2)(2)(2) = 4(2) = 8.
| x | −2 | −1 | 0 | 1 | 2 |
|---|---|---|---|---|---|
| x3 | −8 | −1 | 0 | 1 | 8 |
| x2 | 4 | 1 | 0 | 1 | 4 |
| |x| | 2 | 1 | 0 | 1 | 2 |
Plot (−2, −8), (−1, −1), (0, 0), (1, 1), and (2, 8), and connect them smoothly. You get an S curve that comes up steeply from the lower left, flattens for a moment at the origin, and then climbs steeply again. Cubing keeps the sign of the input, and the outputs grow without limit in both directions, down toward −∞ on the left and up toward ∞ on the right, with no gaps along the way. So the range of the cubic is all real numbers, which is a real difference from the squaring function in the row above it, which never goes below 0.
Compare the three rows in that table, and the differences jump out. The squaring row and the absolute value row are both symmetric, which means the value at −2 equals the value at 2. That is why both graphs fold neatly over the y-axis. The cubing row is the opposite (anti symmetric), with −8 at one end and 8 at the other, which is why the cubic never folds over but spins around the origin instead.
Worked example 10: square root and reciprocal
For f(x) = √x, choose perfect squares so the arithmetic stays clean:
f(0) = √0 = 0, because 02 = 0.
f(1) = √1 = 1, because 12 = 1.
f(4) = √4 = 2, because 22 = 4.
f(9) = √9 = 3, because 32 = 9.
Points (0, 0), (1, 1), (4, 2), (9, 3) show the signature behavior: the curve rises quickly at first, then flattens. Nothing exists to the left of x = 0, which is the domain [0, ∞) drawn.
For f(x) = 1/x:
f(−2) = 1/(−2) = −½.
f(−½) = 1/(−½) = −2, since dividing by one half doubles.
f(0) is undefined, because 1/0 has no value.
f(½) = 1/(½) = 2.
f(2) = 1/2 = ½.
Two things follow from this. As x gets close to 0, the outputs blow up in size, so the graph races up the y-axis on the right and down it on the left without ever touching it. And as x grows large, the outputs shrink toward 0 without reaching it. Those two unseen guide lines, x = 0 and y = 0, are the asymptotes. The gap at x = 0 is why this is the one toolkit function whose graph comes in two separate pieces.
- Six toolkit functions: x, x2, |x|, √x, x3, and 1/x.
- x2 and |x| have range [0, ∞); x, x3 reach every real output.
- √x has domain [0, ∞); 1/x excludes 0 from both domain and range.
- Every restricted domain shows up on the graph as a missing region or a break.
Section 5Transformations

Moving a graph without redrawing it
A transformation changes where a graph sits or how it is stretched, while keeping its basic shape. Once you know the six toolkit shapes, transformations let you graph hundreds of functions without ever plotting a point. The whole system rests on three moves: shifts (slide it), reflections (flip it), and stretches (pull it or squash it).
There is one quirk that confuses everyone the first time, so let us name it up front. Changes made outside the function do what you expect: add 3 outside and the graph goes up 3. Changes made inside the parentheses, next to the x, do the opposite of what you expect: you see x − 3 inside and the graph goes right 3, not left.
Why does this happen? The change to the input happens before the rule runs. In f(x − 3), to get the output that f used to give at 0, you now need x − 3 = 0, which means x = 3. So the interesting part of the graph moved to a larger x, which means it moved right. Understanding that one sentence is better than memorizing the rule.
| Form | Inside or outside | Effect on the graph | Example |
|---|---|---|---|
| f(x) + k | Outside | Shift up k units | x2 + 3 sits 3 higher |
| f(x) − k | Outside | Shift down k units | x2 − 3 sits 3 lower |
| f(x − h) | Inside | Shift right h units (opposite sign) | (x − 3)2 has vertex (3, 0) |
| f(x + h) | Inside | Shift left h units (opposite sign) | (x + 3)2 has vertex (−3, 0) |
| −f(x) | Outside | Reflect across the x-axis (flip upside down) | −x2 opens down |
| f(−x) | Inside | Reflect across the y-axis (flip left-right) | √(−x) points left |
| a·f(x), a > 1 | Outside | Vertical stretch by a: taller and narrower | 3x2 is steeper |
| a·f(x), 0 < a < 1 | Outside | Vertical compression: flatter and wider | ½x2 is flatter |
| f(bx), b > 1 | Inside | Horizontal compression by a factor of 1/b | Graph squeezed toward the y-axis |
| f(bx), 0 < b < 1 | Inside | Horizontal stretch by a factor of 1/b | Graph pulled away from the y-axis |
Worked example 11: decoding a full transformation
Describe the graph of g(x) = −2(x − 3)2 + 5 as a series of transformations of f(x) = x2, and then check with points.
Step 1. Identify the parent. The squared quantity tells you this starts as the parabola f(x) = x2.
Step 2. Read the inside first: (x − 3)2. Inside means sideways, and the sign flips, so this is a shift right 3. The vertex leaves (0, 0) and lands at (3, 0).
Step 3. Read the number in front, the 2 in −2. It is outside, so it is a vertical stretch by a factor of 2, which means every height doubles and the parabola gets narrower.
Step 4. Read the negative sign in −2. That is a reflection across the x-axis, so the parabola now opens downward.
Step 5. Read the +5 on the outside: a shift up 5. The vertex moves from (3, 0) to (3, 5).
Step 6. Check by working out some values, because this step makes the answer something you can trust instead of something you hope is right.
g(3) = −2(3 − 3)2 + 5 = −2(0)2 + 5 = −2(0) + 5 = 0 + 5 = 5. The vertex is confirmed at (3, 5). ✓
g(4) = −2(4 − 3)2 + 5 = −2(1)2 + 5 = −2(1) + 5 = −2 + 5 = 3. Point (4, 3).
g(2) = −2(2 − 3)2 + 5 = −2(−1)2 + 5 = −2(1) + 5 = −2 + 5 = 3. Point (2, 3), the mirror image of (4, 3), just as the symmetry about x = 3 needs. ✓
g(5) = −2(5 − 3)2 + 5 = −2(2)2 + 5 = −2(4) + 5 = −8 + 5 = −3. Point (5, −3).
The outputs fall away on both sides of the vertex, which confirms that the parabola opens downward. The range is (−∞, 5], since 5 is the highest value and the graph really reaches it.
Worked example 12: tracking one point through
The point (2, 4) lies on f(x) = x2, since 22 = 4. Where does it end up on g(x) = −2(x − 3)2 + 5?
Step 1. Handle the x value using the inside change. We need the inside amount to equal the old input: x − 3 = 2, so x = 2 + 3 = 5. The new x value is 5.
Step 2. Handle the y value using the outside changes, in the order they act. Start with the old output 4. Multiply by −2: 4(−2) = −8. Then add 5: −8 + 5 = −3.
Step 3. The new point is (5, −3).
Step 4. Check this against working it out directly in example 11, where we already found g(5) = −3. The two methods agree. ✓
Here is one more, with a different parent. For h(x) = |x + 4| − 2, the inside x + 4 shifts the graph left 4, and the outside −2 shifts it down 2, so the corner of the V moves from (0, 0) to (−4, −2). Check: h(−4) = |−4 + 4| − 2 = |0| − 2 = 0 − 2 = −2 ✓. And h(0) = |0 + 4| − 2 = |4| − 2 = 4 − 2 = 2, so (0, 2) is on the graph. That is four units right of the corner and four units up, which is exactly the arm of a V with slope 1.
- Outside changes are vertical and act as written, while inside changes are horizontal (sideways) and act in reverse.
- −f(x) flips over the x-axis; f(−x) flips over the y-axis.
- a > 1 stretches the graph up and down, while 0 < a < 1 squashes it (compresses it) up and down.
- Always check by working out two or three points, because it catches sign errors right away.
The chapter in one breath
- A function assigns exactly one output to each input; repeated outputs are legal, repeated inputs with different outputs are not.
- The vertical line test is the meaning of a function drawn as a picture: two hits on one vertical line means one input gave two outputs.
- f(x) is read "f of x," and it never means multiply. To find a value, put the input in parentheses everywhere x appears.
- f(0) asks for an output and gives the y-intercept; f(x) = 0 asks for an input and gives an x-intercept.
- The domain is found by leaving things out: throw out zero denominators and negatives under even roots. The range is what comes out.
- Read a graph left to right for domain, bottom to top for range, and write both in interval notation.
- The six toolkit functions: x, x2, |x|, √x, x3, 1/x: are the shapes most later graphs are built from.
- Transformations move those shapes. Outside changes are up and down and do what they say, while inside changes are sideways and work in reverse.
ReferenceWords worth knowing
Here is a quick list of the words in this chapter. Skim it now, and come back any time a word slows you down.
- Absolute value function
- The toolkit function f(x) = |x|, whose graph is a V with its corner at the origin. Its domain is (−∞, ∞) and its range is [0, ∞).
- Asymptote
- An unseen line that a graph gets as close as you like to as x or y grows without limit, such as x = 0 and y = 0 for f(x) = 1/x. The graph of 1/x never touches either one, but in general a graph may cross a flat (horizontal) asymptote before settling onto it.
- Cubic function
- The toolkit function f(x) = x3, an S-shaped curve through the origin; domain and range are both all real numbers.
- Dependent variable
- The output variable, usually y or f(x), whose value is determined by the input.
- Domain
- The set of all inputs a function is allowed to accept.
- Function
- A relation that assigns exactly one output to each input.
- Function notation
- Writing a rule as f(x), read "f of x," where f names the function and the parentheses hold the input.
- Horizontal shift
- A sideways slide caused by a change inside the function, f(x − h). The graph moves the opposite way from the sign, so x − 3 moves it right 3.
- Independent variable
- The input variable, usually x, whose value you are free to choose.
- Interval notation
- Shorthand for a set of numbers using brackets to include endpoints and parentheses to exclude them, as in [4, ∞).
- Linear function
- A function whose graph is a straight line; the toolkit version is the identity function f(x) = x.
- Mapping diagram
- A picture with arrows from each input to its output. It shows a function when exactly one arrow leaves each input.
- Quadratic function
- The toolkit function f(x) = x2 and the graphs made by moving it. The graph is a parabola.
- Range
- The set of all outputs a function really produces.
- Reciprocal function
- The toolkit function f(x) = 1/x, graphed as two branches with asymptotes at x = 0 and y = 0.
- Reflection
- A flip of the graph; −f(x) flips it across the x-axis and f(−x) flips it across the y-axis.
- Relation
- Any pairing of inputs with outputs; every function is a relation, but not every relation is a function.
- Square root function
- The toolkit function f(x) = √x; domain [0, ∞), range [0, ∞).
- Toolkit functions
- The six standard parent graphs: x, x2, |x|, √x, x3, and 1/x: that later functions are built from.
- Transformation
- A change of a graph's position or proportions, a shift, reflection, stretch, or compression, that preserves its basic shape.
- Vertical line test
- A graph represents a function if and only if no vertical line intersects it more than once.
- Vertical stretch
- Multiplying the outputs by a > 1 in a·f(x), which makes the graph taller and narrower. When 0 < a < 1, it squashes the graph instead.
Check yourself
Systems of Equations & Inequalities
Up to now, almost every equation you have solved had one unknown hiding in it. Real questions are rarely that tidy, because they often have two prices, two speeds, or two strengths of a mixture tangled together in the same story. A system of equations is simply two or more equations that have to be true at the same time, and solving one means finding the values that make all of them true at once. This chapter gives you four reliable ways to do that: graphing, substitution, elimination, and a step by step method for three unknowns. Then it puts them to work on mixture problems, rate problems, and shaded regions on a graph. Every method here is arithmetic you already know, set out in a careful order, so go slowly, write every line down, and it will hold.
By the end of this chapter you can
- Explain what a solution of a system is, and check a possible solution by putting it into every equation.
- Solve a system with two variables by graphing, and spot lines that cross, lines that are parallel, and lines that lie on top of each other (coincident).
- Sort a system as consistent independent, inconsistent, or consistent dependent by looking at its slopes and intercepts.
- Solve a system by substitution (swapping in an equal expression), and say when substitution is the fastest choice.
- Solve a system by elimination (adding equations so a variable cancels), including systems that must first be multiplied through, and say when elimination is the fastest choice.
- Explain the two endings where no variables are left: a false statement (no solution) and a true statement (infinitely many solutions).
- Solve a 3 × 3 system with three variables by cutting it down to a 2 × 2 system and then working back up (back-substituting).
- Set up and solve mixture and rate word problems, and graph the solution region of a system of linear inequalities.
Section 1Solving by graphing

What a "solution" means when there are two equations
A system of equations is a set of equations that must all be true at the same moment. When we write
x + y = 6
y = 2x − 3
we are asking a single question: is there a pair of numbers (x, y) that makes both sentences true? A solution of a system in two variables is an ordered pair, not a single number. The pair (3, 3) is a solution only if it works in the first equation and in the second. Checking one equation and stopping is the most common way people lose points on this topic, so build the habit now: always check in every original equation.
Here is the picture behind why graphing works. The graph of a linear equation is a picture of all the pairs that make it true. So the graph of equation one shows every pair that works in equation one, and the graph of equation two shows every pair that works in equation two. A pair that works in both must lie on both graphs, so it must be a point where the two lines intersect, or cross. That is the whole method.
A fully worked example
Solve by graphing:
Equation 1: x + y = 6
Equation 2: 2x − y = 3
Step 1: put each line in slope-intercept form, y = mx + b, because that form is the easiest to graph.
Equation 1: x + y = 6. Subtract x from both sides: y = −x + 6. Slope m = −1, y-intercept b = 6.
Equation 2: 2x − y = 3. Subtract 2x from both sides: −y = −2x + 3. Multiply both sides by −1: y = 2x − 3. Slope m = 2, y-intercept b = −3.
Step 2: build a small table of points for each line. Pick easy x-values and do the arithmetic out loud.
| x | y = −x + 6 | Point on line 1 | y = 2x − 3 | Point on line 2 |
|---|---|---|---|---|
| 0 | −(0) + 6 = 6 | (0, 6) | 2(0) − 3 = −3 | (0, −3) |
| 2 | −(2) + 6 = 4 | (2, 4) | 2(2) − 3 = 1 | (2, 1) |
| 3 | −(3) + 6 = 3 | (3, 3) | 2(3) − 3 = 3 | (3, 3) |
| 6 | −(6) + 6 = 0 | (6, 0) | 2(6) − 3 = 9 | (6, 9) |
Step 3: read where the lines cross (the intersection). The point (3, 3) shows up on both lines, so that is where the graphs cross.
Step 4: check in both original equations. Equation 1: 3 + 3 = 6, and 6 = 6 ✓. Equation 2: 2(3) − 3 = 6 − 3 = 3, and 3 = 3 ✓. Both are true, so the solution is (3, 3).
Graphing is honest but not exact, because if the true crossing point were at (2.37, 1.14), you would never read it off graph paper. That is exactly why the algebra methods in Sections 2 and 3 exist. Use graphing to understand what you are doing and to check that an answer makes sense, and use algebra to get the exact numbers.
Three pictures, three outcomes
Two lines in a plane can relate to each other in only three ways, so a linear system of two equations has only three possible outcomes. Learning to spot which one you have before you do any work saves a lot of time.
Case A: they cross once. Different slopes force the lines to meet at exactly one point. For example, y = −x + 6 and y = 2x − 3 have slopes −1 and 2, so there is one solution. Such a system is called consistent, which means it has at least one solution, and independent, which means the equations say truly different things.
Case B: they are parallel. Look at y = 3x + 1 and y = 3x − 4. Both have slope 3, but their y-intercepts are 1 and −4, so they are different lines running side by side forever. They never meet, so no ordered pair makes both true. The system is inconsistent, and the solution set is empty. You can see the clash in the algebra too: if y equals both, then 3x + 1 = 3x − 4, and subtracting 3x from both sides gives 1 = −4, which is false. No x can fix that.
Case C: they are the same line. Look at 2x + 4y = 8 and x + 2y = 4. Divide every term of the first by 2: (2x)/(2) + (4y)/(2) = (8)/(2), which is x + 2y = 4, exactly the second equation. These are two disguises for one line, so they are coincident. Every point on that line makes both equations true, so there are infinitely many solutions, which means there is no end to them. Such a system is consistent and dependent. In slope-intercept form both become y = −(1)/(2)x + 2, with the same slope and the same intercept.
| Picture | Slopes / intercepts | Number of solutions | Name |
|---|---|---|---|
| Lines cross once | Slopes differ | Exactly one ordered pair | Consistent, independent |
| Lines are parallel | Same slope, different y-intercept | None: empty solution set | Inconsistent |
| Lines lie on top of each other | Same slope, same y-intercept | Infinitely many (all points on the line) | Consistent, dependent |
- A solution of a system in two variables is an ordered pair that satisfies every equation: always check in both originals.
- On a graph, the solution is the point (or points) where the graphs cross.
- Two lines give exactly three outcomes: one solution (different slopes), no solution (parallel), or infinitely many (the same line, called coincident).
- Graphing helps you understand, but it is hard to read when the answer is not a whole number, so use algebra for exact values.
Section 2Substitution

The idea: trade one variable for an equal expression
The trouble with a system is that each equation has two unknowns, and you know how to solve equations with only one unknown. The substitution method deals with that directly. Solve one equation for one variable, then replace that variable in the other equation with the expression it equals. Because you are swapping in something that is truly equal, the new equation is still true, but now it has only one variable, and you are back on familiar ground.
The procedure is always the same four moves:
| Step | What you do | Why it works |
|---|---|---|
| 1 | Isolate one variable in one equation | Gives you an expression that variable is equal to |
| 2 | Substitute that expression into the other equation | Equals may replace equals; the result has one variable |
| 3 | Solve the one-variable equation | Ordinary algebra you already know |
| 4 | Back-substitute to find the other variable, then check both originals | A system needs a full ordered pair, and checking catches errors |
A warning about step 2: you must substitute into the other equation. If you substitute back into the same equation you came from, everything cancels and you get a statement that is true but useless, like 6 = 6. That is not a mistake in the math, because it just means you told the equation something it already knew.
Worked example 1: a variable is already isolated
Solve: y = 3x − 4 and 2x + y = 11.
Step 1. The first equation is already solved for y: y = 3x − 4. Nothing to do.
Step 2. Substitute (3x − 4) in place of y in the second equation:
2x + y = 11 → 2x + (3x − 4) = 11
Step 3. Solve. Combine like terms: 2x + 3x = 5x, so the equation is 5x − 4 = 11. Add 4 to both sides: 5x = 15. Divide both sides by 5: x = 3.
Step 4. Back-substitute x = 3 into the isolated equation: y = 3(3) − 4 = 9 − 4 = 5.
Check both originals. First: y = 3x − 4 becomes 5 = 3(3) − 4 = 5 ✓. Second: 2x + y = 2(3) + 5 = 6 + 5 = 11 ✓. The solution is (3, 5).
Worked example 2: when you have to isolate first
Solve: x − 2y = 1 and 3x + 4y = 23.
Step 1: choose wisely. Look for a variable whose coefficient (the number in front of it) is 1 or −1, because getting it alone will not create fractions. In the first equation, x has coefficient 1. Add 2y to both sides of x − 2y = 1: x = 2y + 1.
Step 2: substitute into the other equation. Replace x with (2y + 1):
3x + 4y = 23 → 3(2y + 1) + 4y = 23
Step 3: solve. Distribute the 3: 3(2y) = 6y and 3(1) = 3, so we have 6y + 3 + 4y = 23. Combine like terms: 6y + 4y = 10y, giving 10y + 3 = 23. Subtract 3 from both sides: 10y = 20. Divide by 10: y = 2.
Step 4: back-substitute. Using x = 2y + 1: x = 2(2) + 1 = 4 + 1 = 5.
Check both originals. First: x − 2y = 5 − 2(2) = 5 − 4 = 1 ✓. Second: 3x + 4y = 3(5) + 4(2) = 15 + 8 = 23 ✓. The solution is (5, 2).
When the variables all disappear
Sometimes every variable cancels partway through. Do not panic: the sentence you are left with is telling you which of the three pictures from Section 1 you are in.
All variables gone, and the statement is false. Solve y = 2x + 1 and 4x − 2y = 5. Substitute: 4x − 2(2x + 1) = 5. Distribute the −2: −2(2x) = −4x and −2(1) = −2, so 4x − 4x − 2 = 5, which simplifies to −2 = 5. That is false for every value of x, so there is no solution, because the lines are parallel.
All variables gone, and the statement is true. Solve y = 2x + 1 and 6x − 3y = −3. Substitute: 6x − 3(2x + 1) = −3, so 6x − 6x − 3 = −3, which simplifies to −3 = −3. That is true for every value of x, so there are infinitely many solutions, because the two equations describe the same line. We report the answer as "all ordered pairs that make y = 2x + 1 true."
Substitution is not only for lines
Substitution is the method that keeps working when an equation is not linear (not a straight line), which is why it is worth learning well. Solve y = x2 − 1 and y = x + 1. Since both expressions equal y, they equal each other:
x2 − 1 = x + 1
Subtract x and subtract 1 from both sides: x2 − x − 2 = 0. Factor: (x − 2)(x + 1) = 0. So x = 2 or x = −1. Back-substitute into y = x + 1: when x = 2, y = 3; when x = −1, y = 0. Check in the parabola: 22 − 1 = 3 ✓ and (−1)2 − 1 = 1 − 1 = 0 ✓. The line crosses the parabola twice, at (2, 3) and (−1, 0).
Two warnings come with systems that are not linear. First, a variable may carry a restriction, and you should write it down before you solve, not after. If an equation contains (1)/(x − 3), the denominator cannot be zero, so x ≠ 3 is an excluded value, and a "solution" of x = 3 must be thrown out no matter how cleanly the algebra produced it. Here is that trap in a small example. Solve y = (x)/(x − 2) and y = (2)/(x − 2). Both denominators force x ≠ 2. Setting the two expressions equal and multiplying both sides by (x − 2) gives x = 2, the one value the system forbids. That answer is extraneous (it does not really work), and the honest answer is no solution.
Second, if solving ever needs you to square both sides or to multiply through by an expression that has a variable in it, the new equation can pick up extraneous solutions that do not work in the original, because neither move can be undone cleanly. The same warning applies to any logarithm equation you meet in a system. A logarithm is defined only when the number inside it is positive, so log expressions come with their own domain restriction, and every possible answer must be tested against it. None of this is a reason to fear the method. It is a reason to check every possible answer in the original equations, which you were going to do anyway.
- Substitution: get a variable alone, swap it into the other equation, solve, then put the value back (back-substitute) and check.
- It is easiest when a variable is already alone, or has a coefficient of 1 or −1.
- A false ending (like −2 = 5) means no solution, and a true ending (like −3 = −3) means infinitely many.
- Substitution also handles systems that are not linear. State the excluded values before you solve, watch for extraneous solutions, and check every possible answer in the originals.
Section 3Elimination

The idea: add the equations so a variable cancels
The elimination method, also called the addition method, rests on a fact that feels almost too easy: if A = B and C = D, then A + C = B + D. You may add two true equations together, left side to left side and right side to right side, and the result is still true. If the coefficients of one variable are opposites, that variable adds up to zero and vanishes, leaving one equation with one unknown.
When the coefficients are not already opposites, you make them opposites. Multiplying a whole equation by a number that is not zero does not change its solutions, so 2x + 3y = 7 and 4x + 6y = 14 have exactly the same solutions. That means you are free to scale either equation, or both, until the numbers line up.
Worked example 1: the coefficients already cancel
Solve: 2x + 5y = 23 and 3x − 5y = −3.
Step 1: look for opposites. The y-terms are +5y and −5y. Adding them gives 5y + (−5y) = 0y = 0. The y disappears with no extra work.
Step 2: add the equations column by column.
| x-terms | y-terms | = | Constants | |
|---|---|---|---|---|
| Equation 1 | 2x | +5y | = | 23 |
| Equation 2 | 3x | −5y | = | −3 |
| Sum | 5x | 0 | = | 20 |
The arithmetic on the constants: 23 + (−3) = 20. On the x-terms: 2x + 3x = 5x. So the sum is 5x = 20.
Step 3: solve. Divide both sides by 5: x = 4.
Step 4: back-substitute. Put x = 4 into equation 1: 2(4) + 5y = 23, so 8 + 5y = 23. Subtract 8 from both sides: 5y = 15. Divide by 5: y = 3.
Check both originals. Equation 1: 2(4) + 5(3) = 8 + 15 = 23 ✓. Equation 2: 3(4) − 5(3) = 12 − 15 = −3 ✓. The solution is (4, 3).
Worked example 2: multiply first, then eliminate
Solve: 3x + 4y = 10 and 2x + 5y = 9.
Step 1: decide what to eliminate. Nothing cancels yet, so aim at x. Its coefficients are 3 and 2, and the least common multiple of 3 and 2 is 6. If we can make them +6x and −6x, they will cancel.
Step 2: multiply each equation through. Multiply every term of equation 1 by 2:
2(3x) + 2(4y) = 2(10) → 6x + 8y = 20
Multiply every term of equation 2 by −3:
−3(2x) + (−3)(5y) = −3(9) → −6x − 15y = −27
Step 3: add. The x-terms: 6x + (−6x) = 0. The y-terms: 8y + (−15y) = −7y. The constants: 20 + (−27) = −7. So −7y = −7.
Step 4: solve. Divide both sides by −7: y = 1.
Step 5: back-substitute into an original equation. Use 3x + 4y = 10 with y = 1: 3x + 4(1) = 10, so 3x + 4 = 10. Subtract 4: 3x = 6. Divide by 3: x = 2.
Check both originals. Equation 1: 3(2) + 4(1) = 6 + 4 = 10 ✓. Equation 2: 2(2) + 5(1) = 4 + 5 = 9 ✓. The solution is (2, 1).
Notice that putting the value back used an original equation, not one of the multiplied versions. Either one would work, but the originals are the ones you must make true, so using them also counts as part of your check.
The same two special endings
Elimination shows parallel lines and lines that lie on top of each other the same way substitution does. Solve 2x + 3y = 7 and 4x + 6y = 5. Multiply the first equation by −2: −4x − 6y = −14. Add it to the second: (−4x + 4x) + (−6y + 6y) = −14 + 5, which is 0 = −9. That is false, so there is no solution.
Now try 2x + 3y = 7 and 4x + 6y = 14. Multiply the first by −2 again: −4x − 6y = −14. Add: 0 = −14 + 14 = 0. That is true, so there are infinitely many solutions, because the second equation is just the first one doubled.
Which method should you reach for?
Both methods always work. The only question is which one costs less arithmetic, and the answer is usually easy to see in the coefficients.
| What the system looks like | Best method | Reason |
|---|---|---|
| A variable is already isolated, e.g. y = 2x − 4 | Substitution | Step 1 is already done for you |
| Some variable has coefficient 1 or −1 | Substitution | Isolating it creates no fractions |
| Both equations look like Ax + By = C with coefficients 2 or larger | Elimination | Substitution would force fractions immediately |
| A variable's coefficients are already opposites (+5y and −5y) | Elimination | One addition and the variable is gone |
| Three or more variables | Elimination | It scales; substitution gets tangled fast |
| An equation is not linear (contains x2, √x, and so on) | Substitution | Terms will not cancel by addition |
- Elimination adds the equations so that the terms of one variable cancel to zero.
- Multiplying a whole equation by a number that is not zero does not change its solutions, and that is what lets you create opposites.
- Use the least common multiple of the two coefficients to decide what to multiply by.
- Elimination is easiest for systems in Ax + By = C form, mainly when no coefficient is 1. 0 = a number that is not zero means no solution, and 0 = 0 means infinitely many.
Section 4Systems in three variables

What changes and what does not
An equation like 2x − y + 3z = 9 is linear in three variables. Its solution is no longer an ordered pair but an ordered triple (x, y, z), and its graph is no longer a line but a flat plane floating in space, which has three directions. A system of three such equations asks whether there is a point that lies on all three planes at once.
Three planes can meet at exactly one point, like the corner of a room where two walls and the floor come together, and that is the unique solution case. They can share a whole line or a whole plane, which gives infinitely many solutions. Or they can have no point in common at all, with two of them parallel, or with all three arranged like the sides of a long box with three sides (a triangular prism), which gives no solution.
The plan is comforting because it reuses what you already know: knock the 3 × 3 system down to a 2 × 2 system, solve that, and then climb back up. The tool for knocking it down is elimination.
A fully worked 3 × 3 example
Solve:
E1: x + y + z = 6
E2: 2x − y + 3z = 9
E3: x − y + z = 2
Step 1: choose a variable to eliminate everywhere. Scan the y-column: +1y, −1y, −1y. Those are already opposites, so y is the cheapest target. We will eliminate y twice, using two different pairs of equations.
Step 2: eliminate y from E1 and E2 by adding them.
(x + 2x) + (y − y) + (z + 3z) = 6 + 9
The x-terms give 3x; the y-terms give 0; the z-terms give 4z; the constants give 15. Call the result Equation A: 3x + 4z = 15.
Step 3: eliminate y from E1 and E3 by adding them.
(x + x) + (y − y) + (z + z) = 6 + 2
That gives 2x + 2z = 8. Divide every term by 2 to keep the numbers small: Equation B: x + z = 4.
Equations A and B form an ordinary 2 × 2 system in x and z: the hard part is over.
Step 4: solve the 2 × 2 system. Equation B has a coefficient of 1, so substitution is cheap. From B: x = 4 − z. Substitute into A:
3(4 − z) + 4z = 15
Distribute the 3: 3(4) = 12 and 3(−z) = −3z, so 12 − 3z + 4z = 15. Combine the z-terms: −3z + 4z = 1z, giving 12 + z = 15. Subtract 12 from both sides: z = 3.
Step 5: back-substitute for the second variable. Using x = 4 − z: x = 4 − 3 = 1.
Step 6: put the values back into an original equation with three variables to find the last one. Use E1: x + y + z = 6 becomes 1 + y + 3 = 6, so 4 + y = 6. Subtract 4: y = 2.
Step 7: check in all three originals. This is not optional in a 3 × 3 system, because a single slip in the arithmetic at step 2 quietly spoils everything after it.
| Equation | Substitute x = 1, y = 2, z = 3 | Arithmetic | True? |
|---|---|---|---|
| E1 | 1 + 2 + 3 | = 6, and we need 6 | ✓ |
| E2 | 2(1) − 2 + 3(3) | = 2 − 2 + 9 = 9, and we need 9 | ✓ |
| E3 | 1 − 2 + 3 | = 2, and we need 2 | ✓ |
All three hold, so the solution is the ordered triple (1, 2, 3).
Bookkeeping rules that keep you out of trouble
Systems with three variables are not harder to understand than systems with two. They are just longer, and length is where errors live. A few habits do most of the work.
Eliminate the same variable both times. If you cancel y from the pair (E1, E2) and then cancel z from the pair (E1, E3), your two new equations will not share the same pair of variables, and you will have gained nothing.
Use each equation at least once. A classic trap is to use E1 with E2, and then E1 with E2 again in a different disguise. You must bring E3 into the work, or what it tells you never enters the answer.
Aim for a staircase (triangular form) if you like structure. Some people like to rearrange the system into a staircase, with the first equation using all three variables, the second using two, and the third using one, and then solve from the bottom up. That process is called back-substitution, and it is exactly what steps 4 through 6 above did, just written in a different way.
Read the endings the same way as before. If eliminating gives a false statement such as 0 = 7, the system is inconsistent and has no solution. If it gives 0 = 0, the equations are dependent and there are infinitely many solutions, because the planes share a line or a plane instead of a point.
- A solution in three variables is an ordered triple (x, y, z); each equation graphs as a plane.
- The plan: eliminate the same variable from two different pairs of equations to get a 2 × 2 system, solve it, and then put the values back (back-substitute).
- Every equation must be used at least once, or what it tells you is lost.
- 0 = a number that is not zero still means no solution, and 0 = 0 still means infinitely many. Check the triple in all three originals.
Section 5Applications and systems of inequalities

Turning a story into two equations
Word problems become easy to manage once you accept a fixed routine. Name the unknowns with letters and units. Write one equation for each separate fact in the story. Two unknowns need two facts, and three unknowns need three. Then solve by whichever method the coefficients invite, and do the step people skip: ask whether the answer makes sense in the story. A negative number of liters or a fraction of a chair is a signal to go back and reread, not a final answer.
Two families of problems show up constantly, so it is worth seeing each worked completely.
Worked example 1: a mixture problem
A technician has a 20% saline solution and a 50% saline solution. How many milliliters of each are needed to make 300 mL of a 30% solution?
Step 1: name the unknowns. Let x = milliliters of the 20% solution and y = milliliters of the 50% solution. Both must be at or above zero: x ≥ 0 and y ≥ 0.
Step 2: write one equation for total volume. The two amounts have to add up to 300 mL:
x + y = 300
Step 3: write one equation for the amount of salt. This is the equation people forget, so track the salt, not the liquid. The 20% bottle adds 0.20x mL of salt, the 50% bottle adds 0.50y mL, and the finished 300 mL at 30% holds 0.30(300) = 90 mL of salt.
0.20x + 0.50y = 90
Step 4: clear the decimals. Multiply every term of the salt equation by 10: 10(0.20x) = 2x, 10(0.50y) = 5y, and 10(90) = 900. So 2x + 5y = 900.
Step 5: solve. The volume equation has coefficients of 1, so substitution is cheap. From x + y = 300 we get x = 300 − y. Substitute into 2x + 5y = 900:
2(300 − y) + 5y = 900
Distribute: 2(300) = 600 and 2(−y) = −2y, giving 600 − 2y + 5y = 900. Combine the y-terms: −2y + 5y = 3y, so 600 + 3y = 900. Subtract 600 from both sides: 3y = 300. Divide by 3: y = 100.
Step 6: back-substitute. x = 300 − 100 = 200.
Step 7: check against the story, not just the algebra. Volume: 200 + 100 = 300 mL ✓. Salt: 0.20(200) + 0.50(100) = 40 + 50 = 90 mL ✓. Strength of the result: (90)/(300) = 0.30 = 30% ✓. Both amounts are positive, so they are possible in real life. Answer: 200 mL of the 20% solution and 100 mL of the 50% solution.
Check the reasoning too. 30% sits closer to 20% than to 50%, so we should need more of the weak solution than the strong one, and we do, 200 mL versus 100 mL. That kind of quick look catches sign errors before they reach your paper.
Worked example 2: a rate problem
A boat travels 36 miles downstream in 2 hours, then returns the same 36 miles upstream in 3 hours. Find the boat's speed in still water and the speed of the current.
Step 1: name the unknowns. Let b = the boat's speed in still water (mph) and c = the current's speed (mph).
Step 2: model the two directions. Going downstream the current helps, so the effective speed is b + c. Going upstream the current fights the boat, so the effective speed is b − c.
Step 3: use distance = rate × time, rearranged as rate = distance ÷ time.
Downstream: b + c = (36)/(2) = 18
Upstream: b − c = (36)/(3) = 12
Step 4: eliminate. The c-terms are +c and −c, already opposites. Add the two equations: (b + b) + (c − c) = 18 + 12, which is 2b = 30. Divide both sides by 2: b = 15.
Step 5: back-substitute. Put b = 15 into b + c = 18: 15 + c = 18, so c = 3.
Step 6: check against the story. Downstream speed 15 + 3 = 18 mph for 2 hours covers 18 × 2 = 36 miles ✓. Upstream speed 15 − 3 = 12 mph for 3 hours covers 12 × 3 = 36 miles ✓. Both speeds are positive, and the current is slower than the boat: otherwise the boat could not go upstream at all. Answer: the boat travels 15 mph in still water and the current runs at 3 mph.
| Problem type | Equation 1 (the "how much" fact) | Equation 2 (the "how strong" fact) |
|---|---|---|
| Mixture / solution | Amounts add to the total: x + y = total | Substance adds up: p1x + p2y = pmix(total) |
| Coins / tickets | Counts add to the total number | Values add to the total money |
| Wind or current | With the flow: r + w = distance ÷ time | Against the flow: r − w = distance ÷ time |
| Break-even | Cost: C = (fixed) + (per-unit)x | Revenue: R = (price)x; solve C = R |
Systems of inequalities: shading instead of pinpointing
Change an equals sign to an inequality sign, and the answer stops being a point and becomes a region. The graph of y ≤ −x + 6 is not a line, because it is the line together with every point below it. Graphing a linear inequality takes three moves.
Move 1: graph the boundary line by pretending the inequality sign is an equals sign. Draw it solid if the symbol is ≤ or ≥, because those points are included. Draw it dashed if the symbol is < or >, because those points are left out.
Move 2: pick a test point that is not on the line. Use (0, 0) whenever the line misses the origin, because the arithmetic is trivial. If the line passes through the origin, use something like (1, 0) or (0, 1) instead.
Move 3: shade. If the test point makes the inequality true, shade the side that contains it. If it makes the inequality false, shade the other side.
Here is one algebra warning first. If you have to solve for y, and that means multiplying or dividing both sides by a negative number, the inequality symbol flips. Adding or subtracting never flips it, because only multiplying or dividing by a negative does. Take 2x − 3y ≥ 6. Subtract 2x: −3y ≥ −2x + 6. Now divide every term by −3, and because −3 is negative, ≥ becomes ≤: y ≤ (2)/(3)x − 2. Multiplying works the same way. From −(1)/(2)y < 4, multiply both sides by −2, and < flips to >, giving y > −8. Forgetting that flip shades exactly the wrong half of the plane.
Worked example 3: graphing a system of two inequalities
Graph the solution region of: y ≤ −x + 6 and y ≥ 2x − 3.
Step 1: handle the first inequality. The boundary is y = −x + 6, the same line from Section 1, passing through (0, 6) and (6, 0). The symbol is ≤, so the line is solid. Test (0, 0): is 0 ≤ −(0) + 6? That asks whether 0 ≤ 6, which is true, so shade the side with the origin, which is the region below the line.
Step 2: handle the second inequality. The boundary is y = 2x − 3, passing through (0, −3) and (2, 1). The symbol is ≥, so this line is also solid. Test (0, 0): is 0 ≥ 2(0) − 3? That asks whether 0 ≥ −3, which is true, so shade the side with the origin, which is the region above this line.
Step 3: find the overlap. The solution of the system is only where both shadings agree. The two boundary lines cross at (3, 3), as we worked out in Section 1. So the solution region is a wedge with its point at (3, 3), opening to the left, with y = −x + 6 along its top and y = 2x − 3 along its bottom. Both edges belong to the region because both lines are solid.
Step 4: verify with sample points. Try (0, 0): 0 ≤ 6 ✓ and 0 ≥ −3 ✓, so the origin is in the region, as the shading says. Try (5, 5): is 5 ≤ −5 + 6 = 1? No: 5 ≤ 1 is false, so (5, 5) is outside, which matches the picture. Try (3, 3), the corner: 3 ≤ −3 + 6 = 3 ✓ (equality is allowed) and 3 ≥ 2(3) − 3 = 3 ✓. The corner point is included.
A system of inequalities can also have no solution. Graph y > x + 2 and y < x − 1. Both boundaries have slope 1, so they are parallel. The first inequality wants points above the higher line, and the second wants points below the lower line. Those two regions never overlap, so the solution set is empty. You can see it in the algebra as well, because the two conditions together would need x + 2 < y < x − 1, and no number is both greater than x + 2 and less than x − 1.
| Symbol | Boundary line | Points on the line | Shade |
|---|---|---|---|
| < | Dashed | Not included | Side where the test point is true |
| > | Dashed | Not included | Side where the test point is true |
| ≤ | Solid | Included | Side where the test point is true |
| ≥ | Solid | Included | Side where the test point is true |
- Give each unknown a letter and a unit, and then write one equation for each separate fact.
- Mixture problems need an equation for the total amount and an equation for the substance. Rate problems with wind or current use r + w and r − w.
- To graph an inequality, draw a solid line for ≤ and ≥ and a dashed line for < and >. Then test a point and shade the side that makes it true.
- Multiplying or dividing an inequality by a negative number flips the symbol, but adding or subtracting never does.
- The solution of a system of inequalities is the overlap of the shaded regions, and the overlap can be empty.
The chapter in one breath
- A system is several equations that must be true at once. Its solution is an ordered pair (or triple) that makes every one of them true, so always check in all the originals.
- Graphing shows the solution as the point where the lines cross. It also shows the only three possible outcomes: one solution, none (parallel), or infinitely many (coincident, the same line).
- Substitution gets a variable alone and swaps it into the other equation. It is best when a variable is already alone or has a coefficient of 1 or −1, and it is the method that still works on equations that are not linear.
- Elimination adds the equations so that a variable cancels, after multiplying a whole equation first when needed. It is best for Ax + By = C systems and for three or more variables.
- Both algebra methods end the same way in special cases. A false statement (0 = 7) means no solution, and a true statement (0 = 0) means infinitely many.
- A 3 × 3 system is solved by eliminating the same variable from two different pairs to make a 2 × 2 system, and then putting the values back, while using every equation at least once.
- Mixture problems pair a total amount equation with a substance equation. Rate problems with a current pair r + w with r − w. Always test the answer against the story.
- A system of inequalities is solved by shading. Draw a solid or dashed boundary, use a test point to choose the side, and take the overlap as the answer. Remember that multiplying or dividing by a negative flips the symbol.
ReferenceWords worth knowing
Here is a quick list of the words in this chapter. Skim it now, and come back whenever a word slows you down in the middle of a problem.
- Back-substitution
- Taking a value you have just found and putting it back into an earlier equation to find the other variable or variables. It is the climb back up after you cut a system down.
- Boundary line
- The line you get by replacing the symbol in an inequality with an equals sign. It is drawn solid for ≤ or ≥ and dashed for < or >.
- Break-even point
- The solution of the system cost = revenue; the production level at which money in equals money out.
- Coincident lines
- Two equations that graph as the same line. They have the same slope and the same y-intercept, and they give infinitely many solutions.
- Consistent system
- A system that has at least one solution.
- Dependent system
- A consistent system whose equations say the same thing (one is a multiple of the other), which gives infinitely many solutions.
- Elimination method
- Solving a system by adding the equations, after multiplying one or both if needed, so that the terms of one variable cancel to zero. It is also called the addition method.
- Excluded value
- A number the variable is not allowed to take, because it would make a denominator zero or break another domain rule, such as a logarithm needing a positive number inside it. It must be stated before solving, and any possible answer equal to it must be thrown out.
- Extraneous solution
- A value that comes from an allowed algebra step, such as squaring both sides or multiplying through by an expression with a variable in it, but that does not really make the original equation true. It is the reason every possible answer is checked in the originals.
- Half-plane
- One of the two regions that a line cuts the coordinate plane into. The solution set of a linear inequality is a half plane, with or without its boundary.
- Inconsistent system
- A system with no solution at all. In two variables, it is a pair of parallel lines. In the algebra, it shows up as a false statement such as 0 = −9.
- Independent system
- A system whose equations give truly different facts. In two variables, it is a pair of lines with different slopes and exactly one solution.
- Linear equation in two variables
- An equation that can be written Ax + By = C, with A and B not both zero. Its graph is a straight line.
- Ordered pair
- A solution written (x, y) with the order fixed; (3, 5) and (5, 3) are different points.
- Ordered triple
- A solution in three variables written (x, y, z); it must satisfy all three equations.
- Parallel lines
- Different lines with the same slope and different y-intercepts. They never cross, so the system is inconsistent.
- Slope-intercept form
- The form y = mx + b, where m is the slope and b is the y-intercept. It is the handiest form for graphing and for comparing two lines.
- Solution of a system
- Any set of values that makes every equation in the system true at the same time.
- Substitution method
- Solving a system by isolating one variable and replacing it in the other equation with the expression it equals.
- System of equations
- Two or more equations considered together, whose solutions must satisfy all of them at once.
- System of inequalities
- Two or more inequalities taken together. The solution is the overlap of their shaded regions, and it may be empty.
- Test point
- Any point not on the boundary line, put into an inequality to decide which side to shade. (0, 0) is the usual choice when the line misses the origin.
- Triangular form
- A way of rearranging a system so that each equation has one fewer variable than the one before, so it can be solved from the bottom up by putting values back.
Check yourself
Polynomials & Factoring
A polynomial is nothing more unusual than a string of terms added together, where each term is a number multiplied by a variable raised to a whole number power. You have been handling them since your first algebra class, because 2x + 5 is one, and so is x2 − 3x − 4. This chapter teaches you to add them, subtract them, and multiply them. Then it teaches the part that makes people nervous, which is running the multiplication backward, and that is called factoring. Factoring is a skill, not a talent, because it is a short list of patterns that you learn to spot and try in the same order every single time. Work the examples with a pencil instead of just reading them, and by the end of this chapter the list will feel automatic.
By the end of this chapter you can
- Decide whether an expression is a polynomial, and name it by its degree (its highest power) and by its number of terms.
- Write a polynomial in standard form, and find its leading coefficient and its constant term.
- Add and subtract polynomials by combining like terms, and spread the subtraction over every term correctly.
- Multiply polynomials with the distributive property, use FOIL on two binomials (expressions with two terms), and use the three special product patterns.
- Factor out the greatest common factor, and factor a polynomial with four terms by grouping.
- Factor trinomials (expressions with three terms) of the form ax2 + bx + c, including when a > 1, by using the AC method.
- Spot and factor a difference of squares, a perfect square trinomial, and a sum or difference of cubes.
- Check every factored answer by multiplying it back out, and say when a polynomial is prime, which means it cannot be factored.
Section 1Polynomials

What counts as a polynomial
A term is a number multiplied by one or more variables raised to powers, so 7x3, −2x, and 15 are all terms. A polynomial is a sum of such terms where every exponent on a variable is a whole number (0, 1, 2, 3, and so on), and where no variable ever sits in a denominator or under a root sign. That last sentence is the whole meaning of the word, and it is worth learning by heart, because every tool in this chapter works only on polynomials.
So 4x3 − x + 9 is a polynomial. But (3)/(x) is not one, because (3)/(x) is really 3x−1, and −1 is not a whole number. Neither is √x, which is x1/2, and neither is 2x, where the variable is up in the exponent instead of down in the base. Those expressions are perfectly fine math, but they are just not polynomials, so the factoring patterns below do not apply to them.
The number multiplying a term is its coefficient. A term with no variable at all, which is a lone number, is the constant term. In 4x3 − x + 9, the coefficients are 4, −1, and 9, and 9 is the constant term. Notice that the coefficient of x is −1 and not 1, because the sign in front of a term belongs to that term. Half of all sign errors in algebra come from forgetting that one rule.
Degree, standard form, and names
The degree of a term is the exponent on its variable. If a term has several variables, its degree is the sum of their exponents, so 5x2y3 has degree 2 + 3 = 5. The degree of the polynomial is the largest degree among its terms. A constant that is not zero, like 9, has degree 0, because 9 = 9x0.
A polynomial is in standard form when its terms are written from the highest degree down to the lowest. The coefficient of that first term, the one with the highest degree, is the leading coefficient. Rewriting 5 − 2x3 + x2 in standard form gives −2x3 + x2 + 5, so the degree is 3 and the leading coefficient is −2. Standard form is not fussiness for its own sake, because it makes like terms line up, which is exactly what adding and subtracting need.
| Named by | Name | Meaning | Example |
|---|---|---|---|
| Terms | Monomial | One term | 7x3 |
| Terms | Binomial | Two terms | 2x − 9 |
| Terms | Trinomial | Three terms | x2 − 3x − 4 |
| Degree | Constant | Degree 0 | 12 |
| Degree | Linear | Degree 1 | 3x − 5 |
| Degree | Quadratic | Degree 2 | x2 − 3x − 4 |
| Degree | Cubic | Degree 3 | 2x3 + x − 1 |
| Degree | Quartic | Degree 4 | x4 − 81 |
Adding and subtracting: combine like terms
Like terms have exactly the same variable raised to exactly the same power, so 3x2 and −8x2 are like terms, but 3x2 and 3x3 are not. You combine like terms by adding their coefficients and leaving the variable part alone. That is just the distributive property used in reverse: 3x2 − 8x2 = (3 − 8)x2 = −5x2.
Worked example: addition. Simplify (3x3 − 5x + 7) + (x3 + 4x2 − 2x − 9).
- Drop the parentheses. Because this is addition, nothing changes sign when the parentheses come off: 3x3 − 5x + 7 + x3 + 4x2 − 2x − 9.
- Collect the x3 terms. 3x3 + 1x3, so add the numbers in front: 3 + 1 = 4. So 4x3.
- Collect the x2 terms. The first polynomial has none, so this is 0 + 4 = 4, which gives 4x2.
- Collect the x terms. −5x and −2x, so add the numbers in front: −5 + (−2) = −7. So −7x.
- Collect the constants, the plain numbers with no variable: 7 + (−9) = −2.
- Write the answer in standard form, from the highest power down to the lowest: 4x3 + 4x2 − 7x − 2.
Worked example: subtraction. Simplify (4x2 − x + 6) − (2x2 + 5x − 3).
- Spread the minus sign to every term inside the second parentheses. The minus sign is really −1 multiplying the whole group, so −1(2x2) = −2x2, −1(+5x) = −5x, and −1(−3) = +3.
- Rewrite with no parentheses, using the new signs you just found: 4x2 − x + 6 − 2x2 − 5x + 3.
- Combine the x2 terms by adding the numbers in front: 4 − 2 = 2, which gives 2x2.
- Combine the x terms by adding the numbers in front: −1 − 5 = −6, which gives −6x.
- Combine the constants, the plain numbers: 6 + 3 = 9.
- Answer. 2x2 − 6x + 9.
Notice that the third term went from −3 to +3. If you had written 6 − 3 = 3 there, you would have gotten 2x2 − 6x + 3, which is wrong, and no calculator will give you partial credit for it. So build the habit now: a subtraction sign in front of a group flips every sign inside the group.
- A polynomial is a sum of terms with whole number exponents on the variables, so there are no variables in denominators, under root signs, or in exponents.
- The degree is the largest exponent (or the largest sum of exponents in one term), and standard form runs from the highest degree to the lowest.
- Combine only like terms, which have the same variable and the same exponent, by adding their coefficients.
- Subtraction distributes a −1 to every term in the group being subtracted.
Section 2Multiplying polynomials

The one rule: everybody meets everybody
All polynomial multiplication is a single idea repeated: each term in the first factor multiplies each term in the second factor, and then you combine like terms. That is the distributive property, a(b + c) = ab + ac, used as many times as needed. When you multiply the variable parts, remember the exponent rule xm · xn = xm+n, because here the exponents do add.
Worked example: a monomial (one term) times a polynomial. Multiply 3x2(4x3 − 2x + 5).
- 3x2 · 4x3: multiply the numbers in front, 3 · 4 = 12, and multiply the variables, x2 · x3 = x2+3 = x5. Result: 12x5.
- 3x2 · (−2x): multiply the numbers in front, 3 · (−2) = −6, and multiply the variables, x2 · x1 = x3. Result: −6x3.
- 3x2 · 5 = 15x2.
- Answer. 12x5 − 6x3 + 15x2. There are no like terms to combine, since the degrees 5, 3, and 2 are all different from each other.
FOIL: a nickname for one particular case
When both factors are binomials, which have two terms each, "everybody meets everybody" gives exactly four products. The memory aid FOIL keeps you from missing one: First terms, Outer terms, Inner terms, Last terms. Keep in mind that FOIL is not a separate rule, because it is just the distributive property with a name, and it applies only to two terms times two terms.
Worked example: FOIL. Multiply (2x + 3)(x − 5).
- First: 2x · x = 2x2.
- Outer: 2x · (−5) = −10x.
- Inner: 3 · x = 3x.
- Last: 3 · (−5) = −15.
- String all four products together in order: 2x2 − 10x + 3x − 15.
- Combine the two middle terms, since they are like terms: −10 + 3 = −7, so the answer is 2x2 − 7x − 15.
Worked example: a binomial times a trinomial. Multiply (x + 2)(x2 − 3x + 4). FOIL does not apply here, since there are six products and not four, so distribute with care.
- Send x through the trinomial. x · x2 = x3; x · (−3x) = −3x2; and x · 4 = 4x.
- Send 2 through the trinomial. 2 · x2 = 2x2; 2 · (−3x) = −6x; and 2 · 4 = 8.
- Line up all six products so you can find the like terms: x3 − 3x2 + 4x + 2x2 − 6x + 8.
- Combine the x2 terms: −3 + 2 = −1, which gives −x2. Combine the x terms: 4 − 6 = −2, which gives −2x.
- Answer. x3 − x2 − 2x + 8.
Three special products worth memorizing
Three special products come up so often, and are so useful when read backward as factoring patterns in Section 5, that you should know them by heart instead of working them out with FOIL every time.
| Pattern | Result | Worked instance |
|---|---|---|
| Square of a sum | (a + b)2 = a2 + 2ab + b2 | (3x + 5)2 = 9x2 + 30x + 25 |
| Square of a difference | (a − b)2 = a2 − 2ab + b2 | (x − 6)2 = x2 − 12x + 36 |
| Sum times difference | (a + b)(a − b) = a2 − b2 | (4x − 7)(4x + 7) = 16x2 − 49 |
Worked example: checking the first pattern. Expand (3x + 5)2 the long way to see where 2ab comes from. Write it as (3x + 5)(3x + 5) and use FOIL. First, 3x · 3x = 9x2. Outer, 3x · 5 = 15x. Inner, 5 · 3x = 15x. Last, 5 · 5 = 25; adding them, 9x2 + 15x + 15x + 25 = 9x2 + 30x + 25. The Outer and Inner products are the same, which is exactly why the middle term is twice the product of the two pieces.
Worked example: why the middle vanishes. Expand (4x − 7)(4x + 7). First, 4x · 4x = 16x2. Outer, 4x · 7 = 28x. Inner, −7 · 4x = −28x. Last, −7 · 7 = −49. The middle terms are opposites: 28x − 28x = 0. What survives is 16x2 − 49.
- Multiplying means every term times every term, and then combining like terms. Exponents add when you multiply.
- FOIL is the distributive property used on two binomials only, which gives four products.
- Memorize (a ± b)2 = a2 ± 2ab + b2 and (a + b)(a − b) = a2 − b2.
- Squaring a binomial never just squares each piece, because the 2ab middle term is always there.
Section 3Factoring out the GCF and by grouping

Factoring is multiplication run backward
To factor a polynomial is to write it as a product. You already know how to check your work perfectly: multiply the factors back out and see whether you land on what you started with. That check takes about fifteen seconds and wipes out nearly all factoring errors, so do it every time.
Factoring matters because a product equal to zero tells you something that a sum never can; if AB = 0, then A = 0 or B = 0. This is the zero product property, and it is how factored form turns into solutions in the next chapter; factoring also lets you simplify fractions. One warning while you are here: when you cancel a common factor out of a rational expression (a fraction made of polynomials), the excluded values do not go away. For example, (x2 − 9)/(x − 3) = ((x − 3)(x + 3))/(x − 3) = x + 3, but only for x ≠ 3, because the original expression is undefined there.
Step one, every time: the greatest common factor
The greatest common factor (GCF) of a polynomial is the largest monomial (single term) that divides evenly into every term. Build it in two pieces: the greatest common factor of the coefficients, and each shared variable raised to the lowest power that shows up anywhere in the polynomial. Pulling out the GCF is always the first move, before grouping, before trinomials, and before anything else, because it makes every later step smaller.
Worked example. Factor 12x4 − 18x3 + 30x2.
- Find the GCF of the coefficients. The factors of 12 are 1, 2, 3, 4, 6, and 12. The factors of 18 are 1, 2, 3, 6, 9, and 18. The factors of 30 are 1, 2, 3, 5, 6, 10, 15, and 30. The largest number in all three lists is 6.
- Find the GCF of the variables. The powers present are x4, x3, and x2, and the lowest one, which goes into all three, is x2.
- So the GCF is 6x2.
- Divide each term by 6x2 to see what is left inside the parentheses. (12x4)/(6x2) = 2x2, (−18x3)/(6x2) = −3x, and (30x2)/(6x2) = 5.
- Write the answer. 6x2(2x2 − 3x + 5).
- Check by distributing. 6x2 · 2x2 = 12x4, 6x2 · (−3x) = −18x3, and 6x2 · 5 = 30x2, which matches the original.
When the leading coefficient is negative, it is usually worth pulling the negative out too. For −4x3 + 8x2 − 12x, take the GCF as −4x. Then (−4x3)/(−4x) = x2, (8x2)/(−4x) = −2x, and (−12x)/(−4x) = 3, so the factored form is −4x(x2 − 2x + 3). Every sign inside flipped, which is exactly what dividing by a negative does.
Four terms? Try grouping
When a polynomial has four terms and no GCF shared by all four, split it into two pairs and factor the GCF out of each pair on its own. Then hope the leftover parentheses match; if they do, that matching parenthesis is itself a common factor, and you pull it out.
Worked example. Factor x3 + 5x2 + 3x + 15.
- Group the terms into two pairs, the first two and the last two: (x3 + 5x2) + (3x + 15).
- Find the GCF of the first pair. x3 and 5x2 share x2, so factoring it out gives x2(x + 5).
- Find the GCF of the second pair. 3x and 15 share 3, so factoring it out gives 3(x + 5).
- Compare the parentheses. Both are (x + 5), so the grouping worked, and the expression is now x2(x + 5) + 3(x + 5).
- Pull out the common binomial. Treat (x + 5) as a single object. It shows up once in each term, so factor it out, and what is left is x2 + 3. Answer: (x + 5)(x2 + 3).
- Check. (x + 5)(x2 + 3) = x3 + 3x + 5x2 + 15, and putting the terms in order gives x3 + 5x2 + 3x + 15. That matches, so it is correct.
Worked example with a negative in the middle. Factor 6x3 − 9x2 − 4x + 6.
- Group the terms into two pairs. (6x3 − 9x2) + (−4x + 6). Keep each sign with the term it belongs to.
- First pair. GCF is 3x2: (6x3)/(3x2) = 2x and (−9x2)/(3x2) = −3, giving 3x2(2x − 3).
- Second pair. If you factor out +2 you get 2(−2x + 3), which does not match. Factor out −2 instead: (−4x)/(−2) = 2x and (6)/(−2) = −3, giving −2(2x − 3). Now it matches.
- Combine. Both terms now share (2x − 3), so pull it out: 3x2(2x − 3) − 2(2x − 3) = (2x − 3)(3x2 − 2).
- Check. (2x − 3)(3x2 − 2) = 6x3 − 4x − 9x2 + 6, which can be put in order as 6x3 − 9x2 − 4x + 6. That matches, so it is correct.
| Number of terms | First try | Then try |
|---|---|---|
| Any count | Always factor out the GCF first | Continue with what is left inside |
| Two | Difference of squares | Sum or difference of cubes (Section 5) |
| Three | Perfect square trinomial | AC method / trial factors (Section 4) |
| Four | Grouping into two pairs | Regroup or rearrange the terms |
- Factoring writes a polynomial as a product, so always check by multiplying it back out.
- The GCF is the GCF of the coefficients times each shared variable at its lowest power. Pull it out first, every time.
- Dividing by a negative GCF flips every sign inside the remaining factor.
- Four terms hints at grouping: factor each pair, and then pull out the binomial that matches.
Section 4Factoring trinomials

The easy case: x2 + bx + c
When the leading coefficient is 1, factoring is a small puzzle: find two numbers whose product is c and whose sum is b. If those numbers are p and q, then x2 + bx + c = (x + p)(x + q). This works because FOIL on (x + p)(x + q) gives x2 + qx + px + pq = x2 + (p + q)x + pq.
Worked example. Factor x2 + 7x + 12.
- Set the target. You want two numbers with a product of 12 and a sum of 7.
- List the factor pairs of 12. 1 and 12 (sum 13); 2 and 6 (sum 8); 3 and 4 (sum 7). Stop: 3 and 4 work.
- Write the factors using those two numbers: (x + 3)(x + 4).
- Check by FOIL. x2 + 4x + 3x + 12 = x2 + 7x + 12, which matches, so it is correct.
Worked example with negatives. Factor x2 − 3x − 28.
- Target. Product −28, sum −3. A negative product means the two numbers have opposite signs.
- List the pairs that multiply to −28. 1 and −28 (sum −27); −1 and 28 (sum 27); 2 and −14 (sum −12); −2 and 14 (sum 12); 4 and −7 (sum −3). Found it: 4 and −7.
- Write the factors using those two numbers: (x + 4)(x − 7).
- Check. x2 − 7x + 4x − 28 = x2 − 3x − 28, which matches, so it is correct.
| Signs of b and c | Signs inside the factors | Example |
|---|---|---|
| c > 0, b > 0 | Both positive | x2 + 7x + 12 = (x + 3)(x + 4) |
| c > 0, b < 0 | Both negative | x2 − 7x + 12 = (x − 3)(x − 4) |
| c < 0 | Opposite signs; the larger absolute value carries the sign of b | x2 − 3x − 28 = (x + 4)(x − 7) |
The general case: ax2 + bx + c with a > 1
When a is not 1, guessing gets slow. The AC method (also called factoring by decomposition, which means splitting apart) turns the problem into a grouping problem, which you already know how to do. Here is the recipe: multiply a · c, find two numbers whose product is a · c and whose sum is b, split the middle term into those two pieces, and then factor by grouping.
Worked example. Factor 6x2 + 11x + 3.
- Name the numbers. Here a = 6, b = 11, and c = 3.
- Compute a · c. 6 · 3 = 18.
- Find two numbers with product 18 and sum 11. Pairs for 18: 1 and 18 (sum 19); 2 and 9 (sum 11). That is the pair.
- Split the middle term into those two pieces, so 11x becomes 9x + 2x: 6x2 + 9x + 2x + 3.
- Group and factor each pair. (6x2 + 9x) + (2x + 3) = 3x(2x + 3) + 1(2x + 3).
- Pull out the common binomial, (2x + 3), which shows up in both terms: (2x + 3)(3x + 1).
- Check by FOIL. 6x2 + 2x + 9x + 3 = 6x2 + 11x + 3, which matches, so it is correct.
Step 5 hides a trap worth naming; the second pair, 2x + 3, has no common factor other than 1, so you factor out a 1, not nothing. Writing that unseen 1 is what makes the final step easy to see.
Worked example with a negative c. Factor 10x2 − 11x − 6.
- Compute a · c. 10 · (−6) = −60.
- Find two numbers with product −60 and sum −11. Because the product is negative, the signs differ; because the sum is negative, the bigger piece is negative. Try −12 and 5 (sum −7); −15 and 4 (sum −11). That is the pair.
- Split the middle term into those two pieces: 10x2 − 15x + 4x − 6.
- Group. (10x2 − 15x) + (4x − 6) = 5x(2x − 3) + 2(2x − 3).
- Factor out the common binomial, (2x − 3), which shows up in both terms: (2x − 3)(5x + 2).
- Check. 10x2 + 4x − 15x − 6 = 10x2 − 11x − 6, which matches, so it is correct.
GCF first, and when nothing works
Worked example. Factor 4x2 + 22x + 30 completely.
- GCF check. 4, 22, and 30 are all even, and their GCF is 2. Factor it out: 2(2x2 + 11x + 15).
- Use AC on the inside. a · c = 2 · 15 = 30, and two numbers with product 30 and sum 11 are 5 and 6.
- Split and group. 2x2 + 5x + 6x + 15 = x(2x + 5) + 3(2x + 5) = (2x + 5)(x + 3).
- Put the GCF back in front so nothing is lost: 2(2x + 5)(x + 3).
- Check. (2x + 5)(x + 3) = 2x2 + 6x + 5x + 15 = 2x2 + 11x + 15, and multiplying by 2 gives 4x2 + 22x + 30. That matches, so it is correct.
If you had skipped step 1, a · c would have been 4 · 30 = 120, and you would be hunting through the factor pairs of 120. Pulling out the GCF first turned that into the factor pairs of 30, and that is the whole reason the GCF comes first.
Last of all, some trinomials simply do not factor using integers; for x2 + x + 1 you would need two integers with product 1 and sum 1. The only integer pairs that multiply to 1 are 1 and 1 (sum 2) and −1 and −1 (sum −2), and neither gives 1, so the trinomial is prime. Prime is a correct final answer, not a sign that you did something wrong.
- For x2 + bx + c, find two numbers with product c and sum b.
- For ax2 + bx + c with a > 1, use the AC method: product a · c, sum b, split the middle term, then group.
- A negative c means the two numbers have opposite signs, and the one that is bigger in size carries the sign of b.
- Pull the GCF out first, because it shrinks a · c a great deal. Remember that some trinomials are prime.
Section 5Special factoring patterns

Difference of squares
Read the special product (a + b)(a − b) = a2 − b2 from right to left, and you have a factoring rule: a2 − b2 = (a + b)(a − b). To use it, make sure that you have exactly two terms, that both are perfect squares, and that the sign between them is a minus.
Worked example. Factor 49x2 − 64.
- Is each term a perfect square? 49x2 = (7x)2 because 7 · 7 = 49 and x · x = x2. And 64 = 82. Yes.
- Name the pieces that were squared: a = 7x and b = 8.
- Use the pattern (a + b)(a − b): (7x + 8)(7x − 8).
- Check. First gives 49x2, Outer gives −56x, Inner gives +56x, and Last gives −64. The middle terms cancel, leaving 49x2 − 64, so it is correct.
Worked example: GCF first, then the pattern. Factor 18x3 − 50x completely. The GCF of 18 and 50 is 2, and both terms contain x, so the GCF is 2x, and 18x3 − 50x = 2x(9x2 − 25). Inside, 9x2 = (3x)2 and 25 = 52, so 9x2 − 25 = (3x + 5)(3x − 5). The fully factored form is 2x(3x + 5)(3x − 5). Without the GCF step, 18x3 − 50x is not a difference of squares at all, because the exponent 3 is odd.
Worked example: apply it twice. Factor x4 − 81. Here x4 = (x2)2 and 81 = 92, so x4 − 81 = (x2 + 9)(x2 − 9). The second factor is itself a difference of squares: x2 − 9 = (x + 3)(x − 3). The first factor, x2 + 9, is a sum of squares and does not factor over the real numbers. Final answer: (x2 + 9)(x + 3)(x − 3).
Perfect square trinomials
Running the squaring patterns backward gives a2 + 2ab + b2 = (a + b)2 and a2 − 2ab + b2 = (a − b)2. Spotting these saves time, but you must check all three conditions: the first term is a perfect square, the last term is a perfect square (and positive), and the middle term equals twice the product of the two square roots.
Worked example. Factor 9x2 − 30x + 25.
- First term. 9x2 = (3x)2, so a = 3x.
- Last term. 25 = 52, so b = 5.
- Test the middle term. 2ab = 2 · 3x · 5 = 30x. The middle term of the trinomial is −30x, which matches in size and tells you the sign inside is a minus.
- Answer. Since the middle sign is a minus, the answer is (3x − 5)2.
- Check. (3x − 5)(3x − 5) = 9x2 − 15x − 15x + 25 = 9x2 − 30x + 25. Correct.
A near miss shows why the middle term test matters; take 9x2 − 20x + 25. The outer terms are still perfect squares, but 2ab = 30x ≠ 20x, so it is not a perfect square trinomial. If you run the AC method on it, a · c = 225, and no integer pair that multiplies to 225 adds up to −20, so that trinomial is prime.
Sum and difference of cubes
These two are memorized, not derived on the spot:
- a3 + b3 = (a + b)(a2 − ab + b2)
- a3 − b3 = (a − b)(a2 + ab + b2)
The signs follow the memory aid SOAP: Same (the sign in the binomial matches the original), Opposite (the middle sign in the trinomial is the opposite), and Always Positive (the last sign is always +). It also helps to know the small cubes by heart: 1, 8, 27, 64, 125, 216, 343, 512, 729, and 1000.
Worked example: sum of cubes. Factor 8x3 + 27.
- Write both terms as cubes. 8x3 = (2x)3 because 23 = 8; and 27 = 33. So a = 2x and b = 3.
- Build the binomial (S means same sign). (a + b) = (2x + 3).
- Build the trinomial piece by piece. a2 = (2x)2 = 4x2. Next, ab = 2x · 3 = 6x, and by SOAP the sign is opposite, so it is −6x. Last, b2 = 32 = 9, which is always positive.
- Answer. Put the two pieces together: (2x + 3)(4x2 − 6x + 9).
- Check by expanding. 2x(4x2 − 6x + 9) = 8x3 − 12x2 + 18x. Then 3(4x2 − 6x + 9) = 12x2 − 18x + 27. Adding: 8x3 + (−12 + 12)x2 + (18 − 18)x + 27 = 8x3 + 27. Correct: the two middle columns cancel, which is why the pattern works.
Worked example: difference of cubes. Factor 125x3 − 64.
- Write as cubes. 125x3 = (5x)3 since 53 = 125; 64 = 43. So a = 5x, b = 4.
- Build the binomial. It keeps the same sign as the original: (5x − 4).
- Build the trinomial. a2 = 25x2. Next, ab = 5x · 4 = 20x, with the sign opposite to the minus in the binomial, so it is +20x. Last, b2 = 16.
- Answer. Put the two pieces together: (5x − 4)(25x2 + 20x + 16).
- Check. 5x(25x2 + 20x + 16) = 125x3 + 100x2 + 80x. And −4(25x2 + 20x + 16) = −100x2 − 80x − 64. Adding gives 125x3 − 64. Correct.
That trinomial factor, a2 ± ab + b2, almost never factors any further using integers. Note that it is not a perfect square trinomial, because a perfect square would need a middle term of 2ab, not ab. Once you have used the cubes pattern, you are done.
| Pattern | Factored form | Example |
|---|---|---|
| Difference of squares | a2 − b2 = (a + b)(a − b) | 49x2 − 64 = (7x + 8)(7x − 8) |
| Sum of squares | Prime over the real numbers | x2 + 9 does not factor |
| Perfect square (+) | a2 + 2ab + b2 = (a + b)2 | 16x2 + 56x + 49 = (4x + 7)2 |
| Perfect square (−) | a2 − 2ab + b2 = (a − b)2 | 9x2 − 30x + 25 = (3x − 5)2 |
| Sum of cubes | a3 + b3 = (a + b)(a2 − ab + b2) | 8x3 + 27 = (2x + 3)(4x2 − 6x + 9) |
| Difference of cubes | a3 − b3 = (a − b)(a2 + ab + b2) | 125x3 − 64 = (5x − 4)(25x2 + 20x + 16) |
- a2 − b2 = (a + b)(a − b); a sum of squares is prime over the reals.
- A perfect square trinomial needs the middle term to equal exactly 2ab, so always test it.
- Cubes: SOAP: Same sign, Opposite sign, Always Positive.
- Pull the GCF first and then look again: a hidden pattern often appears, and sometimes you apply a pattern twice.
The chapter in one breath
- A polynomial is a sum of terms with whole number exponents. Its degree is the largest exponent, and standard form runs from highest to lowest.
- Add and subtract by combining like terms only, and distribute the minus sign to every term of a subtracted group.
- Multiply by sending every term of one factor through every term of the other. FOIL is that idea for two binomials.
- The special products (a ± b)2 = a2 ± 2ab + b2 and (a + b)(a − b) = a2 − b2 become the factoring patterns of Section 5 when you read them backward.
- Always factor out the GCF first. With four terms, try grouping into two pairs and pulling out the binomial that matches.
- For trinomials, find two numbers with product c (or a · c when a > 1) and sum b. The AC method turns the hard case into a grouping problem.
- Know a difference of squares, a perfect square trinomial, and a sum or difference of cubes on sight. A sum of squares is prime.
- Check every factored answer by multiplying it back out. When you cancel a factor from a fraction, write down the excluded value.
ReferenceWords worth knowing
Here is a quick list of the words in this chapter. Skim it now, or come back to it whenever a word trips you up.
- AC method
- A way to factor ax2 + bx + c. Find two numbers with product a · c and sum b, split the middle term into those two pieces, and then factor by grouping.
- Binomial
- A polynomial with exactly two terms, such as 3x − 7.
- Coefficient
- The number part of a term, including its sign. In −5x3 the coefficient is −5.
- Constant term
- A term with no variable, which is the same as the term of degree 0.
- Degree of a polynomial
- The largest degree among all of its terms.
- Degree of a term
- The exponent on the variable, or the sum of the exponents when several variables appear.
- Difference of squares
- The pattern a2 − b2 = (a + b)(a − b).
- Distributive property
- The rule a(b + c) = ab + ac, which is behind all polynomial multiplication and all factoring.
- Factor
- As a noun, one of the expressions being multiplied; as a verb, to rewrite a sum as a product.
- Factoring by grouping
- Splitting a polynomial with four terms into two pairs, factoring each pair, and then pulling out the binomial they share.
- FOIL
- A memory aid for multiplying two binomials: First, Outer, Inner, Last.
- Greatest common factor (GCF)
- The largest monomial that divides evenly into every term. It is the GCF of the coefficients times each shared variable at its lowest power.
- Leading coefficient
- The coefficient of the term with the highest degree, once the polynomial is in standard form.
- Like terms
- Terms with identical variables raised to identical powers; only like terms may be combined by addition.
- Monomial
- A polynomial with exactly one term, such as 6x4.
- Perfect square trinomial
- A trinomial of the form a2 ± 2ab + b2, which factors as (a ± b)2.
- Polynomial
- A sum of terms in which every exponent on a variable is a whole number, and no variable shows up in a denominator, under a root sign, or in an exponent.
- Prime polynomial
- A polynomial that cannot be factored into polynomials of lower degree with integer coefficients, such as x2 + x + 1.
- Standard form
- A polynomial written with its terms in order from the highest degree to the lowest.
- Sum and difference of cubes
- The patterns a3 + b3 = (a + b)(a2 − ab + b2) and a3 − b3 = (a − b)(a2 + ab + b2).
- Term
- A single number, variable, or product of numbers and variables within a polynomial, together with the sign in front of it.
- Trinomial
- A polynomial with exactly three terms, such as x2 − 3x − 4.
Check yourself
Rational Expressions
A rational expression is nothing more unusual than a fraction whose top and bottom happen to contain variables. If you can add ½ + ⅓, you already have the tools for everything in this chapter, and the only new work is factoring first so you can see what the pieces really are. There is one truly new idea, and it is important. Because a denominator (the bottom of a fraction) can never equal zero, every rational expression comes with a short list of forbidden values of the variable, and you have to name them out loud. That one habit prevents almost every mistake people make here, including the famous "answer" at the end of a rational equation that turns out not to be an answer at all. Take this chapter slowly and factor everything, and it will feel less like new algebra and more like arithmetic you already trust.
By the end of this chapter you can
- Say what a rational expression is, and find its excluded values by setting each denominator equal to zero.
- Simplify a rational expression by factoring completely and dividing out common factors.
- Explain why you may cancel factors but never terms, and catch that error in your own work.
- Multiply and divide rational expressions, including flipping the divisor and tracking every restriction.
- Build a least common denominator (LCD) from factored denominators, and use it to add and subtract.
- Simplify a complex fraction by two different methods and choose the faster one for a given problem.
- Solve rational equations by clearing the denominators with the LCD.
- Test every possible solution, and throw out any extraneous solution, which is one that does not really work.
Section 1Simplifying rational expressions

What a rational expression is
A rational expression is a quotient of two polynomials, which means one polynomial over another, written P/Q. The word "rational" here has nothing to do with being sensible, because it comes from ratio. These are all rational expressions:
(3)/(x) (x + 5)/(x − 2) (x2 − 9)/(x2 + x − 12) (2x + 1)/(7)
That last one has a plain number as its denominator, which is allowed, since a polynomial of degree zero is still a polynomial. What is never allowed is a denominator that equals zero. Dividing by zero does not give "infinity," and it does not give "zero." It is simply undefined, which means it produces no number at all. Everything careful we do in this chapter comes from respecting that one rule.
Excluded values come first, not last
An excluded value (also called a restriction) is any number that makes a denominator equal zero. Those numbers are thrown out of the domain of the expression, which is the set of inputs it allows. Find them before you simplify anything, because simplifying can hide them. A factor that you cancel is gone from the page, but its restriction still applies.
To find them, set each denominator equal to zero, factor, and solve. For (x2 − 9)/(x2 + x − 12), the denominator factors as (x + 4)(x − 3). So the product is zero when x + 4 = 0 or x − 3 = 0, which means when x = −4 or x = 3. The restrictions are x ≠ −4 and x ≠ 3.
Simplify by factoring, then dividing out factors
The engine of simplifying is the fundamental principle of fractions: (a · c)/(b · c) = (a)/(b), as long as b ≠ 0 and c ≠ 0. In words, a factor that shows up on both the top and the bottom divides out to 1. Notice the word factor, which means something being multiplied. That word is doing all the work, and the tip at the end of Section 1 explains why.
Worked example 1. Simplify (x2 − 9)/(x2 + x − 12) and state the restrictions.
- Factor the denominator and list the restrictions. x2 + x − 12 = (x + 4)(x − 3), because 4 · (−3) = −12 and 4 + (−3) = 1. Set each factor to zero to get x = −4 and x = 3. So x ≠ −4 and x ≠ 3.
- Factor the numerator, the top. x2 − 9 is a difference of squares: x2 − 32 = (x + 3)(x − 3).
- Rewrite the whole expression in factored form. [(x + 3)(x − 3)] / [(x + 4)(x − 3)]
- Divide out the common factor. The factor (x − 3) appears on top and on bottom, and it divides out to 1: [(x + 3) · 1] / [(x + 4) · 1]
- Write the answer with its restrictions. (x + 3)/(x + 4), where x ≠ −4 and x ≠ 3.
Check it with a number. Pick any allowed number, say x = 0. Original: (02 − 9)/(02 + 0 − 12) = (−9)/(−12) = 3/4. Simplified: (0 + 3)/(0 + 4) = 3/4. They match, so the simplifying is right. This check takes about 30 seconds and catches nearly every algebra slip, so you should do it every time until it feels like you no longer need it.
Why keep the restriction x ≠ 3 when the simplified form (x + 3)/(x + 4) works fine at x = 3? Because the two expressions are equal only where both are defined. The original is undefined at x = 3, so the graph of the original has a hole there, which is exactly what this section's figure shows.
Worked example 2. Simplify (3 − x)/(x2 − 9).
- Factor and restrict. x2 − 9 = (x − 3)(x + 3), so x ≠ 3 and x ≠ −3.
- Notice the opposites. The numerator 3 − x is the opposite of x − 3, so factor out −1: 3 − x = −1(x − 3). Check by distributing: −1 · x = −x and −1 · (−3) = +3, which gives −x + 3 = 3 − x. That is correct.
- Rewrite. [−1(x − 3)] / [(x − 3)(x + 3)]
- Divide out (x − 3). −1/(x + 3), with x ≠ 3 and x ≠ −3.
Check. At x = 0: original = (3 − 0)/(0 − 9) = 3/(−9) = −1/3. Simplified = −1/(0 + 3) = −1/3. Match.
| Pattern | Shape | Factored form | Example |
|---|---|---|---|
| Common factor | every term shares something | ab + ac = a(b + c) | 6x2 + 9x = 3x(2x + 3) |
| Difference of squares | a2 − b2 | (a + b)(a − b) | x2 − 25 = (x + 5)(x − 5) |
| Trinomial, lead 1 | x2 + bx + c | (x + m)(x + n), mn = c, m + n = b | x2 + 7x + 12 = (x + 3)(x + 4) |
| Trinomial, lead ≠ 1 | ax2 + bx + c | split the middle term, then group | 2x2 + 7x + 3 = (2x + 1)(x + 3) |
| Perfect square | a2 ± 2ab + b2 | (a ± b)2 | x2 + 6x + 9 = (x + 3)2 |
| Difference of cubes | a3 − b3 | (a − b)(a2 + ab + b2) | x3 − 8 = (x − 2)(x2 + 2x + 4) |
| Opposites | b − a vs. a − b | b − a = −1(a − b) | 3 − x = −1(x − 3) |
- A rational expression is one polynomial divided by another, and the denominator may never be zero.
- Find the excluded values first, from the original denominators, and carry them into your final answer.
- Simplify by factoring completely, then dividing out common factors.
- Opposites differ by a factor of −1: b − a = −1(a − b).
Section 2Multiplying and dividing

Multiplication: the rule you already know
Multiplying fractions is the friendliest operation there is, because you just multiply straight across: (a)/(b) · (c)/(d) = (ac)/(bd). With numbers, you probably already cancel before you multiply. For 4/9 · 3/8, you would cancel the 4 with the 8 and the 3 with the 9 to get 1/3 · 1/2 = 1/6, instead of multiplying to 12/72 and then reducing. Rational expressions need that same habit even more. If you multiply out (x + 2)(x + 3)(x − 1)(x − 2) first, you will be staring at a polynomial of degree four that you then have to factor all over again. Factor first. Cancel second. Multiply last.
Worked example 3. Multiply (x2 + 5x + 6)/(x2 − 4) · (x2 − 3x + 2)/(x2 + 4x + 3).
- Factor all four polynomials.
x2 + 5x + 6 = (x + 2)(x + 3) [2 · 3 = 6, 2 + 3 = 5]
x2 − 4 = (x − 2)(x + 2) [difference of squares]
x2 − 3x + 2 = (x − 1)(x − 2) [(−1)(−2) = 2, −1 + (−2) = −3]
x2 + 4x + 3 = (x + 1)(x + 3) [1 · 3 = 3, 1 + 3 = 4] - List the restrictions from both denominators. (x − 2)(x + 2) = 0 gives x = 2 and x = −2, and (x + 1)(x + 3) = 0 gives x = −1 and x = −3. So x ≠ 2, −2, −1, −3.
- Write it as one big fraction.
[(x + 2)(x + 3)(x − 1)(x − 2)] / [(x − 2)(x + 2)(x + 1)(x + 3)] - Divide out the matching factors. (x + 2) cancels with (x + 2), (x + 3) cancels with (x + 3), and (x − 2) cancels with (x − 2). What is left on top is (x − 1), and what is left on the bottom is (x + 1).
- Answer. (x − 1)/(x + 1), with x ≠ 2, −2, −1, −3.
Check at x = 0. First fraction: (0 + 0 + 6)/(0 − 4) = 6/(−4) = −3/2. Second fraction: (0 − 0 + 2)/(0 + 0 + 3) = 2/3. Product: (−3/2)(2/3) = −6/6 = −1. Simplified form: (0 − 1)/(0 + 1) = −1/1 = −1. Match.
Division: multiply by the reciprocal
To divide, flip the second fraction and multiply: (a)/(b) ÷ (c)/(d) = (a)/(b) · (d)/(c). The flipped fraction (d)/(c) is the reciprocal of (c)/(d). Flip only the divisor, which is the fraction after the division sign, and flip it before you cancel anything.
Division brings one extra restriction that trips people up. You cannot divide by zero, so the divisor itself must not be zero, which means that its numerator also creates a restriction. In (a)/(b) ÷ (c)/(d), you must have b ≠ 0, d ≠ 0, and c ≠ 0.
Worked example 4. Divide (x2 − 16)/(x2 + 6x + 9) ÷ (x − 4)/(x + 3).
- Factor everything. x2 − 16 = (x − 4)(x + 4), and x2 + 6x + 9 = (x + 3)2. The other two are already factored.
- Restrictions. (x + 3)2 = 0 gives x = −3. The denominator of the divisor, x + 3, gives x = −3 again. The numerator of the divisor, x − 4 = 0, gives x = 4, which we must also leave out because dividing by zero is not allowed. So x ≠ −3 and x ≠ 4.
- Flip the divisor and change to multiplication.
[(x − 4)(x + 4)] / [(x + 3)2] · (x + 3)/(x − 4) - Write as one fraction. [(x − 4)(x + 4)(x + 3)] / [(x + 3)(x + 3)(x − 4)]
- Cancel. (x − 4) cancels, and one (x + 3) on top cancels one (x + 3) on the bottom, which leaves a single (x + 3) below.
- Answer. (x + 4)/(x + 3), with x ≠ −3 and x ≠ 4.
Check at x = 0. Dividend: (0 − 16)/(0 + 0 + 9) = −16/9. Divisor: (0 − 4)/(0 + 3) = −4/3. Now divide: (−16/9) ÷ (−4/3) = (−16/9) · (−3/4) = 48/36 = 4/3. Simplified form: (0 + 4)/(0 + 3) = 4/3. Match.
| Step | Multiplying | Dividing |
|---|---|---|
| 1 | Factor every numerator and denominator completely | Factor every numerator and denominator completely |
| 2 | List restrictions from both denominators | List restrictions from both denominators and from the divisor's numerator |
| 3 | - | Flip the divisor and change ÷ to · |
| 4 | Divide out factors common to top and bottom | Divide out factors common to top and bottom |
| 5 | Multiply what's left; leave it factored | Multiply what's left; leave it factored |
| 6 | State restrictions with the answer | State restrictions with the answer |
- Multiply straight across, but factor and cancel first.
- Divide by multiplying by the reciprocal of the divisor, which means you flip only the second fraction.
- In division, the numerator of the divisor also creates an excluded value.
- Leave the answer in factored form unless you are told otherwise.
Section 3Adding and subtracting

Same denominator: the easy case
When the denominators already match, add or subtract the numerators and keep the denominator: (a)/(d) + (b)/(d) = (a + b)/(d). Then simplify the result if it factors. There is one danger even here, and it involves subtraction, so read this section's tip before you go further.
Building the least common denominator
When the denominators are different, you need a least common denominator (LCD), which is the smallest expression that every denominator divides into evenly. Building one follows the same steps every time:
- Factor every denominator completely.
- Make a list of every distinct factor that appears anywhere.
- Raise each factor to the highest power it reaches in any one denominator.
- Multiply those together. That product is the LCD.
This is the same method you use with plain numbers. For 6 and 8, 6 = 2 · 3 and 8 = 23. The different factors are 2 and 3, and the highest powers are 23 and 31, so the LCD is 8 · 3 = 24. Nothing changes when the factors are binomials (two term expressions) instead of prime numbers.
| Denominators | Factored | Distinct factors, highest power | LCD |
|---|---|---|---|
| 6 and 8 | 2 · 3 and 23 | 23, 3 | 24 |
| 4x and 6x2 | 22x and 2 · 3x2 | 22, 3, x2 | 12x2 |
| x and x + 2 | x and (x + 2) | x, (x + 2) | x(x + 2) |
| x2 − 9 and x + 3 | (x − 3)(x + 3) and (x + 3) | (x − 3), (x + 3) | (x − 3)(x + 3) |
| x2 + 6x + 9 and x2 − 9 | (x + 3)2 and (x − 3)(x + 3) | (x + 3)2, (x − 3) | (x + 3)2(x − 3) |
Notice row 4. Because (x + 3) is already inside x2 − 9, the LCD is not (x2 − 9)(x + 3). Taking each factor only to its highest power is what makes the common denominator the least one, and it saves you a round of canceling at the end.
Rewriting and combining
Once you have the LCD, rewrite each fraction with that denominator by multiplying its top and bottom by whatever factor is missing. Multiplying the top and bottom by the same number that is not zero does not change the value, because it is really multiplying by 1 in disguise.
Worked example 5. Add (2)/(x − 3) + (5)/(x + 2).
- Restrictions. x − 3 = 0 gives x = 3; x + 2 = 0 gives x = −2. So x ≠ 3 and x ≠ −2.
- LCD. The factors (x − 3) and (x + 2) are different, and each one shows up once, so the LCD is (x − 3)(x + 2).
- Rewrite each fraction. The first is missing (x + 2), and the second is missing (x − 3).
(2)/(x − 3) · (x + 2)/(x + 2) = [2(x + 2)] / [(x − 3)(x + 2)]
(5)/(x + 2) · (x − 3)/(x − 3) = [5(x − 3)] / [(x − 3)(x + 2)] - Add the numerators, the tops. 2(x + 2) + 5(x − 3) = 2x + 4 + 5x − 15 = 7x − 11.
- Answer. (7x − 11) / [(x − 3)(x + 2)], with x ≠ 3 and x ≠ −2. The numerator does not share a factor with the denominator (7x − 11 = 0 only at x = 11/7), so nothing cancels.
Check at x = 0. Original: 2/(0 − 3) + 5/(0 + 2) = −2/3 + 5/2. With the common denominator 6, that is −4/6 + 15/6 = 11/6. Answer form: [7(0) − 11] / [(0 − 3)(0 + 2)] = (−11)/(−6) = 11/6. They match.
Worked example 6. Subtract (x)/(x2 − 9) − (2)/(x + 3).
- Factor and restrict. x2 − 9 = (x − 3)(x + 3), so x ≠ 3 and x ≠ −3.
- LCD. Distinct factors are (x − 3) and (x + 3), each to the first power: LCD = (x − 3)(x + 3).
- Rewrite. The first fraction already has the LCD. The second is missing (x − 3):
(2)/(x + 3) · (x − 3)/(x − 3) = [2(x − 3)] / [(x − 3)(x + 3)] - Subtract, using parentheses. The numerator becomes x − [2(x − 3)]. Distribute inside first: 2(x − 3) = 2x − 6. Now subtract the whole thing: x − (2x − 6) = x − 2x + 6 = −x + 6, which we can also write as 6 − x.
- Answer. (6 − x) / [(x − 3)(x + 3)], with x ≠ 3 and x ≠ −3.
Check at x = 0. Original: 0/(0 − 9) − 2/(0 + 3) = 0 − 2/3 = −2/3. Answer form: (6 − 0) / [(0 − 3)(0 + 3)] = 6/(−9) = −2/3. Match.
- With matching denominators, combine the numerators, keep the denominator, and then simplify.
- Build the LCD from factored denominators, using every different factor raised to its highest power.
- Rewrite each fraction by multiplying its top and bottom by the missing factor, which is the same as multiplying by 1.
- When subtracting, put the second numerator in parentheses and spread the minus sign over it.
Section 4Complex fractions

What a complex fraction is
A complex fraction (sometimes called a compound fraction) is a fraction that has fractions inside it, in the numerator, the denominator, or both. It looks scary, but it is not. Here is one:
[ (1)/(x) + (1)/(3) ] ÷ [ (1)/(x) − (1)/(3) ]
Written stacked with a long flat bar, that same expression is a complex fraction. Written with a division sign, as above, it is clearly just a division problem. That is the whole secret: the main fraction bar means "divided by." There are two standard ways to untangle one, and both give the same answer.
Method 1: combine, then divide
Turn the numerator into a single fraction, and turn the denominator into a single fraction. Then divide, which means multiply by the reciprocal (the flipped fraction). This method uses only skills from Sections 2 and 3.
Worked example 7, Method 1. Simplify [ (1)/(x) + (1)/(3) ] ÷ [ (1)/(x) − (1)/(3) ].
- Combine the top. LCD of x and 3 is 3x. (1)/(x) = (3)/(3x) and (1)/(3) = (x)/(3x). Sum: (3 + x)/(3x).
- Combine the bottom. Same LCD: (3)/(3x) − (x)/(3x) = (3 − x)/(3x).
- Divide. [(3 + x)/(3x)] ÷ [(3 − x)/(3x)] = [(3 + x)/(3x)] · [(3x)/(3 − x)]
- Cancel. The 3x on top cancels the 3x on the bottom, leaving (3 + x)/(3 − x).
- Restrictions. x ≠ 0 (it sits under a 1 in the original). Also the bottom of the big fraction may not be zero: (1)/(x) − (1)/(3) = 0 when x = 3, so x ≠ 3.
Method 2: multiply top and bottom by the LCD
Find the LCD of all the little fractions inside, then multiply the whole numerator and the whole denominator by it. Every small fraction gets wiped out in one stroke, so this is usually faster.
Worked example 7, Method 2. Same problem, other route. The little fractions are 1/x and 1/3, so the LCD is 3x.
- Multiply the numerator by 3x, and distribute it. 3x · [(1)/(x) + (1)/(3)] = 3x · (1)/(x) + 3x · (1)/(3) = 3 + x.
- Multiply the denominator by 3x, and distribute it. 3x · [(1)/(x) − (1)/(3)] = 3 − x.
- Assemble. (3 + x)/(3 − x): identical to Method 1, with the same restrictions x ≠ 0 and x ≠ 3.
Check at x = 1. Top of the original: 1/1 + 1/3 = 4/3. Bottom: 1/1 − 1/3 = 2/3. Divide: (4/3) ÷ (2/3) = (4/3) · (3/2) = 12/6 = 2. Simplified form: (3 + 1)/(3 − 1) = 4/2 = 2. Match, both methods confirmed.
Worked example 8. Simplify [ 1 − (9)/(x2) ] ÷ [ 1 + (3)/(x) ] using Method 2.
- Find the LCD of the inner fractions. The denominators are x2 and x, and the highest power of x is x2, so the LCD is x2.
- Multiply the numerator by x2. x2 · 1 − x2 · (9)/(x2) = x2 − 9.
- Multiply the denominator by x2. x2 · 1 + x2 · (3)/(x) = x2 + 3x.
- Now simplify the ordinary rational expression. (x2 − 9)/(x2 + 3x) = [(x − 3)(x + 3)] / [x(x + 3)] = (x − 3)/(x).
- Restrictions. x ≠ 0 because of the inner denominators. The bottom of the big fraction, 1 + (3)/(x), equals zero when x = −3, so x ≠ −3 as well.
Check at x = 1. Top: 1 − 9/1 = −8. Bottom: 1 + 3/1 = 4. Divide: −8/4 = −2. Simplified: (1 − 3)/1 = −2. Match.
| Method 1: combine then divide | Method 2: multiply by the LCD | |
|---|---|---|
| Step 1 | Combine the numerator into one fraction | Find the LCD of every small fraction inside |
| Step 2 | Combine the denominator into one fraction | Multiply the entire numerator by that LCD |
| Step 3 | Flip the bottom fraction and multiply | Multiply the entire denominator by that LCD |
| Step 4 | Factor and cancel | Factor and cancel |
| Best when | Top and bottom are already single fractions | There are several small fractions to clear |
| Watch out for | Flipping the wrong fraction | Forgetting to distribute the LCD to every term |
- A complex fraction has fractions inside its numerator, its denominator, or both.
- The main fraction bar is a division sign: that reframing alone solves most of the confusion.
- Method 1: combine the top, combine the bottom, and then multiply by the reciprocal.
- Method 2: multiply top and bottom by the LCD of all inner fractions; usually faster.
Section 5Rational equations

An equation is a different job than an expression
Sections 1 through 4 asked you to simplify, which means to rewrite one expression in a tidier form that is equal to it. A rational equation asks something different: find the values of the variable that make a statement true. An equation has an equals sign, and that equals sign gives you a power you do not have with expressions, because you may multiply both sides by the same amount that is not zero. Choose the LCD as that amount, and every denominator disappears at once.
The procedure is short:
- Factor all the denominators and list the excluded values first. This step is not optional here, because it is the whole safety net.
- Find the LCD of every denominator in the equation.
- Multiply every term on both sides by the LCD and cancel, leaving an equation with no fractions.
- Solve the resulting linear or quadratic equation.
- Compare each possible answer to your excluded list. Any answer that shows up there is an extraneous solution, and it must be thrown out.
A full solution, start to finish
Worked example 9. Solve (2)/(x + 1) + (1)/(x − 1) = (4)/(x2 − 1).
- Factor and exclude. x2 − 1 = (x − 1)(x + 1). The denominators are (x + 1), (x − 1), and (x − 1)(x + 1), so x ≠ 1 and x ≠ −1.
- LCD. The distinct factors are (x − 1) and (x + 1), each to the first power: LCD = (x − 1)(x + 1).
- Multiply every term by the LCD.
First term: (x − 1)(x + 1) · (2)/(x + 1) → the (x + 1) cancels → 2(x − 1)
Second term: (x − 1)(x + 1) · (1)/(x − 1) → the (x − 1) cancels → (x + 1)
Right side: (x − 1)(x + 1) · (4)/[(x − 1)(x + 1)] → everything cancels → 4 - The fraction-free equation. 2(x − 1) + (x + 1) = 4
- Solve it. Distribute: 2x − 2 + x + 1 = 4. Combine like terms: 3x − 1 = 4. Add 1 to both sides: 3x = 5. Divide by 3: x = 5/3.
- Screen against the excluded list. Is 5/3 equal to 1 or −1? No. It survives.
Check in the original equation with x = 5/3. Then x + 1 = 8/3, x − 1 = 2/3, and x2 − 1 = 25/9 − 9/9 = 16/9.
Left side: 2 ÷ (8/3) = 2 · (3/8) = 6/8 = 3/4. And 1 ÷ (2/3) = 3/2 = 6/4. The sum is 3/4 + 6/4 = 9/4.
Right side: 4 ÷ (16/9) = 4 · (9/16) = 36/16 = 9/4.
Both sides equal 9/4, so x = 5/3 is the solution.
Extraneous solutions, and why they appear
Multiplying both sides by the LCD is allowed only when the LCD is not zero, and at an excluded value it is zero. So the equation without fractions that you make is not quite the same equation you started with, and it can be true at values where the original was never even defined. Those fakes are extraneous solutions. They are not mistakes in your algebra, but a side effect of the method that you can count on, which is exactly why the final screening step is required.
Worked example 10. Solve (x2)/(x − 3) = (9)/(x − 3).
- Exclude. x − 3 = 0 when x = 3, so x ≠ 3. Write it down now.
- LCD. Both denominators are (x − 3), so the LCD is (x − 3).
- Multiply both sides by (x − 3). On the left, (x − 3) · (x2)/(x − 3) = x2. On the right, (x − 3) · (9)/(x − 3) = 9. The equation becomes x2 = 9.
- Solve. Subtract 9: x2 − 9 = 0. Factor: (x − 3)(x + 3) = 0. Candidates: x = 3 and x = −3.
- Screen the answers. x = 3 is on the excluded list, so it is extraneous and gets crossed out. Putting it into the original would give 9/0, which is undefined. x = −3 is not excluded, so it stays.
- Verify x = −3. Left: (−3)2/(−3 − 3) = 9/(−6) = −3/2. Right: 9/(−3 − 3) = 9/(−6) = −3/2. Equal.
Solution: x = −3 only. Notice that a perfectly sound algebra process handed you two possible answers, and one of them was a fake. If you had skipped step 5, you would have reported an answer that makes the original equation meaningless.
Sometimes every possible answer is extraneous. Solve (x)/(x − 3) = (3)/(x − 3) + 2. Multiplying by (x − 3) gives x = 3 + 2(x − 3) = 3 + 2x − 6 = 2x − 3, so −x = −3 and x = 3. But x ≠ 3, so every possible answer is thrown out, and the honest answer is no solution. That is a complete and correct answer, not a sign that you did something wrong.
Where these equations come from
Rational equations show up whenever amounts combine as rates. Suppose one pump fills a tank in 6 hours, and a second pump fills the same tank in 3 hours. Working together, how long do they need? In one hour, the first pump does 1/6 of the job and the second does 1/3, and together they finish 1/t of the job per hour, where t is the total time. So (1)/(6) + (1)/(3) = (1)/(t), with t ≠ 0. The LCD of 6, 3, and t is 6t. Multiply every term: 6t · (1/6) = t, 6t · (1/3) = 2t, and 6t · (1/t) = 6. The equation is t + 2t = 6, so 3t = 6 and t = 2 hours. Check that it makes sense: two hours is less than the faster pump's 3 hours on its own, which is exactly what you would expect from adding help.
| Rational expression | Rational equation | |
|---|---|---|
| Has an "="? | No | Yes |
| Your job | Rewrite it in simplest form | Find the values that make it true |
| May you clear denominators? | No: that would change the value | Yes: multiply both sides by the LCD |
| Role of the LCD | Rewrite each fraction to combine them | Wipe out all denominators at once |
| Answer looks like | Another expression, plus restrictions | A number, several numbers, or "no solution" |
| Final step | State the excluded values | Screen candidates and discard extraneous ones |
- To solve a rational equation, multiply every term on both sides by the LCD to clear all fractions.
- List the excluded values first, straight from the factored denominators.
- An extraneous solution solves the equation after it is cleared, but it is excluded in the original, so throw it out.
- If every possible answer is extraneous, the correct answer is no solution.
The chapter in one breath
- A rational expression is a polynomial over a polynomial, and the denominator may never be zero, so every one comes with excluded values.
- Simplify by factoring completely and dividing out common factors; you may cancel factors but never terms.
- Restrictions come from the original denominators, and they stay even when the factor that made them cancels.
- Multiply straight across after factoring and canceling. Divide by flipping the divisor, which also makes the numerator of the divisor an excluded value.
- To add or subtract, build the LCD from every different factor at its highest power. Rewrite each fraction, and then combine the numerators, using parentheses when you subtract.
- A complex fraction is just a division problem. Either combine the top and bottom and multiply by the reciprocal, or multiply the top and bottom by the LCD of the inner fractions.
- To solve a rational equation, clear the denominators by multiplying both sides by the LCD, and then solve the equation that has no fractions.
- Always screen the possible answers against the excluded list. An extraneous solution is thrown out, and if all of them go, the answer is no solution.
ReferenceWords worth knowing
Here is a quick list of the words in this chapter. Skim it now, or come back whenever a word slows you down.
- Common denominator
- A single denominator shared by two or more fractions. You need one before they can be added or subtracted.
- Complex fraction
- A fraction whose numerator, denominator, or both contain fractions. It is also called a compound fraction.
- Cross-multiplication
- A shortcut for the special case (a)/(b) = (c)/(d): multiply to get ad = bc. It applies only when a single fraction equals a single fraction.
- Denominator
- The bottom of a fraction: the part that may never equal zero.
- Difference of squares
- The pattern a2 − b2 = (a + b)(a − b), the most frequently used factoring tool in this chapter.
- Domain
- The set of input values for which an expression is defined. For a rational expression, it is all real numbers except the excluded values.
- Excluded value
- Any value of the variable that makes a denominator zero, and so is removed from the domain.
- Extraneous solution
- A possible answer that makes the equation true after the denominators are cleared, but that is an excluded value of the original. It must be thrown out.
- Factor
- A quantity being multiplied. Only factors may be divided out of a fraction: terms may not.
- Fundamental principle of fractions
- (ac)/(bc) = (a)/(b) whenever b ≠ 0 and c ≠ 0; the rule that permits canceling.
- Greatest common factor (GCF)
- The largest factor shared by every term of a polynomial. It is always the first thing to pull out when factoring.
- Least common denominator (LCD)
- The smallest expression that every denominator divides into evenly. It uses each different factor raised to its highest power.
- Lowest terms
- The form of a rational expression in which the numerator and the denominator share no common factor other than 1.
- Numerator
- The top of a fraction.
- Opposite factors
- Expressions such as b − a and a − b that differ by a factor of −1, so dividing one by the other gives −1.
- Polynomial
- A sum of terms of the form (number)(variable raised to a whole-number power), such as x2 + x − 12.
- Rational equation
- An equation that contains at least one rational expression. It is solved by clearing the denominators with the LCD.
- Rational expression
- A quotient of two polynomials, P/Q, with Q ≠ 0.
- Reciprocal
- The multiplicative inverse of a fraction, made by swapping the numerator and the denominator. The reciprocal of (c)/(d) is (d)/(c).
- Restriction
- Another name for an excluded value, usually written alongside a simplified answer as "x ≠ …".
Check yourself
Radicals & Rational Exponents
A radical sign is just a question in disguise: √25 asks “what number, multiplied by itself, gives 25?” That is the whole idea, and everything in this chapter grows out of it. We will learn to read radicals, shrink them into their simplest form, add and multiply them the way we already add and multiply everything else, and clear them out of denominators. Then we will find something truly useful, which is that a radical is secretly an exponent, and once you see that, the exponent rules you already know do most of the work for you. We finish with radical equations, which come with a warning label, because the algebra sometimes hands you an answer that is not really an answer, and you have to know how to catch it.
By the end of this chapter you can
- Evaluate square roots and nth roots, and explain what the principal root means.
- State when an even-index radical is undefined in the real numbers, and why odd-index radicals are not.
- Simplify a radical by pulling out perfect-power factors, with numbers and with variables.
- Add, subtract, multiply, and divide radical expressions, including expressions that need FOIL.
- Rationalize a denominator, which means clearing the radical out of the bottom of a fraction, when it has one term, and when it has two terms by using a conjugate.
- Convert freely between radical form and rational-exponent form, and use exponent rules to simplify.
- Solve radical equations by isolating and raising both sides to a power.
- Spot and reject extraneous solutions, which are answers that do not really work, by checking every answer in the original equation.
Section 1Radicals: square roots, nth roots, and simplifying

What a square root actually asks
The expression √25 is not an order to do something strange. It is a question: what number that is not negative, times itself, equals 25? The answer is 5, because 5 × 5 = 25. That is all a square root is: running multiplication backward.
Here is the one wrinkle that trips almost everybody up at first. The number 25 genuinely has two square roots: 5 works, and so does −5, because (−5)(−5) = 25. But the symbol √ is defined to hand back only the non-negative one, called the principal square root. So:
- √25 = 5 (not ±5: the symbol picks the non-negative one)
- −√25 = −5 (the minus sign lives outside and is applied afterward)
- If you are solving x2 = 25, then x = ±5, because both genuinely satisfy the equation
Keep those two cases apart in your head. Finding the value of a radical gives one answer, but solving a squared equation gives two. The ± appears because you bring it in while solving, not because the radical symbol secretly means ±.
Here is one more rule worth learning by heart now: √(x2) = |x|, the absolute value. Test it with x = −7: √((−7)2) = √49 = 7, which is |−7|, not −7. Squaring erased the sign, and the radical cannot put it back.
Beyond squares: nth roots
The little number sitting in the notch of the radical sign is the index. It tells you which root you are taking. If no index is written, it is understood to be 2 (a square root). The number under the sign is the radicand.
3√8 = 2 because 23 = 8. 4√81 = 3 because 34 = 81. 5√32 = 2 because 25 = 32. Same question, different power.
Now comes the important split, and it depends only on whether the index is even or odd. An odd index is fine with a negative radicand (the number underneath): 3√(−8) = −2, because (−2)3 = −8. An even index is not. √(−9) has no real answer, because no real number times itself gives a negative, since positive × positive is positive, and negative × negative is also positive. So √(−9) is undefined in the real numbers.
| Index | Radicand positive | Radicand negative | Example |
|---|---|---|---|
| Even (2, 4, 6…) | One principal (positive) root | No real value | √36 = 6; √(−36) undefined (real) |
| Odd (3, 5, 7…) | One positive root | One negative root | 3√27 = 3; 3√(−27) = −3 |
It also pays to know a few perfect powers by heart, the way you know your times tables. Perfect squares: 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225. Perfect cubes: 1, 8, 27, 64, 125, 216. Fourth powers: 1, 16, 81, 256. Fifth powers: 1, 32, 243. Spotting these on sight is what makes the next skill fast instead of painful.
Simplifying: pull out the perfect powers
A radical is in simplified form when the radicand has no factor that is a perfect power matching the index. The tool for this is the product property: √(ab) = √a · √b. It works whenever both a and b are not negative, and for odd indexes it works with no sign limit at all.
Fully worked example: simplify √72.
| Step | What we do | Result |
|---|---|---|
| 1 | List factor pairs of 72 and hunt for perfect squares: 1·72, 2·36, 3·24, 4·18, 6·12, 8·9. Perfect squares present: 4, 9, 36. Take the largest, 36. | 72 = 36 · 2 |
| 2 | Rewrite the radicand as that product | √72 = √(36 · 2) |
| 3 | Split with the product property | = √36 · √2 |
| 4 | Evaluate the perfect square: √36 = 6 because 6 · 6 = 36 | = 6 · √2 |
| 5 | Write it in standard form (whole number in front) | = 6√2 |
| Check | √2 ≈ 1.41421, so 6√2 ≈ 6 × 1.41421 = 8.48528. And √72 ≈ 8.48528. | Matches: correct |
If you had grabbed the smaller perfect square 4 instead, you would get √72 = √4 · √18 = 2√18. Then you would notice that 18 = 9 · 2 and keep going: 2 · 3√2 = 6√2. You reach the same place with one extra step, so taking the largest perfect square just saves you a lap.
With an index of 3: simplify 3√54. Now you hunt for perfect cubes, not squares. 54 = 27 · 2, and 27 = 33. So 3√54 = 3√(27 · 2) = 3√27 · 3√2 = 3 · 3√2. Be careful reading that last line. The small 3 tucked into the notch of the radical sign is the index, while the small 3 in “27 = 33” is an exponent. The marks look the same but have two different jobs, which is why we keep the raised dot in the answer instead of crowding the number in front against the radical. Notice that 9 is a factor of 54 too, but 9 is not a perfect cube, so it is no help here. The index decides what counts as “perfect.”
With variables: simplify √(50x3), assuming x ≥ 0. Break the radicand into a perfect square part and a leftover part: 50 = 25 · 2, and x3 = x2 · x. So the radicand is 25x2 · 2x. Then √(50x3) = √(25x2) · √(2x) = 5x · √(2x) = 5x√(2x). Here the stated assumption x ≥ 0 is really just a reminder and not a limit that changes anything. 50x3 is negative whenever x < 0, so the expression is real only for x ≥ 0 to begin with, and there |x| = x. Absolute value is needed when the variable has an even exponent, because then negative inputs are allowed. So √(50x2) = 5|x|√2, since x = −3 gives √450 = 15√2, not −15√2.
- √a means the principal (non-negative) square root; solving x2 = a is what produces ±.
- The index says which root; the radicand is what is underneath. No index means 2.
- Even index + negative radicand = no real value; odd index handles negatives fine.
- Simplify by factoring out the largest perfect power that matches the index, then splitting with √(ab) = √a · √b.
Section 2Operations with radicals: adding, subtracting, multiplying, dividing

Adding and subtracting: only like radicals combine
This one is easier than it looks, because you already know the rule from a different context. You cannot combine 3 apples and 4 oranges into 7 of anything. In the same way, you can only add radicals that are like radicals: same index and same radicand.
3√5 + 4√5 = 7√5. Think of √5 as the “unit” and just count them, so three of them plus four of them is seven of them. But √2 + √3 does not combine at all. It is already as simple as it gets, and writing it as √5 would be flatly wrong (√2 + √3 ≈ 1.414 + 1.732 = 3.146, while √5 ≈ 2.236).
The catch is that two radicals can look unlike and turn out to be like once you simplify them. That makes simplifying the very first step of every addition problem.
Fully worked example: simplify √18 + √50 − √8.
| Step | What we do | Result |
|---|---|---|
| 1 | Simplify each radical first. 18 = 9 · 2, so √18 = √9 · √2 = 3√2 | √18 = 3√2 |
| 2 | 50 = 25 · 2, so √50 = √25 · √2 = 5√2 | √50 = 5√2 |
| 3 | 8 = 4 · 2, so √8 = √4 · √2 = 2√2 | √8 = 2√2 |
| 4 | Rewrite the whole expression | 3√2 + 5√2 − 2√2 |
| 5 | All three are like radicals, so combine the numbers in front: 3 + 5 − 2 = 6 | = 6√2 |
| Check | √18 ≈ 4.24264, √50 ≈ 7.07107, √8 ≈ 2.82843. Then 4.24264 + 7.07107 − 2.82843 = 8.48528, and 6√2 ≈ 8.48528. | Matches: correct |
Multiplying: multiply the outsides, multiply the insides
Multiplying is where radicals are friendly. The product property works in both directions: √a · √b = √(ab). The numbers out front multiply with each other, and the radicands multiply with each other. Then simplify whatever you get.
Fully worked example: (2√3)(5√6).
- Step 1: multiply the outside numbers: 2 × 5 = 10
- Step 2: multiply the radicands, the numbers under the signs: √3 · √6 = √18
- Step 3: put them together: 10√18
- Step 4: simplify √18: 18 = 9 · 2, so √18 = √9 · √2 = 3√2
- Step 5: substitute back: 10 · 3√2 = 30√2
- Check: 2√3 ≈ 3.46410 and 5√6 ≈ 12.24745; their product is 42.42641. And 30√2 ≈ 42.42641. Correct.
A special case worth noticing: √3 · √3 = √9 = 3. A square root times itself simply undoes itself. That fact is the engine of the next section.
When there are two terms, use FOIL just as you would with binomials. Fully worked: (√5 + 2)(√5 − 3).
- First: √5 · √5 = 5
- Outer: √5 · (−3) = −3√5
- Inner: 2 · √5 = 2√5
- Last: 2 · (−3) = −6
- Assemble: 5 − 3√5 + 2√5 − 6
- Combine the plain numbers: 5 − 6 = −1. Combine the like radicals: −3√5 + 2√5 = −1√5 = −√5
- Answer: −1 − √5
- Check: √5 ≈ 2.23607, so the factors are 4.23607 and −0.76393; their product is −3.23607. And −1 − 2.23607 = −3.23607. Correct.
Dividing: the quotient property
Division mirrors multiplication. The quotient property says (√a)/(√b) = √(a/b) for a ≥ 0 and b > 0. The limit b ≠ 0 is not optional, because you can never divide by zero, radicals or not.
Fully worked: (√50)/(√2). Combine under one radical: √(50/2) = √25 = 5. Check: √50 ≈ 7.07107 and √2 ≈ 1.41421; 7.07107 ÷ 1.41421 = 5.00000. Correct.
Fully worked with numbers in front: (12√30)/(4√5). Divide the outside numbers: 12 ÷ 4 = 3. Divide the radicands: √(30/5) = √6. Result: 3√6. Check: 12√30 ≈ 65.72671, 4√5 ≈ 8.94427, and the quotient ≈ 7.34847, while 3√6 ≈ 7.34847. Correct.
| Operation | Rule | Condition | Example |
|---|---|---|---|
| Add / subtract | Combine coefficients of like radicals only | Same index and same radicand | 3√2 + 5√2 = 8√2 |
| Multiply | √a · √b = √(ab) | a, b ≥ 0 for even index | √6 · √2 = √12 = 2√3 |
| Multiply (two terms) | FOIL, then combine like radicals | Same as above | (√3+1)2 = 3 + 2√3 + 1 = 4 + 2√3 |
| Divide | (√a)/(√b) = √(a/b) | a ≥ 0, b > 0 | (√48)/(√3) = √16 = 4 |
| Never | √(a+b) ≠ √a + √b | - | √25 = 5, but √9 + √16 = 7 |
- Like radicals (same index, same radicand) add and subtract by combining the numbers in front. Simplify first so that hidden matches show up.
- Multiply the numbers in front with each other and the radicands with each other, and then simplify the result.
- Two-term products use FOIL, and √a · √a = a.
- Division uses (√a)/(√b) = √(a/b) with b ≠ 0; radicals never distribute over + or −.
Section 3Rationalizing denominators, including conjugates

Why we bother
Rationalizing the denominator means rewriting a fraction so that no radical is left on the bottom. The value of the fraction never changes, only how it looks. So why do it? There are two honest reasons. First, it is the standard form that textbooks, exams, and answer keys expect, so matching it saves you arguments about whether your answer is right. Second, it truly makes numbers easier to compare and to estimate by hand: 1/√2 makes you divide by a messy 1.41421, while the equal form (√2)/2 only asks you to halve 1.41421.
The whole method rests on one trick you have used since you first learned fractions, which is multiplying by 1 in a clever disguise. Since (√7)/(√7) = 1, multiplying by it changes nothing about the value while changing everything about the form.
One term in the denominator
Fully worked example: rationalize 3/(√7).
| Step | What we do | Result |
|---|---|---|
| 1 | The denominator is √7. Multiplying it by √7 will clear it, since √7 · √7 = 7. | Multiplier: (√7)/(√7) |
| 2 | Multiply top and bottom by that fraction (which equals 1) | (3)/(√7) · (√7)/(√7) |
| 3 | Numerator: 3 · √7 = 3√7 | Top = 3√7 |
| 4 | Denominator: √7 · √7 = √49 = 7 | Bottom = 7 |
| 5 | Write the result; 3 and 7 share no common factor, so it is done | = (3√7)/7 |
| Check | 3/(√7) ≈ 3 ÷ 2.64575 = 1.13389. And (3√7)/7 ≈ 7.93725 ÷ 7 = 1.13389. | Matches: correct |
Simplify before you rationalize. Fully worked: 5/(√12). If you rush ahead and multiply by (√12)/(√12), you get (5√12)/12, and you still have to simplify √12 afterward. It is cleaner to simplify first: √12 = √(4 · 3) = 2√3, so the fraction is 5/(2√3). Now multiply the top and bottom by √3. The numerator becomes 5√3, and the denominator becomes 2 · √3 · √3 = 2 · 3 = 6. Answer: (5√3)/6. Check: 5/(√12) ≈ 5 ÷ 3.46410 = 1.44338, and (5√3)/6 ≈ 8.66025 ÷ 6 = 1.44338. Correct.
What if the index is not 2? Then you need enough copies to complete a perfect power. Fully worked: 1/(3√2). Multiplying by 3√2 alone gives 3√4 on the bottom, which is still a radical. You need three 2s under the cube root, and you have one, so supply two more by multiplying by 3√4 (since 4 = 22). The denominator becomes 3√2 · 3√4 = 3√8 = 2, and the numerator becomes 3√4. Answer: (3√4)/2. Check: 1/(3√2) ≈ 1 ÷ 1.25992 = 0.79370, and (3√4)/2 ≈ 1.58740 ÷ 2 = 0.79370. Correct.
Two terms in the denominator: use the conjugate
When the denominator is something like 3 + √5, multiplying by √5 does not help, because it just spreads the radical around. What you need is the conjugate, which is the same two terms with the sign between them flipped. The conjugate of 3 + √5 is 3 − √5, and the conjugate of √7 − 2 is √7 + 2.
The conjugate works because of the difference-of-squares pattern: (a + b)(a − b) = a2 − b2. The middle terms cancel, and squaring a square root destroys it. That is exactly what we want.
Fully worked example: rationalize 6/(3 + √5).
| Step | What we do | Result |
|---|---|---|
| 1 | Identify the conjugate of 3 + √5 by flipping the middle sign | Conjugate = 3 − √5 |
| 2 | Multiply top and bottom by (3 − √5)/(3 − √5) | (6)/(3+√5) · (3−√5)/(3−√5) |
| 3 | Numerator: distribute 6 across both terms → 6 · 3 = 18 and 6 · (−√5) = −6√5 | Top = 18 − 6√5 |
| 4 | Denominator, FOIL it out: 3·3 = 9; 3·(−√5) = −3√5; √5·3 = +3√5; √5·(−√5) = −5 | 9 − 3√5 + 3√5 − 5 |
| 5 | The two radical terms cancel (−3√5 + 3√5 = 0), leaving 9 − 5 | Bottom = 4 |
| 6 | Assemble the fraction | (18 − 6√5)/4 |
| 7 | Every term shares a factor of 2: 18 = 2·9, 6 = 2·3, 4 = 2·2. Divide it out. | = (9 − 3√5)/2 |
| Check | √5 ≈ 2.23607, so 6/(3+√5) ≈ 6 ÷ 5.23607 = 1.14590. And (9 − 6.70820)/2 = 2.29180 ÷ 2 = 1.14590. | Matches: correct |
Here is a second one, with a radical on top too: rationalize (√7)/(√7 − 2). The conjugate is √7 + 2. The numerator becomes √7(√7 + 2) = √7 · √7 + 2√7 = 7 + 2√7. The denominator becomes (√7 − 2)(√7 + 2) = (√7)2 − 22 = 7 − 4 = 3. Answer: (7 + 2√7)/3. Check: √7 ≈ 2.64575, so the original is 2.64575 ÷ 0.64575 ≈ 4.09717, and (7 + 5.29150)/3 = 12.29150 ÷ 3 = 4.09717. Correct.
One warning about restrictions. When letters are involved, the denominator still cannot be zero. In (√x)/(√x − 2), we need x ≥ 0 for the radical to be real, and x ≠ 4 so that the denominator is not zero. Rationalizing does not change those restrictions, so carry them along.
- Rationalizing multiplies by a disguised 1, so the value does not change, only the form.
- For a single square root downstairs, multiply top and bottom by that radical; simplify the radical first if you can.
- For index n, supply whatever factors complete a perfect nth power (e.g. multiply 3√2 by 3√4).
- For a denominator with two terms, multiply by the conjugate and use (a+b)(a−b) = a2 − b2. The denominator still may not be zero.
Section 4Rational exponents: converting between radical and exponent form

The bridge: a radical is an exponent
Here is the definition that makes this chapter suddenly easier: a1/n = n√a. A fraction exponent with 1 on top means “take the nth root.” So a1/2 = √a, a1/3 = 3√a, and a1/5 = 5√a.
That is not an arbitrary choice; it is forced. If we want the old power-of-a-power rule to keep working, then (a1/2)2 must equal a(1/2)·2 = a1 = a. So a1/2 has to be the number that squares to a: which is precisely √a. The notation was designed so that nothing you already know breaks.
When the top of the fraction is not 1, the rule stretches in a natural way: am/n = n√(am) = (n√a)m. Read it as the denominator is the root, and the numerator is the power. Some people remember it as “the root is in the basement.” Both orders give the same answer, but one is usually far less work, as you will see in a moment.
| Radical form | Exponent form | Worked value |
|---|---|---|
| √a | a1/2 | √49 = 491/2 = 7 |
| 3√a | a1/3 | 3√125 = 1251/3 = 5 |
| n√a | a1/n | 4√81 = 811/4 = 3 |
| n√(am) = (n√a)m | am/n | 82/3 = (3√8)2 = 22 = 4 |
| 1/(n√a) | a−1/n | 16−1/2 = 1/√16 = 1/4 |
| 6√(x5) | x5/6 | - |
Evaluating, step by step
Fully worked example: evaluate 82/3.
| Step | What we do | Result |
|---|---|---|
| 1 | Read the fraction: denominator 3 = cube root; numerator 2 = square it | 82/3 = (3√8)2 |
| 2 | Take the root first: 3√8 = 2, because 2 · 2 · 2 = 8 | = 22 |
| 3 | Apply the power: 22 = 4 | = 4 |
| Other order | Power first: 82 = 64, then 3√64 = 4 (since 4 · 4 · 4 = 64) | Same answer, bigger numbers |
Now with a negative exponent: find 32−3/5. A negative exponent means reciprocal (flip it), so step one is 32−3/5 = 1/(323/5). Next, the denominator 5 says take the fifth root: 5√32 = 2, because 2 · 2 · 2 · 2 · 2 = 32. Then the numerator 3 says cube it: 23 = 8. So 323/5 = 8, and the answer is 1/8. Notice that the negative exponent moved the expression to the denominator, but it did not make the answer negative.
All your exponent rules still apply
This is the real payoff. Once radicals are exponents, you do not need special radical rules: you use the exponent rules you already have: am · an = am+n, (am)/(an) = am−n, (am)n = amn, and (ab)n = anbn.
Fully worked: simplify √x · 3√x, for x ≥ 0. As radicals this looks stuck, because the indexes are different, so they are not like radicals. Convert them: √x = x1/2 and 3√x = x1/3. Multiplying means adding exponents: 1/2 + 1/3. Get a common denominator of 6: 1/2 = 3/6 and 1/3 = 2/6, so 3/6 + 2/6 = 5/6. So the product is x5/6, which converts back to 6√(x5). Check with x = 64: √64 = 8 and 3√64 = 4, so the product is 32, and 645/6 = (6√64)5 = 25 = 32. Correct.
Fully worked: simplify (16x8)3/4, for x ≥ 0. Distribute the exponent to each factor: (16)3/4 · (x8)3/4. For the number: 163/4 = (4√16)3 = 23 = 8, since 2 · 2 · 2 · 2 = 16. For the variable, multiply exponents: 8 × (3/4) = 24/4 = 6, giving x6. Answer: 8x6. Check with x = 1: (16 · 1)3/4 = 8, and 8 · 16 = 8. Correct.
There is one limit to respect. When the denominator of the exponent is even, the base must not be negative for the result to be a real number. (−16)1/2 = √(−16) is not real, and (−16)1/4 is not either. Odd denominators are fine: (−27)1/3 = 3√(−27) = −3.
- a1/n = n√a, and am/n = n√(am) = (n√a)m. The denominator is the root, and the numerator is the power.
- A negative fraction exponent means reciprocal (flip it), not a negative answer: 16−1/2 = 1/4.
- Taking the root first keeps the arithmetic small.
- Every ordinary exponent rule works on rational exponents, which is how you multiply radicals of different indexes.
Section 5Radical equations: solving and checking for extraneous solutions

The strategy, and the warning
A radical equation is an equation with the variable under a radical. The plan is short. Get the radical alone on one side, raise both sides to the power that matches the index, and solve the ordinary equation that appears. Then, and this step is not optional, check every answer in the original equation.
Why is checking required here, when it is only good practice elsewhere? Because squaring both sides is a one way street. Look at the false statement 3 = −3. Square both sides, and you get 9 = 9, which is true, so squaring turned a lie into a truth. That means when you square both sides of an equation, you may accidentally create a solution that never worked in the original. Such a fake is called an extraneous solution. It is not a mistake in your algebra but a side effect of the method, and the only way to catch it is to test your answers.
There is a second, related reason. The symbol √ only ever outputs values that are zero or positive. So an equation like √x + 3 = 1, which rearranges to √x = −2, has no solution at all: no real number has a principal square root of −2. You can see this on the graph of y = √x: the curve lives entirely on or above the x-axis and never reaches down to −2.
A clean one, start to finish
Fully worked example: solve √(2x + 3) = 5.
| Step | What we do | Result |
|---|---|---|
| 1 | The radical is already alone on the left: nothing to isolate | √(2x + 3) = 5 |
| 2 | Square both sides. On the left, squaring undoes the square root; on the right, 52 = 25 | 2x + 3 = 25 |
| 3 | Subtract 3 from both sides: 25 − 3 = 22 | 2x = 22 |
| 4 | Divide both sides by 2: 22 ÷ 2 = 11 | x = 11 |
| 5 | Check in the original. Left side: √(2 · 11 + 3) = √(22 + 3) = √25 = 5. Right side: 5. | 5 = 5: valid |
| Solution | x = 11 |
One where an impostor shows up
Fully worked example: solve √(x + 7) = x − 5.
| Step | What we do | Result |
|---|---|---|
| 1 | Radical is already isolated. Square both sides. Left: x + 7. Right: (x−5)2 = x2 − 5x − 5x + 25 = x2 − 10x + 25 | x + 7 = x2 − 10x + 25 |
| 2 | Move everything to one side: subtract x and subtract 7 from both sides. Right side becomes x2 − 10x − x + 25 − 7 | 0 = x2 − 11x + 18 |
| 3 | Factor: find two numbers multiplying to 18 and adding to −11. Those are −2 and −9, since (−2)(−9) = 18 and (−2) + (−9) = −11 | 0 = (x − 2)(x − 9) |
| 4 | Set each factor to zero | x = 2 or x = 9 |
| 5 | Check x = 9. Left: √(9 + 7) = √16 = 4. Right: 9 − 5 = 4. | 4 = 4: valid |
| 6 | Check x = 2. Left: √(2 + 7) = √9 = 3. Right: 2 − 5 = −3. | 3 ≠ −3: extraneous, reject |
| Solution set | x = 9 only |
You could have predicted that this answer would be rejected before doing any checking. The left side, √(x + 7), is never negative, so the right side, x − 5, cannot be negative either, which forces x ≥ 5. Since 2 < 5, the answer x = 2 was doomed from the start. (The radicand also needs x + 7 ≥ 0, so x ≥ −7, but the tighter limit x ≥ 5 is the one doing the work.)
Other flavors you will meet
Cube roots: solve 3√(x − 4) = 2. Cube both sides: x − 4 = 23 = 8, so x = 12. Check: 3√(12 − 4) = 3√8 = 2, so it is valid. Cubing can be undone in a way that squaring cannot, so equations with an odd index rarely give extraneous solutions. Check anyway, since checking also catches slips in the arithmetic.
A radical on each side: solve √(x + 5) = √(2x − 1). Square both sides: x + 5 = 2x − 1. Subtract x: 5 = x − 1. Add 1: x = 6. Check: √(6 + 5) = √11 and √(2 · 6 − 1) = √11. Valid.
Two radicals that will not fit on one side: solve √(x + 5) − √x = 1. Isolate one radical first: √(x + 5) = 1 + √x. Square both sides: on the right, (1 + √x)2 = 1 + 2√x + x. So x + 5 = 1 + 2√x + x. Subtract x from both sides: 5 = 1 + 2√x. Subtract 1: 4 = 2√x. Divide by 2: √x = 2. Square once more: x = 4. Check in the original: √(4 + 5) − √4 = √9 − 2 = 3 − 2 = 1. Valid, so x = 4. Yes, you sometimes have to square twice: that is normal.
- Isolate the radical, raise both sides to the index power, solve, then check in the original equation.
- Squaring both sides can create extraneous solutions, because squaring turns false statements like 3 = −3 into true ones.
- √(anything) is never negative, so if an isolated radical equals a negative number there is no solution.
- With two radicals, isolate one, square, isolate the survivor, and square again.
The chapter in one breath
- √a is the principal (non-negative) root; the index names the root and the radicand sits underneath, and √(x2) = |x|.
- Even index with a negative radicand has no real value; odd index handles negatives without complaint.
- Simplify by factoring out the largest perfect power matching the index, then splitting with √(ab) = √a · √b.
- Only like radicals add or subtract. Multiplying and dividing combine radicands freely, and √(a+b) is never √a + √b.
- Rationalizing multiplies by a disguised 1. Use the radical itself for one term and the conjugate for two, relying on (a+b)(a−b) = a2 − b2.
- Rational exponents turn radicals into powers: am/n = (n√a)m. The denominator is the root, and the numerator is the power.
- Once written as exponents, all the ordinary exponent rules apply, which is how you combine radicals with different indexes.
- Radical equations are solved by getting the radical alone and raising both sides to a power. Every possible answer must be checked, because squaring creates extraneous solutions.
ReferenceWords worth knowing
Here is a quick list of the words in this chapter. Skim it now, or come back whenever a word slows you down.
- Conjugate
- The same two term expression with the middle sign reversed, so the conjugate of 3 + √5 is 3 − √5. Multiplying a pair of conjugates gives a2 − b2, which clears square roots.
- Cube root
- The root with index 3; 3√a is the number whose cube is a. Defined for negative numbers: 3√(−8) = −2.
- Even root
- Any root with an even index (2, 4, 6…). Requires a non-negative radicand to produce a real number.
- Extraneous solution
- A value that comes out of the solving process but does not make the original equation true. It is usually created by squaring both sides, and it is caught only by checking.
- Index
- The small number in the notch of the radical sign telling you which root to take. If none is written, it is 2.
- Irrational number
- A real number that cannot be written as a ratio of integers. √2 and √3 are irrational, and their decimals never end or repeat.
- Like radicals
- Radicals with the same index and the same radicand, such as 3√2 and 5√2. Only like radicals can be added or subtracted.
- Nth root
- The general root: n√a is the number that, raised to the nth power, gives a.
- Odd root
- Any root with an odd index (3, 5, 7…). Defined for every real radicand, positive or negative.
- Perfect cube
- A number that is some integer cubed: 1, 8, 27, 64, 125, 216… These are what you factor out under a cube root.
- Perfect square
- A number that is some integer squared: 1, 4, 9, 16, 25, 36, 49, 64… These are what you factor out under a square root.
- Principal square root
- The non-negative square root, and the only value the symbol √ returns. √25 = 5, never −5.
- Product property of radicals
- √(ab) = √a · √b (for a and b not negative when the index is even). It is the engine of simplifying and multiplying.
- Quotient property of radicals
- (√a)/(√b) = √(a/b), with b ≠ 0. The engine of dividing radicals.
- Radical equation
- An equation in which the variable appears under a radical sign, such as √(2x + 3) = 5.
- Radical expression
- Any expression containing a radical sign, such as 6√2 or √(50x3).
- Radical sign
- The symbol √ itself, which instructs you to take a root.
- Radicand
- Whatever sits underneath the radical sign. In √(2x + 3), the radicand is 2x + 3.
- Rational exponent
- A fraction exponent. am/n means the nth root of a raised to the mth power, so the denominator is the root and the numerator is the power.
- Rationalizing the denominator
- Rewriting a fraction so that no radical is left in the denominator, by multiplying the top and bottom by a form of 1.
- Simplified radical form
- A radical whose radicand has no factor that is a perfect power matching the index, with no radical left in a denominator, and no fraction left under the radical.
- Square root
- The root with index 2; √a is the non-negative number whose square is a.
Check yourself
Quadratic Equations & Functions
A quadratic is any equation or function in which the highest power of the variable is 2, so x2 shows up and nothing higher. That one extra power changes everything. Instead of a straight line, you get a smooth U shaped curve, and instead of one answer, you usually get two. This chapter gives you four reliable tools, which are factoring, the square root property, completing the square, and the quadratic formula, and it shows you exactly when to reach for each one. Then we graph these functions so you can see what the two answers mean. Last, we point the whole toolkit at real problems, such as how high a ball goes, how big a garden can be, and where profit peaks. Every example here is worked out line by line, with the arithmetic showing, because the steps are where quadratics are won or lost.
By the end of this chapter you can
- Recognize a quadratic equation and write it in standard form ax2 + bx + c = 0.
- State and apply the zero product property to solve quadratics by factoring.
- Solve equations of the form (x − h)2 = k using the square root property, and remember the ±.
- Solve any quadratic by completing the square, including when the leading coefficient (the number in front of x2) is not 1.
- Use the quadratic formula correctly, and use the discriminant to predict the number and type of solutions.
- Graph a quadratic function by finding its vertex, axis of symmetry, intercepts, and direction of opening.
- Convert between standard form and vertex form, f(x) = a(x − h)2 + k.
- Set up and solve word problems about the height of a thrown object, area, and maximum or minimum values, and reject answers that make no sense in real life.
Section 1Solving by factoring

What makes an equation quadratic
A quadratic equation is one that can be written as ax2 + bx + c = 0, where a, b, and c are numbers and a ≠ 0. That last condition matters, because if a were 0, the x2 term would vanish, and you would be back to a linear equation. The number a is called the leading coefficient, b is the linear coefficient, and c is the constant term. Writing an equation in this order, with everything on one side and 0 on the other, is called putting it in standard form. Almost every method in this chapter assumes you have done that first.
Here is the most important idea in the whole section. If two numbers multiply to give zero, then at least one of them had to be zero, because there is no other way to land on zero. Written formally, this is the zero product property: if A · B = 0, then A = 0 or B = 0 (or both). Nothing like this is true for any other number. If A · B = 12, you learn almost nothing about A or B on its own. Zero is special, and that is what lets factoring solve equations.
The method, worked all the way through
The plan is always the same four moves. Get 0 alone on one side, factor the other side completely, set each factor equal to zero, and solve those small equations. Let us do x2 + 5x = 24 slowly.
Step 1: standard form. Subtract 24 from both sides so the right side becomes 0.
x2 + 5x − 24 = 0
Step 2: factor. Since the leading coefficient is 1, we need two numbers that multiply to −24 and add to 5. Run through the pairs: 1 and −24 add to −23, 2 and −12 add to −10, 3 and −8 add to −5, and 8 and −3 add to 5. That last pair works.
(x + 8)(x − 3) = 0
Step 3: zero product property. The product is zero, so one of the two factors is zero.
x + 8 = 0 or x − 3 = 0
Step 4: solve each. x = −8 or x = 3.
Step 5: check both. For x = −8: (−8)2 + 5(−8) = 64 − 40 = 24. ✓ For x = 3: 32 + 5(3) = 9 + 15 = 24. ✓ Both work, so the solution set is {−8, 3}.
Three variations you will meet constantly
A common factor first. Solve 2x2 = 8x. Move everything to the left: 2x2 − 8x = 0. Factor out 2x: 2x(x − 4) = 0. So 2x = 0 or x − 4 = 0, which gives x = 0 or x = 4. Check: 2(0)2 = 0 and 8(0) = 0 ✓, and 2(4)2 = 32 and 8(4) = 32 ✓. Notice the urge to divide both sides of 2x2 = 8x by x at the start. Never do that. Dividing by x quietly assumes x ≠ 0, and it throws away the perfectly good solution x = 0. The danger runs the other way too. Multiplying both sides by an expression with a variable in it, which is the usual move for clearing a denominator such as (1)/(x − 2), where the excluded value is x = 2, can create a solution that the original equation never had. Both dangers have the same cure. Any step that cannot be undone means you must put every possible answer back into the original equation before you call it a solution, which is why every example in this chapter ends with a check.
A leading coefficient that is not 1. Solve 6x2 − 7x − 3 = 0. Use the ac method: multiply a · c = 6(−3) = −18, and then find two numbers that multiply to −18 and add to b = −7. Those are −9 and 2, since (−9)(2) = −18 and −9 + 2 = −7. Split the middle term and group:
6x2 − 9x + 2x − 3 = 0
3x(2x − 3) + 1(2x − 3) = 0
(2x − 3)(3x + 1) = 0
So 2x − 3 = 0 gives x = (3)/(2), or 3x + 1 = 0 gives x = −(1)/(3). Check x = (3)/(2): 6 · (9)/(4) − 7 · (3)/(2) − 3 = (54)/(4) − (21)/(2) − 3 = 13.5 − 10.5 − 3 = 0 ✓. Check x = −(1)/(3): 6 · (1)/(9) − 7(−(1)/(3)) − 3 = (2)/(3) + (7)/(3) − 3 = (9)/(3) − 3 = 0 ✓.
A repeated solution. Solve x2 − 6x + 9 = 0. This factors as (x − 3)(x − 3) = 0, or (x − 3)2 = 0. Both factors give the same answer, x = 3. We call this a double root or repeated root. There is genuinely only one solution, and Section 4 will show you what that looks like on a graph.
| Pattern | Recognize it by | Factored form | Worked example |
|---|---|---|---|
| Common factor | Every term shares a factor | x(ax + b) | 2x2 − 8x = 2x(x − 4) |
| Difference of squares | Two perfect squares, subtracted | (x − k)(x + k) | x2 − 25 = (x − 5)(x + 5) |
| Trinomial, a = 1 | Leading coefficient is 1 | (x + m)(x + n), mn = c, m + n = b | x2 + 5x − 24 = (x + 8)(x − 3) |
| Trinomial, a ≠ 1 | Leading coefficient other than 1 | Split bx using two numbers with product ac, then group | 6x2 − 7x − 3 = (2x − 3)(3x + 1) |
| Perfect square trinomial | First and last terms are squares; middle is twice their roots | (x ± k)2 | x2 − 6x + 9 = (x − 3)2 |
| Sum of squares | Two perfect squares, added | Does not factor over the real numbers | x2 + 25 stays as it is |
- A quadratic equation can be written ax2 + bx + c = 0 with a ≠ 0.
- The zero product property says that if A · B = 0, then A = 0 or B = 0. It works only when the other side is zero.
- Procedure: standard form → factor completely → set each factor to 0 → solve → check.
- Never divide both sides by a variable: you lose the solution x = 0. Factoring is fast, but only some quadratics factor, so Sections 2 and 3 cover the rest.
Section 2Square root property and completing the square

The square root property, and why ± appears
Suppose x2 = 49. Most people answer 7 right away, and they are half right. Both 7 and −7 square to 49, so there are two solutions. The square root property says that if x2 = k, then x = ±√k. The ± symbol is short for "both the positive and the negative version," and forgetting it is the most common error in this section. If k < 0, there is no real solution at all, because no real number squares to a negative.
This property is powerful because it applies to a whole squared expression, not just to a lone x. Solve (x − 3)2 = 49 step by step:
Step 1. Apply the square root property to the whole quantity in parentheses.
x − 3 = ±√49 = ±7
Step 2. Split into two equations and solve each.
x − 3 = 7 → x = 10 and x − 3 = −7 → x = −4
Step 3: check. (10 − 3)2 = 72 = 49 ✓. (−4 − 3)2 = (−7)2 = 49 ✓.
One more, with the squared term buried. Solve 2(x + 5)2 − 18 = 0. Add 18 to both sides: 2(x + 5)2 = 18. Divide both sides by 2: (x + 5)2 = 9. Now take square roots: x + 5 = ±3. So x = −5 + 3 = −2, or x = −5 − 3 = −8. Check x = −2: 2(3)2 − 18 = 18 − 18 = 0 ✓. Check x = −8: 2(−3)2 − 18 = 18 − 18 = 0 ✓. If the square root is not a whole number, simplify it: x2 = 12 gives x = ±√12 = ±2√3, and that exact form is the preferred answer.
Completing the square: manufacturing a perfect square
The square root property is wonderful, but only when the equation already contains a perfect square. Completing the square is the method that forces one to appear. The idea rests on a pattern worth learning by heart: x2 + 2kx + k2 = (x + k)2. Read it backward, and it tells you what to add. Take the coefficient of x (the number in front of it), cut it in half, square that, and add it. That is the whole trick.
Solve x2 + 6x − 7 = 0 by completing the square.
Step 1: isolate the variable terms. Add 7 to both sides.
x2 + 6x = 7
Step 2: find the magic number. The number in front of x is 6. Half of 6 is 3, and three squared is 9.
Step 3: add it to both sides. This keeps the equation balanced.
x2 + 6x + 9 = 7 + 9
x2 + 6x + 9 = 16
Step 4: write the left side as a square. It is (x + 3)2, using the same 3 from Step 2.
(x + 3)2 = 16
Step 5: square root property.
x + 3 = ±4
Step 6: solve and check. x = −3 + 4 = 1, or x = −3 − 4 = −7. Check x = 1: 1 + 6 − 7 = 0 ✓. Check x = −7: 49 − 42 − 7 = 0 ✓.
When the leading coefficient is not 1
The halve and square rule assumes the x2 term has a coefficient of 1. If it does not, divide the whole equation by that coefficient first. Solve 2x2 − 12x + 10 = 0.
Step 1: divide every term by 2.
x2 − 6x + 5 = 0
Step 2: move the constant. Subtract 5.
x2 − 6x = −5
Step 3: halve and square. Half of −6 is −3; (−3)2 = 9. Add 9 to both sides.
x2 − 6x + 9 = −5 + 9 = 4
Step 4: factor and solve.
(x − 3)2 = 4 → x − 3 = ±2 → x = 5 or x = 1
Step 5: check in the original equation. For x = 5: 2(25) − 12(5) + 10 = 50 − 60 + 10 = 0 ✓. For x = 1: 2(1) − 12(1) + 10 = 2 − 12 + 10 = 0 ✓.
Completing the square also handles equations that will not factor at all. Solve x2 + 4x − 6 = 0. Move the constant: x2 + 4x = 6. Half of 4 is 2, and 22 = 4, so add 4 to both sides: x2 + 4x + 4 = 10, which is (x + 2)2 = 10. Then x + 2 = ±√10, so x = −2 ± √10. As decimals, √10 ≈ 3.162, so the solutions are about 1.162 and −5.162, which are nowhere near the tidy integers that factoring would have needed. Leave the exact answer as −2 ± √10.
| Step | What you do | On x2 − 6x + 5 = 0 | Why |
|---|---|---|---|
| 1 | Make the leading coefficient 1 | Already 1 | The halve-and-square rule needs it |
| 2 | Move the constant to the right | x2 − 6x = −5 | Clears room for the new constant |
| 3 | Halve b, then square it | (−6)/(2) = −3; (−3)2 = 9 | This is the missing corner of the square |
| 4 | Add that number to both sides | x2 − 6x + 9 = 4 | Balance must be preserved |
| 5 | Factor the left as (x + b/2)2 | (x − 3)2 = 4 | That was the point of the whole thing |
| 6 | Square root property, with ± | x − 3 = ±2 | Two square roots, always |
| 7 | Solve and check | x = 5 or x = 1 | Catch arithmetic slips |
- Square root property: x2 = k gives x = ±√k. The ± is mandatory; if k < 0 there is no real solution.
- It applies to any squared expression: (x − h)2 = k gives x = h ± √k.
- Completing the square: divide by a, move c, and add ((b)/(2))2 to both sides, which is half of the number in front of x, squared. Then factor and take roots.
- This method works on every quadratic, factorable or not, and it is where the quadratic formula comes from.
Section 3The quadratic formula

One formula that solves every quadratic
If you complete the square on the general equation ax2 + bx + c = 0, instead of on a specific one, you get a result that works forever. That result is the quadratic formula:
x = (−b ± √(b2 − 4ac))/(2a)
There are two things to say about it before we use it. First, it needs standard form. You must have ax2 + bx + c = 0 before you can read off a, b, and c, because there is no other way to find the coefficients. Second, the whole numerator (the top) sits over 2a, not just the radical. Dividing only part of the numerator is the classic mistake, and it gives answers that fail every check.
A full worked example
Solve 2x2 + 5x − 3 = 0.
Step 1: find the coefficients. The equation is already in standard form, so a = 2, b = 5, and c = −3. Carry the sign of c along with it.
Step 2: compute the part under the radical.
b2 − 4ac = (5)2 − 4(2)(−3) = 25 − (−24) = 25 + 24 = 49
Step 3: substitute into the formula.
x = (−5 ± √49)/(2 · 2) = (−5 ± 7)/(4)
Step 4: split the ± into two arithmetic problems.
x = (−5 + 7)/(4) = (2)/(4) = (1)/(2) and x = (−5 − 7)/(4) = (−12)/(4) = −3
Step 5: check. For x = (1)/(2): 2 · (1)/(4) + 5 · (1)/(2) − 3 = 0.5 + 2.5 − 3 = 0 ✓. For x = −3: 2(9) + 5(−3) − 3 = 18 − 15 − 3 = 0 ✓.
Now one that is not already in standard form, and where b is negative. Solve 3x2 = 5x + 2. Subtract 5x and 2 from both sides: 3x2 − 5x − 2 = 0, so a = 3, b = −5, c = −2. Then b2 − 4ac = 25 − 4(3)(−2) = 25 + 24 = 49, and −b = −(−5) = +5. So x = (5 ± 7)/(6). That gives x = (12)/(6) = 2 or x = (−2)/(6) = −(1)/(3). Check x = 2: 3(4) = 12 and 5(2) + 2 = 12 ✓. Check x = −(1)/(3): 3 · (1)/(9) = (1)/(3), and 5(−(1)/(3)) + 2 = −(5)/(3) + (6)/(3) = (1)/(3) ✓.
And here is one with an irrational answer. Solve 3x2 − 6x + 2 = 0, where a = 3, b = −6, and c = 2. Then b2 − 4ac = 36 − 4(3)(2) = 36 − 24 = 12, so x = (6 ± √12)/(6). Simplify √12 = 2√3, which gives x = (6 ± 2√3)/(6). Factor 2 out of the numerator and cancel: x = (3 ± √3)/(3). Since √3 ≈ 1.732, the solutions are about (4.732)/(3) ≈ 1.577 and (1.268)/(3) ≈ 0.423.
The discriminant: a preview of the answer
The expression under the radical, b2 − 4ac, is called the discriminant. Its sign alone tells you how many real solutions to expect, before you finish any arithmetic. If it is positive, the ± gives two different numbers. If it is exactly zero, the ± adds and subtracts nothing, so both branches shrink to the single value −b/(2a). If it is negative, you are being asked for the square root of a negative number, and there is no real solution.
Here are two quick reads. For x2 + x + 3 = 0, b2 − 4ac = 1 − 4(1)(3) = 1 − 12 = −11, which is negative, so there are no real solutions, and you can stop without wasting effort. For 4x2 − 12x + 9 = 0, b2 − 4ac = 144 − 4(4)(9) = 144 − 144 = 0, so there is exactly one solution, x = −(−12)/(2 · 4) = (12)/(8) = (3)/(2). Sure enough, 4x2 − 12x + 9 = (2x − 3)2.
| Discriminant b2 − 4ac | Number of real solutions | Type of solutions | Graph crosses the x-axis | Example |
|---|---|---|---|---|
| Positive, perfect square | Two | Rational: it would have factored | Twice | 2x2 + 5x − 3 = 0 (49) |
| Positive, not a perfect square | Two | Irrational, containing a radical | Twice | 3x2 − 6x + 2 = 0 (12) |
| Exactly zero | One (a double root) | Rational | Touches once at the vertex | 4x2 − 12x + 9 = 0 (0) |
| Negative | None in the real numbers | Two complex (non-real) | Never | x2 + x + 3 = 0 (−11) |
- Quadratic formula: x = (−b ± √(b2 − 4ac))/(2a), valid for every quadratic with a ≠ 0.
- Put the equation in standard form first, read off a, b, and c with their signs, and divide the entire numerator by 2a.
- The discriminant b2 − 4ac predicts the outcome: positive means two real solutions, zero means one, and negative means none.
- Simplify radicals and reduce fractions; give exact answers unless a decimal is requested.
Section 4Graphing quadratic functions

Shape, direction, and the vertex
A quadratic function is f(x) = ax2 + bx + c with a ≠ 0, and its graph is always a parabola, a U shaped curve that is the same on both sides. Three facts about a tell you the picture before you plot a single point. If a > 0, the parabola opens upward, and its lowest point is a minimum. If a < 0, it opens downward, and its highest point is a maximum. And the size of |a| controls the width: |a| larger than 1 makes it narrower and steeper, while |a| between 0 and 1 makes it wider and flatter.
The turning point is the vertex. The vertical line through it is the axis of symmetry, and the parabola is a perfect mirror image across that line. Both come from one formula:
axis of symmetry: x = −(b)/(2a) · vertex: (−(b)/(2a), f(−(b)/(2a)))
In words, work out x = −b/(2a) to get the x value, and then plug that number back into the function to get the y value. The y-intercept is always easy: set x = 0, and you get (0, c). The x-intercepts, also called the roots or zeros, are wherever f(x) = 0, which is exactly the equation solving you did in Sections 1 through 3. The discriminant now has a meaning you can see. Two real solutions means the parabola crosses the x-axis twice, one means it just touches the axis at the vertex, and none means it floats entirely above or below the axis.
An upward parabola, worked completely
Graph f(x) = x2 − 6x + 5.
Step 1: direction. a = 1, which is positive, so the parabola opens upward and has a minimum.
Step 2: axis of symmetry. x = −(b)/(2a) = −(−6)/(2 · 1) = (6)/(2) = 3. The axis is the vertical line x = 3.
Step 3: vertex. Substitute x = 3 back in: f(3) = (3)2 − 6(3) + 5 = 9 − 18 + 5 = −4. The vertex is (3, −4), and −4 is the minimum value of the function.
Step 4: y-intercept. f(0) = 0 − 0 + 5 = 5, so the graph passes through (0, 5).
Step 5: x-intercepts. Set the function equal to zero: x2 − 6x + 5 = 0, which factors as (x − 1)(x − 5) = 0, so x = 1 and x = 5. The intercepts are (1, 0) and (5, 0). Notice that they sit evenly around x = 3, one two units left and one two units right, which is a free check on your work.
Step 6: use symmetry for one more point. Since (0, 5) is three units left of the axis, its mirror image three units right is (6, 5). Verify: f(6) = 36 − 36 + 5 = 5 ✓. Plot (3, −4), (1, 0), (5, 0), (0, 5), (6, 5) and draw a smooth U through them.
Vertex form, and a downward parabola
Vertex form is f(x) = a(x − h)2 + k, and it hands you the vertex directly: it is (h, k), with axis of symmetry x = h. Watch the sign. In f(x) = 2(x + 3)2 − 7, the h is −3, not 3, because x + 3 is x − (−3). You change to vertex form by completing the square. For our example: x2 − 6x + 5 = (x2 − 6x + 9) − 9 + 5 = (x − 3)2 − 4. The vertex (3, −4) can now be read at a glance, and it matches Step 3 above.
Now graph g(x) = −2x2 + 8x − 5. Here a = −2, so it opens downward and is narrower than a basic parabola. Axis: x = −(8)/(2(−2)) = −(8)/(−4) = 2. Vertex: g(2) = −2(2)2 + 8(2) − 5 = −2(4) + 16 − 5 = −8 + 16 − 5 = 3, so the vertex is (2, 3), and the maximum value is 3. The y-intercept is (0, −5). For the x-intercepts, solve −2x2 + 8x − 5 = 0. Multiply through by −1 to get 2x2 − 8x + 5 = 0, whose discriminant is 64 − 4(2)(5) = 64 − 40 = 24. So x = (8 ± √24)/(4) = (8 ± 2√6)/(4) = (4 ± √6)/(2). With √6 ≈ 2.449, the intercepts are near x ≈ 3.22 and x ≈ 0.78. In vertex form: −2x2 + 8x − 5 = −2(x2 − 4x) − 5 = −2(x2 − 4x + 4) + 8 − 5 = −2(x − 2)2 + 3, which confirms the vertex (2, 3).
| Feature | How to find it | f(x) = x2 − 6x + 5 | g(x) = −2x2 + 8x − 5 |
|---|---|---|---|
| Direction | Sign of a | a = 1 > 0 → opens up | a = −2 < 0 → opens down |
| Axis of symmetry | x = −b/(2a) | x = 3 | x = 2 |
| Vertex | Plug the axis value into the function | (3, −4) | (2, 3) |
| Min or max value | The y-coordinate of the vertex | Minimum −4 | Maximum 3 |
| y-intercept | Set x = 0; it is (0, c) | (0, 5) | (0, −5) |
| x-intercepts | Solve f(x) = 0 | (1, 0) and (5, 0) | ((4 ± √6)/(2), 0) |
| Vertex form | Complete the square | (x − 3)2 − 4 | −2(x − 2)2 + 3 |
| Domain / range | Domain always all reals | Range y ≥ −4 | Range y ≤ 3 |
- The graph of f(x) = ax2 + bx + c is a parabola. When a > 0 it opens up (minimum), and when a < 0 it opens down (maximum).
- Axis of symmetry: x = −b/(2a); the vertex is that x together with f of that x.
- The y-intercept is (0, c); the x-intercepts are the real solutions of f(x) = 0.
- Vertex form a(x − h)2 + k shows the vertex (h, k) right away, and you get there by completing the square. The domain is always all real numbers. The range is y ≥ k when it opens up, or y ≤ k when it opens down.
Section 5Applications

Projectile height
Anything thrown, launched, or dropped near the earth's surface follows a quadratic height model, because gravity gives a steady pull that speeds things up at a constant rate (a constant acceleration). In feet and seconds, the standard model is h(t) = −16t2 + v0t + h0. Here t is the time in seconds, v0 is the starting upward speed (initial velocity) in feet per second, and h0 is the starting height in feet. The −16 is half of gravity's acceleration, and it never changes. It is negative, so the parabola opens downward, which is why every throw has a highest point.
A ball is thrown upward from a platform 6 feet high at 64 feet per second, so h(t) = −16t2 + 64t + 6.
Question A: when does it reach its maximum height, and how high is that? The maximum is at the vertex: t = −(b)/(2a) = −(64)/(2(−16)) = −(64)/(−32) = 2 seconds. Then h(2) = −16(2)2 + 64(2) + 6 = −16(4) + 128 + 6 = −64 + 128 + 6 = 70 feet. It peaks at 70 feet, 2 seconds after it is let go.
Question B: when is the ball 54 feet high? Set h(t) = 54 and solve.
−16t2 + 64t + 6 = 54
−16t2 + 64t − 48 = 0
Divide every term by −16: t2 − 4t + 3 = 0
(t − 1)(t − 3) = 0, so t = 1 or t = 3.
Both answers are real, and both make sense. The ball passes 54 feet on the way up at 1 second, and again on the way down at 3 seconds. Check: h(1) = −16 + 64 + 6 = 54 ✓ and h(3) = −16(9) + 192 + 6 = −144 + 198 = 54 ✓.
Question C: when does it hit the ground? Ground level is h = 0, so −16t2 + 64t + 6 = 0. Multiply by −1 to get 16t2 − 64t − 6 = 0, and then divide by 2 to get 8t2 − 32t − 3 = 0. This will not factor, so use the formula with a = 8, b = −32, and c = −3. The discriminant is (−32)2 − 4(8)(−3) = 1024 + 96 = 1120, and √1120 ≈ 33.47. So t = (32 ± 33.47)/(16), which gives t ≈ (65.47)/(16) ≈ 4.09 or t ≈ (−1.47)/(16) ≈ −0.09. Reject the negative root, because time cannot run backward from the moment of release. The ball lands about 4.09 seconds after it is thrown.
Area problems
Area is length times width, and when one side is described in terms of the other, that product becomes a quadratic. A gardener has 60 feet of fencing and wants a rectangle shaped plot against the flat side of a barn, so fencing is needed on only three sides.
Step 1: name a variable and write both sides. Let x be the width of each of the two sides that stick out from the barn at right angles (perpendicular to it). Those use 2x feet of fence, so the side parallel to the barn is 60 − 2x feet.
Step 2: write the area function and note its restrictions.
A(x) = x(60 − 2x) = −2x2 + 60x
Both sides must be positive, so x > 0 and 60 − 2x > 0. Solve that second inequality one step at a time. Subtract 60 from both sides to get −2x > −60, and then divide both sides by −2. Here the rule that catches everyone applies: multiplying or dividing an inequality by a negative number reverses the inequality sign. So the result is x < 30, not x > 30. (Check with a number: x = 40 would make 60 − 2x = −20, a negative side length, so 40 had better fail the inequality, and it does.) The sensible domain is 0 < x < 30.
Step 3: find the largest possible area. Since a = −2 < 0, the vertex is a maximum. x = −(60)/(2(−2)) = −(60)/(−4) = 15. Then A(15) = 15(60 − 30) = 15(30) = 450. The biggest plot is 15 feet by 30 feet, with an area of 450 square feet. Fence check: 15 + 15 + 30 = 60 ✓.
Step 4: a different question. Which widths give exactly 400 square feet?
−2x2 + 60x = 400
−2x2 + 60x − 400 = 0
Divide by −2: x2 − 30x + 200 = 0
(x − 10)(x − 20) = 0, so x = 10 or x = 20.
Both fall inside 0 < x < 30, so both are real answers: a 10 by 40 plot (10 · 40 = 400 ✓) or a 20 by 20 plot (20 · 20 = 400 ✓). These are two shapes with the same area.
Maximum and minimum in business
Revenue is price times quantity sold, and since raising the price usually lowers the quantity, revenue is quadratic. A shop currently sells 80 units per week at $15 each. Market research says every $1 increase in price will cost 4 sales per week.
Step 1: define the variable. Let x be the number of $1 increases. Then the price is 15 + x dollars and the quantity sold is 80 − 4x units.
Step 2: build the revenue function (the money coming in) and multiply it out.
R(x) = (15 + x)(80 − 4x) = 1200 − 60x + 80x − 4x2 = −4x2 + 20x + 1200
Step 3: locate the vertex. Because a = −4 < 0, the vertex is a maximum. x = −(20)/(2(−4)) = −(20)/(−8) = 2.5.
Step 4: turn the answer back into the story. The price is 15 + 2.5 = $17.50. The quantity is 80 − 4(2.5) = 80 − 10 = 70 units. The maximum revenue is R(2.5) = −4(2.5)2 + 20(2.5) + 1200 = −4(6.25) + 50 + 1200 = −25 + 1250 = $1225. Direct check: 17.50 · 70 = $1225 ✓. Notice that the question asked for a price, not for x, so answering "2.5" would leave the answer unfinished.
| Question being asked | What to do | Restriction to apply |
|---|---|---|
| Highest or lowest value | Find the vertex; the y-coordinate is the extreme value | Confirm the sign of a matches max vs. min |
| When does it reach a given height or amount | Set the function equal to that number and solve | Expect two times: often both are valid |
| When does it hit the ground / reach zero | Set the function equal to 0 and solve | Discard negative time |
| Dimensions giving a specified area | Write area as a product, expand, set equal, solve | Discard negative or zero lengths |
| Best price for maximum revenue | Revenue = price × quantity; find the vertex | Convert x back into the quantity actually requested |
- Projectile height in feet and seconds: h(t) = −16t2 + v0t + h0; it opens downward, so the vertex is the peak.
- Maximum or minimum questions are vertex questions: t or x = −b/(2a), then substitute back for the value.
- "When is it at height H?" is an equation question: set the function equal to H and solve, usually getting two times. Area problems become quadratic when one dimension is written in terms of the other.
- Reject answers that do not fit the setting, such as negative time, negative length, or values outside the domain, and answer in the units asked for.
The chapter in one breath
- A quadratic equation is ax2 + bx + c = 0 with a ≠ 0. Nearly every method starts by putting it in that standard form.
- The zero product property turns a factored equation into simple linear ones, but only when the other side is exactly zero.
- The square root property solves anything of the form (x − h)2 = k, and the ± is not optional.
- Completing the square creates that perfect square. Divide by a, move c, and add ((b)/(2))2 to both sides, which is half of b, then squared (for b = 6, that is 9, not 18).
- The quadratic formula x = (−b ± √(b2 − 4ac))/(2a) always works, and the discriminant predicts two, one, or no real solutions.
- Every quadratic function graphs as a parabola. Its direction comes from the sign of a, its axis of symmetry is at x = −b/(2a) with the vertex there, its y-intercept is at (0, c), and its x-intercepts are where f(x) = 0.
- Vertex form a(x − h)2 + k shows the vertex (h, k) at a glance, and it comes from completing the square.
- Word problems come down to two questions. One is a vertex question (how high, how large, how much), and the other is an equation question (when, what size). You must throw out answers that the setting does not allow.
ReferenceWords worth knowing
Here is a quick list of the words in this chapter. Skim it now to warm up, and come back whenever a word slows you down in the middle of a problem.
- Axis of symmetry
- The vertical line x = −b/(2a) that splits a parabola into two mirror-image halves; it passes through the vertex.
- Completing the square
- Adding ((b)/(2))2 to both sides of x2 + bx = d, so that the left side becomes a perfect square trinomial that can be solved with the square root property.
- Discriminant
- The expression b2 − 4ac under the radical of the quadratic formula. Its sign shows the number and type of solutions.
- Double root
- A solution that occurs twice because both factors are the same, as in (x − 3)2 = 0. The graph touches the x-axis at the vertex without crossing it.
- Excluded value
- A number that a variable is not allowed to take, because it would make a denominator zero or otherwise break the expression. Excluded values must be stated before solving, and they can never appear in a final answer.
- Extraneous solution
- A value that makes a changed equation true but not the original one. It comes from a step that cannot be undone, such as squaring both sides or multiplying through by an expression with a variable in it. It is not the same thing as a root rejected for real world reasons, such as a negative time. That kind of root really does solve the equation, and it is thrown out only because it falls outside the model's domain. Catch both kinds by putting every possible answer back into the original equation, and then back into the story.
- Factoring
- Rewriting an expression as a product of simpler expressions, which then lets the zero product property finish the job.
- Greatest common factor (GCF)
- The largest factor shared by every term; always pull it out before attempting any other factoring pattern.
- Leading coefficient
- The number a multiplying x2. It must not be 0, and its sign decides whether the parabola opens up or down.
- Maximum value
- The largest output of a quadratic function, equal to the y value of the vertex when a < 0.
- Minimum value
- The smallest output of a quadratic function, equal to the y value of the vertex when a > 0.
- Parabola
- The symmetric U-shaped curve that is the graph of every quadratic function.
- Perfect square trinomial
- A trinomial of the form x2 ± 2kx + k2, which factors as (x ± k)2.
- Projectile model
- The height function h(t) = −16t2 + v0t + h0 (feet and seconds) describing an object moving under gravity alone.
- Quadratic equation
- An equation that can be written ax2 + bx + c = 0 with a ≠ 0.
- Quadratic formula
- x = (−b ± √(b2 − 4ac))/(2a): the solution to every quadratic equation, derived by completing the square in general.
- Quadratic function
- A function f(x) = ax2 + bx + c with a ≠ 0, whose domain is all real numbers.
- Root (zero)
- A value of x that makes the function equal 0. On a graph, it is an x-intercept.
- Square root property
- If x2 = k then x = ±√k; there is no real solution when k < 0.
- Standard form
- The arrangement ax2 + bx + c = 0 (or f(x) = ax2 + bx + c), with the terms in order from the highest power down, and 0 on one side.
- Vertex
- The turning point of a parabola, at (−b/(2a), f(−b/(2a))); it is the minimum or maximum point.
- Vertex form
- The arrangement f(x) = a(x − h)2 + k, which displays the vertex (h, k) directly.
- Zero product property
- If A · B = 0 then A = 0 or B = 0; the reason factoring solves equations.
Check yourself
Polynomial & Rational Functions
Up to now, most of the functions you have graphed have been lines and parabolas, with one bend at most. This chapter opens the door to curves with several bends, curves that shoot off to infinity, and curves with unseen walls they can never cross. The good news is that you do not have to plot a hundred points to draw any of them. A polynomial's whole shape is written in two numbers, its degree and its leading coefficient (the number in front of its highest power). A rational function's whole shape comes out of one move: factor the top, factor the bottom, and see what cancels. Everything in this chapter is a checklist, and we will walk through every checklist one slow step at a time.
By the end of this chapter you can
- Spot a polynomial function, and state its degree and its leading coefficient.
- Predict how a polynomial's graph behaves at its far ends (its end behavior) from the degree and the leading coefficient alone.
- Find the zeros of a polynomial by factoring and using the zero product property.
- Use multiplicity (how many times a factor repeats) to decide whether a graph crosses the x-axis or touches it and turns around.
- Divide polynomials by long division and by synthetic division.
- Apply the Remainder Theorem and Factor Theorem to test and peel off factors.
- State the domain of a rational function, and find its vertical asymptotes, horizontal asymptotes, and holes.
- Assemble a complete, correct sketch of a rational function from its intercepts, asymptotes, and sign chart.
Section 1Polynomial graphs: degree, leading coefficient, and end behavior

What makes a function a polynomial
A polynomial function is a sum of terms, where each term is a number multiplied by x raised to a whole number power. Written out in full, it looks like this:
P(x) = anxn + an−1xn−1 + … + a1x + a0, with an ≠ 0
That looks scary, so let us translate it. The exponents must be 0, 1, 2, 3, and so on, so they are never negative and never a fraction. The coefficients (the numbers out front) can be any real numbers. And an ≠ 0 just means we are not allowed to pretend a term is there when its coefficient is zero.
Here are three quick sorting choices. f(x) = 4x3 − x + 9 is a polynomial, with exponents 3, 1, and 0. g(x) = 5/x + 2 is not one, because 5/x is really 5x−1, and negative exponents are not allowed. h(x) = √x + 1 is not one either, because √x is x1/2, and fraction exponents are not allowed. Those two outlaws are not useless, since the first one is a rational function and shows up later in this very chapter. They simply are not polynomials.
Two facts about the picture follow right away, and they are worth learning by heart, because they are what let you sketch quickly. A polynomial graph is continuous, which means you can draw it without lifting your pencil, with no gaps and no jumps. It is also smooth, with no sharp corners, only gentle turns.
Degree and leading coefficient
Write the polynomial in standard form, with the highest exponent first, going down to the constant. Then the degree is that highest exponent, and the leading coefficient is the number sitting in front of it. Order matters here only because it is easy to grab the wrong term from a jumbled expression. Rearranging first costs you five seconds and saves you the mistake.
Look at f(x) = 4x − 2x3 + 5x2 − 1. Put in order, it is f(x) = −2x3 + 5x2 + 4x − 1. Now it is plain to see: the degree is 3, and the leading coefficient is −2. Notice that the leading coefficient carries its sign with it. It is −2, not 2, and that minus sign is about to decide which way the whole graph points.
The degree also sets a limit on two counts. A polynomial of degree n has at most n real zeros (x-intercepts) and at most n − 1 turning points, which are places where the curve stops rising and starts falling, or the other way around. A cubic can wiggle twice, but it can never wiggle three times.
End behavior: what the graph does at the far edges
End behavior answers a simple question: if you follow the curve far to the right and far to the left, does each arm go up or down? Out at the far ends, the term with the highest power completely outweighs every other term, so only two facts matter. One is whether the degree is even or odd, and the other is whether the leading coefficient is positive or negative. That gives four combinations and four pictures.
| Degree | Leading coefficient | Left end (as x → −∞) | Right end (as x → +∞) | Looks like |
|---|---|---|---|---|
| Even | Positive | Rises (→ +∞) | Rises (→ +∞) | Both arms up, like y = x2 |
| Even | Negative | Falls (→ −∞) | Falls (→ −∞) | Both arms down, like y = −x2 |
| Odd | Positive | Falls (→ −∞) | Rises (→ +∞) | Down-left, up-right, like y = x3 |
| Odd | Negative | Rises (→ +∞) | Falls (→ −∞) | Up-left, down-right, like y = −x3 |
If the table feels like four things to learn by heart, it is really only two. Even degree means the two ends agree (both up or both down, like a parabola). Odd degree means the two ends disagree (one up and one down). Then a negative leading coefficient simply flips whatever picture you just drew upside down.
Worked example: every step
Describe the end behavior of f(x) = −2x3 + 5x2 + 4x − 1, then prove it with actual arithmetic.
Step 1: find the degree. The exponents present are 3, 2, 1, and 0. The highest is 3, so the degree is 3. Three is odd.
Step 2: find the leading coefficient. The term of degree 3 is −2x3, so the leading coefficient is −2. That is negative.
Step 3: read the table. An odd degree with a negative leading coefficient means the graph rises on the left and falls on the right.
Step 4: check the right end with a real number. Put in x = 10, and work out each piece on its own:
- −2(10)3 = −2(1000) = −2000
- 5(10)2 = 5(100) = 500
- 4(10) = 40
- the constant is −1
Add them in order: −2000 + 500 = −1500; then −1500 + 40 = −1460; then −1460 − 1 = −1461. So f(10) = −1461: a big negative number. The right arm is heading down. That matches Step 3.
Step 5: check the left end. Substitute x = −10. Watch the signs carefully, because this is where most errors happen:
- −2(−10)3 = −2(−1000) = +2000 (an odd power of a negative number is negative, and the leading −2 flips it back to positive)
- 5(−10)2 = 5(100) = 500 (an even power of a negative number is positive)
- 4(−10) = −40
- the constant is −1
Add in order: 2000 + 500 = 2500; then 2500 − 40 = 2460; then 2460 − 1 = 2459. So f(−10) = 2459: a big positive number. The left arm is heading up. Step 3 confirmed from both directions.
Step 6: put a limit on the wiggles. Degree 3 means at most 3 x-intercepts and at most 3 − 1 = 2 turning points. So the sketch is this: come down from the upper left (Step 5 gave f(−10) = 2459, high above the axis), wiggle at most twice, and leave toward the lower right (Step 4 gave f(10) = −1461, far below it).
- A polynomial allows only whole number exponents, and its graph is continuous and smooth.
- Degree means the highest exponent, and the leading coefficient is the number in front of it, sign included.
- An even degree means both ends agree, and an odd degree means the ends disagree. A negative leading coefficient flips the picture.
- Degree n allows at most n real zeros and at most n − 1 turning points.
Section 2Zeros and multiplicity

Four words for the same thing
A zero of P(x) is any number c with P(c) = 0. Books and teachers will also call it a root of the equation P(x) = 0, a solution of that equation, or an x-intercept of the graph. These are four names for one idea, seen from four angles: the language of functions, of equations, of solving, and of graphs. If c is a real zero, the point (c, 0) is on the graph.
The engine that finds zeros is the zero product property: if a product of factors equals zero, then at least one of those factors is zero. So the plan never changes. Factor the polynomial completely, then set each factor equal to zero and solve. The plan is easy, and the factoring is the work.
One theorem makes the connection official. The Factor Theorem says (x − c) is a factor of P(x) exactly when P(c) = 0. Factors and zeros are two views of the same fact, and Section 3 turns that into a practical tool.
Worked example: finding zeros by factoring
Find all real zeros of P(x) = x3 + 2x2 − 8x.
Step 1: pull out the greatest common factor. Every term contains at least one x, so factor x out: P(x) = x(x2 + 2x − 8). Never skip this step, because people who jump straight to the quadratic formula often lose the zero at x = 0.
Step 2: factor the trinomial. For x2 + 2x − 8, we need two numbers that multiply to −8 and add to +2. Test the pairs: 1 and −8 add to −7 (no), −1 and 8 add to 7 (no), 2 and −4 add to −2 (no), and −2 and 4 add to +2 (yes). So x2 + 2x − 8 = (x + 4)(x − 2), and the whole thing is P(x) = x(x + 4)(x − 2).
Step 3: set each factor to zero. x = 0 gives x = 0. Then x + 4 = 0 gives x = −4. Then x − 2 = 0 gives x = 2.
Step 4: check every answer by putting it back in. This is the step that catches sign errors, and it takes fifteen seconds.
- P(0) = 03 + 2(0)2 − 8(0) = 0 + 0 − 0 = 0 ✓
- P(−4) = (−4)3 + 2(−4)2 − 8(−4) = −64 + 2(16) + 32 = −64 + 32 + 32 = 0 ✓
- P(2) = 23 + 2(2)2 − 8(2) = 8 + 2(4) − 16 = 8 + 8 − 16 = 0 ✓
The zeros are x = −4, x = 0, and x = 2, so the graph crosses the flat axis at (−4, 0), (0, 0), and (2, 0). Degree 3 allowed at most three, and we found three.
Multiplicity: cross, or touch and turn
Sometimes a factor repeats. In Q(x) = (x − 5)2(x + 1), the factor (x − 5) shows up twice. The exponent on a factor is called the multiplicity of that zero, so 5 is a zero of multiplicity 2, and −1 is a zero of multiplicity 1. Multiplicity is not just bookkeeping. It tells you exactly what the curve does when it reaches that point on the axis.
| Multiplicity | Example factor | What the graph does there | Does the sign of P(x) change? |
|---|---|---|---|
| 1 (odd) | (x − 2) | Passes straight through the axis | Yes |
| 2 (even) | (x − 2)2 | Touches the axis and turns back: a bounce | No |
| 3 (odd) | (x − 2)3 | Crosses, but flattens out on the way through | Yes |
| 4 (even) | (x − 2)4 | Touches, flattens hard, and turns back | No |
| Any odd | - | Cross | Yes |
| Any even | - | Touch and turn | No |
Here is the reason, in one line. Near x = 2 the factor (x − 2) is negative on the left and positive on the right. Raise a quantity that changes sign to an even power and the result is positive on both sides: no sign change, so the graph stays on one side of the axis and must turn around. Raise it to an odd power and the sign survives: negative becomes positive, so the graph passes through.
Multiplicities also add up to the degree. In f(x) = (x + 2)(x − 1)2(x − 3)3, the multiplicities are 1, 2, and 3, so the degree is 1 + 2 + 3 = 6.
Worked example: a full sketch from factors
Describe the graph of f(x) = (x + 2)(x − 1)2(x − 3)3.
Step 1: list the zeros with their multiplicities. Set each factor to zero. x + 2 = 0 → x = −2, multiplicity 1. x − 1 = 0 → x = 1, multiplicity 2. x − 3 = 0 → x = 3, multiplicity 3.
Step 2: degree. 1 + 2 + 3 = 6. The degree is 6, which is even.
Step 3: leading coefficient. Multiplying it all out would take a while, but we only need the leading term. Each factor gives its own x: (x)(x)2(x)3 = x6, with coefficient 1 · 1 · 1 = 1. So the leading coefficient is +1, which is positive.
Step 4: end behavior. An even degree with a positive leading coefficient means both ends rise.
Step 5: behavior at each zero. At x = −2 (multiplicity 1, odd), the graph crosses plainly. At x = 1 (multiplicity 2, even), it touches and turns around without crossing. At x = 3 (multiplicity 3, odd), it crosses, flattening as it goes through.
Step 6: the y-intercept, with the arithmetic shown. Substitute x = 0: f(0) = (0 + 2)(0 − 1)2(0 − 3)3 = (2)(−1)2(−3)3. Now (−1)2 = 1 and (−3)3 = −27, so f(0) = (2)(1)(−27) = −54. The graph passes through (0, −54).
Step 7: put it together. Coming down from the upper left, the curve crosses at x = −2 into the region below the axis, and it dips through (0, −54). It rises to just touch the axis at x = 1 and bounce back down. Then it crosses upward at x = 3 with a flat spot, and it rises forever. That is a complete, correct shape, and we never plotted a table of points.
- Zero, root, solution, x-intercept all name the same number viewed four ways.
- Factor completely, then use the zero product property, and always check answers by putting them back in.
- An odd multiplicity means the graph crosses, and an even multiplicity means it touches and turns around.
- The multiplicities add up to the degree, and you can read the leading coefficient off the factors without multiplying them out.
Section 3Dividing polynomials

Why divide at all
Factoring a cubic or a polynomial of degree four just by looking is often hopeless. Division rescues you. If you can find one zero, dividing by its factor drops the degree by one, and you keep dropping until what is left is a quadratic that you can factor or run through the quadratic formula. Division is also the only clean way to find the slant asymptote of a rational function, which is waiting for you in Section 5.
The bookkeeping is the same as the long division you learned with whole numbers. Dividing 17 by 5 gives a quotient of 3 and a remainder of 2, and we can write 17 = 5 · 3 + 2. Polynomials follow the same rule:
dividend = divisor · quotient + remainder, or P(x) = D(x) · Q(x) + R(x), where the degree of R(x) is less than the degree of D(x).
That rule is your answer checker. Multiply the divisor by the quotient, add the remainder, and you must get the original polynomial back. If you do not, something went wrong, and now you know it before you turn the page.
Worked example: long division, one step at a time
Divide x3 − 4x2 + 2x + 5 by x − 3.
Step 1: divide the leading terms. x3 ÷ x = x2. Write x2 as the first term of the quotient. Multiply it back through the divisor: x2(x − 3) = x3 − 3x2. Subtract that from the first two terms of the dividend: (x3 − 4x2) − (x3 − 3x2) = x3 − x3 − 4x2 + 3x2 = −x2. Bring down the +2x, giving −x2 + 2x.
Step 2: repeat. −x2 ÷ x = −x. That is the next quotient term. Multiply back: −x(x − 3) = −x2 + 3x. Subtract: (−x2 + 2x) − (−x2 + 3x) = −x2 + x2 + 2x − 3x = −x. Bring down the +5, giving −x + 5.
Step 3: repeat once more. −x ÷ x = −1. Multiply back: −1(x − 3) = −x + 3. Subtract: (−x + 5) − (−x + 3) = −x + x + 5 − 3 = 2.
Step 4: stop and read off the answer. The leftover 2 has degree 0, which is less than the divisor's degree 1, so we stop. The quotient is x2 − x − 1 and the remainder is 2:
(x3 − 4x2 + 2x + 5)/(x − 3) = x2 − x − 1 + (2)/(x − 3)
Step 5: check it. Multiply divisor by quotient: (x − 3)(x2 − x − 1). Distribute the x: x3 − x2 − x. Distribute the −3: −3x2 + 3x + 3. Combine: x3 + (−x2 − 3x2) + (−x + 3x) + 3 = x3 − 4x2 + 2x + 3. Now add the remainder 2: x3 − 4x2 + 2x + 5. That is the original dividend exactly. ✓
Synthetic division: the shortcut for x − c
When the divisor has the form x − c, and only then, you can throw away the letters and work with the coefficients alone. That is synthetic division. Two setup rules make or break it. Use c from the form x − c (so dividing by x + 2 means c = −2), and write a 0 placeholder for every missing power.
Redo the same division, x3 − 4x2 + 2x + 5 divided by x − 3, by synthetic division. The coefficients are 1, −4, 2, and 5. The divisor x − 3 means c = 3.
Step 1. Bring the first coefficient straight down: 1.
Step 2. Multiply it by c: 1 × 3 = 3. Add to the next coefficient: −4 + 3 = −1.
Step 3. Multiply: −1 × 3 = −3. Add to the next coefficient: 2 + (−3) = −1.
Step 4. Multiply: −1 × 3 = −3. Add to the last coefficient: 5 + (−3) = 2.
The bottom row reads 1, −1, −1, and then 2. The last number is always the remainder, and the numbers before it are the coefficients of the quotient, starting one degree lower than the dividend. The dividend was degree 3, so the quotient is degree 2: x2 − x − 1, with remainder 2. That matches the long division answer, in about a quarter of the writing.
| Long division | Synthetic division | |
|---|---|---|
| Works for | Any divisor: x − 3, x2 + 1, 3x − 5, anything | Only divisors of the form x − c |
| You write | Full terms with variables | Coefficients only |
| Operations | Divide, multiply, subtract, bring down | Multiply and add (no subtracting) |
| Missing terms | Leave a gap or write 0x2 | Must write a 0 placeholder |
| Speed | Slower, more writing | Fast once the setup is right |
| Typical use | Slant asymptotes, quadratic divisors | Testing candidate zeros, peeling off factors |
The Remainder and Factor Theorems
Two theorems turn division into a machine for finding zeros. The Remainder Theorem says that when you divide P(x) by x − c, the remainder equals P(c). Check it against the example above: P(3) = 33 − 4(3)2 + 2(3) + 5 = 27 − 4(9) + 6 + 5 = 27 − 36 + 6 + 5 = 2. The remainder was 2. ✓
The Factor Theorem is the special case that matters most. If the remainder is 0, then P(c) = 0, which means c is a zero and (x − c) is a factor. A remainder of zero means a factor is found.
Which numbers should you test? The Rational Zero Theorem narrows the field. Any rational zero of a polynomial with integer coefficients must be of the form (factor of the constant term)/(factor of the leading coefficient). It does not promise that a zero exists, but it hands you a short list instead of endless numbers to try.
Worked example: factoring a cubic completely
Factor P(x) = x3 − 4x2 + x + 6 completely and list its zeros.
Step 1: build the list of possible zeros. The constant term is 6, with factors 1, 2, 3, and 6. The leading coefficient is 1, with factor 1. So the possible zeros are ±1, ±2, ±3, and ±6.
Step 2: test the possible zeros until one works. Try x = 1: P(1) = 1 − 4 + 1 + 6 = 4, which is not zero. Try x = −1: P(−1) = (−1)3 − 4(−1)2 + (−1) + 6 = −1 − 4(1) − 1 + 6 = −1 − 4 − 1 + 6 = 0. A zero is found. By the Factor Theorem, (x + 1) is a factor.
Step 3: divide it out with synthetic division. The coefficients are 1, −4, 1, and 6. The factor (x + 1) is (x − (−1)), so c = −1.
- Bring down 1.
- 1 × (−1) = −1; then −4 + (−1) = −5.
- −5 × (−1) = 5; then 1 + 5 = 6.
- 6 × (−1) = −6; then 6 + (−6) = 0. The remainder is 0, exactly as promised.
Step 4: factor what is left. The bottom row 1, −5, 6 means the quotient is x2 − 5x + 6. Two numbers that multiply to 6 and add to −5 are −2 and −3, so x2 − 5x + 6 = (x − 2)(x − 3).
Step 5: write the full factored form and the zeros. P(x) = (x + 1)(x − 2)(x − 3), so the zeros are x = −1, x = 2, and x = 3, each with multiplicity 1, which means the graph crosses at all three.
Step 6: check by multiplying out. First, (x − 2)(x − 3) = x2 − 3x − 2x + 6 = x2 − 5x + 6. Then (x + 1)(x2 − 5x + 6) = x3 − 5x2 + 6x + x2 − 5x + 6 = x3 − 4x2 + x + 6. The original is back. ✓
- dividend = divisor · quotient + remainder: multiply back to check every division.
- Long division handles any divisor; synthetic division is faster but only for x − c.
- Remainder Theorem: dividing by x − c leaves remainder P(c).
- Factor Theorem: remainder 0 means c is a zero and (x − c) is a factor, then factor the smaller quotient.
Section 4Rational functions: domain, asymptotes, and holes

Domain: the first question, always
A rational function is one polynomial divided by another: f(x) = P(x)/Q(x), where Q(x) is not the zero polynomial. Every rule you already know about fractions applies, and the biggest one is that dividing by zero is undefined. So the domain of a rational function is every real number except those that make the denominator (the bottom) zero.
The method is short: set the denominator equal to zero, solve, and leave those values out. For f(x) = (x + 1)/(x − 4), setting x − 4 = 0 gives x = 4, so the domain is all real numbers with x ≠ 4. Notice that we never look at the numerator (the top) for this. The numerator can be zero all day long, because that just gives an x-intercept, which is perfectly allowed.
Do this before you simplify. This is the most important habit in the section, and the tip in Section 5 will say it again, because canceling first destroys the evidence of where the function was undefined.
What happens at an excluded value: hole or wall?
An excluded x value is a place the graph cannot be, but there are two very different ways it can be missing, and factoring tells them apart.
If the troublesome factor cancels with a matching factor in the numerator, the gap is only one point wide. That is a hole, also called a removable discontinuity (a break that can be patched). The curve looks perfectly normal on both sides, and you draw a small open circle at the missing point.
If the troublesome factor survives in the denominator after all the canceling, then near that x value the denominator shrinks toward zero while the numerator does not, so the quotient blows up. That is a vertical asymptote, an unseen up and down wall that the graph races along but never touches or crosses.
To find the height of a hole, substitute the missing x-value into the simplified function. The original will only hand you 0/0.
Worked example: domain, hole, and vertical asymptote
For f(x) = (x2 − 9)/(x2 − x − 6), find the domain, any holes, and any vertical asymptotes.
Step 1: factor the top and the bottom. The numerator is a difference of squares: x2 − 9 = (x − 3)(x + 3). For the denominator, find two numbers that multiply to −6 and add to −1. Those are −3 and +2, so x2 − x − 6 = (x − 3)(x + 2). The function is now
f(x) = [(x − 3)(x + 3)]/[(x − 3)(x + 2)]
Step 2: state the domain right now, before canceling. The denominator is zero when x − 3 = 0 (so x = 3) or when x + 2 = 0 (so x = −2). The domain is all real x with x ≠ 3 and x ≠ −2.
Step 3: cancel. The factor (x − 3) shows up on the top and the bottom, so f(x) = (x + 3)/(x + 2), true for x ≠ 3. That limit at the end is not there for show, because it is the whole record of the hole.
Step 4: the canceled factor gives a hole. Because (x − 3) canceled, there is a hole at x = 3. Its height comes from the simplified form: (3 + 3)/(3 + 2) = 6/5 = 1.2. So the hole sits at the point (3, 6/5).
Step 5: the surviving factor gives a vertical asymptote. The factor (x + 2) did not cancel, so there is a vertical asymptote at x = −2.
Step 6: confirm the blowup with numbers. Come toward −2 from the right, using the simplified form. At x = −1.9: (−1.9 + 3)/(−1.9 + 2) = 1.1/0.1 = 11. At x = −1.99: 1.01/0.01 = 101. At x = −1.999: 1.001/0.001 = 1001. The values are rocketing up to +∞. From the left, at x = −2.001: 0.999/(−0.001) = −999, plunging to −∞. That is a real wall, with the graph going in opposite directions on its two sides.
Horizontal asymptotes: a contest between degrees
A horizontal asymptote describes how the graph behaves far to the left and far to the right. It is the value the outputs settle toward as x runs off to ±∞. Since Section 1 showed that only the leading terms matter out there, comparing the two leading terms answers the question. Let n be the degree of the numerator and m the degree of the denominator.
| Comparison | End behavior | Example | Result |
|---|---|---|---|
| n < m | Bottom grows faster, so the fraction shrinks | (4x)/(x2 + 1) | Horizontal asymptote y = 0 |
| n = m | They grow at the same rate | (3x2 + 5)/(x2 − 4) | y = 3/1 = 3 (ratio of leading coefficients) |
| n = m + 1 | Top wins by exactly one degree | (x2 − 3x − 4)/(x − 2) | No horizontal asymptote; a slant asymptote instead |
| n > m + 1 | Top runs away entirely | (x4 + 1)/(x − 1) | No horizontal and no slant asymptote |
Test the row with equal degrees using real numbers, so the rule stops feeling like a rule. For g(x) = (3x2 + 5)/(x2 − 4) at x = 100, the numerator is 3(10000) + 5 = 30005 and the denominator is 10000 − 4 = 9996, so g(100) = 30005/9996 ≈ 3.0017. At x = 1000, the numerator is 3,000,005, the denominator is 999,996, and the quotient is ≈ 3.000017. It is squeezing in on y = 3, exactly as the ratio 3/1 predicted.
When the numerator's degree is exactly one more than the denominator's, divide and read the polynomial part. For (x2 − 3x − 4)/(x − 2), run synthetic division with c = 2 on the coefficients 1, −3, −4. Bring down 1; then 1 × 2 = 2 and −3 + 2 = −1; then −1 × 2 = −2 and −4 + (−2) = −6. So the quotient is x − 1 with remainder −6, which means the function equals x − 1 − 6/(x − 2). As x grows, the fraction 6/(x − 2) fades to nothing, and the graph hugs the line y = x − 1. Check it at x = 100: the function gives (10000 − 300 − 4)/98 = 9696/98 ≈ 98.94, while the line gives 100 − 1 = 99. The gap is only 0.06, and it keeps closing.
- A rational function is a polynomial over a polynomial. Its domain leaves out every zero of the denominator.
- Factor first, and write the domain before canceling anything.
- A canceled factor makes a hole (get its height from the simplified form). A denominator factor that survives makes a vertical asymptote.
- Find the horizontal asymptote by comparing degrees. A smaller top gives y = 0. Equal degrees give the ratio of the leading coefficients. A top that is bigger by one gives a slant asymptote.
Section 5Graphing rational functions: putting the pieces together

The routine
Everything in this chapter now comes together into one checklist you can repeat. Work it in order. The order is not random, because each step depends on the one before it, and the most common wrong graphs come from doing step 3 before step 2.
| Step | What you do | What it gives you |
|---|---|---|
| 1 | Factor the numerator and the denominator completely | Everything else depends on this |
| 2 | Set the original denominator equal to zero and solve | The domain: the excluded x-values |
| 3 | Cancel any common factors | Holes, at the canceled x-values |
| 4 | Set the remaining denominator equal to zero | Vertical asymptotes: draw as dashed lines |
| 5 | Set the remaining numerator equal to zero | x-intercepts (discard any excluded value) |
| 6 | Evaluate f(0), if 0 is in the domain | The y-intercept |
| 7 | Compare degrees (divide if the top wins by one) | Horizontal or slant asymptote |
| 8 | Pick a test x in each region between the critical values | A sign chart: above or below the axis in each strip |
Steps 4, 5, and 6 give you the actual points and lines. Step 8 is what stops you from guessing. Once you know whether the curve is above or below the axis in every strip, and which way it runs at each wall, the shape has almost no freedom left.
Worked example: a complete graph, start to finish
Sketch f(x) = (2x2 − 2x − 12)/(x2 − 9).
Step 1: factor. The numerator has a common factor of 2: 2x2 − 2x − 12 = 2(x2 − x − 6). Two numbers that multiply to −6 and add to −1 are −3 and 2, so this is 2(x − 3)(x + 2). The denominator is a difference of squares: x2 − 9 = (x − 3)(x + 3). So
f(x) = [2(x − 3)(x + 2)]/[(x − 3)(x + 3)]
Step 2: domain. The original denominator is zero at x = 3 and x = −3. The domain is all real x with x ≠ 3 and x ≠ −3.
Step 3: cancel, and record the hole. The (x − 3) cancels, leaving f(x) = [2(x + 2)]/(x + 3) for x ≠ 3. Height of the hole: substitute x = 3 into the simplified form: [2(3 + 2)]/(3 + 3) = [2(5)]/6 = 10/6 = 5/3 ≈ 1.67. Hole at (3, 5/3): an open circle.
Step 4: vertical asymptote. The denominator factor that is left, (x + 3), is zero at x = −3, and it did not cancel. Vertical asymptote: x = −3.
Step 5: x-intercept. Set the numerator that is left equal to zero: 2(x + 2) = 0 gives x + 2 = 0, so x = −2. That value is in the domain, so (−2, 0) is a real intercept.
Step 6: y-intercept. Zero is in the domain, so evaluate: f(0) = [2(0 + 2)]/(0 + 3) = [2(2)]/3 = 4/3 ≈ 1.33. (0, 4/3).
Step 7: horizontal asymptote. Use the original. The numerator has degree 2 with leading coefficient 2, and the denominator has degree 2 with leading coefficient 1. The degrees are equal, so y = 2/1 = 2. Horizontal asymptote: y = 2. (The simplified form agrees: degree 1 over degree 1, with leading coefficients 2 and 1, giving 2/1 = 2.)
Step 8: sign chart. The critical values are x = −3 (asymptote) and x = −2 (intercept). They cut the line into three strips. Test one number in each:
- x = −4: [2(−4 + 2)]/(−4 + 3) = [2(−2)]/(−1) = (−4)/(−1) = 4. Positive: the curve is above the axis to the left of −3.
- x = −2.5: [2(−2.5 + 2)]/(−2.5 + 3) = [2(−0.5)]/(0.5) = (−1)/(0.5) = −2. Negative: below the axis between −3 and −2.
- x = 0: we already found 4/3. Positive: above the axis to the right of −2.
Step 9: behavior at the wall. Approach x = −3 from the left, at x = −3.1: [2(−1.1)]/(−0.1) = (−2.2)/(−0.1) = 22, and at x = −3.01 it is (−2.02)/(−0.01) = 202. Shooting to +∞. From the right, at x = −2.9: [2(−0.9)]/(0.1) = (−1.8)/(0.1) = −18, and at x = −2.99 it is (−1.98)/(0.01) = −198. Plunging to −∞.
Step 10: how it meets y = 2. At x = 100: [2(102)]/(103) = 204/103 ≈ 1.98: just below 2. At x = −100: [2(−98)]/(−97) = (−196)/(−97) ≈ 2.02: just above 2. So the right branch rises toward 2 from underneath and the left branch settles toward 2 from above.
The finished picture. Draw the dashed lines x = −3 and y = 2. On the far left, the curve is just above y = 2, and as it moves right, it climbs steeply to +∞ against the wall at x = −3. On the other side of the wall, it comes up from −∞, crosses the axis at (−2, 0), passes through (0, 4/3), and flattens out toward y = 2 from below. One open circle is punched out at (3, 5/3). Every feature came from arithmetic, not guesswork.
Three habits that keep you honest
First, label the hole separately from the asymptote. Both come from the denominator, and both are left out of the domain, but they look nothing alike. A hole is one missing dot on an otherwise ordinary curve, while an asymptote splits the graph into separate branches. Writing "x ≠ 3, x ≠ −3" tells you that two values are left out, but only the factoring tells you which is which.
Second, check with one number far out. Plug in x = 100 or x = −100 and compare the result with the asymptote you predicted, just as Step 10 did. If you predicted y = 2 and the arithmetic hands back 1.98, you are right. If it hands back 47, you made an error earlier on, almost always in comparing the degrees or in a dropped negative sign.
Third, when you solve instead of graph, check every possible answer against the domain. Clearing fractions is allowed, but it can create answers that the original equation never had. Solve (x + 3)/(x − 3) = 6/(x − 3) by multiplying both sides by (x − 3), and you get x + 3 = 6, so x = 3. But x = 3 was left out of the domain from the very first line, because both sides are undefined there. That answer is extraneous (a fake), and the equation has no solution. The rule has no exceptions: put every answer back into the original equation, and throw out any value that makes a denominator zero.
The same warning applies to inequalities, but the fix is different. Do not multiply a rational inequality by a factor such as (x + 3), because you do not know its sign, and multiplying or dividing both sides of an inequality by a negative amount reverses the inequality sign. With plain numbers, that rule is easy to use: −2x < 6 becomes x > −3, not x < −3. (Check x = 0: −2(0) = 0, and 0 < 6 is true, and 0 > −3 is true.) With a variable factor, you cannot use it, because the sign changes from strip to strip. That is exactly why Step 8 uses a sign chart instead, since testing one number in each region settles the sign question without ever multiplying through.
- Follow the checklist in order: factor → domain → cancel (holes) → vertical asymptotes → intercepts → end behavior → sign chart.
- The sign chart removes the guesswork: test one x in each strip between critical values.
- Near a vertical asymptote, test a value just left and just right; the two sides often run in opposite directions.
- Confirm the horizontal or slant asymptote with a value far out, such as x = 100, before you commit to the sketch.
- When you solve a rational equation, put the answers back in, because any answer that makes a denominator zero is extraneous and must be thrown out. For an inequality, never multiply by a variable factor, since multiplying or dividing by a negative flips the inequality sign, so use a sign chart instead.
The chapter in one breath
- A polynomial allows only whole number exponents, and its graph is continuous and smooth, with no gaps and no corners.
- The degree and the leading coefficient alone fix the end behavior. An even degree makes the two ends agree, an odd degree makes them disagree, and a negative leading coefficient flips the whole picture.
- Zeros are x-intercepts. Find them by factoring completely and using the zero product property, and then check each one by putting it back in.
- An odd multiplicity means the graph crosses the axis, and an even multiplicity means it touches and turns around. The multiplicities add up to the degree.
- Long division works for any divisor. Synthetic division is the fast version, kept for divisors of the form x − c, so mind the sign of c and the 0 placeholders.
- The Remainder Theorem says the remainder is P(c), and the Factor Theorem says a remainder of 0 means (x − c) is a factor. This is the standard way to break a cubic down to a quadratic.
- For a rational function, factor first and state the domain before canceling. Canceled factors become holes, and denominator factors that survive become vertical asymptotes.
- Degrees settle the far ends. A smaller top gives y = 0, equal degrees give the ratio of the leading coefficients, and a top that is bigger by exactly one gives a slant asymptote, found by dividing.
- Solving is not graphing. Clearing fractions can create extraneous solutions, so put every answer back into the original equation and throw out anything that makes a denominator zero. Also remember that multiplying or dividing an inequality by a negative reverses the inequality sign.
ReferenceWords worth knowing
Here is a quick list of the words in this chapter. Skim it now, or come back whenever a word stops you in the middle of a problem.
- Asymptote
- A line that a graph gets closer and closer to as it heads toward infinity (or toward an excluded x value). It is drawn dashed because it is a guide, not part of the curve.
- Degree
- The highest exponent on the variable, once a polynomial is written in standard form. It limits the number of zeros to n and the number of turning points to n − 1.
- Dividend
- In a division problem, the polynomial being divided, which is the one under the bar.
- Divisor
- The polynomial you are dividing by.
- End behavior
- What the two arms of a graph do as x → +∞ and x → −∞. For a polynomial, it is decided entirely by the degree and the leading coefficient.
- Extraneous solution
- A value that shows up when you clear fractions (or change an equation in some other way) but does not make the original equation true, usually because it makes a denominator zero. Always put answers back in and throw out any such value.
- Factor Theorem
- (x − c) is a factor of P(x) if and only if P(c) = 0: that is, if and only if the remainder on dividing by x − c is zero.
- Hole (removable discontinuity)
- A single missing point on an otherwise ordinary curve, caused by a factor that cancels from both the numerator and the denominator. It is marked with an open circle.
- Horizontal asymptote
- A flat line y = k that the graph gets close to as x → ±∞. A graph is allowed to cross it in the middle.
- Leading coefficient
- The number multiplying the term with the highest degree, sign included. Its sign flips the whole end behavior picture.
- Long division (polynomial)
- The general division algorithm, divide, multiply, subtract, bring down, that works with a divisor of any degree.
- Multiplicity
- The exponent on a repeated factor, which tells you how many times a zero occurs. An odd multiplicity means the graph crosses, and an even multiplicity means it touches and turns.
- Polynomial function
- A sum of terms of the form a xn, with n a whole number. There are no variables in denominators and none under root signs.
- Quotient
- The result of a division, not counting the remainder.
- Rational function
- A function written as one polynomial divided by another, P(x)/Q(x), with Q(x) not the zero polynomial.
- Remainder
- What is left over after dividing; its degree is always less than the degree of the divisor.
- Remainder Theorem
- Dividing P(x) by x − c leaves a remainder of exactly P(c): a fast way to evaluate or to test a candidate zero.
- Slant (oblique) asymptote
- A slanted line that the graph gets close to at its far ends. It happens when the numerator's degree is exactly one more than the denominator's, and you find it by dividing.
- Synthetic division
- A shortcut for dividing by x − c that uses only the coefficients, with bring down, multiply, and add. It needs 0 placeholders for any missing power.
- Turning point
- A point where the graph changes from rising to falling, or from falling to rising. A polynomial of degree n has at most n − 1 of them.
- Vertical asymptote
- An up and down line x = a that the graph races along but never touches. It happens where a denominator factor survives after canceling.
- x-intercept
- A point (c, 0) where the graph meets the flat axis. Its x values are exactly the real zeros.
- Zero (root)
- A number c for which P(c) = 0. Also called a root of the equation P(x) = 0 or a solution of it.
Check yourself
Exponential Functions
Up to now, the variable has always been on the ground floor, as in x, x2, and x3. In this chapter the variable moves upstairs into the exponent, and everything changes. A function like 2x does not add the same amount at each step, because it multiplies by the same amount at each step. That one difference is why money in a savings account, a colony of bacteria, and a dose of medicine leaving the blood all follow the same shape of curve. We will build the meaning of these functions with care, learn to read the graph at a glance, meet the strange and useful number e, and then turn all of it into models you can really work with. We do not assume you are already at ease with exponents, because we will rebuild what we need as we go.
By the end of this chapter you can
- Say what an exponential function is, and explain why the base must have b > 0 and b ≠ 1.
- Find the value of an exponential function at positive, zero, negative, and fraction inputs.
- Find the equation f(x) = a·bx from two points on the curve.
- Sketch and describe an exponential graph, including growth versus decay, the flat line it approaches (the horizontal asymptote), the domain, and the range.
- Apply shifts, stretches, and reflections to y = bx and state the new asymptote and range.
- Explain where the number e comes from, and find values of the natural exponential function f(x) = ex.
- Build and use growth and decay models, including doubling time and half-life.
- Work out balances with both the periodic and the continuous compound interest formulas, and compare them.
Section 1Exponential functions

The definition, one word at a time
An exponential function is a function that has the form
f(x) = a · bx, where a ≠ 0, b > 0, and b ≠ 1.
Read that slowly: the number b is the base. The number a is the initial value (the starting value), because when x = 0 we get f(0) = a·b0 = a·1 = a. And x, the variable that changes, sits in the exponent; that last detail is the whole point. In x2 the variable is the base and the exponent is fixed, but in 2x the base is fixed and the variable is the exponent. They are completely different animals, and mixing them up is the most common error in this chapter.
Here is what "variable in the exponent" means in practice: every time x goes up by 1, the output gets multiplied by b. A linear function adds the same amount at each step, but an exponential function multiplies by the same amount at each step. Watch it happen with f(x) = 3·2x:
| x | 3·2x written out | Value | Change from the row above |
|---|---|---|---|
| −2 | 3·2−2 = 3·(1)/(4) | 0.75 | - |
| −1 | 3·2−1 = 3·(1)/(2) | 1.5 | ×2 |
| 0 | 3·20 = 3·1 | 3 | ×2 |
| 1 | 3·21 = 3·2 | 6 | ×2 |
| 2 | 3·22 = 3·4 | 12 | ×2 |
| 3 | 3·23 = 3·8 | 24 | ×2 |
Worked example 1: finding values, with every step shown. Let f(x) = 3·2x; find f(0), f(3), and f(−2).
- f(0) = 3·20. Any number other than zero raised to the zero power is 1, so 20 = 1. Then 3·1 = 3.
- f(3) = 3·23. First, 23 = 2·2·2 = 8. Then 3·8 = 24. (Do the exponent first and then multiply, by the order of operations, so it is not (3·2)3 = 216.)
- f(−2) = 3·2−2. A negative exponent means take the reciprocal (flip it over), so 2−2 = (1)/(22) = (1)/(4). Then 3·(1)/(4) = (3)/(4) = 0.75.
Notice that the negative exponent did not give a negative answer, because it gave a small positive one. That fact is worth carrying with you: for a positive a, an exponential function never gives zero and never gives a negative number.
Why the base has rules
The definition comes with three limits, and each one exists for a clear reason, not to make your life harder.
Why b > 0. Suppose we allowed b = −4 and asked for f((1)/(2)) = (−4)1/2 = √(−4), which is not a real number. Suppose we allowed b = −2 and made a table: (−2)1 = −2, (−2)2 = 4, and (−2)3 = −8. The signs flip back and forth, and half of the fraction inputs are undefined, so there is no smooth curve to graph. Requiring b > 0 keeps the function defined for every real x.
Why b ≠ 1. If b = 1, then f(x) = a·1x = a·1 = a for every input. That is a flat line, a constant function, and nothing about it is exponential. Leaving out b = 1 keeps the definition honest.
Why a ≠ 0. If a = 0, then f(x) = 0·bx = 0 every time, which again is a flat line and not a curve.
With those limits in place, the base tells you the whole story of which way the function goes:
| Base | Behavior (for a > 0) | Name | Example |
|---|---|---|---|
| b > 1 | Output grows as x increases | Exponential growth | y = 2x, y = 1.05x |
| 0 < b < 1 | Output shrinks as x increases | Exponential decay | y = ((1)/(2))x, y = 0.85x |
| b = 1 | Output never changes | Not exponential (constant) | y = 1x = 1 |
| b ≤ 0 | Undefined for many inputs | Not allowed | (−4)x |
Finding the function from data
Worked example 2: building f(x) = a·bx from two points. A curve passes through (0, 5) and (3, 40). Find its equation.
Step 1: use the point with x = 0 to find a. Putting in x = 0 and f(0) = 5 gives:
5 = a·b0 = a·1 = a, so a = 5.
Step 2: put in the second point. Using x = 3 and f(3) = 40 gives:
40 = 5·b3
Step 3: solve for b. Divide both sides by 5: (40)/(5) = b3, so 8 = b3; take the cube root of both sides: b = ∛8 = 2. (Since the definition needs b > 0, we keep the positive root, and there is no second answer to worry about.)
Step 4: write it and check it. f(x) = 5·2x. Check the first point: f(0) = 5·20 = 5·1 = 5. ✓ Then check the second point: f(3) = 5·23 = 5·8 = 40. ✓
Worked example 3: solving when the bases can be matched. Solve 52x−1 = 125.
Step 1: rewrite both sides with the same base. Since 125 = 5·5·5 = 53, the equation becomes 52x−1 = 53.
Step 2: use the one to one property. An exponential function never repeats an output, so if bm = bn, then m = n. That means 2x − 1 = 3.
Step 3: solve the linear equation. Add 1 to both sides to get 2x = 4, and then divide both sides by 2 to get x = 2.
Step 4: check. 52(2)−1 = 54−1 = 53 = 125. ✓ No extraneous (fake) solutions can show up here, because we never squared, never multiplied by an expression with a variable, and never divided by anything containing x, so every step could be undone. (When the bases cannot be matched, as in 2x = 7, you need logarithms, which come in Chapter 12.)
- An exponential function is f(x) = a·bx with a ≠ 0, b > 0, and b ≠ 1, so the variable lives in the exponent.
- a is the initial value because f(0) = a; each unit increase in x multiplies the output by b.
- b > 1 gives growth, and 0 < b < 1 gives decay. b = 1 gives a constant, which is why it is left out.
- If bm = bn then m = n: the one-to-one property that lets you solve equations with matchable bases.
Section 2Graphs of exponential functions

The parent graph y = bx
Every exponential graph you will ever draw is a changed copy of one basic shape, so learn that basic shape very well. For y = bx with b > 0 and b ≠ 1:
- It always passes through (0, 1), because b0 = 1 no matter what number b is.
- It always passes through (1, b), because any number to the first power is just that number, so b1 = b.
- The domain is all real numbers, (−∞, ∞): you may raise a positive base to any power you like.
- The range is (0, ∞), because the output is always positive and never zero.
- The line y = 0 (the x-axis) is a horizontal asymptote, because the curve gets as close to it as you like but never touches it. So there is no x-intercept.
Why can the output never be zero? For negative x, bx means a reciprocal, so 2−10 = (1)/(210) = (1)/(1024), and 2−100 = (1)/(2100), which is an amazingly small but still positive number. You can shrink a positive number forever without ever reaching zero, and that is exactly what an asymptote is.
Growth versus decay, and the reflection that connects them
If b > 1 the graph rises left-to-right: as x → ∞ the output blows up, and as x → −∞ it flattens toward the asymptote. If 0 < b < 1 the mirror image happens: the graph falls left-to-right, flattening toward the asymptote on the right and rocketing up on the left.
These two cases are not really separate. Watch:
((1)/(2))x = ((2)−1)x = 2−x
So a decay curve is just a growth curve flipped across the y-axis. Halving again and again and doubling backward are the same motion seen from opposite ends.
| Feature | y = 2x (growth) | y = ((1)/(2))x (decay) |
|---|---|---|
| Value at x = −2 | (1)/(4) = 0.25 | 4 |
| Value at x = 0 | 1 | 1 |
| Value at x = 2 | 4 | (1)/(4) = 0.25 |
| Direction | Rises to the right | Falls to the right |
| Asymptote | y = 0 (approached on the left) | y = 0 (approached on the right) |
| Domain / Range | (−∞, ∞) / (0, ∞) | (−∞, ∞) / (0, ∞) |
Transformations: moving the whole picture
The general exponential, after it has been moved and stretched, is
g(x) = a·bx−h + k
and each letter does one job. The one that trips people up is k, so say this out loud: only the up and down shift moves the asymptote. Stretching does not move it, and shifting sideways does not move it. Only adding or subtracting a number at the end does.
| Change | What happens to the graph | New asymptote |
|---|---|---|
| bx + k | Shifts up k units (down if k < 0) | y = k |
| bx−h | Shifts right h units (left if h < 0) | y = 0 (unchanged) |
| a·bx, a > 1 | Vertical stretch by a factor of a | y = 0 (unchanged) |
| a·bx, 0 < a < 1 | Vertical compression | y = 0 (unchanged) |
| −bx | Reflection across the x-axis; range becomes (−∞, 0) | y = 0 (unchanged) |
| b−x | Reflection across the y-axis; growth becomes decay | y = 0 (unchanged) |
Worked example 4: a full analysis. Describe and graph g(x) = 3·2x+1 − 5.
Step 1: name the pieces. Rewrite the exponent to match the pattern x − h. Since x + 1 = x − (−1), we have h = −1. The other pieces are a = 3, b = 2, and k = −5.
Step 2: apply the changes (transformations) in order, starting from y = 2x:
- Shift it left 1, because h = −1 and an inside change works in reverse: y = 2x+1.
- Stretch it up and down by a factor of 3: y = 3·2x+1.
- Shift it down 5, because k = −5 is added at the end: y = 3·2x+1 − 5.
Step 3: state the asymptote, the domain, and the range. The vertical shift is −5, so the flat asymptote is y = −5. Since a = 3 is positive, the curve sits above that line. The domain is (−∞, ∞), and the range is (−5, ∞).
Step 4: plot three honest points, working each one out by hand.
- x = −1: g(−1) = 3·2−1+1 − 5 = 3·20 − 5 = 3·1 − 5 = 3 − 5 = −2. Point (−1, −2).
- x = 0: g(0) = 3·20+1 − 5 = 3·2 − 5 = 6 − 5 = 1. Point (0, 1): this is the y-intercept.
- x = 1: g(1) = 3·21+1 − 5 = 3·4 − 5 = 12 − 5 = 7. Point (1, 7).
Step 5: check the far left. As x → −∞, 2x+1 → 0, so g(x) → 3·0 − 5 = −5. The curve flattens onto y = −5 from above, just as predicted. Note that this graph does cross the x-axis somewhere between x = −1 and x = 0. Setting 3·2x+1 − 5 = 0 gives 2x+1 = (5)/(3), and since (5)/(3) is not a power of 2, you would need a logarithm to finish. Shifting an exponential up or down is exactly what creates an x-intercept where the parent graph had none.
- The parent graph y = bx passes through (0, 1) and (1, b). It has domain (−∞, ∞), range (0, ∞), and asymptote y = 0.
- b > 1 rises to the right, and 0 < b < 1 falls to the right. Also, ((1)/(b))x = b−x, which is a flip across the y-axis.
- In g(x) = a·bx−h + k, only k moves the asymptote, to y = k. The range becomes (k, ∞) if a > 0, and (−∞, k) if a < 0.
- A parent exponential graph has no x-intercept, but a shift up or down can create one.
Section 3The number e

Where e comes from
Here is an honest, real question that makes e appear all by itself. Put $1 in an account that pays 100% interest for one year. If the interest is paid once at the end, you finish with $2. But what if it is paid in n equal parts during the year, with each part being (1)/(n) of the rate, and with each payment then earning interest itself? Your balance after one year is
(1 + (1)/(n))n
Turn n up and watch what happens. Splitting the year into smaller pieces really does earn you more, but not without limit.
| Installments n | Meaning | (1 + 1/n)n |
|---|---|---|
| 1 | Once a year | 2.00000000 |
| 2 | Twice a year | 2.25000000 |
| 4 | Quarterly | 2.44140625 |
| 12 | Monthly | 2.61303529 |
| 365 | Daily | 2.71456748 |
| 8,760 | Hourly | 2.71812669 |
| 1,000,000 | Practically continuous | 2.71828047 |
The values climb, then stall, then converge on a specific irrational number. We call it e:
e ≈ 2.718281828459045…
Like π, e is irrational, so its decimals never end and never repeat, and like π, it is a constant, not a variable. For estimates by hand, e ≈ 2.718 is plenty. On your calculator, use the special ex key instead of typing 2.718 and rounding too early.
Sanity check on the n = 2 and n = 4 rows: for n = 2, (1 + (1)/(2))2 = (1.5)2 = 1.5·1.5 = 2.25. For n = 4, (1 + (1)/(4))4 = (1.25)4; step it out: 1.252 = 1.5625, then 1.56252 = 2.44140625. The table is doing arithmetic you can verify, not magic.
The natural exponential function
The function f(x) = ex is called the natural exponential function. Everything you learned in Section 2 still applies, because e is simply a base with e > 1. The graph passes through (0, 1) and (1, e) ≈ (1, 2.718), and it has domain (−∞, ∞), range (0, ∞), and asymptote y = 0. Since 2 < e < 3, its graph lies snugly between y = 2x and y = 3x.
A few values worth knowing by feel: e0 = 1, e1 ≈ 2.71828, e−1 = (1)/(e) ≈ 0.36788, and e0.5 = √e ≈ 1.64872.
Continuous growth: A = A0ekt
Because e comes out of "compounding forever, without a break," it is the natural base for anything that changes smoothly and steadily instead of in separate jumps. The standard model is
A(t) = A0 ekt
where A0 is the amount at time t = 0 (check it: A(0) = A0e0 = A0·1 = A0), and k is the continuous or relative growth rate. If k > 0, the amount grows, and if k < 0, it shrinks (decays).
Worked example 5: continuous growth. An investment of $2,500 grows continuously, without a break, at k = 0.06; find its value after 10 years.
Step 1: write the model using the starting amount and the rate: A(t) = 2500e0.06t.
Step 2: put in the time, t = 10. A(10) = 2500e0.06(10).
Step 3: simplify the exponent first, before you touch the e. Since 0.06 × 10 = 0.6, we get A(10) = 2500e0.6.
Step 4: find the value of the exponential part with the ex key: e0.6 ≈ 1.8221188.
Step 5: multiply by the starting amount. 2500 × 1.8221188 = 4555.297, so A(10) ≈ $4,555.30.
Step 6: does it make sense? The money grew by a factor of about 1.82 in 10 years, which is not quite double, and that is about right for a rate of 6%. Good.
Worked example 6: continuous decay. A sample starts at 500 units and shrinks continuously with k = −0.12 per year. How much is left after 5 years?
Step 1. Write the model with the starting amount and the negative rate: N(t) = 500e−0.12t.
Step 2. Put in t = 5 and simplify the exponent: N(5) = 500e−0.12(5) = 500e−0.6.
Step 3. A negative exponent means a reciprocal, so e−0.6 = (1)/(e0.6) = (1)/(1.8221188) ≈ 0.5488116.
Step 4. Multiply by the starting amount: 500 × 0.5488116 = 274.4058, so about 274.41 units are left.
Step 5: check that it makes sense. A negative k gave an answer smaller than the starting 500, and the answer stayed positive. Both of those are exactly what the model must do.
- e is the number that (1 + 1/n)n approaches as n grows without bound: e ≈ 2.71828.
- f(x) = ex is the natural exponential function. It is an ordinary growth curve, since e > 1.
- A(t) = A0ekt models smooth, nonstop (continuous) change. When k > 0 it grows, when k < 0 it decays, and A0 is always the amount at t = 0.
- Simplify the exponent completely before you find the value, and round only at the very end.
Section 4Growth and decay models

Turning a percent into a base
Most real problems hand you a percent per period instead of a base. Changing one into the other is the whole skill, and it takes just one line:
A(t) = A0(1 + r)t
where r is the rate per period written as a decimal. If the amount grows 3% per year, then r = +0.03, and the base is 1 + 0.03 = 1.03, which is called the growth factor. If it shrinks 15% per year, then r = −0.15, and the base is 1 − 0.15 = 0.85, which is called the decay factor. Notice that the base is 1 plus the rate, not the rate alone, because multiplying by 0.03 would throw away 97% of the amount, and that is not what "grew 3%" means.
| Situation | Rate r | Base (1 + r) | Model |
|---|---|---|---|
| Grows 3% per year | +0.03 | 1.03 | A0(1.03)t |
| Grows 7.5% per year | +0.075 | 1.075 | A0(1.075)t |
| Falls 15% per year | −0.15 | 0.85 | A0(0.85)t |
| Falls 40% per year | −0.40 | 0.60 | A0(0.60)t |
| Doubles every d periods | - | 2 | A0·2t/d |
| Halves every h periods (half-life) | - | (1)/(2) | A0·((1)/(2))t/h |
Worked example 7: population growth. A town of 12,000 people grows by 3% per year. Predict how many people will live there in 20 years.
Step 1: name the pieces. The starting amount is A0 = 12,000, the rate is r = 3% = 0.03, and the time is t = 20 years.
Step 2: build the base by adding 1 to the rate: 1 + r = 1 + 0.03 = 1.03.
Step 3: write the model with the starting amount in front: P(t) = 12000(1.03)t.
Step 4: put in the time, t = 20: P(20) = 12000(1.03)20.
Step 5: evaluate the power. (1.03)20 ≈ 1.8061112. (If you want to see it built by hand: 1.032 = 1.0609, 1.034 = 1.06092 = 1.12550881, 1.0310 ≈ 1.3439164, and 1.0320 = (1.0310)2 ≈ 1.8061112.)
Step 6: multiply by the starting amount. 12000 × 1.8061112 = 21673.33, so there will be about 21,673 people.
Step 7: explain the result. Since people come in whole numbers, we round to the nearest person. Note that 3% per year for 20 years grew the town by about 81%, not 60%, because each year's 3% is taken from a larger base than the year before.
Doubling time and half-life
Sometimes you are told how long the amount takes to double or to halve, and no percent appears at all. Those cases have their own clean forms, which count the doublings or the halvings for you.
Doubling time d: A(t) = A0·2t/d. The exponent t/d really does count "how many doublings have happened by time t."
Half life h: A(t) = A0·((1)/(2))t/h. It is the same idea, counting halvings. A half life is the time it takes for exactly half of whatever is left to disappear. Most important, it is always the same length, no matter how much is left.
Worked example 8: doubling time. A culture of bacteria starts with 400 cells and doubles every 3 hours. How many cells are there after 12 hours?
Step 1. Name the pieces: A0 = 400, d = 3 hours, and t = 12 hours.
Step 2: write the model with the starting count and the doubling time: A(t) = 400·2t/3.
Step 3: find the exponent. t/d = 12/3 = 4, so four doublings have happened.
Step 4: find the power. 24 = 2·2·2·2 = 16.
Step 5: multiply by the starting count: 400 × 16 = 6,400 cells.
Step 6: check by hand, doubling once for every 3 hours: 400 → 800 (3 h) → 1,600 (6 h) → 3,200 (9 h) → 6,400 (12 h). ✓
Worked example 9: half life, including a number of halvings that is not whole. An isotope (a form of an element) has a half life of 8 days. A 200 mg sample is prepared. (a) How much is left after 24 days? (b) How much is left after 20 days?
(a) Step 1. Write the model with the starting amount and the half life: A(t) = 200·((1)/(2))t/8.
Step 2. At t = 24, the exponent is t/h = 24/8 = 3, so three half lives have passed.
Step 3. Find the power: ((1)/(2))3 = (1)/(8).
Step 4. Multiply by the starting amount: 200 × (1)/(8) = (200)/(8) = 25 mg. Confirm by halving: 200 → 100 → 50 → 25. ✓
(b) Step 1. At t = 20, the exponent is t/h = 20/8 = 2.5. A number of half lives that is not whole is perfectly fine, because the formula does not need whole ones.
Step 2. Rewrite the power: ((1)/(2))2.5 = (1)/(22.5); now 22.5 = 22·20.5 = 4·√2 ≈ 4 × 1.4142136 = 5.6568542.
Step 3. Flip it over: (1)/(5.6568542) ≈ 0.1767767.
Step 4. Multiply by the starting amount: 200 × 0.1767767 = 35.35534, so about 35.36 mg is left.
Step 5: is it believable? At 16 days (two half lives), we would have 50 mg, and at 24 days (three), we would have 25 mg. Our answer for 20 days, 35.36 mg, sits between them, close to the middle. ✓
Worked example 10: loss of value (depreciation). A $28,000 car loses 15% of its value each year; what is it worth after 5 years?
Step 1. Name the pieces: A0 = 28,000 and r = −0.15, so the base is 1 − 0.15 = 0.85.
Step 2. Write the model and put in t = 5: V(t) = 28000(0.85)t, so V(5) = 28000(0.85)5.
Step 3: build the power step by step, so you can check each piece. 0.852 = 0.7225. 0.854 = (0.7225)2 = 0.52200625. 0.855 = 0.52200625 × 0.85 = 0.4437053.
Step 4. Multiply by the starting value: 28000 × 0.4437053 = 12423.75, so the car is worth about $12,423.75.
Step 5: the trap. It is tempting to say "15% × 5 years = 75% lost, so 25% of $28,000 = $7,000." That is wrong. The correct answer, $12,423.75, is about 44% of the original value, because each year's 15% comes off a smaller and smaller amount.
- A(t) = A0(1 + r)t; the base is 1 + r, with r positive for growth and negative for decay.
- Doubling every d periods: A0·2t/d. Half-life h: A0·((1)/(2))t/h.
- A half life is the same length no matter how much of the material is left, and the exponent t/h does not have to be a whole number.
- Never multiply a percent rate by the number of periods, because exponential change builds on a base that keeps shifting.
Section 5Compound interest

The periodic formula, decoded
Compound interest is the exponential model of Section 4 with the words of finance added on:
A = P(1 + (r)/(n))nt
| Symbol | Name | What to put in |
|---|---|---|
| A | Final amount | What you are solving for (principal plus interest) |
| P | Principal | The starting deposit |
| r | Annual rate | As a decimal: 6% becomes 0.06 |
| n | Compounds per year | Annually 1, semiannually 2, quarterly 4, monthly 12, daily 365 |
| t | Time | In years (9 months = 0.75 year) |
The logic is clear once you see it. r/n is the interest rate used at each compounding, and nt is the total number of compoundings over the whole time. Interest earned early then earns interest itself, which is what makes the graph a curve and not a line.
Worked example 11: monthly compounding. Deposit $5,000 at 6% annual interest, compounded monthly, for 10 years.
Step 1: list the values. The starting money is P = 5000, the rate is r = 6% = 0.06, the number of compoundings per year is n = 12, and the time is t = 10 years.
Step 2: work out the rate for each period. (r)/(n) = (0.06)/(12) = 0.005, so each month earns 0.5%.
Step 3: work out the base by adding 1 to that rate: 1 + 0.005 = 1.005.
Step 4: work out the exponent, the total number of times interest is added: nt = 12 × 10 = 120 compoundings.
Step 5: put it together. A = 5000(1.005)120.
Step 6: find the value of the power with a calculator: (1.005)120 ≈ 1.8193967.
Step 7: multiply by the starting money. 5000 × 1.8193967 = 9096.9835, so A ≈ $9,096.98.
Step 8: find the interest earned by subtracting the starting money. 9096.98 − 5000 = $4,096.98 in interest. (Simple interest, which never earns interest on interest, would have paid only 5000 × 0.06 × 10 = $3,000.)
The continuous formula
Section 3 showed that squeezing more and more compoundings into a year pushes (1 + 1/n)n toward e. Doing the same thing to the compound interest formula gives the formula for continuous compounding:
A = P ert
with the same P, decimal r, and t in years, and no n at all, because "continuously" means the compounding never stops long enough to be counted.
Worked example 12: continuous compounding, same account. Put $5,000 at 6%, compounded continuously, for 10 years.
Step 1. Name the pieces: P = 5000, r = 0.06, and t = 10.
Step 2: work out the exponent first. rt = 0.06 × 10 = 0.6.
Step 3. Write the formula with those numbers: A = 5000e0.6.
Step 4. Use the ex key: e0.6 ≈ 1.8221188.
Step 5. Multiply: 5000 × 1.8221188 = 9110.594, so A ≈ $9,110.59.
Step 6: compare. Continuous compounding beat monthly compounding by 9110.59 − 9096.98 = $13.61 over ten years. That is real but small, which is the honest lesson of the next table.
| Compounding | n | Setup | Balance after 10 years |
|---|---|---|---|
| Annually | 1 | 5000(1.06)10 | $8,954.24 |
| Semiannually | 2 | 5000(1.03)20 | $9,030.56 |
| Quarterly | 4 | 5000(1.015)40 | $9,070.09 |
| Monthly | 12 | 5000(1.005)120 | $9,096.98 |
| Daily | 365 | 5000(1 + 0.06/365)3650 | $9,110.14 |
| Continuously | - | 5000e0.6 | $9,110.59 |
Every extra compounding helps, but by less and less each time. Going from yearly to monthly bought $142.74, while going from daily to continuous bought 45 cents. Continuous compounding is the ceiling that all the others approach and none can go past, and it is the money side of the limit that defines e.
Effective annual yield
Two accounts that both advertise "6%" are not the same if one compounds once a year and the other compounds monthly. The effective annual yield (or APY) turns any compounding schedule into the single yearly rate that would give the same result after one year, so you can compare them fairly.
Worked example 13: effective yield. Find the effective annual yield of 6% compounded monthly, and of 6% compounded continuously.
Monthly, Step 1. Run the formula for one year with P = 1, so that the answer is the growth factor itself: A = 1(1 + (0.06)/(12))12(1) = (1.005)12.
Step 2. Find the value of the power with a calculator: (1.005)12 ≈ 1.0616778.
Step 3: subtract the original 1 to find just the gain. 1.0616778 − 1 = 0.0616778.
Step 4: turn it into a percent by multiplying by 100: 0.0616778 × 100 ≈ 6.17%.
Continuously, Step 1. Run the continuous formula for one year with P = 1: A = 1·e0.06(1) = e0.06 ≈ 1.0618365.
Step 2. Subtract the original 1 and turn it into a percent: 1.0618365 − 1 = 0.0618365 → 6.18%.
Step 3: read the result. A stated rate of 6% is really worth 6.17% when compounded monthly, and 6.18% when compounded continuously. The stated rate is not the rate you truly earn.
- Periodic: A = P(1 + (r)/(n))nt, with r as a decimal, n compoundings per year, and t in years.
- Continuous: A = Pert, with no n, because the compounding never pauses.
- Compounding more often always earns more, but the gains shrink fast, and continuous compounding is the upper limit.
- Effective annual yield = (one-year growth factor) − 1, expressed as a percent; it is how you compare accounts honestly.
The chapter in one breath
- An exponential function is f(x) = a·bx with a ≠ 0, b > 0, and b ≠ 1. The variable lives in the exponent, so each step of 1 multiplies the output by b.
- a is the initial value, since f(0) = a. b > 1 gives growth, 0 < b < 1 gives decay, and ((1)/(b))x = b−x links the two by a flip.
- The parent graph passes through (0, 1) and (1, b). It has domain (−∞, ∞), range (0, ∞), asymptote y = 0, and no x-intercept.
- In g(x) = a·bx−h + k, only k moves the asymptote: to y = k: and the range shifts with it.
- e ≈ 2.71828 is the value that (1 + 1/n)n heads toward, and A(t) = A0ekt is the model for smooth, nonstop change.
- Percent problems become exponentials through the base 1 + r. Doubling time gives A0·2t/d, and half life gives A0·((1)/(2))t/h.
- Compound interest is A = P(1 + r/n)nt for periodic compounding and A = Pert for continuous compounding. More compoundings earn more, but continuous is the ceiling.
- Percent change never adds across periods, and rounding r/n too early is the classic way to get an answer that is nearly right but really wrong.
ReferenceWords worth knowing
Here is a quick list of the words in this chapter. Skim it now, and come back to it whenever a word in a problem stops you.
- Asymptote (horizontal)
- A flat line that the graph gets closer and closer to without touching. For y = a·bx−h + k, it is y = k.
- Base
- The fixed positive number b that is raised to the variable power in f(x) = a·bx. It must have b > 0 and b ≠ 1.
- Compound interest
- Interest paid on the starting money and on interest earned before, worked out with A = P(1 + r/n)nt.
- Continuous compounding
- The limit case in which interest is added without any pause, giving A = Pert. It gives the largest balance for a given stated rate.
- Decay factor
- The base 1 − r when an amount shrinks by rate r each period. It lies strictly between 0 and 1.
- Doubling time
- The constant time d required for a growing quantity to become twice as large, giving the model A0·2t/d.
- e (Euler's number)
- The irrational constant that is about 2.718281828, defined as the value that (1 + 1/n)n heads toward as n grows without limit.
- Effective annual yield (APY)
- The single yearly rate that would give the same growth over one year as a given compounding schedule. It equals the growth factor for one year minus 1.
- Exponential decay
- Exponential change with base 0 < b < 1 (or continuous rate k < 0). The amount shrinks by the same factor each period.
- Exponential function
- A function f(x) = a·bx with a ≠ 0, b > 0, and b ≠ 1, in which the variable is in the exponent.
- Exponential growth
- Exponential change with base b > 1 (or continuous rate k > 0). The amount grows by the same factor each period.
- Growth factor
- The base 1 + r when a quantity increases by rate r each period; it is greater than 1.
- Half-life
- The steady time h it takes for exactly half of a shrinking amount to disappear, giving A0·((1)/(2))t/h. It does not depend on how much is left.
- Initial value
- The coefficient a (or A0, or P), equal to the output at x = 0, because b0 = 1.
- Natural exponential function
- The function f(x) = ex, which is the exponential function whose base is e.
- One-to-one property of exponents
- For b > 0 and b ≠ 1, if bm = bn, then m = n. This is what lets you solve equations by matching bases.
- Principal
- The starting amount P deposited or borrowed, before any interest is added.
- Range
- The set of possible outputs. For y = a·bx−h + k, it is (k, ∞) when a > 0, and (−∞, k) when a < 0.
- Relative growth rate
- The constant k in A(t) = A0ekt, which shows smooth growth (k > 0) or decay (k < 0) per unit of time.
- Transformation
- A shift, stretch, compression, or reflection applied to a parent graph to produce a related graph.
- Vertical stretch
- Multiplying all the outputs by a factor a > 1, which pulls the graph away from the x-axis. When 0 < a < 1, it squashes the graph instead.
Check yourself
Logarithmic Functions
A logarithm is not a new kind of monster; it is an exponent wearing a different hat. Every time you ask "two raised to what power gives me thirty two?" you are asking a logarithm question. You have been doing this since you first learned exponents, just without the words for it. This chapter gives you those words and shows you how to move a statement back and forth between exponential form and logarithmic form. It teaches you to read the graph of a logarithm, and it hands you three properties that let you take a complicated logarithm apart or squeeze several logarithms into one. Go slowly, say the definition out loud a few times, and the rest follows.
By the end of this chapter you can
- State what a logarithm is, as the inverse (the undoing) of an exponential function.
- Change easily back and forth between exponential form and logarithmic form.
- Name the restrictions on the base and the argument, and explain why they exist.
- Evaluate common logs, natural logs, and many other logarithms by inspection.
- Find the domain, the vertical asymptote, and the key points of the graph of a logarithm, including shifted and flipped versions.
- Apply the product, quotient, and power rules, and avoid the three classic misuses of them.
- Expand a single logarithm into a sum and difference, and condense a sum and difference back into one logarithm.
- Use the change of base formula to find a logarithm of any base on a calculator, and check solutions for extraneous answers (answers that do not really work).
Section 1What a logarithm is

Undoing an exponential
Start with a question you already know how to answer: 2 raised to what power gives 8? You said 3 right away, because 23 = 8, and you just found the value of a logarithm. The only thing missing was a symbol for "the power you raise 2 to," and that symbol is log.
Here is the whole definition, and it is worth learning word for word:
logb(x) = y means exactly the same thing as by = x.
Read the left side out loud as "log base b of x equals y." Read what it means as "y is the exponent you put on b to get x." If you can only remember one sentence from this chapter, remember this one: a logarithm is an exponent. The answer to any log question is always an exponent, and that is why logs behave the way they do for the rest of the chapter.
Why do we need this at all? An exponential function like f(x) = 2x is one to one, which means every input gives a different output. So it has an inverse function, a function that undoes it, and that inverse is the logarithm. Exponentials answer "I have the exponent, so what is the result?" Logarithms answer "I have the result, so what was the exponent?" Each one undoes the other:
logb(bx) = x and blogb(x) = x
Converting between the two forms
Almost every logarithm problem in this chapter starts with a change of form, so make it automatic. Here is the trick that works for most people: the base stays the base, and the logarithm's answer becomes the exponent. Draw a little loop from the base, up over the equals sign, to the answer.
| Exponential form | Logarithmic form | Said out loud |
|---|---|---|
| 25 = 32 | log2(32) = 5 | 5 is the power of 2 that makes 32 |
| 34 = 81 | log3(81) = 4 | 4 is the power of 3 that makes 81 |
| 10−2 = 0.01 | log10(0.01) = −2 | −2 is the power of 10 that makes 0.01 |
| 70 = 1 | log7(1) = 0 | 0 is the power of 7 that makes 1 |
| 251/2 = 5 | log25(5) = ½ | ½ is the power of 25 that makes 5 |
The rules about what is allowed
Two limits come with the definition, and neither one is random.
First, the base must have b > 0 and b ≠ 1. A negative base breaks down as soon as you use fraction exponents (what would (−4)1/2 be?). A base of 1 is useless, because 1y = 1 for every y, so the question "1 to what power gives 8?" has no answer at all.
Second, the argument, the thing inside the log, must have x > 0; this one trips people up until they see why. Since b is positive, by is always positive, no matter what y is. A positive number raised to any power, whether positive, negative, zero, or a fraction, can never land on zero or on a negative number. So there is no exponent that makes 2y equal −8, and log2(−8) is simply undefined. Keep that in your pocket, because in Section 3 it becomes the rule that sets the domain of every logarithm function.
A fully worked example
Solve log5(2x − 3) = 2.
Step 1: Change to exponential form. The base is 5 and the answer is 2, so 2 becomes the exponent on 5:
log5(2x − 3) = 2 becomes 52 = 2x − 3
Step 2: Do the arithmetic on the left side. Since 52 = 5 · 5 = 25, the equation becomes
25 = 2x − 3
Step 3: Add 3 to both sides, so that the 2x term is left alone on the right.
25 + 3 = 2x − 3 + 3 → 28 = 2x
Step 4: Divide both sides by 2, which undoes the 2 that is multiplying x.
28 / 2 = 2x / 2 → 14 = x
Step 5: Check it, including the domain. Put x = 14 back into the original argument: 2(14) − 3 = 28 − 3 = 25. Is 25 > 0? Yes, so the argument is legal. And log5(25) = 2, because 52 = 25. The left side equals the right side, so x = 14 is the solution.
- logb(x) = y means by = x: the log is the exponent.
- The logarithm is the inverse of the exponential: logb(bx) = x and blogb(x) = x.
- The base must be positive and not 1; the argument must be positive.
- To solve a simple log equation, change to exponential form first, then solve as usual, and check that the argument is positive.
Section 2Evaluating logarithms

Two bases get their own shorthand
Any positive base other than 1 is allowed, but two bases show up so often that people in math stopped writing them.
The common logarithm has base 10, and we write it with no base at all: log(x) means log10(x). It shows up wherever we measure things in powers of ten: decibels, pH, the Richter scale, orders of magnitude.
The natural logarithm has base e, where e ≈ 2.718281828; we write it ln(x), which means loge(x). The number e looks strange the first time you meet it, but it is just a fixed number, like π. It is irrational, its decimals never repeat, and it is very useful because it is the natural base of anything that compounds continuously, without a break. It is the factor that an amount growing continuously at 100% per unit of time is multiplied by in one unit of time. On your calculator, LOG is base 10 and LN is base e. They are different buttons, and they give different answers, and mixing them up is the most common calculator error in this chapter.
Evaluating by inspection
Most logarithms you meet in a homework set are meant to be done in your head. The method never changes: set the log equal to y, change to exponential form, and rewrite both sides with the same base.
Four shortcuts come straight out of the definition, and they are worth knowing very well:
| Shortcut | Why it is true | Example |
|---|---|---|
| logb(1) = 0 | Because b0 = 1 for every legal base | log9(1) = 0, ln(1) = 0 |
| logb(b) = 1 | Because b1 = b | log(10) = 1, ln(e) = 1 |
| logb(bk) = k | The log undoes the exponential | ln(e7) = 7, log(10−3) = −3 |
| blogb(x) = x | The exponential undoes the log | 10log(47) = 47, eln(6) = 6 |
Two more patterns are worth practicing, because they look harder than they are. A reciprocal argument (a flipped number, like 1/8) gives a negative answer: log2(1/8) = −3, because 2−3 = 1/(23) = 1/8. And a root gives a fraction answer: log9(3) = ½, because 91/2 = √9 = 3.
A fully worked example
Find log8(4) without a calculator.
This one has no obvious answer. 8 to the first power is too big, and 8 to the zero power is too small, so the answer must be a fraction between 0 and 1. Here is the full method.
Step 1: Name the answer. Give the unknown exponent a letter, and let y = log8(4).
Step 2: Change to exponential form.
8y = 4
Step 3: Rewrite both sides with a common base. Both 8 and 4 are powers of 2: 8 = 23 and 4 = 22. So
(23)y = 22
Step 4: Use the power-of-a-power rule (multiply the exponents):
23y = 22
Step 5: Match the exponents. If the bases are equal and the expressions are equal, the exponents must be equal:
3y = 2
Step 6: Solve. Divide both sides by 3, which leaves y by itself:
y = (2)/(3)
Step 7: Check. Does 82/3 really equal 4? A fractional exponent means "root on the bottom, power on the top": 82/3 = (3√8)2 = (2)2 = 4. It checks. So log8(4) = 2/3, and notice it landed between 0 and 1 exactly as we predicted.
- log(x) with no base written means base 10 (common log); ln(x) means base e (natural log), e ≈ 2.718.
- logb(1) = 0, logb(b) = 1, logb(bk) = k, and blogb(x) = x.
- To find a value just by looking, set it equal to y, change to exponential form, rewrite both sides with the same base, and match the exponents.
- Reciprocal (flipped) arguments give negative answers, and roots give fraction answers.
Section 3Graphs of logarithmic functions

The shape of the parent function
Graph f(x) = log2(x) by picking handy x values. Here, handy means powers of 2, because then the logs come out clean.
| x | log2(x) | Because |
|---|---|---|
| 1/4 | −2 | 2−2 = 1/4 |
| 1/2 | −1 | 2−1 = 1/2 |
| 1 | 0 | 20 = 1 |
| 2 | 1 | 21 = 2 |
| 4 | 2 | 22 = 4 |
| 8 | 3 | 23 = 8 |
Plot those points, and a clear picture appears. The curve rises forever, but it rises more and more slowly, because to gain one more unit of height you have to double your x. On the left side, as x shrinks toward 0, the curve plunges downward without limit, hugging the y-axis but never touching it. That vertical line x = 0 is the vertical asymptote.
Every parent logarithm function y = logb(x) with b > 1 shares these features:
- Domain: x > 0, written (0, ∞): you can never feed it zero or a negative number.
- Range: all real numbers, (−∞, ∞): the output can be anything.
- Vertical asymptote: the line x = 0.
- x-intercept: the point (1, 0), because logb(1) = 0 for every base.
- Anchor point: the point (b, 1), because logb(b) = 1.
- No y-intercept, because x = 0 is not in the domain of the parent function. (Shift the graph sideways, and that can change, as the worked example below shows.)
- The function is increasing when b > 1 and decreasing when 0 < b < 1.
Compare that list to the exponential function y = bx, whose domain is all real numbers, whose range is y > 0, and whose asymptote is the flat line y = 0. Every feature is swapped, because the two graphs are mirror images across the line y = x. That is what "inverse" looks like on paper.
Transformations, and where the asymptote goes
The general form is y = a·logb(x − h) + k. Each letter does one job, and the one you must never lose track of is h, because h drags the asymptote along with it.
| Change | Effect on the graph | New asymptote | New domain |
|---|---|---|---|
| logb(x) + k | Shift up k (down if k is negative) | x = 0 (unchanged) | x > 0 |
| logb(x − h) | Shift right h (left if h is negative) | x = h | x > h |
| a·logb(x), a > 0 | Stretch vertically by a if a > 1; compress vertically by a if 0 < a < 1 (a negative a also reflects across the x-axis) | x = 0 | x > 0 |
| −logb(x) | Reflect across the x-axis (curve now falls) | x = 0 | x > 0 |
| logb(−x) | Reflect across the y-axis | x = 0 | x < 0 |
Finding the domain is always the same one-line job: set the argument greater than zero and solve. For f(x) = log(3x − 12), require 3x − 12 > 0, so 3x > 12, so x > 4. Domain: (4, ∞), and the vertical asymptote is x = 4.
Here is one warning before you do this without thinking. When the variable has a negative coefficient, solving the domain inequality makes you divide by a negative number, and dividing (or multiplying) both sides of an inequality by a negative number reverses the inequality sign. For f(x) = log(8 − 2x), require 8 − 2x > 0, so −2x > −8, and dividing by −2 flips the sign: x < 4. The domain is (−∞, 4), with the asymptote still at x = 4, but now the curve lives to the left of it. Test a point to be sure: x = 0 gives log(8), which is defined, and 0 is indeed less than 4. ✓
A fully worked example
For f(x) = log2(x + 3) − 1, find the domain, the vertical asymptote, the x-intercept, and two more points to plot.
Step 1: Domain. The argument inside the log must be positive, so we need:
x + 3 > 0 → x > −3. Domain: (−3, ∞).
Step 2: Vertical asymptote. The asymptote sits where the argument equals zero: x + 3 = 0, so x = −3. (Notice the parent asymptote x = 0 moved left 3, matching the "+3" inside.)
Step 3: x-intercept. The graph crosses the x-axis where the output is zero, so set f(x) = 0 and solve:
log2(x + 3) − 1 = 0
Add 1 to both sides: log2(x + 3) = 1
Change to exponential form: x + 3 = 21 = 2
Subtract 3 from both sides: x = 2 − 3 = −1
So the x-intercept is (−1, 0). Check: f(−1) = log2(−1 + 3) − 1 = log2(2) − 1 = 1 − 1 = 0. ✓
Step 4: Two more points. Choose x values that make x + 3 a power of 2, so that the logs come out as whole numbers.
Let x = −2: f(−2) = log2(−2 + 3) − 1 = log2(1) − 1 = 0 − 1 = −1. Point: (−2, −1).
Let x = 1: f(1) = log2(1 + 3) − 1 = log2(4) − 1 = 2 − 1 = 1. Point: (1, 1).
Step 5: Put it together. Draw the dashed vertical line x = −3, and plot (−2, −1), (−1, 0), and (1, 1). Then sketch a curve that dives down along the asymptote on the left and rises slowly to the right. The range is still all real numbers, because a shift up or down never changes that.
Here is one bonus feature worth noticing. Because the shift moved the asymptote to x = −3, the value x = 0 is now inside the domain, so this graph does have a y-intercept. Find it: f(0) = log2(0 + 3) − 1 = log2(3) − 1 ≈ 1.585 − 1 = 0.585, giving about (0, 0.585). The parent graph had no y-intercept, but a sideways shift can hand you one, so check the domain instead of reciting a rule.
- Parent graph y = logb(x): domain (0, ∞), range all reals, asymptote x = 0, passes through (1, 0) and (b, 1).
- The parent graph has no y-intercept, but a sideways shift can create one, so check whether x = 0 is in the domain. The range is never limited.
- Find the domain by setting the argument > 0; find the asymptote by setting the argument = 0.
- Sideways shifts move the asymptote, but shifts up or down, stretches, and flips do not.
Section 4Properties of logarithms

Three rules, inherited from exponents
Because a logarithm is an exponent, every exponent rule you already know has a logarithm twin. There are three, and all of them assume M > 0, N > 0, b > 0, and b ≠ 1.
| Rule | Statement | Exponent rule behind it | Numerical check |
|---|---|---|---|
| Product | logb(MN) = logb(M) + logb(N) | bm·bn = bm+n | log2(8·4) = log2(32) = 5, and 3 + 2 = 5 |
| Quotient | logb((M)/(N)) = logb(M) − logb(N) | bm/bn = bm−n | log2(32/8) = log2(4) = 2, and 5 − 3 = 2 |
| Power | logb(Mp) = p·logb(M) | (bm)p = bmp | log2(43) = log2(64) = 6, and 3·2 = 6 |
Here is where the product rule comes from, in four lines. Let m = logb(M) and n = logb(N). Changing to exponential form, M = bm and N = bn. Multiply them: MN = bm·bn = bm+n. Change that back to logarithmic form: logb(MN) = m + n = logb(M) + logb(N). The quotient and power rules are proved the same way, from the matching exponent rule.
Notice the pattern in plain English: a product inside becomes a sum outside, a quotient inside becomes a difference outside, and an exponent inside becomes a number multiplied out front. That one sentence is the engine of Section 5.
Three ways to break the rules
These three errors cause most of the lost points on logarithm tests. Read them carefully once now, and you will spot them later.
Error 1: logb(M + N) is not logb(M) + logb(N). The product rule is about multiplying inside, not adding. Test it: log(5) + log(5) = log(25) by the product rule, but log(5 + 5) = log(10) = 1, and log(25) ≈ 1.3979. Those are different numbers, so the two expressions are truly not equal. A sum inside a logarithm cannot be broken apart at all.
Error 2: (logb(M))/(logb(N)) is not logb(M/N), and it is not logb(M) − logb(N) either. The quotient rule needs the dividing to happen inside one logarithm, but here the dividing happens outside, between two finished logarithms. Check with base 2, M = 8, and N = 2. The quotient is (log2(8))/(log2(2)) = 3/1 = 3, while log2(8/2) = log2(4) = 2, so they are not equal. Dividing two separate logarithms is a different operation entirely. In fact, that quotient is the change of base formula from Section 5, and it equals logN(M).
Error 3: (logb(M))2 is not 2·logb(M). The power rule only applies when the exponent is inside, on the argument. logb(M2) = 2·logb(M), but squaring the whole logarithm is something else. Check with M = 100, base 10: log(100) = 2, so (log(100))2 = 4, while log(1002) = log(10000) = 4 as well: here they happen to match, which is exactly why you cannot trust one example. Try M = 1000: (log(1000))2 = 32 = 9, but log(10002) = log(1000000) = 6. Not equal.
A fully worked example
Given log(2) ≈ 0.3010 and log(3) ≈ 0.4771, find log(72) without a calculator.
Step 1: Factor 72 into the numbers you were given, which are powers of 2 and powers of 3.
72 = 8 · 9 = 23 · 32
Step 2: Rewrite the logarithm using that factored form.
log(72) = log(23 · 32)
Step 3: Use the product rule (multiplying inside becomes adding outside):
log(23 · 32) = log(23) + log(32)
Step 4: Apply the power rule twice (exponents come out front):
= 3·log(2) + 2·log(3)
Step 5: Put in the values you were given for log(2) and log(3).
= 3(0.3010) + 2(0.4771)
Step 6: Multiply each value by the number in front of it.
3(0.3010) = 0.9030 and 2(0.4771) = 0.9542
Step 7: Add the two results together.
0.9030 + 0.9542 = 1.8572
So log(72) ≈ 1.8572.
Step 8: Check that it makes sense. Since 101 = 10 and 102 = 100, and 72 sits between 10 and 100, the answer must sit between 1 and 2. It does. (A calculator gives 1.85733, so we are right to three decimal places, and the small gap in the fourth place comes only from rounding in the values we were given.)
- Product: logb(MN) = logb(M) + logb(N).
- Quotient: logb(M/N) = logb(M) − logb(N).
- Power: logb(Mp) = p·logb(M).
- All three require M > 0 and N > 0; a sum inside a logarithm can never be split apart.
Section 5Expanding and condensing

Expanding: taking one logarithm apart
Expanding means rewriting a single complicated logarithm as a sum and difference of simpler ones, with no products, quotients, or exponents left inside. Work from the outside in, and follow this order every time:
- Apply the quotient rule first, to split the big fraction into a difference.
- Use the product rule to split any multiplying that is left into sums.
- Apply the power rule to bring every exponent (including roots written as fractional exponents) out front.
- Evaluate any logarithm that comes out to a plain number.
Fully worked: expand log3((9x4)/(√y)), where x > 0 and y > 0.
Step 1: Use the quotient rule. One fraction inside becomes a subtraction outside:
log3((9x4)/(√y)) = log3(9x4) − log3(√y)
Step 2: Product rule on the first piece, since 9x4 is 9 times x4:
= log3(9) + log3(x4) − log3(√y)
Step 3: Rewrite the radical as a fractional exponent, because the power rule cannot see a radical sign:
= log3(9) + log3(x4) − log3(y1/2)
Step 4: Use the power rule on both terms that have a variable, so the exponents come out front:
= log3(9) + 4·log3(x) − ½·log3(y)
Step 5: Evaluate what you can. log3(9) = 2, because 32 = 9. Final answer:
2 + 4·log3(x) − ½·log3(y)
Watch the subtraction sign in Step 1. If the denominator had contained a product, say √y·z, then both resulting pieces would be subtracted, because the whole denominator is what gets taken away.
Condensing: squeezing several logarithms into one
Condensing runs the same machine backward; the goal is a single logarithm with a coefficient (number in front) of 1; the order reverses:
- Use the power rule first, moving every number in front up into an exponent. Nothing else can go on until every log has a coefficient of 1.
- Use the product rule to combine every term being added into one logarithm of a product.
- Use the quotient rule to move every term being subtracted into the denominator.
Fully worked: condense 3·log2(x) + ½·log2(y) − 2·log2(z).
Step 1: Use the power rule on all three terms. Each number in front becomes an exponent:
= log2(x3) + log2(y1/2) − log2(z2)
Step 2: Use the product rule on the two terms being added. Adding outside becomes multiplying inside:
= log2(x3 · y1/2) − log2(z2)
Step 3: Use the quotient rule. Subtracting outside becomes dividing inside:
= log2((x3 · y1/2)/(z2))
Step 4: Write the fractional exponent as a radical if you prefer:
= log2((x3√y)/(z2))
Step 5: Check by expanding it back. The quotient rule gives log2(x3y1/2) − log2(z2). The product rule gives log2(x3) + log2(y1/2) − log2(z2). The power rule gives 3·log2(x) + ½·log2(y) − 2·log2(z). We are back where we started. ✓
| Direction | Goal | Order of rules | Signal in the problem |
|---|---|---|---|
| Expanding | Many simple logs | Quotient → Product → Power | "Write as a sum and/or difference" |
| Condensing | One single log | Power → Product → Quotient | "Write as a single logarithm" |
Change of base
Your calculator has only two logarithm buttons, base 10 and base e, so what do you do with log5(89)? You change the base:
logb(M) = (logc(M))/(logc(b)) for any legal new base c
This is a fraction, so it is fair to ask when the denominator could be zero. It never can, because logc(b) = 0 would force b = 1, and b = 1 was already ruled out as a base back in Section 1. Both bases also have to stay positive, and M > 0 as always. So the formula works for every logarithm you are allowed to write in the first place.
In practice, c is 10 or e, which gives the two forms you will really type: logb(M) = (log(M))/(log(b)) or logb(M) = (ln(M))/(ln(b)). Both give the same number; here is a memory trick: the old base goes on the bottom.
Fully worked: evaluate log5(89) to four decimal places.
Step 1: Estimate first. 52 = 25 and 53 = 125. Since 89 sits between 25 and 125, the answer must sit between 2 and 3.
Step 2: Apply change of base with natural logs (old base 5 goes on the bottom):
log5(89) = (ln(89))/(ln(5))
Step 3: Find the value of each piece with the LN key on your calculator.
ln(89) ≈ 4.48864 and ln(5) ≈ 1.60944
Step 4: Divide the top by the bottom.
4.48864 / 1.60944 ≈ 2.78895
Step 5: Round and check. log5(89) ≈ 2.7889, which lands between 2 and 3 exactly as predicted. Verify by reversing it: 52.7889 ≈ 89. ✓
One more use: solving equations, and checking for extraneous solutions
Condensing is the standard first move when an equation has two logarithms on one side. But logarithms have a domain limit, so the algebra can hand you an answer that the original equation cannot accept. Those are extraneous solutions (fake answers), and you must check for them every single time.
Fully worked: solve log5(x) + log5(x − 4) = 1.
Step 1: Note the domain up front. We need x > 0 and x − 4 > 0, so x > 4. Any answer at or below 4 will have to be thrown out.
Step 2: Condense the left side into one logarithm with the product rule:
log5(x(x − 4)) = 1
Step 3: Change to exponential form.
x(x − 4) = 51 = 5
Step 4: Distribute the x, and then set the equation equal to zero so that you can factor it.
x2 − 4x = 5 → x2 − 4x − 5 = 0
Step 5: Factor. We need two numbers that multiply to −5 and add to −4: those are −5 and +1.
(x − 5)(x + 1) = 0 → x = 5 or x = −1
Step 6: Test both answers against the domain. x = −1 fails, because log5(−1) is undefined, so it is extraneous and gets thrown out. x = 5 passes, since 5 > 4.
Step 7: Check the answer that is left in the original equation.
log5(5) + log5(5 − 4) = log5(5) + log5(1) = 1 + 0 = 1 ✓
The solution is x = 5, and only x = 5.
- Expand with quotient → product → power; condense with power → product → quotient.
- Rewrite radicals as fractional exponents before using the power rule.
- Change of base: logb(M) = (ln(M))/(ln(b)) = (log(M))/(log(b)): the old base goes on the bottom.
- Always check candidate solutions in the original equation and discard any that make an argument zero or negative.
The chapter in one breath
- A logarithm is an exponent: logb(x) = y means by = x, and you can swap one form for the other.
- The logarithm is the inverse of the exponential, so logb(bx) = x and blogb(x) = x.
- The base must be positive and not 1. The argument must be positive, because a positive base raised to any power is positive.
- log means base 10, and ln means base e. You can find most other logarithms by rewriting both sides with the same base.
- The parent graph has domain (0, ∞), range all real numbers, and a vertical asymptote at x = 0, and it passes through (1, 0) and (b, 1). Only a sideways shift moves that asymptote.
- Three properties do all the work: the product rule makes a sum, the quotient rule makes a difference, and the power rule brings a number out front.
- A sum inside a logarithm cannot be split. A ratio of two logarithms is not the log of a quotient. Squaring a log is not the same as the power rule.
- Change of base puts the old base on the bottom, and every logarithm equation ends with a check for extraneous solutions.
ReferenceWords worth knowing
Here is a quick list of the terms in this chapter. Skim it now, or come back whenever a word trips you up.
- Argument
- The quantity inside the logarithm. It must always be strictly greater than zero.
- Asymptote, vertical
- A vertical line the graph approaches without ever reaching. For y = logb(x − h) it is the line x = h.
- Base
- The number being raised to a power. In logb(x) it is b, and it must satisfy b > 0 and b ≠ 1.
- Change-of-base formula
- logb(M) = (logc(M))/(logc(b)). It lets a calculator find a logarithm of any base.
- Common logarithm
- A logarithm with base 10, written log(x) with the base left off.
- Condensing
- Combining a sum and difference of logarithms into one logarithm with a coefficient of 1.
- Domain
- The set of allowed inputs. For a logarithm function, it is every x that makes the argument positive.
- e
- The irrational constant that is about 2.718281828, the base of the natural logarithm.
- Expanding
- Rewriting one logarithm as a sum and difference of simpler logarithms with no products, quotients, or exponents inside.
- Exponential form
- The statement by = x, which means the same as the logarithmic form logb(x) = y.
- Extraneous solution
- A value that comes from correct algebra but fails in the original equation, usually because it makes a logarithm's argument zero or negative.
- Inverse function
- A function that undoes another. The logarithm and the exponential with the same base are inverses, and their graphs are mirror images across y = x.
- Logarithm
- The exponent to which a base must be raised to produce a given number: logb(x) = y means by = x.
- Logarithmic form
- The statement logb(x) = y, which means the same as the exponential form by = x.
- Natural logarithm
- A logarithm with base e, written ln(x).
- One-to-one function
- A function in which no two different inputs share an output. Exponential functions are one to one, which is why they have inverses.
- Power rule
- logb(Mp) = p·logb(M). An exponent inside becomes a number multiplied outside.
- Product rule
- logb(MN) = logb(M) + logb(N). Multiplying inside becomes adding outside.
- Quotient rule
- logb(M/N) = logb(M) − logb(N): division inside becomes subtraction outside.
- Range
- The set of possible outputs. For every parent logarithm function, it is all real numbers.
- x-intercept
- Where a graph crosses the x-axis. For y = logb(x) it is always (1, 0).
Check yourself
Exponential & Logarithmic Equations
Up to now, the unknown has always sat on the ground floor, where it was added, multiplied, or squared. In this chapter the unknown climbs up into the exponent, and that one move changes everything about how you solve. The good news is that there are only two real methods, and you already have both of them: make the bases match, or take a logarithm of both sides. The other half of the chapter runs the same machine in reverse, pulling x out from inside a logarithm. That job comes with one extra chore, which is checking the domain, because logarithms refuse to accept inputs that are negative or zero. By the end, you will be answering the questions people really ask in the world, such as how long until this doubles, how old is this bone, and when will the account reach the number I need.
By the end of this chapter you can
- Solve an exponential equation by rewriting both sides with a common base and setting the exponents equal.
- Get an exponential expression by itself, and then solve by taking a logarithm of both sides, using natural or common logs.
- Use the product, quotient, and power rules to condense a logarithm equation into a single logarithm.
- Change between logarithmic form and exponential form to finish a logarithm equation.
- State the domain restriction on every logarithm, and use it to spot extraneous solutions (answers that do not really work).
- Explain why condensing can create answers that the original equation never had.
- Name the excluded value of any rational expression you create, and use the sign flip rule when a domain inequality is divided by a negative.
- Solve applied problems involving doubling time, half-life, and compound interest.
- Fit an exponential or logarithm model to data, and explain what its constants mean in plain English.
Section 1Solving exponential equations

Two doors into every exponential equation
An exponential equation is any equation with the variable in an exponent, such as 2x = 32, 4x+2 = 8x−1, or 4 · 5x + 3 = 87. You cannot divide the x out of an exponent, and you cannot subtract it down. So we need a different kind of move, and there are exactly two.
Before you pick one, notice a fact that makes all of this safe. An exponential function bx (with b > 0 and b ≠ 1) never repeats a value, so each output happens at exactly one input. That property has a name, the one to one property, and it is what lets you go from bu = bv straight to u = v. It also means that a plain equation of the form bx = c has at most one answer. Be exact about what the property promises, though, because it says the exponents must be equal, not that x has only one value. If those exponents are not linear, two real solutions are possible. For example, 2x2 = 16 forces x2 = 4, so x = ±2, and both are real.
Here is one more comfort: bx is always positive. So an equation like 3x = −7 or 2x = 0 has no solution, and you can say so in one line without doing any algebra at all.
Door 1: make the bases match
If both sides can be written as powers of the same number, do it, because then the exponents must be equal, and you are back to ordinary algebra. This is the faster door, and you should always check for it first.
Fully worked example. Solve 4x+2 = 8x−1.
Step 1: find a base that both sides share. Both 4 and 8 are powers of 2, since 4 = 22 and 8 = 23. Rewrite them that way:
(22)x+2 = (23)x−1
Step 2: multiply the exponents, using the power of a power rule. On the left, 2(x + 2) = 2x + 4. On the right, 3(x − 1) = 3x − 3:
22x+4 = 23x−3
Step 3: the bases are now the same, so set the exponents equal to each other:
2x + 4 = 3x − 3
Step 4: solve. Subtract 2x from both sides to get 4 = x − 3. Then add 3 to both sides to get 7 = x. So x = 7.
Step 5: check. The left side is 47+2 = 49 = 262,144, and the right side is 87−1 = 86 = 262,144. They match. (A quicker check: 49 = 218 and 86 = 218.) ✓
Door 2: take a logarithm of both sides
Most of the time, the bases refuse to match, because 5x = 21 is never going to become a tidy power of anything. That is what logarithms are for. A logarithm is the tool that reaches into an exponent and pulls the variable down, because log(Mp) = p · log(M).
The order of the steps matters here: get the exponential part by itself first, and then take the log. Taking the log of both sides while the exponential part is still buried under a number in front or a number added on is the most common mistake in this section.
Fully worked example. Solve 4 · 5x + 3 = 87.
Step 1: get the exponential part by itself. Subtract 3 from both sides to get 4 · 5x = 84. Then divide both sides by 4 to get 5x = 21.
Step 2: take the natural log of both sides. (The common log works just the same, and the calculator has both.)
ln(5x) = ln(21)
Step 3: bring the exponent down to the front with the power rule:
x · ln(5) = ln(21)
Step 4: divide both sides by ln(5). Notice that ln(5) is just a number, so this is ordinary division:
x = ln(21)/ln(5) = 3.044522/1.609438 = 1.8917 (to four decimals)
Step 5: check. 51.8917 ≈ 21.00, so 4(21.00) + 3 = 84 + 3 = 87. ✓
Here is one more, with base e. Solve e0.5x = 12. Because the base is already e, take the natural log, and it simplifies right away: ln(e0.5x) = ln(12), so 0.5x = ln(12) = 2.484907. Multiplying both sides by 2 gives x = 4.9698. Check: e0.5(4.9698) = e2.4849 = 12.00. ✓
| What you see | Which door | First move | Result |
|---|---|---|---|
| 2x = 32 | Like bases | 32 = 25 | x = 5 |
| 9x = 27x−1 | Like bases | Both become powers of 3 | x = 3 |
| 5x = 21 | Take a log | ln both sides | x = ln21/ln5 |
| 4 · 5x + 3 = 87 | Take a log | Isolate first, then ln | x = ln21/ln5 |
| e0.5x = 12 | Take a log | Use ln (matches base e) | x = 2 ln12 |
| 3x = −7 | Neither | Notice 3x > 0 always | No solution |
- An exponential equation has the variable in an exponent. Since bx is always positive, bx = (a negative number or zero) has no solution.
- The one-to-one property: if bu = bv then u = v. Try this door first.
- Otherwise, get the exponential part by itself, then take a log of both sides, and use log(Mp) = p log(M).
- Any base of logarithm gives the same answer: ln(21)/ln(5) = log(21)/log(5).
Section 2Solving logarithmic equations

One logarithm, then convert
A logarithmic equation has the variable inside a logarithm. The whole plan fits in one sentence: get down to one logarithm, and then change to exponential form. The change itself is just the definition of a logarithm, read from right to left:
logb(M) = c means exactly bc = M
Say it out loud as "the base, raised to the answer, gives the inside." So ln(x) = 4 changes to e4 = x, which gives x = 54.598. And log5(2x + 3) = 2 changes to 52 = 2x + 3, so 25 = 2x + 3, so 22 = 2x, and x = 11.
Condensing first: the three rules you need
When the equation has two or more logarithms, you cannot convert yet: there is no single log to convert. First you condense: squeeze the logarithms into one using the three rules below. All three require the same base throughout, and all three read most usefully right-to-left when you are condensing.
| Rule | Statement | Use it to condense | Valid when |
|---|---|---|---|
| Product | logb(M) + logb(N) = logb(MN) | A sum becomes a product inside | M > 0 and N > 0 |
| Quotient | logb(M) − logb(N) = logb((M)/(N)) | A difference becomes a quotient inside | M > 0 and N > 0 |
| Power | p · logb(M) = logb(Mp) | A coefficient becomes an exponent inside | M > 0 |
Read that last column carefully: it is the seed of the whole next section. Each rule is a two-way street only while every argument stays positive.
Fully worked example. Solve log2(x) + log2(x − 2) = 3.
Step 0: write the domain before you touch the algebra. The first log needs x > 0, and the second needs x − 2 > 0, which means x > 2. Both must be true, so the domain is x > 2. Any answer at or below 2 is ruled out before you even start.
Step 1: condense the two logs into one with the product rule:
log2(x(x − 2)) = 3
Step 2: change to exponential form. The base is 2, the answer is 3, and the inside is x(x − 2):
x(x − 2) = 23 = 8
Step 3: multiply out the left side, and set the equation equal to zero so it can be factored:
x2 − 2x = 8, so x2 − 2x − 8 = 0
Step 4: factor. We need two numbers that multiply to −8 and add to −2, and those are −4 and +2.
(x − 4)(x + 2) = 0, so x = 4 or x = −2
Step 5: use the domain. We need x > 2, so keep x = 4 and throw out x = −2.
Step 6: check the survivor. log2(4) + log2(4 − 2) = log2(4) + log2(2) = 2 + 1 = 3. ✓ The solution is x = 4.
Always finish by checking the domain
Here is a second worked case, this time with a difference and a common (base 10) logarithm. Solve log(x + 3) − log(x) = 1.
Domain first: x + 3 > 0 gives x > −3, and x > 0 gives x > 0. Both together: x > 0.
Condense with the quotient rule: log((x + 3)/(x)) = 1. That step creates a rational expression (a fraction), so name its excluded value right away. (x + 3)/(x) is undefined at x = 0, where the denominator becomes zero. Here the domain x > 0 has already ruled that out, but say it anyway, because it is what makes the next move allowed. Change to exponential form, remembering that a plain "log" means base 10 and the answer 1 sits in the exponent: (x + 3)/(x) = 101 = 10. Multiply both sides by x, which is allowed just because x ≠ 0: x + 3 = 10x. Subtract x to get 3 = 9x, and divide by 9 to get x = (1)/(3).
Is (1)/(3) > 0? Yes, so it survives the domain. Check it: log((1)/(3) + 3) − log((1)/(3)) = log((10)/(3)) − log((1)/(3)) = log(((10)/(3)) ÷ ((1)/(3))) = log(10) = 1. ✓ The solution is x = (1)/(3).
When the domain inequality needs a sign flip
Every domain you have written so far solved itself in one step, because the variable had a positive coefficient. Some arguments run backward. Look at log(4 − x), which needs 4 − x > 0. Subtract 4 from both sides to get −x > −4, and now you have to divide by −1.
Here is the rule for that move, and it is the one people lose the most points on: multiplying or dividing an inequality by a negative number reverses the direction of the inequality sign. So −x > −4 becomes x < 4, not x > 4. (Equations do not follow this rule, because only inequalities flip. That is why none of the equation solving steps above needed it.)
Never take the flip on trust, but test one number. Try x = 0: the argument is 4 − 0 = 4, which is positive, so log(4) is defined, and indeed 0 < 4. Try x = 10: the argument is 4 − 10 = −6, so log(−6) is undefined, and indeed 10 is not less than 4. If you had skipped the flip and written x > 4, you would have called every allowed input not allowed, and every input that is not allowed allowed, which is a perfectly upside down answer.
Here is a quick way to avoid the issue entirely: move the variable to the side where it is already positive. From 4 − x > 0, add x to both sides to get 4 > x, and then read it right to left as x < 4. You get the same answer with no flip needed.
- Condense to one logarithm, then convert: logb(M) = c becomes bc = M.
- Condense with the product, quotient, and power rules: all require the same base.
- Every logarithm demands a positive argument; write the domain restriction before you begin.
- If condensing creates a fraction, state its excluded value, because the denominator may never be zero.
- When you solve a domain inequality, dividing by a negative reverses the inequality sign, so −x > −4 becomes x < 4.
- Converting often produces a quadratic, so expect up to two candidates and expect to reject some.
Section 3Extraneous solutions

Where the fake answers come from
An extraneous solution is a number that makes some equation you created along the way true, but does not make the equation you started with true. It is not a mistake in your arithmetic. It is a side effect of an allowed step, and knowing which steps cause it is how you stay ahead of it.
Here is the mechanism, stated as plainly as it can be stated. Look again at the product rule:
logb(M) + logb(N) = logb(MN)
The left side needs M > 0 and N > 0, which are two separate demands. The right side only needs the product MN > 0, and a product of two negatives is positive. So the condensed form quietly accepts a whole family of inputs that the original refused. Condensing does not break the equation, but it widens the door. The quadratic you then solve is the widened version, and it can hand you a number that would have been turned away at the original door.
The power rule does it too. Writing 2 log(x) as log(x2) turns a left side that needs x > 0 into a right side that accepts any x ≠ 0, including negatives. That is why 2 log(x) = log(36) gives x2 = 36 and the pair x = ±6, of which only x = 6 works in the original equation. Both answers are real numbers, but log(−6) does not exist, so −6 is extraneous.
A worked case: one keeper, one impostor
Fully worked example. Solve log3(x − 5) + log3(x + 3) = 2.
Step 0: domain. We need x − 5 > 0, so x > 5. We also need x + 3 > 0, so x > −3. The stricter one wins, so the domain is x > 5.
Step 1: condense the two logs into one: log3((x − 5)(x + 3)) = 2
Step 2: change to exponential form: (x − 5)(x + 3) = 32 = 9
Step 3: expand the left side. (x − 5)(x + 3) = x2 + 3x − 5x − 15 = x2 − 2x − 15. So:
x2 − 2x − 15 = 9
Step 4: subtract 9 from both sides so the equation equals zero: x2 − 2x − 24 = 0
Step 5: factor. We need two numbers that multiply to −24 and add to −2, and those are −6 and +4.
(x − 6)(x + 4) = 0, so x = 6 or x = −4
Step 6: test each answer against the domain, x > 5.
x = 6: passes. Verify in the original: log3(6 − 5) + log3(6 + 3) = log3(1) + log3(9) = 0 + 2 = 2. ✓
x = −4: fails, since −4 is not greater than 5. See why in the original: log3(−4 − 5) = log3(−9), and no power of 3 equals −9, so it is undefined. Extraneous.
Now watch the cause at work. Put x = −4 into the condensed equation: (−9)(−1) = 9, which is perfectly true, because two negatives multiplied to a positive. The condensed equation was happy, but the original was not, and that gap is exactly where extraneous solutions live. The answer is x = 6, alone.
How to check without a calculator
You do not need to work anything out to reject a possible answer. Put it into every logarithm's argument in the original equation, and ask only one question: is that number positive? If any argument comes out zero or negative, the answer is extraneous, and nothing else needs to be worked out.
Here are two warnings worth taking to heart. First, a positive answer can still be extraneous. In log(x − 5), the value x = 3 is positive, but it gives log(−2), which is undefined. So "positive answer" is not the test, and "positive argument" is. Second, the exponential equations from Section 1 do not create extraneous solutions this way, because bx accepts every real x. The domain chore belongs to logarithms.
| Equation | Domain | Candidates | Verdict |
|---|---|---|---|
| log3(x−5) + log3(x+3) = 2 | x > 5 | 6 and −4 | Keep 6; −4 extraneous |
| log2(x) + log2(x−2) = 3 | x > 2 | 4 and −2 | Keep 4; −2 extraneous |
| 2 log(x) = log(36) | x > 0 | 6 and −6 | Keep 6; −6 extraneous |
| log(x+3) − log(x) = 1 | x > 0 | (1)/(3) | Keep: none rejected |
| 4 · 5x + 3 = 87 | all real x | 1.8917 | No domain issue at all |
- An extraneous solution solves a later equation in your work, but not the original one.
- Condensing widens the domain: two negatives can multiply to a positive, so the condensed equation accepts inputs the original rejects.
- The power rule does the same thing: log(x2) accepts negatives that 2 log(x) does not.
- Test candidates in the original equation, checking only that every logarithm's argument is positive.
Section 4Applications: doubling, half-life, and interest

Doubling time
Continuous growth is modeled by A = A0ert, where A0 is the starting amount, r is the continuous rate as a decimal, and t is time. Every one of these problems is the same exponential equation from Section 1, wearing a costume.
Fully worked example. A culture of bacteria starts with 500 cells and grows continuously at 6% per hour, so A(t) = 500e0.06t. How long until there are 2000 cells?
Step 1: set up the equation by putting 2000 in for the amount: 2000 = 500e0.06t
Step 2: get the exponential part by itself. Divide both sides by 500, and since 2000/500 = 4, you get e0.06t = 4.
Step 3: take the natural log of both sides (base is e, so ln is the natural choice): 0.06t = ln(4) = 1.386294.
Step 4: divide both sides by 0.06: t = 1.386294/0.06 = 23.1049 hours, which is about 23.1 hours.
Step 5: check. e0.06(23.1049) = e1.386294 = 4, and 500(4) = 2000. ✓
Now the shortcut. Doubling time is how long it takes for any starting amount to double, and it never depends on A0: set A = 2A0, divide both sides by A0, and you get 2 = ert, so t = ln(2)/r. For our culture, doubling time = 0.693147/0.06 = 11.5525 hours. Sanity check the two results against each other: going from 500 to 2000 is exactly two doublings, and 2(11.5525) = 23.105 hours. Same answer. ✓
Half-life
Decay runs the same algebra with a factor that shrinks. The handiest form uses the half life h directly: A = A0((1)/(2))t/h. Read it as "cut in half once for every half life."
Fully worked example. Carbon 14 has a half life of 5730 years. A piece of bone still holds 62% of its original carbon 14. How old is it?
Step 1: set up the equation. "62% remains" means A/A0 = 0.62, so 0.62 = ((1)/(2))t/5730. Notice that A0 cancels, so you never needed to know the original amount.
Step 2: take the natural log of both sides, and bring the exponent down: ln(0.62) = (t/5730) · ln((1)/(2)).
Step 3: find the two logs. ln(0.62) = −0.478036 and ln(0.5) = −0.693147. Both are negative, which is what we expect, because both inputs are less than 1.
Step 4: divide both sides by −0.693147. The negatives cancel, which leaves a positive number: t/5730 = (−0.478036)/(−0.693147) = 0.689660.
Step 5: multiply both sides by 5730: t = 0.689660 × 5730 = 3951.75, so about 3950 years old.
Step 6: check that it makes sense. 62% remaining is more than half, so the bone should be younger than one half life, and 3951.75 < 5730. ✓
Interest: the money version of the same equation
Compound interest uses A = P(1 + r/n)nt, where P is the principal (the starting money), r is the yearly rate as a decimal, n is the number of compoundings per year, and t is the number of years. If interest compounds continuously, without a break, it becomes A = Pert.
Fully worked example. You deposit $3000 at 4.5% annual interest compounded monthly. When does the balance reach $5000?
Step 1: identify the pieces: P = 3000, r = 0.045, n = 12, A = 5000. Set up:
5000 = 3000(1 + 0.045/12)12t
Step 2: simplify inside the parentheses. Since 0.045/12 = 0.00375, the base is 1.00375.
Step 3: get the exponential part by itself. Divide both sides by 3000, and since 5000/3000 = 5/3 = 1.666667, you get (1.00375)12t = 1.666667.
Step 4: take the natural log of both sides and bring the exponent down: 12t · ln(1.00375) = ln(1.666667).
Step 5: find the two logs: ln(1.00375) = 0.0037430 and ln(1.666667) = 0.510826.
Step 6: divide one by the other: 12t = 0.510826/0.0037430 = 136.475 months.
Step 7: divide by 12 to turn months into years: t = 136.475/12 = 11.373, so about 11.4 years.
Step 8: check, and then think. (1.00375)136.475 = 1.66667, and 3000(1.66667) = 5000. ✓ But this account adds interest only once a month, so the balance does not really cross $5000 in the middle of a month. You need the 137th monthly payment, which comes at 11 years and 5 months. Reading the units of the answer is part of the answer.
| Situation | Model | Solve for time by | Shortcut |
|---|---|---|---|
| Continuous growth | A = A0ert | Divide by A0, take ln, divide by r | Doubling time = ln(2)/r |
| Continuous decay | A = A0e−rt, with r > 0 | Divide by A0, take ln, divide by −r | Half-life = ln(2)/r |
| Known half-life | A = A0((1)/(2))t/h | Divide by A0, take ln, solve for t | A0 always cancels |
| Compounded n times/year | A = P(1 + r/n)nt | Divide by P, take ln, divide by n ln(1+r/n) | Answer lands in periods: convert |
| Compounded continuously | A = Pert | Divide by P, take ln, divide by r | Fastest growth for a given r |
- For continuous growth or decay, A = A0ert. Solve for t by getting the exponential part by itself and taking ln.
- Doubling time = ln(2)/r, and it does not depend on the starting amount.
- With a known half-life h, use A = A0((1)/(2))t/h; the ratio A/A0 is all you need.
- Compound interest is A = P(1 + r/n)nt: watch whether your answer is in periods or years.
Section 5Modeling with exponential and logarithmic functions

Fitting an exponential model to two points
A general exponential model is y = abx. It has two unknown constants, so two data points are enough to pin it down. Here is the trick that makes this easy: if one of your points has x = 0, then b0 = 1, and a falls out for free.
Fully worked example. A town had 12,000 people at the start of a study (t = 0) and 15,000 people five years later (t = 5). Fit y = abt.
Step 1: use the point (0, 12000): 12000 = a · b0 = a · 1, so a = 12000.
Step 2: use the point (5, 15000) with a now known: 15000 = 12000 · b5.
Step 3: divide both sides by 12000: 15000/12000 = 1.25, so b5 = 1.25.
Step 4: take the fifth root, which means raising both sides to the (1)/(5) power: b = 1.251/5. Compute it with logs if you like: ln(1.25) = 0.223144, divided by 5 gives 0.0446287, and e0.0446287 = 1.045640. So b ≈ 1.04564.
Step 5: write the model: y = 12000(1.04564)t.
Step 6: check it against the data you were given. At t = 5: 12000(1.04564)5 = 12000(1.25) = 15000. ✓ At t = 0: 12000(1) = 12000. ✓
Reading the model out loud
A model you cannot explain is just decoration. In y = abx, the constant a is the initial value, which is the output when x = 0. The constant b is the growth factor, which is the number you multiply by each time x goes up by one. And b − 1, written as a percent, is the growth rate.
So our model says the town started at 12,000 people and grows by a factor of 1.04564 per year. That is 1.04564 − 1 = 0.04564, or about 4.56% per year. If b had come out less than 1, say 0.92, we would call it a decay factor and report a drop of 8% per year.
Now use the model, which means solving the exponential equations from Section 1 all over again. Predict: the population at t = 12 is 12000(1.04564)12. Since 12 × 0.0446287 = 0.535544 and e0.535544 = 1.708382, we get 12000(1.708382) = 20,500 people. Solve backward: when does the town reach 20,000? Set 20000 = 12000(1.04564)t, and divide by 12000 to get (1.04564)t = 1.666667. Take ln of both sides to get t · 0.0446287 = 0.510826, and divide to get t = 11.45 years.
Here is one honest warning worth saying to yourself every time. A model fit to two points is a guess about the shape, and exponential guesses grow silly if you push them far. This town model predicts nearly 98,000 people in 47 years, and more than a million in a century. Models describe the range they were built from, so stretch them past it (extrapolate) only gently.
Logarithmic models and the straight-line trick
A logarithm model, y = a + b ln(x), does the opposite job. It rises quickly at first and then flattens, which fits things like practice and performance, or how loud a sound seems. Its meaning is lovely once you see it: y gains the same fixed amount, b·ln(k), every time x is multiplied by a factor k. For a doubling, that gain is b ln(2), and only when k = e does the gain equal b itself.
Fully worked example. A skill study gives a score model S = 45 + 12 ln(x), where x is hours of practice.
At x = 1: S = 45 + 12 ln(1) = 45 + 12(0) = 45. At x = 10: S = 45 + 12(2.302585) = 45 + 27.63 = 72.63. At x = 20: S = 45 + 12(2.995732) = 45 + 35.95 = 80.95.
Notice what doubling did. From 10 to 20 hours, the score rose 80.95 − 72.63 = 8.32 points, and 12 ln(2) = 12(0.693147) = 8.32. Every doubling of practice adds the same 8.32 points, whether you go from 5 to 10 hours or from 500 to 1000. That is the shape of shrinking returns (diminishing returns), written as algebra.
Going backward, how many hours does it take to reach a score of 90? Set 90 = 45 + 12 ln(x). Subtract 45 to get 45 = 12 ln(x), and divide by 12 to get ln(x) = 3.75. Change to exponential form: x = e3.75 = 42.52, so about 42.5 hours. Check: 45 + 12 ln(42.52) = 45 + 12(3.75) = 90. ✓
Last of all, here is the trick that makes real world curve fitting possible. Take the natural log of both sides of y = abx to get ln(y) = ln(a) + x ln(b). Look at the shape of that, because it is a straight line in x, with intercept ln(a) and slope ln(b). For our town, ln(12000) = 9.3927 and ln(1.04564) = 0.044629, so ln(y) = 9.3927 + 0.044629t. This is why data plotted on semi log paper straightens out when the growth behind it is exponential. It is also exactly how spreadsheets and calculators do an exponential regression (a best fit curve): they take logs, fit a line, and change back.
| Model | Form | Signature in the data | Constant to interpret |
|---|---|---|---|
| Linear | y = mx + c | Equal differences per step | m = amount added per step |
| Exponential growth | y = abx, b > 1 | Equal ratios per step | b − 1 = percent growth per step |
| Exponential decay | y = abx, 0 < b < 1 | Constant fraction remains per step | 1 − b = percent lost per step |
| Logarithmic | y = a + b ln(x) | Rises fast, then flattens; needs x > 0 | b ln(2) = gain per doubling of x |
- Fit y = abx from two points, and a point at x = 0 hands you a right away.
- In y = abx: a is the initial value, b is the growth factor, and b − 1 is the percent change per step.
- In y = a + b ln(x), every doubling of x adds the same fixed amount, b ln(2), which shows shrinking returns.
- Taking ln of y = abx gives the line ln(y) = ln(a) + x ln(b), which is how regression tools fit exponential curves.
The chapter in one breath
- An exponential equation puts the variable in the exponent, and there are only two doors: match the bases, or take a logarithm of both sides.
- The one to one property (bu = bv gives u = v) handles the tidy cases. For the rest, get the exponential part by itself first, and then take the log.
- A logarithmic equation is solved by condensing to one log and changing form: logb(M) = c becomes bc = M.
- Every logarithm needs a positive argument, so write the domain restriction before you solve, not after. Remember that dividing an inequality by a negative flips the sign.
- Extraneous solutions appear because condensing widens the domain, since two negatives multiply to a positive. So always test possible answers in the original equation.
- Doubling time is ln(2)/r and half-life problems use A = A0((1)/(2))t/h; the starting amount cancels in both.
- Compound interest, A = P(1 + r/n)nt, is the same equation with money in it: mind whether the answer is in periods or years.
- To model, fit y = abx from two points. Read a as the initial value and b − 1 as the percent change, and remember that steady ratios mean exponential.
ReferenceWords worth knowing
Here is a quick list of the words in this chapter. Skim it now, and come back whenever a word slows you down in the middle of a problem.
- Argument (of a logarithm)
- The expression inside the logarithm. In log3(x − 5) the argument is x − 5, and it must be strictly greater than zero.
- Base
- The number being raised to a power, or the subscript on a logarithm. Must be positive and not equal to 1 for either to be well behaved.
- Change-of-base formula
- logb(M) = ln(M)/ln(b) = log(M)/log(b). This is how you find a log with an unusual base on a calculator that has only ln and log.
- Common logarithm
- A logarithm with base 10, written simply as log(x) with no subscript shown.
- Compound interest formula
- A = P(1 + r/n)nt, with principal P, annual rate r, n compoundings per year, and t years.
- Condensing
- Using the product, quotient, and power rules to combine several logarithms into a single logarithm: the required first step before converting.
- Continuous growth model
- A = A0ert, where r is the continuous rate. A positive r means growth, and a negative r means decay.
- Decay factor
- The value b in y = abx when 0 < b < 1. The amount 1 − b is the fraction lost at each step.
- Domain restriction
- The condition every logarithm imposes: its argument must be positive. Write it down before solving.
- Doubling time
- How long an amount that grows continuously takes to double: t = ln(2)/r. It does not depend on the starting amount.
- Euler's number (e)
- The irrational constant 2.71828…, the natural base for growth and decay; its logarithm is written ln.
- Excluded value
- An input that makes the denominator of a rational expression zero, so the expression is undefined there. In (x + 3)/(x), the excluded value is x = 0.
- Exponential equation
- An equation with the variable in an exponent, such as 4 · 5x + 3 = 87.
- Extraneous solution
- A possible answer that makes an equation you created along the way true, but fails the original, usually because it makes a logarithm's argument zero or negative.
- Growth factor
- The value b in y = abx when b > 1. The amount b − 1 is the percent growth at each step.
- Half-life
- The time for a decaying quantity to fall to half its amount; modeled by A = A0((1)/(2))t/h.
- Logarithm
- The exponent that answers "what power of b gives M?": logb(M) = c means exactly bc = M.
- Logarithmic equation
- An equation with the variable inside a logarithm, such as log2(x) + log2(x − 2) = 3.
- Natural logarithm
- A logarithm with base e, written ln(x); the default choice when the equation already contains e.
- One-to-one property
- Since bx never repeats an output, bu = bv forces u = v; the basis of the like-bases method.
- Power rule for logarithms
- p · logb(M) = logb(Mp), valid for M > 0; used right-to-left it pulls a variable out of an exponent.
- Product rule for logarithms
- logb(M) + logb(N) = logb(MN), valid when M > 0 and N > 0.
- Quotient rule for logarithms
- logb(M) − logb(N) = logb((M)/(N)), valid when M > 0 and N > 0.
- Sign-flip rule
- Multiplying or dividing an inequality by a negative number reverses its direction, so −x > −4 becomes x < 4. Equations are not affected.
Check yourself
Sequences, Series & the Binomial Theorem
Almost everything that grows, shrinks, repeats, or builds up can be written as a list of numbers in order. Think of a paycheck that rises by the same raise every year, a medicine that loses half of its strength in the blood every six hours, or a bouncing ball that gives back a fixed fraction of its height. This chapter teaches you how to describe such a list exactly, and how to jump straight to the hundredth entry without writing out the first ninety nine. It also shows you how to add up a whole stack of them with one short formula, instead of a long session on a calculator. Along the way, you will meet a strange and truly useful fact: some sums that never end still add up to an ordinary number. We finish with Pascal's triangle and the binomial theorem, which let you multiply out something like (x + 2)4 without multiplying four binomials (two term expressions) by hand. Nothing here needs new algebra, only careful bookkeeping and a willingness to write the steps down.
By the end of this chapter you can
- Read and write sequence notation, and generate terms from an explicit or a recursive formula.
- Convert a written-out list into a formula, and state the restriction that the index must be a positive integer.
- Identify an arithmetic sequence, find its common difference, and use an = a1 + (n − 1)d.
- Add an arithmetic series with Sn = (n)/(2)(a1 + an), and decide whether a given number is even a term of the sequence.
- Spot a geometric sequence, find its common ratio, and use an = a1r n−1 and the finite sum formula (with r ≠ 1).
- Test an infinite geometric series for convergence and, when |r| < 1, evaluate it with S = a1/(1 − r).
- Rewrite a repeating decimal as an exact fraction using an infinite geometric series.
- Build Pascal's triangle, work out binomial coefficients, and expand (a + b)n or pick out a single term of the expansion.
Section 1Sequences

What a sequence actually is
A sequence is an ordered list of numbers. That is the whole meaning of the word, and the word ordered does all the work: 2, 4, 6, 8 and 8, 6, 4, 2 contain the same numbers, but they are different sequences, because position matters. Each number in the list is called a term.
The tidiest way to think about it is this: a sequence is a function whose inputs are the counting numbers. You feed in a position, first, second, third, and the sequence hands back the number that lives there. That is why we do not write a(1), a(2), a(3) the way we would for an ordinary function. We use a subscript instead:
a1, a2, a3, a4, …, an, …
Read a1 as "a sub one": the first term. The letter n is the index: it is the position number, and it is always a positive whole number (n = 1, 2, 3, 4, …). There is no a0 and no a2.5 in the sequences we work with here. The expression an is called the general term, and it is the prize: if you know an, you know the whole sequence.
The subscript is not a multiplier and not an exponent. a3 means "the third term," while a3 would mean "a cubed." People lose points on this in every course, so read subscripts out loud until it feels automatic.
Explicit formulas: jump straight to any term
An explicit formula (also called a closed formula) gives an directly in terms of n. Do you want the 40th term? Substitute n = 40, and you are done, with no earlier terms needed.
Substitute n = 1: a1 = 5(1) − 3 = 5 − 3 = 2
Substitute n = 2: a2 = 5(2) − 3 = 10 − 3 = 7
Substitute n = 3: a3 = 5(3) − 3 = 15 − 3 = 12
Substitute n = 4: a4 = 5(4) − 3 = 20 − 3 = 17
So the sequence starts 2, 7, 12, 17, …
For the twelfth term, substitute n = 12: a12 = 5(12) − 3 = 60 − 3 = 57.
Notice what you did not have to do: you never calculated a5 through a11; that is the power of an explicit formula.
Two tricks with notation show up all the time. First, a factor of (−1)n makes the signs take turns (alternate): if an = (−1)n n, then a1 = (−1)1(1) = −1, a2 = (−1)2(2) = +2, a3 = −3, and a4 = +4. (Using (−1)n+1 instead starts the pattern positive.) Second, watch for excluded values. If an = 10/(n − 4), then n ≠ 4, because that would put a 0 in the denominator, so this sequence simply has no fourth term.
Recursive formulas: each term leans on the one before
A recursive formula defines a term using the term (or terms) before it. It always comes in two pieces: a seed: the first term, handed to you outright, and a rule for getting the next term from the last one. Without the seed, the rule has nothing to start from and the sequence is undefined.
The seed is given: a1 = 4
For n = 2, the rule says double the previous term and add 1:
a2 = 2a1 + 1 = 2(4) + 1 = 8 + 1 = 9
For n = 3, the "previous term" is now 9:
a3 = 2a2 + 1 = 2(9) + 1 = 18 + 1 = 19
For n = 4:
a4 = 2a3 + 1 = 2(19) + 1 = 38 + 1 = 39
For n = 5:
a5 = 2a4 + 1 = 2(39) + 1 = 78 + 1 = 79
The sequence is 4, 9, 19, 39, 79, … To get a20 this way, you would have to grind through every term up to it, which is the price of a recursive rule.
The most famous recursive sequence leans on two previous terms. It is the Fibonacci sequence, defined by a1 = 1, a2 = 1, and an = an−1 + an−2. Adding 1 + 1 = 2, then 1 + 2 = 3, then 2 + 3 = 5, gives 1, 1, 2, 3, 5, 8, 13, 21, … Notice that it needs two seeds, because the rule reaches back two steps.
| Feature | Explicit formula | Recursive formula |
|---|---|---|
| Form | an written in terms of n | an written in terms of an−1 (and a seed) |
| Example | an = 5n − 3 | a1 = 2, an = an−1 + 5 |
| Getting a50 | One substitution | 49 steps of arithmetic |
| Best at | Jumping far ahead; graphing | Describing a process that repeats |
| Needs a seed? | No | Yes: always |
- A sequence is an ordered list. A term is written an, where n is the position, and n is always a positive integer.
- An explicit formula gives an from n directly, so you put in the position once and you have the term.
- A recursive formula gives an from earlier terms, and it must include a starting value, because otherwise there is nothing to build from.
- Watch for excluded values of n that would make a zero denominator, and remember that (−1)n is the standard switch that makes the signs alternate.
Section 2Arithmetic sequences and series

The common difference
A sequence is arithmetic when you get from each term to the next by adding the same number every time. That number is the common difference, written d. To test a sequence, subtract each term from the one after it, and see whether you get the same answer each time:
d = a2 − a1 = a3 − a2 = a4 − a3 = …
If every one of those subtractions gives the same answer, the sequence is arithmetic. If even one differs, it is not. Take 7, 11, 15, 19, 23: 11 − 7 = 4, 15 − 11 = 4, 19 − 15 = 4, 23 − 19 = 4. Same every time, so d = 4. A negative d is perfectly normal: in 20, 17, 14, 11 we have d = 17 − 20 = −3, and the terms march downward.
You add d once to get to term 2, twice to get to term 3, and three times to get to term 4. So the number of times you add is always one less than the term number, and that one fact is the formula:
Explicit: an = a1 + (n − 1)d Recursive: a1 given, an = an−1 + d
If you multiply out the explicit form, you get an = dn + (a1 − d), which is a linear expression in n. That is why the figure above matters. Plot an arithmetic sequence, and the points land on a straight line, with d playing the role of the slope. Arithmetic growth is straight line growth.
Adding them up: the arithmetic series
A series is what you get when you add up the terms of a sequence. The sum of the first n terms is called the nth partial sum, and it is written Sn. In short form we use sigma notation:
Sn = ∑k=1n ak = a1 + a2 + a3 + … + an
Read that as "the sum, as k runs from 1 to n, of ak." The letter under the ∑ is the starting index, the number on top is the stopping index, and the expression to the right is what you plug each index into. Sigma notation is only shorthand, because it never means anything you could not write out with plus signs.
There is a lovely trick for adding an arithmetic series, and the story that goes with it is probably half true. A schoolboy named Carl Friedrich Gauss, told to add 1 through 100, noticed that pairing the ends gives 1 + 100 = 101, 2 + 99 = 101, 3 + 98 = 101, and so on, for fifty pairs of 101, which makes 5050. The general version writes the sum forward, then writes it again backward underneath, and adds the two lines column by column:
Sn = a1 + (a1+d) + … + an
Sn = an + (an−d) + … + a1
Every column adds to the same thing, (a1 + an), and there are n columns. So 2Sn = n(a1 + an), which gives the two forms you will really use:
Sn = (n)/(2) · (a1 + an) or, if you do not know an yet, Sn = (n)/(2) · [2a1 + (n − 1)d]
Step 1: find the common difference.
d = 11 − 7 = 4. Check the next gaps: 15 − 11 = 4 and 19 − 15 = 4. Consistent, so d = 4 and a1 = 7.
Step 2: find the 20th term.
an = a1 + (n − 1)d
a20 = 7 + (20 − 1)(4)
a20 = 7 + (19)(4)
a20 = 7 + 76
a20 = 83
Step 3: add the first 20 terms.
Sn = (n)/(2)(a1 + an)
S20 = (20)/(2)(7 + 83)
S20 = 10(90)
S20 = 900
Step 4: check with the other form.
S20 = (20)/(2)[2(7) + (20 − 1)(4)] = 10[14 + 76] = 10(90) = 900 ✓ Both routes agree.
Is that number even in the sequence?
Here is a question that trips people up: "how many terms are in 5, 9, 13, …, 101?" You are told the last term and asked for n. Set the explicit formula equal to the last term and solve; here a1 = 5 and d = 9 − 5 = 4:
101 = 5 + (n − 1)(4) → 101 − 5 = 4(n − 1) → 96 = 4(n − 1) → 24 = n − 1 → n = 25
So 101 is the 25th term, and the sum is S25 = (25)/(2)(5 + 101) = (25)/(2)(106) = 25(53) = 1325.
Now comes the key warning. You must check that n comes out to be a positive whole number. Ask instead whether 100 belongs to that same sequence: 100 = 5 + (n − 1)(4) gives 95 = 4(n − 1), so n − 1 = 23.75 and n = 24.75. There is no 24.75th term. The algebra gave a number, but it is an extraneous answer for this problem (one that does not really work), and the honest conclusion is that 100 is simply not a term of the sequence. Always run this check before you report an answer.
| You want | Use | Requires |
|---|---|---|
| The common difference | d = an − an−1 | Any two consecutive terms |
| Any single term | an = a1 + (n − 1)d | a1, d, n |
| A sum, last term known | Sn = (n)/(2)(a1 + an) | a1, an, n |
| A sum, last term unknown | Sn = (n)/(2)[2a1 + (n−1)d] | a1, d, n |
| The number of terms | Solve an = a1 + (n−1)d for n | Check n is a positive integer |
- Arithmetic means a steady common difference d, found by subtracting each term from the next one.
- an = a1 + (n − 1)d. The (n − 1) is not a typo, and you can confirm it by checking that n = 1 gives back the first term.
- Sn = (n)/(2)(a1 + an): the average of the first and last term, times how many terms there are.
- When you solve for n, reject any answer that is not a positive whole number, because that number is not a term of the sequence.
Section 3Geometric sequences and series

The common ratio
A sequence is geometric when you get from each term to the next by multiplying by the same number every time. That multiplier is the common ratio, written r. An arithmetic sequence is built on adding again and again, while a geometric sequence is built on multiplying again and again, which is why one grows in a straight line and the other curves away.
To test a sequence, divide each term by the one before it, and see whether you get the same number every time:
r = (a2)/(a1) = (a3)/(a2) = (a4)/(a3) = …
For 3, 6, 12, 24, the ratios are 6/3 = 2, 12/6 = 2, and 24/12 = 2, so r = 2. For 64, 32, 16, 8, the ratios are 32/64 = ½ and 16/32 = ½, so r = ½, and the terms shrink. For 5, −15, 45, −135, the ratios are (−15)/5 = −3 and 45/(−15) = −3, so r = −3, and the signs flip back and forth. A negative ratio always makes the signs alternate.
Two limits come with this kind of sequence: r ≠ 0, and no term may be 0. You cannot divide by zero when you work out the ratio, and multiplying by zero would wipe out every later term.
You multiply by r once to reach term 2, twice to reach term 3, and so on, which is again one fewer multiplication than the term number:
Explicit: an = a1 · r n−1 Recursive: a1 given, an = r · an−1
The finite geometric sum
Adding up a geometric series uses a different trick from the arithmetic one. Write the sum, multiply the whole thing by r, and subtract, and then almost every term cancels:
Sn = a1 + a1r + a1r2 + … + a1r n−1
rSn = a1r + a1r2 + … + a1r n−1 + a1r n
Subtracting the second line from the first wipes out everything in the middle and leaves Sn − rSn = a1 − a1r n. Factor both sides to get Sn(1 − r) = a1(1 − r n), and then divide:
Sn = a1 · (1 − r n)/(1 − r), valid for r ≠ 1
That limit is not there for show. If r = 1, the denominator is 1 − 1 = 0, and the formula is undefined. But that case is easy anyway, because r = 1 means every term equals a1, so Sn = n · a1.
Step 1: find the common ratio.
r = 6/3 = 2. Confirm it: 12/6 = 2 and 24/12 = 2. So r = 2, and a1 = 3.
Step 2: find the 8th term.
an = a1 · r n−1
a8 = 3 · 28−1 = 3 · 27
27 = 128, so a8 = 3(128) = 384
Step 3: add the first 8 terms.
S8 = 3 · (1 − 28)/(1 − 2)
28 = 256, so the numerator inside is 1 − 256 = −255, and the denominator is 1 − 2 = −1.
S8 = 3 · (−255)/(−1) = 3(255) = 765
Step 4: check by adding them all.
3 + 6 + 12 + 24 + 48 + 96 + 192 + 384. The running total is 3, 9, 21, 45, 93, 189, 381, 765. ✓
Step 1: the ratio. r = 32/64 = ½, and 16/32 = ½ confirms it. a1 = 64.
Step 2: the 6th term.
a6 = 64 · (½)6−1 = 64 · (½)5
(½)5 = 1/32, so a6 = 64/32 = 2
Step 3: the sum of six terms.
S6 = 64 · (1 − (½)6)/(1 − ½)
(½)6 = 1/64, so the numerator is 1 − 1/64 = 63/64, and the denominator is 1 − ½ = ½.
S6 = 64 · (63/64)/(½) = 63/(½) = 63 · 2 = 126
Step 4: check. 64 + 32 + 16 + 8 + 4 + 2 = 126. ✓
| Arithmetic | Geometric | |
|---|---|---|
| Step between terms | Add d | Multiply by r |
| How to find it | Subtract consecutive terms | Divide consecutive terms |
| nth term | a1 + (n − 1)d | a1 · r n−1 |
| Sum of n terms | (n)/(2)(a1 + an) | a1(1 − r n)/(1 − r), r ≠ 1 |
| Shape of the graph | Straight line | Exponential curve |
| Real-world fit | Fixed raise, fixed payment | Percent growth, half-life, interest |
- Geometric means a steady common ratio r, found by dividing each term by the one before it. Also, r ≠ 0, and no term is 0.
- an = a1 · r n−1. The exponent, like the count of times you multiply, is one less than n.
- Sn = a1(1 − r n)/(1 − r), which needs r ≠ 1. If r = 1, then Sn = n a1.
- A negative r makes the signs alternate. When |r| > 1 the terms grow, and when |r| < 1 they shrink.
Section 4Infinite geometric series

When does an endless sum have an answer?
Here is the idea that surprises everyone the first time. Add ½ + ¼ + ⅛ + 1/16 + … forever. Every partial sum is bigger than the last, so surely the total runs off to infinity? It does not. The partial sums are ½, 0.75, 0.875, 0.9375, 0.96875, and so on, and each one halves the gap that is left to 1, so the total settles on exactly 1. You are adding an endless number of things, but they get small so fast that the running total has nowhere to go.
Compare that with 2 + 6 + 18 + 54 + …, where r = 3. The terms get bigger, the partial sums explode, and there is no total. So which way will a series go? The formula for a sum that ends tells you, if you look at the right piece of it:
Sn = a1 · (1 − r n)/(1 − r)
The only part that changes as n grows is r n. If |r| < 1, which means r is a proper fraction, positive or negative, then raising it to higher and higher powers drives it toward 0. (Watch: (½)1 = 0.5, (½)10 ≈ 0.00098, and (½)20 ≈ 0.00000095.) Replace r n with 0, and the formula shrinks to something clean:
S = a1/(1 − r), valid only when |r| < 1
If instead |r| ≥ 1, then r n does not shrink at all. It grows without limit (|r| > 1), stays at 1 (r = 1), or flips forever between 1 and −1 (r = −1). In every one of those cases, the series diverges and has no sum. A series that does settle on a number is said to converge. Always run the test first: find r, check that |r| < 1, and only then use the formula.
It pays to write out what that absolute value test really says. The statement |r| < 1 is shorthand for the double inequality
−1 < r < 1
Any ratio strictly between −1 and 1 converges, and anything at or outside those endpoints diverges. Written this way, the test is an inequality you can solve, which brings up a rule that costs people points all the way through algebra.
Put it to work. Suppose a series has common ratio r = −x/2, so it converges exactly when |−x/2| < 1, which is:
−1 < −x/2 < 1
Multiply all three parts by −2 to get x by itself. Because −2 is negative, both signs turn around:
(−1)(−2) = 2, (−x/2)(−2) = x, (1)(−2) = −2, and < becomes >:
2 > x > −2, which is the interval −2 < x < 2
If you had multiplied by −2 and left the signs pointing the same way, you would have written −2 > x > 2, an interval with no numbers in it at all. An answer that looks impossible like that is usually a missed flip. (The single value x = 0 is worth setting aside, because it makes r = 0, and the series shrinks to just its first term.)
Step 1: find r. r = 6/12 = ½. Confirm it: 3/6 = ½ and 1.5/3 = ½. So r = ½, and a1 = 12.
Step 2: test whether it converges. |½| = 0.5, and 0.5 < 1. It converges, so we may use the formula.
Step 3: use the formula.
S = a1/(1 − r)
S = 12/(1 − ½)
S = 12/(½)
Dividing by ½ is the same as multiplying by 2:
S = 12 · 2 = 24
Step 4: check that it makes sense. The partial sums are 12, 18, 21, 22.5, 23.25, 23.625, 23.8125, and so on. They climb toward 24 and never pass it. ✓
A negative ratio works the same way, as long as its absolute value is under 1. Take 9 − 3 + 1 − ⅓ + …. Here r = (−3)/9 = −⅓, and |−⅓| = ⅓ < 1, so it converges. Then S = 9/(1 − (−⅓)) = 9/(1 + ⅓) = 9/(4/3) = 9 · (3)/(4) = 27/4 = 6.75. Note carefully that 1 − (−⅓) becomes 1 plus ⅓, because subtracting a negative is the classic place to slip.
Turning a repeating decimal into a fraction
Here is the most rewarding payoff in the chapter. A repeating decimal is secretly an infinite geometric series, which means you can change it into an exact fraction with the formula you just learned.
Step 1: write it out as a sum. The repeating block is "27," which is two digits long:
0.272727… = 27/100 + 27/10000 + 27/1000000 + …
Step 2: find a1 and r.
a1 = 27/100. To get the next term, you divide by 100 again, so r = 1/100.
Check: (27/10000) ÷ (27/100) = 100/10000 = 1/100. ✓
Step 3: test whether it converges. |1/100| = 0.01 < 1, so it converges.
Step 4: use the formula.
S = a1/(1 − r) = (27/100)/(1 − 1/100)
1 − 1/100 = 99/100, so
S = (27/100)/(99/100)
Dividing by a fraction means multiplying by its reciprocal (the flipped fraction):
S = (27/100) · (100/99) = 27/99
Step 5: reduce. Both 27 and 99 divide by 9: 27 ÷ 9 = 3 and 99 ÷ 9 = 11.
S = 3/11
Step 6: check. 3 ÷ 11 = 0.272727… ✓ That is exactly what we started with.
| Series | r | |r| < 1? | Result |
|---|---|---|---|
| 8 + 4 + 2 + 1 + … | ½ | Yes | Converges; S = 8/(1−½) = 16 |
| 1 − ⅓ + 1/9 − … | −⅓ | Yes | Converges; S = 1/(4/3) = 3/4 |
| 2 + 6 + 18 + … | 3 | No | Diverges: no sum |
| 5 + 5 + 5 + … | 1 | No | Diverges: grows forever |
| 7 − 7 + 7 − 7 + … | −1 | No | Diverges: never settles |
- An infinite geometric series converges exactly when |r| < 1; otherwise it diverges and has no sum.
- When it converges, S = a1/(1 − r). There is no n in it, because the terms never stop.
- The reason it works: |r| < 1 forces r n toward 0, so the (1 − r n) in the finite sum formula becomes just 1.
- Every repeating decimal is an infinite geometric series, so every repeating decimal equals an exact fraction.
- |r| < 1 written out is −1 < r < 1. When you solve any such inequality, turn every inequality sign around if you multiply or divide by a negative number.
Section 5The binomial theorem

Pascal's triangle
You already know that (a + b)2 = a2 + 2ab + b2. Multiplying that by (a + b) again gives (a + b)3 = a3 + 3a2b + 3ab2 + b3. Doing that four or five more times by hand is miserable, and it is exactly the kind of tedious work a formula should take over. Look at just the coefficients (the numbers in front) of the expansions:
| Power | Coefficients (Pascal's triangle) | Terms in the expansion |
|---|---|---|
| (a+b)0 | 1 | 1 |
| (a+b)1 | 1 1 | 2 |
| (a+b)2 | 1 2 1 | 3 |
| (a+b)3 | 1 3 3 1 | 4 |
| (a+b)4 | 1 4 6 4 1 | 5 |
| (a+b)5 | 1 5 10 10 5 1 | 6 |
| (a+b)6 | 1 6 15 20 15 6 1 | 7 |
That stack of numbers is Pascal's triangle, and it builds itself. Every row starts and ends with 1, and every number in between is the sum of the two numbers right above it. To get row 6 from row 5, add the pairs that sit next to each other in 1, 5, 10, 10, 5, 1: 1+5 = 6, 5+10 = 15, 10+10 = 20, 10+5 = 15, and 5+1 = 6. Cap it with 1s at each end, and you have 1, 6, 15, 20, 15, 6, 1. Notice also that the row for (a + b)n has n + 1 entries, so the expansion has n + 1 terms.
Binomial coefficients, without drawing the triangle
Building the triangle is fine for small powers, but nobody wants to write out twenty rows to expand (x + 2)20. There is a direct formula. First comes factorial notation: n! means multiply every whole number from n down to 1, so 5! = 5 · 4 · 3 · 2 · 1 = 120, and 3! = 3 · 2 · 1 = 6; by agreement, 0! = 1. That is a rule everyone uses, not a trick, and it is what makes the formulas come out right.
The binomial coefficient, written C(n, k) or nCk, is the entry in row n, position k, of Pascal's triangle, where both the row and the position start counting at 0:
C(n, k) = (n!)/(k! · (n − k)!), where 0 ≤ k ≤ n and both are whole numbers
Try it on C(5, 2), which should equal 10, according to the table above:
C(5, 2) = (5!)/(2! · 3!) = (120)/(2 · 6) = (120)/(12) = 10 ✓
Here is one time saver worth knowing: C(n, k) = C(n, n − k), which is why every row of the triangle reads the same forward and backward. If you need C(20, 18), calculate C(20, 2) instead, which gives the same answer with far less work.
Putting all the pieces together gives the binomial theorem, which expands any power of a binomial in one step:
(a + b)n = ∑k=0n C(n, k) · a n−k · b k
In words: run k from 0 up to n. The exponent on a starts at n and counts down, while the exponent on b starts at 0 and counts up, and in every single term the two exponents add up to n. That last fact gives you a free error check.
Step 1: get the coefficients. n = 4, so use row 4 of Pascal's triangle: 1, 4, 6, 4, 1. Expect 4 + 1 = 5 terms.
Step 2: set up the skeleton with a = x (powers counting down) and b = 2 (powers counting up):
1·x4·20 + 4·x3·21 + 6·x2·22 + 4·x1·23 + 1·x0·24
Step 3: do the arithmetic, one term at a time.
Term 1: 1 · x4 · 1 = x4
Term 2: 4 · x3 · 2 = 8x3
Term 3: 6 · x2 · 4 = 24x2
Term 4: 4 · x · 8 = 32x
Term 5: 1 · 1 · 16 = 16
Step 4: write the answer.
(x + 2)4 = x4 + 8x3 + 24x2 + 32x + 16
Step 5: check by substituting x = 1.
Left side: (1 + 2)4 = 34 = 81.
Right side: 1 + 8 + 24 + 32 + 16 = 81. ✓ This x = 1 trick catches almost every arithmetic slip, so use it every time.
Step 1: name the pieces. Rewrite the subtraction as an addition, so the theorem applies cleanly: (2x + (−3))3. So a = 2x, b = −3, and n = 3.
Step 2: coefficients. Row 3 of Pascal's triangle is 1, 3, 3, 1. Expect 4 terms.
Step 3: go term by term, keeping the parentheses.
Term 1: 1 · (2x)3 · (−3)0 = 1 · 8x3 · 1 = 8x3
Term 2: 3 · (2x)2 · (−3)1 = 3 · 4x2 · (−3) = −36x2
Term 3: 3 · (2x)1 · (−3)2 = 3 · 2x · 9 = 54x
Term 4: 1 · (2x)0 · (−3)3 = 1 · 1 · (−27) = −27
Step 4: put it together.
(2x − 3)3 = 8x3 − 36x2 + 54x − 27
Step 5: check with x = 1. Left: (2 − 3)3 = (−1)3 = −1. Right: 8 − 36 + 54 − 27 = −1. ✓
Why the signs alternate: (−3) raised to an even power is positive, and raised to an odd power is negative. Whenever b is negative, the expansion goes + − + − on its own. And note that (2x)3 = 8x3, not 2x3, because the exponent hits the 2 as well.
Finding one term without expanding everything
Sometimes a problem asks only for the coefficient of x5 in something like (x + 3)8. Expanding all nine terms to read off one of them is wasted effort. Use the general term directly; the term containing bk is
C(n, k) · a n−k · b k (this is the (k + 1)th term, since k starts at 0)
Step 1: find k. Here a = x, b = 3, and n = 8. The power on a is n − k = 8 − k, and we want that to be 5:
8 − k = 5 → k = 3
Step 2: calculate the binomial coefficient.
C(8, 3) = (8!)/(3! · 5!)
Cancel the 5! against the end of 8!, which leaves only 8 · 7 · 6 on top:
C(8, 3) = (8 · 7 · 6)/(3 · 2 · 1) = (336)/(6) = 56
Step 3: build the term.
C(8,3) · x5 · 33 = 56 · x5 · 27
56 · 27 = 56 · 20 + 56 · 7 = 1120 + 392 = 1512
Step 4: answer. The term is 1512x5, so the coefficient is 1512.
Check the exponents: 5 + 3 = 8 = n. ✓ If they had not added up to n, something would be wrong.
- Pascal's triangle: each row begins and ends with 1, and each number inside it is the sum of the two numbers above it.
- The binomial coefficient is C(n, k) = n!/[k!(n − k)!], with 0! = 1 and 0 ≤ k ≤ n.
- Binomial theorem: (a + b)n = ∑k=0n C(n,k)a n−kb k. The power of a falls, the power of b rises, and they always add up to n.
- For a subtraction, treat b as a negative number and keep it in parentheses, and the signs will alternate on their own.
The chapter in one breath
- A sequence is an ordered list written a1, a2, a3, …; the index n is always a positive whole number.
- An explicit formula gives any term straight from n. A recursive formula builds each term from the one before, and it always needs a starting value.
- Arithmetic sequences add a constant common difference d: an = a1 + (n − 1)d, and they graph as a straight line.
- An arithmetic series sums to Sn = (n)/(2)(a1 + an), which is the average of the two ends times the number of terms.
- Geometric sequences multiply by a constant common ratio r: an = a1r n−1, with Sn = a1(1 − r n)/(1 − r) for r ≠ 1.
- An infinite geometric series converges only when |r| < 1, and then S = a1/(1 − r). Otherwise it diverges and has no sum.
- Every repeating decimal is a convergent geometric series, which is why it can always be written as an exact fraction.
- Pascal's triangle gives the binomial coefficients C(n, k) = n!/[k!(n−k)!]. They expand (a + b)n into n + 1 terms whose exponents always add up to n.
ReferenceWords worth knowing
Here is a quick list of the terms in this chapter. Skim it now, or come back whenever a word trips you up.
- Arithmetic sequence
- A sequence in which each term is the previous term plus a constant, called the common difference: an = a1 + (n − 1)d.
- Arithmetic series
- The sum of the terms of an arithmetic sequence; Sn = (n)/(2)(a1 + an).
- Binomial coefficient
- The number C(n, k) = n!/[k!(n − k)!]; it is the entry in row n, position k of Pascal's triangle.
- Binomial theorem
- The rule (a + b)n = ∑k=0n C(n,k)a n−kb k, which expands a power of a binomial without multiplying it out again and again.
- Common difference (d)
- The steady amount added to move from one term of an arithmetic sequence to the next: d = an − an−1.
- Common ratio (r)
- The steady multiplier between terms of a geometric sequence that sit next to each other: r = an/an−1, and r ≠ 0.
- Convergent series
- A series whose partial sums approach a single finite number, which is called its sum.
- Divergent series
- A series whose partial sums do not approach any finite number; it has no sum.
- Explicit formula
- A formula that gives an directly in terms of n, so any term can be found by one substitution. It is also called a closed formula.
- Factorial (n!)
- The product of all whole numbers from n down to 1; by convention 0! = 1.
- Geometric sequence
- A sequence in which each term is the previous term times a constant ratio: an = a1r n−1.
- Geometric series
- The sum of the terms of a geometric sequence. For n terms, Sn = a1(1 − r n)/(1 − r) when r ≠ 1.
- Index
- The position number n in an; it is always a positive integer, never a fraction or a negative.
- Infinite geometric series
- A geometric series with unending terms; it converges to a1/(1 − r) exactly when |r| < 1.
- Partial sum (Sn)
- The sum of the first n terms of a sequence.
- Pascal's triangle
- A triangle shaped array of binomial coefficients, in which each row begins and ends with 1, and each number inside is the sum of the two numbers above it.
- Recursive formula
- A rule that gives each term in terms of one or more terms before it, together with the starting value or values needed to begin.
- Sequence
- An ordered list of numbers; formally, a function whose inputs are the positive integers.
- Series
- The sum of the terms of a sequence.
- Sigma (summation) notation
- Shorthand for a sum: ∑k=1n ak means add ak for every whole k from 1 through n.
- Term
- A single number in a sequence, identified by its position, as in a3, the third term.