Skip to content
Study CupPowered by Tayari Sensei

Solve equations in one line

Four patterns that solve equations by inspection: equal products, equal sums, matching ratios and swapped coefficients, plus a one-line formula.

Advanced

Best for: Algebra exams · Simultaneous equations · Checking answers fast

x = 0

Why it works

Some equations hide a pattern that makes most of the algebra cancel. Spotting it first turns a page of working into one line. Each pattern has a Vedic sutra name, and each answer can be checked by putting it back into the equation.

Before solving, ask: do the constant products match? Do the sums match? Are the ratios equal? Are the coefficients swapped?

Step by step

  1. Equal products of constants → x = 0. (Shunyam Saamyasamuccaye, "when the sum is the same, that sum is zero".)

    (x + 7)(x + 9) = (x + 3)(x + 21): 7 × 9 = 63 and 3 × 21 = 63, so x = 0.

  2. Equal sums of denominators → that sum is zero.

    1/(x − 7) + 1/(x − 9) = 1/(x − 6) + 1/(x − 10): each side's denominators add to 2x − 16. So 2x − 16 = 0 → x = 8.

  3. One ratio matches the constants → the other unknown is zero. (Anurupye Shunyamanyat, "if one is in ratio, the other is zero".)

    3x + 7y = 2 and 4x + 21y = 6: 7 : 21 = 2 : 6, so x = 0 and y = 2/7.

  4. Swapped coefficients → add and subtract. (Sankalana Vyavakalanabhyam, "by addition and by subtraction".)

    45x − 23y = 113 and 23x − 45y = 91
    45x − 23y = 113
    23x − 45y = 91
    68x − 68y = 204
    add
    x − y = 3
    ÷ 68
    22x + 22y = 22
    subtract
    x + y = 1
    ÷ 22
    x = 2, y = −1
    add the two short lines: 2x = 4
  5. Any other pair → cross-multiply. For ax + by = c and dx + ey = f: x = (ce − bf) ÷ (ae − bd).

Worked example

2x + 3y = 8 and 4x + 5y = 14 — no special pattern, so use the formula.

Here a = 2, b = 3, c = 8 and d = 4, e = 5, f = 14.

2x + 3y = 8 and 4x + 5y = 14
8 × 5 − 3 × 14 −2
x = ────────────── = ── = 1
(ce − bf) ÷ (ae − bd)
2 × 5 − 3 × 4 −2
2 × 1 + 3y = 8
put x = 1 into 2x + 3y = 8
3y = 6
y = 2
x = 1, y = 2
check: 4 × 1 + 5 × 2 = 14 ✓

What made it work

  • Looking before solving. Patterns 1 to 4 skip the algebra entirely.
  • A formula for the rest that is one line of crosswise products.

Try it now

2-minute drill

Spot the pattern, then type the value asked for.

Subject examples

Science: two unknown masses

Two mixtures give 37x + 13y = 124 and 13x + 37y = 76. Swapped coefficients!

37x + 13y = 124 and 13x + 37y = 76
37x + 13y = 124
13x + 37y = 76
50x + 50y = 200
add
x + y = 4
÷ 50
24x − 24y = 48
subtract
x − y = 2
÷ 24
x = 3, y = 1
add the two short lines: 2x = 6

Exams: spot the zero

5x + 3y = 1 and 7x + 9y = 3: the y-terms 3 : 9 match the constants 1 : 3, so x = 0, and y = 1/3.

Quadratics by calculus

For students who know derivatives (Chalana Kalanabhyam): the first derivative equals ± the square root of the discriminant.

x² + 5x + 6 = 0
2x + 5 = ±√(25 − 24)
derivative = ±√(b² − 4ac)
2x + 5 = ±1
2x = −4 or −6
x = −2 or −3

More practice

EquationPatternAnswer
(x + 2)(x + 12) = (x + 3)(x + 8)equal products, 24 = 24x = 0
1/(x − 2) + 1/(x − 6) = 1/(x − 1) + 1/(x − 7)equal sums, 2x − 8x = 4
3x + 2y = 12, 5x + 4y = 22cross-multiply: (48 − 44) ÷ (12 − 10)x = 2, y = 3
x² − 7x + 10 = 02x − 7 = ±√(49 − 40) = ±3x = 5 or 2

Always check

Put the answer back in. For x = 4 above: 1/2 + 1/(−2) = 0 and 1/3 + 1/(−3) = 0 ✓.

Common mistakes

  • Applying a pattern that isn't there. (x + 7)(x + 9) = (x + 3)(x + 20) has 63 vs 60: no shortcut. Fix: check the condition exactly.
  • Mixing up which unknown is zero. Fix: the unknown whose coefficients are in the ratio is the one that survives; the other is zero.
  • Sign slips in the formula. Fix: write ce − bf and ae − bd before putting numbers in.

Combine with

See where these patterns sit on the Vedic maths map. The cross-multiplication formula is vertically and crosswise in disguise, and asking "why does this pattern work?" is elaborative interrogation.

Check your understanding

1.In (x + 7)(x + 9) = (x + 3)(x + 21), why is x = 0?
2.In 3x + 7y = 2 and 4x + 21y = 6, the y-terms 7 : 21 match the constants 2 : 6. What follows?
3.For 45x − 23y = 113 and 23x − 45y = 91, what is the first move?

Practise Solve equations in one line every day in the Study Cup Software (Software for Memory Tools & Study Management).

Build palaces, plan your exams and track your study time. Apps for Android, iPhone and Windows are coming soon; use it free in your browser now.

Get the app