Functions

FUNCTIONS, COMPOSITE FUNCTIONS & INVERSE FUNCTIONS 1. FUNCTIONS

Definition: A function is a rule that takes an input, performs an operation and produces exactly one output.


Function notation:


  • f(x): Output of function f.

  • f(3): Output when the input is 3.

  • x: Input or variable.


Evaluating functions: Substitute the given value wherever x appears.


Example: f(x) = 2x + 3


f(4) = 2(4) + 3 = 11


Negative inputs: Always use brackets when substituting negative numbers.


Example: f(x) = x² + 2x


f(-3) = (-3)² + 2(-3) = 3


Domain and Range:


  • Domain: Set of possible inputs.

  • Range: Set of possible outputs.


Important rules:


  • Every input must have exactly one output.

  • Different inputs can produce the same output.

  • Functions can be represented using equations, tables, graphs and mapping diagrams.



2. COMPOSITE FUNCTIONS

Definition: A composite function combines two functions by applying one function after another.


Notation:


  • f(g(x)) or fg(x): Apply g first, then f.

  • g(f(x)) or gf(x): Apply f first, then g.


Rule: Always calculate the function inside the brackets first.


Example:


Given: f(x) = 2x + 1 g(x) = x + 3


Find f(g(x)):


f(g(x)) = 2(x + 3) + 1 = 2x + 6 + 1 = 2x + 7


Finding composite functions with numbers:


Find f(g(2)):


g(2) = 2 + 3 = 5


f(5) = 2(5) + 1 = 11


Important rules:


  • Order matters.

  • f(g(x)) is not always equal to g(f(x)).

  • Work from the inside out.

  • Expand brackets and simplify your answer.



3. INVERSE FUNCTIONS

Definition: An inverse function reverses the operation of the original function.


Notation: f⁻¹(x)


Important: f⁻¹(x) does NOT mean 1/f(x). It represents the inverse function.


Finding an inverse function:


  1. Replace f(x) with y.

  2. Swap x and y.

  3. Rearrange to make y the subject.

  4. Write the answer as f⁻¹(x).


Example:


Find the inverse of:


f(x) = 2x + 4


Step 1: y = 2x + 4


Step 2: Swap x and y. x = 2y + 4


Step 3: Rearrange. x - 4 = 2y y = (x - 4)/2


Answer: f⁻¹(x) = (x - 4)/2


Important rules:


  • An inverse reverses the original function.

  • The domain and range switch places.

  • A function must be one-to-one on its domain to have an inverse.

  • A function and its inverse undo each other.



QUICK REVISION

  • Function: Input → Rule → Output.

  • Domain: Possible inputs.

  • Range: Possible outputs.

  • Composite function: Apply one function after another.

  • f(g(x)): Apply g first, then f.

  • Inverse function: Reverses the original function.

  • f⁻¹(x): Inverse notation.