notAcalculator logo

Algebra Guide: Equations, Polynomials, and Factoring Explained

A comprehensive guide to elementary algebra covering equations, polynomials, factoring, radicals, and polynomial division with worked examples.

Algebra Guide: Equations, Polynomials, and Factoring Explained

What is Algebra?

Algebra is the language of mathematics. Where arithmetic works with specific numbers, algebra works with symbols — letters that represent unknown values. This shift from "compute the answer" to "find the rule" is what makes algebra the foundation of every advanced field, from physics to computer science to economics.

This guide covers the core techniques of elementary algebra: solving equations, working with polynomials, factoring, and simplifying radicals. Each section includes worked examples and the reasoning behind the steps.

Why Algebra Matters

Algebra is not just a school subject — it is a way of thinking. When you set up an equation to find an unknown price, calculate how long a trip will take, or determine how many items you can buy with a budget, you are doing algebra.

The techniques in this guide appear in:

  • Physics: Kinematic equations (distance equals velocity times time plus half acceleration times time squared) are algebraic. Solving for any variable requires the same factoring and isolation techniques taught here.
  • Engineering: Stress-strain relationships, Ohm's law, and thermodynamic equations are all algebraic. Engineers rearrange formulas constantly.
  • Computer science: Algorithm analysis uses polynomial expressions. Big-O notation is fundamentally about comparing polynomial growth rates.
  • Finance: Compound interest formulas, loan amortization, and break-even analysis all require solving algebraic equations.
  • Everyday life: Splitting a bill, calculating discounts, converting units, and estimating travel time all use algebraic reasoning.
[khan-alg]

Core Concepts

Variables and Expressions

A variable is a symbol (usually a letter) that represents an unknown value. An expression combines variables, numbers, and operations: 3x+73x + 7, 2a2−5b+12a^2 - 5b + 1.

The degree of a polynomial is the highest power of the variable. 4x3+2x−14x^3 + 2x - 1 is a cubic (degree 3). x2+5x^2 + 5 is a quadratic (degree 2).

Equations and Solutions

An equation states that two expressions are equal: 3x+7=223x + 7 = 22. The solution is the value of the variable that makes the equation true. For this equation, x equals 5.

Solving an equation means isolating the variable using inverse operations: add or subtract to move terms, multiply or divide to remove coefficients.

Factoring

Factoring rewrites an expression as a product of simpler expressions. It is the reverse of multiplication (expansion). Factoring is essential for solving equations, simplifying fractions, and finding roots.

The most basic factoring technique is extracting the greatest common factor (GCF):

6x2+9x=3x(2x+3)6x^2 + 9x = 3x(2x + 3)

The GCF calculator finds the greatest common factor of a list of numbers, and the factor calculator lists every divisor of an integer — the raw material for factoring any polynomial with integer coefficients.

The Quadratic Formula

A quadratic equation has the form:

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

where a, b, and c are constants and a is not zero. The solutions (roots) are given by the quadratic formula:

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

The expression under the square root, b2−4acb^2 - 4ac, is called the discriminant. It determines the nature of the roots:

Positive2 distinct real rootsThe parabola crosses the x-axis twice
Zero1 real root (repeated)The parabola touches the x-axis once
Negative0 real roots (2 complex)The parabola never touches the x-axis
Number of real roots based on the discriminant (b squared minus 4ac).

The quadratic formula calculator walks through the formula step by step for the coefficients you enter, so you can follow the substitution rather than just reading the answer. The quadratic equation calculator adds the geometry: it reports the discriminant, both roots (real or complex), and the vertex of the parabola.

[stewart-alg]

FOIL Method

FOIL is a technique for multiplying two binomials. The acronym stands for First, Outer, Inner, Last:

(a+b)(c+d)=ac+ad+bc+bd(a + b)(c + d) = ac + ad + bc + bd
  • First: multiply the first terms: a times c
  • Outer: multiply the outer terms: a times d
  • Inner: multiply the inner terms: b times c
  • Last: multiply the last terms: b times d

Example: (x+3)(x+5)(x + 3)(x + 5)

  • First: x times x equals x squared
  • Outer: x times 5 equals 5x
  • Inner: 3 times x equals 3x
  • Last: 3 times 5 equals 15

Result: x2+5x+3x+15=x2+8x+15x^2 + 5x + 3x + 15 = x^2 + 8x + 15

The FOIL calculator runs the same four products for any pair of binomials and shows each intermediate term, which is the fastest way to catch a sign slip in the inner or outer step.

Perfect Square Trinomials

A perfect square trinomial is the result of squaring a binomial. Recognizing this pattern saves time in factoring:

