PracticeVideosBlogFlashcards

7.1 Algebraic Identities, Polynomial Factorization & Systems of Linear Equations in Two Variables

Key Takeaways

  • Standard quadratic and cubic algebraic identities provide rapid reduction pathways that bypass laborious arithmetic expansion during the 72-second per-question CBT window.

  • The conditional identity a3+b3+c3−3abc=(a+b+c)(a2+b2+c2−ab−bc−ca)=12(a+b+c)[(a−b)2+(b−c)2+(c−a)2]a^3 + b^3 + c^3 - 3abc = (a+b+c)(a^2+b^2+c^2 - ab - bc - ca) = \frac{1}{2}(a+b+c)[(a-b)^2 + (b-c)^2 + (c-a)^2] collapses directly to a3+b3+c3=3abca^3 + b^3 + c^3 = 3abc whenever a+b+c=0a+b+c = 0.

  • Reciprocal symmetrical power chains generated from x+1x=kx + \frac{1}{x} = k follow rigorous recurrence relations: x2+1x2=k2−2x^2 + \frac{1}{x^2} = k^2 - 2, x3+1x3=k3−3kx^3 + \frac{1}{x^3} = k^3 - 3k, and x5+1x5=(x2+1x2)(x3+1x3)−(x+1x)x^5 + \frac{1}{x^5} = (x^2 + \frac{1}{x^2})(x^3 + \frac{1}{x^3}) - (x + \frac{1}{x}).

  • For two nondegenerate linear equations, a nonzero coefficient determinant gives a unique solution. A zero determinant requires checking whether the equations are proportional or inconsistent; coefficient ratios require nonzero denominators.

  • Operational railway resource allocations—including rake wagon compositions, differential coaching fare tiers, and sectional track maintenance allocations—readily translate into simultaneous linear equations solvable via systematic elimination.

Last updated: October 2026

Core Algebraic Identities & Expansions

Algebraic identities are equations that remain universally true for all real values assigned to their variables. Rather than performing manual polynomial multiplication, examinees must instantly recognize patterns to factorize, cancel terms, and substitute values.

+-----------------------------------------------------------------------------------------+
|                         FUNDAMENTAL QUADRATIC IDENTITIES MATRIX                         |
+-----------------------------------------------------------------------------------------+
| Sum & Difference Squares:    (a + b)^2 = a^2 + 2ab + b^2                                |
|                              (a - b)^2 = a^2 - 2ab + b^2                                |
| Difference of Squares:       a^2 - b^2 = (a - b)(a + b)                                 |
| Symmetric Combinations:      (a + b)^2 + (a - b)^2 = 2(a^2 + b^2)                       |
|                              (a + b)^2 - (a - b)^2 = 4ab                                |
| Three-Variable Square:       (a + b + c)^2 = a^2 + b^2 + c^2 + 2(ab + bc + ca)          |
+-----------------------------------------------------------------------------------------+
Identity NameAlgebraic ExpressionStandard Factorization / Equivalent FormCommon CBT Application
Sum Square(a+b)2(a + b)^2a2+2ab+b2a^2 + 2ab + b^2Expanding binomial expressions, completing squares
Difference Square(a−b)2(a - b)^2a2−2ab+b2a^2 - 2ab + b^2Minimum distance calculations, root differentials
Difference of Two Squaresa2−b2a^2 - b^2(a−b)(a+b)(a - b)(a + b)Rapid mental arithmetic: 732−272=(100)(46)=460073^2 - 27^2 = (100)(46) = 4600
Legendre Identities(a+b)2±(a−b)2(a + b)^2 \pm (a - b)^2+→2(a2+b2)+ \to 2(a^2 + b^2); −→4ab- \to 4abInstant evaluation of (a+b)2−(a−b)2ab=4\frac{(a+b)^2 - (a-b)^2}{ab} = 4
Trinomial Square(a+b+c)2(a + b + c)^2a2+b2+c2+2(ab+bc+ca)a^2 + b^2 + c^2 + 2(ab + bc + ca)Finding sum of pairwise products from sum and sum of squares

Note

