Chapter

Algebraic Transformations in Problems

The module teaches how to choose a useful form of an expression: completing the square, making substitutions, normalizing homogeneous expressions, reducing the number of variables, and applying zero-sum identities.
Log in to track solved progress and bookmarks.

Theory

Key idea

An algebraic transformation is useful when the original form hides a simpler structure: a square, a sum and product, homogeneity, symmetry, or a condition such as \(a+b+c=0\). The goal is not to expand everything, but to choose a form in which the problem becomes shorter.

In olympiad problems one often replaces several variables by a few expressions: \(x+y\), \(xy\), \(a+b+c\), \(ab+bc+ca\), \(abc\), \(\frac{x}{y}\), \(x+\frac{1}{x}\). After such a substitution the unnecessary details disappear.

Basic facts

Completing the square often uses \(x^2-2px=(x-p)^2-p^2\). For two variables, the formulas \(x^2+y^2=(x+y)^2-2xy\) and \(x^3+y^3=(x+y)^3-3xy(x+y)\) are very useful.

For three variables, symmetric expressions are essential. If \(a+b+c=0\), then \(a^2+b^2+c^2=-2(ab+bc+ca)\), \((a+b)(b+c)(c+a)=-abc\), and \[a^3+b^3+c^3=3abc.\]

If an expression is homogeneous, one may normalize one quantity, for example set \(b=1\), \(a+b+c=1\), or \(x+y=1\), provided this does not change the problem.

When to use this method

Use it when the problem contains symmetry, a sum of variables, a ratio of homogeneous expressions, expressions like \(x+\frac{1}{x}\), \(x^2+y^2\), \(a^3+b^3+c^3\), or when you need to prove that no solution exists.

Another signal is this: the statement has many letters, but the answer depends on only one or two combinations. Then try to reduce the number of variables.

How to recognise the method

First check whether the problem stays unchanged after multiplying all variables by the same number. If it does, look for a normalization. Then see whether the variables enter symmetrically: use \(x+y\), \(xy\), or \(a+b+c\), \(ab+bc+ca\), \(abc\).

If there is a condition \(a+b+c=0\), it is almost always worth substituting \(c=-a-b\), or directly applying the special identities for a zero sum.

Typical mistakes

It is risky to expand large brackets without a plan: the structure may disappear. Do not divide by an expression before checking that it is nonzero. When normalizing, make sure the chosen quantity is indeed positive or nonzero.

In rationality problems, the rationality of a sum does not imply the rationality of its terms. Usually one must find an additional expression that isolates one term.

Mini-checklist

1. Is there a square to complete? 2. Can \(x+y\) and \(xy\) be substituted? 3. Is the problem homogeneous? 4. Is there a zero-sum condition? 5. Is rationality hidden in reciprocals or in a sum of squares?

Examples

Example 1. Completing the square

This example shows how to find a minimum without calculus.

Problem. Find the least value of \(x^2-6x+y^2+4y+15\).

Solution.

Complete the squares: \(x^2-6x=(x-3)^2-9\), \(y^2+4y=(y+2)^2-4\). Hence the expression equals \((x-3)^2+(y+2)^2+2\).

A sum of squares is nonnegative, so the minimum is \(2\). It is attained at \(x=3\), \(y=-2\).

Idea. If a quadratic expression asks for a minimum, first try completing squares.

Example 2. The zero-sum condition

The key is a special identity for \(a+b+c=0\).

Problem. Prove that if \(a+b+c=0\), then \(a^3+b^3+c^3=3abc\).

Solution.

The identity \(a^3+b^3+c^3-3abc=(a+b+c)(a^2+b^2+c^2-ab-bc-ca)\) immediately gives the result, because the first factor is zero.

Idea. A zero sum turns a sum of cubes into a product.

Example 3. Substituting the sum and product

A standard technique for symmetric systems in two variables.

Problem. Solve the system \(x+y=5\), \(x^2+y^2=13\).

Solution.

Let \(s=x+y\), \(p=xy\). Then \(x^2+y^2=s^2-2p\), so \(13=25-2p\), hence \(p=6\).

The numbers \(x\) and \(y\) are the roots of \(t^2-5t+6=0\). Therefore \(\{x,y\}=\{2,3\}\).

Idea. A symmetric system often reduces to a quadratic equation.

Example 4. Homogeneity and normalization

This example teaches how to replace a ratio of variables by one new variable.

Problem. Let \(x,y>0\) and \(\frac{x}{y}+\frac{y}{x}=\frac{5}{2}\). Find the possible values of \(\frac{x-y}{x+y}\).

Solution.

Put \(s=x+y\), \(p=xy\). Then \(\frac{x^2+y^2}{xy}=\frac{5}{2}\), that is \(\frac{s^2-2p}{p}=\frac{5}{2}\). Hence \(\frac{s^2}{p}=\frac{9}{2}\).

