Algebra Equation Solver: Step-by-Step Methods for Linear and Quadratic Problems



Math & Calculator Cheat Sheet

Essential formulas, conversion tables, and calculator tips for students and professionals.

Disclosure: This post contains affiliate links. If you click through and make a purchase, we may earn a small commission at no extra cost to you. Thank you for supporting this site!

You’re staring at an algebra problem that looks like 2x + 5 = 13, and you’ve got maybe 30 seconds before your teacher asks if you’ve finished. Your instinct is to guess, or worse, to just plug numbers in until something works. But here’s the real problem: without understanding why the steps work, you’ll freeze when the numbers change or the equation gets messier. That’s where most students get stuck—not because they’re bad at math, but because they’ve learned the rules without the reasoning. An algebra equation solver can verify your answer instantly, but only if you know how to set up the problem correctly in the first place. This guide walks you through solving linear and quadratic equations step-by-step, showing you exactly how online calculators work and why each move you make actually matters. By the end, you’ll be able to solve equations by hand, check your work with a tool like Wolfram Alpha or Symbolab, and understand the math deeply enough to explain it to someone else.

Why Most Students Solve Equations the Wrong Way

The typical classroom approach teaches equations like a cookbook: “Do this, then do that.” Subtract 5 from both sides, divide by 2, and boom—you have your answer. Students memorize the process, pass the test, and forget it three weeks later. The real issue is that nobody explains what you’re actually trying to do. An equation is a balance scale. If you put a 10-pound weight on the left and a 10-pound weight on the right, the scale stays balanced. The moment you add 3 pounds to the left without adding 3 pounds to the right, the scale tips. That’s why you must do the same operation to both sides of every equation—not because your teacher said so, but because breaking that rule breaks the balance.

I’ve watched students reverse operations when they panic (multiplying instead of dividing), forget to distribute negative signs, and skip entire steps because they think they can “see” the answer. These aren’t careless mistakes—they’re symptoms of not understanding what the equation represents. When you see 3(x + 2) = 15, if you don’t know why you must distribute the 3 to both the x and the 2, you’ll inevitably make an error on a harder problem. Online calculators show you the answer, but they don’t always show you the reasoning. That’s what this guide does: it builds your intuition so you know exactly what to do and why.

Linear Equations: The Foundation Every Student Needs

A linear equation is any equation where the variable (usually x) appears only to the first power—no x², no x³, just plain x. Think of it like a simple recipe: start with an unknown ingredient, mix it with known quantities, and figure out what the unknown was. The general form is ax + b = c, where a, b, and c are numbers you know, and x is what you’re solving for. The goal is always the same: isolate x on one side of the equation so you can read off its value.

Let’s work through a real example: 2x + 5 = 13. Your first instinct might be to guess (maybe x = 4?), but guessing doesn’t scale to harder problems. Instead, follow this process: your goal is to get x by itself, so move the +5 to the other side by subtracting 5 from both sides. You get 2x + 5 − 5 = 13 − 5, which simplifies to 2x = 8. Now x is almost isolated—it’s being multiplied by 2, so divide both sides by 2 to get x = 4. Notice that we always do the opposite operation: if something is being added, we subtract it; if something is being multiplied, we divide it. This “undo” strategy is the core principle of solving any equation.

Here’s a more complex example to test your understanding: 3x − 7 = 20. Start by adding 7 to both sides (the opposite of subtracting 7): 3x − 7 + 7 = 20 + 7, so 3x = 27. Then divide by 3: x = 9. To verify, plug 9 back into the original equation: 3(9) − 7 = 27 − 7 = 20. Correct! This check is crucial—it tells you instantly whether your answer makes sense. Tools like Khan Academy’s equation solver or Desmos will confirm this result, but now you know how to get there yourself.

Quadratic Equations: When Equations Get a Second Power

Quadratic equations are the next level of complexity. They have a variable squared (x²) as their highest power, and they can have up to two solutions instead of one. The standard form is ax² + bx + c = 0, where a, b, and c are numbers and a cannot be zero (otherwise it’s not quadratic, it’s linear). A quadratic equation represents a parabola—a U-shaped curve—and solving it means finding where that curve crosses the x-axis.

