Linear Equation Solver

    Solve one-variable linear equations with steps, fractions, parentheses, domain restrictions, and an answer check.

    Supports parentheses, fractions, implicit multiplication, arithmetic operators, and powers. Use the Latin x.
    Quick input
    Equation solution
    x = 5
    Simplified form
    Variables and constants were reduced to one linear condition. Final coefficient of x: 3, constant term: -15.
    Substituting the value back into the original equation satisfies the equality and domain restrictions.

    A linear equation is an equality where x appears only to the first power. The solver expands parentheses, combines like terms, isolates x, and flags denominator restrictions.

    What a linear equation solver does

    A linear equation has the variable only to the first power after the expression is simplified. This solver accepts a full equation, expands parentheses, combines like terms, moves variable and constant terms, then shows the value of x and checks the answer.

    x is the unknown; a, b, and c are numeric coefficients in the original equation.

    A is the collected coefficient of x and B is the constant term after moving all terms to one side.

    Use this step when A is not zero.

    1. Expand parentheses and combine like terms
    2. Move x terms to one side and constants to the other
    3. Divide by the coefficient of x
    4. Substitute the answer back into the original equation

    Fractions and domain restrictions

    The solver supports numeric fractions and simple linear denominators. If a denominator can become zero, the calculator records the excluded value before multiplying both sides and checks the final answer against the original equation.

    The value 3 is excluded because it makes the denominator zero.

    Extraneous solutions
    Multiplying by a denominator can create a value that does not work in the original equation. Any answer that makes a denominator zero must be rejected.

    Possible outcomes

    ConditionResultMeaning
    Coefficient of x is not zeroOne solutionSolve for x directly
    x cancels and the statement is trueInfinitely many solutionsIdentity
    x cancels and the statement is falseNo solutionContradiction

    Limits and related algebra tasks

    This is not a full computer algebra system. It is designed for one variable and first-degree equations after simplification. If the expression contains x squared, products of two variable terms, or multiple unknowns, use a more specific solver.

    • Use the linear inequality solver for less-than or greater-than signs
    • Use a quadratic equation solver when x squared appears
    • Use a system solver when there are two or more equations

    Frequently Asked Questions

    Sources and References

    Calculations are based on the listed reference sources. Links open in a new tab.

    Updated:

    Related Tools