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

← All study notes

Two Numbers That Add to the Middle and Multiply to the End

Learn the identity for the product of two binomials and the square of three terms, build a factorisation with algebra tiles, split the middle term of a quadratic, and multiply 52 by 53 in your head.

What two numbers turn a quadratic into two brackets?

Expand (x+3)(x+4)(x + 3)(x + 4) term by term:

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

Notice where the 77 and the 1212 came from. The 77 is 3+43 + 4 and the 1212 is 3×43 \times 4. The two numbers in the brackets added to make the middle coefficient and multiplied to make the constant.

That observation runs the whole of this page, in both directions. Forwards it multiplies brackets without writing out four products. Backwards it factorises: given x2+7x+12x^2 + 7x + 12, look for two numbers adding to 77 and multiplying to 1212 — and 33 and 44 announce themselves.

It also multiplies numbers. Since 52=50+252 = 50 + 2 and 53=50+353 = 50 + 3,

52×53=2500+(2+3)(50)+6=2500+250+6=275652 \times 53 = 2500 + (2+3)(50) + 6 = 2500 + 250 + 6 = 2756

One identity, three jobs — expansion, factorisation and mental arithmetic. This page covers the second part of the CBSE Class 9 Mathematics chapter on algebraic identities: the product of two binomials, the square of a three-term expression, and factorising by splitting the middle term.
Formula

How do you expand two brackets and a three-term square?

The product of two binomials sharing a first term:

(x+a)(x+b)=x2+(a+b)x+ab(x + a)(x + b) = x^2 + (a + b)x + ab

The square of a three-term expression:

(a+b+c)2=a2+b2+c2+2(ab+bc+ca)(a + b + c)^2 = a^2 + b^2 + c^2 + 2(ab + bc + ca)

The first is four products with the two middle ones collected. The second is nine products: three squares and each pair counted twice.

Worked example 1. Expand (x+3)(x+5)(x+3)(x+5). Sum 3+5=83+5 = 8, product 3×5=153 \times 5 = 15:

x2+8x+15x^2 + 8x + 15

Worked example 2 — with a negative. Expand (x−4)(x+7)(x-4)(x+7). Here a=−4a = -4 and b=7b = 7, so the sum is 33 and the product is −28-28:

x2+3x−28x^2 + 3x - 28

Check at x=0x = 0: the brackets give (−4)(7)=−28(-4)(7) = -28, and the expansion gives −28-28. Correct.

Worked example 3 — both negative. Expand (x−2)(x−9)(x-2)(x-9). Sum −11-11, product 1818:

x2−11x+18x^2 - 11x + 18

Worked example 4 — the three-term square. Expand (x+2y+3z)2(x + 2y + 3z)^2. Squares first, then each pair doubled:

- squares: x2+4y2+9z2x^2 + 4y^2 + 9z^2
- the xx with 2y2y pair doubled: 2×x×2y=4xy2 \times x \times 2y = 4xy
- the 2y2y with 3z3z pair doubled: 2×2y×3z=12yz2 \times 2y \times 3z = 12yz
- the 3z3z with xx pair doubled: 2×3z×x=6zx2 \times 3z \times x = 6zx

x2+4y2+9z2+4xy+12yz+6zxx^2 + 4y^2 + 9z^2 + 4xy + 12yz + 6zx

Check at x=y=z=1x = y = z = 1: the bracket is (1+2+3)2=36(1+2+3)^2 = 36, and the expansion gives 1+4+9+4+12+6=361 + 4 + 9 + 4 + 12 + 6 = 36. Correct.

Worked example 5 — a minus inside the three-term square. Expand (a−b+c)2(a - b + c)^2 by treating the second term as −b-b:

a2+b2+c2+2((a)(−b)+(−b)(c)+(c)(a))=a2+b2+c2−2(ab+bc−ca)a^2 + b^2 + c^2 + 2\left((a)(-b) + (-b)(c) + (c)(a)\right) = a^2 + b^2 + c^2 - 2(ab + bc - ca)

The squares are always positive; only the pair terms carry signs. That is worth stating as a rule, because (−b)2=+b2(-b)^2 = +b^2 catches people out in exactly the way (a−b)2(a-b)^2 does.

