This is a homework question.
Suppose a consumer has preferences over two goods that can be represented by the utility function $U(x,y) = 2\sqrt{x} + y$
The marginal rate of substitution of $x$ for $y$ in this case is $\frac{1}{ 2\sqrt{x}}$, which is the negative of the slope of the indifference curve. It's well defined only for $x > 0$
The question asks to plot the indifference curve with $x$ on the horizontal axis and y on the vertical axis, and indicate if the graph of indifference curve will intersect either or both axes.
I was thinking that since slope of the indifference curve tends to infinity as $x$ approaches $0$, therefore the indifference curve should not intersect the y-axis. However, the solution provided by the lecturer says "since it's possible to have positive utility when either $x$ or $y$ is zero, the indifference curve intersects both axes", and I kinda agree this statement as well...
So what should be the answer?