Skip to content
Technique

Solving for by replacing

Algebra • Functions

Statement

If an equation holds for every and involves and where (such as or ), replacing by gives a second equation in the same two unknowns. Solving the two linear equations gives .

How to use it

  1. 1The equation is true for every , so it stays true with in place of .
  2. 2Treat and as two unknowns, like and , and eliminate one.

Worked example

If for all , find .

Step-by-step

  1. 1

    Why: Replace by .

  2. 2
    (second) (first):
  3. 3

Answer

Watch out

Replace everywhere, including on the right side. Check the answer in the original equation.

Also known as

functional equation f(x) and f(1-x), replace x by 1-x

Appears in past papers

2026 (I)

2024 (I)

2023 (II)

2022 (I)