How to Solve for x in Algebraic Equations

#Algebra
TL;DR
To solve for $x$ means to isolate $x$ 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 $x$ stands alone.
BT
Bhanzu TeamLast updated on May 19, 20267 min read

What Does "Solve for x" Mean?

To solve for $x$ means to find the value (or values) of $x$ 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 $x$-terms to one side, all constants to the other.

  3. Isolate $x$ 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 $x$ 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^2$ as its highest power: $ax^2 + bx + c = 0$. Three methods:

Method 1: Factoring

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

Example. Solve $x^2 - 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 = \frac{-b \pm \sqrt{b^2 - 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 $x$ inside a square root (or higher root): $\sqrt{x + 3} = 5$.

Process. Isolate the radical, then square (or cube) both sides to eliminate it.

Worked example. Solve $\sqrt{x + 3} = 5$.

Step 1: Square both sides → $x + 3 = 25$. Step 2: Subtract $3$ → $x = 22$. Step 3: Check (essential — squaring can introduce extraneous roots). $\sqrt{22 + 3} = \sqrt{25} = 5$ ✓.

How to Solve for x in a Rational Equation

A rational equation has $x$ in a denominator: $\dfrac{2}{x - 1} = \dfrac{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 $\dfrac{2}{x - 1} = \dfrac{4}{3}$.

Step 1: Cross-multiply → $2 \cdot 3 = 4(x - 1)$, i.e., $6 = 4x - 4$. Step 2: Solve → $4x = 10$, so $x = \tfrac{5}{2}$. Step 3: Check $x = 5/2$ doesn't make any denominator zero ($x \neq 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^2 - 4x - 21 = 0$.

Use the quadratic formula with $a = 1, b = -4, c = -21$:

$$x = \frac{4 \pm \sqrt{16 + 84}}{2} = \frac{4 \pm 10}{2} = 7 \text{ or } -3$$

Stretch — Rational + Quadratic

Solve $\dfrac{x + 1}{x - 2} = 3$.

Cross-multiply: $x + 1 = 3(x - 2) = 3x - 6$. So $-2x = -7$, giving $x = \tfrac{7}{2}$.

Check: at $x = 7/2$, denominator $x - 2 = 3/2 \neq 0$ ✓; left side $= (7/2 + 1)/(7/2 - 2) = (9/2)/(3/2) = 3$ ✓.

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

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

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

  • Physics. Solving for the time a projectile lands, for the resistance in a circuit, for the period of a pendulum — all are solve-for-$x$ problems.

  • Economics. Equilibrium prices, break-even quantities, optimal allocations — all reduce to solving equations for an unknown.

  • Engineering. Designing for a specific load, dose, or tolerance is the question "what value of $x$ makes this equation balance?"

  • Computer science. Numerical algorithms (Newton's method, bisection) are sophisticated automations of solve-for-$x$.

The systematic solve-for-$x$ 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.

Learn more: Equation in Math

A Worked Example

Solve $3x + 5 = 14$.

The intuitive (wrong) approach. A student "deals with the $3$ first" and divides both sides by $3$:

$$\frac{3x + 5}{3} = \frac{14}{3} \implies x + \frac{5}{3} = \frac{14}{3}$$

The work goes nowhere useful — fractions everywhere, equation not simpler.

Why it fails. Operations should be undone in reverse order of how they were applied. The $5$ was added to $3x$ last, so subtract first. The $3$ multiplied $x$ first, so divide last.

The correct method. 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.

Don't do this: $3x = 14 - 5$ in one line that started as $3x + 5 = 14$.

The correct way: Every operation on the left must be done on the right too. Show the move explicitly: $3x + 5 - 5 = 14 - 5 \implies 3x = 9$.

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

Where it slips in: Solving $\sqrt{x} = -2$ and writing $x = 4$ without checking.

Don't do this: Treating $x = 4$ as a valid solution.

The correct way: Substitute back: $\sqrt{4} = 2 \neq -2$. The equation $\sqrt{x} = -2$ 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 \neq 2$.

Don't do this: From $(x - 2)(x + 3) = 0$, dividing by $(x - 2)$ to get $x + 3 = 0$.

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

  • "Solve for $x$" means isolate $x$ using the four legal moves (add, subtract, multiply, divide both sides).

  • Method depends on equation type: linear, quadratic, radical, rational, exponential — each has a specific approach.

  • Undo operations in reverse order of how they were applied.

  • Check for extraneous roots when squaring both sides or multiplying by expressions containing $x$.

  • Always verify by substituting back into the original equation.

A Practical Next Step

Try these three before moving on to systems of equations.

  1. Solve $4x - 7 = 2x + 11$.

  2. Solve $x^2 + 5x + 6 = 0$ by factoring.

  3. Solve $\sqrt{2x + 7} = 5$ and check for extraneous roots.

If problem 3 felt tricky, square both sides: $2x + 7 = 25$, so $x = 9$. Check: $\sqrt{2(9) + 7} = \sqrt{25} = 5$ ✓. Want a Bhanzu trainer to walk through more solve-for-$x$ problems? Book a free demo class — online globally.

Book a Free Demo

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What does "solve for x" mean?
It means find the value (or values) of $x$ that make the equation true. You do this by isolating $x$ on one side of the equation using the four legal moves (add, subtract, multiply, divide both sides equally).
How do I know which method to use?
By the type of equation. Linear → legal moves. Quadratic → factor, formula, or complete the square. Radical → isolate and square. Rational → multiply by common denominator. Exponential → take logs.
What is an extraneous root?
A value that satisfies the transformed equation but not the original — usually introduced when you square both sides or multiply by an expression containing the variable. Always check solutions in the original equation.
Can an equation have no solution?
Yes. $\sqrt{x} = -2$ has no real solution (square roots can't be negative). $0 = 1$ after simplification means the original equation is inconsistent.
How do I check my solution?
Substitute the value back into the original equation (not a simplified form). If both sides match, the solution is correct.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →