← Vijayastra विजयास्त्रAlgebra

Chapter 23

Algebra

A small set of identities, read the right way, turns most SSC algebra questions into two-line work.

Look, the Algebra of SSC is not the algebra of school, where you filled page after page solving long equations. Here the paper gives you a condition such as "a + b = 7 and ab = 10" and asks the value of a bigger expression such as a2 + b2 or a3 + b3. Your whole job is to see which identity connects what is given with what is asked. Once you see that link, the answer comes in a line or two.

This chapter will be used again and again later. Geometry and Mensuration keep using (a + b)2 and a2 − b2. Trigonometry is full of x + 1x type questions (sec θ + tan θ, sin θ + cos θ). Even a Simplification question like 6373 + 36336372 − 637 × 363 + 3632 is algebra in a different form.

We will build it in a clear order. First the language of algebra and the method of putting values. Then the square identities, the cube identities, the x + 1x family, the three-variable identities with a + b + c, the special case a + b + c = 0, and perfect squares that add up to zero. After that come the equations: linear equations and their systems, polynomials with the factor and remainder theorems, and finally quadratic equations.

One request from my side. Learn every identity in both directions. Everyone knows (a + b)2 = a2 + b2 + 2ab, but the paper often gives a2 + b2 and asks a + b. If you can read an identity from left to right and from right to left, Algebra becomes one of the most scoring chapters of your paper.

The language of algebra

In algebra, letters such as x, y, a, b stand for numbers. A letter whose value can change is a variable; a fixed number such as 7 is a constant.

An expression is made of terms joined by + and −. In 5x2 − 3xy + 7 there are three terms: 5x2, −3xy and 7. The number in front of a term is its coefficient (5 in 5x2, −3 in −3xy). Terms with exactly the same letters and the same powers are like terms: 4ab and −9ab are like terms, while 4a2b and 4ab2 are not.

[[fig:0]]

Three words that get mixed up:

  • Expression: there is no "=" sign. Example: 3x + 4.
  • Equation: true only for some values. 3x + 4 = 19 is true only when x = 5.
  • Identity: true for every value of the variables. (a + b)2 = a2 + 2ab + b2 holds whatever a and b are.

[[fig:1]]

The degree of a term is the sum of the powers of its variables, so the degree of 7x2y3 is 2 + 3 = 5. The degree of an expression is the highest degree among its terms.

The basic operations:

  • Add or subtract only like terms: 7ab − 2ab + ab = 6ab.
  • Multiply: multiply the coefficients and add the powers of the same letter. 3a2b × 4ab3 = 12a3b4, because am × an = am + n.
  • Expand brackets by multiplying every term of one bracket with every term of the other: (x + 2)(x − 5) = x2 − 5x + 2x − 10 = x2 − 3x − 10.

[[fig:2]]

Take Radhika's sum: the product of 2xy2 and −3x3y. Coefficients give 2 × (−3) = −6, the powers of x give 1 + 3 = 4 and the powers of y give 2 + 1 = 3. So the product is −6x4y3.

The basic identities you must know both ways

These identities carry the whole chapter. Every type that follows stands on them.

IdentityForm
Square of a sum(a + b)2 = a2 + 2ab + b2
Square of a difference(a − b)2 = a2 − 2ab + b2
Difference of squaresa2 − b2 = (a + b)(a − b)
Cube of a sum(a + b)3 = a3 + b3 + 3ab(a + b)
Cube of a difference(a − b)3 = a3 − b3 − 3ab(a − b)
Sum of cubesa3 + b3 = (a + b)(a2 − ab + b2)
Difference of cubesa3 − b3 = (a − b)(a2 + ab + b2)
Square of three terms(a + b + c)2 = a2 + b2 + c2 + 2(ab + bc + ca)
Three cubesa3 + b3 + c3 − 3abc = (a + b + c)(a2 + b2 + c2 − ab − bc − ca)

Why are they true? Expand and see. (a + b)2 = (a + b)(a + b) = a2 + ab + ba + b2 = a2 + 2ab + b2. An identity is only a multiplication done once and remembered for good.

[[fig:0]]

They are also calculation tools. 1032 = (100 + 3)2 = 10000 + 600 + 9 = 10609, and 47 × 53 = (50 − 3)(50 + 3) = 2500 − 9 = 2491. Whenever numbers sit close to a round number, think of an identity.

[[fig:1]]

Radhika wants 982 quickly. Since 98 = 100 − 2, she writes 982 = 10000 − 400 + 4 = 9604.

Putting values: the smartest tool of SSC algebra

Now the method that saves the most time in the exam. If a question asks the value of an expression and the answer is a fixed number (or a fixed expression among the options), the answer cannot depend on which particular numbers you take. So you are free to put your own easy values for the variables, as long as they satisfy the given condition.

For example: "If a + b + c = 0, find a2 + b2 + c2ab + bc + ca." Take a = 1, b = 1, c = −2, whose sum is 0. Then a2 + b2 + c2 = 1 + 1 + 4 = 6 and ab + bc + ca = 1 − 2 − 2 = −3, so the answer is −2.

[[fig:0]]

The rules of safe value-putting:

  • The values must satisfy every given condition. If a + b = 2c is given, a = 1, b = 3, c = 2 is fine; a = 1, b = 2, c = 3 is not.
  • Avoid values that make a denominator zero (or give 0/0). If the expression has (a − b) in the denominator, do not take a = b.
  • Prefer small numbers: 0, 1, −1, 2. Zero is the best choice whenever the question allows it.
  • When the options are expressions (like 2ab, 4ab, a2 + b2), choose values that make the options give different numbers. If two options give the same number, take another set of values to separate them.
  • Number of free choices = number of variables − number of conditions. With 3 variables and 1 condition you may pick 2 values freely; the condition then fixes the third.

[[fig:1]]

When can you not put values? When the question wants one particular unknown that the equations fix, like "x + y = 10, x − y = 4, find x". Nothing is free there, so you have to solve.

Radhika is told x + y = 5 and asked the value of x3 + y3 + 15xy. She puts x = 5, y = 0, whose sum is 5, and gets 125 + 0 + 0 = 125. The identity agrees: x3 + y3 + 3xy(x + y) = (x + y)3 = 125.

Type 1

Algebraic expressions: operations, expansion and substitution

The first type is plain handling of expressions: multiply, expand, simplify and put the given values. These are the easiest marks of the chapter, provided you are careful with signs.

Expanding with identities. (3x − 5)2 is not 9x2 − 25. It is (3x)2 − 2 × 3x × 5 + 52 = 9x2 − 30x + 25. The middle term 2ab is exactly where marks are lost, so always write a and b first: here a = 3x and b = 5.

Formula: (a ± b)2 = a2 ± 2ab + b2

[[fig:0]]

Sum and difference of two squares. Two results come up again and again:

  • (a + b)2 + (a − b)2 = 2(a2 + b2)
  • (a + b)2 − (a − b)2 = 4ab

Formula: (a + b)2 − (a − b)2 = 4ab

Why? Add the two expansions and the 2ab and −2ab cancel, leaving a2 + b2 twice. Subtract them and a2 and b2 cancel, leaving 2ab − (−2ab) = 4ab. So (2x + 3y)2 − (2x − 3y)2 = 4 × 2x × 3y = 24xy, without any expansion.

[[fig:1]]

Substitution. When values are given, simplify first and put the values afterwards. Also look for a pattern. If x = 9 and the expression has the coefficient 10, then 10 = x + 1, and writing the coefficients in terms of x often makes a monster expression collapse. With x = 9, x3 − 10x2 + 10x = x3 − (x + 1)x2 + 10x = −x2 + 10x = x(10 − x) = 9.

Comparing coefficients. If (2x + 1)(x + 3) = Ax2 + Bx + C for all x, expand and match: 2x2 + 7x + 3, so A = 2, B = 7, C = 3. There is a useful shortcut here. A + B + C is the value of the expression at x = 1: (2 + 1)(1 + 3) = 12 = 2 + 7 + 3.

Formula: If f(x) = Ax2 + Bx + C, then A + B + C = f(1) and C = f(0)

Radhika simplifies (x + 4)2 − (x − 4)2. By the second result it is 4 × x × 4 = 16x, and a check at x = 1 gives 25 − 9 = 16.

Formula: am × an = am + n; multiply coefficients, add powers of the same letter
(a + b)2 + (a − b)2 = 2(a2 + b2)

Type 2

Square identities with two variables: sum, difference and product

This is the algebra question you will meet most often. Three quantities are tied together: the sum (a + b) or the difference (a − b), the product ab, and the sum of squares a2 + b2. The question gives two of them and asks the third.

Two identities say it all:

Formula (Sum of squares):
>> - a2 + b2 = (a + b)2 − 2ab
>> - a2 + b2 = (a − b)2 + 2ab

[[fig:0]]

From these follow two more results that link the sum and the difference directly:

  • (a + b)2 = (a − b)2 + 4ab
  • (a − b)2 = (a + b)2 − 4ab

[[fig:1]]

Say Radhika is told a + b = 9 and ab = 14. Then a2 + b2 = 81 − 28 = 53, and (a − b)2 = 81 − 56 = 25, so a − b = ±5. The numbers are in fact 7 and 2.

Scaled forms. Very often the letters come with coefficients: "2x + 3y = 13, xy = 6, find 4x2 + 9y2". Treat 2x as one number A and 3y as another number B. Then A + B = 13 and AB = 6xy = 36, so A2 + B2 = 169 − 72 = 97. The only care needed is that the product of the two "numbers" is 2x × 3y = 6xy, not xy.

Up to the fourth power. a4 + b4 = (a2 + b2)2 − 2a2b2. Another very useful one:
a4 + a2b2 + b4 = (a2 + b2)2 − a2b2 = (a2 + ab + b2)(a2 − ab + b2).

The ± sign. A square root gives two answers: if (a − b)2 = 25, then a − b = 5 or −5. The question usually settles it with "a > b", "positive value", or by keeping only one of them in the options.

Type 3

Difference of squares: a² − b² = (a + b)(a − b)

a2 − b2 = (a + b)(a − b). Expand the right side and see: a2 − ab + ab − b2 = a2 − b2. The middle terms cancel each other, which is why this identity is so clean.

[[fig:0]]

You will use it in three ways.

1. Sum and difference given. If a + b and a − b are given, a2 − b2 is just their product. Going one step further, a4 − b4 = (a2 + b2)(a2 − b2) = (a2 + b2)(a + b)(a − b).

Formula: a4 − b4 = (a2 + b2)(a + b)(a − b)
n2 − (n − 1)2 = n + (n − 1)

2. Number problems. "The squares of two numbers differ by 56 and the numbers differ by 4" means (a + b) × 4 = 56, so a + b = 14 and the numbers are 9 and 5. Whenever a word problem talks about a difference of squares, divide it by the difference (or the sum) of the numbers.

3. Chains of brackets. (a − b)(a + b) = a2 − b2. Multiply by (a2 + b2) and you get a4 − b4; multiply by (a4 + b4) and you get a8 − b8. Every new bracket doubles the power. This is the chain product.

Formula: (a − b)(a + b)(a2 + b2)(a4 + b4)…(an + bn) = a2n − b2n (n a power of 2: 1, 2, 4, 8, …)

[[fig:1]]

The same identity speeds up calculation: 642 − 362 = (64 + 36)(64 − 36) = 100 × 28 = 2800. A series such as 202 − 192 + 182 − 172 + … becomes (20 + 19) + (18 + 17) + …, which is only the sum of the numbers.

Radhika multiplies (2p + 5)(2p − 5) and writes (2p)2 − 52 = 4p2 − 25 straight away. There is no middle term to worry about.

Formula: a2 − b2 = (a + b)(a − b)

Type 4

Cube identities: (a ± b)³ and a³ ± b³

Now we go one power up. Multiply (a + b)2 by (a + b) once more and you get
(a + b)3 = a3 + 3a2b + 3ab2 + b3 = a3 + b3 + 3ab(a + b).

