Linear Equation Calculator
Solve any one-variable linear equation with AI-powered step-by-step solutions
Drag & drop or click to add images or PDF
What is a Linear Equation?
A linear equation is a first-degree polynomial equation in one variable, taking the general form:
where and are constants, and . The word "linear" comes from the fact that the graph of such an equation is a straight line.
More generally, a linear equation in one variable can appear as:
which can always be rearranged into the standard form. The solution is the value of that makes both sides of the equation equal.
Linear equations are the foundation of algebra and appear everywhere in real life — from calculating costs and distances to converting units and balancing budgets. They always have exactly one solution (assuming ), which makes them the simplest type of equation to solve.
Key characteristics of linear equations:
- The variable appears only to the first power (no , , etc.)
- The graph is always a straight line
- There is exactly one solution
- They can always be solved in a finite number of algebraic steps
How to Solve a Linear Equation
Solving a linear equation means isolating the variable on one side. Here are the main approaches:
1. Basic Isolation Method
For equations in the form :
- Subtract from both sides:
- Divide both sides by :
Example: Solve
2. Variables on Both Sides
For equations like :
- Move all variable terms to one side:
- Move constants to the other side:
- Divide:
Example: Solve
3. Equations with Parentheses
First distribute, then collect like terms:
Example: Solve
4. Equations with Fractions
Multiply both sides by the LCD to eliminate fractions:
Example: Solve
- Multiply by 3:
| Method | Best When |
|---|---|
| Basic Isolation | Simple form |
| Collect Like Terms | Variable appears on both sides |
| Distribute First | Parentheses are present |
| Multiply by LCD | Fractions are present |
Common Mistakes to Avoid
- Forgetting to apply operations to both sides: Whatever you do to one side, you must do to the other.
- Sign errors when moving terms: When moving to the other side, it becomes , not .
- Not distributing correctly: , not .
- Dividing by zero: If you end up with , the equation has no solution; if , it has infinitely many solutions.
- Forgetting to simplify fractions: Always reduce your final answer to lowest terms.
Examples
Frequently Asked Questions
A linear equation is an equation where the variable appears only to the first power. Its general form is ax + b = 0, where a and b are constants and a is not zero. It always has exactly one solution.
An equation is linear if the variable is only raised to the first power. There should be no x squared, square roots of x, or x in a denominator. The graph of a linear equation is always a straight line.
Yes. If simplifying leads to a false statement like 0 = 5, there is no solution. If it leads to a true statement like 0 = 0, there are infinitely many solutions. Otherwise, there is exactly one solution.
A linear equation (like 2x + 3 = 7) is a statement to solve for x. A linear function (like f(x) = 2x + 3) defines a relationship that maps each input x to an output. The function graphs as a line; the equation asks where that line meets y = 7.
Related Solvers
Related Guides
Try AI-Math for Free
Get step-by-step solutions to any math problem. Upload a photo or type your question.
Start Solving