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. /Two functions are chained, but each has its own list of allowed inputs, so the chain may not exist…
HardMathematicsHigh School (9–10)Functions and Calculus › Composite and Inverse FunctionsNumericalA-LevelIGCSEIB

Two functions are chained, but each has its own list of allowed inputs, so the chain may not exist…

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.

Two functions are chained, but each has its own list of allowed inputs, so the chain may not exist everywhere.

f(x)=x2−25f(x) = x^2 - 25f(x)=x2−25 for x≥0x \ge 0x≥0, and g(x)=xg(x) = \sqrt{x}g(x)=x​ for x≥0x \ge 0x≥0.

  1. Find the smallest value of xxx for which gf(x)gf(x)gf(x) exists.
  1. Find gf(13)gf(13)gf(13).
  1. Find fg(16)fg(16)fg(16).

Check your answer

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

Need a reminder? The key ideaShowHide

gf(x)gf(x)gf(x) means g(f(x))g(f(x))g(f(x)): the function next to xxx acts first. In general gfgfgf and fgfgfg differ. The composite gfgfgf exists only for the inputs xxx where f(x)f(x)f(x) is allowed in ggg.

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. Part (a). gf(x)=x2−25gf(x) = \sqrt{x^2 - 25}gf(x)=x2−25​. We need x2≥25x^2 \ge 25x2≥25 with x≥0x \ge 0x≥0, so x≥5x \ge 5x≥5. The smallest value is 555.

Step 2. Part (b). f(13)=169−25=144f(13) = 169 - 25 = 144f(13)=169−25=144, and g(144)=12g(144) = 12g(144)=12.

Step 3. Part (c). g(16)=4g(16) = 4g(16)=4, and f(4)=16−25=−9f(4) = 16 - 25 = -9f(4)=16−25=−9. The input 444 is in the domain of fff because 4≥04 \ge 04≥0.

Watch out. gf(13)=12gf(13) = 12gf(13)=12 and fg(16)=−9fg(16) = -9fg(16)=−9 use different orders. fgfgfg exists for every x≥0x \ge 0x≥0, but gfgfgf does not.

Answer: (a) 555. (b) 121212. (c) −9-9−9.

Log in to save this for later
← All Problems
← Two chains of the same two machines are built in opposite orders, and Lena looks for the one input…A technician says that a rescaled reading is exactly nine units away from its target, and writes… →
More onFunctions and Calculus › Composite and Inverse Functions

Discussion (0)

Log in to join the discussion.

Loading…

Learn it in

  1. Composite functionsDomain, Range, Inverse and Composite Functions

More on this topic

  1. Two chains of the same two machines are built in opposite orders, and Lena looks for the one input…Medium
  2. Two machines are placed in a row, and then the order of the machines is swapped to see whether the…Easy
  3. Some rules are their own reverse: running them twice returns the starting input, whatever it was…Hard
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 →