Ekuation

purpose

Linear Equation Solver

Solve linear equations step by step. Handles fractions, decimals, parentheses, and variables on both sides. Perfect for middle school and algebra students.

Back to Equation Solver

Supports linear, quadratic, cubic, polynomial, and transcendental equations

Quick Tips

Click to show tips

Try an Example

Pick a scenario to see how the calculator works, then adjust the values

Quadratic Equation

Solve a classic quadratic with two real roots.

Key values: x^2 - 5x + 6 = 0 · Two real roots

Linear Equation

Solve a simple linear equation for x.

Key values: 3x + 7 = 22 · Single root

Transcendental Equation

Find roots of sin(x) = x/3 using numerical methods.

Key values: sin(x) = x/3 · Numerical solution

Cubic with Complex Roots

Solve a cubic equation and show complex roots.

Key values: x^3 + x + 1 = 0 · Complex roots enabled

Documentation

Linear Equations

A linear equation in one variable has the form:

ax+b=0    x=ba(a0)ax + b = 0 \implies x = -\frac{b}{a} \quad (a \neq 0)

The graph of y=ax+by = ax + b is a straight line, and the solution is where it crosses the x-axis.


Solving Strategy

  1. Distribute — remove parentheses: 3(x+2)=3x+63(x + 2) = 3x + 6
  2. Combine like terms on each side
  3. Move variable terms to one side (add/subtract)
  4. Move constant terms to the other side
  5. Divide by the coefficient of xx

Example: 5(x3)+2=3x+75(x - 3) + 2 = 3x + 7

5x15+2=3x+75x - 15 + 2 = 3x + 7 5x13=3x+75x - 13 = 3x + 7 2x=202x = 20 x=10x = 10


Special Cases

Infinitely Many Solutions

2(x+1)=2x+22(x + 1) = 2x + 2 simplifies to 0=00 = 0 — true for all xx. The equation is an identity.

No Solution

x+3=x+5x + 3 = x + 5 simplifies to 3=53 = 5 — a contradiction. The equation is inconsistent.


Translating Word Problems

Key phraseMathematical operation
“is”, “equals”, “gives”=
“more than”, “increased by”+
“less than”, “decreased by”
“times”, “of”×
“per”, “divided by”, “ratio”÷
“a number”, “how many”x (the unknown)

Frequently Asked Questions

What is a linear equation?

A linear equation in one variable has the form ax+b=0ax + b = 0, where aa and bb are constants and a0a \neq 0. The solution is x=bax = -\frac{b}{a}. The graph of y=ax+by = ax + b is a straight line, and the solution is where it crosses the x-axis.

Can a linear equation have no solution?

Yes. If simplifying leads to a contradiction like 3=53 = 5 (where the variable cancels out), the equation is inconsistent and has no solution. This happens when both sides have the same variable term but different constants.

Can a linear equation have infinitely many solutions?

Yes. If simplifying leads to a true identity like 0=00 = 0 (where everything cancels), the equation is true for all values of xx. This means both sides are identical expressions.

How do I solve a linear equation with fractions?

Multiply every term by the least common denominator (LCD) to clear all fractions first. For example, in x2+x3=5\frac{x}{2} + \frac{x}{3} = 5, multiply through by 6 to get 3x+2x=303x + 2x = 30, then solve 5x=305x = 30 to find x=6x = 6.

What are the steps for solving a linear equation?

Follow these steps: (1) distribute to remove parentheses, (2) combine like terms on each side, (3) move variable terms to one side using addition or subtraction, (4) move constant terms to the other side, (5) divide by the coefficient of xx.

Related purpose Variants

Explore more purpose options

More Math Calculators

Explore the category

Calculator Search

Search and find calculators