Problem 23
Question
Use \(f(x)=3 x-5\) and \(g(x)=2-x^{2}\) to evaluate the expression. $$ \begin{array}{ll}{\text { (a) }(f \circ g)(-2)} & {\text { (b) }(g \circ f)(-2)}\end{array} $$
Step-by-Step Solution
Verified Answer
(a) -11, (b) -119
1Step 1: Understanding Composition of Functions
When we see notation like \((f \circ g)(x)\), it means we need to evaluate the function \(f\) at the output of the function \(g(x)\). In simpler terms, \((f \circ g)(x) = f(g(x))\). Similarly, \((g \circ f)(x) = g(f(x))\).
2Step 2: Calculating \(g(-2)\)
First, we need to evaluate \(g(x)\) at \(x = -2\). The function \(g(x) = 2-x^2\). Thus, \(g(-2) = 2 - (-2)^2 = 2 - 4 = -2\).
3Step 3: Calculating \(f(g(-2)) = f(-2)\)
Now that we have \(g(-2) = -2\), we need to find \(f(-2)\). The function \(f(x) = 3x - 5\). So, \(f(-2) = 3(-2) - 5 = -6 - 5 = -11\).
4Step 4: Compile Result for \((f \circ g)(-2)\)
We found that \((f \circ g)(-2) = f(g(-2)) = -11\).
5Step 5: Calculating \(f(-2)\) Again for \((g \circ f)(-2)\)
Recall \(f(-2)\) calculated as \(-11\) using the previous step.
6Step 6: Calculating \(g(f(-2)) = g(-11)\)
Now, evaluate \(g(-11)\) using \(g(x) = 2 - x^2\). Hence, \(g(-11) = 2 - (-11)^2 = 2 - 121 = -119\).
7Step 7: Compile Result for \((g \circ f)(-2)\)
Thus, \((g \circ f)(-2) = g(f(-2)) = -119\).
Key Concepts
Function EvaluationComposition OrderAlgebra Techniques
Function Evaluation
Evaluating a function involves substituting a specific value into the function's formula and carrying out the arithmetic operations. In the context of the exercise, we have two functions, - **Functions**- **\(f(x) = 3x - 5\)** - **\(g(x) = 2 - x^2\)**. When tasked with evaluating \(g(-2)\), you substitute \(-2\) into the function **\(g(x)\)** and perform the calculations:
- Replace \(x\) with \(-2\)
- Calculate \(2 - (-2)^2 = 2 - 4\)
- Which results in \(-2\)
- Substitute \(x = -2\)
- Calculate \(3(-2) - 5 = -6 - 5\)
- The result is \(-11\)
Composition Order
Composition of functions, indicated as \((f \, \circ \, g)(x)\), means applying one function to the results of another. It's crucial to perform operations in the correct order. **Order of Composition**- **\((f \, \circ \, g)(x) = f(g(x))\)**- **\((g \, \circ \, f)(x) = g(f(x))\)** For example, to solve \((f \, \circ \, g)(-2)\), first evaluate \(g(-2)\) which gives \(-2\). Then, use this result to find \(f(-2)\) which results in \(-11\). Conversely, for \((g \, \circ \, f)(-2)\), evaluate \(f(-2)\) to get \(-11\), and then compute \(g(-11)\) that results in \(-119\). Ordering is key because reversing the order changes the value of the composition. It exemplifies how functions can transform and build upon each other's outputs.
Algebra Techniques
Using algebra effectively is fundamental in evaluating function compositions. This involves understanding the operations and manipulation of expressions. **Techniques Used**
- **Substitution** - replacing variables with specific numbers or expressions
- **Exponents** - handling powers of numbers, like \((-2)^2 = 4\)
- **Simplification** - combining like terms and reducing expressions
Other exercises in this chapter
Problem 22
Sketch the graph of the function by first making a table of values. \(g(x)=\sqrt{-x}\)
View solution Problem 22
Evaluate the function at the indicated values. $$ \begin{array}{l}{h(t)=t+\frac{1}{t}} \\ {h(1), h(-1), h(2), h\left(\frac{1}{2}\right), h(x), h\left(\frac{1}{x
View solution Problem 23
If \(f(x)=5-2 x,\) find \(f^{-1}(3)\)
View solution Problem 23
\(21-44\) . Sketch the graph of the function, not by plotting points, but by starting with the graph of a standard function and applying transformations. $$ f(x
View solution