The interpretation as area. (x+a)(x+b)(x+a)(x+b) is the area of a rectangle with sides x+ax+a and x+bx+b, which splits into a square x2x^2, two strips axax and bxbx, and a corner abab — the same four pieces the algebra produces. For (a+b+c)2(a+b+c)^2 the picture is a square cut into nine regions: three along the diagonal giving a2a^2, b2b^2, c2c^2, and six off-diagonal ones pairing up into the doubled products 2(ab)2(ab), 2(bc)2(bc) and 2(ca)2(ca). The doubling is not a rule to memorise; it is the fact that each rectangle appears twice, once on each side of the diagonal.

How do algebra tiles show you the factorisation?

Lay the tiles out and rearrange them into a rectangle. The rectangle's two sides are the factors.

The tile set has three shapes: a large square of area x2x^2, a long rectangle of area xx, and a small unit square of area 11.

Worked example 1 — x2+7x+12x^2 + 7x + 12. Take one x2x^2 tile, seven xx tiles and twelve unit tiles.

Put the x2x^2 tile in a corner. The xx tiles must line the two sides of it, and the unit tiles fill the corner left over. Try splitting the seven xx tiles as 33 along one side and 44 along the other. Then the corner gap is 33 by 44 — needing exactly 1212 unit tiles, which is what we have.

The assembled rectangle measures (x+3)(x+3) by (x+4)(x+4), so

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

Why the split has to be 33 and 44. If the xx tiles were split 22 and 55, the corner gap would be 2×5=102 \times 5 = 10 units, and we hold 1212 — two tiles left over and no place for them. A split of 11 and 66 leaves a gap of 66, wanting six spare. Only a split whose product matches the unit count closes the rectangle, and that is the tile picture of add to the middle, multiply to the end.

Worked example 2 — x2+5x+6x^2 + 5x + 6. One x2x^2 tile, five xx tiles, six units. Split the five as 22 and 33; the corner gap is 2×3=62 \times 3 = 6, matching:

x2+5x+6=(x+2)(x+3)x^2 + 5x + 6 = (x+2)(x+3)

Worked example 3 — a case with no rectangle. Try x2+4x+5x^2 + 4x + 5. The splits of 44 are 1+31+3, giving a corner of 33, and 2+22+2, giving a corner of 44. Neither is 55, so no rectangle can be built — and indeed x2+4x+5x^2 + 4x + 5 has no factorisation with whole numbers.

So the tiles do more than illustrate. A completed rectangle is a factorisation, and the impossibility of a rectangle is evidence that no whole-number factorisation exists. Once the reasoning is clear the tiles can be set aside, because searching splits on paper is faster — which is the next section.

One limit of the model. Tiles have positive areas, so x2−7x+12x^2 - 7x + 12 cannot be laid out directly; it needs negative tiles or a sign argument. The algebra handles negatives without difficulty, and that is the usual relationship between a physical model and the symbols: the model builds the intuition and the symbols carry it further.

How do you split the middle term of a quadratic?

Find two numbers whose product is the constant term and whose sum is the coefficient of xx, then break the middle term into those two pieces and group.

The method compares the expression with the identity:

x2+(a+b)x+abx^2 + (a+b)x + ab

Worked example 1 — x2+7x+12x^2 + 7x + 12. Need a product of 1212 and a sum of 77. The factor pairs of 1212 are 1×121 \times 12, 2×62 \times 6, 3×43 \times 4, with sums 1313, 88, 77. The last one works:

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

Worked example 2 — x2−7x+12x^2 - 7x + 12. Product +12+12, sum −7-7. A positive product with a negative sum means both numbers are negative: −3-3 and −4-4:

x2−3x−4x+12=x(x−3)−4(x−3)=(x−3)(x−4)x^2 - 3x - 4x + 12 = x(x-3) - 4(x-3) = (x-3)(x-4)

Worked example 3 — x2+x−12x^2 + x - 12. Product −12-12, sum +1+1. A negative product means opposite signs. Pairs multiplying to −12-12: (1,−12)(1,-12), (2,−6)(2,-6), (3,−4)(3,-4), (4,−3)(4,-3), (6,−2)(6,-2), (12,−1)(12,-1), with sums −11-11, −4-4, −1-1, 11, 44, 1111. The pair 44 and −3-3 gives sum 11:

x2+4x−3x−12=x(x+4)−3(x+4)=(x+4)(x−3)x^2 + 4x - 3x - 12 = x(x+4) - 3(x+4) = (x+4)(x-3)

Check by expanding: x2−3x+4x−12=x2+x−12x^2 - 3x + 4x - 12 = x^2 + x - 12. Correct.

Worked example 4 — x2−5x−24x^2 - 5x - 24. Product −24-24, sum −5-5. Opposite signs with the larger one negative: −8-8 and 33, since −8+3=−5-8 + 3 = -5 and −8×3=−24-8 \times 3 = -24:

