Free Mathematics Class 9 CBSE notes · practise this chapter with an AI quiz

← All study notes

Cube 99 in Four Easy Numbers, Then Cancel What You Must Not

Learn to derive the identity for the cube of a sum, expand cubic brackets and cube numbers near 100, simplify a rational expression by factorising, and state the values that make it undefined.

How do you cube 99 without multiplying three times?

Working out 99×99×9999 \times 99 \times 99 the long way means two multiplications with carries all the way through. There is a better route, and it uses four numbers you can hold in your head.

9999 is 100−1100 - 1, and the cube of a difference has a fixed shape:

(100−1)3=1003−3(1002)(1)+3(100)(12)−13(100 - 1)^3 = 100^3 - 3(100^2)(1) + 3(100)(1^2) - 1^3

=1000000−30000+300−1=970299= 1000000 - 30000 + 300 - 1 = 970299

Four terms, alternating signs, no carries.

The plus version is just as quick. 1013=(100+1)3=1000000+30000+300+1=1030301101^3 = (100+1)^3 = 1000000 + 30000 + 300 + 1 = 1030301, and the digits of the answer even display the coefficients 1,3,3,11, 3, 3, 1.

Those coefficients are the content of this page. (a+b)2(a+b)^2 gave 1,2,11, 2, 1 in the first part of this chapter; the cube gives 1,3,3,11, 3, 3, 1; and the pattern continues upward into the binomial theorem of later classes.

This page covers the third part of the CBSE Class 9 Mathematics chapter on algebraic identities — deriving the cube identities, using them on brackets and on numbers, simplifying rational expressions by factorising, and saying exactly where such an expression has no value.
Formula

How do you derive the identity for the cube of a sum?

Multiply the square identity by one more bracket. No memorising is needed if the derivation takes three lines.

(a+b)3=(a+b)(a+b)2=(a+b)(a2+2ab+b2)(a+b)^3 = (a+b)(a+b)^2 = (a+b)\left(a^2 + 2ab + b^2\right)

Distribute the bracket across each term:

- a×(a2+2ab+b2)=a3+2a2b+ab2a \times \left(a^2 + 2ab + b^2\right) = a^3 + 2a^2b + ab^2
- b×(a2+2ab+b2)=a2b+2ab2+b3b \times \left(a^2 + 2ab + b^2\right) = a^2b + 2ab^2 + b^3

Adding and collecting like terms, the 2a2b2a^2b and a2ba^2b give 3a2b3a^2b, and the ab2ab^2 and 2ab22ab^2 give 3ab23ab^2:

(a+b)3=a3+3a2b+3ab2+b3(a+b)^3 = a^3 + 3a^2b + 3ab^2 + b^3

The difference version follows by replacing bb with −b-b. Odd powers of bb change sign and even powers do not:

(a−b)3=a3−3a2b+3ab2−b3(a-b)^3 = a^3 - 3a^2b + 3ab^2 - b^3

Check both at a=2a = 2, b=1b = 1: (2+1)3=27(2+1)^3 = 27, and 8+12+6+1=278 + 12 + 6 + 1 = 27. Then (2−1)3=1(2-1)^3 = 1, and 8−12+6−1=18 - 12 + 6 - 1 = 1. Both correct.

The compact forms. Grouping the middle two terms gives a version that is often quicker to use:

(a+b)3=a3+b3+3ab(a+b)(a+b)^3 = a^3 + b^3 + 3ab(a+b)

(a−b)3=a3−b3−3ab(a−b)(a-b)^3 = a^3 - b^3 - 3ab(a-b)

Check the first at a=2a = 2, b=1b = 1: 8+1+3(2)(1)(3)=9+18=278 + 1 + 3(2)(1)(3) = 9 + 18 = 27. Correct.

The signs in (a−b)3(a-b)^3 alternate, unlike in (a−b)2(a-b)^2. The square ended on +b2+b^2; the cube ends on −b3-b^3, because an odd power of a negative number stays negative. So the two cases behave differently, and the reason is the parity of the exponent — not a rule to be memorised separately but a consequence of (−b)3=−b3(-b)^3 = -b^3.