[[fig:0]]

The second form is the one you will use most, because it contains the same three things as before: the sum, the product and the cubes. Read it backwards and you get the main formula of this type:

Formula (Sum and difference of cubes):
>> - a3 + b3 = (a + b)3 − 3ab(a + b)
>> - a3 − b3 = (a − b)3 + 3ab(a − b)

And the factor forms:

  • a3 + b3 = (a + b)(a2 − ab + b2)
  • a3 − b3 = (a − b)(a2 + ab + b2)

So cube questions are of three kinds.

1. Sum (or difference) and product given, cubes asked. a + b = 8, ab = 15 ⇒ a3 + b3 = 512 − 3 × 15 × 8 = 512 − 360 = 152. As a check, the numbers are 5 and 3, and 125 + 27 = 152.

2. Cubes given, product or sum asked. a − b = 3 and a3 − b3 = 117 ⇒ 117 = 27 + 9ab ⇒ ab = 10. Put the known values into the same identity and solve for the unknown.

3. Numerical simplification. a3 + b3a2 − ab + b2 = a + b and a3 − b3a2 + ab + b2 = a − b. When you see a three-term denominator like 67 × 67 − 67 × 33 + 33 × 33, the answer is 67 + 33. One care: the numbers in the numerator and the denominator must be the same. If the numerator has 0.7 and the denominator has 0.07, adjust the decimal places first.

[[fig:1]]

Learn the expansions with their signs too: (a − b)3 = a3 − 3a2b + 3ab2 − b3. The signs alternate +, −, +, −, and the coefficients 1, 3, 3, 1 stay the same in every cube.

[[fig:2]]

For example, (x + 2)3 = x3 + 3 × x2 × 2 + 3 × x × 4 + 8 = x3 + 6x2 + 12x + 8.

Type 5

Cube identities in disguise: hidden cubes, scaled terms and comparison

In this type a perfect cube is hidden inside the question. Your job is to recognise it.

1. The hidden (a + b)3. a3 + b3 + 3ab(a + b) = (a + b)3. So if a + b = 5, then a3 + b3 + 15ab = (a + b)3 = 125, because 3ab(a + b) = 3ab × 5 = 15ab. Look at the coefficient of ab: it is always 3 × (the given sum). In the same way, if a − b = 4, then a3 − b3 − 12ab = (a − b)3 = 64.

Formula: If a + b = k: a3 + b3 + 3k·ab = k3
If a − b = k: a3 − b3 − 3k·ab = k3

[[fig:0]]

2. The hidden (p + 1)3. p3 + 3p2 + 3p + 1 = (p + 1)3. So p3 + 3p2 + 3p = (p + 1)3 − 1, and p(p2 + 3p + 3) is the same thing. If p = 9, the value is 103 − 1 = 999.

Formula: p3 + 3p2 + 3p = p(p2 + 3p + 3) = (p + 1)3 − 1
(a + b)3 + (a − b)3 = 2a(a2 + 3b2); (a + b)3 − (a − b)3 = 2b(3a2 + b2)

3. When a + b = 0. If a + b = 0, then b = −a and a3 + b3 = 0. The question usually writes this with brackets: "if m + n = 30, find (m − 18)3 + (n − 12)3". Add the brackets: (m − 18) + (n − 12) = m + n − 30 = 0, so the answer is 0 straight away.

Formula: If A + B = 0 then A3 + B3 = 0

[[fig:1]]

4. Terms with coefficients. 8x3 + 27y3 is (2x)3 + (3y)3. Treat A = 2x and B = 3y as two numbers. Then A3 + B3 = (A + B)3 − 3AB(A + B), where AB = 6xy. The same approach handles 64a3 − b3 = (4a)3 − b3.

[[fig:2]]

5. Comparing coefficients. Written out, (3 − 2x)3 is 27 − 54x + 36x2 − 8x3. If the question writes the x2 term as 3px2, then 3p = 36 and p = 12. Expand carefully, then match term by term. Keep one more result in mind: (a + b)3 + (a − b)3 = 2a3 + 6ab2 = 2a(a2 + 3b2), because the terms with odd powers of b cancel.

Radhika sees 8x3 + y3 + 6xy with 2x + y = 1. Since 3 × 2x × y × (2x + y) = 6xy, the whole expression is (2x + y)3 = 1.

Type 6

The x + 1/x family I: squares, fourth powers and x − 1/x

This family is a special case of Type 2, but it comes so often that it gets its own place. Take a = x and b = 1x. Their product is always ab = x × 1x = 1, and that single fact makes every formula of Type 2 very simple.

[[fig:0]]

(x + 1x)2 = x2 + 2 + 1x2, so

Formula (x and 1/x (squares)):
>> - If x + 1x = k, then x2 + 1x2 = k2 − 2.
>> - If x − 1x = k, then x2 + 1x2 = k2 + 2.

One step further: x4 + 1x4 = (x2 + 1x2)2 − 2. So from x + 1x = 3 we get x2 + 1x2 = 7 and x4 + 1x4 = 47.

[[fig:1]]

Moving between plus and minus. (x + 1x)2 − (x − 1x)2 = 4. So if x + 1x = 6, then (x − 1x)2 = 36 − 4 = 32 and x − 1x = ±4√2. Also, x2 − 1x2 = (x + 1x)(x − 1x).

Going backwards. If x2 + 1x2 = 62 and x > 0, then x + 1x = √(62 + 2) = 8, and x − 1x = ±√(62 − 2) = ±2√15 (take the sign the question allows). Practise this reverse reading well, because questions often give the bigger power and ask the smaller one.

The root form. If √x + 1√x = k, square it: x + 2 + 1x = k2, so x + 1x = k2 − 2. It is the same formula, one level lower.

The hidden form: a quadratic. x2 − 6x + 1 = 0 looks like an equation, but divide every term by x: x − 6 + 1x = 0, so x + 1x = 6. In the same way, x2 − 6x − 1 = 0 gives x − 1x = 6. Whenever the first and last coefficients are equal in size (1 and 1), think of dividing by x.

[[fig:2]]

