Exploring Algebraic Identities
Pick any three consecutive square numbers — say — add the smallest and the largest, then subtract twice the middle one: . Try : . Try and the answer is still . That is not a coincidence waiting to be explained away — it is a hidden algebraic identity waving at you, and this chapter builds the machinery that turns such tricks from magic into two lines of proof. An algebraic identity is an equation that is true for every value of the variables in it, unlike an ordinary equation, which is true only for particular values. is an equation, true only when or ; but is an identity, true for every and you can name. This chapter collects the identities you met in Class 8 — the square of a sum and a difference — and pushes them further, first geometrically, as areas cut and rearranged, then algebraically, by repeated use of the distributive property, so no picture ever has to be trusted blindly. From there the chapter climbs two ways. Sideways, the square-of-a-sum identity grows to three terms, , and a companion identity attributed to Śhrīdharāchārya, , turns squaring numbers like into fast mental arithmetic. Upward, the same ideas extend one dimension higher, to the cube of a sum and difference, visualised as a cube sliced into smaller cubes and cuboids, then to the sum and difference of cubes, and finally to a three-variable identity for . Every identity does double duty: it expands products instantly, and read backwards it factors expressions — by pattern-matching, then by splitting the middle term, made concrete with algebra tiles. The chapter closes by using this toolkit to simplify rational expressions and solve real problems. By the end, the always-2 trick above will look obvious, because you will be able to prove it in your head.
- An algebraic identity is an equation true for every value of its variables; an equation such as is true only for specific values.
- Square of a sum/difference: — provable by the distributive law and visualised as a square cut into four pieces.
- Square of a trinomial: , found by treating as one block and reusing the square-of-a-sum identity.
- Difference of squares: , rearranged as to square numbers near a round base mentally, e.g. .
- Quadratics factor as by splitting the middle term — choosing so their sum matches the middle coefficient and product matches the constant.
- Algebra tiles turn that factoring into a picture: an -tile, -tiles and unit tiles rearrange into a rectangle whose sides are the two linear factors.
- Cube identities: , visualised as a cube of edge split into two cubes and six cuboids.
- Sum/difference of cubes: , found by multiplying out and checking terms cancel.
- The three-variable identity finds a sum of cubes from a sum, a product and a sum of squares, without cubing any number directly.
- Key idea: every identity in this chapter is the distributive law applied once and for all to a fixed pattern — (a plus b), (a plus b plus c), or a cube — so recognising which pattern an expression matches instantly hands you its expansion, its factors, or a fast mental calculation.
Algebraic identities such as , , and are equations true for every value of their variables, each derivable once from the distributive property, and each reusable to expand expressions, factorise them by matching or by splitting the middle term, compute squares, cubes and products mentally, and simplify rational algebraic expressions by cancelling common factors.
What this chapter covers
The chapter builds outward from one question and one tool. The question, raised by the always-2 pattern of consecutive squares, is what makes a statement true for every number rather than just a few — the identity-versus-equation distinction the chapter rests on. The tool is the distributive property, reused to prove each new identity from the ones before it.
- 4.1–4.2 build and through the geometry of squares and rectangles, proved by area and by algebra, and used to square numbers mentally.
- 4.3 turns those same identities backward, to factorise quadratics that are perfect squares.
- 4.4 extends the square identity to three terms, , and revisits the difference-of-squares identity as a fast squaring trick.
- 4.5–4.6 cover the general method for factorising by splitting the middle term, first with algebra tiles, then purely algebraically.
- 4.7 finds identities for cubes: , the sum and difference of cubes, and the three-variable identity for .
- 4.8 simplifies rational algebraic expressions by cancelling common factors.
Worked examples below reuse NCERT's own example numbers where named, so you can cross-check against your textbook.
The core ideas
Identity versus equation
Every identity in this chapter is a special kind of equation — one where both sides describe the same quantity, written two different ways, so equality holds no matter what you substitute. An ordinary equation like pins down specific values of (here or ); an identity like holds for every pair , including negatives and fractions. Check it: with , the left side and the right side agree. But checking cases only builds confidence — only an argument using the distributive property, valid for general , actually proves an identity.
The square of a sum
Take two line segments of lengths and and build a square of side . Splitting it by a horizontal and a vertical line at distance from one corner divides it into a square of side , a square of side , and two rectangles of sides and . Adding the four areas gives the identity.
where: and are any two quantities, and the middle term comes from the two equal rectangles of area in the picture. This is confirmed algebraically: , an argument that works for every and , not only lengths. The identity expands binomials, for instance , and speeds up mental squaring: .
The square of a difference
Split a square of side into a smaller square of side and two rectangles, by marking a length off one side. Subtracting the two rectangle areas from the big square gives a companion identity.
where: is the side of the larger square and the piece removed, so is what remains; the middle term is subtracted because the two rectangles were double-counted once the small square's area was already included. Algebraically, replacing by in the square-of-a-sum identity gives this result directly, and it explains the overview's consecutive-squares trick: , so subtracting always leaves . It is equally useful for mental arithmetic: .
The square of a trinomial
To square a sum of three terms, treat two of them as a single block and reuse the square-of-a-sum identity twice. Writing turns into , and expanding separately finishes the job — the full derivation is worked through step by step below.
where: the three squared terms and the three cross terms each appear once, so a trinomial squared has six terms before any combine. This squares three-digit numbers by splitting into hundreds, tens and units: .
The difference of squares
A sum multiplied by the difference of the same two terms collapses neatly, because the two middle terms of the expansion are equal and opposite and cancel.
where: and are the two terms, and the identity works only when both brackets share the same and with opposite signs — does not match, since the second terms differ. Rearranged as , this identity — recorded by Śhrīdharāchārya around 750 CE — squares a number near a round base fast: , using to reach the round product .
Factorising quadratics that are perfect squares
Reading the square identities right to left turns them into factoring tools: a trinomial matching factors instantly as a single squared bracket.
where: matching means identifying which term is , which is , and checking the middle term is exactly ; if a common numerical factor hides the pattern, as in , remove it first, then match: .
Factorising quadratics by splitting the middle term
Not every quadratic is a perfect square, so a general method is needed for . Write the middle coefficient as a sum and the constant as the matching product , then group the four resulting terms in pairs.
where: and must satisfy both and at once — matching only one condition is not enough. For , the factor pairs of are checked against a sum of until works, giving . When is negative, as in , both and must be negative, giving .
Factorising with algebra tiles
The splitting trick has a physical picture. Represent using one -tile, seven -tiles and twelve unit tiles, then rearrange them into a single rectangle. The term must split as so three -tiles sit along one side of the -tile and four along the adjacent side, with the twelve unit tiles filling a -by- array in the corner — only then do the tiles close into a rectangle whose sides and are the two factors.
where: the split of into is not arbitrary — only the pair and , product and sum , lets the tiles form a rectangle; any other split, such as , leaves gaps and cannot be tiled cleanly.
The cube of a sum and a difference
Multiplying by one more factor of extends the pattern one dimension up. Geometrically, a cube of edge splits into two smaller cubes of volumes and , plus six cuboids: three of dimensions and three of .
where: the coefficients match the piece count in the dissection — one -cube, three -cuboids, three -cuboids, one -cube. The second identity follows from the first by replacing with ; the four terms then alternate in sign because odd powers of stay negative while even powers turn positive.
Sum and difference of cubes
Multiplying out , every cross term except two cancels, leaving only a difference of cubes; the companion product behaves the same way and leaves a sum of cubes.
where: the second factor is not a perfect-square trinomial — its middle term is , not — so it cannot simplify further. These identities also explain why always divides for every whole number .
The three-variable identity for sums of cubes
Multiplying by term by term produces eighteen terms that collapse dramatically, since twelve of them cancel in pairs, leaving only the three cubes and .
where: a useful special case: whenever , the right side vanishes, so automatically. Combined with the trinomial-square identity for , this finds a sum of cubes purely from a sum, a product and a sum of squares, as in the HOTS example below.
Simplifying rational algebraic expressions
A rational algebraic expression is a fraction whose numerator and denominator are polynomials; it simplifies the way a numerical fraction does, by factorising top and bottom and cancelling any factor common to both, provided that factor is never zero.
where: the numerator factors by splitting the middle term (, gives ); the denominator first has removed, then splits again (, gives ). Only the entire factor , common to both, may be cancelled — individual terms inside a sum never can.
Deriving the identities
The goal is to find and prove a formula for , starting from nothing but the already-proved two-term identity . The strategy is common in algebra: reduce an unfamiliar three-term problem to a familiar two-term one by hiding two of the three terms inside a single new letter, solving that, then revealing what the letter was made of.
Step 1. Introduce a new letter standing for the sum of the last two terms: let . The expression to square, , is now exactly , a plain two-term sum whose square is already known.
Step 2. Apply the known square-of-a-sum identity to : , the same identity proved earlier for two terms, applied here to and .
Step 3. Substitute back into every occurrence of . The middle term becomes , and the last term needs expanding by the same identity: .
Step 4. Assemble the pieces: . Every term is accounted for exactly once, so the identity holds for every choice of — not merely the geometric case, since the proof used only algebra, never a picture.
Step 5. Sanity-check with : the left side is , and the right side is . Both agree, confirming Steps 1 to 4.
Go deeper · Derivation B · 1 minDeriving the cube of a sum and the cube of a difference
The goal is to extend the square identities one power higher, proving and using only the distributive property and the square-of-a-sum identity, then checking the sign pattern in makes sense rather than being memorised blindly.
Step 1. Write as times one more factor of : , using the square-of-a-sum identity already proved.
Step 2. Distribute across every term of : , then , then .
Step 3. Add and collect like terms: , the identity for .
Step 4. To find , replace every in the Step 3 result with , since : .
Step 5. Resolve the sign of each power of : (even power of a negative is positive), (odd power stays negative). This gives — the same four terms as , alternating in sign because odd powers of flip sign while even powers do not.
Step 6. Verify with : matches , confirming Steps 1–3; and matches , confirming Steps 4–5.
Worked examples
Board level - Expanding and squaring with the square-of-a-sum identity
Expand , and use the same identity to evaluate without long multiplication.
Step 1. Match against with : .
Step 2. For , write , matching the square-of-a-difference pattern with .
Step 3. Apply the identity: . and .
Board level - Factorising a quadratic by splitting the middle term
Factorise (this reuses NCERT's own Example 11).
Step 1. Compare with : need and .
Step 2. Check factor pairs of : sums to , sums to , but sums to exactly .
Step 3. Split and factor by grouping: . .
Higher-order thinking (HOTS / olympiad-style) - Sum of cubes from a sum, a product and a sum of squares
The sum of three numbers is , their product is , and the sum of their squares is . Find the sum of their cubes without finding the numbers themselves (this reuses NCERT's own Example 15).
Step 1. Name the numbers : , , . The target needs the three-variable identity, which also needs — not given directly.
Step 2. Find from : , so .
Step 3. Substitute into : the bracket is , so .
Step 4. Solve: . . Timing note: this chains two identities and should take three to four minutes. The first minute is spent recognising the three-variable identity needs , which is missing; the rest is the two substitutions. Do not attempt to solve for individually — with only three symmetric equations, individual values are hard to pin down, but any symmetric combination like the sum of cubes follows directly from the identities.
Common traps
- Dropping the middle term. Writing is the single most common error; the identity always has three terms when .
- Sign slips. is not — that belongs to the different identity , whose middle terms cancel rather than combine.
- Guessing instead of checking both conditions. Splitting the middle term of needs both and at once; matching only one gives wrong factors.
- Forgetting a hidden common factor. will not match a perfect-square pattern until the factor is removed first.
- Misapplying the difference-of-squares identity. is not , since the brackets do not share the same second term.
- Cancelling terms instead of factors. In , only a fully factored common bracket may cancel — never a lone term buried inside a sum.
- Losing the sign pattern in cube identities. alternates in sign; copying 's all-positive pattern is a frequent slip.
You should be able to…
- State the difference between an algebraic identity and an ordinary equation, with an example of each.
- Prove both geometrically, by dissecting a square, and algebraically, using the distributive property.
- Derive from the two-term square identity by treating two of the three terms as a single block.
- Use the difference-of-squares identity, and its rearrangement , to square numbers near a round base mentally.
- Factorise a perfect-square quadratic by matching it to , removing a common factor first if needed.
- Factorise a general quadratic by splitting the middle term, finding two numbers whose sum is and product is .
- Visualise a factorisation as algebra tiles rearranged into a rectangle, and explain why only one split of the middle term tiles cleanly.
- State and derive the cube identities , the sum and difference of cubes, and the three-variable identity for .
- Simplify a rational algebraic expression by factorising fully and cancelling only genuine common factors, never individual terms.
- Recognise which identity's pattern an unfamiliar expression matches before expanding, factoring or simplifying it.
Ask the tutor: Want to work through why the difference-of-squares trick works for any two numbers near a common round base, or practice splitting the middle term on a few more quadratics until it feels automatic?
Why do we bother proving identities algebraically if the geometric picture with squares already looks convincing?
The geometric picture is a wonderful way to see why an identity like is true, but it quietly assumes and are positive lengths you can actually draw. Algebra makes no such assumption — the same proof, , works exactly as well when and are negative, zero or fractions, none of which can be drawn as a side length. This chapter shows both routes for that reason: the picture builds intuition, while the algebra supplies the actual proof, valid without exception. When in doubt, trust the algebra, not the picture.
How do I know which identity to use when a problem does not tell me directly?
Look at the shape of what you are given, not the numbers in it. Two terms squared with a plus sign means ; a minus sign means ; three terms squared means the trinomial identity; two brackets sharing identical terms with opposite signs means the difference-of-squares pattern; and a quadratic matching no perfect-square pattern falls back to splitting the middle term, which always works for factorable quadratics with integer roots. With practice, matching the shape becomes automatic — until then, write the general pattern beside your expression and check term by term whether it fits.
Why can I cancel the (x minus 4) in a fraction like (x minus 4)(x minus 3) over 5(x minus 4)(x plus 5), but I cannot cancel an x on its own?
Cancelling in a fraction is really dividing both the numerator and the denominator by the same nonzero quantity, and that quantity must be a genuine common factor — something multiplied, not added. In , the bracket multiplies everything else top and bottom, so dividing both by it, when nonzero, is valid and leaves . But in , the in the denominator is not a factor of the whole numerator — it only touches one of its two terms — so nothing legitimate can cancel, and treating as is simply wrong.
Do I need to memorise all these identities separately, or is there a smaller set that generates the rest?
You genuinely only need to be fluent in a handful: the two square identities , the trinomial square , the difference of squares , the two cube identities , the sum and difference of cubes, and the three-variable cube identity. Everything else — squaring numbers mentally, factorising perfect squares, simplifying rational expressions — is an application of these, not a separate rule. If you forget one under exam pressure, rebuild it in under a minute using the distributive property, exactly as the two derivations above demonstrate — memorising the method is as valuable as memorising the formula.