100% FREE Updated: Apr 2026 Algebra and Functions Relations and Functions

Operations on functions

Comprehensive study notes on Operations on functions for CMI BS Hons preparation. This chapter covers key concepts, formulas, and examples needed for your exam.

Operations on functions

This chapter explores fundamental operations on functions, including composition and iteration, which are essential for manipulating and understanding functional relationships. A thorough grasp of these operations, alongside the conditions for and computation of inverse functions, is crucial for solving advanced problems in algebra and is frequently assessed in CMI examinations.

---

Chapter Contents

|

| Topic |

|---|-------| | 1 | Composition of functions | | 2 | Function iteration | | 3 | Existence of inverse | | 4 | Inverse of a function |

---

We begin with Composition of functions.

Part 1: Composition of functions

Composition of Functions

Overview

Composition of functions means applying one function and then feeding its output into another. This topic is not just notation. In CMI-style questions, the real test is usually about when a composition is defined, how domain and codomain interact, and what properties such as one-to-one and onto can be inferred from the composition. ---

Learning Objectives

By the End of This Topic

After studying this topic, you will be able to:

  • define and compute compositions like gfg\circ f correctly,

  • determine the domain of a composite function,

  • simplify algebraic compositions,

  • analyze injectivity and surjectivity of compositions,

  • use composition to understand inverse functions and identity maps.

---

Core Definition

📖 Composition of Functions

Let

f:ST\qquad f:S\to T
and
g:TU\qquad g:T\to U

Then the composition gfg\circ f is the function from SS to UU defined by

(gf)(x)=g(f(x))\qquad (g\circ f)(x)=g(f(x))

This means:

  • first apply ff,

  • then apply gg to the result.

⚠️ Order Matters

In general,

gffg\qquad g\circ f \ne f\circ g

because:

    • the rules may be different,

    • the domains may be different,

    • one composition may be defined while the other is not.

---

When is a Composition Defined?

Domain Condition for Composition

The composition gfg\circ f makes sense only when the outputs of ff lie inside the domain of gg.

If
f:ST\qquad f:S\to T
and
g:AU\qquad g:A\to U

then gfg\circ f is defined only for those xSx\in S such that

f(x)A\qquad f(x)\in A

So the domain of gfg\circ f is

{xS:f(x)domain(g)}\qquad \{x\in S : f(x)\in \text{domain}(g)\}

---

Algebraic Composition

📐 Basic Evaluation Rule

To find (gf)(x)(g\circ f)(x):

  • compute f(x)f(x),

  • substitute that entire expression into gg.


Similarly,

(fg)(x)=f(g(x))\qquad (f\circ g)(x)=f(g(x))

These are often different.

Example 1 Let f(x)=2x+1,g(x)=x2\qquad f(x)=2x+1,\qquad g(x)=x^2 Then (gf)(x)=g(2x+1)=(2x+1)2\qquad (g\circ f)(x)=g(2x+1)=(2x+1)^2 but (fg)(x)=f(x2)=2x2+1\qquad (f\circ g)(x)=f(x^2)=2x^2+1 So they are not the same. ---

Domain of a Composite Function

📐 How to Find the Domain

For (gf)(x)(g\circ f)(x):

    • start with the domain of ff,

    • then impose the extra condition that f(x)f(x) must lie in the domain of gg.


This is one of the most tested algebraic ideas in composition questions.

Example 2 Let f(x)=x21,g(x)=x\qquad f(x)=x^2-1,\qquad g(x)=\sqrt{x} Then (gf)(x)=x21\qquad (g\circ f)(x)=\sqrt{x^2-1} For this to be defined, we need x210\qquad x^2-1 \ge 0 So x1orx1\qquad x\le -1 \quad \text{or} \quad x\ge 1 Hence the domain of gfg\circ f is (,1][1,)\qquad (-\infty,-1]\cup[1,\infty) ---

Injective and Surjective Language

📖 One-to-One and Onto

Let f:STf:S\to T.

    • ff is one-to-one or injective if

f(a1)=f(a2)a1=a2\qquad f(a_1)=f(a_2)\Rightarrow a_1=a_2

    • ff is onto or surjective if for every bTb\in T, there exists aSa\in S such that

f(a)=b\qquad f(a)=b

---

What Composition Tells Us About Injectivity

📐 If gfg\circ f is One-to-One

If gfg\circ f is one-to-one, then:

    • ff must be one-to-one,

    • gg need not be one-to-one on all of its domain.


Why?

If f(a1)=f(a2)f(a_1)=f(a_2), then applying gg gives

g(f(a1))=g(f(a2))\qquad g(f(a_1))=g(f(a_2))

that is,

(gf)(a1)=(gf)(a2)\qquad (g\circ f)(a_1)=(g\circ f)(a_2)

Since gfg\circ f is one-to-one, we get

a1=a2\qquad a_1=a_2

So ff must be injective.

💡 Important Subtlety

Even if gfg\circ f is injective, gg may fail to be injective on values that never come from ff.

So from injectivity of gfg\circ f, we can conclude:

    • ff must be injective,

    • gg need not be injective globally.

---

What Composition Tells Us About Surjectivity

📐 If gfg\circ f is Onto

If gf:SUg\circ f:S\to U is onto, then:

    • gg must be onto,

    • ff need not be onto.


Reason:

If gfg\circ f is onto UU, then for every uUu\in U there exists xSx\in S such that

g(f(x))=u\qquad g(f(x))=u

But f(x)f(x) lies in the domain of gg, so some input to gg maps to uu.

Hence gg is onto.

💡 Important Subtlety

From surjectivity of gfg\circ f, we only know that f(S)f(S) is large enough for gg to hit all of UU.

So:

    • gg must be onto,

    • ff need not be onto its codomain.

---

Summary of the Main Implications

📐 Must-Know Logical Table

If gfg\circ f is one-to-one, then

    • ff must be one-to-one

    • gg need not be onto

    • gg need not be one-to-one globally


If gfg\circ f is onto, then

    • gg must be onto

    • ff need not be one-to-one

    • ff need not be onto

For standard exam answers, the most important clean facts are:
  • gfg\circ f injective f\Rightarrow f injective
  • gfg\circ f surjective g\Rightarrow g surjective
::: ---

Composition and Inverse Functions

📐 Inverse via Identity

A function f:STf:S\to T has an inverse f1:TSf^{-1}:T\to S if and only if ff is bijective.

Then

f1f=IS\qquad f^{-1}\circ f = I_S
and
ff1=IT\qquad f\circ f^{-1} = I_T

where ISI_S and ITI_T are identity functions on SS and TT respectively.

📖 Identity Function

The identity function on a set SS is

IS(x)=x\qquad I_S(x)=x

for every xSx\in S.

---

Associativity of Composition

📐 Associativity

If all relevant compositions are defined, then

h(gf)=(hg)f\qquad h\circ (g\circ f) = (h\circ g)\circ f

So composition is associative.

But it is generally not commutative.

---

Common Algebraic Patterns

📐 Useful Patterns

  • If

f(x)=ax+b,g(x)=cx+d\qquad f(x)=ax+b,\quad g(x)=cx+d
then
(gf)(x)=c(ax+b)+d\qquad (g\circ f)(x)=c(ax+b)+d

  • If

f(x)=x2,g(x)=x\qquad f(x)=x^2,\quad g(x)=\sqrt{x}
then
(gf)(x)=x2=x\qquad (g\circ f)(x)=\sqrt{x^2}=|x|

  • If

