Skill stop · How is this move done?

Functional Equations: Plugging in Values

In the Chinese book: 函数方程:赋值法

It holds for all x and y, so plug in the values that tell you most about f.

📖 §7.2 of 《函数与函数方程》M15 Assigning Values line

Before this stop, visit:Functional Equations: Substitution (Skill)

WorkbenchPress , and in turn, and read what each substitution tells you. Then drag the coefficients on the right until every light shows ✓.

Loading figure…

What this move does

A functional equation holds for all and , so you may plug in whatever values suit you best. The usual steps:

  1. Plug in (or ) to find special values such as and .
  2. Plug in or to find the parity; plug in to relate and .
  3. Plug in to get a recurrence between and ; then you know the values at all the integers.
  4. Guess , and substitute it back into the original equation to check.

The right side of the workbench is a “candidate tester”: every substitution you pick is used to test the current candidate . One substitution rules out only some candidates; several together leave just one.

Predict first

for all real numbers, and . What is ?

Choose an answer first; then you can see the result.

Work through one

Example: f(x + y) = f(x) + f(y) + 2xy, f(1) = 3

Step 1 / 5
Loading figure…
  1. First find f(0)

    Put : , so . The candidate on the right passes, of course. It passes this test, yet it fails .

When it fails

Break it

Counterexample lab: remove one condition

Conclusion: the only solution of is

With : gives , gives , … The candidate passes every test.

Loading figure…

Practice

Exercise 1Basic

for all real numbers, and . Find .

Exercise 2Basic

for all positive , and . Find .

Exercise 3Advanced

for all real numbers, and . Find .

Exercise 4Challenge

Find all functions with for all real . (Enter the formula for .)

Mistake Museum · Exhibits from this stop

Before you leave, look at the traps other people fell into here.See every exhibit in the museum →

Exhibit

Taking what plugging in gives you as the answer

The wrong step: . gives , shows is even, so .
What went wrong? Think first, then open

Diagnosis and “even” are only necessary conditions. Plenty of functions satisfy them (for example ), and does not satisfy the original equation; on the other hand does satisfy it too. Plugging in values by itself cannot give “”.

The right step: Plugging in gives properties and special values. Either keep going until you derive a formula for (with suitable extra conditions), or guess a solution, substitute it back into the original equation to check, and explain why there are no others.

“Plugging in gives clues, not the answer”