Given 3-x where x <= 2x2 and x^2x2 where x >2x>2, how do you find f(6)?

1 Answer
Jun 10, 2016

The value is f(6)=36f(6)=36

Explanation:

The function is:

f(x)={(3-x , x<=2),(x^2,x>2):}

The first step of calculating the value of such piecewise function is to find in which interval is the argument located:

Since 6>2, the argument belongs to the second interval, so you have to apply the formula f(x)=x^2.

f(6)=6^2=36