Solution:
Key idea: To find f(a), we replace every x in the rule f(x)=x2−4x by the number a and then simplify. A negative number must be put inside brackets, so that its square comes out positive.
Step 1 — Find f(0).
We put x=0 in the rule.
f(0)=02−4(0)
f(0)=0
Step 2 — Find f(−2).
We put x=−2 in the rule, keeping −2 in brackets.
f(−2)=(−2)2−4(−2)
f(−2)=4+8
f(−2)=12
Step 3 — Find f(−31).
We put x=−31 in the rule. The square of −31 is 91, and −4×(−31) is +34.
f(−31)=(−31)2−4(−31)
f(−31)=91+34
We write 34 with denominator 9 so that the fractions can be added.
f(−31)=91+912
f(−31)=913
Step 4 — Find f(3).
We put x=3 in the rule.
f(3)=32−4(3)
f(3)=9−12
f(3)=−3
Step 5 — Subtract.
We now subtract f(3) from f(−31). Subtracting −3 is the same as adding 3, and we write 3 as 927.
f(−31)−f(3)=913−(−3)
f(−31)−f(3)=913+927
f(−31)−f(3)=940
As a mixed number, 940 is 494.
Therefore, f(0)=0, f(−2)=12 and f(−31)−f(3)=494.