Lesson 2.6: Functions, Composition, and Inverses
Introduction
Welcome to Lesson 2.6! Today, we will dive into the world of functions and discover how they work, interact, and can even be reversed! 😃
Learning Objectives
By the end of this lesson, you should be able to:
- Understand domain, range, and the conditions for a function to have an inverse.
- Grasp the concept of composite functions and their domains.
- Find and sketch inverse functions, as well as learn about the reflection across the line $y = x$.
- Differentiate between one-to-one and many-to-one functions.
- State the domain and range of a function and its inverse.
Understanding Functions
Before we get into the fun stuff, let’s quickly recap what a function is. A function is a relationship between an input ($x$) and an output ($y$) such that each input has exactly one output. For example, consider the function $f(x) = x^2$. Here, for each value of $x$, there’s a definite value of $y$. If you input $2$, the output is $4$.
Domain and Range
The domain of a function is the set of all possible input values, while the range is the set of all possible output values. For our example, $f(x) = x^2$:
- Domain: All real numbers ($-\infty, \infty$)
- Range: All real numbers greater than or equal to $0$
Understanding the domain and range is crucial to determining whether a function has an inverse. Inverses can only be found when each output is linked to precisely one input (a one-to-one function).
One-to-One and Many-to-One Functions
One-to-One Functions
A function is one-to-one if it never assigns the same value to two different inputs. For example, the function $f(x) = 2x + 1$ is one-to-one because each $x$ leads to a unique $y$.
Many-to-One Functions
Conversely, a function is many-to-one if two different inputs can produce the same output. For example, the function $f(x) = x^2$ is many-to-one since both $2$ and $-2$ yield an output of $4$.
Conditions for an Inverse
For a function to have an inverse, it must be one-to-one. If a function is many-to-one, it cannot be inverted because the inverse would not pass the “vertical line test.”
Composite Functions
Composite functions combine two functions into one. If you have two functions, $f(x)$ and $g(x)$, the composite function $(f \circ g)(x)$ is defined as:
$$(f \circ g)(x) = f(g(x))$$
This means you first apply $g(x)$ and then apply $f$ to the result of $g$.
Example of Composite Functions
Let’s say:
- $f(x) = 3x + 2$
- $g(x) = x^2$
To find $(f \circ g)(x)$:
- First, calculate $g(x)$:
- $g(x) = x^2$
- Now plug $g(x)$ into $f(x)$:
- $f(g(x)) = f(x^2) = 3(x^2) + 2 = 3x^2 + 2$
The composite function is thus $(f \circ g)(x) = 3x^2 + 2$. 🎉
Domain of Composite Functions
To find the domain of a composite function, you must consider the domain of both functions involved. The domain of $(f \circ g)$ consists of all $x$ values in the domain of $g$, which also produce outputs in the domain of $f$.
Inverse Functions
An inverse function effectively reverses the operation of the original function. If $y = f(x)$, then the inverse function is denoted as $f^{-1}(y)$, which will bring you back to $x$. For a function to have an inverse, it must be one-to-one.
Finding the Inverse Function
To find the inverse function, we can follow these steps:
- Replace $f(x)$ with $y$:
$$y = 2x + 1$$
- Swap $x$ and $y$:
$$x = 2y + 1$$
- Solve for $y$:
$$2y = x - 1$$
$$y = \frac{x - 1}{2}$$
Thus, the inverse function is:
$$f^{-1}(x) = \frac{x - 1}{2}$$
Sketching Inverse Functions and Reflection
The graph of the inverse function is a reflection of the original function across the line $y = x$. This line can visually help you see how the input and output values swap.
Conclusion
In this lesson, we've uncovered the essential elements of functions, their composites, and inverses. Remember that understanding the domain and range helps you determine if a function is one-to-one and whether it can have an inverse. The relationship between functions and their inverses is crucial for various applications in mathematics.
Study Notes
- A function relates each input to a single output.
- Domain: Set of possible input values; Range: Set of possible output values.
- A function is one-to-one if each output is produced by a unique input.
- Composite functions combine two functions: $(f \circ g)(x) = f(g(x))$.
- Inverse functions undo the work of the original function and are graphed as reflections across $y = x$.
- A function must be one-to-one to have an inverse.
