Lesson 3.1: Functions, Domain and Range
Introduction
In this lesson, we will delve into the concept of functions, which are fundamental building blocks in mathematics. The objective is to understand what a function is, how to express it using function notation, and to identify the domain and range of a function. By the end of this lesson, you will be equipped with the skills to evaluate functions, identify their domains and ranges, and understand the differences between one-to-one and many-to-one functions. This lesson serves as a foundation for understanding graphs and their transformations in later sections of the course.
What is a Function?
A function is a relationship or a mapping from a set of inputs to a set of possible outputs, where each input is related to exactly one output. This means that for every value in the domain (the set of inputs), there is one and only one corresponding value in the range (the set of outputs).
Function Notation
A function is typically denoted as $ f(x) $, where:
- $ f $ is the name of the function,
- $ x $ is the input variable.
The notation $ f(x) $ refers to the output of the function when $ x $ is the input. For example, if we define a function as follows:
$$egin{align*}
$ f(x) & = 2x + 3$
$\end{align*}$$$
This means that $ f(1) = 2(1) + 3 = 5 $ and $ f(2) = 2(2) + 3 = 7 $. Here, we can see how function notation allows us to evaluate the function for specific inputs.
Example 1
Let’s find the output of the function $ f(x) = x^2 - 4 $ for various inputs:
- For $ x = -2 $: $ f(-2) = (-2)^2 - 4 = 4 - 4 = 0 $
- For $ x = 0 $: $ f(0) = (0)^2 - 4 = 0 - 4 = -4 $
- For $ x = 3 $: $ f(3) = (3)^2 - 4 = 9 - 4 = 5 $
As you can see, by substituting different values into the function’s equation, we obtain different outputs.
Domain and Range
Understanding the domain and range is crucial for working with functions effectively.
Domain
The domain of a function is the set of all possible input values (or $ x $-values) that the function can accept. When determining the domain, we must often consider restrictions that prevent certain $ x $-values from being valid inputs.
Example 2
Consider the function $ g(x) = \frac{1}{x - 3} $. The domain includes all real numbers except $ x = 3 $ because that would make the denominator zero, which is undefined. Thus, the domain is:
$$ \text{Domain of } g: (-\infty, 3) \cup (3, \infty) $$
Range
The range of a function is the set of all possible output values (or $ y $-values) that the function can produce. The range can often be more difficult to determine than the domain.
Example 3
For the function $ f(x) = x^2 $, the output is always non-negative because squaring any real number yields a value of zero or higher. Thus, the range of this function is:
$$ \text{Range of } f: [0, \infty) $$
The Vertical-Line Test
One method to determine whether a relation is a function is through the use of the vertical-line test. This test states that if a vertical line intersects the graph of the relation at more than one point, then the relation is not a function. In simpler terms, for every $ x $-value, there should be only one $ y $-value.
Example 4
Consider the relation represented by the equation $ y^2 = x $. If we were to graph this, we would see that for some $ x $ values, there are two corresponding $ y $ values (both positive and negative square roots). Therefore, this relation is not a function. However, the equation $ y = x^2 $ only intersects vertical lines once for any $ x $ value, confirming that it is indeed a function.
One-to-One and Many-to-One Functions
Functions can be categorized based on their correspondence between inputs and outputs.
One-to-One Functions
A one-to-one function is where each output is produced by only one input. This means if $ f(a) = f(b) $, then $ a = b $. A common example of a one-to-one function is the linear function $ f(x) = 2x + 1 $. Each $ y $ value corresponds to exactly one $ x $ value.
Example 5
- For $ f(x) = 2x + 1 $: $ f(1) = 3 \quad \text{and} \quad f(2) = 5 $
Since 3 and 5 are different outputs, none of them repeat, confirming that it is one-to-one.
Many-to-One Functions
A many-to-one function is where multiple inputs can map to the same output. For instance, the function $ f(x) = x^2 $ is many-to-one since both $ f(2) $ and $ f(-2) $ yield the same output, which is 4.
Example 6
- $ f(2) = 4 \quad \text{and} \quad f(-2) = 4 $
This confirms that multiple inputs yield the same output, illustrating the many-to-one characteristic.
Conclusion
In this lesson, we have explored the fundamental concepts of functions, including their notation, the determination of domain and range, and the importance of the vertical-line test. We also distinguished between one-to-one and many-to-one functions, laying the groundwork for more advanced topics such as function composition and inverses. Mastering these concepts is essential for studying more complex functions and their graphical representations.
Study Notes
- A function is a mapping from inputs to outputs, where each input corresponds to one output.
- The notation $ f(x) $ denotes a function with $ x $ as the input.
- The domain is the set of possible input values; consider restrictions such as division by zero.
- The range is the set of possible output values produced by the function.
- The vertical-line test helps determine if a relation is a function.
- One-to-one functions have unique outputs for each input, while many-to-one functions can have repeated outputs for multiple inputs.
