Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Analysis and Approaches
  3. ›2 Functions
  4. ›2.14 Odd, even and self-inverse functions

IB Mathematics: Analysis and Approaches · Topic 2 · Functions

2.14 Odd, even and self-inverse functions

Test whether a function is odd, even or self-inverse and describe the symmetry of its graph.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
  • HL only
Start a Quick 5 on this topic→Jump to the 10 questions
1/5Even functions are symmetric about the y-axis
  1. 1Even functions are symmetric about the y-axis
  2. 2Odd functions have half-turn symmetry about the origin
  3. 3A two-step algebraic test decides whether a function is odd or even
  4. 4A self-inverse function undoes itself when applied twice
  5. 5Self-inverse graphs are symmetric about the diagonal through the origin
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: Even functions are symmetric about the y-axis

Fold a sheet of paper along a vertical line and the two halves match. Some graphs behave the same way. Take f(x)=x2f(x)=x^2f(x)=x2, where f(3)=9f(3)=9f(3)=9 and f(−3)=9f(-3)=9f(−3)=9.

An even function has f(−x)=f(x)f(-x)=f(x)f(−x)=f(x) for every allowed xxx. Each point (x,y)(x,y)(x,y) on the graph has a partner (−x,y)(-x,y)(−x,y). So the graph is symmetric about the yyy-axis. Other examples are x4x^4x4 and x2+5x^2+5x2+5.

The domain of a function is the set of inputs where it is defined. For evenness, the domain must be symmetric about zero. If xxx is an allowed input, then −x-x−x must be allowed too.

Key terms · tap one for its definition

even function

An even function satisfies f(−x)=f(x)f(-x)=f(x)f(−x)=f(x) wherever both inputs are in its domain.

domain

A function’s domain is the set of inputs where the function is defined.

Part 1 done

2

Part 2 of 5: Odd functions have half-turn symmetry about the origin

Now compare f(x)=x3f(x)=x^3f(x)=x3. Here f(2)=8f(2)=8f(2)=8 but f(−2)=−8f(-2)=-8f(−2)=−8. Changing the sign of the input changes the sign of the output, while its size stays the same.

An odd function has f(−x)=−f(x)f(-x)=-f(x)f(−x)=−f(x) for every allowed xxx. Each point (x,y)(x,y)(x,y) has a partner (−x,−y)(-x,-y)(−x,−y). The graph looks the same after a half-turn (180∘180^{\circ}180∘) about the origin. If 0 is in the domain, then f(0)=0f(0)=0f(0)=0.

Figure 1. The even curve is a mirror image across the y-axis. The odd curve maps onto itself after a half-turn about the origin.

Even and odd functions compared

FeatureEven functionOdd function
Rulef(−x)=f(x)f(-x)=f(x)f(−x)=f(x)f(−x)=−f(x)f(-x)=-f(x)f(−x)=−f(x)
SymmetryMirror in the yyy-axisHalf-turn about the origin
Examplex2x^2x2x3x^3x3
Value at x=0x=0x=0Any valueZero, if defined
Feature
Rule
Even function
f(−x)=f(x)f(-x)=f(x)f(−x)=f(x)
Odd function
f(−x)=−f(x)f(-x)=-f(x)f(−x)=−f(x)
Feature
Symmetry
Even function
Mirror in the yyy-axis
Odd function
Half-turn about the origin
Feature
Example
Even function
x2x^2x2
Odd function
x3x^3x3
Feature
Value at x=0x=0x=0
Even function
Any value
Odd function
Zero, if defined

Several familiar functions are odd: xxx, x3x^3x3, sin⁡x\sin xsinx and 1x\frac{1}{x}x1​. For 1x\frac{1}{x}x1​, note that 1−x=−1x\frac{1}{-x}=-\frac{1}{x}−x1​=−x1​. Most functions are neither odd nor even, so always test before deciding.

Key term

odd function

An odd function satisfies f(−x)=−f(x)f(-x)=-f(x)f(−x)=−f(x) wherever both inputs are in its domain.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the condition that defines an even function.
Show answer and explanation

Answer: A · Worked explanation

An even function gives the same output for xxx and −x-x−x, so f(−x)=f(x)f(-x)=f(x)f(−x)=f(x). The condition f(−x)=−f(x)f(-x)=-f(x)f(−x)=−f(x) defines an odd function, where the sign of the output flips. The condition f(f(x))=xf(f(x))=xf(f(x))=x describes a self-inverse function, which is a different idea. For example, x2x^2x2 satisfies f(−3)=f(3)=9f(-3)=f(3)=9f(−3)=f(3)=9.
3

