37.9k views
5 votes
Write a piecewise function for the graph.

Write a piecewise function for the graph.-example-1
User Mnille
by
5.1k points

1 Answer

1 vote

9514 1404 393

Answer:

f(x) = {2x+2, if x ≤ -2; 1/2x -1, if x > -2}

Explanation:

The line to the left of the breakpoint (x=-1) has a rise of 2 for each run of 1, so its slope is rise/run = 2/1 = 2. We can use the point-slope formula to write its equation, considering it goes through the point (-2, -2).

y -(-2) = 2(x -(-2))

y = 2x +4 -2 . . . . . eliminate parentheses, subtract 2

y = 2x +2 . . . . . . . equation for x ≤ -2

__

The line to the right of the breakpoint has a rise of 1 for each run of 2. Its slope is rise/run = 1/2. For this portion of the graph, we can read the y-intercept from the graph: -1. The equation for the function for x > -2 is ...

y = 1/2x -1 . . . . . . . equation for x > -2

__

We note that both of these lines could include the point (-2, -2), but that is specifically excluded from the right-side equation by its condition x > -2. So, we must include that point in the left-side equation by making the condition include the case x=-2.


f(x)=\left\{\begin{array}{ll}2x+2&\text{, if $x\le-2$}\\(1)/(2)x-1&\text{, if $x>-2$}\end{array}\right.

Write a piecewise function for the graph.-example-1
User Muposat
by
4.5k points