Linear Equation Calculator (Solve for x)
Quick answer: for ax + b = c, subtract b from both sides then divide by a: x = (c − b) ÷ a. Example: 2x + 3 = 11 gives x = 4. Two equations with two unknowns can be solved by substitution or elimination.
How to calculate linear equations
- Move the constant: subtract b from both sides.
- Divide both sides by the number in front of x.
- Check by putting x back into the equation.
- For two unknowns: make the x numbers equal, subtract the equations, solve y, then x.
Roman Urdu: Pehle constant ko dosri taraf bhej dein, phir x ke aage wale number se taqseem karein.
Linear Equation Calculator table
Quick reference values you can check your own numbers against.
| Equation | Step | x |
|---|---|---|
| 2x + 3 = 11 | x = (11 - 3) / 2 | 4 |
| 5x - 10 = 20 | x = (20 - -10) / 5 | 6 |
| 3x + 7 = 1 | x = (1 - 7) / 3 | -2 |
| 4x + 0 = 28 | x = (28 - 0) / 4 | 7 |
| -2x + 6 = 0 | x = (0 - 6) / -2 | 3 |
| 10x + 5 = 105 | x = (105 - 5) / 10 | 10 |
If a = 0 there is no unique solution.
Linear foot and other formulas
A linear foot is just one foot of length, so the price of 40 linear feet of fencing at Rs 900 a foot is Rs 36,000. Harder equations such as quadratics or differential equations need their own tools; try the quadratic equation calculator, the slope calculator for y = mx + c and the scientific calculator. Body-formula calculators (Mifflin-St Jeor, Cockcroft-Gault) have their own dedicated tools.