KS Maths
Topic 2.14 · AA Higher Level

Odd, even and self-inverse functions

The root of a square is not the number

√((−3)²) = √9 = 3, not −3. So √(x²) is |x|, and that one fact is why x² has no inverse until you restrict its domain.

Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

inverse
The operation that undoes another one.Subtraction is the inverse of addition.
function
A rule that gives exactly one output for each input.f(x) = x plus 2 is a function.
odd
A whole number that leaves remainder 1 when divided by 2.7 is an odd number.
inverse function
A function that undoes another function.If f adds 2, its inverse subtracts 2.
even
A whole number that divides by 2 exactly.8 is an even number.
square
Multiply a number by itself. Also, a shape with four equal sides and four right angles.5 squared is 25.
square root
A number that gives the original number when multiplied by itself.The square root of 25 is 5.
negative
Less than zero. A negative number has a minus sign.Minus 4 is a negative number.
half
One of two equal parts. Divide by 2.Half of 10 is 5.
modulus
The size of a number, ignoring its sign.The modulus of minus 5 is 5.

Preview You are reading the start of this lesson. The rest opens with a plan. See plans Already paid? Sign in

Warm-up

Four quick ones from earlier work. Try each on paper before you open the answer; a slip here shows you what to watch for later in the lesson.

  1. For f(x) = x² − 2x, find f(3) and f(−3).
    Answer

    f(3) = 9 − 6 = 3. f(−3) = (−3)² − 2(−3) = 9 + 6 = 15. Put the negative input in brackets, then square, then deal with the second term. The two answers are not equal and not negatives of each other, which is what you will test for in this lesson.

  2. Work out √49. Then solve x² = 49.
    Answer

    √49 = 7 only, because the root sign means the non-negative root. The equation x² = 49 has two solutions, x = 7 and x = −7, since both square to 49. Keep that difference between one answer and two in mind for this lesson.

  3. Find the inverse of f(x) = 3x − 6.
    Answer

    y = 3x − 6, swap: x = 3y − 6, so y = (x + 6)/3. Check with a value: f(4) = 6 and the inverse of 6 gives 4.

  4. For f(x) = 6 − x, find f(f(4)).
    Answer

    f(4) = 2 and then f(2) = 4, so you are back where you began. Doing f twice undoes it, which is the idea behind a self-inverse function.

Words used in this lesson
even function
a function whose graph is the same on both sides of the y-axis. For example: x² is even: its graph is a mirror image either side of the y-axis.
odd function
a function whose graph looks the same after a half-turn about the origin. For example: x³ is odd: the graph at (2, 8) matches the graph at (−2, −8).
neither
a function that is not even and not odd. For example: x + 1 is neither, because its graph has no symmetry of either kind.
symmetry
a balanced, matching shape. For example: a butterfly has symmetry about its middle line.
self-inverse
a function that is its own inverse, so doing it twice returns the input. For example: x ↦ 1/x is self-inverse, because the reciprocal of a reciprocal is the original.
modulus
the distance from zero, so never negative. For example: √(x²) is the modulus of x.
restrict the domain
allow only some of the inputs. For example: restrict x² to x ≥ 0 to make it one-to-one.
test
check a rule on particular values or on an expression. For example: to test for odd, compare f(−x) with −f(x).
show that
prove a result; the working must be complete. For example: “show that f is odd” wants algebra for every x, not one number.
hence
use the result you have just found. For example: “find f(f(x)) and hence state the inverse” means use your composite.

Predict first. At x = −3 the figure reads 3 and −3, a gap of 6. Before you move the slider, predict the gap at x = −5 and at x = 4. Does the gap depend on how far left you go?

Then check

Now move the slider to both values and read the third number. Which of your two predictions needed the idea that the square root of a square is the modulus of x? If one prediction was off, say which part of the idea you had missed.

-5-4-3-2-112345y = xy = √(x²)√(x²) = 3.0x = -3.0√(x²) is the V. y = x is the thick line underneath it.At x = -3.0 they are 6.0 apart. √(x²) is |x|, never x.
3.0√(x²)
−3.0x
6.0apart
differentthey are

On the right half they are the same function. On the left half they are not. A rule that holds on half the number line is the kind that survives until an exam.

Why the modulus appears

√ means the non-negative square root, by definition. There has to be a choice, because 9 has two square roots and a function may only return one, and the choice made is the positive one.

So squaring and then rooting does not get you back:

√((−3)²) = √9 = 3

and in general √(x²) = |x|. The squaring destroyed the sign and the rooting cannot invent it back.

This is the same fact as "x² is not one-to-one", said arithmetically. 3 and −3 both go to 9, so an inverse would have to send 9 to both, and no function does that. √(x²) = |x| and "x² has no inverse" are closely related facts.

Restricting the domain is what rescues it. On x ≥ 0 the function x² is one-to-one, and then its inverse is √x and everything works: the inverse of 9 is 3, with no ambiguity, because −3 is no longer in the domain.

The restriction is not a technicality to mention and move past; it is the thing that makes the inverse exist, and a question that asks for an inverse of a quadratic always expects it to be stated. On x ≤ 0 the inverse would be −√x instead, which is the other half of the same answer.

The rest of this lesson is in the full course

Still to come in this lesson:

In the full lesson every figure moves as you drag it, and every answer you type is checked, with a note on what each wrong answer means.

IB Diploma plan: AA HL$99Every Diploma lesson in both courses and both levels, so a change of course never locks you out, and every lesson from Year 7 for the refreshers. $99 for 12 months or $149 for 2 years.

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Pay by card on Gumroad, then come back here and type the email you paid with: we email you a sign-in link. For a refund, reply to your Gumroad receipt or email hello@ksmaths.com.

Try a free sample lesson in every unit, and the whole Skill Tree. See this unit.

Already have a revision pack or the Years 7 to 11 plan? Move up and the unused part of what you paid comes off.

Teaching students who need extra support? Student codes for 5, 10 or 30 students.

AA HL Mock Exam Pack, $25BuyPlan $99