Composition of Functions

Rarely Tested

Composition of Functions

## Definition / Concept

If:

$$f:A\to B$$

and:

$$g:B\to C$$

then $g\circ f$ maps $A$ to $C$.

## Formula

$$(g\circ f)(x)=g(f(x))$$

$$g\circ f:A\to C$$

## Conditions / Special Cases

For the composition to be defined:

$$\text{Range}(f)\subseteq\text{Domain}(g)$$

In general:

$$g\circ f\ne f\circ g$$

Composition is associative:

$$h\circ(g\circ f)=(h\circ g)\circ f$$

## Usage

- Used in function equations and inverse-function problems.

- Useful for simplifying nested functions.

Question 1

A function f : ℝ\{0,1} → ℝ satisfies f(x) + f(1/(1−x)) = 1 + x for all valid x. The value of f(f(2)) is:

Question 2

Let a function be defined as $$f(x) = \frac{x}{\sqrt{1 + 3x^2}}$$ for all real numbers $$x$$. If a new function $$g(x)$$ is defined as $$g(x) = f(f(x))$$, then the value of $$g(g(\frac{1}{2}))$$ is:

Question 3

Let $$f: \mathbb{R} \setminus \{0, 1\} \to \mathbb{R}$$ be a function satisfying the functional equation:

$$f(x) + f\left(\frac{x-1}{x}\right) = 1 + x$$

For all $$x$$ in the domain, the value of $$4f(2)$$ is equal to:

Go back to topics

Join CAT 2026 course by 5-Time CAT 100%iler

Start your IIM journey with the right preparation and crack CAT 2026.