Part 3 of 5: A two-step algebraic test decides whether a function is odd or even

A graph suggests symmetry, but algebra proves it. The same steps work for any formula, even when the graph is hard to sketch.

  • Write f(−x)f(-x)f(−x) by replacing every xxx with (−x)(-x)(−x).
  • Simplify the result carefully.
  • If it equals f(x)f(x)f(x), the function is even.
  • If it equals −f(x)-f(x)−f(x), the function is odd. Otherwise it is neither.

Worked example

Testing two functions

Determine whether f(x)=x3x2+1f(x)=\frac{x^3}{x^2+1}f(x)=x2+1x3​ and g(x)=x2+xg(x)=x^2+xg(x)=x2+x are odd, even or neither.
  1. 1
    For fff: f(−x)=(−x)3(−x)2+1=−x3x2+1f(-x)=\frac{(-x)^3}{(-x)^2+1}=\frac{-x^3}{x^2+1}f(−x)=(−x)2+1(−x)3​=x2+1−x3​.
  2. 2
    This equals −f(x)-f(x)−f(x), so fff is odd.
  3. 3
    For ggg: g(−x)=(−x)2+(−x)=x2−xg(-x)=(-x)^2+(-x)=x^2-xg(−x)=(−x)2+(−x)=x2−x.
  4. 4
    This is not g(x)=x2+xg(x)=x^2+xg(x)=x2+x, and it is not −g(x)=−x2−x-g(x)=-x^2-x−g(x)=−x2−x.

Answer: The function fff is odd. The function ggg is neither odd nor even.

Check the domain first. If xxx is allowed but −x-x−x is not, the function cannot be odd or even.

Common mistake

A mix of odd and even powers, as in x2+xx^2+xx2+x, usually gives a function that is neither. Only all-even or all-odd powers give symmetry.

Part 3 done

4

Part 4 of 5: A self-inverse function undoes itself when applied twice

Flipping a light switch twice returns it to its first state. Some functions work the same way. Applying them twice gives back the original input.

An inverse function reverses the input-output pairs of a function on a domain where each output has one input. A self-inverse function is its own inverse. This means f−1(x)=f(x)f^{-1}(x)=f(x)f−1(x)=f(x), so f(f(x))=xf(f(x))=xf(f(x))=x.

Common mistake

The inverse f−1(x)f^{-1}(x)f−1(x) is not the reciprocal 1f(x)\frac{1}{f(x)}f(x)1​. The notation f−1f^{-1}f−1 means reversing the function.

To test one, substitute f(x)f(x)f(x) into fff and simplify. If the result is xxx, the function is self-inverse. Examples include f(x)=−xf(x)=-xf(x)=−x, f(x)=a−xf(x)=a-xf(x)=a−x and f(x)=1xf(x)=\frac{1}{x}f(x)=x1​.

Worked example

Testing for a self-inverse function

Determine whether f(x)=x+3x−1f(x)=\frac{x+3}{x-1}f(x)=x−1x+3​ is self-inverse.
  1. 1
    Substitute: f(f(x))=x+3x−1+3x+3x−1−1f(f(x))=\frac{\frac{x+3}{x-1}+3}{\frac{x+3}{x-1}-1}f(f(x))=x−1x+3​−1x−1x+3​+3​.
  2. 2
    Combine the top: x+3+3(x−1)x−1=4xx−1\frac{x+3+3(x-1)}{x-1}=\frac{4x}{x-1}x−1x+3+3(x−1)​=x−14x​.
  3. 3
    Combine the bottom: x+3−(x−1)x−1=4x−1\frac{x+3-(x-1)}{x-1}=\frac{4}{x-1}x−1x+3−(x−1)​=x−14​.
  4. 4
    Divide: f(f(x))=4x4=xf(f(x))=\frac{4x}{4}=xf(f(x))=44x​=x.

Answer: Since f(f(x))=xf(f(x))=xf(f(x))=x, the function is self-inverse.

Key terms · tap one for its definition

inverse function

An inverse function reverses the input-output pairs of a function on a domain where each output has one input.

self-inverse function

A self-inverse function is a function that equals its own inverse function, so f(f(x))=xf(f(x))=xf(f(x))=x on its domain.

Part 4 done

Quick check

One question on the part you just read

Easy

Identify the odd function.
Show answer and explanation

Answer: C · Worked explanation