Now \(\left(\frac{x-y}{x+y}\right)^2=\frac{s^2-4p}{s^2}=1-\frac{4p}{s^2}=1-\frac{8}{9}=\frac{1}{9}\). Therefore \(\frac{x-y}{x+y}=\pm\frac{1}{3}\).

Idea. A homogeneous expression depends on the ratio, not on the scale.

Example 5. The hidden substitution \(x+\frac{1}{x}\)

Reciprocal quantities often need to be grouped before computation.

Problem. If \(x\neq 0\) and \(x+\frac{1}{x}=4\), find \(x^3+\frac{1}{x^3}\).

Solution.

Use \(\left(x+\frac{1}{x}\right)^3=x^3+\frac{1}{x^3}+3\left(x+\frac{1}{x}\right)\). Thus the desired value is \(4^3-3\cdot4=52\).

Idea. There is no need to find \(x\); it is enough to work with the whole substitution.

Example 6. Reducing the number of variables

This example shows how three variables reduce to two symmetric sums.

Problem. Let \(a+b+c=0\) and \(a^2+b^2+c^2=12\). Find \(ab+bc+ca\).

Solution.

Square \(a+b+c=0\): \(a^2+b^2+c^2+2(ab+bc+ca)=0\). Hence \(12+2(ab+bc+ca)=0\), so \(ab+bc+ca=-6\).

Idea. The sum of squares and the sum of pairwise products are connected by the square of the sum.

Example 7. Rationality through a sum of squares

The individual terms are not visible directly, but an additional identity isolates the needed expression.

Problem. Let \(\sin u+\sin v\) and \(\cos u+\cos v\) be rational. Prove that \(\cos(u-v)\) is rational.

Solution.

Denote the given sums by \(S\) and \(C\). Then \(S^2+C^2\) is rational. On the other hand, \[S^2+C^2=2+2(\sin u\sin v+\cos u\cos v)=2+2\cos(u-v).\]

Therefore \(\cos(u-v)=\frac{S^2+C^2-2}{2}\) is rational.

Idea. Squaring a sum may reveal the needed angle difference.

Example 8. A strong form of zero sum

An olympiad step: view the numbers as roots of one polynomial.

Problem. Let \(a+b+c=0\), \(a^2+b^2+c^2=6\), \(a^3+b^3+c^3=6\). Find \(a,b,c\).

Solution.

From the first condition and the sum of squares we get \(ab+bc+ca=-3\). By the zero-sum identity, \(a^3+b^3+c^3=3abc\), so \(abc=2\).

Thus \(a,b,c\) are the roots of \(t^3-3t-2\). Factor it: \(t^3-3t-2=(t-2)(t+1)^2\). Hence \(\{a,b,c\}=\{2,-1,-1\}\).

Idea. If three symmetric sums are known, the variables can be recovered as roots of a cubic polynomial.

Problems

Problems

#6.1
#6.1

Minimum of a quadratic expression

Completing Square Grade 8 Grade 9 ★☆☆☆☆

Find the least value of \(x^2-8x+y^2+2y+20\).

Details
Problem: ALG-B1-M06-P001
Difficulty: Level 1 of 5
Tag: Completing Square
Grade: Grade 8, Grade 9
#6.2
#6.2

Two identities with zero sum

Identity Grade 8 Grade 9 ★☆☆☆☆

Let \(a+b+c=0\). Prove that \(a^2+b^2+c^2=-2(ab+bc+ca)\) and \(a^3+b^3+c^3=3abc\).

Details
Problem: ALG-B1-M06-P002
Difficulty: Level 1 of 5
Tag: Identity
Grade: Grade 8, Grade 9
#6.3
#6.3

Sum and product

Substitution Grade 8 Grade 9 ★☆☆☆☆

It is known that \(x+y=7\) and \(xy=10\). Find \(x^2+y^2\) and \(x^3+y^3\).

Details
Problem: ALG-B1-M06-P003
Difficulty: Level 1 of 5
Tag: Substitution
Grade: Grade 8, Grade 9
#6.4
#6.4

A homogeneous fraction

Normalisation Grade 8 Grade 9 ★☆☆☆☆

Let \(x,y\neq 0\) and \(\frac{x}{y}+\frac{y}{x}=3\). Find \(\frac{(x+y)^2}{xy}\).

Details
Problem: ALG-B1-M06-P004
Difficulty: Level 1 of 5
Tag: Normalisation
Grade: Grade 8, Grade 9
#6.5
#6.5

Normalizing a ratio

Normalisation Grade 8 Grade 9 ★☆☆☆☆

Let \(a:b:c=2:3:5\). Find \(\frac{a^2+b^2+c^2}{ab+bc+ca}\).