Parts with coefficients. In 3x + 13x or 2a + 5a, the two parts still have a fixed product (3x × 13x = 1, and 2a × 5a = 10). So (2a + 5a)2 = 4a2 + 25a2 + 2 × 10. Find the product of the two parts first; that product decides the "2" in the formula.

The shifted form. In "m + 1m − 3 = 5", subtract 3 from both sides: (m − 3) + 1m − 3 = 2. Now t = m − 3 plays the role of x.

Take Radhika's case: x + 1x = 4. Then x2 + 1x2 = 14, x4 + 1x4 = 196 − 2 = 194, and (x − 1x)2 = 16 − 4 = 12.

Type 7

The x + 1/x family II: cubes, higher powers and special values

Now the cubes. With a = x, b = 1x and ab = 1, the cube identity (a + b)3 = a3 + b3 + 3ab(a + b) gives

Formula (x and 1/x (cubes)):
>> - If x + 1x = k, then x3 + 1x3 = k3 − 3k.
>> - If x − 1x = k, then x3 − 1x3 = k3 + 3k.

So if x + 1x = 4, then x3 + 1x3 = 64 − 12 = 52.

Higher powers are built from smaller ones. Multiply two known sums and remove the extra part:
(x2 + 1x2)(x3 + 1x3) = x5 + 1x5 + x + 1x.
So x5 + 1x5 = (x2 + 1x2)(x3 + 1x3) − (x + 1x).
And x6 + 1x6 = (x3 + 1x3)2 − 2, or (x2 + 1x2)3 − 3(x2 + 1x2).
The second route works for the minus form as well, because x2 + 1x2 is a plus-sum in both cases.

[[fig:0]]

Four special values to learn.

  • x + 1x = 2 ⇒ x = 1. Every power gives xn + 1xn = 2.
  • x + 1x = −2 ⇒ x = −1. Then xn + x−n = 2 for even n and −2 for odd n.
  • x + 1x = −1 ⇒ x2 + x + 1 = 0 ⇒ x3 = 1. Powers repeat in a cycle of 3: x4 = x, x5 = x2, x6 = 1.
  • x + 1x = 1 ⇒ x2 − x + 1 = 0 ⇒ x3 = −1. So x6 = 1, and powers repeat in a cycle of 6.

[[fig:1]]

Why is x3 = 1 in the third case? Multiply x2 + x + 1 = 0 by (x − 1) and you get x3 − 1 = 0. That one line opens many tough-looking questions such as x100 + x101 + x102.

From a quadratic to a big power. If x2 − 7x + 1 = 0, then x + 1x = 7 and x2 + 1x2 = 47. So x4 + 1 = 47x2, that is, x4 − 47x2 = −1. A question may ask x4 − 47x2 + 5, and the answer is −1 + 5 = 4. Try to make the expression look like x2n + 1 = (value) × xn.

Type 8

Three variables: (a + b + c)² and a² + b² + c² − ab − bc − ca

With three letters the method is exactly the same as with two. Write (a + b + c)2 = (a + b + c)(a + b + c) and multiply: every letter meets itself once (a2, b2, c2) and meets every other letter twice (2ab, 2bc, 2ca).

Formula (Square of three terms):
>> (a + b + c)2 = a2 + b2 + c2 + 2(ab + bc + ca)

[[fig:0]]

So once again three quantities are linked: the sum a + b + c, the sum of squares a2 + b2 + c2, and the sum of pair-products ab + bc + ca. Any two give the third. If a + b + c = 10 and ab + bc + ca = 31, then a2 + b2 + c2 = 100 − 62 = 38.

The second expression. a2 + b2 + c2 − ab − bc − ca appears in many questions. Multiply it by 2 and rearrange:
2(a2 + b2 + c2 − ab − bc − ca) = (a − b)2 + (b − c)2 + (c − a)2.
So a2 + b2 + c2 − ab − bc − ca = 12[(a − b)2 + (b − c)2 + (c − a)2].

This form is a real help when a, b, c are close to each other. Radhika takes a = 51, b = 52, c = 53: the differences are 1, 1 and 2, so the value is 12(1 + 1 + 4) = 3. Any three consecutive numbers give 3, and numbers in AP with common difference d give 12(d2 + d2 + 4d2) = 3d2.

[[fig:1]]

Sign changes. If the question has a + b − c, replace c by (−c) everywhere:
(a + b − c)2 = a2 + b2 + c2 + 2(ab − bc − ca).

Recognising a perfect square of three terms. In a2 + 9b2 + 4c2 − 6ab + 12bc − 4ca, the square roots of the square terms are a, 3b and 2c. Now fix the signs from the cross terms: −6ab means a and 3b have opposite signs, and +12bc means 3b and 2c have the same sign. So it is (a − 3b − 2c)2. The last cross term confirms it: 2 × a × (−2c) = −4ca.

Type 9

The big identity: a³ + b³ + c³ − 3abc

This is the best-known three-variable identity:

Formula (Three cubes):
>> a3 + b3 + c3 − 3abc = (a + b + c)(a2 + b2 + c2 − ab − bc − ca)

You can verify it by multiplying out the right side: all the mixed terms like a2b cancel and only a3 + b3 + c3 − 3abc remains. For the exam, what matters is that it can be written in three useful ways. Let S = a + b + c, Q = a2 + b2 + c2 and P = ab + bc + ca.

  • Face 1: a3 + b3 + c3 − 3abc = S(Q − P)
  • Face 2: = S(S2 − 3P), because Q = S2 − 2P
  • Face 3: = 12S[(a − b)2 + (b − c)2 + (c − a)2]

Choose the face that matches the given data. If S and P are given, use Face 2. If S and Q are given, find P first. If the actual numbers are given and they are close to each other, use Face 3.

[[fig:0]]

Radhika takes a = 31, b = 32, c = 33. Here S = 96 and the bracket of Face 3 is 1 + 1 + 4 = 6, so a3 + b3 + c3 − 3abc = 12 × 96 × 6 = 288, and not a single cube had to be worked out.

[[fig:1]]

