Solve Linear Equation step by step — enter coefficients or expressions to get roots, factors, or simplified forms with detailed algebraic working.
Formula
x = -b / a
To solve ax + b = 0, subtract b from both sides (ax = -b) and then divide by a.
Worked Examples
Example 1: Simple Equation
Problem:2x - 4 = 0
Solution:2x = 4 → x = 4/2
Result:x = 2
Example 2: Negative Slope
Problem:-3x + 9 = 0
Solution:-3x = -9 → x = -9/-3
Result:x = 3
Example 3: Fractional Result
Problem:4x + 5 = 0
Solution:4x = -5 → x = -5/4
Result:x = -1.25
Frequently Asked Questions
What is a linear equation?
A linear equation is an algebraic equation in which each term has an exponent of one and the graphing of the equation results in a straight line.
How are linear equations used in real life?
They are used for rate problems (speed/distance), budgeting (fixed cost + variable cost), and converting units (like Celsius to Fahrenheit).
Can a linear equation have two solutions?
No, a linear equation in one variable can have exactly one solution, no solution, or infinite solutions. It cannot have exactly two.
Background & Theory
**Linear Equation in One Variable:**
The standard form is **ax + b = 0**.
* **a**: Coefficient (cannot be 0 for a unique solution)
* **x**: Variable
* **b**: Constant
**Solving Steps:**
1. **Isolate the variable term:** Move the constant 'b' to the other side by subtracting it.
$$ax = -b$$
2. **Solve for x:** Divide both sides by the coefficient 'a'.
$$x = \\frac{-b}{a}$$
**Geometric Interpretation:**
If you graph the function $f(x) = ax + b$, the solution represents the **x-intercept** (the zero) of the function.
**Types of Solutions:**
* **Conditional:** One solution (a ≠ 0).
* **Identity:** Infinite solutions (a = 0, b = 0).
* **Contradiction:** No solution (a = 0, b ≠ 0).
History
The study of linear equations dates back to ancient civilizations. The Rhind Mathematical Papyrus (c. 1650 BC) from Egypt contains problems that can be solved using linear equations, often using a method called "false position."
Babylonian mathematicians also solved systems of linear equations. However, they didn't use our modern algebraic notation.
The modern symbolic notation (using x, y, a, b) was developed much later. French mathematician René Descartes (17th century) linked algebra with geometry (Cartesian coordinates), allowing linear equations to be visualized as straight lines on a graph. This breakthrough fundamentalized the concept of "slope" and "intercept."
Essential site storage stays on. Analytics, performance, and marketing cookies remain off until you choose. Calculator inputs stay on your device, and we do not sell your personal data.
We use essential cookies only. Analytics cookies require your consent.