Why this chapter matters. This chapter gave 14 questions in the 6 papers from CDS I 2024 to CDS II 2026. That is about 2 questions in every paper. Six of the 14 ask for the HCF of two or three polynomials. Three ask for an LCM or use the rule that HCF times LCM equals the product of two polynomials. Five ask you to simplify algebraic fractions. The idea is the same as for numbers. All the work lies in factorising quickly, so this chapter depends on the two before it.
What you will be able to do
- Find the HCF and the LCM of polynomials from their factors.
- Recognise the factor patterns the paper uses again and again, such as โx^4 + x^2y^2 + y^4โ.
- Use the rule HCF โ\timesโ LCM โ=โ product, and know when it does not hold.
- Simplify, add, subtract, multiply and divide rational expressions.
Before you start you should know: HCF and LCM of numbers (Chapter A1-5), the identities (Chapter A3-1), and factorisation with the factor theorem (Chapter A3-2).
1. HCF and LCM, from factors
For numbers: โ12 = 2^2 \times 3โ and โ18 = 2 \times 3^2โ. The HCF takes each common prime with its lowest power: โ2 \times 3 = 6โ. The LCM takes every prime with its highest power: โ2^2 \times 3^2 = 36โ.
Polynomials work the same way. The factors that cannot be split further play the part of the primes.
- The HCF (highest common factor) is the polynomial of highest degree that divides each of them exactly.
- The LCM (lowest common multiple) is the polynomial of lowest degree that each of them divides exactly.
Method. Factorise each polynomial completely. Then:
| Take | With the power | |
|---|---|---|
| HCF | only the factors common to all | lowest |
| LCM | every factor that appears anywhere | highest |
Take โx^2 - 4 = (x - 2)(x + 2)โ and โx^2 - 5x + 6 = (x - 2)(x - 3)โ. The only common factor is โx - 2โ, so the HCF is โx - 2โ. The LCM is โ(x - 2)(x + 2)(x - 3)โ.
With powers: for โ(x - 1)^2(x + 2)โ and โ(x - 1)(x + 2)^3โ the HCF is โ(x - 1)(x + 2)โ and the LCM is โ(x - 1)^2(x + 2)^3โ.
With single terms: for โ6x^2yโ and โ9xy^3โ the HCF is โ3xyโ and the LCM is โ18x^2y^3โ.
If there is no common factor at all, the HCF is 1.
2. Factor patterns the paper uses
The polynomials in these questions are chosen so that they factorise by a known pattern. Learn to see these.
| Expression | Factors |
|---|---|
| โx^3 - y^3โ | โ(x - y)(x^2 + xy + y^2)โ |
| โx^3 + y^3โ | โ(x + y)(x^2 - xy + y^2)โ |
| โx^4 + x^2y^2 + y^4โ | โ(x^2 + xy + y^2)(x^2 - xy + y^2)โ |
| โx^4 + x^2 + 1โ | โ(x^2 + x + 1)(x^2 - x + 1)โ |
| โx^8 + x^4 + 1โ | โ(x^4 + x^2 + 1)(x^4 - x^2 + 1)โ |
| โx^6 - y^6โ | โ(x^3 - y^3)(x^3 + y^3) = (x - y)(x + y)(x^2 + xy + y^2)(x^2 - xy + y^2)โ |
| โa^3 + b^3 + c^3 - 3abcโ | โ(a + b + c)(a^2 + b^2 + c^2 - ab - bc - ca)โ |
Why the third line is true. Add and subtract โx^2y^2โ:
x^4 + x^2y^2 + y^4 = (x^2 + y^2)^2 - (xy)^2
This is a difference of two squares, so it is โ(x^2 + y^2 + xy)(x^2 + y^2 - xy)โ. The fourth line is the third with โy = 1โ. The fifth is the fourth with โx^2โ in place of โxโ.
Notice that the two quadratic factors โx^2 + xy + y^2โ and โx^2 - xy + y^2โ are the very ones that appear in โx^3 - y^3โ and โx^3 + y^3โ. That is why these expressions are put together in HCF and LCM questions.
Watch also for a perfect square in disguise: โa^4 + 2a^3 + 3a^2 + 2a + 1 = (a^2 + a + 1)^2โ.
3. Three short cuts for HCF questions
- One divides the other. If one polynomial is a factor of the other, the HCF is the smaller one and the LCM is the larger one. Since โx^4 - 1 = (x^2 - 1)(x^2 + 1)โ, the HCF of โx^4 - 1โ and โx^2 - 1โ is โx^2 - 1โ.
- Test the options. The HCF must divide every one of the polynomials. If an option is โx - aโ, put โx = aโ in each polynomial (the factor theorem). All must give 0. Start with the option of highest degree, because the HCF is the highest common factor.
- The HCF is given. If โx - aโ is the HCF, then โaโ is a zero of each polynomial. Put โx = aโ in each to find the unknown coefficients.
4. HCF โ\timesโ LCM โ=โ product
For two numbers, โ12 \times 18 = 216 = 6 \times 36โ. For two polynomials โp(x)โ and โq(x)โ the same holds:
p(x) \times q(x) = \text{HCF} \times \text{LCM}
Check with section 1: โ(x^2 - 4)(x^2 - 5x + 6) = (x - 2)^2(x + 2)(x - 3)โ, and HCF โ\timesโ LCM is โ(x - 2) \times (x - 2)(x + 2)(x - 3)โ. The same.
So if the HCF, the LCM and one polynomial are given, the other polynomial is โ\frac{\text{HCF} \times \text{LCM}}{\text{the given one}}โ.
The rule is for two only. For 2, 4 and 6 the HCF is 2 and the LCM is 12, but โ2 \times 4 \times 6 = 48โ, not 24.
5. Rational expressions
A rational expression is a fraction whose top and bottom are polynomials, such as โ\frac{x^2 - 5x + 6}{x^2 - 4}โ. It has no meaning for a value of โxโ that makes the bottom 0. The rules are those of ordinary fractions.
| To | Do this | Example |
|---|---|---|
| simplify | factorise top and bottom, cancel common factors | โ\frac{x^2 - 5x + 6}{x^2 - 4} = \frac{(x - 2)(x - 3)}{(x - 2)(x + 2)} = \frac{x - 3}{x + 2}โ |
| add or subtract | bring to the LCM of the denominators | โ\frac{1}{x - 1} + \frac{1}{x + 1} = \frac{(x + 1) + (x - 1)}{x^2 - 1} = \frac{2x}{x^2 - 1}โ |
| multiply | factorise, cancel across, multiply | โ\frac{x^2 - 1}{x^2 + x} \times \frac{x}{x - 1} = \frac{(x - 1)(x + 1)}{x(x + 1)} \times \frac{x}{x - 1} = 1โ |
| divide | turn the second fraction over and multiply | โ\frac{a}{b} \div \frac{c}{d} = \frac{a}{b} \times \frac{d}{c}โ |
Only a factor of the whole top and the whole bottom may be cancelled. In โ\frac{x^2 + 3}{x + 3}โ nothing cancels: the 3 is a term, not a factor.
6. How the paper shortens long fractions
The real questions look long. Each one becomes short with one of these steps.
- Factorise every denominator first. Two denominators that look different are often the same. For example โc^2 + bc - a^2 - ab = (c - a)(c + a) + b(c - a) = (c - a)(c + a + b)โ.
- Add 1 to a fraction, or take 1 away. โ\frac{x + y}{x - y} + 1 = \frac{2x}{x - y}โ and โ\frac{x + y}{x - y} - 1 = \frac{2y}{x - y}โ. A loose number such as 3 beside three fractions is a sign to share it out, 1 to each.
- Put in small numbers. If the answer must be a fixed number, choose simple values that make no denominator 0 and work it out (Chapter A3-1, section 6).
Worked examples
Example 1. Find the HCF and the LCM of โx^2 - 9โ and โx^2 - x - 6โ.
โx^2 - 9 = (x - 3)(x + 3)โ and โx^2 - x - 6 = (x - 3)(x + 2)โ. The HCF is โx - 3โ. The LCM is โ(x - 3)(x + 3)(x + 2)โ.
Example 2. Find the HCF of โx^3 - 8โ and โx^4 + 4x^2 + 16โ.
โx^3 - 8 = x^3 - 2^3 = (x - 2)(x^2 + 2x + 4)โ.
โx^4 + 4x^2 + 16โ is the pattern โx^4 + x^2y^2 + y^4โ with โy = 2โ, so it is โ(x^2 + 2x + 4)(x^2 - 2x + 4)โ.
The common factor is โx^2 + 2x + 4โ. That is the HCF.
Example 3. The HCF of two polynomials is โx - 1โ and their LCM is โ(x - 1)(x + 2)(x - 3)โ. One of them is โx^2 + x - 2โ. Find the other.
โx^2 + x - 2 = (x - 1)(x + 2)โ. By the product rule,
\text{other} = \frac{(x - 1) \times (x - 1)(x + 2)(x - 3)}{(x - 1)(x + 2)} = (x - 1)(x - 3)
So the other polynomial is โx^2 - 4x + 3โ. Check: โ(x - 1)(x + 2)โ and โ(x - 1)(x - 3)โ have HCF โx - 1โ and LCM โ(x - 1)(x + 2)(x - 3)โ. Always make this check; it catches a question whose data do not fit.
Example 4. Simplify โ\frac{1}{x - 1} - \frac{1}{x + 1} - \frac{2}{x^2 + 1}โ.
Take the first two together: โ\frac{(x + 1) - (x - 1)}{x^2 - 1} = \frac{2}{x^2 - 1}โ.
Now โ\frac{2}{x^2 - 1} - \frac{2}{x^2 + 1} = \frac{2(x^2 + 1) - 2(x^2 - 1)}{(x^2 - 1)(x^2 + 1)} = \frac{4}{x^4 - 1}โ.
Adding two at a time kept every step small.
Example 5. If โx - 2โ is the HCF of โx^2 + ax - 6โ and โx^2 - 5x + bโ, find โa + bโ.
The HCF divides both, so โx = 2โ makes each 0. First: โ4 + 2a - 6 = 0โ, so โa = 1โ. Second: โ4 - 10 + b = 0โ, so โb = 6โ. Then โa + b = 7โ. Check: โx^2 + x - 6 = (x - 2)(x + 3)โ and โx^2 - 5x + 6 = (x - 2)(x - 3)โ, with HCF โx - 2โ.
From the real papers
These six questions are from the Elementary Mathematics papers of CDS I 2024, CDS I 2025 and CDS II 2025 (Series A). The answers agree with the final official key. Try each for 72 seconds before reading the solution.
CDS I 2024, Q23. What is the HCF of โx^4 - 13x^2y^2 - 300y^4โ, โx^3 - 4x^2y - 4xy^2 - 5y^3โ and โx^3 - 125y^3โ?
(a) โx - 5yโโโ(b) โx + 5yโโโ(c) โx^2 + 5xy + 25y^2โโโ(d) 1
Solution. Test the options. The third polynomial is โx^3 - (5y)^3 = (x - 5y)(x^2 + 5xy + 25y^2)โ, so the HCF can only be made of these two factors. Put โx = 5yโ in the other two: โ625y^4 - 325y^4 - 300y^4 = 0โ and โ125y^3 - 100y^3 - 20y^3 - 5y^3 = 0โ. So โx - 5yโ divides all three. Dividing the second by โx - 5yโ leaves โx^2 + xy + y^2โ, which is not โx^2 + 5xy + 25y^2โ, so nothing more is common. Answer (a).
CDS I 2025, Q83. What is the HCF of the polynomials โx^8 + x^4 + 1โ and โx^4 + x^2 + 1โ?
(a) 1โโ(b) โx^4 - x^2 + 1โโโ(c) โx^4 + x^2 + 1โโโ(d) โx^4 - x^2 - 1โ
Solution. By the pattern of section 2, โx^8 + x^4 + 1 = (x^4 + x^2 + 1)(x^4 - x^2 + 1)โ. The second polynomial divides the first, so it is the HCF. Answer (c).
CDS II 2025, Q16. What is the HCF of โx^3 + y^3 + 3xy - 1โ and โ(x+y)^4 - 1โ?
(a) โx+yโโโ(b) โx+y+1โโโ(c) โx+y-1โโโ(d) 1
Solution. The second is a difference of squares twice: โ(x + y)^4 - 1 = (x + y - 1)(x + y + 1)\left((x + y)^2 + 1\right)โ. The first is โa^3 + b^3 + c^3 - 3abcโ with โa = xโ, โb = yโ, โc = -1โ, so it has the factor โa + b + c = x + y - 1โ. So โx + y - 1โ is common. Its other factor is โx^2 + y^2 + 1 - xy + x + yโ. At โx = 0โ, โy = -1โ this equals 1, while โx + y + 1โ equals 0 there, so โx + y + 1โ is not a factor of it. At โx = y = -1โ it equals 0, while โ(x + y)^2 + 1โ equals 5 there, so that is not a factor of it either. Nothing more is common. Answer (c).
CDS II 2025, Q18. What is the LCM of โx^4 + x^2y^2 + y^4โ, โx^3y + y^4โ and โx^4y^2 - x^3y^3โ?
(a) โx^3y^3(x^6 - y^6)โโโ(b) โx^3y^2(x^6 - y^6)โโโ(c) โx^3y(x^6 - y^6)โโโ(d) โxy(x^6 - y^6)โ
Solution. Factorise each. First: โ(x^2 + xy + y^2)(x^2 - xy + y^2)โ. Second: โy(x^3 + y^3) = y(x + y)(x^2 - xy + y^2)โ. Third: โx^3y^2(x - y)โ. The LCM takes every factor with its highest power: โx^3y^2(x - y)(x + y)(x^2 + xy + y^2)(x^2 - xy + y^2)โ. By the sixth line of the table in section 2, the four brackets make โx^6 - y^6โ. Answer (b).
CDS II 2025, Q21. What is โ\frac{(a+b)^2}{(c-a)(c+a+b)} + \frac{(a+b)c}{c^2 + bc - a^2 - ab} - \frac{(a+2b+c)}{2(c-a)}โ, โa \ne bโ, โb \ne cโ, โc \ne aโ equal to?
(a) โ-1/2โโโ(b) 0โโ(c) โ1/2โโโ(d) 1
Solution. Factorise the second denominator: it is โ(c - a)(c + a + b)โ, the same as the first (section 6). Add the first two: โ\frac{(a + b)^2 + (a + b)c}{(c - a)(c + a + b)} = \frac{(a + b)(a + b + c)}{(c - a)(c + a + b)} = \frac{a + b}{c - a}โ. Now subtract the third: โ\frac{2(a + b) - (a + 2b + c)}{2(c - a)} = \frac{a - c}{2(c - a)} = -\frac{1}{2}โ. Answer (a).
CDS II 2025, Q40. What is โ\frac{\frac{x}{x-y} + \frac{y}{y-z} + \frac{z}{z-x}}{\frac{x+y}{x-y} + \frac{y+z}{y-z} + \frac{z+x}{z-x} + 3}โ equal to?
(a) 1โโ(b) 1/2โโ(c) 1/3โโ(d) 1/4
Solution. Share the 3 in the bottom line, 1 to each fraction: โ\frac{x + y}{x - y} + 1 = \frac{2x}{x - y}โ, and in the same way โ\frac{2y}{y - z}โ and โ\frac{2z}{z - x}โ. So the bottom line is exactly twice the top line. The value is โ\frac{1}{2}โ. Answer (b).
Each of the six was settled by one pattern from section 2 or one step from section 6.
Mistakes that cost marks
- Cancelling terms. โ\frac{x^2 + 3}{x + 3}โ is not โxโ. At โx = 2โ it is โ\frac{7}{5}โ. Cancel only a factor of the whole top and the whole bottom.
- Highest and lowest the wrong way round. HCF: common factors, lowest power. LCM: all factors, highest power. For โ(x - 1)^2โ and โ(x - 1)^3โ the HCF is โ(x - 1)^2โ and the LCM is โ(x - 1)^3โ.
- Using the product rule for three polynomials. HCF โ\timesโ LCM โ=โ product holds for two only.
- Losing a sign when subtracting a fraction. The minus sign applies to the whole top: โ\frac{3}{x - 1} - \frac{x + 2}{x - 1} = \frac{3 - x - 2}{x - 1} = \frac{1 - x}{x - 1} = -1โ.
Quick check
Do these without help. Answers are at the end.
- Find the HCF of โ12x^2y^3โ and โ18x^3yโ.
- Find the LCM of โx^2 - 1โ and โx^2 + 2x + 1โ.
- Find the HCF of โx^3 + 1โ and โx^2 - 1โ.
- Simplify โ\frac{x^2 - 9}{x^2 + x - 12}โ.
- Simplify โ\frac{1}{x - 2} - \frac{4}{x^2 - 4}โ.
Read and watch more, free
The NCERT books for Classes 6 to 10 do not teach HCF and LCM of polynomials. For that, this lesson and the past papers are the material. Rational expressions and the factor patterns are covered below.
| What | Where | Language |
|---|---|---|
| Textbook, rational expressions | NCERT Class 9 Ganita Manjari Part I, Chapter 4 Exploring Algebraic Identities, section 4.8 Simplifying Rational Expressions ยท Hindi edition | English, Hindi |
| Textbook, special products and factors | NIOS Secondary Mathematics (211), Lesson 4 Special Products and Factorization ยท Hindi edition | English, Hindi |
| Practice in factorising, with answers | NCERT Exemplar Class 9, Unit 2 Polynomials ยท Hindi edition | English, Hindi |
| The real papers | UPSC previous question papers | English, Hindi |
| Video, a full CDS course | R.S SIR: Maths Playlist for CDS 2025 (the algebra lessons, about 55 minutes each) | Hindi and Hinglish |
| Video, numbered classes | Chandigarh Career Group: CDS advance maths by Sandeep Brar (the seven algebra classes) | Hinglish |
| Video, in Hindi | Rojgar with Ankit Defence: CDS 01 2025, Maths By Neeraj Baisla Sir (the ten algebra lessons) | Hindi |
The videos were chosen from their titles, length and views; they have not yet been watched by a teacher.
Answers to the quick check
- โ6x^2yโ: the HCF of 12 and 18 is 6, and the lowest powers are โx^2โ and โyโ.
- โx^2 - 1 = (x - 1)(x + 1)โ and โx^2 + 2x + 1 = (x + 1)^2โ. The LCM is โ(x - 1)(x + 1)^2โ.
- โx^3 + 1 = (x + 1)(x^2 - x + 1)โ and โx^2 - 1 = (x - 1)(x + 1)โ. The HCF is โx + 1โ.
- โ\frac{(x - 3)(x + 3)}{(x + 4)(x - 3)} = \frac{x + 3}{x + 4}โ.
- โ\frac{(x + 2) - 4}{x^2 - 4} = \frac{x - 2}{(x - 2)(x + 2)} = \frac{1}{x + 2}โ.
Next chapter: Laws of indices and surds.