Write an equation to construct a function whose graph is like that of y=x^2, except for pieces removed for values between 3 and 5, and 8 and 9.

I am not sure how to approach this question. Would I make a piece wise function? PLease helpp brains about to explode!

1 answer

Wouldn't you just include the following domain for x,
x ≤ 3 OR 5≤x≤8 OR x ≥ 9 ?

something like

f(x) = x^2, x ≤ 3 OR 5≤x≤8 OR x ≥ 9

You don't say what happens to the function for the restricted values of x, so it would be just a discontinuous function I suppose.