Linear Equation Calculator
Solve linear algebraic equations of the form ax + b = c with full step-by-step mathematical deduction and solution classification.
Did this calculation save you time?
Student ProjectHi! I'm a student developer building Calculat in my spare time. I was tired of searching for basic math tools and having to click through 10 spammy popups, loan ads, and cookie trackers.
I keep this website 100% free, private, and ad-free. If this helped you with your homework, project, or finances today, bookmarking this page or telling a friend helps me keep building more free tools!
What Is a Linear Equation Calculator?
A linear equation in one variable is a first-degree polynomial equation of the canonical form ax + b = c, where a and b are constants and a ≠ 0. It represents a straight line and has exactly one unique real solution.
How to Use This Calculator
- Enter coefficient a, constant b, and the right-hand constant c.
- View the exact decimal solution for x.
- Follow the step-by-step balance method showing subtraction and division on both sides.
Linear Equation Isolation Formula
ax + b = c \implies ax = c - b \implies x = \frac{c - b}{a}Subtract constant b from both sides of the equation, then divide by coefficient a to isolate the variable x.
Worked Example
Scenario: Solve 3x + 7 = 22
Given equation: 3x + 7 = 22
Subtract 7 from both sides: 3x = 22 - 7 = 15
Divide both sides by 3: x = 15 / 3 = 5
Tips & Key Notes
- If a = 0 and b = c, the equation simplifies to 0 = 0, which means there are infinitely many solutions.
- If a = 0 and b ≠ c, the equation simplifies to 0 = non-zero, meaning no solution exists.
- Always check your solution by substituting the value of x back into the original equation.
Frequently Asked Questions
What constitutes a linear equation?
A linear equation has an exponent of 1 on all variables. Its graph on a Cartesian coordinate plane is always a straight line.
What happens if coefficient a is 0?
If a = 0, the variable x vanishes. If the remaining statement is true (e.g. 5 = 5), any real number is a solution; if false (e.g. 5 = 10), no solution exists.
Can this solver handle negative numbers and decimals?
Yes, coefficients can be positive, negative, integers, or floating-point decimal values.
How do you check if a linear solution is correct?
Substitute your calculated x value back into the left side: if the computed result equals the right side (c), the solution is verified.
Related Calculators
Explore similar toolsQuadratic Equation Calculator
Solve quadratic equations ax² + bx + c = 0 using the quadratic formula. Computes discriminant Δ, real and complex conjugate roots, vertex, and axis of symmetry.
System of Linear Equations Calculator
Solve simultaneous 2x2 and 3x3 systems of linear equations using Cramer’s Rule and matrix determinants with step-by-step work.
Average Calculator
Compute the arithmetic mean, median, mode, sum, count, and range for any set of numbers.