And (a+b)3(a+b)^3 is not a3+b3a^3 + b^3. With a=2a = 2 and b=1b = 1: 2727 against 99. The gap of 1818 is exactly 3ab(a+b)=3(2)(1)(3)3ab(a+b) = 3(2)(1)(3), which is the middle of the expansion doing its work.

How do you expand a cubic bracket and cube a number?

Substitute into a3+3a2b+3ab2+b3a^3 + 3a^2b + 3ab^2 + b^3 carefully, remembering that a coefficient inside the bracket gets cubed and squared along with the letter.

Worked example 1 — a coefficient on the first term.
Expand (2x+3)3(2x+3)^3 with a=2xa = 2x, b=3b = 3:

- a3=8x3a^3 = 8x^3
- 3a2b=3(4x2)(3)=36x23a^2b = 3(4x^2)(3) = 36x^2
- 3ab2=3(2x)(9)=54x3ab^2 = 3(2x)(9) = 54x
- b3=27b^3 = 27

(2x+3)3=8x3+36x2+54x+27(2x+3)^3 = 8x^3 + 36x^2 + 54x + 27

Check at x=1x = 1: the bracket gives 53=1255^3 = 125, and the expansion gives 8+36+54+27=1258 + 36 + 54 + 27 = 125. Correct.

Worked example 2 — with a minus and two letters. Expand (x−2y)3(x - 2y)^3 with a=xa = x, b=2yb = 2y:

x3−3x2(2y)+3x(4y2)−8y3=x3−6x2y+12xy2−8y3x^3 - 3x^2(2y) + 3x(4y^2) - 8y^3 = x^3 - 6x^2y + 12xy^2 - 8y^3

Check at x=y=1x = y = 1: (1−2)3=−1(1-2)^3 = -1, and 1−6+12−8=−11 - 6 + 12 - 8 = -1. Correct.

Worked example 3 — 1013101^3. Take a=100a = 100, b=1b = 1:

1000000+3(10000)(1)+3(100)(1)+1=1000000+30000+300+1=10303011000000 + 3(10000)(1) + 3(100)(1) + 1 = 1000000 + 30000 + 300 + 1 = 1030301

Worked example 4 — 99399^3. Now bb is subtracted, so the signs alternate:

1000000−30000+300−1=9702991000000 - 30000 + 300 - 1 = 970299

Check the last digit: 9×9×9=7299 \times 9 \times 9 = 729 ends in 99, and 970299970299 ends in 99. Correct.

Worked example 5 — 1023102^3. With b=2b = 2 the powers of bb grow, so take care:

1000000+3(10000)(2)+3(100)(4)+8=1000000+60000+1200+8=10612081000000 + 3(10000)(2) + 3(100)(4) + 8 = 1000000 + 60000 + 1200 + 8 = 1061208

Worked example 6 — 31331^3 from a base of 3030. With a=30a = 30, b=1b = 1:

27000+3(900)(1)+3(30)(1)+1=27000+2700+90+1=2979127000 + 3(900)(1) + 3(30)(1) + 1 = 27000 + 2700 + 90 + 1 = 29791

The term most often dropped is 3ab23ab^2. In worked example 5 it is 3×100×4=12003 \times 100 \times 4 = 1200, and leaving it out gives 10600081060008 — a plausible-looking answer that is wrong by more than a thousand. Write all four terms down before adding any of them, which makes the omission impossible rather than unlikely.

How do you simplify a rational algebraic expression?

Factorise the numerator and the denominator completely, then cancel the factors they share. Nothing can be cancelled until both parts are products.

Worked example 1 — a difference of squares over a quadratic. Simplify

x2−9x2+7x+12\frac{x^2 - 9}{x^2 + 7x + 12}

The numerator is a difference of squares; the denominator splits with the pair 33 and 44:

