Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Linear Equations






First-Degree Equations and the Foundation of Solving

A linear equation in one variable is the simplest type of algebraic equation: the unknown appears only to the first power, and — provided the coefficient is nonzero — exactly one solution exists. The methods used to solve linear equations are elementary, but they are not trivial. Every technique for handling more complex equations relies on the same core logic: transform the equation into a simpler equivalent form by applying reversible operations. Mastering that logic here makes everything that follows possible.



Definition and Standard Form

A linear equation in one variable is any equation that can be written as

ax+b=0ax + b = 0


where aa and bb are real constants and a0a \neq 0. The variable xx appears only to the first power — no x2x^2, no x\sqrt{x}, no xx in a denominator. The word "linear" reflects the geometric fact that the graph of y=ax+by = ax + b is a straight line, and the solution of ax+b=0ax + b = 0 is the point where that line crosses the horizontal axis.

Not every linear equation arrives in standard form. The equation 3x7=2x+53x - 7 = 2x + 5 is linear because, after collecting terms, it reduces to x12=0x - 12 = 0. The equation x4+1=3\frac{x}{4} + 1 = 3 is also linear — the fraction involves only a numerical denominator, not a variable one. Recognition matters: any equation where the variable appears solely to the first power, with no products or compositions involving the variable, is linear regardless of how it is initially presented.

The solution is immediate from standard form. Subtracting bb and dividing by aa gives x=bax = -\frac{b}{a}. This single value is the only solution, and it always exists when a0a \neq 0. Linear equations never produce two solutions, infinitely many solutions, or no solutions — as long as the coefficient of xx is genuinely nonzero.

Properties of Equality

Solving a linear equation means transforming it into an equivalent equation where the variable stands alone. Two properties of equality make this possible, and they are the only tools required.

The addition property states that adding or subtracting the same quantity on both sides of an equation produces an equivalent equation. If x+5=12x + 5 = 12, then subtracting 55 from both sides gives x=7x = 7. The solution set has not changed — it has only become visible. This property works because equality is preserved when identical operations are applied symmetrically.

The multiplication property states that multiplying or dividing both sides by any nonzero constant also produces an equivalent equation. If 3x=213x = 21, then dividing both sides by 33 gives x=7x = 7. The restriction to nonzero multipliers is critical: multiplying both sides by zero collapses every equation to 0=00 = 0, destroying all information about the original solution.

These two properties generate every valid algebraic step in the solution of a linear equation. Combining them in sequence — first clearing additive terms, then clearing the coefficient of xx — isolates the variable systematically.

Solving Single-Step and Multi-Step Equations

A single-step equation requires exactly one application of the properties of equality. The equation x9=4x - 9 = 4 is solved by adding 99 to both sides, yielding x=13x = 13. The equation 5x=40-5x = 40 is solved by dividing both sides by 5-5, yielding x=8x = -8. In each case, one operation undoes the one operation binding the variable.

Multi-step equations demand a sequence of operations. Consider 4x7=2x+114x - 7 = 2x + 11. The variable appears on both sides and constants are mixed in. The strategy proceeds in stages: gather all variable terms on one side and all constant terms on the other, then isolate the variable.

4x7=2x+114x - 7 = 2x + 11


Subtract 2x2x from both sides:

2x7=112x - 7 = 11


Add 77 to both sides:

2x=182x = 18


Divide both sides by 22:

x=9x = 9


The order of these steps is flexible — subtracting 2x2x first or adding 77 first both reach the same result — but the underlying logic is rigid: every step must preserve equivalence, and each step must bring the equation closer to the form x=valuex = \text{value}.

Equations with Parentheses

When an equation contains parentheses, the distributive property clears them before any collecting or isolating takes place. The equation 3(2x5)=4x+13(2x - 5) = 4x + 1 begins with distribution on the left:

6x15=4x+16x - 15 = 4x + 1


From here, the procedure is identical to any multi-step equation. Subtract 4x4x from both sides to get 2x15=12x - 15 = 1, add 1515 to get 2x=162x = 16, and divide by 22 to reach x=8x = 8.

Nested parentheses require working from the innermost grouping outward. The equation 2[3(x+1)4]=102[3(x + 1) - 4] = 10 simplifies as follows: first distribute the 33 inside the brackets to get 2[3x+34]=102[3x + 3 - 4] = 10, then simplify inside the brackets to 2[3x1]=102[3x - 1] = 10, then distribute the 22 to obtain 6x2=106x - 2 = 10, and finally solve to get x=2x = 2.

