Skip to content
Tutorials Center
My learning

Topics

Lesson 3 of 37 · Getting Started

The Algebra Toolkit: Exponents, Factoring and Fractions

Review the exponent laws, factoring patterns and algebraic fractions you need for pre-calculus, and check your work with SymPy in the browser.

Pre-calculus runs on a small set of algebra skills. If they are solid, the rest of the course is mostly seeing familiar tools in new settings. This lesson reviews three of them: exponent laws, factoring and algebraic fractions. You will also meet SymPy, a Python library that does algebra symbolically, which makes an excellent answer checker.

Exponent laws

An exponent says how many times to multiply a base by itself. These laws hold for any nonzero base and for integer or rational exponents:

Law Example
aᵐ · aⁿ = aᵐ⁺ⁿ x³ · x⁴ = x⁷
aᵐ / aⁿ = aᵐ⁻ⁿ x⁶ / x² = x⁴
(aᵐ)ⁿ = aᵐⁿ (x²)³ = x⁶
(ab)ⁿ = aⁿbⁿ (2x)³ = 8x³
a⁰ = 1 (a ≠ 0) 5⁰ = 1
a⁻ⁿ = 1 / aⁿ x⁻² = 1/x²
a^(1/n) = ⁿ√a 9^(1/2) = 3
a^(m/n) = (ⁿ√a)ᵐ 8^(2/3) = 4

The rational exponent rule links powers and roots: the denominator is the root, the numerator is the power. So 8^(2/3) means "cube root of 8, then square": 2² = 4.

Python Check exponent laws with numbers

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Factoring

To factor an expression is to write it as a product. Factoring turns sums into products, which is what lets you solve equations and simplify fractions. Work through these in order:

  1. Common factor. 6x³ - 9x² = 3x²(2x - 3).
  2. Difference of squares. a² - b² = (a - b)(a + b), so x² - 49 = (x - 7)(x + 7).
  3. Perfect-square trinomials. a² ± 2ab + b² = (a ± b)², so x² + 6x + 9 = (x + 3)².
  4. Trinomials x² + bx + c. Find two numbers that multiply to c and add to b. For x² - 5x + 6, use -2 and -3: (x - 2)(x - 3).
  5. Sum and difference of cubes. a³ + b³ = (a + b)(a² - ab + b²) and a³ - b³ = (a - b)(a² + ab + b²).
  6. Grouping. x³ + 2x² + 3x + 6 = x²(x + 2) + 3(x + 2) = (x + 2)(x² + 3).

Always look for a common factor first. It simplifies every other step.

SymPy can factor and expand, so you can confirm your hand work.

Python Factor and expand with SymPy

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Algebraic fractions

A rational expression is a fraction whose numerator and denominator are polynomials. The rules are the same as for number fractions, with one extra caution: a denominator may never be zero, so each simplification carries a restriction.

Simplifying. Factor, then cancel common factors (never common terms).

(x² - 9) / (x² + 5x + 6) = ((x - 3)(x + 3)) / ((x + 2)(x + 3)) = (x - 3) / (x + 2), valid for x ≠ -3, -2.

Adding. Use a common denominator. 1/(x - 1) + 2/(x + 1) = ((x + 1) + 2(x - 1)) / ((x - 1)(x + 1)) = (3x - 1) / (x² - 1).

Multiplying and dividing. Multiply across; to divide, multiply by the reciprocal.

Do not cancel terms. In (x + 3) / 3, you cannot cancel the 3s, because 3 is a term in the numerator, not a factor of it.

Python Simplify and combine fractions

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Rationalizing a denominator

When a denominator contains a square root, multiply top and bottom by its conjugate (the same terms with the sign flipped). Because (a - b)(a + b) = a² - b², the root disappears:

1 / (√x - 2) · (√x + 2)/(√x + 2) = (√x + 2) / (x - 4).

This trick appears again in limits, where it removes square roots that cause 0/0 trouble.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is 8^(2/3)?

    The cube root of 8 is 2, and 2 squared is 4.
  2. 2. Factor x² - 5x + 6.

    -2 and -3 multiply to 6 and add to -5.
  3. 3. Which step is NOT allowed when simplifying (x + 3)/3?

    You can only cancel common factors. The 3 in the numerator is added, not multiplied.
  4. 4. Simplify (x² - 9)/(x + 3) for x ≠ -3.

    x² - 9 = (x - 3)(x + 3), and the (x + 3) factors cancel.

Summary

  • Exponent laws turn products and quotients of powers into sums and differences of exponents; a^(m/n) links powers and roots.
  • Factor in order: common factor, special patterns, trinomials, grouping.
  • Simplify rational expressions by factoring and cancelling factors, noting excluded values.
  • SymPy's factor, expand, cancel and together are handy answer checkers.

Next: Solving Equations and Inequalities