Notice the powerful utility of Legendre's difference identity: (a+b)2−(a−b)2=4ab(a+b)^2 - (a-b)^2 = 4ab. In competitive tests, expressions of the form (847+356)2−(847−356)2847×356\frac{(847 + 356)^2 - (847 - 356)^2}{847 \times 356} appear daunting, but simplifying symbolically yields 4abab=4\frac{4ab}{ab} = 4 in under three seconds without computing a single arithmetic square.


Cubic Identities & Factorization Structures

Cubic polynomials feature heavily in RRB examinations, testing both binomial cube expansions and the sum/difference of two cubes.

1. Binomial Cubes

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

Rearranging these identities yields the sum and difference of cubes in terms of sum/difference and product:

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

2. Factorization of Sum and Difference of Two Cubes

a3+b3=(a+b)(a2−ab+b2)a^3 + b^3 = (a + b)(a^2 - ab + b^2) a3−b3=(a−b)(a2+ab+b2)a^3 - b^3 = (a - b)(a^2 + ab + b^2)

Tip

Sign Parity Mnemonic: The binomial factor (a±b)(a \pm b) preserves the sign of the original cubic sum or difference, whereas the middle cross-term in the quadratic factor (a2∓ab+b2)(a^2 \mp ab + b^2) always takes the opposite sign. The quadratic factor a2∓ab+b2a^2 \mp ab + b^2 cannot be factored further over the real numbers.


The Three-Variable Cubic Identity & The Zero-Sum Corollary

A useful three-variable cubic identity is:

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)

The Half-Sum Alternative Form

By multiplying and dividing the quadratic factor by 22, we obtain the sum-of-squares representation:

a2+b2+c2−ab−bc−ca=12[(a−b)2+(b−c)2+(c−a)2]a^2 + b^2 + c^2 - ab - bc - ca = \frac{1}{2} \left[ (a - b)^2 + (b - c)^2 + (c - a)^2 \right]

Substituting this back into the master identity:

a3+b3+c3−3abc=12(a+b+c)[(a−b)2+(b−c)2+(c−a)2]a^3 + b^3 + c^3 - 3abc = \frac{1}{2}(a + b + c) \left[ (a - b)^2 + (b - c)^2 + (c - a)^2 \right]

Non-Negativity & The Uniqueness of Equality

Because (a−b)2≥0(a - b)^2 \ge 0, (b−c)2≥0(b - c)^2 \ge 0, and (c−a)2≥0(c - a)^2 \ge 0 for all real numbers a,b,ca, b, c:

a2+b2+c2−ab−bc−ca≥0a^2 + b^2 + c^2 - ab - bc - ca \ge 0

Equality holds (a2+b2+c2−ab−bc−ca=0a^2 + b^2 + c^2 - ab - bc - ca = 0) if and only if:

a−b=0,b−c=0,c−a=0  ⟺  a=b=ca - b = 0, \quad b - c = 0, \quad c - a = 0 \iff a = b = c
+-----------------------------------------------------------------------------------------+
|                        THE ZERO-SUM CONDITIONAL IDENTITY                                |
+-----------------------------------------------------------------------------------------+
| If:                                a + b + c = 0                                        |
|                                          │                                              |
|                                          ▼                                              |
| Then:                  a^3 + b^3 + c^3 - 3abc = (0) * (a^2 + b^2 + c^2 - ab - bc - ca)  |
|                                          │                                              |
|                                          ▼                                              |
| Result:                         a^3 + b^3 + c^3 = 3abc                                  |
+-----------------------------------------------------------------------------------------+

Important

Whenever an exam question asks for the evaluation of an expression such as (x−y)3+(y−z)3+(z−x)3(x - y)^3 + (y - z)^3 + (z - x)^3, immediately check the sum of the base terms: (x−y)+(y−z)+(z−x)=0(x - y) + (y - z) + (z - x) = 0. Because the sum of the bases is zero, the answer is directly 3(x−y)(y−z)(z−x)3(x - y)(y - z)(z - x).


Reciprocal Symmetrical Expressions (x+1x=kx + \frac{1}{x} = k)

