What Is a Linear Equation in One Variable?
A linear equation in one variable is an equation with a single unknown that appears only to the first power: no squares, no square roots of the unknown, and no unknown in a denominator. The unknown is a variable, usually written , and is a typical example.
The name comes from graphs: an expression such as , graphed as , is a straight line.
Equation | Linear in one variable? | Reason |
|---|---|---|
Yes | One variable, first power | |
Yes | Dividing by a number is fine | |
No | The variable is squared | |
No | The variable is under a root | |
No | The variable is in a denominator | |
No | Two variables |
Standard Form:
The standard form of a linear equation in one variable is , where and are real numbers and . The number is the coefficient of , the number multiplying it.
Solving the standard form takes two steps:
Any linear equation can be moved into this shape. For , subtract and from both sides to get , so , and . The page on the standard form of linear equations covers the form in more detail.
How Many Solutions Can a Linear Equation in One Variable Have?
After you collect all the terms on one side and all the numbers on the other, every equation of this kind becomes for some numbers and . What happens next depends on :
If : exactly one solution, .
If and : the terms cancel and you are left with a false statement such as . No number works, so there is no solution.
If and : the terms cancel and you are left with . Every number works.
Strictly, the standard form needs , so the last two cases are equations that look linear until the terms cancel. Many textbooks still treat all three as types of linear equation in one variable: OpenStax College Algebra 2e, section 2.2 calls them conditional, inconsistent and identity equations.
Type | After simplifying | Number of solutions | Example |
|---|---|---|---|
Conditional | one value | Exactly one | gives |
Inconsistent | A false statement | None | gives |
Identity | A true statement | Every number | gives |
The graph shows the same three cases. Move everything to one side and graph : the solutions are the points where this line meets the x-axis. A slanted line () crosses the x-axis exactly once, at ; a horizontal line () either runs parallel to the x-axis and never meets it, or lies on it.
You can also graph each side of the original equation as its own line; the solution is where the two lines meet. Lines with different slopes meet once, parallel lines (same slope, different intercept) never meet, and two copies of the same line meet everywhere. To try this, type into the Desmos graphing calculator and change the numbers.
How to Solve a Linear Equation in One Variable
An equation is a balance: the two sides are equal, and they stay equal as long as you do the same thing to both sides. That rule comes from the properties of equality.
Clear brackets by multiplying them out.
Clear fractions by multiplying every term by the lowest common denominator.
Collect the terms on one side and the numbers on the other.
Divide both sides by the coefficient of .
Check the answer by substituting it into the original equation.
For one-step and two-step cases, see two-step equations and how to solve for x.
Examples of Linear Equations in One Variable
Example 1
Solve .
Check: and .
Final answer:
Example 2
Solve .
A first attempt often multiplies out the bracket as . That gives , so and . Check it: , not , so something went wrong.
The multiplies both terms in the bracket, and :
Check: .
Final answer:
Example 3
Solve .
The lowest common denominator of 3, 4 and 6 is 12, so multiply every term by 12.
Check: , and ; also .
Final answer:
Example 4
Solve .
The terms cancelled and left a false statement. Here and , so no value of can make the two sides equal.
Final answer: no solution
Solving Word Problems With Linear Equations
A word problem becomes a linear equation once each phrase is translated into algebra. Say what the variable stands for before you write anything else.
English phrase | Algebra |
|---|---|
"is", "equals", "gives" | |
"the sum of", "more than", "increased by" | |
"less than", "decreased by" | (watch the order) |
"twice", "times", "the product of" | multiply, for example |
"per", "for each" | a rate: multiply by the number of units |
Example 5
A taxi charges a fixed 50 rupees plus 12 rupees for each kilometre. A ride costs 146 rupees. How long was the ride?
Let be the distance in kilometres.
Check: .
Final answer: 8 kilometres
Example 6
Five less than twice a number is 17. Find the number.
Let be the number. "Five less than twice a number" means start with and take 5 away, so it is , not .
Check: .
Final answer: 11
More real situations, such as costs, speeds and mixtures, are worked through on the applications of linear equations page.
Common Mistakes With Linear Equations in One Variable
Mistake 1: Moving a term without changing its sign
Where it slips in: Moving a number across the equals sign, as in .
Don't do this: Writing , which gives .
The correct way: Subtract 5 from both sides: , so . "Moving" a term is shorthand for doing the opposite operation to both sides, which is why its sign changes.
Mistake 2: Losing the sign when dividing by a negative coefficient
Where it slips in: The last step, when the coefficient is negative, as in .
Don't do this: Dividing by 2 instead of and writing .
The correct way: Divide by the whole coefficient, sign included: . Substituting back catches this at once, because , not .
Mistake 3: Combining unlike terms
Where it slips in: Simplifying one side before solving, as in .
Don't do this: Writing , as if the were .
The correct way: Add only the terms: . The 3 stays a plain number.
Mistake 4: Writing when the terms cancel
Where it slips in: Equations such as , where both sides have the same term.
Don't do this: Deciding that , or that an arithmetic error must have happened. When the terms vanish, the usual reaction is to go back and hunt for a mistake that is not there.
The correct way: Read the statement that is left. A false statement such as means no solution; a true statement such as means every number is a solution.
Practice Problems
Solve .
Solve .
Solve .
Solve .
Solve .
Solve .
A number is tripled and then decreased by 7, giving 20. Find the number.
Answers
, so . Check: and .
, so and . Check: and .
, so . Check: and .
Multiply by 6: , so . Check: and .
leaves , which is false, so there is no solution.
is true for every , so every number is a solution (an identity).
, so and . Check: .
Key Takeaways
Linear equations in one variable can be written as ; when the only solution is .
If the terms cancel, a false statement means no solution and a true statement means every number is a solution.
Solving keeps the balance: do the same thing to both sides until is alone, then check in the original equation.
The most common errors are sign errors: when moving a term, multiplying out a bracket after a minus sign, and dividing by a negative coefficient.
What to Learn Next
Graphing linear equations: see where crosses the x-axis.
Linear inequalities: replace the equals sign with or and the answer becomes a range of numbers.
Practice the seven problems above without looking at the answers. If a sign goes wrong, return to Example 2.
Want a live Bhanzu trainer to walk through more linear equation problems? Book a free demo class, online, or in person at our McKinney, TX center.
Was this article helpful?
Your feedback helps us write better content
Frequently Asked Questions
What is a linear equation in one variable?
How many solutions do linear equations in one variable have?
What is the standard form of a linear equation in one variable?
Is a linear equation in one variable?
How are linear equations in one variable different from those in two variables?
How do you check your answer?


