For a 2D velocity field $\vec{V} = u\hat{i} + v\hat{j}$, the equation of the streamlines is given by $\frac{dx}{u} = \frac{dy}{v}$.
In this case, $u = x + 2$ and $v = -y$.
So, the differential equation for the streamlines is:
$\frac{dx}{x + 2} = \frac{dy}{-y}$
Show more…