Report

Help us improve this tool

Linear Equation Solver

Solve single-variable linear equations with detailed step-by-step mathematical breakdown and instant verification.

O M T

Understanding Linear Equations

A linear equation is a mathematical statement that expresses the equality of two algebraic expressions containing one or more variables raised to the first power. The most common form of a single-variable linear equation is $ax + b = 0$, where $a$ and $b$ are constants, and $x$ is the variable to solve.

How to Solve Linear Equations Step by Step

Solving a linear equation involves finding the value of the variable that makes the equation true. Here are the core steps to solve any linear equation:

  1. Simplify Both Sides: Distribute any multiplication across parentheses, combine like terms, and remove any fractions by multiplying both sides by the denominator.
  2. Isolate the Variable: Move all terms containing the variable (e.g., $x$) to one side of the equation (usually the left side) and all constant numbers to the opposite side.
  3. Combine Like Terms: Combine the variable coefficients and simplify the constants to obtain a simplified expression of the form $Ax = B$.
  4. Solve: Divide both sides by the variable's coefficient ($A$) to find the final value: $$x = \frac{B}{A}$$

Example Calculations

Let us solve the equation $3x + 5 = 20$:

  • Subtract $5$ from both sides: $3x = 15$
  • Divide both sides by $3$: $x = 5$

Frequently Asked Questions

What is a linear equation?

A linear equation is a first-degree algebraic equation where the variable is only raised to the power of 1. When plotted on a graph, it represents a straight line.

How does this tool solve equations?

This tool parses your linear equation using a mathematical interpreter, groups all variables on the left side, groups constants on the right, and isolates the variable to find the exact solution.

Can it handle equations with parentheses and fractions?

Yes. The parser supports equations with parentheses like $2(x - 3) = 10$ and fractions like $x/2 + 3 = 7$.

What is an identity equation?

An identity equation is an equation that is true for all possible values of the variable, such as $x + 2 = x + 2$. The tool will indicate that there are infinitely many solutions.

What happens if there is no solution?

If an equation simplifies to a contradiction like $0 = 5$, it means no value of the variable can make the equation true. The tool will identify this as a contradiction with no solution.