(x−3)(x+3)(x+3)(x+4)=x−3x+4\frac{(x-3)(x+3)}{(x+3)(x+4)} = \frac{x-3}{x+4}

Check at x=1x = 1: the original is 1−91+7+12=−820=−25\dfrac{1-9}{1+7+12} = \dfrac{-8}{20} = -\dfrac{2}{5}, and the simplified form is −25\dfrac{-2}{5}. Correct.

Worked example 2 — a factor that cancels entirely. Simplify x2−4x+2\dfrac{x^2-4}{x+2}:

(x−2)(x+2)x+2=x−2\frac{(x-2)(x+2)}{x+2} = x - 2

Worked example 3 — using a cube. Simplify x3+8x+2\dfrac{x^3+8}{x+2}. Since 8=238 = 2^3, the numerator is a sum of cubes and factorises as (x+2)(x2−2x+4)(x+2)(x^2 - 2x + 4):

(x+2)(x2−2x+4)x+2=x2−2x+4\frac{(x+2)(x^2-2x+4)}{x+2} = x^2 - 2x + 4

Check at x=1x = 1: the original is 93=3\dfrac{9}{3} = 3, and the simplified form gives 1−2+4=31 - 2 + 4 = 3. Correct.

Worked example 4 — cancel after taking out a common factor. Simplify 3x2−27x2−6x+9\dfrac{3x^2 - 27}{x^2 - 6x + 9}:

3(x2−9)(x−3)2=3(x−3)(x+3)(x−3)(x−3)=3(x+3)x−3\frac{3(x^2-9)}{(x-3)^2} = \frac{3(x-3)(x+3)}{(x-3)(x-3)} = \frac{3(x+3)}{x-3}

Only whole factors cancel, never individual terms. In x+3x+4\dfrac{x+3}{x+4} the xx in the numerator cannot be cancelled against the xx in the denominator, because neither is a factor of its expression — both are terms inside a sum. Testing at a number settles it instantly: at x=1x = 1 the fraction is 45\dfrac{4}{5}, while cancelling the xx would suggest 34\dfrac{3}{4}. Different numbers, so the cancelling was illegal.

The rule in one sentence. Cancellation is division, and division distributes over a product, not over a sum. That is why the factorising has to come first and why an expression that will not factorise cannot be simplified at all.

Where does a rational expression have no value at all?

Wherever the original denominator is zero — and the values must be read off before any cancelling, because cancelling hides them.

Worked example 1. For x2−9x2+7x+12\dfrac{x^2-9}{x^2+7x+12}, factorise the denominator:

x2+7x+12=(x+3)(x+4)x^2 + 7x + 12 = (x+3)(x+4)

This is zero when x=−3x = -3 or x=−4x = -4, so the expression is undefined at x=−3x = -3 and x=−4x = -4.

The simplified form was x−3x+4\dfrac{x-3}{x+4}, which looks undefined only at x=−4x = -4. But at x=−3x = -3 the original expression is 00\dfrac{0}{0}, which has no value. The restriction survives the cancelling even though the factor does not, and the correct answer is

x2−9x2+7x+12=x−3x+4for x≠−3, x≠−4\frac{x^2-9}{x^2+7x+12} = \frac{x-3}{x+4} \qquad \text{for } x \ne -3, \ x \ne -4

Worked example 2. x2−4x+2\dfrac{x^2-4}{x+2} simplifies to x−2x - 2, which has a value everywhere. The original does not: at x=−2x = -2 it is 00\dfrac{0}{0}. So the simplification holds for x≠−2x \ne -2, and at that one point the two expressions genuinely differ — one is undefined and the other equals −4-4.

Worked example 3. For 3(x+3)x−3\dfrac{3(x+3)}{x-3}, obtained above from 3x2−27x2−6x+9\dfrac{3x^2-27}{x^2-6x+9}, the original denominator (x−3)2(x-3)^2 is zero only at x=3x = 3. So the restriction is x≠3x \ne 3.

