Uh oh! Wolfram|Alpha doesn't run without JavaScript.
Please enable JavaScript. If you don't know how, you can find instructions
here
.
Once you've done that, refresh this page to start using Wolfram|Alpha.
piecewise[{{x^2+2*x,x<=1},{2*x-1,x>1}}]
piecewise[{{x^2+2*x,x<=1},{2*x-1,x>1}}]
Natural Language
Math Input
Extended Keyboard