Finding a3 + b3 + c3 itself. Move 3abc to the other side:
a3 + b3 + c3 = S(Q − P) + 3abc.
If a3 + b3 + c3 is given and abc is asked, the same equation gives abc.

Terms with coefficients. 27x3 + 8y3 + 125z3 − 90xyz is (3x)3 + (2y)3 + (5z)3 − 3(3x)(2y)(5z). So treat 3x, 2y and 5z as the three numbers a, b, c.

Type 10

When a + b + c = 0: a³ + b³ + c³ = 3abc and its relatives

Look at the big identity again: a3 + b3 + c3 − 3abc = (a + b + c)(…). If a + b + c = 0, the right side becomes 0, so

Theorem (Sum zero):
>> a + b + c = 0 ⇒ a3 + b3 + c3 = 3abc.

[[fig:0]]

The whole skill here is to spot that the sum is zero, because the question keeps it hidden.

  • Numbers: in 473 − 303 − 173, 47 + (−30) + (−17) = 0, so the value is 3 × 47 × (−30) × (−17). Decimals work the same way: 2.35 + 1.15 − 3.5 = 0.
  • Brackets: (x − y) + (y − z) + (z − x) = 0 always. So (x − y)3 + (y − z)3 + (z − x)3 = 3(x − y)(y − z)(z − x), with no condition at all.
  • Hidden constants: "y = 3x − 2, find 27x3 − y3 − 8 − 18xy". Write 3x − y − 2 = 0. The three numbers are 3x, −y and −2. Their cubes are 27x3, −y3 and −8, and 3 × (3x)(−y)(−2) = 18xy. So 27x3 − y3 − 8 = 18xy and the expression is 0.

[[fig:1]]

Other results when a + b + c = 0.

  • a + b = −c, so (a + b)2 = c2, that is, a2 + b2 + 2ab = c2.
  • a2 + b2 + c2 = −2(ab + bc + ca).
  • a2bc + b2ca + c2ab = a3 + b3 + c3abc = 3.

Putting values works perfectly here. Take a = 1, b = 1, c = −2 (or a = 1, b = −1, c = 0, provided no denominator becomes zero). An expression with a fixed value shows that value at once.

Radhika checks the rule with a = 2, b = 3, c = −5: a3 + b3 + c3 = 8 + 27 − 125 = −90, and 3abc = 3 × 2 × 3 × (−5) = −90.

The equation form. If A3 + B3 + C3 = 3ABC for real numbers, then either A + B + C = 0 or A = B = C. Many questions give such an equation with brackets in x and ask x; try A + B + C = 0 first.

Type 11

Sum of squares equal to zero (completing the square)

The square of a real number is never negative: (anything)2 ≥ 0. So if several squares add up to zero, there is only one possibility: every square must be zero.

Formula: A2 + B2 + C2 = 0 (real numbers) ⇒ A = B = C = 0

[[fig:0]]

(x − 3)2 + (y + 1)2 = 0 ⇒ x − 3 = 0 and y + 1 = 0 ⇒ x = 3, y = −1.

The question never gives the squares directly. It gives something like x2 + y2 − 6x + 2y + 10 = 0, and you have to complete the squares:

  • x2 − 6x = (x − 3)2 − 9 (take half the coefficient of x, that is 3, and square it)
  • y2 + 2y = (y + 1)2 − 1

The equation becomes (x − 3)2 + (y + 1)2 − 10 + 10 = 0, that is, (x − 3)2 + (y + 1)2 = 0. The constant 10 was chosen so that everything cancels.

[[fig:1]]

The quick way. For x2 − 2kx you need the square (x − k)2. So in a question like a2 + b2 + c2 = 2(4a − 3b + 5c) − 50, move everything to one side: a2 − 8a + b2 + 6b + c2 − 10c + 50 = 0. Each value is half its coefficient with the opposite sign, so a = 4, b = −3, c = 5, and the check is 16 + 9 + 25 = 50. If the check works, the answer is correct.

Formula: x2 − 2kx = (x − k)2 − k2; (px)2 − 2pkx = (px − k)2 − k2
Check: with all terms on one side, the constant term must equal the sum of the k2 parts, one for each square (px − k)2

Squares with coefficients. 4x2 − 12x is (2x)2 − 2 × 2x × 3, so it belongs to (2x − 3)2 = 4x2 − 12x + 9. Then 2x = 3 and x = 32.

The other zero sum: a = b = c. If a2 + b2 + c2 = ab + bc + ca, then 12[(a − b)2 + (b − c)2 + (c − a)2] = 0, so a = b = c. After that, every expression reduces to a ratio of coefficients.

Formula: a2 + b2 + c2 = ab + bc + ca ⇒ a = b = c

For example, take x2 + 4y2 − 2x + 4y + 2 = 0. Here (x − 1)2 = x2 − 2x + 1 and (2y + 1)2 = 4y2 + 4y + 1, and the constants 1 + 1 = 2 match. So x = 1 and y = −12.

Type 12

Linear equations, word problems and systems of equations

A linear equation has its variables only in the first power: 3x + 5 = 20, or 2x + 3y = 12. Solving it means finding the value that makes both sides equal. The rule never changes: whatever you do to one side, do to the other side as well.

[[fig:0]]

One variable. 3x + 5 = 20 ⇒ 3x = 15 ⇒ x = 5. With fractions, multiply by the LCM of the denominators first: x3 + x4 = 14 ⇒ 4x + 3x = 168 ⇒ x = 24.

Word problems. Read the story and turn every sentence into an equation. "A number" = x, "5 more than it" = x + 5, "twice the number" = 2x, and "consecutive numbers" = x, x + 1, x + 2. For an odd count of consecutive numbers, take the middle one as x: five consecutive numbers are x − 2, x − 1, x, x + 1, x + 2, and their sum is 5x.

Formula: Consecutive numbers: x, x + 1, x + 2, …; for an odd count, take the middle one as x

Take Radhika's notes. She has ₹10 and ₹20 notes, 25 notes in all, worth ₹380. Let the number of ₹20 notes be n. Then 20n + 10(25 − n) = 380 ⇒ 10n = 130 ⇒ n = 13, so she has 13 notes of ₹20 and 12 notes of ₹10.