Worked example 4 — a denominator with no zeros. For x+1x2+4\dfrac{x+1}{x^2+4}, the denominator x2+4x^2 + 4 is at least 44 for every real xx, so the expression is defined everywhere. Not every rational expression carries a restriction.

How to verify a claimed identity. Expand both sides completely and compare term by term. Take the claim (a+b)3=a3+b3(a+b)^3 = a^3 + b^3. Expanding the left gives a3+3a2b+3ab2+b3a^3 + 3a^2b + 3ab^2 + b^3, which differs from the right by 3ab(a+b)3ab(a+b) — not zero in general, so the claim is false.

A single counter-example is enough to refute it: at a=2a = 2, b=1b = 1 the left is 2727 and the right is 99.

But a single example is never enough to prove one. The claim (a+b)3=a3+b3(a+b)^3 = a^3 + b^3 happens to hold at a=1a = 1, b=0b = 0, and at a=0a = 0, b=5b = 5, and at a=3a = 3, b=0b = 0 — infinitely many cases, all worthless as proof. An identity must be established by expanding both sides, and verification by substitution can only ever disprove. That asymmetry is worth remembering, because "I checked it with numbers and it worked" is the most common wrong justification in this chapter.
Exam tip

Exam tip: write all four terms, and state the excluded values

Write the four terms of a cube before adding any of them: a3a^3, 3a2b3a^2b, 3ab23ab^2, b3b^3. The dropped one is almost always 3ab23ab^2.

Cube the coefficient too. In (2x+3)3(2x+3)^3 the first term is 8x38x^3, not 2x32x^3, and 3a2b3a^2b is 3(4x2)(3)=36x23(4x^2)(3) = 36x^2.

Signs alternate in (a−b)3(a-b)^3 — it ends on −b3-b^3, unlike (a−b)2(a-b)^2 which ends on +b2+b^2.

Check every expansion by substituting 11. (x−2y)3(x-2y)^3 at x=y=1x=y=1 gives −1-1, and 1−6+12−8=−11-6+12-8 = -1.

Use the compact form when it is faster: (a+b)3=a3+b3+3ab(a+b)(a+b)^3 = a^3 + b^3 + 3ab(a+b).

Verify the last digit of a numerical cube: 99399^3 must end in 99.

Factorise fully before cancelling. Nothing can be cancelled out of a sum — only out of a product.

Never cancel a term. x+3x+4\frac{x+3}{x+4} does not reduce; at x=1x=1 it is 45\frac{4}{5}, not 34\frac{3}{4}.

Read the excluded values off the ORIGINAL denominator, before cancelling. For x2−9x2+7x+12\frac{x^2-9}{x^2+7x+12} they are x≠−3x \ne -3 and x≠−4x \ne -4, even though the simplified form only shows the second.

Write the restriction beside the answer — marks are given for it and it is the easiest one in the question to forget.

And to refute a claimed identity, one counter-example suffices; to prove one, expand both sides — substitution can never prove an identity.
Did you know

Why the coefficients 1, 3, 3, 1 show up in the answer's digits

Look at what the cube identity produces for 101101:

1013=1030301101^3 = 1030301

Split the digits into pairs from the right: 1 ∣ 03 ∣ 03 ∣ 011 \ | \ 03 \ | \ 03 \ | \ 01. The coefficients 1,3,3,11, 3, 3, 1 are sitting in the answer, spaced out by zeros.

The same happens one power down. 1012=10201101^2 = 10201, and the digits carry 1,2,11, 2, 1. And one power up:

1014=104060401101^4 = 104060401

with digits 1,4,6,4,11, 4, 6, 4, 1.

Those rows — 1,11, 1 then 1,2,11, 2, 1 then 1,3,3,11, 3, 3, 1 then 1,4,6,4,11, 4, 6, 4, 1 — are the rows of Pascal's triangle, where each entry is the sum of the two above it. Cubing 101101 displays a row because 101=100+1101 = 100 + 1, so every term of the expansion is a coefficient multiplied by a power of 100100, and powers of 100100 line the coefficients up in neat two-digit slots.