f(x)=1x,g(x)=x+1\qquad f(x)=\dfrac{1}{x},\quad g(x)=x+1
then
(gf)(x)=1+1x\qquad (g\circ f)(x)=1+\dfrac{1}{x} with x0x\ne 0

  • Domains must be checked after substitution, not before only.

---

PYQ-Type Logic You Must Remember

💡 CMI Strategy

When a question asks about gfg\circ f:

  • identify the order clearly,

  • check whether the composition is defined,

  • if algebraic, substitute carefully,

  • if logical, ask what must happen to ff and what must happen to gg,

  • do not assume converse statements are true unless proved.

---

Common Mistakes

⚠️ Avoid These Errors
    • ❌ Writing gf(x)g\circ f(x) instead of (gf)(x)(g\circ f)(x) in a confusing way
    • ❌ Reversing the order of application
    • ❌ Forgetting to check the domain after substitution
    • ❌ Assuming injectivity of gfg\circ f forces injectivity of gg
    • ❌ Assuming surjectivity of gfg\circ f forces surjectivity of ff
    • ❌ Thinking composition is commutative
---

Minimal Worked Examples

Example 3 Let f(x)=x+2,g(x)=1x\qquad f(x)=x+2,\qquad g(x)=\dfrac{1}{x} Then (gf)(x)=1x+2\qquad (g\circ f)(x)=\dfrac{1}{x+2} For this to be defined, we need x+20\qquad x+2\ne 0 So the domain is R{2}\qquad \mathbb{R}\setminus\{-2\} --- Example 4 Suppose gfg\circ f is one-to-one. Prove ff is one-to-one. Take any a1,a2a_1,a_2 such that f(a1)=f(a2)\qquad f(a_1)=f(a_2) Apply gg to both sides: g(f(a1))=g(f(a2))\qquad g(f(a_1))=g(f(a_2)) So (gf)(a1)=(gf)(a2)\qquad (g\circ f)(a_1)=(g\circ f)(a_2) Since gfg\circ f is one-to-one, a1=a2\qquad a_1=a_2 Therefore ff is one-to-one. ---

Practice Questions