For exercises providing x+1x=kx + \frac{1}{x} = k or x−1x=mx - \frac{1}{x} = m and asking for higher powers (x2,x3,x4,x5,x6x^2, x^3, x^4, x^5, x^6) can be solved by recurrence transformations. Derive each step or check it with the preceding identities.

+-----------------------------------------------------------------------------------------+
|                         RECIPROCAL POWER PROGRESSION LADDER                             |
+-----------------------------------------------------------------------------------------+
| Base Sum:                   x + 1/x = k                                                 |
|    │                                                                                    |
|    ├──> Degree 2:           x^2 + 1/x^2 = k^2 - 2                                       |
|    │                                                                                    |
|    ├──> Degree 3:           x^3 + 1/x^3 = k^3 - 3k                                      |
|    │                                                                                    |
|    ├──> Degree 4:           x^4 + 1/x^4 = (k^2 - 2)^2 - 2                               |
|    │                                                                                    |
|    ├──> Degree 5:           x^5 + 1/x^5 = (x^2 + 1/x^2)(x^3 + 1/x^3) - (x + 1/x)        |
|    │                                    = (k^2 - 2)(k^3 - 3k) - k                       |
|    │                                                                                    |
|    └──> Degree 6:           x^6 + 1/x^6 = (x^3 + 1/x^3)^2 - 2                           |
+-----------------------------------------------------------------------------------------+

Systematic Derivation of Power Ladders

  1. Square Relation (x2+1x2x^2 + \frac{1}{x^2}):
(x+1x)2=x2+2(x)(1x)+1x2=x2+1x2+2\left(x + \frac{1}{x}\right)^2 = x^2 + 2(x)\left(\frac{1}{x}\right) + \frac{1}{x^2} = x^2 + \frac{1}{x^2} + 2 x2+1x2=k2−2x^2 + \frac{1}{x^2} = k^2 - 2

Conversely, if x−1x=mx - \frac{1}{x} = m, then x2+1x2=m2+2x^2 + \frac{1}{x^2} = m^2 + 2.

  1. Cube Relation (x3+1x3x^3 + \frac{1}{x^3}):
(x+1x)3=x3+1x3+3(x)(1x)(x+1x)=x3+1x3+3k\left(x + \frac{1}{x}\right)^3 = x^3 + \frac{1}{x^3} + 3(x)\left(\frac{1}{x}\right)\left(x + \frac{1}{x}\right) = x^3 + \frac{1}{x^3} + 3k x3+1x3=k3−3kx^3 + \frac{1}{x^3} = k^3 - 3k

Conversely, if x−1x=mx - \frac{1}{x} = m, then x3−1x3=m3+3mx^3 - \frac{1}{x^3} = m^3 + 3m.

  1. Fourth Power Relation (x4+1x4x^4 + \frac{1}{x^4}): Let P2=x2+1x2=k2−2P_2 = x^2 + \frac{1}{x^2} = k^2 - 2. Then squaring P2P_2:
x4+1x4=P22−2=(k2−2)2−2x^4 + \frac{1}{x^4} = P_2^2 - 2 = (k^2 - 2)^2 - 2
  1. Fifth Power Relation (x5+1x5x^5 + \frac{1}{x^5}): Multiply the quadratic sum by the cubic sum:
(x2+1x2)(x3+1x3)=x5+1x+x+1x5=(x5+1x5)+(x+1x)\left(x^2 + \frac{1}{x^2}\right)\left(x^3 + \frac{1}{x^3}\right) = x^5 + \frac{1}{x} + x + \frac{1}{x^5} = \left(x^5 + \frac{1}{x^5}\right) + \left(x + \frac{1}{x}\right) x5+1x5=(x2+1x2)(x3+1x3)−(x+1x)x^5 + \frac{1}{x^5} = \left(x^2 + \frac{1}{x^2}\right)\left(x^3 + \frac{1}{x^3}\right) - \left(x + \frac{1}{x}\right)
  1. Sign Bridging Formula: To convert between sum and difference of reciprocals:
