Skip to content
    Greek Mathematician Mascot - Daskalos
    Mathimatikos

    60% off your first year

    Terms

    Student Pro: €35.60 for the first year instead of €89

    Teacher Pro: €75.60 for the first year instead of €189

    Code LAG60. One use per account. Renews automatically at the regular price. Cancel anytime.

    View plans

    Linear equation solver

    Solve the equation of the form ax + b = 0 with integer or decimal coefficients. See how the root is checked and what happens when a = 0.

    Calculate the result

    ax+b=0 ⟹ x=−baa≠0

    Worked example

    Problem

    Solve the equation 0.5x − 1.5 = 0 and check the solution by substitution.

    The equation 0.5x − 1.5 = 0 has the unique solution x = 3.

    1. Add 1.5 to both sides

      0.5x=1.5
    2. Divide by the coefficient of x

      x=1.50.5=3
    3. Check in the original equation

      0.5⋅3−1.5=0
    Ask AI for a step-by-step solution

    Common mistake

    We divide by a only when a ≠ 0. If a = 0, the equation becomes the equality b = 0, which is either true for every x or impossible.