I'm trying to inverse this equation as a function of $x$
$$z = x + \frac{x^2}{2}$$
but couldn't wrap up my head around it. If anyone can provide a step by step solution to this it will be really helpful.
Thanks in advance!
I'm trying to inverse this equation as a function of $x$
$$z = x + \frac{x^2}{2}$$
but couldn't wrap up my head around it. If anyone can provide a step by step solution to this it will be really helpful.
Thanks in advance!
To be strict, the "inverse" of a function can only exist if the function is one-one. Hence, strictly speaking, an inverse of the given function does not exist, because there are multiple values of $x$ which maps to the same value of $z$.
But just for educational purposes : rearrange to get
$$x^2 + 2x - 2z = 0$$
Now, this is just your regular quadratic equation. Recall how to solve for $x$ using the quadratic formula $x = \frac{-b\pm\sqrt{b^2 - 4ac}}{2a}$. Apply this to find $x$ in terms of $z$ (notice how I am not calling this the "inverse"). You could also "complete the square", whichever you are more comfortable with.