The most reliable method for solving any quadratic is the quadratic formula: x = (−b ± √(b² − 4ac)) / 2a. This formula works for every quadratic equation, even when factoring is tricky or when the solutions aren’t whole numbers. Let’s apply it to a concrete example: x² + 5x + 6 = 0. Here, a = 1, b = 5, and c = 6. Plug these into the formula: x = (−5 ± √(25 − 24)) / 2, which becomes x = (−5 ± √1) / 2, so x = (−5 ± 1) / 2. This gives you two answers: x = (−5 + 1) / 2 = −2 and x = (−5 − 1) / 2 = −3. Both −2 and −3 are solutions—this equation has two x-intercepts.

But before you jump straight to the formula, understand what’s happening underneath. The expression b² − 4ac is called the discriminant, and it tells you how many solutions exist. If the discriminant is positive (like our example with a value of 1), you have two solutions. If it equals zero, you have exactly one solution (the parabola just touches the x-axis). If it’s negative, you have no real solutions—the parabola never crosses the x-axis. This insight matters because it tells you whether your problem even has an answer in the real number system. A calculator will spit out an answer, but understanding the discriminant tells you whether that answer makes sense.

Alternative Methods: Factoring and Completing the Square

While the quadratic formula is foolproof, it’s not always the fastest path. Factoring—breaking the equation into two simpler expressions—works beautifully when the numbers cooperate. For x² + 5x + 6 = 0, you’re looking for two numbers that multiply to 6 and add to 5. Those numbers are 2 and 3, so you can rewrite the equation as (x + 2)(x + 3) = 0. This tells you immediately that either x + 2 = 0 (so x = −2) or x + 3 = 0 (so x = −3). Same answers, way faster—but only if you can spot the factors quickly, which requires practice.

Completing the square is a third method that bridges factoring and the quadratic formula. It involves rearranging the equation so that one side becomes a perfect square. For x² + 6x + 9, you recognize that this is (x + 3)² because (x + 3)² expands to x² + 6x + 9. This method is more work than factoring for simple problems, but it’s incredibly useful for understanding why the quadratic formula works in the first place. Most students skip it in favor of the formula, but learning it deepens your intuition about how quadratics behave.

Online calculators like Wolfram Alpha, Symbolab, and Microsoft Math Solver typically show you multiple methods. If you input x² + 5x + 6 = 0 into Wolfram Alpha, it displays the factored form, the quadratic formula steps, and the solutions all in one place. This is perfect for learning: solve the problem yourself, then check each method against what the calculator shows. You’ll start to see patterns in which method works best for which problem type.

Common Mistakes and How to Avoid Them

Mistake #1: Forgetting to distribute. When you see 2(x + 3), you must multiply the 2 by both the x and the 3, giving 2x + 6, not 2x + 3. This seems obvious in isolation, but in a longer problem, students often apply it to one term and forget the other. Catch yourself by circling what you’re distributing and checking every term inside the parentheses.

Mistake #2: Losing track of negative signs. The expression −3(x − 4) becomes −3x + 12, not −3x − 12, because the negative three multiplies the negative four to give a positive twelve. Test this: if x = 1, then −3(1 − 4) = −3(−3) = 9. And −3(1) + 12 = −3 + 12 = 9. Correct! But −3(1) − 12 = −15, which is wrong. The fix: rewrite −3(x − 4) as −3(x) + (−3)(−4) so you can see every operation clearly.

Mistake #3: Forgetting the ± in the quadratic formula. Many students write x = (−b + √(b² − 4ac)) / 2a and miss the negative option entirely. This means they find only one solution when two exist. The ± symbol is not a typo—it’s telling you to calculate the formula twice, once with addition and once with subtraction. When you use an online calculator, it will show both solutions separated by a comma or on different lines. If your hand-solved answer shows only one solution, double-check that you calculated both ± versions.

Mistake #4: Not checking your work. After you solve an equation, substitute your answer back into the original equation. If it doesn’t balance, you made an error somewhere. This takes 20 seconds and catches most mistakes before you move on. A calculator will auto-verify, but doing it yourself builds the habit of checking your own reasoning—which is more valuable than the answer itself.

Using Online Calculators as a Learning Tool, Not a Shortcut

An algebra calculator should be your teacher’s assistant, not your replacement. The workflow is: solve the problem yourself, get an answer, then use the calculator to verify. If the calculator agrees, great—you’ve reinforced your understanding. If it disagrees, the calculator becomes a diagnostic tool. Compare each step side-by-side to find where you went wrong. This is infinitely more valuable than simply copying the calculator’s answer.

