Problem

Indicate how you would evalutate $f(1), f(2)$ and $f(6)$ for the piecewise function: \[ f(x)=\left\{\begin{array}{llll} -x-2 & \text { for } & x \leq 2 & \text { (first function) } \\ x-6 & \text { for } & x>2 & \text { (second function) } \end{array}\right. \] Which function would you use to evaluate each of the following? a. $f(1)=$ Select an answer b. $f(2)=$ Select an answer c. $f(6)=$ Select an answer Submit

Solution

Step 1 :The function f(x) is defined as a piecewise function, which means it has different definitions for different ranges of x.

Step 2 :To evaluate f(1), since 1 is less than or equal to 2, we use the first function (-x-2). So, f(1) = -1 - 2 = -3.

Step 3 :To evaluate f(2), since 2 is equal to 2, we also use the first function (-x-2). So, f(2) = -2 - 2 = -4.

Step 4 :To evaluate f(6), since 6 is greater than 2, we use the second function (x-6). So, f(6) = 6 - 6 = 0.

Step 5 :Final Answer: \(f(1)=\boxed{-3}\), \(f(2)=\boxed{-4}\), \(f(6)=\boxed{0}\)

From Solvely APP
Source: https://solvelyapp.com/problems/ceJYdFPGID/

Get free Solvely APP to solve your own problems!

solvely Solvely
Download