SOLUTION: The Piecewise function of this f(x) {-x if x <2} {x^2-6x+9 if x>2 }

Algebra ->  Graphs -> SOLUTION: The Piecewise function of this f(x) {-x if x <2} {x^2-6x+9 if x>2 }      Log On


   



Question 1210399: The Piecewise function of this
f(x) {-x if x <2}
{x^2-6x+9 if x>2 }

Answer by ikleyn(52778) About Me  (Show Source):
You can put this solution on YOUR website!
.

On your request, I prepared a plot for this given piece-wise function.

See the link

https://www.desmos.com/calculator/x0xmwwlmtj
https://www.desmos.com/calculator/x0xmwwlmtj


I used online plotting tool DESMOS at this site

www.desmos.com/calculator/

which is free of charge for common use.

To get the plot, you simply print the formulas for the function.

The only trick is to write the condition "if" .
For this purpose, you should use curved brackets.
See how I did it in the referred plot.