x2−8x+3x−24=x(x−8)+3(x−8)=(x−8)(x+3)x^2 - 8x + 3x - 24 = x(x-8) + 3(x-8) = (x-8)(x+3)

The sign rules, stated once. Let the constant be cc and the middle coefficient be bb.

- c>0c > 0: the two numbers have the same sign, and that sign is the sign of bb
- c<0c < 0: the two numbers have opposite signs, and the larger in size takes the sign of bb

Applying these first cuts the search roughly in half, because it fixes the signs before any pair is tested.

Worked example 5 — when nothing works. Factorise x2+4x+5x^2 + 4x + 5. Product 55, sum 44. The only whole-number pair for 55 is 11 and 55, summing to 66. No factorisation exists over the integers, which matches the tile picture from the previous section and is a legitimate answer to write down.

Grouping is what actually finishes the job. Splitting the middle term is only step one; the factorisation comes from taking the common factor out of each pair, and the two brackets must come out identical — x(x+3)+4(x+3)x(x+3) + 4(x+3) works because both show (x+3)(x+3). If they differ, the split was wrong, and that is the built-in check: no separate verification needed, the method tells you itself.

How do you multiply 52 by 53 in your head?

Write both numbers with the same round part, then use (x+a)(x+b)=x2+(a+b)x+ab(x+a)(x+b) = x^2 + (a+b)x + ab with the round number as xx.

Worked example 1 — 52×5352 \times 53. Take x=50x = 50, a=2a = 2, b=3b = 3:

502+(2+3)(50)+(2)(3)=2500+250+6=275650^2 + (2+3)(50) + (2)(3) = 2500 + 250 + 6 = 2756

Three easy pieces: the square of the round number, the sum times the round number, and the small product.

Worked example 2 — 98×9798 \times 97. Take x=100x = 100, a=−2a = -2, b=−3b = -3. The sum is −5-5 and the product is +6+6:

10000+(−5)(100)+6=10000−500+6=950610000 + (-5)(100) + 6 = 10000 - 500 + 6 = 9506

Worked example 3 — mixed signs. Compute 103×98103 \times 98 with x=100x = 100, a=3a = 3, b=−2b = -2. Sum 11, product −6-6:

10000+100−6=1009410000 + 100 - 6 = 10094

Check the last digit: 3×8=243 \times 8 = 24 ends in 44, and 1009410094 ends in 44. Correct.

Worked example 4 — near 40. Compute 43×4643 \times 46 with x=40x = 40, a=3a = 3, b=6b = 6. Sum 99, product 1818:

1600+360+18=19781600 + 360 + 18 = 1978

Worked example 5 — near 60. Compute 61×6761 \times 67 with x=60x = 60, a=1a = 1, b=7b = 7. Sum 88, product 77:

3600+480+7=40873600 + 480 + 7 = 4087

Why this is more general than the difference of squares. The previous part of this chapter handled 98×10298 \times 102, where the two numbers are equally spaced either side of 100100, so the middle term vanishes and only 10000−410000 - 4 remains. This identity needs no such symmetry — it works for 96×10396 \times 103 too:

10000+(−4+3)(100)+(−4)(3)=10000−100−12=988810000 + (-4+3)(100) + (-4)(3) = 10000 - 100 - 12 = 9888

So a2−b2a^2 - b^2 is the special case where a+b=0a + b = 0, and recognising which situation you are in decides whether the middle term survives.

Choose the round number that makes both adjustments small.
For 52×5352 \times 53, using x=50x = 50 gives adjustments of 22 and 33; using x=60x = 60 would give −8-8 and −7-7, still correct but with a harder product of 5656 and a harder sum of −15-15. The method works from any base and is only worth doing from a well-chosen one.
Exam tip

Exam tip: fix the signs before you start searching for the pair

Read the sign of the constant first. If c>0c > 0 both numbers share the sign of bb; if c<0c < 0 they have opposite signs and the larger takes the sign of bb. That halves the search before you test anything.

List the factor pairs with their sums. For 1212: 1+12=131+12 = 13, 2+6=82+6 = 8, 3+4=73+4 = 7 — then pick. Written out, it is one line and it cannot go wrong.

Show the split and the grouping: x2+3x+4x+12=x(x+3)+4(x+3)=(x+3)(x+4)x^2 + 3x + 4x + 12 = x(x+3) + 4(x+3) = (x+3)(x+4). Marks are awarded for the middle steps.

