ACE CSCA Start Week 1 free

Week 1 · Day 4 Lesson 1.10 About 10 minutes Free

Odd and even functions

By the end: Decide whether a function is even, odd or neither, use the symmetry to find unknown values and parameters, and spot the domain trap.

Understand it

Parity describes a symmetry of the graph, and it is tested with one substitution: replace xx by −x-x.

Step 1: check the domain. A function can be even or odd only if its domain is symmetric about 00: whenever xx is in the domain, so is −x-x. The domain [−2,2][-2,2] is symmetric. The domain [−1,2][-1,2] or [−2,3)[-2,3) is not, and then the function is neither even nor odd, whatever the formula looks like.

Step 2: compare f(−x)f(-x) with f(x)f(x).

  • If f(−x)=f(x)f(-x)=f(x) for every xx, the function is even. Its graph is symmetric about the yy-axis.
  • If f(−x)=−f(x)f(-x)=-f(x) for every xx, the function is odd. Its graph is symmetric about the origin: turning it half a turn about the origin leaves it unchanged.
  • If neither holds, it is neither. Most functions are neither.

Quick recognition. x2x^2, x4x^4, ∣x∣|x|, cos⁡x\cos x and constants are even. xx, x3x^3, 1x\dfrac1x and sin⁡x\sin x are odd. For a polynomial: all exponents even gives an even function, all exponents odd gives an odd function, and a mix (such as x2+xx^2+x) gives neither. A constant 55 is even, and the function 00 is both even and odd.

Combining. Even ±\pm even is even. Odd ±\pm odd is odd. Even ×\times even and odd ×\times odd are even. Even ×\times odd is odd.

Using oddness. If ff is odd, then f(−a)=−f(a)f(-a)=-f(a), so one value gives another. If ff is odd and 00 is in its domain, then f(0)=0f(0)=0 (but 1x\frac1x is odd and has no value at 00). The classic exam trick is a function of the form “odd part plus a constant”, for example f(x)=x5+ax3+bx−8f(x)=x^5+ax^3+bx-8: the part x5+ax3+bxx^5+ax^3+bx is odd, so you only need to deal with the constant.

Essential formulas

even: f(−x)=f(x)odd: f(−x)=−f(x)\text{even: } f(-x)=f(x)\qquad \text{odd: } f(-x)=-f(x)
These must hold for every xx in the domain, and the domain must be symmetric about 00: if xx is in it, so is −x-x.
f odd and defined at 0 ⇒ f(0)=0f\ \text{odd and defined at }0\ \Rightarrow\ f(0)=0
Put x=0x=0 in f(−x)=−f(x)f(-x)=-f(x) to get f(0)=−f(0)f(0)=-f(0), so f(0)=0f(0)=0. This does not apply if 00 is not in the domain.
even×even=even,odd×odd=even,even×odd=odd\text{even}\times\text{even}=\text{even},\quad \text{odd}\times\text{odd}=\text{even},\quad \text{even}\times\text{odd}=\text{odd}
Sums follow the same type only when both functions have the same type: even + even is even, odd + odd is odd.

See it

−2−112−4−3−2−11234y = x² (even)y = x³ (odd)(−1, 1)(1, 1)(−1, −1)
y = x² is even: f(−1) = f(1) = 1. y = x³ is odd: f(−1) = −1 = −f(1).

Worked examples

Worked example 1

Decide whether each function is even, odd or neither: (a) f(x)=x3−xf(x)=x^3-x; (b) g(x)=x2+xg(x)=x^2+x; (c) h(x)=x2h(x)=x^2 on [−2,3)[-2,3).

  1. (a) f(−x)=(−x)3−(−x)=−x3+x=−(x3−x)=−f(x)f(-x)=(-x)^3-(-x)=-x^3+x=-(x^3-x)=-f(x). All exponents are odd, so ff is odd.
  2. (b) g(−x)=x2−xg(-x)=x^2-x. This is neither g(x)=x2+xg(x)=x^2+x nor −g(x)=−x2−x-g(x)=-x^2-x (check: g(1)=2g(1)=2, g(−1)=0g(-1)=0). So gg is neither.
  3. (c) The formula x2x^2 looks even, but the domain [−2,3)[-2,3) is not symmetric: x=2.5x=2.5 is allowed while −2.5-2.5 is not. A function on a non-symmetric domain is neither even nor odd.

Answer: (a) odd, (b) neither, (c) neither.

Worked example 2

