Example 1
Question: Let \( \mathbb{R} \) be the set of real numbers. Define the real function \( f: \mathbb{R} \rightarrow \mathbb{R} \) by \( f(x) = 3x - 7 \). Find the domain and range of \( f \), compute \( f(x) \) for \( x \in \{-2, -1, 0, 1, 2, 3\} \), and describe the graph of this function.
Solution: Step 1 — Identify the function. The function is \( f(x) = 3x - 7 \), a linear function defined for all real numbers. Step 2 — Domain and Range. Since no restrictions exist on \( x \), the domain is \( \mathbb{R} \). Since \( f \) is a non-constant linear function, it takes every real value, so the range is also \( \mathbb{R} \). Step 3 — Compute a table of values. For \( x = -2 \): \[ f(-2) = 3(-2) - 7 = -6 - 7 = -13 \] For \( x = -1 \): \[ f(-1) = 3(-1) - 7 = -3 - 7 = -10 \] For \( x = 0 \): \[ f(0) = 3(0) - 7 = 0 - 7 = -7 \] For \( x = 1 \): \[ f(1) = 3(1) - 7 = 3 - 7 = -4 \] For \( x = 2 \): \[ f(2) = 3(2) - 7 = 6 - 7 = -1 \] For \( x = 3 \): \[ f(3) = 3(3) - 7 = 9 - 7 = 2 \] So the ordered pairs are \( (-2, -13),\, (-1, -10),\, (0, -7),\, (1, -4),\, (2, -1),\, (3, 2) \). Step 4 — Key intercepts. The y-intercept is found by setting \( x = 0 \), giving the point \( (0, -7) \). The x-intercept is found by setting \( f(x) = 0 \): \[ 3x - 7 = 0 \implies x = \frac{7}{3} \approx 2.33 \] So the x-intercept is \( \left(\frac{7}{3},\, 0\right) \). Step 5 — Graph description. The graph is a straight line with slope \( m = 3 \) (steeply rising from left to right) and y-intercept \( -7 \). It passes through all the computed ordered pairs. Plotting the points and joining them gives the complete graph of \( f \).
Answer: Domain = \( \mathbb{R} \), Range = \( \mathbb{R} \). The graph is a straight line with slope \( 3 \) and y-intercept \( -7 \), passing through \( (0, -7) \) and \( \left(\frac{7}{3}, 0\right) \).
Example 2
Question: Let \( \mathbb{R} \) be the set of real numbers. A real function \( f: \mathbb{R} \rightarrow \mathbb{R} \) is defined by \( f(x) = -2x + 5 \). Determine the domain and range of \( f \), prepare a table of values for \( x \in \{-2, -1, 0, 1, 2, 3\} \), and describe the graph.
Solution: Step 1 — Identify the function. The function is \( f(x) = -2x + 5 \), a linear function defined for every real number \( x \). Step 2 — Domain and Range. The domain is \( \mathbb{R} \) (all real numbers), since \( x \) can take any real value. Because the function is linear and non-constant, it covers every real output, so the range is also \( \mathbb{R} \). Step 3 — Table of values. For \( x = -2 \): \[ f(-2) = -2(-2) + 5 = 4 + 5 = 9 \] For \( x = -1 \): \[ f(-1) = -2(-1) + 5 = 2 + 5 = 7 \] For \( x = 0 \): \[ f(0) = -2(0) + 5 = 0 + 5 = 5 \] For \( x = 1 \): \[ f(1) = -2(1) + 5 = -2 + 5 = 3 \] For \( x = 2 \): \[ f(2) = -2(2) + 5 = -4 + 5 = 1 \] For \( x = 3 \): \[ f(3) = -2(3) + 5 = -6 + 5 = -1 \] The ordered pairs are \( (-2, 9),\, (-1, 7),\, (0, 5),\, (1, 3),\, (2, 1),\, (3, -1) \). Step 4 — Key intercepts. The y-intercept: set \( x = 0 \), giving \( (0, 5) \). The x-intercept: set \( f(x) = 0 \): \[ -2x + 5 = 0 \implies x = \frac{5}{2} = 2.5 \] So the x-intercept is \( \left(\frac{5}{2},\, 0\right) \). Step 5 — Graph description. The graph is a straight line with slope \( m = -2 \) (falling from left to right) and y-intercept \( 5 \). The line passes through \( (0, 5) \) and \( \left(\frac{5}{2}, 0\right) \). As \( x \) increases, the function values decrease, reflecting the negative slope. Plotting the tabulated points and connecting them gives the full graph of \( f \).
Answer: Domain = \( \mathbb{R} \), Range = \( \mathbb{R} \). The graph is a straight line with slope \( -2 \) and y-intercept \( 5 \), passing through \( (0, 5) \) and \( \left(\frac{5}{2}, 0\right) \).