The display breaks as soon as a coefficient needs more than two digits. 1016101^6 would want the row 1,6,15,20,15,6,11, 6, 15, 20, 15, 6, 1, and 1515 and 2020 cannot fit in a two-digit slot without carrying into the neighbour — so the digits stop being readable as coefficients.

It is also why 1023102^3 does not show the pattern: 10612081061208 carries 1,06,12,081, 06, 12, 08, which is 1,3,3,11, 3, 3, 1 multiplied by 1,2,4,81, 2, 4, 8 — the powers of b=2b = 2 mixed in.

So the tidy digits of 10303011030301 are a coincidence of base ten and the number 11, and the coefficients underneath them are not a coincidence at all. They are the same 1,3,3,11, 3, 3, 1 the derivation produced by collecting like terms.
Exam relevance

How do cube identities and rational expressions feed into JEE Main?

Because the cube expansion is the accessible case of a theorem examined directly, and the excluded-value habit is the whole of what "domain" means later.

This is the foundation for Class 11 Mathematics Binomial Theorem, examined in JEE Main. The coefficients 1,3,3,11, 3, 3, 1 found here by collecting like terms are the binomial coefficients (30),(31),(32),(33)\binom{3}{0}, \binom{3}{1}, \binom{3}{2}, \binom{3}{3}, and the general theorem replaces the cube with any power nn. A student who has derived (a+b)3(a+b)^3 by multiplying (a+b)(a+b) by (a+b)2(a+b)^2 has seen exactly why the coefficients are sums of the previous row.

The cube identities themselves are reused in Class 10 Polynomials and Class 11 Complex Numbers. The related factorisations a3+b3=(a+b)(a2−ab+b2)a^3 + b^3 = (a+b)(a^2-ab+b^2) and a3−b3=(a−b)(a2+ab+b2)a^3 - b^3 = (a-b)(a^2+ab+b^2) — used in worked example 3 of the simplification section — appear constantly, and the symmetric identity a3+b3+c3−3abc=(a+b+c)(a2+b2+c2−ab−bc−ca)a^3 + b^3 + c^3 - 3abc = (a+b+c)(a^2+b^2+c^2-ab-bc-ca) is a standard JEE Main tool for expressions where a+b+c=0a + b + c = 0.

The excluded values are the domain. Class 11 Relations and Functions asks for the domain of a function, and for a rational function that means precisely the question asked here: where is the denominator zero. The question type is standard and the working is identical — factorise the denominator, set each factor to zero.

And the cancelled factor becomes a limit. Class 11 Limits and Derivatives is built on expressions like x2−4x−2\dfrac{x^2-4}{x-2}, which is undefined at x=2x = 2 and yet approaches 44 as xx approaches 22. The Class 9 observation that the simplified form and the original differ at exactly one point is the entire idea of a removable discontinuity, met properly in Class 12 Continuity and Differentiability. Getting that point right now makes that chapter a restatement rather than a surprise.

What the questions look like. For board work, expect expand a cubic bracket, evaluate a numerical cube, simplify a rational expression, state where it is undefined, and verify whether a given statement is an identity — the last one asked as a short proof. For JEE Main, the cube identities appear inside simplification steps, the factorisations of a3±b3a^3 \pm b^3 appear in limits and in algebraic manipulation, and the domain question appears directly.

How board and competitive emphasis differ. A board paper rewards the written derivation and the stated restriction. A competitive paper assumes both and tests whether the right identity is recognised in one glance — usually a3+b3a^3+b^3 hiding as x3+8x^3 + 8 or 27a3+127a^3 + 1.

The single trap that costs the most marks. Reading the excluded values off the simplified expression. In x2−9x2+7x+12=x−3x+4\dfrac{x^2-9}{x^2+7x+12} = \dfrac{x-3}{x+4}, the value x=−3x = -3 is excluded and leaves no trace in the answer. Questions are built on exactly that disappearance, and the only defence is to factorise the original denominator and write the restrictions down before simplifying anything.
Key takeaways