For f(x)=x3f(x)=x^3f(x)=x3, f(−x)=(−x)3=−x3=−f(x)f(-x)=(-x)^3=-x^3=-f(x)f(−x)=(−x)3=−x3=−f(x), so it is odd. The functions x2x^2x2 and x4+1x^4+1x4+1 are even because f(−x)=f(x)f(-x)=f(x)f(−x)=f(x). The function x2−xx^2-xx2−x mixes an even and an odd power, so f(−x)=x2+xf(-x)=x^2+xf(−x)=x2+x and it is neither. Testing the cube with x=2x=2x=2 and x=−2x=-2x=−2 gives 8 and -8, which shows the sign flip of an odd function.
5

Part 5 of 5: Self-inverse graphs are symmetric about the diagonal through the origin

Now consider the picture. The graph of an inverse function is the reflection of the original graph in the line y=xy=xy=x. For a self-inverse function, the two graphs are the same.

So reflecting the graph in y=xy=xy=x changes nothing. A point (a,b)(a,b)(a,b) on the graph means (b,a)(b,a)(b,a) is also on it. The graph meets the line y=xy=xy=x wherever f(x)=xf(x)=xf(x)=x.

Figure 2. The curve is unchanged when reflected in the line y = x. It meets that line at (−1, −1) and (3, 3).

Some functions are both odd and self-inverse, such as f(x)=1xf(x)=\frac{1}{x}f(x)=x1​. A function can also be self-inverse without being odd or even, such as f(x)=3−xf(x)=3-xf(x)=3−x.

Exam tip

To prove a function is self-inverse, show f(f(x))=xf(f(x))=xf(f(x))=x for all xxx in the domain. One matching value is not a proof.

Note read

