3. Topic 3(COLON) Functions and Graphs

Lesson 3.2: Composite And Inverse Functions

Official syllabus section covering Lesson 3.2: Composite and inverse functions within Topic 3: Functions and Graphs: Composite functions and the order of composition.; Inverse functions and the reflection in the line y = x..

Lesson 3.2: Composite and Inverse Functions

Introduction

In this lesson, we will explore the important concepts of composite functions and inverse functions. Understanding these topics is crucial, as they play a significant role in mathematics and its applications.

By the end of this lesson, you should be able to:

  • Explain composite functions and the order of composition.
  • Understand inverse functions and their geometric representation, particularly reflection in the line $y = x$.
  • Restrict a domain so that an inverse function exists.
  • Form and evaluate composite functions.
  • Find the inverse of a one-to-one function and state its domain.

Composite Functions

Definition

A composite function is generated when one function is substituted into another. If we have two functions, $f(x)$ and $g(x)$, the composite function $f(g(x))$ represents the application of $g(x)$ first, followed by the application of $f(x)$.

Notation

The notation for composite functions is $f \circ g$, pronounced as “f composed with g,” which can be defined as:

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

Order of Composition

The order in which functions are composed matters. That is, generally, f(g(x))

eq g(f(x)). Let’s explore this with a concrete example.

Example 1: Evaluating Composite Functions

Let’s define two functions:

  • $f(x) = 2x + 3$
  • $g(x) = x^2$

Now, we will find $(f \circ g)(x)$ and $(g \circ f)(x)$.

  1. Calculate $f(g(x))$:
  • Step 1: Substitute $g(x)$ into $f$:
  • Step 2: $$f(g(x)) = f(x^2) = 2(x^2) + 3 = 2x^2 + 3$$
  1. Calculate $g(f(x))$:
  • Step 1: Substitute $f(x)$ into $g$:
  • Step 2: $$g(f(x)) = g(2x + 3) = (2x + 3)^2 = 4x^2 + 12x + 9$$

Here we see that $f(g(x)) = 2x^2 + 3$ and $g(f(x)) = 4x^2 + 12x + 9$. This illustrates that the composition of functions depends on the order.

Common Misconception

A common misconception is that the composition of functions is commutative, implying that changing the order does not affect the result. As shown in Example 1, this is incorrect. Always remember to check the order of composition before concluding.

Inverse Functions

Definition

An inverse function essentially reverses the effect of the original function. If a function $f$ takes an input $x$ to some output $y$, then its inverse, denoted $f^{-1}(y)$, will take $y$ back to $x$. In mathematical terms, the composition of a function and its inverse yields the identity function:

$$ f(f^{-1}(y)) = y \quad \text{and} \quad f^{-1}(f(x)) = x $$

Geometric Interpretation

The graphical representation of a function and its inverse exhibits a unique property: they are reflections across the line $y = x$. This means that every point $(a, b)$ on the graph of $f$ corresponds to the point $(b, a)$ on the graph of $f^{-1}$.

Finding Inverses

To find the inverse of a function, follow these steps:

  1. Replace $f(x)$ with $y$.
  2. Swap $x$ and $y$.
  3. Solve for $y$.
  4. Replace $y$ with $f^{-1}(x)$.

Example 2: Finding an Inverse Function

Let’s find the inverse of the function defined by:

$$ f(x) = 3x - 4 $$

  1. Start by replacing $f(x)$ with $y$:

$$ y = 3x - 4 $$

  1. Swap $x$ and $y$:

$$ x = 3y - 4 $$

  1. Solve for $y$:

$$ x + 4 = 3y $$

$$ y = \frac{x + 4}{3} $$

  1. Replace $y$ with $f^{-1}(x)$:

$$ f^{-1}(x) = \frac{x + 4}{3} $$

Now, we have found that the inverse function is:

$$ f^{-1}(x) = \frac{x + 4}{3} $$

Domain of Inverse Functions

The domain of a function becomes the range of its inverse. Therefore, when you find an inverse, it’s vital to state its domain. From our previous example, since the original function $f(x)$ has no restrictions, the domain of $f^{-1}(x)$ is all real numbers:

$$ \text{Domain of } f^{-1}(x) = (-\infty, \infty) $$

Common Misconception

A prevalent misconception is that every function has an inverse. This is not true; only one-to-one functions (where each output corresponds to exactly one input) have inverses. To ensure a function has an inverse, we often restrict its domain.

Restricting the Domain of a Function

To guarantee that a function is one-to-one, we may need to restrict its domain. For instance, the square function $g(x) = x^2$ is not one-to-one when considering all real numbers since both $g(2)$ and $g(-2)$ yield the same output. However, if we restrict the domain to $x \geq 0$, then it becomes one-to-one.

Example 3: Restricting Domain

Consider:

$$ h(x) = x^2 $$

To find its inverse, we first restrict the domain:

  • Restrict to $x \geq 0$ (the right-hand side of the parabola).

Now, we can proceed to find the inverse, which is:

$$ h^{-1}(x) = \sqrt{x} $$

Conclusion

In summary, we have learned about the concepts of composite functions and inverse functions. We explored how to evaluate composite functions, the significance of order when composing functions, and how to find the inverse of a one-to-one function. We also discussed the importance of restricting a domain to ensure a function is one-to-one, allowing for unambiguous inverses.

Study Notes

  • Composite functions require two functions to be combined, where $ (f \circ g)(x) = f(g(x)) $.
  • The order of function composition matters: f(g(x))

eq g(f(x)) .

  • An inverse function undoes the effect of the original function: $ f(f^{-1}(y)) = y $.
  • Inverses are reflections across the line $ y = x $.
  • To find an inverse function, swap $x$ and $y$, then solve for $y$.
  • A function must be one-to-one to have an inverse; restrict its domain if necessary.

Practice Quiz

5 questions to test your understanding