Linear equations become manageable when you use the same order of operations every time. This guide shows how to solve equations step by step when they contain fractions, decimals, parentheses, or variables on both sides. You will also learn how to simplify safely, recognize one solution, no solution, and infinitely many solutions, and check your answer with a calculator or substitution.
Overview
A linear equation is an equation in which the variable has a first power, such as 3x + 5 = 20 or 4(x - 2) = 2x + 10. The goal is usually to solve for x: find the value that makes the left side and right side equal.
The central principle is to perform the same valid operation on both sides. You can add, subtract, multiply, or divide both sides by the same number, provided you do not divide by zero. Think of the equation as a balanced scale: changing only one side destroys the balance.
Use this general workflow:
- Simplify each side by distributing and combining like terms.
- Clear fractions or decimals when doing so makes the equation easier to read.
- Move variable terms to one side and constant terms to the other.
- Divide by the coefficient of the variable.
- Check the result in the original equation.
The first operation depends on the equation. This comparison can help:
| What appears in the equation? | Useful first move | Reason |
|---|---|---|
| Parentheses | Distribute | It exposes terms that can be combined or moved. |
| Fractions | Multiply by the least common denominator | It removes fraction bars and reduces arithmetic errors. |
| Decimals | Multiply by a power of 10 | It converts decimals into whole-number coefficients. |
| Variables on both sides | Move one variable term | It collects all variable terms together. |
| Only simple terms | Undo addition or subtraction, then multiplication or division | It reverses the operations in the correct order. |
How to estimate
For an equation, “estimate” means making a quick prediction before solving exactly. This is useful for catching sign and arithmetic mistakes. For example, in 4x + 3 = 19, you can see that 4x must equal 16, so x should be near 4. If your exact work produces 40 or -4, revisit the steps.
For more complicated equations, estimate by simplifying mentally or testing a nearby value. Consider:
0.5x + 2.1 = 7.1
The difference between 7.1 and 2.1 is 5, and 5 divided by 0.5 is 10. Therefore, an answer of x = 10 is reasonable before you write the formal solution.
When solving equations step by step, write one major operation per line. A clean layout makes it easier to identify whether a sign changed, a denominator was cleared correctly, or a term was accidentally dropped. Keep the equals signs aligned:
0.5x + 2.1 = 7.1
0.5x = 5
x = 10
After solving, substitute the value into the original equation rather than only the simplified version. For x = 10, the check is 0.5(10) + 2.1 = 7.1, which gives 7.1 = 7.1.
An equation calculator can help verify arithmetic, but it should not replace the written process when you need to show work. Enter the complete original equation if the tool supports equation input. If it requires an expression, solve for one side first and compare the two sides using your proposed value.
Inputs and assumptions
Before solving, identify the parts of the equation that affect your method:
- Variable terms: terms containing x, such as 7x or -x.
- Constants: numbers without a variable, such as 4, -9, or 2.5.
- Coefficients: numbers multiplying the variable. In -3x, the coefficient is -3.
- Denominators: numbers below fraction bars. Check that a clearing factor is a common multiple of every denominator.
- Like terms: terms with the same variable part. For example, 3x and -5x are like terms, but x and x squared are not.
Use these assumptions while working:
- Preserve equality by applying an operation to both sides.
- Distribute a factor to every term inside parentheses.
- Track negative signs carefully, especially when subtracting a negative.
- Do not divide by an expression that could equal zero without considering restrictions.
- Use exact fractions when possible; round decimals only at the end.
A quick simplification checklist is helpful for homework and test preparation. Ask: Did I distribute to every term? Did I multiply every term by the least common denominator? Did I combine only like terms? Did I move a term by performing the same addition or subtraction on both sides? Did I divide by the entire coefficient? Finally, did I check the answer in the original equation?
Worked examples
Example 1: Fractions
Solve x/3 + 2 = 6.
The denominator is 3. You can first subtract 2, then multiply by 3:
x/3 + 2 = 6
x/3 = 4
x = 12
Check: 12/3 + 2 = 4 + 2 = 6. Therefore, x = 12.
Example 2: Several fractions
Solve x/2 - (x + 3)/4 = 5.
The least common denominator is 4. Multiply every term by 4:
4(x/2) - 4((x + 3)/4) = 4(5)
2x - (x + 3) = 20
2x - x - 3 = 20
x - 3 = 20
x = 23
The parentheses around x + 3 matter. The negative sign applies to both terms after the fraction is removed.
Example 3: Decimals
Solve 0.4x + 1.2 = 3.6.
Multiply every term by 10 to remove the decimals:
4x + 12 = 36
4x = 24
x = 6
Alternatively, subtract 1.2 first and divide by 0.4. Both methods give the same result. The multiplication method is often easier when several decimal places appear.
Example 4: Parentheses and variables on both sides
Solve 3(x - 2) + 4 = 2x + 9.
Distribute first, then combine constants:
3x - 6 + 4 = 2x + 9
3x - 2 = 2x + 9
Subtract 2x from both sides:
x - 2 = 9
x = 11
Check: the left side is 3(11 - 2) + 4 = 31, and the right side is 2(11) + 9 = 31.
Example 5: No solution
Solve 4(x + 1) = 4x + 9.
Distribute:
4x + 4 = 4x + 9
Subtract 4x from both sides:
4 = 9
This statement is false, so there is no value of x that makes the equation true. The equation has no solution.
Example 6: Infinitely many solutions
Solve 2(x + 3) = 2x + 6.
Distribute:
2x + 6 = 2x + 6
Subtract 2x from both sides and obtain 6 = 6, a statement that is always true. Every value of x works, so the equation has infinitely many solutions.
For additional practice, try a linear equations worksheet with one problem for each form: fractions, decimals, parentheses, variables on both sides, no solution, and infinitely many solutions. If an equation contains two variables rather than one, use a systems of equations method instead; see How to Solve Systems of Equations.
When to recalculate
Recalculate whenever you change a step, copy the equation, or use a rounded decimal. The safest check is substitution into the original equation. If the two sides do not match, compare your work with the checklist rather than guessing which line is wrong.
Return to this workflow when a new semester introduces harder forms, when a practice set includes fractions or decimals, or before a test on equations and inequalities. Linear equations are also building blocks for functions, word problems, systems, and later algebra. For a word problem, first translate the situation into an equation, then apply the same solving process; the guide How to Solve Math Word Problems covers that setup step.
Before submitting homework, use this final routine:
- Read the original equation one more time.
- Confirm that every distribution and denominator step is visible.
- Make sure the variable is isolated or that you have correctly identified no solution or infinitely many solutions.
- Substitute the answer into the original equation.
- Use an equation calculator only as a verification tool, and keep your written steps.
This repeatable process turns unfamiliar-looking equations into a sequence of manageable decisions: simplify, collect, isolate, and check.