Details
Problem: ALG-B1-M06-P005
Difficulty: Level 1 of 5
Tag: Normalisation
Grade: Grade 8, Grade 9
#6.6
#6.6

A symmetric system

System Grade 8 Grade 9 ★★☆☆☆

Solve the system \[x+y+xy=7,\qquad x^2+y^2=10.\]

Details
Problem: ALG-B1-M06-P006
Difficulty: Level 2 of 5
Tag: System
Grade: Grade 8, Grade 9
#6.7
#6.7

Differences of three numbers

Symmetric Polynomial Grade 8 Grade 9 ★★☆☆☆

Let \(a+b+c=6\) and \(ab+bc+ca=11\). Find \((a-b)^2+(b-c)^2+(c-a)^2\).

Details
Problem: ALG-B1-M06-P007
Difficulty: Level 2 of 5
Tag: Symmetric Polynomial
Grade: Grade 8, Grade 9
#6.8
#6.8

Reciprocals

Sum Zero Grade 8 Grade 9 ★★☆☆☆

Let \(p+q+r=0\), \(p^2+q^2+r^2=18\), \(pqr=6\). Find \(\frac{1}{p}+\frac{1}{q}+\frac{1}{r}\).

Details
Problem: ALG-B1-M06-P008
Difficulty: Level 2 of 5
Tag: Sum Zero
Grade: Grade 8, Grade 9
#6.9
#6.9

No real solutions

No Solution Grade 8 Grade 9 ★★☆☆☆

Prove that the equation \(x^2+4y^2-4x-8y+13=0\) has no real solutions.

Details
Problem: ALG-B1-M06-P009
Difficulty: Level 2 of 5
Tag: No Solution
Grade: Grade 8, Grade 9
#6.10
#6.10

Recovering a ratio

Ratios Grade 8 Grade 9 ★★☆☆☆

Let \(a,b>0\) and \(\frac{a-b}{a+b}=\frac{1}{3}\). Find \(\frac{a}{b}\).

Details
Problem: ALG-B1-M06-P010
Difficulty: Level 2 of 5
Tag: Ratios
Grade: Grade 8, Grade 9
#6.11
#6.11

Three differences

Identity Grade 8 Grade 9 Grade 10 ★★★☆☆

Let \(a+b+c=0\). Prove that \((a-b)^2+(b-c)^2+(c-a)^2=3(a^2+b^2+c^2)\).

Details
Problem: ALG-B1-M06-P011
Difficulty: Level 3 of 5
Tag: Identity
Grade: Grade 8, Grade 9, Grade 10
#6.12
#6.12

Equal values

Sum Zero Grade 8 Grade 9 Grade 10 ★★★☆☆

Let \(x+y+z=0\) and \(x^2+y^2+z^2=2\). Prove that the numbers \(x^3-x\), \(y^3-y\), \(z^3-z\) are equal.

Details
Problem: ALG-B1-M06-P012
Difficulty: Level 3 of 5
Tag: Sum Zero
Grade: Grade 8, Grade 9, Grade 10
#6.13
#6.13

A system with one hidden quantity

System Grade 8 Grade 9 Grade 10 ★★★☆☆

Find all real pairs \((x,y)\) such that \(x+y=3\) and \(x^2+y^2+xy=7\).

Details
Problem: ALG-B1-M06-P013
Difficulty: Level 3 of 5
Tag: System
Grade: Grade 8, Grade 9, Grade 10
#6.14
#6.14

Fractions with zero sum

Sum Zero Grade 8 Grade 9 Grade 10 ★★★☆☆

Let \(x,y,z\neq 0\), \(x+y+z=0\), and assume none of the denominators below is zero. Prove that \[\frac{x}{y+z}+\frac{y}{z+x}+\frac{z}{x+y}=-3.\]

Details
Problem: ALG-B1-M06-P014
Difficulty: Level 3 of 5
Tag: Sum Zero
Grade: Grade 8, Grade 9, Grade 10
#6.15
#6.15

Cube of a reciprocal sum

Substitution Grade 8 Grade 9 Grade 10 ★★★☆☆

Let \(x\neq 0\) and \(x+\frac{1}{x}=3\). Find \(x^3+\frac{1}{x^3}\).

Details
Problem: ALG-B1-M06-P015
Difficulty: Level 3 of 5
Tag: Substitution
Grade: Grade 8, Grade 9, Grade 10
#6.16
#6.16

All variables are equal

Completing Square Grade 8 Grade 9 Grade 10 ★★★☆☆

Let \(a+b+c=3\) and \(a^2+b^2+c^2=3\). Prove that \(a=b=c=1\).

Details
Problem: ALG-B1-M06-P016
Difficulty: Level 3 of 5
Tag: Completing Square
Grade: Grade 8, Grade 9, Grade 10
#6.17
#6.17