(x−1x)2=(x+1x)2−4  ⟹  x−1x=±k2−4\left(x - \frac{1}{x}\right)^2 = \left(x + \frac{1}{x}\right)^2 - 4 \implies x - \frac{1}{x} = \pm \sqrt{k^2 - 4} (x+1x)2=(x−1x)2+4  ⟹  x+1x=±m2+4\left(x + \frac{1}{x}\right)^2 = \left(x - \frac{1}{x}\right)^2 + 4 \implies x + \frac{1}{x} = \pm \sqrt{m^2 + 4}

Special Invariant Values

Given ConditionInherent Algebraic ConsequencePower Value Invariants
x+1x=2x + \frac{1}{x} = 2(x−1)2=0  ⟹  x=1(x - 1)^2 = 0 \implies x = 1xn+1xn=2x^n + \frac{1}{x^n} = 2, xn−1xn=0x^n - \frac{1}{x^n} = 0 for all nn
x+1x=−2x + \frac{1}{x} = -2(x+1)2=0  ⟹  x=−1(x + 1)^2 = 0 \implies x = -1xn+1xn=2x^n + \frac{1}{x^n} = 2 (if nn even), −2-2 (if nn odd)
x+1x=1x + \frac{1}{x} = 1x2−x+1=0  ⟹  (x+1)(x2−x+1)=0x^2 - x + 1 = 0 \implies (x+1)(x^2 - x + 1) = 0x3=−1x^3 = -1, x6=1x^6 = 1, xn+3+xn=0x^{n+3} + x^n = 0
x+1x=3x + \frac{1}{x} = \sqrt{3}Square: x2+1/x2=1  ⟹  x4−x2+1=0x^2 + 1/x^2 = 1 \implies x^4 - x^2 + 1 = 0x6=−1x^6 = -1, x12=1x^{12} = 1, xn+6+xn=0x^{n+6} + x^n = 0

Systems of Linear Equations in Two Variables

A general system of two linear equations in two unknown variables xx and yy is expressed in standard form as:

a1x+b1y+c1=0a_1 x + b_1 y + c_1 = 0 a2x+b2y+c2=0a_2 x + b_2 y + c_2 = 0

where a1,b1,c1,a2,b2,c2a_1, b_1, c_1, a_2, b_2, c_2 are real constants and a12+b12≠0a_1^2 + b_1^2 \neq 0, a22+b22≠0a_2^2 + b_2^2 \neq 0.

The coefficient-ratio shortcuts below require the displayed denominators to be nonzero. For zero coefficients, use elimination or the determinant test instead.

Geometric Interpretation & Consistency Criteria

Every linear equation in two variables represents a straight line on the Cartesian plane. The solution set of the system corresponds to the geometric intersection of the two lines.

+-----------------------------------------------------------------------------------------+
|                      LINEAR SYSTEM CLASSIFICATION & CRITERIA                            |
+-----------------------------------------------------------------------------------------+
| Ratio Condition:              Geometric State:           Algebraic Nature of Solution:  |
|                                                                                         |
|  a1/a2 != b1/b2          ---> Intersecting Lines    ---> Unique Solution (Consistent &  |
|                                                          Independent)                   |
|                                                                                         |
|  a1/a2 = b1/b2 = c1/c2   ---> Coincident Lines      ---> Infinitely Many Solutions      |
|                                                          (Consistent & Dependent)       |
|                                                                                         |
|  a1/a2 = b1/b2 != c1/c2  ---> Parallel Lines        ---> No Solution (Inconsistent)     |
+-----------------------------------------------------------------------------------------+
CaseRatio RelationshipGraphical RepresentationNature of SystemNumber of Solutions
1a1a2≠b1b2\frac{a_1}{a_2} \neq \frac{b_1}{b_2}Intersecting lines at point (x0,y0)(x_0, y_0)Consistent and IndependentExactly one unique solution
2a1a2=b1b2=c1c2\frac{a_1}{a_2} = \frac{b_1}{b_2} = \frac{c_1}{c_2}Coincident (identical overlapping lines)Consistent and DependentInfinitely many solutions
3a1a2=b1b2≠c1c2\frac{a_1}{a_2} = \frac{b_1}{b_2} \neq \frac{c_1}{c_2}Parallel and distinct linesInconsistentZero solutions (No solution)