(a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2
(a−b)2=a2−2ab+b2(a - b)^2 = a^2 - 2ab + b^2

Example: x2+6x+9x^2 + 6x + 9 is a perfect square because it equals (x+3)2(x + 3)^2. Check: 2 times x times 3 equals 6x, and 3 squared equals 9.

The perfect square trinomial calculator tests a trinomial against both patterns and returns the squared binomial when one of them matches.

Simplifying Radicals

A radical (square root) can often be simplified by factoring out perfect squares:

ab=a⋅b\sqrt{ab} = \sqrt{a} \cdot \sqrt{b}

Example: 72=36⋅2=36⋅2=62\sqrt{72} = \sqrt{36 \cdot 2} = \sqrt{36} \cdot \sqrt{2} = 6\sqrt{2}

The key insight: look for the largest perfect square factor. For 72, that is 36 (6 squared). The remaining factor (2) has no perfect square factors, so the radical is fully simplified.

The simplifying radicals calculator does that search automatically and returns the exact form, while the root calculator gives the decimal value when you need a number instead of a surd.

Polynomial Division

Polynomial long division divides one polynomial by another, similar to numerical long division. The result is a quotient and remainder.

Example: Divide x2+5x+6x^2 + 5x + 6 by x+2x + 2.

  • First term: x squared divided by x equals x. Multiply: x times (x plus 2) equals x squared plus 2x. Subtract from dividend: (x squared plus 5x plus 6) minus (x squared plus 2x) equals 3x plus 6.
  • Second term: 3x divided by x equals 3. Multiply: 3 times (x plus 2) equals 3x plus 6. Subtract: 0.

Result: x2+5x+6x+2=x+3\frac{x^2 + 5x + 6}{x + 2} = x + 3

Synthetic division is a shortcut for dividing by (x minus c). It uses only the coefficients and is faster than long division.

The polynomial division calculator does the same division from the coefficient lists of dividend and divisor, returning the quotient polynomial, the remainder, and the degree of the quotient — plus a plain yes or no when the remainder is a constant.

Expanded Form

Expanded form writes a number or expression as a sum of terms, each showing its place value:

347=3×100+4×10+7×1347 = 3 \times 100 + 4 \times 10 + 7 \times 1

For polynomials, expanded form means writing all terms explicitly, including zeros for missing powers:

x3+0x2+2x+5x^3 + 0x^2 + 2x + 5

This is useful for polynomial division and for identifying the degree and coefficients of a polynomial. For whole numbers, the expanded form calculator breaks any numeral up to 12 digits into the sum of its place-value terms — the same decomposition, applied to base ten instead of x.

[sullivan]

Key Calculations: Worked Examples

Example 1: Solving a Quadratic Equation

Problem: Solve x2−5x+6=0x^2 - 5x + 6 = 0.

Solution: Factor the quadratic. We need two numbers that multiply to 6 and add to -5. Those numbers are -2 and -3:

x2−5x+6=(x−2)(x−3)=0x^2 - 5x + 6 = (x - 2)(x - 3) = 0

Set each factor to zero: x equals 2 or x equals 3.

Verify with the quadratic formula: a equals 1, b equals -5, c equals 6.

x=5±25−242=5±12x = \frac{5 \pm \sqrt{25 - 24}}{2} = \frac{5 \pm 1}{2}

x equals 3 or x equals 2. Both methods agree.

Example 2: Using the Discriminant

Problem: Determine the nature of the roots of 2x2+3x+5=02x^2 + 3x + 5 = 0.

Solution: Compute the discriminant:

b2−4ac=9−4(2)(5)=9−40=−31b^2 - 4ac = 9 - 4(2)(5) = 9 - 40 = -31

Since the discriminant is negative, there are no real roots. The parabola does not cross the x-axis. The roots are complex: x=−3±−314=−3±i314x = \frac{-3 \pm \sqrt{-31}}{4} = \frac{-3 \pm i\sqrt{31}}{4}.

Example 3: FOIL with Negative Terms

Problem: Multiply (2x−3)(x+4)(2x - 3)(x + 4).

Solution: Apply FOIL:

  • First: 2x times x equals 2x squared
  • Outer: 2x times 4 equals 8x
  • Inner: negative 3 times x equals negative 3x
  • Last: negative 3 times 4 equals negative 12
2x2+8x−3x−12=2x2+5x−122x^2 + 8x - 3x - 12 = 2x^2 + 5x - 12

Example 4: Factoring a Perfect Square

Problem: Factor x2−10x+25x^2 - 10x + 25.

Solution: Check if it is a perfect square. The first term is x squared (a squared with a equals x). The last term is 25 (b squared with b equals 5). The middle term should be negative 2ab equals negative 10x. It matches.

x2−10x+25=(x−5)2x^2 - 10x + 25 = (x - 5)^2

Example 5: Simplifying a Radical

Problem: Simplify 200\sqrt{200}.

Solution: Factor 200 to find the largest perfect square. 200 equals 100 times 2, and 100 is 10 squared.

200=100⋅2=100⋅2=102\sqrt{200} = \sqrt{100 \cdot 2} = \sqrt{100} \cdot \sqrt{2} = 10\sqrt{2}

Example 6: Polynomial Long Division

Problem: Divide x3−2x2−5x+6x^3 - 2x^2 - 5x + 6 by x−1x - 1.

Solution: Step by step:

  • First term: x cubed divided by x equals x squared. Multiply: x squared times (x minus 1) equals x cubed minus x squared. Subtract: (x cubed minus 2x squared minus 5x plus 6) minus (x cubed minus x squared) equals negative x squared minus 5x plus 6.
  • Second term: negative x squared divided by x equals negative x. Multiply: negative x times (x minus 1) equals negative x squared plus x. Subtract: (negative x squared minus 5x plus 6) minus (negative x squared plus x) equals negative 6x plus 6.
  • Third term: negative 6x divided by x equals negative 6. Multiply: negative 6 times (x minus 1) equals negative 6x plus 6. Subtract: 0.
x3−2x2−5x+6x−1=x2−x−6\frac{x^3 - 2x^2 - 5x + 6}{x - 1} = x^2 - x - 6
[paul-alg]

Practical Applications

Physics: Projectile Motion

The height of a projectile is modeled by a quadratic equation: h equals v sub 0 times t plus one-half g t squared, where v sub 0 is initial velocity, g is gravitational acceleration, and t is time. Finding when the projectile hits the ground means solving h equals 0 — a quadratic equation. The two roots represent the launch time and the landing time.

Engineering: Structural Design

Engineers use polynomial equations to model stress and strain in materials. The relationship between load and deformation is often quadratic or cubic. Factoring these polynomials reveals critical points where the structure might fail.

Computer Science: Algorithm Complexity

The time complexity of nested loops is often expressed as a polynomial. A single loop is O of n (linear). Nested loops are O of n squared (quadratic). Understanding polynomial growth rates helps programmers choose efficient algorithms.

Finance: Break-Even Analysis

The break-even point occurs when revenue equals cost. If revenue R of x equals 5x and cost C of x equals 2x plus 100, then break-even is where 5x equals 2x plus 100, giving x equals 33.33 units. For quadratic cost functions, this requires solving a quadratic equation.

Everyday Life: Area and Perimeter

If you have 20 meters of fencing and want to enclose a rectangular garden, the area depends on the dimensions. Let the width be w and the length be 20 minus 2w (perimeter constraint). The area A equals w times (20 minus 2w) equals 20w minus 2w squared — a quadratic. Finding the maximum area requires factoring or using the vertex formula.

[wolfram]

Comparison Tables

Factoring Techniques by Expression Type

GCF presentExtract GCF6x squared plus 9x equals 3x times (2x plus 3)
Difference of squaresa squared minus b squared equals (a minus b)(a plus b)x squared minus 9 equals (x minus 3)(x plus 3)
Perfect square trinomial(a plus or minus b) squaredx squared plus 6x plus 9 equals (x plus 3) squared
General trinomialFind two numbers that multiply to ac and add to bx squared plus 5x plus 6 equals (x plus 2)(x plus 3)
Sum or difference of cubesa cubed plus or minus b cubedx cubed minus 8 equals (x minus 2)(x squared plus 2x plus 4)

Quadratic Formula: When to Use Which Method

Easily factorable (small integers)FactoringFastest, no square roots needed
Perfect square trinomialSquare rootDirect, one step
Not easily factorableQuadratic formulaAlways works, even for irrational roots
Leading coefficient not 1Quadratic formula or groupingFactoring is harder with non-unit leading coefficient
Need exact vs. approximateQuadratic formulaGives exact radical form; calculator gives decimal
Reliability of different methods for solving quadratics (higher = more universally applicable).

Common Mistakes

  1. Sign errors in the quadratic formula: The formula is x equals negative b plus or minus the square root, all over 2a. The negative applies to b, not to the entire numerator. A common error is writing (b plus or minus sqrt(...)) over 2a instead of (-b plus or minus sqrt(...)) over 2a.

  2. Forgetting to check the discriminant: Before computing the roots, check if the discriminant is negative. If it is, there are no real solutions, and you can save time by not trying to take the square root of a negative number.

  3. Incomplete factoring: Always check if the factored result can be factored further. For example, x squared minus 4 factors as (x minus 2)(x plus 2), but x to the fourth minus 16 factors as (x squared minus 4)(x squared plus 4), which further factors to (x minus 2)(x plus 2)(x squared plus 4).

  4. FOIL sign errors: When multiplying (x minus 3)(x plus 4), the inner term is negative 3 times x equals negative 3x, not positive 3x. Sign errors in FOIL are the most common algebra mistake.

  5. Radical simplification shortcuts: Do not try to simplify a sum of radicals by combining them unless they have the same radicand. 2+3\sqrt{2} + \sqrt{3} cannot be simplified to 5\sqrt{5}. Only 2+2=22\sqrt{2} + \sqrt{2} = 2\sqrt{2} works, because the radicands match.

  6. Polynomial division remainder: In polynomial long division, if there is a remainder, the answer is quotient plus remainder over divisor. Do not forget to include the remainder — it is part of the result.

Frequently Asked Questions

❓ What is the quadratic formula, and when do I use it?
✅ The quadratic formula is x equals negative b plus or minus the square root of (b squared minus 4ac), all over 2a. It gives the solutions to any quadratic equation ax squared plus bx plus c equals 0. Use it when factoring is difficult or impossible, or when you need exact answers for irrational roots.
❓ What is the discriminant?
✅ The discriminant is b squared minus 4ac, the expression under the square root in the quadratic formula. If it is positive, there are two real roots. If zero, one repeated root. If negative, no real roots (two complex roots). It tells you about the roots without computing them.
❓ What does FOIL stand for?
✅ FOIL stands for First, Outer, Inner, Last. It is a method for multiplying two binomials: multiply the First terms, then the Outer terms, then the Inner terms, then the Last terms, and add the results.
❓ How do I factor a quadratic?
✅ Find two numbers that multiply to the constant term (c) and add to the coefficient of x (b). For x squared plus 5x plus 6, the numbers are 2 and 3 (multiply to 6, add to 5). Write as (x plus 2)(x plus 3). If no such integers exist, use the quadratic formula.
❓ What is a perfect square trinomial?
✅ A trinomial of the form a squared plus or minus 2ab plus b squared, which equals (a plus or minus b) squared. For example, x squared plus 6x plus 9 equals (x plus 3) squared. Recognizing this pattern allows instant factoring.
❓ How do I simplify a radical?
✅ Factor the number under the radical to find the largest perfect square. Then split: square root of (perfect square times remainder) equals square root of perfect square times square root of remainder. For example, square root of 72 equals square root of 36 times 2 equals 6 times square root of 2.
❓ What is polynomial long division?
✅ It is the process of dividing one polynomial by another, similar to numerical long division. You divide the leading terms, multiply, subtract, and repeat until the remainder is zero or has lower degree than the divisor.
❓ Why is algebra important?
✅ Algebra is the foundation of all advanced mathematics and science. It provides the tools to model real-world situations with equations, solve for unknown quantities, and analyze relationships between variables. Without algebra, there is no calculus, physics, engineering, or computer science.
❓ What is the difference between an expression and an equation?
✅ An expression is a combination of numbers, variables, and operations without an equals sign (like 3x plus 7). An equation states that two expressions are equal (like 3x plus 7 equals 22). You simplify expressions; you solve equations.
❓ Can I solve a quadratic without the quadratic formula?
✅ Yes, if it factors easily. Try factoring first. If the factors are not obvious (especially with large or non-integer coefficients), use the quadratic formula. Completing the square is another method that always works but is more steps.

Glossary

  • Binomial: A polynomial with two terms, like x plus 3.
  • Coefficient: The number multiplied by a variable in a term, like the 5 in 5x.
  • Discriminant: The expression b squared minus 4ac under the square root in the quadratic formula.
  • Equation: A statement that two expressions are equal.
  • Expression: A combination of numbers, variables, and operations.
  • Factoring: Rewriting an expression as a product of simpler expressions.
  • FOIL: First, Outer, Inner, Last — a method for multiplying binomials.
  • GCF (Greatest Common Factor): The largest factor shared by all terms in an expression.
  • Monomial: A polynomial with one term, like 3x squared.
  • Polynomial: An expression with variables raised to non-negative integer powers.
  • Quadratic: A polynomial of degree 2, like ax squared plus bx plus c.
  • Radical: A root expression, like the square root of 2.
  • Root: A value that makes an equation true (also called a solution or zero).
  • Trinomial: A polynomial with three terms, like x squared plus 5x plus 6.
  • Variable: A symbol representing an unknown value.

References

  1. [1]Stewart, James, Redlin, Lothar, and Watson, Saleem. (2015). Algebra and Trigonometry (4th ed.). Cengage Learning.Buy on Amazon
  2. [2]Sullivan, Michael. (2017). Algebra and Trigonometry (10th ed.). Pearson.Buy on Amazon
  3. [3]Khan Academy. Algebra course (free).
  4. [4]Paul's Online Math Notes. Algebra (free).
  5. [5]Wolfram MathWorld. Algebra (free reference).
Give us your feedback! Was this useful?
1b

UnByte — Independent Software Engineering

All reference data cites its sources — Editorial policy