Wolfram Alpha (wolframalpha.com) is perhaps the most detailed. If you search for “solve 2x + 5 = 13”, it shows the answer (x = 4), a step-by-step solution, a number line visualization, and related properties. The step-by-step breakdown is often educational on its own. Symbolab (symbolab.com) offers similar features with slightly different presentation; many students prefer its layout. Microsoft Math Solver (mathsolver.microsoft.com) is free and integrates with Microsoft products—useful if you’re working in OneNote or want to photograph a problem with your phone. Desmos (desmos.com) is exceptional for visualizing what your equation looks like as a graph, which helps you understand the shape of the solution.

The calculator to use depends on your learning style and the problem type. For linear equations, any calculator works fine. For quadratics, a calculator that shows the parabola graph is worth its weight in gold—seeing the curve helps you understand why two solutions exist and where they’re located. Many students find that graphing the parabola makes the concept of “roots” or “zeros” finally click, because they can literally see the points where the curve meets the x-axis.

Worked Examples: Linear Equations Step-by-Step

Example 1: 4x − 3 = 13

  1. Identify what’s being done to x: it’s being multiplied by 4 and then 3 is being subtracted.
  2. Undo the subtraction first (work backward through the order of operations): add 3 to both sides. 4x − 3 + 3 = 13 + 3 gives 4x = 16.
  3. Undo the multiplication: divide both sides by 4. x = 4.
  4. Check: 4(4) − 3 = 16 − 3 = 13. ✓

Example 2: (x + 2) / 3 = 5

  1. The entire (x + 2) is divided by 3. Multiply both sides by 3: (x + 2) / 3 × 3 = 5 × 3 gives x + 2 = 15.
  2. Subtract 2 from both sides: x = 13.
  3. Check: (13 + 2) / 3 = 15 / 3 = 5. ✓

Example 3: 5(2x − 1) = 45

  1. Distribute the 5: 10x − 5 = 45.
  2. Add 5 to both sides: 10x = 50.
  3. Divide by 10: x = 5.
  4. Check: 5(2(5) − 1) = 5(10 − 1) = 5(9) = 45. ✓

Notice the pattern: identify what’s being done to x in reverse order of operations (PEMDAS backward), then undo each operation one at a time. The moment you have trouble with a step, slow down and write out the arithmetic fully—don’t try to do it in your head.

Worked Examples: Quadratic Equations Using Multiple Methods

Example: x² − 4 = 0 (Factoring)

This is a difference of squares: x² − 4 = (x − 2)(x + 2) = 0. So either x − 2 = 0, giving x = 2, or x + 2 = 0, giving x = −2. Check both: 2² − 4 = 0 ✓ and (−2)² − 4 = 0 ✓. Both work because factoring gives exact solutions.

Example: x² − 4x + 3 = 0 (Factoring)

You need two numbers that multiply to 3 and add to −4. Those are −1 and −3. So (x − 1)(x − 3) = 0, giving x = 1 and x = 3. Verify: 1² − 4(1) + 3 = 1 − 4 + 3 = 0 ✓ and 3² − 4(3) + 3 = 9 − 12 + 3 = 0 ✓.

Example: x² + 2x − 1 = 0 (Quadratic Formula)

Here a = 1, b = 2, c = −1. The discriminant is b² − 4ac = 4 − (4)(1)(−1) = 4 + 4 = 8. Using the formula: x = (−2 ± √8) / 2 = (−2 ± 2√2) / 2 = −1 ± √2. So x ≈ −1 + 1.414 = 0.414 and x

Disclosure: This article may contain affiliate links. If you make a purchase through these links, we may earn a small commission at no additional cost to you. We only recommend products and services we believe will add value to our readers.

Calcvortex
Calcvortex

The CalcVortex team builds and reviews online calculators, converters, and mathematical tools. Each calculator is tested for accuracy against industry-standard formulas and verified with real-world scenarios.

Articles: 185

Explore Our Sites

Math & Calculator Cheat Sheet

Essential formulas, conversion tables, and calculator tips for students and professionals.

No spam. Unsubscribe anytime.

Featured on
Listed on DevTool.ioListed on SaaSHubFeatured on FoundrListFeatured on Twelve Tools
Featured on
Listed on DevTool.ioListed on SaaSHub