Q44.

Question

Write the function shown in the graph.


Step-by-Step Solution

Verified
Answer

The required function is f(x)={2    if  x<12x    if  1x1x   ifx>1.

1Step-1 &ndash; Piecewise function.

A function that is written using two or more expression is called a piecewise function.

2Step-2 &ndash; Determine the function.

The given function is piecewise function as it consists different rays, segments and curves.

3Step-3 &ndash; Determine the equation.

Consider the graph.

For x<-1  the function is the constant function f(x)=2.

For -1x1  the function is a line with the slope of 2 and y-intercept 0, so f(x)=2x.

For x>1  the function is a line with the slope of -1  and passes through the point (2,-2)

Now use the point slope form to determine the equation of line.

 (yy1)=m(xx1)(y(-2))=1(x-2)y=x+22y=x.

 

Thus, f(x)=-x for x>1

 

Hence, the function is f(x)={2    if  x<12x    if  1x1x   ifx>1.