Linear Equations in One and Two Variables
Quantitative Aptitude › Algebra – Linear and Quadratic Equations · Topic 11.1
A linear equation in one variable has the form ax + b = 0 and has exactly one solution when a is not zero. A linear equation in two variables, ax + by = c, has infinitely many solutions, and a second independent equation is needed to fix a single pair.
7 min read · Quantitative Aptitude · Algebra – Linear and Quadratic Equations
Quick Answer
A linear equation in one variable has the form ax + b = 0 and has exactly one solution when a is not zero. A linear equation in two variables, ax + by = c, has infinitely many solutions, and a second independent equation is needed to fix a single pair.
At a Glance
- One-variable form ax + b = 0, a not zero
- Solution x = -b/a
- Two-variable form ax + by = c
- Solutions of one two-variable equation Infinitely many
- Needed for a unique pair Two independent equations
Where Does It Fit?
This is the first topic of the Algebra macro. It prepares the ground for Simultaneous Linear Equations and Their Solution Methods, where two equations are solved together, and for Word Problems Based on Linear and Quadratic Equations, where word statements are turned into equations.
How Do You Solve a Linear Equation in One Variable?
In short: bring all terms with the unknown to one side and all numbers to the other side, then divide by the coefficient of the unknown.
Standard steps
- Clear fractions by multiplying every term by the LCM of the denominators.
- Open brackets and collect like terms.
- Transpose: a term changes sign when it moves across the equals sign.
- Divide both sides by the coefficient of the unknown.
- Check by substituting the answer in the original equation.
- Simple case: 3x + 7 = 25 gives 3x = 18, so x = 6.
- Unknown on both sides: 5(x – 2) = 3(x + 4) gives 5x – 10 = 3x + 12, so 2x = 22 and x = 11.
- Fractions: (x + 3)/2 – (x – 1)/3 = 4. Multiply by the LCM 6 to get 3(x + 3) – 2(x – 1) = 24, which simplifies to x + 11 = 24, so x = 13.
- Decimals: 0.2x + 0.5 = 1.3 gives 0.2x = 0.8, so x = 4.
The solution set of a one-variable linear equation with a non-zero coefficient has exactly one member.
When Does a Linear Equation Have No Solution or Infinite Solutions?
In short: compare the coefficients on the two sides of ax + b = cx + d.
| Condition | Number of solutions | Example | Reason |
|---|---|---|---|
| a is not equal to c | Exactly one | 3x + 2 = x + 10 | 2x = 8, so x = 4 |
| a = c and b is not equal to d | No solution | 3x – 2 = 3x + 5 | The unknown cancels and -2 = 5 is false |
| a = c and b = d | Infinitely many | 4(x – 1) = 4x – 4 | Both sides are identical for every x |
If the unknown cancels and you are left with a false statement, there is no solution. If you are left with a true statement such as 0 = 0, every real number is a solution. This test saves time in questions that ask for the value of a constant k that makes a system inconsistent, a skill used again in Simultaneous Linear Equations and Their Solution Methods.
What Happens With Two Variables?
In short: one equation in two variables, such as 2x + y = 10, describes a straight line, and every point on the line is a solution.
| x | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| y = 10 – 2x | 8 | 6 | 4 | 2 | 0 |
- Infinite solutions: if x and y may be any real numbers, 2x + y = 10 has infinitely many solutions.
- Restricted solutions: if x and y must be positive integers, only (1, 8), (2, 6), (3, 4) and (4, 2) work, so there are 4 solutions. The pair (5, 0) is excluded because y = 0 is not positive.
- Unique pair: a second independent equation, for example x – y = -1, fixes one pair. Methods for this are in Simultaneous Linear Equations and Their Solution Methods.
Counting positive integer solutions of ax + by = c is a frequent exam question, and the table method above is the safest way to do it.
Solved Examples
Example 1
Question: Solve (x + 3)/2 – (x – 1)/3 = 4.
- The LCM of 2 and 3 is 6. Multiply each term by 6.
- 3(x + 3) – 2(x – 1) = 24.
- 3x + 9 – 2x + 2 = 24, so x + 11 = 24.
- x = 13. Check: 16/2 – 12/3 = 8 – 4 = 4.
Answer: x = 13.
Example 2
Question: A number, its half and its third add up to 55. Find the number.
- Let the number be x. Then x + x/2 + x/3 = 55.
- Multiply by 6: 6x + 3x + 2x = 330, so 11x = 330.
- x = 30. Check: 30 + 15 + 10 = 55.
Answer: The number is 30.
Example 3
Question: Solve 5(x – 2) = 3(x + 4).
- Open the brackets: 5x – 10 = 3x + 12.
- Transpose: 5x – 3x = 12 + 10.
- 2x = 22, so x = 11.
Answer: x = 11.
Example 4
Question: How many positive integer solutions does 2x + y = 10 have?
- Write y = 10 – 2x and try x = 1, 2, 3, 4, 5.
- y = 8, 6, 4, 2, 0 respectively.
- y must be positive, so x = 5 is rejected.
Answer: There are 4 solutions: (1, 8), (2, 6), (3, 4) and (4, 2).
Example 5
Question: Does 3x – 2 = 3x + 5 have a solution?
- Subtract 3x from both sides.
- The result is -2 = 5, which is false for every x.
Answer: No solution exists.
Shortcuts and Tricks
- Multiply every term by the LCM first when fractions appear. This removes all denominators at once.
- Check your answer by substituting it back. It takes ten seconds and catches sign errors.
- For ax + b = cx + d, compare a with c before solving. Equal a and unequal b and d means no solution.
- To count positive integer solutions of ax + by = c, list y for x = 1, 2, 3 and stop when y is not positive.
- Use options in objective tests: put each option into the equation when the equation is long.
Common Mistakes
- Forgetting to change the sign of a term when it moves across the equals sign.
- Multiplying only some terms by the LCM, which leaves the equation unbalanced.
- Dividing by an expression that could be zero, which can hide a solution.
- Assuming one equation in two variables gives a single answer. It gives infinitely many unless extra conditions apply.
- Dropping brackets wrongly, for example writing -(x – 1) as -x – 1 instead of -x + 1.
Practice Questions
- Solve 7x – 4 = 3x + 20.
- Solve 2(x + 1) = 3x – 5.
- Solve x/3 + x/4 = 14.
- How many positive integer solutions does x + 2y = 11 have?
- Solve 0.2x + 0.5 = 1.3.
- Does 4(x – 1) = 4x – 4 have a solution?
Answers: 1) x = 6; 2) x = 7; 3) x = 24; 4) 5; 5) x = 4; 6) infinitely many solutions.
Why Is This Topic Important?
- Foundation Every algebra and word problem reduces to a linear equation.
- Speed Clearing fractions with the LCM saves time in objective tests.
- Link The skills are reused in Word Problems Based on Linear and Quadratic Equations and Age-Based Word Problems Using Linear Equations.
- Traps No-solution and infinite-solution cases are common exam traps.
What Comes Next?
The next topic is Simultaneous Linear Equations and Their Solution Methods, which extends the idea to two equations solved at the same time.
Key Terms and Formulas
- Coefficient The number multiplying a variable
- Transposition Moving a term across the equals sign with a change of sign
- LCM Least common multiple of denominators
- Solution set All values that satisfy the equation
- Inconsistent An equation or system with no solution
- Identity An equation true for every value of the unknown
Related Topics
- Simultaneous Linear Equations and Their Solution Methods
- Quadratic Equations – Nature of Roots and Discriminant
- Sum and Product of Roots of a Quadratic Equation
- Formation of a Quadratic Equation from Given Roots
Exam Corner
Points to Remember
- ax + b = 0 gives x = -b/a when a is not zero.
- A term changes sign when it moves across the equals sign.
- Compare coefficients of ax + b = cx + d to find the number of solutions.
- One equation in two variables has infinitely many solutions.
- Always verify by substitution.
Do Not Confuse With
- No solution vs zero solution No solution means no value works. A solution of x = 0 means zero works.
- Identity vs equation An identity holds for every x, while an equation holds for specific values.
- One variable vs two variables One variable gives a single value; two variables need two equations for a single pair.
- Expression vs equation An expression has no equals sign, and an equation sets two expressions equal.
Memory Hook
Clear fractions, transpose, divide, check.
GS Relevance
Frequently Asked Questions
How do you solve a linear equation in one variable?
A linear equation in one variable is solved by clearing fractions with the LCM, opening brackets, moving all unknown terms to one side and numbers to the other with a sign change, and dividing by the coefficient of the unknown. Finally, substitute the answer to check it.
When does a linear equation have no solution?
A linear equation has no solution when the unknown terms cancel and the remaining numbers disagree. For example, 3x - 2 = 3x + 5 reduces to -2 = 5, which is false for every value of x, so the equation is inconsistent and its solution set is empty.
When does a linear equation have infinitely many solutions?
A linear equation has infinitely many solutions when both sides are identical after simplification. For example, 4(x - 1) = 4x - 4 reduces to 0 = 0, which is true for every value of x, so every real number satisfies the equation and it is called an identity.
How many solutions does one equation in two variables have?
A single linear equation in two variables, such as 2x + y = 10, has infinitely many solutions because every point on its line is a solution. A unique pair needs a second independent equation, and positive integer solutions can be counted by listing values of the variables.
How do you count positive integer solutions of ax + by = c?
To count positive integer solutions of ax + by = c, write y in terms of x, try x = 1, 2, 3 and so on, and keep only the pairs where both values are positive integers. For example, 2x + y = 10 has 4 such pairs.
PYQ Practice — Statement Analysis
1 The equation 2x + 3 = 2x + 5 has no solution.
The unknown cancels and 3 = 5 is false.
2 A single linear equation in two variables has exactly one solution.
It has infinitely many solutions unless extra conditions are given.
3 The solution of x/2 + x/3 = 10 is x = 12.
5x/6 = 10 gives x = 12.
4 The equation 4(x - 1) = 4x - 4 has infinitely many solutions.
Both sides are identical for every x.
Related Topics
Browse the full Quantitative Aptitude index