A persistent source of error is the negative sign preceding parentheses. In the expression (x+4)-(x + 4), the negative distributes to every term inside, producing x4-x - 4. Writing x+4-x + 4 instead is one of the most common algebraic mistakes, and it changes the solution entirely.

Equations with Fractions

Fractional coefficients do not change the type of an equation, but they complicate arithmetic. Clearing all fractions at once simplifies the process. The technique is to multiply every term on both sides by the least common denominator of all fractions present.

Consider the equation x3+x24=5\frac{x}{3} + \frac{x - 2}{4} = 5. The LCD of 33 and 44 is 1212. Multiplying every term by 1212 gives:

4x+3(x2)=604x + 3(x - 2) = 60


Distributing and collecting:

4x+3x6=604x + 3x - 6 = 60

7x=667x = 66

x=667x = \frac{66}{7}


The multiplication by 1212 is valid because 1212 is a nonzero constant — it does not depend on xx. The solution set is preserved exactly. After clearing, the equation is a standard multi-step linear equation with integer coefficients.

A crucial distinction separates these equations from rational equations. When the denominators are numerical constants (like 33, 44, 1212), clearing them is safe and changes nothing about the solution set. When the variable itself appears in a denominator, the equation is no longer linear — it is rational, and clearing that denominator introduces domain restrictions and the possibility of extraneous solutions.

Equations with Decimals

Decimal coefficients are fractions in disguise, and the same clearing strategy applies. Multiplying both sides by an appropriate power of 1010 converts every coefficient to an integer.

The equation 0.3x+1.25=0.8x0.50.3x + 1.25 = 0.8x - 0.5 has decimals extending to the hundredths place. Multiplying every term by 100100 produces:

30x+125=80x5030x + 125 = 80x - 50


Collecting variable terms on the right and constants on the left:

175=50x175 = 50x

x=17550=72x = \frac{175}{50} = \frac{7}{2}


The choice of multiplier depends on the finest decimal present. If the most decimal places in any coefficient is one, multiply by 1010. If two, multiply by 100100. This is equivalent to rewriting each decimal as a fraction and clearing denominators, compressed into a single step.

Special Cases

The procedure for solving a linear equation assumes that the variable survives the simplification process. When it does not, two outcomes are possible, and neither produces a finite solution set.

An identity arises when simplification eliminates the variable and leaves a true numerical statement. The equation 2(x+3)=2x+62(x + 3) = 2x + 6 distributes to 2x+6=2x+62x + 6 = 2x + 6. Subtracting 2x2x from both sides gives 6=66 = 6, which is true regardless of xx. Every real number satisfies the original equation, and the solution set is R\mathbb{R}. The equation was not conditional — it was a restatement of an algebraic identity.

A contradiction arises when simplification eliminates the variable and leaves a false numerical statement. The equation 3(x+1)=3x+83(x + 1) = 3x + 8 distributes to 3x+3=3x+83x + 3 = 3x + 8. Subtracting 3x3x from both sides gives 3=83 = 8, which is false for every value of xx. No real number satisfies the equation, and the solution set is empty.

Both situations are recognizable during solving: the variable terms cancel completely, and the remaining constant equation decides between identity and contradiction. If the constants match, every value works. If they clash, nothing does.

Literal Equations and Formulas

A literal equation contains multiple variables, and the task is to solve for one of them in terms of the others. The same properties of equality apply — the only difference is that the "constants" being manipulated are themselves variables.

Consider the equation d=rtd = rt, which relates distance, rate, and time. Solving for tt means isolating it on one side. Dividing both sides by rr (assuming r0r \neq 0) gives t=drt = \frac{d}{r}. The variable rr is treated as a nonzero constant throughout, just as a numerical coefficient would be.

More involved formulas demand the same multi-step approach used for numerical linear equations. To isolate rr in the formula A=P(1+rt)A = P(1 + rt), begin by dividing both sides by PP:

AP=1+rt\frac{A}{P} = 1 + rt


Subtract 11:

AP1=rt\frac{A}{P} - 1 = rt


Divide by tt:

r=1t(AP1)r = \frac{1}{t}\left(\frac{A}{P} - 1\right)


Each step is a reversible operation that preserves equivalence, applied to letters instead of numbers. The logic is identical to solving 7=2(1+3x)7 = 2(1 + 3x) — only the symbols differ.