This is the "heads and legs" way of thinking: assume everything is of one kind, see how much is short, and divide by the difference per item. If all 25 notes were of ₹10, the total would be ₹250. The shortage is ₹130 and each ₹20 note adds ₹10 more, so 13 notes are of ₹20.

Formula: Two kinds of items (heads–legs, notes, right–wrong marks): number of the second kind = actual total − total if all were first kinddifference per item

[[fig:1]]

Two variables (a system of equations). There are two methods:

  • Elimination: make the coefficient of one variable equal, then add or subtract. From 3x + 2y = 16 and x − 2y = 0, adding gives 4x = 16, so x = 4 and y = 2.
  • Substitution: find one variable from one equation and put it in the other. If y = 2x − 1 and 3x + y = 9, then 3x + 2x − 1 = 9 ⇒ x = 2, y = 3.

Formula: Elimination: make one coefficient equal, then add or subtract the equations

[[fig:2]]

Three variables. Add or subtract the equations to remove one variable at a time. Often one well-chosen step is enough: if x + y + z = 10 and x + y − z = 4, subtracting gives 2z = 6.

Checking the options saves a lot of work here. When the options are complete solutions (like x = 2, y = 3, z = 1), put each option into the equations. The option that satisfies every equation is the answer.

Equations that can be made linear. 4x + 3y = 2xy is not linear as it stands, but divide by xy: 4y + 3x = 2. Now 1x and 1y act as the new variables.

Formula: px + qy = rxy ⇒ py + qx = r (divide by xy)

Type 13

Unique, no or infinitely many solutions (consistency of two equations)

Every linear equation in two variables, like 2x + 3y = 6, is a straight line on a graph. Two such equations are two lines, and two lines can behave in only three ways:

  • They cut at one point ⇒ exactly one (unique) solution.
  • They are parallel and never meet ⇒ no solution.
  • They are the same line, one lying on the other ⇒ infinitely many solutions.

Formula: Unique solution: a1a2 ≠ b1b2

[[fig:0]]

To decide which case it is, compare the ratios of the coefficients. For a1x + b1y + c1 = 0 and a2x + b2y + c2 = 0:

ConditionLinesSolutions
a1a2 ≠ b1b2intersectingunique
a1a2 = b1b2 ≠ c1c2parallelnone
a1a2 = b1b2 = c1c2coincidentinfinitely many

[[fig:1]]

Why does this work? If a1a2 = b1b2, the x- and y-parts of the two equations are multiples of each other. Then either the constants follow the same multiple (the same line) or they do not (parallel lines, which contradict each other).

Radhika compares x + 2y = 3 and 2x + 4y = 7. The ratios are 12 = 24, but 37 is different, so the lines are parallel and there is no solution. Had the second equation been 2x + 4y = 6, all three ratios would be 12 and there would be infinitely many solutions.

Formula: No solution (parallel): a1a2 = b1b2 ≠ c1c2
Infinitely many (coincident): a1a2 = b1b2 = c1c2

Two cautions. Bring both equations to the same form before taking ratios (all terms on one side in both, or the constants on the right in both). And when a question says "parallel lines", it means the same thing as "no solution".

Type 14

Polynomials: factorisation, factor theorem and remainder theorem

A polynomial in x is an expression like 3x3 − 2x2 + x − 7, in which every power of x is a whole number (0, 1, 2, 3, …). So √x, 1x or x−2 stop an expression from being a polynomial. The highest power is the degree: degree 1 is linear, 2 is quadratic and 3 is cubic.

Factorisation means writing a polynomial as a product. Try these tools in this order:

  • Take out the common factor: 3x2 − 27 = 3(x2 − 9).
  • Use an identity: 3(x2 − 9) = 3(x + 3)(x − 3). Also a2 ± 2ab + b2 = (a ± b)2.
  • Group the terms: ab + 2a + 3b + 6 = a(b + 2) + 3(b + 2) = (a + 3)(b + 2).
  • Look for hidden squares: x2 − y2 + 4y − 4 = x2 − (y − 2)2 = (x + y − 2)(x − y + 2).
  • Split the middle term: for x2 + 5x + 6, find two numbers with sum 5 and product 6 (2 and 3), so it is (x + 2)(x + 3).

Formula: x4 + x2y2 + y4 = (x2 + xy + y2)(x2 − xy + y2)

[[fig:0]]

Remainder theorem. When a polynomial p(x) is divided by (x − a), the remainder is p(a). Write p(x) = (x − a) × q(x) + R and put x = a: the first part becomes 0, so p(a) = R. This is why a remainder never needs long division.

Formula: Remainder when p(x) is divided by (x − a) = p(a); by (ax − b) = p(ba)

[[fig:1]]

For a divisor like (2x − 3), put the value that makes it zero, x = 32. The remainder is p(32).

Factor theorem. If p(a) = 0, then (x − a) is a factor of p(x), because the remainder is zero. This finds unknown coefficients quickly: "if (x − 1) is a factor of x2 + kx − 4, find k" gives 1 + k − 4 = 0, so k = 3.

Formula: (x − a) is a factor of p(x) ⇔ p(a) = 0

Radhika divides p(x) = x3 − 2x + 5 by (x + 2). She puts x = −2: −8 + 4 + 5 = 1, so the remainder is 1. To make the polynomial exactly divisible, she must subtract 1 (that is, add −1).

Formula: To make p(x) divisible by (x − a): add −p(a) (or subtract p(a))

If a polynomial is divisible by (x2 − 1) = (x − 1)(x + 1), then p(1) = 0 and p(−1) = 0 both hold. That gives two conditions for two unknowns.

Formula: x2 + (p + q)x + pq = (x + p)(x + q)

Type 15

Quadratic equations, nature of roots, and least or greatest values

A quadratic equation is ax2 + bx + c = 0 with a ≠ 0. It has at most two roots (solutions).