Cube identities and rational expressions: quick revision

- Derive, don't memorise: (a+b)3=(a+b)(a2+2ab+b2)(a+b)^3 = (a+b)(a^2+2ab+b^2), and collecting like terms gives a3+3a2b+3ab2+b3a^3 + 3a^2b + 3ab^2 + b^3.
- (a−b)3=a3−3a2b+3ab2−b3(a-b)^3 = a^3 - 3a^2b + 3ab^2 - b^3 — replace bb by −b-b; odd powers change sign.
- Signs alternate in the cube, ending on −b3-b^3; the square ended on +b2+b^2.
- Compact forms: (a+b)3=a3+b3+3ab(a+b)(a+b)^3 = a^3 + b^3 + 3ab(a+b) and (a−b)3=a3−b3−3ab(a−b)(a-b)^3 = a^3 - b^3 - 3ab(a-b).
- (a+b)3(a+b)^3 is not a3+b3a^3+b^3: at a=2a=2, b=1b=1 it is 2727 against 99, and the gap 1818 is 3ab(a+b)3ab(a+b).
- (2x+3)3=8x3+36x2+54x+27(2x+3)^3 = 8x^3 + 36x^2 + 54x + 27, checked at x=1x=1 as 125125.
- (x−2y)3=x3−6x2y+12xy2−8y3(x-2y)^3 = x^3 - 6x^2y + 12xy^2 - 8y^3, checked at x=y=1x=y=1 as −1-1.
- Numerical cubes: 1013=1030301101^3 = 1030301; 993=97029999^3 = 970299; 1023=1061208102^3 = 1061208; 313=2979131^3 = 29791.
- The term most often dropped is 3ab23ab^2 — write all four before adding.
-
To simplify a rational expression, factorise numerator and denominator fully, then cancel shared factors
.
- x2−9x2+7x+12=(x−3)(x+3)(x+3)(x+4)=x−3x+4\frac{x^2-9}{x^2+7x+12} = \frac{(x-3)(x+3)}{(x+3)(x+4)} = \frac{x-3}{x+4}.
- x2−4x+2=x−2\frac{x^2-4}{x+2} = x-2; x3+8x+2=x2−2x+4\frac{x^3+8}{x+2} = x^2-2x+4 using x3+8=(x+2)(x2−2x+4)x^3+8 = (x+2)(x^2-2x+4).
- 3x2−27x2−6x+9=3(x+3)x−3\frac{3x^2-27}{x^2-6x+9} = \frac{3(x+3)}{x-3}.
- Never cancel a term. x+3x+4\frac{x+3}{x+4} does not reduce — at x=1x=1 it is 45\frac{4}{5}, not 34\frac{3}{4}.
- Read excluded values off the ORIGINAL denominator. x2−9x2+7x+12\frac{x^2-9}{x^2+7x+12} is undefined at x=−3x=-3 and x=−4x=-4, though the simplified form hides the first.
- x2−4x+2=x−2\frac{x^2-4}{x+2} = x-2 holds for x≠−2x \ne -2; at that point the original is 00\frac{0}{0}.
- x+1x2+4\frac{x+1}{x^2+4} has no excluded values, since x2+4≥4x^2+4 \ge 4 always.
- To refute a claimed identity, one counter-example is enough; to prove one, expand both sides. Substitution can never prove an identity.
- The digits of 1012=10201101^2 = 10201, 1013=1030301101^3 = 1030301 and 1014=104060401101^4 = 104060401 display the rows 1,2,11,2,1 and 1,3,3,11,3,3,1 and 1,4,6,4,11,4,6,4,1 of Pascal's triangle.

Cube a two-digit number of your choice from a round base, then check it against ordinary multiplication — and notice which of the four terms you were tempted to skip.

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on Exploring Algebraic Identities — Part 3Create a free account
← Back to all articles