Testing a rule: find f(−x), compare with f(x) and −f(x), and check that x and −x are both in the domain
Last week we met symmetry on graphs. To decide from a formula we use three steps. Step 1: check that whenever x is in the domain, −x is also in it. Step 2: replace x by −x everywhere and simplify to get f(−x). Step 3: compare. If f(−x) = f(x), the function is even; if f(−x) = −f(x), it is odd; if neither holds, the function is neither. Be careful with signs: (−x)² = x² but (−x)³ = −x³, so every even power keeps its sign and every odd power flips it. A power function a·xⁿ is therefore even when n is even and odd when n is odd (it is not an “exponential function”: in an exponential function the variable is in the exponent, which comes in Unit 2). Two special cases: a constant such as 5 is even, and the zero function f(x) = 0 is both even and odd.
| Step | What to do |
|---|---|
| 1 | Is −x in the domain whenever x is? |
| 2 | Compute f(−x): put −x in place of x |
| 3 | Compare with f(x) and with −f(x) |
Choose a rule you like, such as 2x³ − x or x⁴ + x. Do the three steps. Then check with the numbers x = 1 and x = −1.