I came across an expression in 3 variables involving the max and min functions:
$$x = y - \max(x,z) + \min(x,y,z).$$ I need to solve this expression for $y$. Is there any way we can do this? Reading somewhat related answers here such as this and this led me to try splitting this into several cases, but I got lost with both max() and min() functions and three variables. Can anyone give me some insight on the problem (or better yet, a more general method for this procedure?)
Thanks.