Warning

Constant Term Alignment Trap: When comparing ratios a1a2,b1b2,c1c2\frac{a_1}{a_2}, \frac{b_1}{b_2}, \frac{c_1}{c_2}, ensure both equations place the constant terms on the same side of the equals sign. Comparing 2x+3y=72x + 3y = 7 with 4x+6y+14=04x + 6y + 14 = 0 directly without transposing leads to an erroneous sign flip, misclassifying these distinct parallel lines as coincident.

Methods of Solving Linear Systems

  1. Elimination Method: Multiply one or both equations by suitable non-zero scalars so that the coefficients of one variable become equal or opposite, then add or subtract equations.
  2. Substitution Method: Express one variable in terms of the other from the simpler equation and substitute into the second equation.
  3. Cross-Multiplication Method (Cramer's Rule for 2×22 \times 2):
x=b1c2−b2c1a1b2−a2b1,y=c1a2−c2a1a1b2−a2b1x = \frac{b_1 c_2 - b_2 c_1}{a_1 b_2 - a_2 b_1}, \quad y = \frac{c_1 a_2 - c_2 a_1}{a_1 b_2 - a_2 b_1}

Notice that the denominator is the determinant Δ=a1b2−a2b1\Delta = a_1 b_2 - a_2 b_1. A unique solution exists if and only if Δ≠0\Delta \neq 0.


Practical Word Problems Modeled as Linear Systems

In Section Controller operations, resource allocation problems translate directly into two-variable linear models. Typical railway scenarios include:

  • Rake Composition: Mixing freight wagons of different payload capacities (e.g., high-capacity BOXN coal wagons vs. covered BCN grain wagons) under total gross trailing load and maximum train length constraints.
  • Passenger Ticketing & Berths: Determining passenger counts in AC 3-Tier and Sleeper coaches given total ticket revenue and total berth occupancy.
  • Speed-Distance Segmentations: Dividing total route travel time between normal running speed and restricted speed over track maintenance blocks.

Worked Examples

Worked Example 1: Three-Variable Cubic Evaluation

Problem: Given that x+y+z=9x + y + z = 9 and xy+yz+zx=26xy + yz + zx = 26, determine the numerical value of x3+y3+z3−3xyzx^3 + y^3 + z^3 - 3xyz.

  • Step 1: Compute the sum of squares x2+y2+z2x^2 + y^2 + z^2: From the trinomial square identity:
(x+y+z)2=x2+y2+z2+2(xy+yz+zx)(x + y + z)^2 = x^2 + y^2 + z^2 + 2(xy + yz + zx)

Substitute the given values:

92=x2+y2+z2+2(26)9^2 = x^2 + y^2 + z^2 + 2(26) 81=x2+y2+z2+52  ⟹  x2+y2+z2=81−52=2981 = x^2 + y^2 + z^2 + 52 \implies x^2 + y^2 + z^2 = 81 - 52 = 29
  • Step 2: Apply the cubic identity:
x3+y3+z3−3xyz=(x+y+z)(x2+y2+z2−(xy+yz+zx))x^3 + y^3 + z^3 - 3xyz = (x + y + z)(x^2 + y^2 + z^2 - (xy + yz + zx))
  • Step 3: Substitute the calculated terms:
x3+y3+z3−3xyz=9×[29−26]=9×3=27x^3 + y^3 + z^3 - 3xyz = 9 \times [29 - 26] = 9 \times 3 = 27
  • Conclusion: The value of the expression is 27.

Worked Example 2: Reciprocal Power Chain Evaluation

Problem: If x+1x=3x + \frac{1}{x} = 3, find the exact value of x5+1x5x^5 + \frac{1}{x^5}.

  • Step 1: Calculate the quadratic term (x2+1x2x^2 + \frac{1}{x^2}):
x2+1x2=k2−2=32−2=9−2=7x^2 + \frac{1}{x^2} = k^2 - 2 = 3^2 - 2 = 9 - 2 = 7
  • Step 2: Calculate the cubic term (x3+1x3x^3 + \frac{1}{x^3}):
x3+1x3=k3−3k=33−3(3)=27−9=18x^3 + \frac{1}{x^3} = k^3 - 3k = 3^3 - 3(3) = 27 - 9 = 18
  • Step 3: Relate the fifth power product:
(x2+1x2)(x3+1x3)=(x5+1x5)+(x+1x)\left(x^2 + \frac{1}{x^2}\right)\left(x^3 + \frac{1}{x^3}\right) = \left(x^5 + \frac{1}{x^5}\right) + \left(x + \frac{1}{x}\right)
  • Step 4: Substitute and isolate x5+1x5x^5 + \frac{1}{x^5}:
7×18=(x5+1x5)+37 \times 18 = \left(x^5 + \frac{1}{x^5}\right) + 3 126=(x5+1x5)+3  ⟹  x5+1x5=126−3=123126 = \left(x^5 + \frac{1}{x^5}\right) + 3 \implies x^5 + \frac{1}{x^5} = 126 - 3 = 123
  • Conclusion: The value of x5+1x5x^5 + \frac{1}{x^5} is 123.

Worked Example 3: System Dependency & Infinite Solutions

Problem: In an automated railway signaling telemetry matrix, two circuit sensor equations are given by:

(k−1)x+3y=7(k - 1)x + 3y = 7 (k+1)x+6y=5k−1(k + 1)x + 6y = 5k - 1

Find the value of the parameter kk for which the telemetry system yields infinitely many consistent solutions.

  • Step 1: State the condition for infinitely many solutions: For coincident lines, the ratio of coefficients must satisfy:
a1a2=b1b2=c1c2\frac{a_1}{a_2} = \frac{b_1}{b_2} = \frac{c_1}{c_2}

Here a1=k−1,b1=3,c1=−7a_1 = k-1, b_1 = 3, c_1 = -7; a2=k+1,b2=6,c2=−(5k−1)a_2 = k+1, b_2 = 6, c_2 = -(5k-1).

  • Step 2: Equate the first two ratios:
k−1k+1=36=12\frac{k - 1}{k + 1} = \frac{3}{6} = \frac{1}{2}

Cross-multiplying gives:

2(k−1)=1(k+1)  ⟹  2k−2=k+1  ⟹  k=32(k - 1) = 1(k + 1) \implies 2k - 2 = k + 1 \implies k = 3
  • Step 3: Verify the third ratio with k=3k = 3:
c1c2=−7−(5k−1)=75(3)−1=715−1=714=12\frac{c_1}{c_2} = \frac{-7}{-(5k - 1)} = \frac{7}{5(3) - 1} = \frac{7}{15 - 1} = \frac{7}{14} = \frac{1}{2}

Since a1a2=b1b2=c1c2=12\frac{a_1}{a_2} = \frac{b_1}{b_2} = \frac{c_1}{c_2} = \frac{1}{2}, k=3k = 3 satisfies the complete dependency condition.

  • Conclusion: The system has infinitely many solutions when k=3k = 3.

The coefficient-ratio consistency test requires the denominators shown to be nonzero; otherwise use elimination or determinants. The displayed reciprocal conditions x+1/x=1x+1/x=1 and x+1/x=3x+1/x=\sqrt{3} have no real solutions: their listed power identities apply only over complex numbers and are optional algebra extensions.

Test Your Knowledge

If a = 2.34, b = 3.12, and c = -5.46, what is the numerical value of the expression (a^3 + b^3 + c^3) / (abc)?

A

-3

B

3

C

0

D

6

Test Your Knowledge

Given that x + 1/x = 4, what is the exact numerical value of x^4 + 1/x^4?

A

184

B

196

C

192

D

194

Test Your Knowledge

In a freight terminal, a Section Controller allocates two types of freight rakes: Type X wagons and Type Y wagons. On Monday, 5 Type X rakes and 3 Type Y rakes transport a total of 384 wagons. On Tuesday, 4 Type X rakes and 6 Type Y rakes transport 516 wagons. If on Wednesday the controller dispatches 3 Type X rakes and 4 Type Y rakes, what is the total number of wagons transported?

A

358 wagons

B

374 wagons

C

342 wagons

D

390 wagons

Sections you finish are checked off in the contents.