|
Question 900999: I am trying to figure out how to make a f(x) function for the following coordinates (I am at a loss on how to do this) and I am not sure how to attach the graph:
Graph 1 is the graph of f(x). Tick Marks are in units of 1. The three solid dots in Graph 1 are (-3,2), (-1,2) and (1,0).
a. Graph 1 is piecewise linear. Find a formula for f(x).
My original answer was f(x)=-1/4x^2-x+5/4 because that is the equation of the parabola but I don't think that is the correct answer to this problem.
Answer by rothauserc(4718) (Show Source):
You can put this solution on YOUR website! piecewise linear means that we have more than one straight line piece to consider, actually we have two given the three points,
y = 2 if -3 < or = x < or = -1
the second piece is a line that we determine from the two points (-1,2) and (1,0)
slope = (0 -2) / (1 - (-1) = -2/2 = -1
let's use (1,0) to determine our y intercept b,
0 = -(1) + b
b = 1 and equation is
y = -x +1 we then write f(x) in two pieces
f(x) = 2 if -3 < or = x < or = -1
f(x) = -x +1 if -1 < x < or = 1
|
|
|
| |