The two brackets after grouping must be identical. If they are not, the split was wrong — that is the method's own check.

"Cannot be factorised over the integers" is a valid answer. For x2+4x+5x^2 + 4x + 5, show the pair search failing.

For (a+b+c)2(a+b+c)^2, write the three squares then the three doubled pairs — a2+b2+c2+2(ab+bc+ca)a^2 + b^2 + c^2 + 2(ab + bc + ca) — and remember all three squares are positive even when a term is negative.

Check every expansion by substituting 11 for each letter. (x+2y+3z)2(x+2y+3z)^2 at x=y=z=1x=y=z=1 gives 3636, and 1+4+9+4+12+6=361+4+9+4+12+6 = 36.

For mental products, pick the base that makes both adjustments small — 5050 for 52×5352 \times 53, not 6060.

Verify the last digit against the ordinary product: 103×98103 \times 98 must end in 44.

And for tile questions, draw the rectangle with its two sides labelled (x+3)(x+3) and (x+4)(x+4); the diagram is the answer, not a decoration for it.
Did you know

Why some quadratics refuse to become two brackets

x2+7x+12x^2 + 7x + 12 splits into (x+3)(x+4)(x+3)(x+4) without trouble. x2+4x+5x^2 + 4x + 5 refuses, and no amount of searching helps — the pairs multiplying to 55 are 11 and 55, and they sum to 66, not 44.

There is a way to see the refusal rather than just discover it. Rewrite the expression by completing the square:

x2+4x+5=(x+2)2+1x^2 + 4x + 5 = (x+2)^2 + 1

Check at x=0x = 0: 55 on the left, 4+1=54 + 1 = 5 on the right. Correct.

Now the obstruction is visible. (x+2)2(x+2)^2 is never negative, so the whole expression is never less than 11. It has no value of xx making it zero — and a factorisation (x+p)(x+q)(x+p)(x+q) would hand you two such values immediately, namely x=−px = -p and x=−qx = -q.

So the expression cannot be factorised because its graph never touches the xx-axis. It sits above the axis at every point, dipping to 11 at x=−2x = -2 and rising on both sides.

Compare x2+7x+12x^2 + 7x + 12, which the same treatment turns into (x+72)2−14\left(x + \dfrac{7}{2}\right)^2 - \dfrac{1}{4} — a square minus something, which does reach zero, at x=−3x = -3 and x=−4x = -4. The sign of that leftover constant is the whole difference between a quadratic that factorises and one that does not.

That leftover has a name in the next class: the discriminant. But the idea is available now, and it converts "I could not find the pair" into "no pair exists, and here is why" — a much better sentence to write in an answer.
Exam relevance

How does splitting the middle term feed into JEE Main?

Because factorising a quadratic is a step inside an enormous number of later problems, and the identities here are the n=2n=2 case of a theorem examined directly.

This is the foundation for Class 10 Quadratic Equations and Class 11 Mathematics Complex Numbers and Quadratic Equations and Binomial Theorem, all examined in JEE Main. The identity (x+a)(x+b)=x2+(a+b)x+ab(x+a)(x+b) = x^2 + (a+b)x + ab is the source of the relationships between roots and coefficients: if the roots are α\alpha and β\beta then the sum is −ba-\dfrac{b}{a} and the product is ca\dfrac{c}{a} — which is exactly adds to the middle, multiplies to the end, written in the language of roots. Every question about the sum or product of roots is this page's identity.

The square of three terms is used constantly in that chapter and in Class 11 Straight Lines. The rearrangement a2+b2+c2=(a+b+c)2−2(ab+bc+ca)a^2 + b^2 + c^2 = (a+b+c)^2 - 2(ab+bc+ca) is a standard move for evaluating symmetric expressions when only the sum and the pairwise sum are given — a recurring JEE Main question type with a one-line solution for a student who knows it.

Completing the square, met in the previous section as a way to see why some quadratics do not factorise, becomes the main technique later. It converts ax2+bx+cax^2 + bx + c into standard form for the quadratic formula, puts a circle's equation into centre-radius form in Class 11 Conic Sections, and is how the maximum or minimum of a quadratic is found without calculus.

Where the impossibility matters. The discriminant of Class 10 and Class 11 answers the question this page raises — whether a quadratic factorises over the integers, over the reals, or only over the complex numbers. Assertion-reason questions on the nature of the roots are standard, and they rest on the observation made here that a factorisation hands you the zeros.