Check your recall[15 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.State[2 marks]

    State the algebraic condition for a function to be odd, and describe the symmetry of its graph.

    Show mark schemeHide mark scheme

    Model answer

    A function is odd if f(−x)=−f(x)f(-x)=-f(x)f(−x)=−f(x) for every allowed xxx. Its graph is unchanged by a half-turn about the origin.

    • 1 mark for stating f(−x)=−f(x)f(-x)=-f(x)f(−x)=−f(x)
    • 1 mark for describing a half-turn (180∘180^{\circ}180∘) symmetry about the origin
  2. 2.Determine[3 marks]

    Determine whether f(x)=x4−5x2f(x)=x^4-5x^2f(x)=x4−5x2 is odd, even or neither.

    Show mark schemeHide mark scheme

    Model answer

    f(−x)=(−x)4−5(−x)2=x4−5x2=f(x)f(-x)=(-x)^4-5(-x)^2=x^4-5x^2=f(x)f(−x)=(−x)4−5(−x)2=x4−5x2=f(x). So fff is even.

    • 1 mark for finding f(−x)=(−x)4−5(−x)2f(-x)=(-x)^4-5(-x)^2f(−x)=(−x)4−5(−x)2
    • 1 mark for simplifying to x4−5x2x^4-5x^2x4−5x2 and comparing with f(x)f(x)f(x)
    • 1 mark for concluding that fff is even
  3. 3.Determine[2 marks]

    Determine whether g(x)=2x+1g(x)=2x+1g(x)=2x+1 is odd, even or neither.

    Show mark schemeHide mark scheme

    Model answer

    g(−x)=1−2xg(-x)=1-2xg(−x)=1−2x. This is not g(x)=2x+1g(x)=2x+1g(x)=2x+1 and not −g(x)=−2x−1-g(x)=-2x-1−g(x)=−2x−1, so ggg is neither.

    • 1 mark for finding g(−x)=1−2xg(-x)=1-2xg(−x)=1−2x
    • 1 mark for showing that it equals neither g(x)g(x)g(x) nor −g(x)-g(x)−g(x), so ggg is neither
  4. 4.Determine[3 marks]

    Determine whether k(x)=2x+1x−2k(x)=\frac{2x+1}{x-2}k(x)=x−22x+1​ is self-inverse.

    Show mark schemeHide mark scheme

    Model answer

    k(k(x))=2(2x+1)x−2+12x+1x−2−2=5x5=xk(k(x))=\frac{\frac{2(2x+1)}{x-2}+1}{\frac{2x+1}{x-2}-2}=\frac{5x}{5}=xk(k(x))=x−22x+1​−2x−22(2x+1)​+1​=55x​=x. So kkk is self-inverse.

    • 1 mark for substituting k(x)k(x)k(x) into kkk to form k(k(x))k(k(x))k(k(x))
    • 1 mark for simplifying the top to 5xx−2\frac{5x}{x-2}x−25x​ and the bottom to 5x−2\frac{5}{x-2}x−25​
    • 1 mark for concluding that k(k(x))=xk(k(x))=xk(k(x))=x, so kkk is self-inverse
  5. 5.Deduce[2 marks]

    Deduce the symmetry of the graph of a self-inverse function.

    Show mark schemeHide mark scheme

    Model answer

    The graph of an inverse function is the reflection of the original in y=xy=xy=x. A self-inverse function is its own inverse, so its graph is symmetric about the line y=xy=xy=x.

    • 1 mark for stating that the graph of an inverse function is a reflection in y=xy=xy=x
    • 1 mark for deducing that the graph is symmetric about y=xy=xy=x because the function equals its inverse
  6. 6.Outline[3 marks]

    Outline how to test algebraically whether a function is even, odd or neither.

    Show mark schemeHide mark scheme

    Model answer

    Replace xxx with −x-x−x to find f(−x)f(-x)f(−x) and simplify. If f(−x)=f(x)f(-x)=f(x)f(−x)=f(x), the function is even. If f(−x)=−f(x)f(-x)=-f(x)f(−x)=−f(x), it is odd. Otherwise it is neither.

    • 1 mark for replacing xxx with −x-x−x to find f(−x)f(-x)f(−x)
    • 1 mark for stating that f(−x)=f(x)f(-x)=f(x)f(−x)=f(x) means even
    • 1 mark for stating that f(−x)=−f(x)f(-x)=-f(x)f(−x)=−f(x) means odd, and otherwise neither

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Identify[1 mark]

Identify the self-inverse function.
Show answer and explanation

Answer: D · Worked explanation

For f(x)=1xf(x)=\frac{1}{x}f(x)=x1​, f(f(x))=11/x=xf(f(x))=\frac{1}{1/x}=xf(f(x))=1/x1​=x, so it is self-inverse. Applying x+1x+1x+1 twice gives x+2x+2x+2. Applying 2x2x2x twice gives 4x4x4x. Applying x2x^2x2 twice gives x4x^4x4. None of these returns the original input, because a self-inverse function must undo itself exactly. For example, f(f(2))=11/2=2f(f(2))=\frac{1}{1/2}=2f(f(2))=1/21​=2.
4.

Medium·Determine[2 marks]

Determine whether f(x)=x3−4xf(x)=x^3-4xf(x)=x3−4x is odd, even or neither.
Show answer and explanation

Answer: B · Worked explanation

Replace xxx with −x-x−x: f(−x)=(−x)3−4(−x)=−x3+4x=−(x3−4x)=−f(x)f(-x)=(-x)^3-4(-x)=-x^3+4x=-(x^3-4x)=-f(x)f(−x)=(−x)3−4(−x)=−x3+4x=−(x3−4x)=−f(x). So fff is odd. Both terms have odd powers, which is why the sign flips throughout. It is not even, because f(−x)f(-x)f(−x) is not equal to f(x)f(x)f(x) for most values. Replacing xxx by −x-x−x must be applied to every term.
5.

Medium·Calculate[2 marks]

Given f(x)=x+3x−1f(x)=\frac{x+3}{x-1}f(x)=x−1x+3​, calculate f(f(4))f(f(4))f(f(4)).
Show answer and explanation

Answer: B · Worked explanation

First, f(4)=73f(4)=\frac{7}{3}f(4)=37​. Then f(73)=73+373−1=16/34/3=4f\left(\frac{7}{3}\right)=\frac{\frac{7}{3}+3}{\frac{7}{3}-1}=\frac{16/3}{4/3}=4f(37​)=37​−137​+3​=4/316/3​=4. The function is self-inverse, so applying it twice returns the input. The value 73\frac{7}{3}37​ is only the result of the first application. Working with the inner function first avoids slips with the fractions. The returned value equals the input, as expected.
6.

Medium·Calculate[2 marks]

An odd function ggg has g(3)=−7g(3)=-7g(3)=−7. Calculate 2g(−3)+g(3)2g(-3)+g(3)2g(−3)+g(3).
Show answer and explanation

Answer: C · Worked explanation

For an odd function, g(−3)=−g(3)=7g(-3)=-g(3)=7g(−3)=−g(3)=7. Then 2g(−3)+g(3)=2(7)+(−7)=72g(-3)+g(3)=2(7)+(-7)=72g(−3)+g(3)=2(7)+(−7)=7. The value -21 wrongly takes g(−3)=−7g(-3)=-7g(−3)=−7. The value 21 wrongly takes g(3)=7g(3)=7g(3)=7. The value 14 is 2g(−3)2g(-3)2g(−3) alone. Use the odd-function rule first, then substitute the numbers. The sign of g(−3)g(-3)g(−3) is the key step, since the odd rule flips it.
7.

Medium·Predict[2 marks]

The graph of an even function passes through (−2,6)(-2,6)(−2,6). Predict which other point must lie on the graph.
Show answer and explanation

Answer: D · Worked explanation

An even function satisfies f(−x)=f(x)f(-x)=f(x)f(−x)=f(x), so the graph is a mirror image in the yyy-axis. The partner of (−2,6)(-2,6)(−2,6) is (2,6)(2,6)(2,6). The point (2,−6)(2,-6)(2,−6) would be the partner for an odd function, where both signs change. The point (6,−2)(6,-2)(6,−2) swaps the coordinates, which relates to reflection in y=xy=xy=x.
8.

Hard·Deduce[2 marks]

Let fff be even and ggg be odd, both defined for all real xxx. Deduce the type of h(x)=f(x)g(x)h(x)=f(x)g(x)h(x)=f(x)g(x).
Show answer and explanation

Answer: C · Worked explanation

Replace xxx with −x-x−x: h(−x)=f(−x)g(−x)=f(x)×(−g(x))=−h(x)h(-x)=f(-x)g(-x)=f(x)\times(-g(x))=-h(x)h(−x)=f(−x)g(−x)=f(x)×(−g(x))=−h(x). So hhh is odd. The sign change in ggg passes to the product, while fff contributes none. Assuming the product is even ignores the sign change from ggg. Testing f(x)=x2f(x)=x^2f(x)=x2 and g(x)=x3g(x)=x^3g(x)=x3 gives the product x5x^5x5, which is odd.
9.

Hard·Determine[2 marks]

The function f(x)=kx+1x−3f(x)=\frac{kx+1}{x-3}f(x)=x−3kx+1​ is self-inverse. Determine kkk.
Show answer and explanation

Answer: A · Worked explanation

The graph is symmetric about y=xy=xy=x, so the vertical asymptote x=3x=3x=3 must reflect to the horizontal asymptote y=3y=3y=3. The horizontal asymptote is y=ky=ky=k, so k=3k=3k=3. Direct substitution confirms f(f(x))=xf(f(x))=xf(f(x))=x. The value k=−3k=-3k=−3 would give a horizontal asymptote y=−3y=-3y=−3, which does not match the reflection of x=3x=3x=3.
10.

Hard·Identify[2 marks]

Identify the function that is both odd and self-inverse.
Show answer and explanation

Answer: B · Worked explanation

For f(x)=−xf(x)=-xf(x)=−x, f(−x)=x=−f(x)f(-x)=x=-f(x)f(−x)=x=−f(x), so it is odd. Also f(f(x))=−(−x)=xf(f(x))=-(-x)=xf(f(x))=−(−x)=x, so it is self-inverse. The function 2−x2-x2−x is self-inverse but f(−x)=2+xf(-x)=2+xf(−x)=2+x, so it is not odd. The function x3x^3x3 is odd but f(f(x))=x9f(f(x))=x^9f(f(x))=x9. The function 1x2\frac{1}{x^2}x21​ is even. Each candidate needs both tests, and the others fail one of them.

Keep going

Next topic2.15 Solving inequalitiesPrevious topic2.13 Rational functions

More in Topic 2 · Functions

  1. 2.8Reciprocal and rational functionsNotes · 10 questions
  2. 2.9Exponential and logarithmic functionsNotes · 10 questions
  3. 2.10Solving equationsNotes · 10 questions
  4. 2.11Transformations of graphsNotes · 10 questions
  5. 2.12Polynomial functionsNotes · 10 questions· HL only
  6. 2.13Rational functionsNotes · 10 questions· HL only
  7. 2.14Odd, even and self-inverse functionsNotes · 10 questions· HL only
  8. 2.15Solving inequalitiesNotes · 10 questions· HL only
  9. 2.16Modulus and reciprocal graphsNotes · 10 questions· HL only

All IB Mathematics: Analysis and Approaches topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1Even functions are symmetric about the y-axis
  2. 2Odd functions have half-turn symmetry about the origin
  3. 3A two-step algebraic test decides whether a function is odd or even
  4. 4A self-inverse function undoes itself when applied twice
  5. 5Self-inverse graphs are symmetric about the diagonal through the origin
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe

An even curve and an odd curve

y-3-2-10123-10-50510x
  • Even: y = x²
  • Odd: y = x³

A self-inverse graph and the line y = x

y-8-6-4-20246810-50510x
  • f(x)
  • y = x
  • (−1, −1)
  • (3, 3)