Let f(x)=x5+ax3+bx−8f(x)=x^5+ax^3+bx-8 with f(−2)=10f(-2)=10. Find f(2)f(2).

  1. Let g(x)=x5+ax3+bxg(x)=x^5+ax^3+bx. All its exponents are odd, so gg is odd, and f(x)=g(x)−8f(x)=g(x)-8.
  2. f(−2)=g(−2)−8=10f(-2)=g(-2)-8=10, so g(−2)=18g(-2)=18.
  3. Because gg is odd, g(2)=−g(−2)=−18g(2)=-g(-2)=-18.
  4. So f(2)=g(2)−8=−18−8=−26f(2)=g(2)-8=-18-8=-26.

Answer: −26-26

Worked example 3

ff is an odd function on R\mathbb{R}, and f(x)=x2+2xf(x)=x^2+2x for x>0x>0. Find f(−3)f(-3), f(0)f(0) and f(x)f(x) for x<0x<0.

  1. f(0)=0f(0)=0, because ff is odd and defined at 00.
  2. f(−3)=−f(3)=−(9+6)=−15f(-3)=-f(3)=-(9+6)=-15.
  3. For x<0x<0 we have −x>0-x>0, so f(−x)=(−x)2+2(−x)=x2−2xf(-x)=(-x)^2+2(-x)=x^2-2x. By oddness, f(x)=−f(−x)=−(x2−2x)=−x2+2xf(x)=-f(-x)=-(x^2-2x)=-x^2+2x.
  4. Check: the formula for x<0x<0 gives f(−3)=−9−6=−15f(-3)=-9-6=-15, the same as before.

Answer: f(−3)=−15f(-3)=-15, f(0)=0f(0)=0, and f(x)=−x2+2xf(x)=-x^2+2x for x<0x<0.

Try it yourself

Work it on paper first. Open a hint only when you are stuck, then compare with the solution.

The function f(x)=ax2+bx+3a+bf(x)=ax^2+bx+3a+b is even, and its domain is [a−1,2a][a-1,2a]. Find a+ba+b.

Hint 1 of 2

The domain of an even function must be symmetric about 00. What does that say about the two endpoints?

Hint 2 of 2

Then use f(−x)=f(x)f(-x)=f(x) and compare the xx-terms.

Show the step-by-step solution
  1. A symmetric domain [a−1,2a][a-1,2a] needs its endpoints to be opposites: (a−1)+2a=0(a-1)+2a=0, so a=13a=\tfrac13.
  2. f(−x)=ax2−bx+3a+bf(-x)=ax^2-bx+3a+b and f(x)=ax2+bx+3a+bf(x)=ax^2+bx+3a+b must be equal for every xx, so −bx=bx-bx=bx, which forces b=0b=0.
  3. Then a+b=13+0=13a+b=\tfrac13+0=\tfrac13.

Answer: 13\tfrac13

Common mistakes

  • Checking f(−x)=f(x)f(-x)=f(x) at a single value. It must hold for every xx in the domain.
  • Skipping the domain. x2x^2 on [−1,2][-1,2] is not even.
  • Assuming f(0)=0f(0)=0 for every odd function. 1x\dfrac1x is odd and f(0)f(0) does not exist.
  • Forgetting that most functions, such as x2+xx^2+x or x+1x+1, are neither even nor odd.
  • Treating “the graph is symmetric about the yy-axis” and “about the origin” as the same thing. The first is even, the second is odd.

Exam tips

  • First look at the domain. If it is not symmetric about 00, the answer is “neither” immediately.
  • For polynomials, look at the exponents. A mix of even and odd exponents means neither.
  • For “odd part plus a constant” questions, define the odd part as g(x)g(x), use g(−a)=−g(a)g(-a)=-g(a), then put the constant back.
  • For parameter questions, write f(−x)f(-x), set it equal to f(x)f(x) (or −f(x)-f(x)), and compare the terms with the same power of xx.

In short

  • Domain symmetric about 00 first; then f(−x)=f(x)f(-x)=f(x) is even and f(−x)=−f(x)f(-x)=-f(x) is odd.
  • Even is symmetric about the yy-axis; odd is symmetric about the origin.
  • Odd means f(−a)=−f(a)f(-a)=-f(a), and f(0)=0f(0)=0 if 00 is in the domain.

Knowledge check

4 questions on this lesson, marked as you go. Take them in ACE CSCA with a free account: passing them completes the lesson, and your progress is saved on every device.

All of Week 1 is free: the eight lessons, the daily questions and the Week 1 test.

Start Week 1 free