ExamSaathi learning library · Government exams · IBPS and SBI PO and clerk quantitative aptitude and numerical ability (preliminary examinations); sections named in the 2026 notices, which give no topic list · Quantitative aptitude
Quadratic equations: comparing the roots of two equations
Learn to solve two quadratic equations in p and q one at a time, place every root on one number line and choose the right relation: p > q, p < q, p >= q, p <= q, or p = q or no relation can be established.
Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.
You will learn to
- Solve each equation of a pair on its own by splitting the middle term, including equations where the number in front of p^2 is not 1.
- Check roots with the sum -b/a and the product c/a, and predict their signs before solving.
- Compare every root of one equation with every root of the other on a number line to choose p > q, p < q, p >= q, p <= q or the no-relation option.
- Handle special forms such as p^2 = k, q = sqrt(k) and q^3 = m, as well as repeated and shared roots.
Before you start
The IBPS PO/MT-XVI notice of 2026 names Quantitative Aptitude among the sections of the preliminary examination but does not list topics for it. This lesson covers one piece of number work under that broad heading: comparing the roots of two quadratic equations.
How a pair is set: two equations are labelled I and II, one in the letter p and one in the letter q. Each is solved on its own, every root of I is compared with every root of II, and one choice is picked from five: p > q, p < q, p >= q, p <= q, or p = q or no relation can be established.
What to know first:
1. Factorising by splitting the middle term, for example p^2 - 5p + 6 = (p - 2)(p - 3).
2. The quadratic formula, as a back-up when no neat pair of numbers turns up.
3. Signs on the number line: -6 is less than -2, and any negative number is less than any positive number.
Related lessons on this site:
1. The lesson on factorising a quadratic by splitting the middle term shows how to find two numbers with product a x c and sum b, then group the four terms into two factors.
2. The lesson on the quadratic formula and the discriminant shows how (-b plus or minus sqrt(b^2 - 4 x a x c)) / (2 x a) gives the roots, and how the sign of b^2 - 4 x a x c tells whether they are real and whether they are equal.
The core idea: solve apart, compare on one line
The letters p and q belong to different equations, so solve each equation alone and never mix the two. List the roots of I and the roots of II, mark all of them on one number line, and read the relation from where they sit.
1. p > q: every root of I is greater than every root of II, so the smallest p is above the largest q. p < q is the mirror case, with the largest p below the smallest q.
2. p >= q: the smallest p equals the largest q, so the lists touch at one shared value and no root of I lies below any root of II. p <= q is the mirror case, with the largest p equal to the smallest q.
3. No relation can be established: the roots interleave, with some root of I above a root of II and some root of I below one, or the lists overlap in any other way.
4. p = q: both equations give the same single value, for example each has only the repeated root 4. In the choices this shares one option with the no-relation case.
When a strict sign is true, choose it; keep >= and <= for a shared edge value, which is a root that is the largest in one list and the smallest in the other.
An illustration: I. p^2 - 7p + 12 = 0 gives p = 3 or 4, and II. q^2 - 9q + 20 = 0 gives q = 4 or 5. On the line the order is 3, 4, 5, and 4 is both the top of I and the bottom of II. So p <= q; p < q would be wrong because p = 4 and q = 4 can occur together.
Method: solving each equation fast
Splitting the middle term: for a p^2 + b p + c = 0, find two numbers with product a x c and sum b. In 3p^2 - 10p + 8 = 0, a x c = 24 and b = -10, so the pair is -6 and -4. Then 3p^2 - 6p - 4p + 8 = 3p(p - 2) - 4(p - 2) = (3p - 4)(p - 2), and p = 2 or 4/3.
Shortcut when a is not 1: change the signs of the pair and divide each by a, so -6 and -4 give 6/3 = 2 and 4/3. In 2p^2 - 9p + 10 = 0 the pair is -4 and -5, so the roots are 4/2 = 2 and 5/2 = 2.5.
Sum and product check: the roots add to -b/a and multiply to c/a. For 3p^2 - 10p + 8 = 0, 2 + 4/3 = 10/3 and 2 x 4/3 = 8/3, matching -(-10)/3 and 8/3. A mismatch means a sign or a division has slipped.
Sign clues for real roots, read before solving:
1. If c/a is positive, the roots share a sign, opposite to the sign of b/a. So p^2 + 11p + 28 = 0 has two negative roots, -4 and -7.
2. If c/a is negative, the roots have opposite signs. When b is not zero, the root farther from zero has the sign opposite to b/a, so q^2 - 2q - 15 = 0 gives 5 and -3. When b is zero, the two roots are the same distance from zero, as in q^2 - 16 = 0, which gives 4 and -4.
When the clues place every p below zero and every q above zero, p < q is settled before any factorising.
Further case: special forms, repeated roots and shared edges
Special forms change how many roots an equation has.
1. p^2 = 49 has two roots, 7 and -7, because (-7)^2 is also 49.
2. q = sqrt(49) has one value, 7, because sqrt always means the non-negative root.
3. q^3 = 27 has one real root, 3, since 3^3 = 27 while (-3)^3 = -27. A cube keeps the sign, so q^3 = -27 gives only -3.
So I. p^2 = 49 against II. q = sqrt(49) puts p at -7 and 7 and q at 7, the largest p: p <= q. Against II. q^3 = 27 the only q is 3, which sits between -7 and 7, so no relation can be established.
Repeated roots: p^2 - 10p + 25 = 0 is (p - 5)^2 = 0, so it gives only p = 5. Mark it as one point. If II gives q = 5 or 8, then 5 is shared at the bottom of II and p <= q. If II gives q = 2 or 8, the point 5 falls between them and no relation can be established. Only if II also gives 5 alone is p = q.
Shared edge values: when a number is in both lists, look at its place. If it is the only root of both equations, p = q. Otherwise, as the smallest p and the largest q it gives p >= q, as the largest p and the smallest q it gives p <= q, and anywhere else no relation can be established.
Common mistakes
1. Copying the bracket signs. (p + 6)(p - 2) = 0 gives p = -6 or 2, not 6 or -2, because each factor is set equal to zero.
2. Forgetting to divide by a. In 4p^2 - 8p + 3 = 0 the pair is -2 and -6, so the roots are 2/4 = 0.5 and 6/4 = 1.5, not 2 and 6.
3. Comparing only the bigger roots. If p is 1 or 6 and q is 3 or 4, the bigger roots suggest p > q, but 1 is below both values of q, so no relation can be established.
4. Treating sqrt(49) as plus or minus 7. The sqrt sign gives only 7; the pair 7 and -7 belongs to p^2 = 49.
5. Dropping the negative root of p^2 = 49. Against q = sqrt(49), keeping only p = 7 suggests p = q, but with -7 restored the answer is p <= q.
6. Choosing p > q when a root is shared. If the smallest p equals the largest q, p and q can be equal, so the answer is p >= q.
7. Ranking negatives by their size. On the number line -7 is to the left of -3, even though 7 is more than 3, so p = -7 is the smaller value, not the larger.
A routine for each pair
1. Note the form of each equation: an ordinary quadratic, p^2 = k, a square root or a cube.
2. Read the sign clues from b/a and c/a to see roughly where the roots lie.
3. Solve I by splitting the middle term; if a is not 1, change the signs of the pair and divide by a.
4. Test the roots: their sum must be -b/a and their product c/a.
5. Solve II the same way, using nothing from I.
6. Mark every root on one number line, with a repeated root as a single point.
7. Compare the smallest p with the largest q, then the largest p with the smallest q.
8. Choose p > q or p < q if the lists are fully apart, and p >= q or p <= q if they touch at one shared edge value. Choose the option p = q or no relation can be established if both equations give the same single value, or if the lists interleave or overlap.
If the sign clues show every p negative and every q positive, or the reverse, the answer is known after step 2.
Worked examples
Compare the roots of I. p^2 + 13p + 42 = 0 and II. q^2 - 13q + 40 = 0 and choose the relation between p and q.
- Sign clues for I: c/a = 42 is positive, so the two roots share a sign, and b/a = 13 is positive, so that shared sign is negative.
- Sign clues for II: c/a = 40 is positive, so the two roots share a sign, and b/a = -13 is negative, so that shared sign is positive.
- Every p is below zero and every q is above zero, so p < q is already clear; solving only confirms it.
- I: 6 x 7 = 42 and 6 + 7 = 13, so (p + 6)(p + 7) = 0 and p = -6 or -7; their sum, -13, matches -b/a.
- II: 5 x 8 = 40 and 5 + 8 = 13, so (q - 5)(q - 8) = 0 and q = 5 or 8; their product, 40, matches c/a.
Answer: p is -6 or -7 and q is 5 or 8, so p < q.
Compare the roots of I. 2p^2 - 13p + 21 = 0 and II. q^2 - 2q - 3 = 0 and choose the relation between p and q.
- I has a = 2, so look for a pair with product 2 x 21 = 42 and sum -13; the pair is -6 and -7.
- Split and group: 2p^2 - 6p - 7p + 21 = 2p(p - 3) - 7(p - 3) = (2p - 7)(p - 3) = 0, so p = 3 or p = 7/2 = 3.5.
- Check I: 3 + 3.5 = 6.5 = 13/2 and 3 x 3.5 = 10.5 = 21/2, as the sum and product rules require.
- II: c/a = -3 is negative, so the roots have opposite signs; the pair -3 and 1 gives (q - 3)(q + 1) = 0, so q = 3 or -1.
- Number line: -1 (q), then 3 (in both lists), then 3.5 (p). The smallest p equals the largest q and no p lies below any q, so the answer is p >= q; p > q would ignore that p = 3 and q = 3 can occur together.
Answer: p is 3 or 3.5 and q is 3 or -1, so p >= q.
Compare the roots of I. p^2 = 144 and II. q = sqrt(121) and choose the relation between p and q.
- I: p^2 = 144 has two roots, p = 12 and p = -12, because (-12) x (-12) is also 144.
- II: sqrt(121) stands for the non-negative square root only, so q = 11 and nothing else.
- Number line: -12 (p), 11 (q), 12 (p). The single value of q has one p above it and one p below it.
- Since p = 12 is greater than q while p = -12 is less than q, no relation can be established.
- Dropping p = -12 would leave only 12 and point to p > q, which is the trap in this pair; reading sqrt(121) as 11 or -11 would not change the answer here.
Answer: p is 12 or -12 and q is 11, so no relation can be established.
Practice checks
- Solve I. p^2 - 9p + 18 = 0 and II. q^2 + q - 6 = 0. Which relation between p and q is correct?
- Solve I. 2p^2 + 11p + 12 = 0 and II. q^2 + 10q + 24 = 0. Which relation between p and q holds?
- Solve I. p^2 - p - 12 = 0 and II. q^2 - 8q + 15 = 0. Choose the relation between p and q.
- Solve I. 4p^2 - 12p + 9 = 0 and II. q^2 - 8q + 12 = 0. What can be said about p and q?
- Solve I. p^3 = -64 and II. q^2 = 16, taking only real values. Which relation between p and q always holds?
Sources checked
- IBPS Common Recruitment Process for Probationary Officers/Management Trainees (CRP PO/MT-XVI, vacancies of 2027-28): notification — Structure of the examination (PDF page 15): Preliminary Examination, Quantitative Aptitude; the notice names sections, not topics; facts only
- NCERT, Mathematics Class X, Chapter 4: Quadratic Equations — 4.3 Solution of a Quadratic Equation by Factorisation and 4.4 Nature of Roots; ideas only
- NCERT, Mathematics Class X, Chapter 2: Polynomials — 2.3 Relationship between Zeroes and Coefficients of a Polynomial: the sum and product of the zeroes of a quadratic; ideas only