Basically, the current plot drawing program I'm using doesn't draw this. The left part ( (((x)^0.5)^2) ) should give an output when x is positive while the right part ( (((-2x)^0.5)^2) ) should give an output when x is negative, allowing me to make a graph with two different functions in it, but that doesn't work. I think it is because when the left or right part gets undefined the whole function collapses and returns nothing. Anyone got any way I could solve this with classical math and no commands?
If your graph plotter allows the use of moduli signs, you could experiment with the expressions
\(\displaystyle (|x|+x)/2 \text{ and } (|x|-x)/2\).
The first of these is equal to x when x is positive and zero when x is negative so it could replace the x in your first term.
The second is equal to zero when x is positive and x when x is negative, so would replace the x in your second term.
(That's a bit confusing, you should check the logic ! )
Tiggsy.