Solving.

  • Factorisation: for x2 − 7x + 12 = 0, the two numbers with sum −7 and product 12 are −3 and −4, so (x − 3)(x − 4) = 0 ⇒ x = 3 or 4.
  • Formula: x = −b ± √b2 − 4ac2a. It always works, even when factorisation is hard.

Formula (Quadratic formula):
>> x = −b ± √b2 − 4ac2a

[[fig:0]]

In word problems a quadratic appears when a number is multiplied by itself or by a neighbour: "a number times 3 more than it is 40" ⇒ x(x + 3) = 40 ⇒ x = 5. Usually one root is negative or not a natural number, and the story rules it out.

Sum and product of roots. If α and β are the roots, then α + β = −ba and αβ = ca. So an equation with given roots is x2 − (sum)x + (product) = 0. For a cubic ax3 + bx2 + cx + d = 0 with roots α, β, γ, the sum is α + β + γ = −ba.

Nature of roots: the discriminant D = b2 − 4ac.

Formula (Nature of roots, D = b2 − 4ac):
>> - D > 0 ⇒ two real and distinct roots
>> - D = 0 ⇒ two real and equal roots (x = −b2a)
>> - D < 0 ⇒ no real roots

[[fig:1]]

Say Radhika wants equal roots for x2 + 6x + k = 0. Then D = 36 − 4k = 0, so k = 9, and indeed x2 + 6x + 9 = (x + 3)2.

Least and greatest values. Completing the square shows them directly. x2 − 6x + 14 = (x − 3)2 + 5, and a square is never negative, so the least value is 5 (at x = 3). In general, for a > 0, ax2 + bx + c has the least value 4ac − b24a at x = −b2a; for a < 0 the same expression gives the greatest value.

For positive numbers, also remember AM ≥ GM (the arithmetic mean is never less than the geometric mean), with equality only when the numbers are equal. Two useful results follow:

  • If the sum of positive numbers is fixed, their product is greatest when they are equal.
  • For any positive x, y, z, (x + y + z)(1x + 1y + 1z) ≥ 9, with equality when x = y = z. So when the sum is fixed, the sum of the reciprocals is least when the numbers are equal.

[[fig:2]]

Comparing the roots of two equations. Some questions give Quantity I (an equation in x) and Quantity II (an equation in y) and ask for the relation between x and y. Solve both equations, write all the roots, and compare every root of one with every root of the other. If each root of one is greater than each root of the other, the relation is clear. If the answer changes from one pair to another, the relation cannot be established.

Type 16

Roots of a quadratic and their relations: α + β, αβ, α2 + β2 and new equations

In Type 15 you saw that the roots of ax2 + bx + c = 0 add up to −ba and multiply to ca. This type shows how much work those two numbers can do for you. Most of the time you never need the roots themselves.

Let the roots be α and β. Then α + β = −ba and αβ = ca.

Formula (Sum and product of roots):
>> α + β = −ba, αβ = ca

[[fig:0]]

Symmetric expressions. Any expression that stays the same when α and β are swapped can be written using only the sum and the product:

  • α2 + β2 = (α + β)2 − 2αβ
  • (α − β)2 = (α + β)2 − 4αβ, and this equals Da2, where D = b2 − 4ac
  • 1α + 1β = α + βαβ
  • α3 + β3 = (α + β)3 − 3αβ(α + β)
  • αβ + βα = α2 + β2αβ

[[fig:1]]

Conditions on the roots. A condition on the roots turns into a condition on the coefficients.

  • One root is zero: c = 0. The roots are equal in size and opposite in sign: b = 0.
  • The roots are reciprocals of each other: αβ = 1, so a = c.
  • One root is double the other: call the roots t and 2t. The sum 3t and the product 2t2 give 2b2 = 9ac.
  • The roots differ by d: (α − β)2 = d2, so Da2 = d2.

Making a new equation. To build an equation whose roots are 2α and 2β, or α2 and β2, or α + 1 and β + 1, find the new sum S and the new product P in terms of α + β and αβ, and write x2 − Sx + P = 0. Take Radhika's equation x2 − 5x + 3 = 0 and suppose she wants roots that are one more than these. The new sum is (α + β) + 2 = 7 and the new product is αβ + (α + β) + 1 = 9, so the new equation is x2 − 7x + 9 = 0.

Common root. If two equations share a root, that root satisfies both. Subtract one equation from the other to remove x2 and you get the common root directly. Put it back into either equation to find the unknown.

Type 17

Greatest and least values of ax2 + bx + c, and of products and sums with a fixed total

Every quadratic expression ax2 + bx + c has one turning point, called the vertex. Complete the square and you can see it:

Formula (Vertex form):
>> ax2 + bx + c = a(x + b2a)2 + 4ac − b24a

The bracket is a square, so it is never negative. What happens next depends only on the sign of a.

  • If a > 0, the square term can only add, so the expression is never below 4ac − b24a. This is the least value.
  • If a < 0, the square term can only subtract, so the expression is never above 4ac − b24a. This is the greatest value.
  • In both cases the value is reached at x = −b2a.

[[fig:0]]

Take x2 − 8x + 3. Here a = 1 > 0, the vertex is at x = 4, and the least value is 16 − 32 + 3 = −13. For 9 + 2x − x2 the sign of a is negative, so we get a greatest value: at x = 1 it is 9 + 2 − 1 = 10.

Two parts with a fixed sum. If x + y = s, then xy = x(s − x) is a quadratic with a < 0, so the product is greatest when x = y = s2. In the same way x2 + y2 = 2(x − s2)2 + s22 is least when x = y. This is the idea behind "greatest area for a fixed fence" questions.

Distances to several points. The sum (x − p)2 + (x − q)2 + (x − r)2 is least when x is the mean of p, q and r.

A fraction with a fixed numerator. kax2 + bx + c (k > 0, a > 0) is greatest where the denominator is least.

Whole-number restriction. If x must be a whole number and −b2a is not, test the whole numbers on either side of it. The real minimum or maximum at the vertex is then not allowed.

Stories. Revenue = price × number sold, area = length × breadth. Write the quantity in one variable, and it is almost always a quadratic with a < 0.

Type 18

Equations reducible to a quadratic: substitution, fractions, roots and powers

