Step 1: Spot the type of equation:
Write the equation as $\dfrac{dx}{dy}=\dfrac{x}{y}+3y$ by inverting $\dfrac{dy}{dx}$. The term $\dfrac{x}{y}$ suggests the substitution $x=vy$, where v is a function of y.
Step 2: Substitute x = vy:
Differentiate with respect to y using the product rule: $\dfrac{dx}{dy}=v+y\dfrac{dv}{dy}$. Put this in:
\[ v+y\frac{dv}{dy}=v+3y \]
The v on both sides cancels, leaving
\[ y\frac{dv}{dy}=3y \Rightarrow \frac{dv}{dy}=3 \quad (y\neq 0) \]
Step 3: Integrate and go back to x:
Integrate both sides with respect to y:
\[ v=3y+C \]
Now replace v by $\dfrac{x}{y}$:
\[ \frac{x}{y}=3y+C \Rightarrow x=3y^2+Cy \]
Here C is an arbitrary constant.
To confirm, differentiate $x=3y^2+Cy$ with respect to y to get $\dfrac{dx}{dy}=6y+C$. From the original equation, $\dfrac{dx}{dy}=\dfrac{x}{y}+3y=3y+C+3y=6y+C$. Both sides match.
Final Answer:
Using the substitution x = vy gives the same general solution as the linear method.
\[ \boxed{x=3y^{2}+Cy} \]