What the questions look like. For board work, expect factorise by splitting the middle term with the grouping shown, expand using an identity, the algebra-tile rectangle with labelled sides, and evaluate a product mentally — each self-contained. For JEE Main, factorisation is never the question; it is how a rational expression gets simplified, a denominator gets cleared, or an inequality gets solved by the sign of each bracket.

How board and competitive emphasis differ. A board paper rewards the written split and grouping. A competitive paper rewards spotting the pair instantly and, more importantly, knowing when not to bother — using the sum and product of roots directly instead of finding them.

The single trap that costs the most marks. Getting the signs of the pair the wrong way round when the constant is negative. For x2−5x−24x^2 - 5x - 24 the numbers are −8-8 and +3+3, not +8+8 and −3-3 — both pairs multiply to −24-24, but only one sums to −5-5. The product test passes either way, so the sum is the test that matters, and checking it takes one addition.
Key takeaways

Binomial products, trinomial squares and splitting: quick revision

- (x+a)(x+b)=x2+(a+b)x+ab(x+a)(x+b) = x^2 + (a+b)x + ab — the two numbers add to the middle coefficient and multiply to the constant.
-
(a+b+c)2=a2+b2+c2+2(ab+bc+ca)(a+b+c)^2 = a^2 + b^2 + c^2 + 2(ab + bc + ca)
— three squares and each pair doubled.
- (x+3)(x+5)=x2+8x+15(x+3)(x+5) = x^2 + 8x + 15; (x−4)(x+7)=x2+3x−28(x-4)(x+7) = x^2 + 3x - 28; (x−2)(x−9)=x2−11x+18(x-2)(x-9) = x^2 - 11x + 18.
- (x+2y+3z)2=x2+4y2+9z2+4xy+12yz+6zx(x + 2y + 3z)^2 = x^2 + 4y^2 + 9z^2 + 4xy + 12yz + 6zx, checked at x=y=z=1x=y=z=1 as 3636.
- (a−b+c)2=a2+b2+c2−2(ab+bc−ca)(a-b+c)^2 = a^2 + b^2 + c^2 - 2(ab + bc - ca) — all three squares stay positive; only the pair terms carry signs.
- The doubling happens because each off-diagonal rectangle in the square picture appears twice.
- Algebra tiles: one x2x^2 tile, seven xx tiles and twelve units build an (x+3)(x+3) by (x+4)(x+4) rectangle, so x2+7x+12=(x+3)(x+4)x^2 + 7x + 12 = (x+3)(x+4).
- A split of 22 and 55 leaves a corner of 1010 against 1212 tiles held — only the matching split closes the rectangle.
- x2+4x+5x^2 + 4x + 5 builds no rectangle, and has no integer factorisation.
- Splitting the middle term: find a product of cc and a sum of bb, split, then group.
- x2+7x+12=x(x+3)+4(x+3)=(x+3)(x+4)x^2 + 7x + 12 = x(x+3) + 4(x+3) = (x+3)(x+4).
- x2−7x+12=(x−3)(x−4)x^2 - 7x + 12 = (x-3)(x-4); x2+x−12=(x+4)(x−3)x^2 + x - 12 = (x+4)(x-3); x2−5x−24=(x−8)(x+3)x^2 - 5x - 24 = (x-8)(x+3).
- Sign rules: c>0c > 0 means both numbers share the sign of bb; c<0c < 0 means opposite signs with the larger taking the sign of bb.
- The two brackets after grouping must match — if they differ, the split was wrong.
- Mental products: 52×53=2500+250+6=275652 \times 53 = 2500 + 250 + 6 = 2756; 98×97=10000−500+6=950698 \times 97 = 10000 - 500 + 6 = 9506; 103×98=10094103 \times 98 = 10094; 43×46=197843 \times 46 = 1978; 61×67=408761 \times 67 = 4087.
- a2−b2a^2 - b^2 is the special case where the two adjustments sum to zero; otherwise the middle term survives, as in 96×103=988896 \times 103 = 9888.
- Pick the base that keeps both adjustments small, and check the last digit against the ordinary product.
- x2+4x+5=(x+2)2+1x^2 + 4x + 5 = (x+2)^2 + 1 is never zero, which is why it does not factorise; x2+7x+12=(x+72)2−14x^2 + 7x + 12 = \left(x+\frac{7}{2}\right)^2 - \frac{1}{4} does reach zero.

Take any two numbers in the fifties, multiply them with this identity, then check with ordinary multiplication — and try to beat your own time on the second attempt.

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 2Create a free account
← Back to all articles