Re: Graphing piecewise functions?


[Prev][Next][Index][Thread]

Re: Graphing piecewise functions?



y1=x^2/(x<0)
y2=sqrt(x)/(x>=0)
http://rhf.bradley.edu/~rkremer/tifaq.htm#11.2

>How do I graph
>         x^2 for x<0
>f(x)={
>         sqrt(x) for x>=0
>I know you would say y1=(x<0)x^2+(x>=0)sqrt(x) but that does not work
>because sqrt(x) is undefined for negative x values.
>I tried graphing y1=(x<0)x^2 and y2=(x>=0)sqrt(x) but it is not very handy
>and it results in some grim line.