Some equations are not quadratic to look at, but a quadratic is hiding inside them. The skill is to spot the part that repeats, give it a new name, and solve the easy equation that results.

Even powers: put y = x2. For x4 − 5x2 + 4 = 0, note that x4 = (x2)2. With y = x2 the equation is y2 − 5y + 4 = 0, so y = 1 or 4, and then x2 = 1 or 4 gives x = ±1 or ±2. The same idea works for any equation whose powers of x are all even, and for any bracket that appears twice, such as (x2 − 3x)2 − 2(x2 − 3x) − 8 = 0, where y = x2 − 3x.

Formula: x4 + px2 + q = 0: put y = x2; ax2 + b + cx2 type: put y = x + 1x
a2x + p·ax + q = 0: put y = ax (y > 0)

[[fig:0]]

x + 1x type. If an equation has x2 + 1x2 and x + 1x together, put y = x + 1x and use x2 + 1x2 = y2 − 2. Remember that a real x makes x + 1x at least 2 or at most −2, so a value of y between −2 and 2 gives no real x.

Exponential type. In 9x − 4 × 3x + 3 = 0, put y = 3x. Then 9x = y2. Since 3x is always positive, drop any negative y.

Fractions. Multiply through by the common denominator and you get a quadratic. Then check that no root makes a denominator zero. For example, 1x + 1x + 2 = 34 becomes 4(2x + 2) = 3x(x + 2), that is 3x2 − 2x − 8 = 0, with roots 2 and −43. Both are allowed here.

Formula: Fractions: clear denominators, and reject any root that makes a denominator zero

Square roots. In √f(x) = g(x), square both sides, solve, and then test each root in the original equation. A root with g(x) < 0 is extra and must be dropped, because a square root is never negative. For instance √x + 2 = x gives x2 − x − 2 = 0, so x = 2 or −1, and only x = 2 works.

Formula: √f(x) = g(x): square, solve, then reject any root with g(x) < 0

When a quadratic hides inside a longer product, such as (x + 1)(x + 2)(x + 3)(x + 4), pair the factors so that the two pairs share the same x-part (here x2 + 5x), and put y equal to that part.

Type 19

Quadratic word problems: numbers, areas, ages, speed, work and sharing

Almost every quadratic word problem works the same way. Name the unknown, translate the story into one equation, solve it, and then ask whether each root makes sense in the story.

[[fig:0]]

Numbers. Two consecutive numbers are x and x + 1 (consecutive even or odd numbers: x and x + 2). If their product is 156, then x(x + 1) = 156 gives x = 12, so the numbers are 12 and 13. The negative root x = −13 is a valid pair of numbers (−13 and −12) unless the question says positive or natural, so read the words carefully.

Formula: Consecutive numbers: x(x + 1) = P; number and square: x + x2 = S

Geometry. Length × breadth gives the area, and 2(length + breadth) gives the perimeter. When the perimeter is known, length + breadth is known, and the area equation is x(s − x) = A. For a right-angled triangle use a2 + b2 = c2 with the sides written as x and x + d.

Formula: Right triangle: a2 + (a + d)2 = c2; path around a rectangle: (l − 2w)(b − 2w) = lawn

[[fig:1]]

Speed and time. For a fixed distance d, the time at speed x is dx. If the speed rises by u, the time falls, so dx − dx + u = (time saved). Multiply through and you get a quadratic in x.

Work. If A alone takes x days and B alone takes x + k days, their one-day work is 1x + 1x + k, and this equals 1t when they finish together in t days.

Formula: Work: 1x + 1x + k = 1t

Sharing. If n people share a cost C equally, each pays Cn. When 2 more join, each pays Cn + 2, and the difference gives the equation.

Ages. Write the two ages as x and x + d (or x and x − d), put the product or the sum of squares on one side, and keep only the positive root.

Radhika runs a stall and sells (100 − 2p) toffees a day at ₹p each. Her daily takings are p(100 − 2p), which is a quadratic with a < 0, so the greatest takings come at p = 25, exactly the vertex idea from Type 17.

Formula: Speed: dx − dx + u = t

Type 20

Linear inequalities, quadratic inequalities and modulus

An inequality compares two quantities with <, >, ≤ or ≥. Solving one is almost the same as solving an equation, with a single new rule.

The rules.

  • Adding or subtracting the same number on both sides keeps the sign.
  • Multiplying or dividing by a positive number keeps the sign.
  • Multiplying or dividing by a negative number turns the sign round: from −2x < 6 we get x > −3.

[[fig:0]]

Compound inequalities. For −3 < 2x + 1 ≤ 9, do the same step on all three parts: −4 < 2x ≤ 8, so −2 < x ≤ 4. The integers that fit are −1, 0, 1, 2, 3 and 4. A strict sign (< or >) leaves the end out, and a sign with a bar (≤ or ≥) keeps it.

Modulus. |x| is the distance of x from 0, so it is never negative. In the same way |x − a| is the distance of x from a.

Formula (Modulus):
>> - |x − a| = b means x = a + b or x = a − b.
>> - |x − a| < b means x is within b of a: a − b < x < a + b (one piece).
>> - |x − a| > b means x is more than b away from a: x < a − b or x > a + b (two pieces).
>> - |x − a| = |x − b| means x is the same distance from both, so x = a + b2.

[[fig:1]]

Radhika solves |x − 1| < 3 by reading it as "x is within 3 of 1". The numbers run from −2 to 4, and the end points are not included.

Sum of distances. |x − a| + |x − b| is least when x lies between a and b, and the least value is the gap |a − b|. For three points, |x − p| + |x − q| + |x − r| is least at the middle point.

Quadratic inequalities. Factorise first. For p < q, (x − p)(x − q) < 0 holds between the roots, and (x − p)(x − q) > 0 holds outside them. For example x2 − 7x + 10 ≤ 0 is (x − 2)(x − 5) ≤ 0, so 2 ≤ x ≤ 5.

Stories. "At most" gives ≤ and "at least" gives ≥. When the answer is a count of things, take the greatest or least whole number that fits.