Q. Find the value of f(−1)+f(2)−f(4), wheref(x)=⎩⎨⎧2x−4x−2 for x≥4 for 0≤x<4 for x<0
Evaluate f(−1): Evaluate f(−1) using the definition of the function for x < 0.Since x=−1 is less than 0, we use the third piece of the function f(x)=−2.f(−1)=−2
Evaluate f(2): Evaluate f(2) using the definition of the function for 0 \leq x < 4.Since x=2 is between 0 and 4, we use the second piece of the function f(x)=x.f(2)=2
Evaluate f(4): Evaluate f(4) using the definition of the function for x≥4. Since x=4 is greater than or equal to 4, we use the first piece of the function f(x)=2x−4. f(4)=2⋅4−4=8−4=4=2
Combine results: Combine the results from steps 1, 2, and 3 to find the value of f(−1)+f(2)−f(4).f(−1)+f(2)−f(4)=(−2)+(2)−(2)=−2
More problems from Find derivatives of logarithmic functions