Consider the equation $y'(x)=\frac{1}{2y}(x^2+y^2)$. This is a nonlinear equation.

However, if we do a substitution $u=f(y)$ for a suitable $f$, we can transform the equation into a linear equation.

Suppose we require $f(1)=1$, then $f(y)$ is given by: