HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Problems
  2. /Some rules are their own reverse: running them twice returns the starting input, whatever it was…
HardMathematicsHigh School (9–10)Functions and Calculus › Composite and Inverse FunctionsNumericalA-LevelIGCSEIB

Some rules are their own reverse: running them twice returns the starting input, whatever it was…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

Some rules are their own reverse: running them twice returns the starting input, whatever it was.

A function is defined by f(x)=x+2x−kf(x) = \dfrac{x + 2}{x - k}f(x)=x−kx+2​ for x≠kx \ne kx=k. The function is its own inverse, so f−1(x)=f(x)f^{-1}(x) = f(x)f−1(x)=f(x).

  1. Find the value of kkk.
  1. Find f(5)f(5)f(5).
  1. Find f(f(5))f(f(5))f(f(5)).

Check your answer

Work it out on paper, then type your number. The answer itself stays hidden.

Need a reminder? The key ideaShowHide

To find f−1(x)f^{-1}(x)f−1(x), write y=f(x)y = f(x)y=f(x), swap xxx and yyy, and solve for yyy. Only a one-one function has an inverse, so a quadratic needs its domain restricted to one side of the turning point. The domain of f−1f^{-1}f−1 is the range of fff.

The worked solution

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

Step 1. The inverse. Write x=y+2y−kx = \dfrac{y + 2}{y - k}x=y−ky+2​. Then xy−kx=y+2xy - kx = y + 2xy−kx=y+2, so y(x−1)=kx+2y(x - 1) = kx + 2y(x−1)=kx+2 and f−1(x)=kx+2x−1f^{-1}(x) = \dfrac{kx + 2}{x - 1}f−1(x)=x−1kx+2​.

Step 2. Part (a). For f−1(x)=f(x)f^{-1}(x) = f(x)f−1(x)=f(x) we need kx+2x−1=x+2x−k\dfrac{kx + 2}{x - 1} = \dfrac{x + 2}{x - k}x−1kx+2​=x−kx+2​. Comparing the tops and the bottoms gives k=1k = 1k=1.

Step 3. Part (b). With k=1k = 1k=1, f(5)=74=1.75f(5) = \dfrac{7}{4} = 1.75f(5)=47​=1.75.

Step 4. Part (c). f(1.75)=3.750.75=5f(1.75) = \dfrac{3.75}{0.75} = 5f(1.75)=0.753.75​=5.

Check. The answer to (c) is the original input, as it must be for a function that is its own inverse.

Answer: (a) k=1k = 1k=1. (b) 1.751.751.75. (c) 555.

Log in to save this for later
← All Problems
← Samir wants to run a quadratic rule backwards, so the domain must be cut on one side of the turning…Two machines are placed in a row, and then the order of the machines is swapped to see whether the… →
More onFunctions and Calculus › Composite and Inverse Functions

Discussion (0)

Log in to join the discussion.

Loading…

Learn it in

  1. Inverse functions and their graphsDomain, Range, Inverse and Composite Functions

More on this topic

  1. Two functions are chained, but each has its own list of allowed inputs, so the chain may not exist…Hard
  2. Two chains of the same two machines are built in opposite orders, and Lena looks for the one input…Medium
  3. Two machines are placed in a row, and then the order of the machines is swapped to see whether the…Easy
Samir wants to run a quadratic rule backwards, so the domain must be cut on one side of the turning…Medium
  • A rule divides one linear expression by another, and Priya wants the reverse rule and the inputs it…Medium
  • All problems on this topic →