How to Solve for x in Algebraic Equations

How to Solve for x in Algebraic Equations

TL;DR

To solve for xxx means to isolate xxx on one side of an equation using legal moves. The method depends on the equation type — linear, quadratic, radical, rational, or exponential — but the underlying logic is always the same: undo operations in reverse order until xxx stands alone.

What Does "Solve for x" Mean?

To solve for xxx means to find the value (or values) of xxx that make the equation true. Geometrically, you're finding where the left side equals the right side.

The four legal moves that preserve equality:

  1. Add the same quantity to both sides.
  2. Subtract the same quantity from both sides.
  3. Multiply both sides by the same non-zero quantity.
  4. Divide both sides by the same non-zero quantity.

Every algebraic solving step is one of these four — or a combination. Master those, and you can solve almost any equation.

The General Process

For any equation:

  1. Simplify each side separately — combine like terms, distribute, clear fractions.
  2. Move all xxx-terms to one side, all constants to the other.
  3. Isolate xxx by undoing operations in reverse order of how they were applied.
  4. Check by substituting back into the original equation.

The four steps look the same regardless of equation type — the specifics differ.

How to Solve for x in a Linear Equation

A linear equation has xxx to the first power: ax+b=c.

Worked example. Solve 5x−3=2x+12.

Step 1: Subtract 2x from both sides → 3x−3=12. Step 2: Add 3 to both sides → 3x=15. Step 3: Divide both sides by 3 → x=5. Step 4: Check. 5(5)−3=22 and 2(5)+12=22 ✓.

How to Solve for x in a Quadratic Equation

A quadratic equation has x² as its highest power: ax²+bx+c=0.

Three methods:

Method 1: Factoring

Find numbers that multiply to give ac and add to give b.

Example. Solve x²−5x+6=0.

Look for two numbers multiplying to 6 and adding to -5: those are -2 and -3. So (x−2)(x−3)=0, giving x=2 or x=3.

Method 2: Quadratic Formula

x=−b±√(b²−4ac)/(2a).

Works for any quadratic. Use when factoring isn't obvious.

Method 3: Completing the Square

Rewrite the quadratic as a perfect square plus a constant. Useful for understanding the formula's derivation; less common for routine problem-solving.

How to Solve for x in a Radical Equation

A radical equation has xxx inside a square root: √(x + 3) = 5.

Process. Isolate the radical, then square both sides to eliminate it.

Worked example. Solve √(x + 3) = 5.

Step 1: Square both sides → x + 3 = 25. Step 2: Subtract 3 → x = 22. Step 3: Check. 22 + 3 = 25 ✓.

How to Solve for x in a Rational Equation

A rational equation has xxx in a denominator: 2/(x - 1) = 4/3.

Process. Multiply both sides by the common denominator to clear the fractions, then solve as a linear or polynomial equation.

Worked example. Solve 2/(x - 1) = 4/3.

Step 1: Cross-multiply → 2 * 3 = 4(x - 1), i.e., 6=4x−4. Step 2: Solve → 4x=10, so x=5/2. Step 3: Check x = 5/2 doesn't make any denominator zero (x≠1) ✓.

Three Worked Examples — Quick, Standard, Stretch

Quick — Linear

Solve 4(x−2) = 3x + 6.

Distribute: 4x−8 = 3x + 6. Subtract 3x: x−8 = 6. Add 8: x = 14.

Standard — Quadratic

Solve x²−4x−21=0.

Use the quadratic formula with a=1, b=−4, c=−21: x=4±√(16+84)/2 = 4±10/2=7 or -3.

Stretch — Rational + Quadratic

Solve (x + 1)/(x - 2) = 3.

Cross-multiply: x + 1 = 3(x - 2) ⇒ x + 1 = 3x - 6. So -2x = -7, giving x = 7/2. Check: at x=7/2, the denominator x−2=3/2≠0 ✓.

Why Does Solving for x Matter? (The Real-World GROUND)

"Algebra is the intellectual instrument for converting questions into answers." — adapted.

Solving for xxx — finding the value of an unknown — is the operational core of applied mathematics:

The systematic solve-for-xxx method comes from Al-Khwarizmi's 820 CE Al-Jabr — the book whose title gave us algebra. His central insight was that moving terms across an equals sign (al-jabr = "restoration") gives a systematic way to isolate unknowns.

A Worked Example

Solve 3x + 5 = 14.

The intuitive (wrong) approach. A student starts with the wrong method: dividing both sides by 3.

Step 1: 3x + 5 - 5 = 14 - 5 → 3x = 9. Step 2: 3x/3=9/3 → x=3.

Check. 3(3)+5=14 ✓.

What Are the Most Common Mistakes With "Solve for x"?

Mistake 1: Doing the same operation to one side only

Where it slips in: Adding 5 to one side and forgetting the other.

The correct way: Every operation on the left must be done on the right too.

Mistake 2: Forgetting to check for extraneous roots in radical equations

Where it slips in: Solving √(x) = -2 and writing x = 4 without checking.

The correct way: Substitute back: √(4) = 2 ≠ -2. The equation has no solution because square roots are non-negative.

Mistake 3: Dividing by zero implicitly

Where it slips in: Cancelling (x−2) from both sides without noting that x≠2.

The correct way: Don't divide by (x−2) — instead, conclude x−2=0 OR x+3=0. Dividing loses the root x=2.

Key Takeaways

A Practical Next Step

Try these three before moving on to systems of equations:

  1. Solve 4x−7=2x+11.
  2. Solve x² + 5x + 6 = 0 by factoring.
  3. Solve 2x + 7 = 5√{2x + 7} = 5 and check for extraneous roots.