Solve linear equations in one variable with detailed step-by-step working. Enter equations in the form ax + b = c or ax + b = cx + d and get the exact solution for x with a verification check.
Solve for x in the equation 2x + 3 = 7.
Step 1: Subtract 3 from both sides: 2x = 7 โ 3 = 4
Step 2: Divide both sides by 2: x = 4 รท 2 = 2
Verification: 2(2) + 3 = 4 + 3 = 7 โ
This is the most common form of linear equation encountered in algebra.
Solve for x when x appears on both sides: 3x + 5 = x + 9.
Step 1: Subtract x from both sides: 2x + 5 = 9
Step 2: Subtract 5 from both sides: 2x = 4
Step 3: Divide both sides by 2: x = 2
Verification: 3(2) + 5 = 11 and 2 + 9 = 11 โ
Solve for x: 4x โ 8 = 12.
Step 1: Add 8 to both sides: 4x = 12 + 8 = 20
Step 2: Divide both sides by 4: x = 20 รท 4 = 5
Verification: 4(5) โ 8 = 20 โ 8 = 12 โ
You have $50 for a month of music streaming. The service costs $8 per month plus a $10 sign-up fee. How many months can you subscribe?
Equation: 8x + 10 = 50, where x = number of months
Step 1: Subtract 10: 8x = 40
Step 2: Divide by 8: x = 5 months
Verification: 8(5) + 10 = 40 + 10 = 50 โ You can subscribe for 5 months.
A linear equation is an equation that represents a straight line when graphed. In one variable, a linear equation has the form ax + b = c, where a, b, and c are constants and a โ 0. The goal is to find the value of x that makes the equation true.
Plug your solution back into the original equation. If both sides are equal, your answer is correct. This is the simplest way to catch mistakes.
Whatever operation you perform on one side of the equation, you must perform on the other side. This keeps the equation balanced.
If a = 0 in ax + b = c, the equation is either impossible (b โ c) or always true (b = c). If a = c in the both-sides form, the x terms cancel and you may have a contradiction or identity.
When the solution is a fraction, leave it in fraction form for exact precision. Our calculator shows both exact fractional form and decimal approximation.
Our Linear Equation Solver is a comprehensive tool designed to help students, teachers, and professionals solve linear equations in one variable with complete transparency. Whether you're studying algebra, preparing for exams, or just need a quick calculation, this solver provides not just the answer but the complete step-by-step reasoning behind it.
A linear equation in one variable has the general form ax + b = c, where a, b, and c are constants and a โ 0. The solution is given by isolating x through inverse operations:
For equations where x appears on both sides (ax + b = cx + d), the solution is:
Linear equations are the foundation of algebra and appear in countless real-world applications:
Select between 'ax + b = c' (simple) and 'ax + b = cx + d' (x on both sides) using the toggle buttons at the top.
Input the coefficients and constants. You can use whole numbers, decimals, or fractions. The equation preview updates in real time.
Click "Solve for x" to see the solution, step-by-step working, and answer verification all at once.
Check the verification section to confirm your answer is correct by seeing it substituted back into the original equation.
To isolate x, think about what operations are applied to x and reverse them. If x is multiplied by a and then added to b, reverse by subtracting b first, then dividing by a. This "undoing" approach works for any linear equation.
Whatever you do to one side, do to the other. This is the golden rule of algebra. Write each step clearly to avoid mistakes, especially with negative numbers and fractions.
Always substitute your answer back into the original equation. Both sides should be equal. If they're not, go back and check each step โ the mistake is often a simple arithmetic error.
โ ๏ธ Important Note: This Linear Equation Solver is for educational and informational purposes only. While the calculations are accurate, always double-check important results independently. The calculator assumes standard algebraic conventions and may not handle certain edge cases (such as symbolic variables or systems of equations). For complex mathematical problems, consult a qualified mathematics professional or instructor.