:::question type="MCQ" question="Let f(x)=x2+1f(x)=x^2+1 and g(x)=2x3g(x)=2x-3. Then (gf)(x)(g\circ f)(x) equals" options=["2x212x^2-1","(2x3)2+1(2x-3)^2+1","2x2+232x^2+2-3","x22x^2-2"] answer="A" hint="Apply ff first, then gg." solution="We first compute f(x)=x2+1\qquad f(x)=x^2+1 Now apply gg: (gf)(x)=g(x2+1)=2(x2+1)3=2x21\qquad (g\circ f)(x)=g(x^2+1)=2(x^2+1)-3=2x^2-1 Hence the correct option is A\boxed{A}." ::: :::question type="NAT" question="Let f(x)=x1f(x)=x-1 and g(x)=x2g(x)=x^2. Find (fg)(3)(f\circ g)(3)." answer="8" hint="Compute g(3)g(3) first." solution="We have g(3)=32=9\qquad g(3)=3^2=9 Now apply ff: (fg)(3)=f(9)=91=8\qquad (f\circ g)(3)=f(9)=9-1=8 Hence the answer is 8\boxed{8}." ::: :::question type="MSQ" question="Which of the following statements are true?" options=["If gfg\circ f is one-to-one, then ff must be one-to-one","If gfg\circ f is onto, then gg must be onto","If gfg\circ f is one-to-one, then gg must be one-to-one","If gfg\circ f is onto, then ff must be onto"] answer="A,B" hint="Think about what property must pass backward or forward through composition." solution="1. True. Injectivity of gfg\circ f forces injectivity of ff.
  • True. Surjectivity of gfg\circ f forces surjectivity of gg.
  • False. gg need not be one-to-one on all of its domain.
  • False. ff need not be onto its codomain.
  • Hence the correct answer is A,B\boxed{A,B}." ::: :::question type="SUB" question="Find the domain of (gf)(x)(g\circ f)(x) if f(x)=x24f(x)=x^2-4 and g(x)=1xg(x)=\dfrac{1}{x}." answer="R2,2\mathbb{R}\setminus\\{-2,2\\}" hint="The output of ff must lie in the domain of gg." solution="We have f(x)=x24\qquad f(x)=x^2-4 and g(x)=1x\qquad g(x)=\dfrac{1}{x} So (gf)(x)=1x24\qquad (g\circ f)(x)=\dfrac{1}{x^2-4} For this to be defined, we require x240\qquad x^2-4\ne 0 Thus (x2)(x+2)0\qquad (x-2)(x+2)\ne 0 So x2, 2\qquad x\ne 2,\ -2 Hence the domain is R{2,2}\qquad \boxed{\mathbb{R}\setminus\{-2,2\}}." ::: ---

    Summary

    Key Takeaways for CMI

    • (gf)(x)(g\circ f)(x) means apply ff first and then gg.

    • Composition is associative but not usually commutative.

    • The domain of a composite function must be checked after substitution.

    • If gfg\circ f is injective, then ff must be injective.

    • If gfg\circ f is surjective, then gg must be surjective.

    • Identity and inverse functions are naturally expressed using composition.

    ---

    💡 Next Up

    Proceeding to Function iteration.

    ---

    Part 2: Function iteration

    Function Iteration

    Overview

    Function iteration means applying a function repeatedly to its own outputs. If a function ff sends xx to f(x)f(x), then iteration studies x, f(x), f(f(x)), f(f(f(x))),\qquad x,\ f(x),\ f(f(x)),\ f(f(f(x))),\dots This topic appears in CMI-style questions through composition, trajectories, fixed points, periodic points, idempotent functions such as ff=ff \circ f = f, higher-order conditions such as ggg=gg \circ g \circ g = g, and recursive rules that define a map implicitly. The key skill is to move between algebraic identity, orbit structure, and global behavior. ---

    Learning Objectives

    By the End of This Topic

    After studying this topic, you will be able to:

    • use iterate notation correctly and distinguish it from ordinary powers

    • analyse trajectories, fixed points, and periodic points of a function

    • use composition identities such as ff=ff \circ f=f and ggg=gg \circ g \circ g=g

    • apply the chain rule to iterated differentiable functions

    • reason about finite and infinite trajectories in discrete iteration problems

    • extract structural consequences such as injectivity, surjectivity, and monotonicity from iteration identities

    ---

    Basic Notation

    📖 Iterates of a Function

    If ff is a function from a set AA to itself, then:

      • f1=ff^{\circ 1} = f

      • f2=fff^{\circ 2} = f \circ f

      • f3=ffff^{\circ 3} = f \circ f \circ f

      • in general, fnf^{\circ n} means ff composed with itself nn times


    Important:
    fn(x)\qquad f^{\circ n}(x) means the nn-th iterate of xx under ff

    This is not the same as (f(x))n(f(x))^n.

    ⚠️ Do Not Confuse These
      • f2(x)=f(f(x))f^{\circ 2}(x)=f(f(x))
      • (f(x))2=f(x)f(x)(f(x))^2 = f(x)\cdot f(x)
    These are completely different expressions.
    ---

    Trajectory / Orbit

    📖 Trajectory of a Point

    For a function f:AAf:A \to A, the trajectory or orbit of a point xx is

    {x, f(x), f2(x), f3(x),}\qquad \{x,\ f(x),\ f^{\circ 2}(x),\ f^{\circ 3}(x),\dots\}

    Sometimes the order matters, and one studies the sequence

    x, f(x), f2(x),\qquad x,\ f(x),\ f^{\circ 2}(x),\dots

    rather than just the set of values.

    Finite Trajectory Principle

    For a deterministic iteration rule, a trajectory is finite if and only if some value repeats.

    If
    fm(x)=fn(x)\qquad f^{\circ m}(x)=f^{\circ n}(x)
    for some m<nm<n,

    then from that point onward the iteration becomes periodic.

    ---

    Fixed Points and Periodic Points

    📖 Fixed Point

    A point xx is a fixed point of ff if

    f(x)=x\qquad f(x)=x

    📖 Periodic Point

    A point xx is periodic of period k1k \ge 1 if

    fk(x)=x\qquad f^{\circ k}(x)=x

    The least such positive kk is called the period of xx.

    📐 Examples of Periodic Structure
      • period 11 means fixed point
      • period 22 means
    f(f(x))=x\qquad f(f(x))=x but f(x)xf(x)\ne x
      • finite trajectory usually means the orbit eventually lands in a cycle
    ---

    Composition Identities

    1. Idempotent Functions

    📖 Idempotent Function

    A function ff is called idempotent if

    ff=f\qquad f \circ f = f

    That is,

    f(f(x))=f(x)\qquad f(f(x))=f(x) for every xx

    Immediate Consequences of ff=ff \circ f = f

    If yy lies in the range of ff, then there exists some xx with y=f(x)y=f(x).

    Applying ff again,

    f(y)=f(f(x))=f(x)=y\qquad f(y)=f(f(x))=f(x)=y

    So every point in the range is a fixed point of ff.

    Hence:

      • every value attained by ff is fixed by ff

      • the range of ff is contained in the set of fixed points

      • in fact, the range equals the set of fixed points

    📐 Range = Fixed Point Set for Idempotent Maps

    If ff=ff \circ f = f, then

    Range(f)={y:f(y)=y}\qquad \operatorname{Range}(f)=\{y : f(y)=y\}

    ---

    2. Triple Iteration Identity

    📖 Triple Iterate Identity

    If

    ggg=g\qquad g \circ g \circ g = g

    then letting

    h=gg\qquad h = g \circ g

    we get

    hh=h\qquad h \circ h = h

    So hh is idempotent.

    This reduces a third-iterate problem to an idempotent-function problem.

    💡 Useful Reduction

    Whenever you see
    g3=g\qquad g^{\circ 3}=g,

    set
    h=g2\qquad h=g^{\circ 2}

    Then
    h2=g4=g2=h\qquad h^{\circ 2}=g^{\circ 4}=g^{\circ 2}=h

    So all the structure facts for idempotent maps become available for hh.

    ---

    Differentiable Iteration and the Chain Rule

    📐 Derivative of an Iterate

    If ff is differentiable, then

    (ff)(x)=f(f(x))f(x)\qquad (f \circ f)'(x)=f'(f(x))\cdot f'(x)

    More generally,

    (fn)(x)=f(f(n1)(x))f(f(x))f(x)\qquad (f^{\circ n})'(x)=f'(f^{\circ (n-1)}(x)) \cdots f'(f(x))f'(x)

    📐 Derivative Consequence for ff=ff \circ f=f

    If ff=ff \circ f=f, then differentiating gives

    f(f(x))f(x)=f(x)\qquad f'(f(x))\cdot f'(x)=f'(x)

    So

    f(x)(f(f(x))1)=0\qquad f'(x)\big(f'(f(x))-1\big)=0

    Hence for each xx, at least one of the following must hold:

    f(x)=0orf(f(x))=1\qquad f'(x)=0 \quad \text{or} \quad f'(f(x))=1

    Interpretation

    This identity is extremely strong.

      • at points where f(x)0f'(x)\ne 0, we must have f(f(x))=1f'(f(x))=1

      • on the range of an idempotent differentiable function, one often gets strong rigidity

      • in many real-analysis settings, this forces the only non-constant solution to be the identity map

    ---

    Injective and Surjective Tricks

    💡 Very Useful Logic

    • If ff is injective and ff=ff \circ f=f, then


    f(f(x))=f(x)\qquad f(f(x))=f(x)

    Injectivity gives

    f(x)=x\qquad f(x)=x

    So an injective idempotent map must be the identity.

    • If ff is surjective and ff=ff \circ f=f, then every yy is in the range, hence every yy is fixed. So again


    f(y)=y\qquad f(y)=y

    Thus a surjective idempotent map must also be the identity.

    Conclusion

    If ff=ff \circ f=f, then the strongest nontrivial case is when ff is neither obviously injective nor obviously surjective. Many problems then ask you to prove one of those properties and deduce

    f(x)=x\qquad f(x)=x

    ---

    Finite Trajectories in Discrete Iteration

    📖 Trajectory under a Rule

    Suppose a map TT is defined on positive integers by some rule. Then the trajectory of aa is

    a, T(a), T2(a),\qquad a,\ T(a),\ T^{\circ 2}(a),\dots

    A finite trajectory means only finitely many distinct values occur.

    How Finite Trajectories Arise

    A finite trajectory means the sequence must eventually repeat. Since the rule is deterministic, a repeated value creates a cycle.

    So finite-trajectory questions are usually solved by:

    • identifying possible cycles

    • proving that every finite orbit must end in one of them

    • constructing examples of desired lengths if asked

    💡 Typical Structure Method

    In discrete iteration games:

      • find monotonicity outside special values

      • identify when the map increases

      • identify when the map sharply decreases

      • study minimal element of a trajectory

      • classify all possible cycles

    ---

    Functional-Equation Viewpoint

    📐 Iteration as a Functional Equation

    Many iteration problems amount to identities like

      • f2=ff^{\circ 2}=f

      • f3=ff^{\circ 3}=f

      • f(n)=f(f(n+5))f(n)=f(f(n+5))

      • q(x)=q ⁣(11x)q(x)=q\!\left(\dfrac{1}{1-x}\right)


    The general strategy is:
    • find an invariant or repeated structure

    • rewrite using composition

    • deduce fixed points / range constraints / periodic constraints

    • reduce the problem to algebra or order structure

    ---

    Minimal Worked Examples

    Example 1 Let f(x)=x+1f(x)=x+1 on R\mathbb{R}. Then f2(x)=f(x+1)=x+2\qquad f^{\circ 2}(x)=f(x+1)=x+2 f3(x)=x+3\qquad f^{\circ 3}(x)=x+3 So in general, fn(x)=x+n\qquad f^{\circ n}(x)=x+n This trajectory is infinite for every real xx. --- Example 2 Let f(x)=x2f(x)=x^2 on nonnegative reals. Then x=0x=0 and x=1x=1 are fixed points because 02=0,12=1\qquad 0^2=0,\quad 1^2=1 Also, if 0<x<10<x<1, then repeated iteration drives values toward 00, while if x>1x>1, repeated iteration grows rapidly. This shows that iteration is governed by fixed points and how the function behaves near them. ---

    Common Error Patterns

    ⚠️ Avoid These Errors
      • ❌ treating f2(x)f^{\circ 2}(x) as (f(x))2(f(x))^2
      • ❌ assuming finite trajectory means fixed point; it may instead mean a cycle
      • ❌ forgetting that a repeated value in a deterministic system implies eventual periodicity
      • ❌ differentiating f(f(x))f(f(x)) incorrectly
      • ❌ forgetting to use the range when ff=ff \circ f=f
      • ❌ solving pointwise but ignoring global conditions such as onto or monotone
    ---

    Strategy for CMI-Type Questions

    💡 CMI Strategy

    • Write the iterate notation cleanly. Keep track of ff, f2f^{\circ 2}, f3f^{\circ 3} separately.

    • Look for fixed points first. They often control the whole problem.

    • For ff=ff \circ f=f, immediately study the range.

    • For g3=gg^{\circ 3}=g, set h=g2h=g^{\circ 2} and reduce to the idempotent case.

    • For discrete trajectories, classify cycles and use minimal-element or monotonicity arguments.

    • If differentiability is given, differentiate the iterate identity and exploit the chain rule.

    • If onto or one-to-one is obtained, try to force the identity map.

    ---

    Practice Questions

    :::question type="MCQ" question="If ff is a function such that ff=ff \circ f = f, which of the following must be true?" options=["Every point in the domain is fixed","Every point in the range is fixed","ff is constant","ff is one-to-one"] answer="B" hint="Write y=f(x)y=f(x) for a point in the range." solution="Let yy be any point in the range of ff. Then there exists some xx such that y=f(x)\qquad y=f(x) Now apply ff: f(y)=f(f(x))\qquad f(y)=f(f(x)) Since ff=ff \circ f=f, this becomes f(y)=f(x)=y\qquad f(y)=f(x)=y So every point in the range is fixed. The other statements need not hold in general. Hence the correct option is B\boxed{B}." ::: :::question type="NAT" question="Let f(x)=2x+1f(x)=2x+1 for all real xx. Find f2(3)f^{\circ 2}(3)." answer="15" hint="First compute f(3)f(3), then apply ff again." solution="We have f(3)=23+1=7\qquad f(3)=2\cdot 3+1=7 Now apply ff once more: f2(3)=f(7)=27+1=15\qquad f^{\circ 2}(3)=f(7)=2\cdot 7+1=15 Therefore the answer is 15\boxed{15}." ::: :::question type="MSQ" question="Which of the following statements are true?" options=["If ff is injective and ff=ff \circ f=f, then f(x)=xf(x)=x for all xx","If ff is surjective and ff=ff \circ f=f, then f(x)=xf(x)=x for all xx","If a trajectory repeats a value, then it becomes eventually periodic","For every function, f2(x)=(f(x))2f^{\circ 2}(x)=(f(x))^2"] answer="A,B,C" hint="Use injectivity, surjectivity, and deterministic iteration carefully." solution="1. True. From f(f(x))=f(x)f(f(x))=f(x) and injectivity, we get f(x)=xf(x)=x for all xx.
  • True. If ff is surjective, every point is in the range; but every point in the range of an idempotent map is fixed. Hence f(x)=xf(x)=x for all xx.
  • True. Once a deterministic iteration revisits a value, the same sequence repeats from there onward, so the orbit is eventually periodic.
  • False. f2(x)f^{\circ 2}(x) means f(f(x))f(f(x)), not (f(x))2(f(x))^2.
  • Therefore the correct answer is A,B,C\boxed{A,B,C}." ::: :::question type="SUB" question="Suppose f:RRf:\mathbb{R}\to\mathbb{R} is differentiable and satisfies ff=ff \circ f = f. Show that for every real number xx, either f(x)=0f'(x)=0 or f(f(x))=1f'(f(x))=1." answer="For every real xx, f(x)(f(f(x))1)=0f'(x)\big(f'(f(x))-1\big)=0, so either f(x)=0f'(x)=0 or f(f(x))=1f'(f(x))=1." hint="Differentiate the identity f(f(x))=f(x)f(f(x))=f(x) using the chain rule." solution="We are given f(f(x))=f(x)\qquad f(f(x))=f(x) for every real xx. Differentiate both sides with respect to xx. By the chain rule, ddxf(f(x))=f(f(x))f(x)\qquad \dfrac{d}{dx}f(f(x)) = f'(f(x))\cdot f'(x) and ddxf(x)=f(x)\qquad \dfrac{d}{dx}f(x)=f'(x) So f(f(x))f(x)=f(x)\qquad f'(f(x))\cdot f'(x)=f'(x) Rearranging, f(x)(f(f(x))1)=0\qquad f'(x)\big(f'(f(x))-1\big)=0 Hence for every real xx, at least one of the two factors must be zero. Therefore, f(x)=0orf(f(x))=1\qquad f'(x)=0 \quad \text{or} \quad f'(f(x))=1 This proves the required statement. ::: ---

    Summary

    Key Takeaways for CMI

    • Iteration studies repeated composition: fnf^{\circ n}, not powers of values.

    • A finite deterministic trajectory must eventually become periodic.

    • If ff=ff \circ f=f, then the range of ff is exactly the fixed-point set of ff.

    • If an idempotent map is injective or surjective, it must be the identity.

    • Differentiating iterate identities often produces strong rigidity conditions.

    • For g3=gg^{\circ 3}=g, studying g2g^{\circ 2} is often the right first reduction.

    • In hard problems, the right invariant or orbit structure is usually more important than direct computation.

    ---

    💡 Next Up

    Proceeding to Existence of inverse.

    ---

    Part 3: Existence of inverse

    Existence of Inverse

    Overview

    The inverse of a function exists only when the function matches inputs and outputs in a perfectly reversible way. In CMI-style questions, this topic is not just about writing f1(x)f^{-1}(x) algebraically; it is about checking whether an inverse function exists at all, which depends on injectivity, surjectivity, the chosen domain and codomain, and sometimes a suitable restriction of domain. ---

    Learning Objectives

    By the End of This Topic

    After studying this topic, you will be able to:

    • decide whether a function has an inverse

    • distinguish between left inverse, right inverse, and two-sided inverse

    • test injectivity, surjectivity, and bijectivity correctly

    • find inverse functions when they exist

    • understand how domain restriction can create an inverse

    ---

    Core Definition

    📖 Inverse Function

    Let f:ABf:A\to B be a function.

    A function g:BAg:B\to A is called the inverse of ff if

    g(f(x))=x for every xA\qquad g(f(x))=x \text{ for every } x\in A

    and

    f(g(y))=y for every yB\qquad f(g(y))=y \text{ for every } y\in B

    In that case, we write

    g=f1\qquad g=f^{-1}

    Main Criterion

    A function f:ABf:A\to B has an inverse function if and only if ff is bijective.

    That means:

      • every element of BB is hit by exactly one element of AA

      • equivalently, ff is both injective and surjective

    ---

    Injective, Surjective, Bijective

    📐 Injective

    A function f:ABf:A\to B is injective if

    f(x1)=f(x2)x1=x2\qquad f(x_1)=f(x_2) \Rightarrow x_1=x_2

    for all x1,x2Ax_1,x_2\in A.

    This means different inputs give different outputs.

    📐 Surjective

    A function f:ABf:A\to B is surjective if for every yBy\in B, there exists some xAx\in A such that

    f(x)=y\qquad f(x)=y

    This means the range of ff is exactly the codomain BB.

    📐 Bijective

    A function is bijective if it is both injective and surjective.

    Only then does a genuine inverse function exist.

    ---

    Why Inverse Requires Bijectivity

    💡 One-to-One and Onto

    For f1f^{-1} to be a function:

    • every output of ff must come from some input

    \Rightarrow surjectivity

    • no output of ff should come from two different inputs

    \Rightarrow injectivity

    If either fails, the inverse cannot be a well-defined function on the full codomain.

    ---

    Left Inverse and Right Inverse

    📐 Left Inverse

    A function g:BAg:B\to A is a left inverse of f:ABf:A\to B if

    gf=IA\qquad g\circ f = I_A

    where IA(x)=xI_A(x)=x for all xAx\in A.

    A left inverse exists only when ff is injective.

    📐 Right Inverse

    A function h:BAh:B\to A is a right inverse of f:ABf:A\to B if

    fh=IB\qquad f\circ h = I_B

    A right inverse exists only when ff is surjective.

    Full Inverse

    A two-sided inverse exists if both happen together, that is, when ff is bijective.

    ---

    Identity Function

    📐 Identity Function

    For a set AA, the identity function IA:AAI_A:A\to A is defined by

    IA(x)=x\qquad I_A(x)=x

    If ff has inverse f1f^{-1}, then

    f1f=IA\qquad f^{-1}\circ f = I_A

    and

    ff1=IB\qquad f\circ f^{-1} = I_B

    ---

    How to Find an Inverse

    💡 Standard Algebraic Method

    To find the inverse of a bijective function:

    • write

    y=f(x)\qquad y=f(x)

    • solve for xx in terms of yy


    • replace yy by xx


    • state the correct domain and codomain of the inverse


    This works only after confirming that an inverse exists.

    ---

    Domain and Codomain Matter

    ⚠️ Same Formula, Different Invertibility

    A function can be invertible for one choice of domain and codomain, but not for another.

    Example:
    f(x)=x2\qquad f(x)=x^2

      • as a function RR\mathbb{R}\to\mathbb{R}, it is not injective, so no inverse exists

      • as a function [0,)[0,)[0,\infty)\to[0,\infty), it is bijective, so the inverse exists and is

    f1(x)=x\qquad f^{-1}(x)=\sqrt{x}

    So invertibility depends on the full function definition, not just the formula.

    ---

    Horizontal Line View

    💡 Graph Test for Injectivity

    A real-valued function is injective on an interval if every horizontal line cuts its graph at most once.

    If some horizontal line meets the graph more than once, the function is not one-to-one, so an inverse function cannot exist on that domain.

    ---

    Strict Monotonicity and Inverse

    📐 A Useful Practical Rule

    If a real-valued function is strictly increasing or strictly decreasing on an interval, then it is injective on that interval.

    So many inverse-function problems reduce to checking monotonicity on the given domain.

    Examples:
    • f(x)=2x+3f(x)=2x+3 is strictly increasing on R\mathbb{R}, so invertible
    • f(x)=x3f(x)=x^3 is strictly increasing on R\mathbb{R}, so invertible
    • f(x)=x2f(x)=x^2 is not one-to-one on R\mathbb{R}, so not invertible there
    ---

    Standard Examples

    📐 Example 1: Linear Function

    For
    f(x)=ax+b,a0\qquad f(x)=ax+b,\quad a\ne 0

    the function is bijective from R\mathbb{R} to R\mathbb{R}.

    To find the inverse:
    y=ax+b\qquad y=ax+b

    x=yba\qquad x=\dfrac{y-b}{a}

    So
    f1(x)=xba\qquad f^{-1}(x)=\dfrac{x-b}{a}

    📐 Example 2: Reciprocal-Type Function

    For
    f(x)=1x\qquad f(x)=\dfrac{1}{x} on R{0}\mathbb{R}\setminus\{0\}

    the function is bijective from R{0}\mathbb{R}\setminus\{0\} to R{0}\mathbb{R}\setminus\{0\} and

    f1(x)=1x\qquad f^{-1}(x)=\dfrac{1}{x}

    So the function is its own inverse.

    📐 Example 3: Quadratic with Restricted Domain

    For
    f(x)=x2\qquad f(x)=x^2

      • on R\mathbb{R}: no inverse function exists

      • on [0,)[0,\infty): inverse exists and is

    f1(x)=x\qquad f^{-1}(x)=\sqrt{x}

      • on (,0](-\infty,0]: inverse exists and is

    f1(x)=x\qquad f^{-1}(x)=-\sqrt{x}

    ---

    Composition Check

    📐 How to Verify an Inverse

    If you think gg is the inverse of ff, check both:

    f(g(x))=x\qquad f(g(x))=x

    and

    g(f(x))=x\qquad g(f(x))=x

    with the correct allowed values of xx in each case.

    ⚠️ Do Not Check Only One Side Blindly

    Sometimes one composition simplifies nicely only because the domain has been ignored.

    For example, with
    f(x)=x2\qquad f(x)=x^2
    and
    g(x)=x\qquad g(x)=\sqrt{x},

    we have
    g(f(x))=x2=x\qquad g(f(x))=\sqrt{x^2}=|x|

    This equals xx only when x0x\ge 0.

    So the correct domain matters critically.

    ---

    Minimal Worked Examples

    Example 1 Let f(x)=3x5\qquad f(x)=3x-5 Find the inverse. Write y=3x5\qquad y=3x-5 Then x=y+53\qquad x=\dfrac{y+5}{3} So f1(x)=x+53\qquad f^{-1}(x)=\dfrac{x+5}{3} --- Example 2 Does f(x)=x2\qquad f(x)=x^2 have an inverse from R\mathbb{R} to R\mathbb{R}? No, because f(2)=f(2)=4\qquad f(2)=f(-2)=4 So the function is not injective on R\mathbb{R}. Hence no inverse function exists on that domain. ---

    CMI Strategy

    💡 How to Solve Inverse-Existence Questions

    • first identify the domain and codomain carefully

    • test injectivity and surjectivity separately

    • if not injective, try domain restriction

    • if bijective, then find the inverse algebraically

    • verify by composition

    • in graph-based questions, use monotonicity or the horizontal line idea

    ---

    Common Mistakes

    ⚠️ Avoid These Errors
      • ❌ trying to find f1f^{-1} before checking whether it exists
      • ❌ confusing range with codomain
      • ❌ forgetting that x2x^2 is not invertible on all of R\mathbb{R}
      • ❌ checking only one of ff1f\circ f^{-1} or f1ff^{-1}\circ f
      • ❌ ignoring domain restrictions while solving for the inverse
    ---

    Practice Questions

    :::question type="MCQ" question="Which of the following functions from R\mathbb{R} to R\mathbb{R} has an inverse?" options=["f(x)=x2f(x)=x^2","f(x)=xf(x)=|x|","f(x)=x3f(x)=x^3","f(x)=x2+1f(x)=x^2+1"] answer="C" hint="An inverse exists only for a bijection." solution="We test each function on R\mathbb{R}.
  • f(x)=x2f(x)=x^2 is not injective because
  • f(2)=f(2)\qquad f(2)=f(-2)
  • f(x)=xf(x)=|x| is not injective because
  • 2=2\qquad |2|=|-2|
  • f(x)=x3f(x)=x^3 is strictly increasing on R\mathbb{R}, hence injective. Also every real number yy is of the form
  • y=x3\qquad y=x^3 for some real x=y3x=\sqrt[3]{y}, so it is surjective.
  • f(x)=x2+1f(x)=x^2+1 is not injective on R\mathbb{R}.
  • Hence only f(x)=x3f(x)=x^3 has an inverse. Therefore the correct option is C\boxed{C}." ::: :::question type="NAT" question="Let f(x)=4x7f(x)=4x-7. Find f1(13)f^{-1}(13)." answer="5" hint="First find the inverse function." solution="Let y=4x7\qquad y=4x-7 Then x=y+74\qquad x=\dfrac{y+7}{4} So f1(x)=x+74\qquad f^{-1}(x)=\dfrac{x+7}{4} Now evaluate at x=13x=13: f1(13)=13+74=204=5\qquad f^{-1}(13)=\dfrac{13+7}{4}=\dfrac{20}{4}=5 Hence the answer is 5\boxed{5}." ::: :::question type="MSQ" question="Which of the following statements are true?" options=["If a function has an inverse, then it must be bijective.","If a function is injective, then a left inverse may exist.","If a function is surjective, then a right inverse may exist.","The function f(x)=x2f(x)=x^2 from [0,)[0,\infty) to [0,)[0,\infty) has an inverse."] answer="A,B,C,D" hint="Recall the relation between left inverse, right inverse, and bijectivity." solution="1. True. A two-sided inverse exists exactly when the function is bijective.
  • True. A left inverse exists only in the injective case.
  • True. A right inverse exists only in the surjective case.
  • True. On [0,)[0,\infty), the function f(x)=x2f(x)=x^2 is bijective onto [0,)[0,\infty), and its inverse is
  • f1(x)=x\qquad f^{-1}(x)=\sqrt{x} Hence all four statements are true. Therefore the correct answer is A,B,C,D\boxed{A,B,C,D}." ::: :::question type="SUB" question="Show that the function f:R{2}R{1}f:\mathbb{R}\setminus\{2\}\to\mathbb{R}\setminus\{1\} defined by f(x)=xx2f(x)=\dfrac{x}{x-2} is invertible, and find its inverse." answer="f1(x)=2xx1f^{-1}(x)=\dfrac{2x}{x-1}" hint="Set y=xx2y=\dfrac{x}{x-2} and solve for xx." solution="We are given f(x)=xx2\qquad f(x)=\dfrac{x}{x-2} with domain R{2}\mathbb{R}\setminus\{2\} and codomain R{1}\mathbb{R}\setminus\{1\}. To find the inverse, let y=xx2\qquad y=\dfrac{x}{x-2} Then y(x2)=x\qquad y(x-2)=x yx2y=x\qquad yx-2y=x yxx=2y\qquad yx-x=2y x(y1)=2y\qquad x(y-1)=2y x=2yy1\qquad x=\dfrac{2y}{y-1} So the inverse candidate is f1(x)=2xx1\qquad f^{-1}(x)=\dfrac{2x}{x-1} Now we verify: $\qquad f\!\left(\dfrac{2x}{x-1}\right)=\dfrac{\frac{2x}{x-1}}{\frac{2x}{x-1}-2} =\dfrac{\frac{2x}{x-1}}{\frac{2x-2x+2}{x-1}} =\dfrac{\frac{2x}{x-1}}{\frac{2}{x-1}}=x$ for x1x\ne 1. Also, $\qquad f^{-1}\!\left(\dfrac{x}{x-2}\right) =\dfrac{2\cdot \frac{x}{x-2}}{\frac{x}{x-2}-1} =\dfrac{\frac{2x}{x-2}}{\frac{x-(x-2)}{x-2}} =\dfrac{\frac{2x}{x-2}}{\frac{2}{x-2}}=x$ for x2x\ne 2. Hence ff is invertible, and f1(x)=2xx1\qquad \boxed{f^{-1}(x)=\dfrac{2x}{x-1}}." ::: ---

    Summary

    Key Takeaways for CMI

    • A function has an inverse if and only if it is bijective.

    • Bijective means both injective and surjective.

    • Left inverse corresponds to injectivity; right inverse corresponds to surjectivity.

    • Domain and codomain are part of the function, so invertibility depends on them.

    • Many non-invertible formulas become invertible after domain restriction.

    • Always verify an inverse by composition.

    ---

    💡 Next Up

    Proceeding to Inverse of a function.

    ---

    Part 4: Inverse of a function

    Inverse of a function

    Overview

    The inverse of a function reverses the action of the original function. If ff sends an input xx to an output yy, then f1f^{-1} sends yy back to xx. In CMI-style questions, inverse functions are tested not only through formulas, but through domain-range matching, one-one behaviour, composition, and careful restriction of domain. ---

    Learning Objectives

    By the End of This Topic

    After studying this topic, you will be able to:

    • Decide when a function has an inverse.

    • Find the inverse of a function algebraically.

    • Restrict the domain of a function when necessary to make it invertible.

    • Use composition to verify inverses.

    • Distinguish clearly between f1(x)f^{-1}(x) and 1f(x)\dfrac{1}{f(x)}.

    ---

    Core Idea

    📖 Inverse of a function

    A function f:ABf:A\to B has an inverse if there exists a function f1:BAf^{-1}:B\to A such that

    f1(f(x))=xfor all xA\qquad f^{-1}(f(x))=x \quad \text{for all } x\in A

    and

    f(f1(y))=yfor all yB\qquad f(f^{-1}(y))=y \quad \text{for all } y\in B

    So the inverse undoes the original function.

    Domain and Range Swap

    If ff has an inverse, then:

      • domain of f1f^{-1} = range of ff

      • range of f1f^{-1} = domain of ff


    This is one of the most important facts in inverse-function questions.

    ---

    When Does an Inverse Exist?

    📐 Necessary condition

    A function must be one-one to have an inverse as a function.

    That means:
    f(a)=f(b)a=b\qquad f(a)=f(b) \Rightarrow a=b

    Equivalently, different inputs must give different outputs.

    📖 One-one and onto viewpoint

    For a function f:ABf:A\to B:

      • one-one (injective): no two distinct elements of AA have the same image

      • onto (surjective): every element of BB is hit by some element of AA


    For an inverse from BB back to AA to exist on the whole codomain BB, the function must be both one-one and onto.

    💡 Graph Test

    A function is one-one if every horizontal line intersects its graph at most once.

    This is called the horizontal line test.

    ---

    How to Find an Inverse Algebraically

    📐 Standard method

    To find the inverse of y=f(x)y=f(x):

    • Write

    y=f(x)\qquad y=f(x)

    • Solve for xx in terms of yy


    • Interchange xx and yy


    • Write the result as

    y=f1(x)\qquad y=f^{-1}(x)

    ---

    Minimal Worked Examples

    Example 1 Find the inverse of f(x)=3x5\qquad f(x)=3x-5 Write y=3x5\qquad y=3x-5 Solve for xx: y+5=3x\qquad y+5=3x x=y+53\qquad x=\dfrac{y+5}{3} Interchange xx and yy: f1(x)=x+53\qquad f^{-1}(x)=\dfrac{x+5}{3} --- Example 2 Find the inverse of f(x)=x2x+3\qquad f(x)=\dfrac{x-2}{x+3} Write y=x2x+3\qquad y=\dfrac{x-2}{x+3} Solve for xx: y(x+3)=x2\qquad y(x+3)=x-2 yx+3y=x2\qquad yx+3y=x-2 yxx=23y\qquad yx-x=-2-3y x(y1)=(2+3y)\qquad x(y-1)=-(2+3y) x=2+3y1y\qquad x=\dfrac{2+3y}{1-y} Interchange xx and yy: f1(x)=2+3x1x\qquad f^{-1}(x)=\dfrac{2+3x}{1-x} Domain note:
    • original function is undefined at x=3x=-3
    • inverse is undefined at x=1x=1, which is the range restriction of the original function
    ---

    Restricting the Domain

    Why restriction is often needed

    Some common functions are not one-one on their natural domain, so they do not have an inverse unless we restrict the domain.

    Example:
    f(x)=x2\qquad f(x)=x^2

    On all real numbers, this is not one-one because
    f(2)=f(2)=4\qquad f(2)=f(-2)=4

    So no inverse exists on R\mathbb{R}.

    But if we restrict the domain to
    x0\qquad x\ge 0

    then the inverse becomes
    f1(x)=x\qquad f^{-1}(x)=\sqrt{x}

    ⚠️ Most Important Square Trap

    If
    f(x)=x2\qquad f(x)=x^2

    then the inverse is not
    ±x\qquad \pm \sqrt{x}

    because an inverse must itself be a function.

    After restricting to x0x\ge 0, the inverse is
    x\qquad \sqrt{x}

    After restricting to x0x\le 0, the inverse is
    x\qquad -\sqrt{x}

    ---

    Composition Check

    📐 How to verify an inverse

    If you claim that g=f1g=f^{-1}, then check:

    f(g(x))=x\qquad f(g(x))=x

    and

    g(f(x))=x\qquad g(f(x))=x

    on the appropriate domains.

    Example For f(x)=3x5\qquad f(x)=3x-5 and g(x)=x+53\qquad g(x)=\dfrac{x+5}{3}, we get f(g(x))=3(x+53)5=x+55=x\qquad f(g(x))=3\left(\dfrac{x+5}{3}\right)-5=x+5-5=x and g(f(x))=3x5+53=x\qquad g(f(x))=\dfrac{3x-5+5}{3}=x So g=f1g=f^{-1}. ---

    Inverse Is Not Reciprocal

    ⚠️ Do Not Confuse These
      • f1(x)f^{-1}(x) means the inverse function
      • 1f(x)\dfrac{1}{f(x)} means reciprocal of the function value
    These are completely different. Example: If f(x)=2x\qquad f(x)=2x then f1(x)=x2\qquad f^{-1}(x)=\dfrac{x}{2} but 1f(x)=12x\qquad \dfrac{1}{f(x)}=\dfrac{1}{2x}
    ---

    Domain and Range Logic

    📐 Always track these

    If f:ABf:A\to B is invertible, then:

      • each value in the range of ff becomes an input for f1f^{-1}

      • each value in the domain of ff becomes an output for f1f^{-1}


    Example:
    If
    f(x)=x2, x0\qquad f(x)=x^2,\ x\ge 0

    then:
      • domain of ff is [0,)[0,\infty)

      • range of ff is [0,)[0,\infty)


    So for the inverse:
      • domain of f1f^{-1} is [0,)[0,\infty)

      • range of f1f^{-1} is [0,)[0,\infty)

    ---

    Standard Function Patterns

    📐 Common inverse pairs
      • f(x)=ax+b, a0f(x)=ax+b,\ a\ne 0
    f1(x)=xba\qquad \Rightarrow \qquad f^{-1}(x)=\dfrac{x-b}{a}
      • f(x)=x2, x0f(x)=x^2,\ x\ge 0
    f1(x)=x\qquad \Rightarrow \qquad f^{-1}(x)=\sqrt{x}
      • f(x)=x2, x0f(x)=x^2,\ x\le 0
    f1(x)=x\qquad \Rightarrow \qquad f^{-1}(x)=-\sqrt{x}
      • f(x)=ax+bcx+df(x)=\dfrac{ax+b}{cx+d} with adbc0ad-bc\ne 0
    can often be inverted by solving linearly for xx
      • f(x)=ax, a>0, a1f(x)=a^x,\ a>0,\ a\ne 1
    f1(x)=logax\qquad \Rightarrow \qquad f^{-1}(x)=\log_a x
    ---

    Graph-Based Understanding

    📖 Graph of an inverse

    The graph of f1f^{-1} is the reflection of the graph of ff in the line

    y=x\qquad y=x

    💡 How this helps

    If a point (a,b)(a,b) lies on the graph of ff, then the point (b,a)(b,a) lies on the graph of f1f^{-1}.

    So inverse graphs swap coordinates.

    ---

    Common Errors

    ⚠️ Avoid These Errors
      • ❌ finding an inverse without checking whether the function is one-one
      • ❌ forgetting to restrict domain for functions like x2x^2
      • ❌ writing ±x\pm\sqrt{x} as an inverse
          • ❌ confusing inverse with reciprocal
          • ❌ solving for the inverse but forgetting domain and range restrictions
          • ❌ checking only one composition and not the other when needed
        ✅ Correct habits:
          • check one-one first
          • note the original domain and range
          • solve carefully for xx
          • swap variables only after solving
          • verify with composition
    ---

    CMI Strategy

    💡 How to Attack Inverse Questions

    • First ask: is the function one-one on the given domain?

    • If not, restrict the domain if the problem allows it.

    • Solve y=f(x)y=f(x) for xx cleanly.

    • Track the domain and range after inversion.

    • Use composition to confirm the result.

    • In graph questions, use reflection in y=xy=x and horizontal line logic.

    ---

    Practice Questions

    :::question type="MCQ" question="If f(x)=3x7f(x)=3x-7, then f1(x)f^{-1}(x) is" options=["x73\dfrac{x-7}{3}","x+73\dfrac{x+7}{3}","3x+73x+7","13x7\dfrac{1}{3x-7}"] answer="B" hint="Set y=3x7y=3x-7 and solve for xx." solution="Write y=3x7\qquad y=3x-7 Then y+7=3x\qquad y+7=3x so x=y+73\qquad x=\dfrac{y+7}{3} Interchanging xx and yy, we get f1(x)=x+73\qquad f^{-1}(x)=\dfrac{x+7}{3} Hence the correct option is B\boxed{B}." ::: :::question type="NAT" question="For f(x)=x2f(x)=x^2 with domain x0x\ge 0, find f1(49)f^{-1}(49)." answer="7" hint="First identify the inverse function." solution="Since the domain of f(x)=x2f(x)=x^2 is restricted to x0x\ge 0, the inverse is f1(x)=x\qquad f^{-1}(x)=\sqrt{x} Therefore, f1(49)=49=7\qquad f^{-1}(49)=\sqrt{49}=7 Hence the answer is 7\boxed{7}." ::: :::question type="MSQ" question="Which of the following statements are true?" options=["If a function has an inverse, then it must be one-one.","For an invertible function, domain of f1f^{-1} equals range of ff.","f1(x)f^{-1}(x) always means 1f(x)\dfrac{1}{f(x)}.","The graph of f1f^{-1} is the reflection of the graph of ff in the line y=xy=x."] answer="A,B,D" hint="Recall the meaning of inverse and its graph." solution="1. True. A function must be one-one to have an inverse as a function.
  • True. Domain and range swap under inversion.
  • False. f1(x)f^{-1}(x) means inverse function, not reciprocal.
  • True. The graph of the inverse is the reflection of the graph in the line y=xy=x.
  • Hence the correct answer is A,B,D\boxed{A,B,D}." ::: :::question type="SUB" question="Find the inverse of f(x)=x+1x2f(x)=\dfrac{x+1}{x-2} and state its domain." answer="f1(x)=2x+1x1f^{-1}(x)=\dfrac{2x+1}{x-1}, domain of f1f^{-1} is R1\mathbb{R}\setminus\\{1\\}" hint="Set y=x+1x2y=\dfrac{x+1}{x-2} and solve for xx." solution="Write y=x+1x2\qquad y=\dfrac{x+1}{x-2} Now solve for xx: y(x2)=x+1\qquad y(x-2)=x+1 yx2y=x+1\qquad yx-2y=x+1 yxx=2y+1\qquad yx-x=2y+1 x(y1)=2y+1\qquad x(y-1)=2y+1 x=2y+1y1\qquad x=\dfrac{2y+1}{y-1} Interchanging xx and yy, we get f1(x)=2x+1x1\qquad f^{-1}(x)=\dfrac{2x+1}{x-1} The denominator shows that x1\qquad x\ne 1 So the domain of the inverse is R{1}\qquad \mathbb{R}\setminus\{1\} Hence f1(x)=2x+1x1\qquad \boxed{f^{-1}(x)=\dfrac{2x+1}{x-1}} with domain R{1}\qquad \boxed{\mathbb{R}\setminus\{1\}}." ::: ---

    Summary

    Key Takeaways for CMI

    • An inverse reverses the action of the original function.

    • A function must be one-one to have an inverse as a function.

    • Domain and range swap under inversion.

    • Many functions need domain restriction before they become invertible.

    • f1(x)f^{-1}(x) is not the same as 1f(x)\dfrac{1}{f(x)}.

    • Composition and graph reflection are the two fastest ways to verify inverse relationships.

    Chapter Summary

    Operations on functions — Key Points

    Composition of Functions: For functions f:BCf: B \to C and g:ABg: A \to B, the composite function (fg)(x)=f(g(x))(f \circ g)(x) = f(g(x)) has domain {xAg(x)B}\{x \in A \mid g(x) \in B\}. Composition is associative but generally not commutative.
    Function Iteration: fn(x)f^n(x) denotes the nn-th iteration of ff, defined as ffn1(x)f \circ f^{n-1}(x) for n1n \ge 1, with f0(x)=xf^0(x) = x (the identity function).
    Existence of Inverse: A function f:ABf: A \to B possesses an inverse function f1:BAf^{-1}: B \to A if and only if ff is bijective (both injective/one-to-one and surjective/onto).
    Properties of Inverse: If f1f^{-1} exists, then (ff1)(x)=x(f \circ f^{-1})(x) = x for all xx in the domain of f1f^{-1}, and (f1f)(x)=x(f^{-1} \circ f)(x) = x for all xx in the domain of ff.
    Domain and Range of Inverse: The domain of f1f^{-1} is the range of ff, and the range of f1f^{-1} is the domain of ff.
    Finding the Inverse: To find f1(x)f^{-1}(x), replace f(x)f(x) with yy, swap xx and yy, then solve the resulting equation for yy.
    * Graphical Representation: The graph of y=f1(x)y = f^{-1}(x) is the reflection of the graph of y=f(x)y = f(x) across the line y=xy=x.

    Chapter Review Questions

    :::question type="MCQ" question="Given f(x)=x1f(x) = \sqrt{x-1} and g(x)=x2+2g(x) = x^2+2. Determine the domain of the composite function (fg)(x)(f \circ g)(x)." options=["[1,)[1, \infty)","(,)(-\infty, \infty)","[0,)[0, \infty)","[1,1][-1, 1]"] answer="(,)(-\infty, \infty)" hint="First, find the expression for (fg)(x)(f \circ g)(x). Then, identify the values of xx for which this expression is defined." solution="First, we find the expression for (fg)(x)(f \circ g)(x):
    (fg)(x)=f(g(x))=f(x2+2)=(x2+2)1=x2+1(f \circ g)(x) = f(g(x)) = f(x^2+2) = \sqrt{(x^2+2)-1} = \sqrt{x^2+1}.
    For x2+1\sqrt{x^2+1} to be defined, the expression under the square root must be non-negative: x2+10x^2+1 \ge 0.
    Since x20x^2 \ge 0 for all real xx, x2+11x^2+1 \ge 1 for all real xx.
    Thus, x2+1\sqrt{x^2+1} is defined for all real numbers.
    The domain of (fg)(x)(f \circ g)(x) is (,)(-\infty, \infty)."
    :::

    :::question type="NAT" question="If f(x)=x32f(x) = x^3 - 2, find the value of f1(6)f^{-1}(6)." answer="2" hint="First, find the inverse function f1(x)f^{-1}(x). Then, substitute the given value into the inverse function." solution="To find the inverse function f1(x)f^{-1}(x), let y=x32y = x^3 - 2.
    Swap xx and yy: x=y32x = y^3 - 2.
    Solve for yy:
    y3=x+2y^3 = x+2
    y=x+23y = \sqrt[3]{x+2}
    So, f1(x)=x+23f^{-1}(x) = \sqrt[3]{x+2}.
    Now, substitute x=6x=6 into f1(x)f^{-1}(x):
    f1(6)=6+23=83=2f^{-1}(6) = \sqrt[3]{6+2} = \sqrt[3]{8} = 2."
    :::

    :::question type="MCQ" question="Which of the following functions is invertible over its natural domain?" options=["f(x)=x24x+3f(x) = x^2 - 4x + 3","f(x)=x2f(x) = |x-2|","f(x)=1x2+1f(x) = \frac{1}{x^2+1}","f(x)=x13f(x) = \sqrt[3]{x-1}"] answer="f(x)=x13f(x) = \sqrt[3]{x-1}" hint="A function is invertible if and only if it is bijective (one-to-one and onto). Consider the graph or properties of each function." solution="A function is invertible if it is bijective (injective and surjective).

  • f(x)=x24x+3f(x) = x^2 - 4x + 3: This is a parabola opening upwards. It fails the horizontal line test (e.g., f(1)=0f(1) = 0 and f(3)=0f(3) = 0), so it is not injective. Not invertible.

  • f(x)=x2f(x) = |x-2|: This is a V-shaped graph. It fails the horizontal line test (e.g., f(1)=1f(1) = 1 and f(3)=1f(3) = 1), so it is not injective. Not invertible.

  • f(x)=1x2+1f(x) = \frac{1}{x^2+1}: This function has f(1)=12f(-1) = \frac{1}{2} and f(1)=12f(1) = \frac{1}{2}, so it is not injective. Not invertible.

  • f(x)=x13f(x) = \sqrt[3]{x-1}: This is a cube root function, which is strictly increasing over its entire domain R\mathbb{R}. It is both injective and surjective over R\mathbb{R}, thus it is bijective and invertible."
    :::

    :::question type="MCQ" question="Let f(x)=2x+1f(x) = 2x+1. Find the expression for f3(x)f^3(x)." options=["6x+36x+3","8x+78x+7","2x+72x+7","4x+54x+5"] answer="8x+78x+7" hint="Calculate f2(x)=f(f(x))f^2(x) = f(f(x)) first, then use that result to calculate f3(x)=f(f2(x))f^3(x) = f(f^2(x))." solution="We calculate the iterations step-by-step:
    f1(x)=f(x)=2x+1f^1(x) = f(x) = 2x+1
    f2(x)=f(f(x))=f(2x+1)=2(2x+1)+1=4x+2+1=4x+3f^2(x) = f(f(x)) = f(2x+1) = 2(2x+1)+1 = 4x+2+1 = 4x+3
    f3(x)=f(f2(x))=f(4x+3)=2(4x+3)+1=8x+6+1=8x+7f^3(x) = f(f^2(x)) = f(4x+3) = 2(4x+3)+1 = 8x+6+1 = 8x+7."
    :::

    What's Next?

    💡 Continue Your CMI Journey

    Understanding operations on functions is a cornerstone for advanced topics in algebra and pre-calculus. The concepts explored here, particularly domain and range considerations for composite and inverse functions, will be crucial when studying more complex function types, such as polynomial, rational, exponential, and logarithmic functions. Furthermore, a solid grasp of inverse functions is fundamental for calculus, especially when dealing with implicit differentiation and derivatives of inverse trigonometric functions.

  • 🎯 Key Points to Remember

    • Master the core concepts in Operations on functions before moving to advanced topics
    • Practice with previous year questions to understand exam patterns
    • Review short notes regularly for quick revision before exams

    Related Topics in Algebra and Functions

    More Resources

    Why Choose MastersUp?

    🎯

    AI-Powered Plans

    Personalized study schedules based on your exam date and learning pace

    📚

    15,000+ Questions

    Verified questions with detailed solutions from past papers

    📊

    Smart Analytics

    Track your progress with subject-wise performance insights

    🔖

    Bookmark & Revise

    Save important questions for quick revision before exams

    Start Your Free Preparation →

    No credit card required • Free forever for basic features