Operations & Word Problems

Depth · one concept from first principles · step 2 of 4

Build values up from the sum rule

The variables xx and yy are both natural numbers, and the function y=f(x)y=f(x) satisfies the two conditions f(1)=3f(1)=3 and f(a+b)=f(a)+f(b)+2abf(a+b)=f(a)+f(b)+2ab. Find the value of f(3)−f(5)f(3)-f(5).

FunctionsExpressions
Your answer
How to solve
Strategy Identify Subproblems — The rule turns any input into a sum of smaller inputs. Split the job into small pieces: get f(2) from 1+1, then f(3) from 2+1, then f(5) from 3+2, each time substituting known values into the rule.
1STEP 1

Find f(2)

Put a=1 and b=1 into the rule.

f(2)=f(1)+f(1)+2×1×1=3+3+2=8
2STEP 2

Find f(3)

Put a=2 and b=1 into the rule.

f(3)=f(2)+f(1)+2×2×1=8+3+4=15
3STEP 3

Find f(5)

Put a=3 and b=2 into the rule, so we jump straight to 5.

f(5)=f(3)+f(2)+2×3×2=15+8+12=35
4STEP 4

Subtract

Now compute the difference.

f(3)-f(5)=15-35=-20
Answer
-20
Reach f(5) another way: f(4)=f(2)+f(2)+2×2×2=8+8+8=24, and f(5)=f(4)+f(1)+2×4×1=24+3+8=35. Same value.
Takeaway

When a rule builds big inputs out of small ones, climb up from the value you know.

  • Find f(2)
  • Find f(3)
  • Find f(5)
  • Subtract
Where next?
Another one like thissuggested

A parent dashboard for the family lives at sensimlab.com.

▶ Practice — 12 problems

The same shape shows up later on the AMC, as Arithmetic Expression Decomposition, Branching State Enumeration. Why the shapes repeat →