Fourth powers

Sum Zero Grade 9 Grade 10 ★★★★☆

Let \(x+y+z=0\) and \(x^2+y^2+z^2=6\). Prove that \(x^4+y^4+z^4=18\).

Details
Problem: ALG-B1-M06-P017
Difficulty: Level 4 of 5
Tag: Sum Zero
Grade: Grade 9, Grade 10
#6.18
#6.18

Recover the triple

Sum Zero Grade 9 Grade 10 ★★★★☆

Let \(a+b+c=0\), \(a^2+b^2+c^2=6\), \(a^3+b^3+c^3=6\). Find all possible triples \((a,b,c)\).

Details
Problem: ALG-B1-M06-P018
Difficulty: Level 4 of 5
Tag: Sum Zero
Grade: Grade 9, Grade 10
#6.19
#6.19

Two possible ratios

Ratios Grade 9 Grade 10 ★★★★☆

Let \(x,y>0\) and \(\frac{x^2+y^2}{xy}=\frac{5}{2}\). Find the possible values of \(\frac{x-y}{x+y}\).

Details
Problem: ALG-B1-M06-P019
Difficulty: Level 4 of 5
Tag: Ratios
Grade: Grade 9, Grade 10
#6.20
#6.20

Bounding the product

Bounds Grade 9 Grade 10 ★★★★★

Let \(a,b,c\) be real numbers such that \(a+b+c=0\) and \(a^2+b^2+c^2=2\). Prove that \[-\frac{2}{3\sqrt{3}}\le abc\le \frac{2}{3\sqrt{3}}.\]

Details
Problem: ALG-B1-M06-P020
Difficulty: Level 5 of 5
Tag: Bounds
Grade: Grade 9, Grade 10
#6.21
#6.21

Intersections of lines

Invariant Grade 9 Grade 10 ★★★★★

Nine functions \(f_i(t)=u_i+v_i t\) are given, where \(u_10\). Call a meeting a pair of graphs that intersect at a positive value of \(t\). Can every graph take part in exactly four meetings?

Details
Problem: ALG-B1-M06-P021
Difficulty: Level 5 of 5
Tag: Invariant
Grade: Grade 9, Grade 10
Source: Inspired by regional olympiad method · 2010 · Grade 10 · Problem 1
#6.22
#6.22

An independent sum

Pigeonhole principle Grade 10 Grade 11 ★★★★★

Seven numbers from the interval \((0,1)\) are given. For any chosen four of them, their squares are taken, and for the other three the values \(2x-x^2\) are taken. The sum of the resulting seven numbers does not depend on the choice of the four numbers. Prove that among the seven given numbers there are four equal ones.

Details
Problem: ALG-B1-M06-P022
Difficulty: Level 5 of 5
Tag: Pigeonhole principle
Grade: Grade 10, Grade 11
Source: Inspired by regional olympiad method · 2014 · Grade 11 · Problem 1
#6.23
#6.23

Rational trigonometric sums

Substitution Grade 10 Grade 11 ★★★★★

A number \(t\) is such that both sums \(S=\sin 48t+\sin 49t\) and \(C=\cos 48t+\cos 49t\) are rational. Prove that both terms in the sum \(C\) are rational.

Details
Problem: ALG-B1-M06-P023
Difficulty: Level 5 of 5
Tag: Substitution
Grade: Grade 10, Grade 11
Source: Inspired by final olympiad method · 2017 · Grade 11 · Problem 1
#6.24
#6.24

A rational linear combination

Linear Combination Grade 10 Grade 11 ★★★★★

For some \(x\) and \(y\), the numbers \(A=\sin x+\cos y\) and \(B=\cos x-\sin y\) are positive rational numbers. Prove that there exist positive integers \(m\) and \(n\) such that \(m\sin x+n\cos x\) is a positive integer.

Details
Problem: ALG-B1-M06-P024
Difficulty: Level 5 of 5
Tag: Linear Combination
Grade: Grade 10, Grade 11
Source: Inspired by regional olympiad method · 2020 · Grade 11 · Problem 8
#6.25
#6.25

One irrational value

Telescoping Grade 10 Grade 11 ★★★★★

\(2028\) pairwise distinct nonzero irrational numbers are written around a circle. For each pair of neighboring numbers \(u\) and \(v\), the value \(\frac{uv}{u-v}\) is computed. Can exactly one of the \(2028\) obtained values be irrational?

Details
Problem: ALG-B1-M06-P025
Difficulty: Level 5 of 5
Tag: Telescoping
Grade: Grade 10, Grade 11
Source: Inspired by regional olympiad method · 2026 · Grade 11 · Problem 7

Ladders

No published ladders were found.
Previous Chapter
Next Chapter