UPPSC PCS · Module 50 · Mains depth · 18 min
Linear and quadratic equations, inequalities
What UPPSC PCS asks from this chapter
Syllabus lines this chapter covers:
- Prelims: General Studies II (CSAT) · General mental ability
- Prelims: General Studies II (CSAT) · Elementary mathematics up to class 10
UPPSC PCS questions from this module are being sorted into our bank.
Read at full depth: basics, the standard layer and the Mains analysis.
Start from zero: the balance
"I think of a number, double it and add 7, and I get 31. What is my number?" Call the number x. The sentence says 2x + 7 = 31.
Think of a balance with two x-boxes and 7 weights on one pan and 31 weights on the other. Take 7 weights off both pans, and it still balances: 2x = 24. Now halve both sides: x = 12. Check: 2 × 12 + 7 = 31.
That is the whole method for a linear equation: undo what was done to x, in reverse order, doing the same to both sides. The number was doubled, then 7 was added, so we subtracted 7 first and halved second.
Why this topic exists. Equations are the language of "how much": how many tickets were sold, what rate gives a target, when two plans cost the same. An officer checking a budget, a contract or a scheme target is often solving an equation, even if it is never written with an x.
Linear equations in one unknown
Collect, then divide. Bring all x-terms to one side and all numbers to the other, then divide by the coefficient of x. For 5x − 7 = 3x + 9, subtract 3x from both sides to get 2x − 7 = 9, add 7 to get 2x = 16, and divide by 2: x = 8.
Brackets and fractions. Open brackets first: 3(x − 2) = 2(x + 4) becomes 3x − 6 = 2x + 8, so x = 14. For x ÷ 3 + 5 = 11, subtract 5 to get x ÷ 3 = 6, then multiply by 3: x = 18. When several fractions appear, multiply every term by their common denominator once to clear them.
From words to an equation. Translate one phrase at a time: "a number" is x, "5 more than" is + 5, "twice" is 2 ×, "is" is =. "Twice a number is 5 more than the number" gives 2x = x + 5, so x = 5. The word-problem chapter on ages shows many more such translations.
Check by substituting. Put the answer back into the original equation, not into a later line, because a copying slip in the middle would hide there. For 5x − 7 = 3x + 9 with x = 8, both sides give 33.
Why it matters. Almost every arithmetic topic, from percentages to time and work, ends in a linear equation. Solving it cleanly and checking it once is a skill that pays in every section of the paper.
Two equations, two unknowns
Elimination. For 2x + 3y = 12 and x − y = 1, multiply the second by 3 to get 3x − 3y = 3. Adding it to the first removes y: 5x = 15, so x = 3, and then y = x − 1 = 2. Check in the first equation: 6 + 6 = 12.
Substitution. From x − y = 1 we get x = y + 1. Put it into the first equation: 2(y + 1) + 3y = 12, so 5y = 10 and y = 2. Use substitution when one equation already gives one unknown simply; use elimination otherwise.
A word problem. Adult tickets cost ₹50 and child tickets ₹20; 30 tickets were sold for ₹1,050. With a adults and c children, a + c = 30 and 50a + 20c = 1,050. Subtracting 20 times the first equation from the second gives 30a = 450, so a = 15 and c = 15.
One, none or infinitely many. Two lines usually cross at one point, but they can be parallel or the same line. The test is the cross-product a₁b₂ − a₂b₁: if it is not zero there is one solution. For 2x + 4y = 8 and x + 2y = 5 it is 2 × 2 − 1 × 4 = 0 and the right sides do not match the same ratio, so the lines are parallel and there is no solution; for 2x + 4y = 8 and x + 2y = 4 the second is just half the first, so there are infinitely many.
Why it matters. Two-unknown problems, such as mixtures, tickets, coins and ages of two people, are common in every aptitude paper. Knowing the one-solution test also answers the "for what value of k" questions that state papers like.
Quadratic equations
Factorising. For x² − 5x + 6 = 0, look for two numbers that multiply to 6 and add to −5: −2 and −3. So (x − 2)(x − 3) = 0, and a product is zero only when a factor is zero, giving x = 2 or x = 3. Always check: 4 − 10 + 6 = 0 and 9 − 15 + 6 = 0.
The formula. When factors are not obvious, use x = (−b ± √(b² − 4ac)) ÷ 2a. For x² − 7x + 12 = 0, a = 1, b = −7 and c = 12, so b² − 4ac = 49 − 48 = 1 and x = (7 ± 1) ÷ 2, which is 4 or 3.
The discriminant tells the story. The number b² − 4ac decides the roots before you solve: positive gives two different real roots, zero gives one repeated root, and negative gives no real root. For x² + 4x + 5 = 0 it is 16 − 20 = −4, so there is no real solution, and you can answer without any further work.
Sum and product without solving. For ax² + bx + c = 0, the roots add to −b ÷ a and multiply to c ÷ a. For 2x² − 10x + 7 = 0 the sum is 10 ÷ 2 = 5 and the product is 7 ÷ 2 = 3.5. This shortcut answers many questions in seconds.
A word problem. Two consecutive positive integers have product 132. With the smaller as n, n(n + 1) = 132, so n² + n − 132 = 0 = (n − 11)(n + 12), and the positive answer is n = 11, giving 11 and 12. The root −12 is thrown away because the question asked for positive integers.
Why it matters. Quadratics appear in area problems, speed problems with a changed speed and consecutive-number puzzles. The discriminant and the sum-and-product rules make many of these one-step questions.
Inequalities: answers are ranges
Same moves, one warning. Solve 3x − 5 < 10 like an equation: add 5 to get 3x < 15, divide by 3 to get x < 5. The one new rule is that multiplying or dividing by a negative number reverses the sign. So −2x ≤ 8 gives x ≥ −4, because dividing by −2 flips ≤ into ≥.
Why the sign flips. 2 < 3 is true, but multiply both by −1 and you get −2 and −3, where −2 is now the larger. Negatives reverse order on the number line, so the sign must turn round with them. This one fact explains every sign flip you will ever need.
Integer answers. Questions often ask for the greatest or least integer in the range. From 2x − 7 ≤ 9 we get x ≤ 8, so the greatest integer is 8; from −4x + 3 < 15 we get −4x < 12, so x > −3 and the least integer is −2, not −3, because the sign is strict.
Products and the sign rule. A product of two numbers is negative only when they have opposite signs. So (x − 2)(x − 5) < 0 needs x − 2 positive and x − 5 negative, which means 2 < x < 5. And (x − 2)(x − 5) > 0 holds when x < 2 or x > 5, outside the two roots.
On a number line. Mark the boundary points, use an open circle for < or > and a filled circle for ≤ or ≥, and shade the side that works. Testing one number from each region, such as 0, 3 and 10 for the product above, confirms the shading in seconds.
Why it matters. Inequalities model limits: a budget not to be crossed, a minimum score, a speed limit. Exams test the sign flip and the strict-or-not boundary because those are exactly where careless answers go wrong.
Modelling and checking
Name, write, solve, check. In any word problem, first write what x stands for, with its unit. Then write one equation for each fact in the question, solve, and finally read the question again with your answer in it. Most wrong answers come from skipping the first or the last step.
Worked example. A field is 5 m longer than it is wide, and its area is 84 m². With width w, the length is w + 5 and w(w + 5) = 84, so w² + 5w − 84 = 0 = (w − 7)(w + 12). The width is 7 m, the length 12 m, and the perimeter 2 × (7 + 12) = 38 m; the root −12 is rejected because a width cannot be negative.
Options as a shortcut. In a multiple-choice question, putting each option into the conditions is often faster than solving. For "two consecutive integers with product 156", the options 11, 12, 13 and 14 can be tested in seconds: 12 × 13 = 156, so the numbers are 12 and 13. Start with the middle option, so that one test tells you whether to go up or down.
When a root must be dropped. Lengths, counts, ages and prices cannot be negative or fractional when the situation forbids it. Writing the meaning of x at the start makes it obvious which root to keep.
Why it matters. Mains-style and decision questions often hide an equation inside a story. The habit of naming the unknown and checking against the story protects you from answers that are algebraically right but practically absurd.
Where and why this is asked
Why examiners test it. Algebra is the tool behind every "find the number" situation in administration: break-even points, rates that meet a target, quantities that fit a budget. The union aptitude paper sets its mathematics at roughly Class X level, and equations and inequalities are the core of that level.
Where it shows up. Direct equation questions appear in state papers and recruitment tests, while the union paper hides equations inside word problems on ages, money, work and numbers. Inequality questions, especially the greatest or least integer in a range, appear in both.
When it goes wrong. The common slips are changing sides without changing signs, forgetting to flip an inequality when dividing by a negative, keeping a negative root for a length or count, and checking the answer in a later line instead of the original equation.
The habit to build. Write one operation per line, flip the sign the moment a negative multiplier appears, and always end by substituting the answer into the first equation or the words of the question.
Exam lens: five question types and how to beat each
These are practice questions written by us, in the styles the papers use. Real past questions from your exam appear in the PYQ panel of this module.
Type 1: linear equation. "Solve 5x − 7 = 3x + 9." Collect terms: 2x = 16, so x = 8.
Type 2: two unknowns. "The sum of two numbers is 20 and their difference is 4. Find the larger number." Adding the equations gives 2x = 24, so the larger is 12.
Type 3: quadratic roots. "What is the larger root of x² − 7x + 12 = 0?" It factorises as (x − 3)(x − 4), so the larger root is 4.
Type 4: inequality. "What is the greatest integer x with −3x + 4 > 19?" −3x > 15, so x < −5 after the flip, and the greatest integer is −6.
Type 5: sum of roots. "What is the sum of the roots of 2x² − 10x + 7 = 0?" The sum is −b ÷ a = 10 ÷ 2 = 5.
Time plan. Types 1, 2 and 5 should take under 30 seconds. Factorising and inequality questions take up to a minute, including the check.
Practice set: twelve solved problems
Try each problem first, then read the steps. The problems go from easy to hard.
1. Solve 4x + 9 = 37.
4x = 28, so x = 7. The answer is 7.
2. Solve x ÷ 3 + 5 = 11.
x ÷ 3 = 6, so x = 18. The answer is 18.
3. Solve 3(x − 2) = 2(x + 4).
3x − 6 = 2x + 8, so x = 14. The answer is 14.
4. If x + y = 15 and 2x − y = 6, find y.
Adding gives 3x = 21, so x = 7 and y = 15 − 7. The answer is 8.
5. Adult tickets cost ₹50 and child tickets ₹20. If 30 tickets were sold for ₹1,050, how many adult tickets were sold?
a + c = 30 and 50a + 20c = 1,050 give 30a = 450. The answer is 15.
6. Find the smaller root of x² − 9x + 20 = 0.
(x − 4)(x − 5) = 0. The answer is 4.
7. How many real roots does x² + 4x + 5 = 0 have?
The discriminant is 16 − 20 = −4, which is negative. The answer is none.
8. The product of two consecutive positive integers is 156. Find the larger.
n(n + 1) = 156 gives n = 12. The answer is 13.
9. Find the greatest integer x with 2x − 7 ≤ 9.
2x ≤ 16, so x ≤ 8. The answer is 8.
10. Find the least integer x with −4x + 3 < 15.
−4x < 12, so x > −3 after the flip. The answer is −2.
11. How many integers x satisfy (x − 1)(x − 6) < 0?
The product is negative only for 1 < x < 6, which holds for 2, 3, 4 and 5. The answer is 4.
12. A field is 5 m longer than it is wide and has an area of 84 m². Find its perimeter.
w(w + 5) = 84 gives w = 7, so the field is 7 m by 12 m and 2 × 19. The answer is 38 m.
Quick revision
- Do the same to both sides; undo operations on x in reverse order.
- Check by substituting into the original equation.
- Two equations: eliminate one unknown by adding or subtracting multiples.
- One solution when a₁b₂ − a₂b₁ ≠ 0; otherwise parallel (none) or the same line (infinitely many).
- Quadratic: factorise, or x = (−b ± √(b² − 4ac)) ÷ 2a.
- Discriminant b² − 4ac: positive two roots, zero one root, negative no real root.
- Sum of roots −b ÷ a; product c ÷ a.
- Inequality: multiplying or dividing by a negative flips the sign.
- (x − p)(x − q) < 0 means between p and q; > 0 means outside.