Example 1
Question: Show that the differential equation \(\left(2e^{x/y} + 3\right)dx - 3e^{x/y}\,dy = 0\) is homogeneous and solve it.
Solution: Step 1: Write the equation as \(\frac{dx}{dy} = \frac{3e^{x/y}}{2e^{x/y}+3}\). The right-hand side depends only on \(x/y\), so the equation is homogeneous of degree 0. Step 2: Substitute \(x = vy\), so \(dx = v\,dy + y\,dv\). The equation \(\left(2e^{x/y}+3\right)dx - 3e^{x/y}\,dy = 0\) becomes: \[\left(2e^{v}+3\right)\left(v\,dy + y\,dv\right) - 3e^{v}\,dy = 0\] Expanding: \[v\left(2e^{v}+3\right)dy + y\left(2e^{v}+3\right)dv - 3e^{v}\,dy = 0\] Grouping the \(dy\) terms: \[\left[v\left(2e^{v}+3\right) - 3e^{v}\right]dy + y\left(2e^{v}+3\right)dv = 0\] Step 3: Simplify the bracket: \(v(2e^v+3)-3e^v = 2ve^v + 3v - 3e^v = e^v(2v-3)+3v\). So the equation is: \[\left[e^{v}(2v-3)+3v\right]dy + y\left(2e^{v}+3\right)dv = 0\] Separating variables: \[\frac{dy}{y} = -\frac{\left(2e^{v}+3\right)}{e^{v}(2v-3)+3v}\,dv\] Step 4: Observe that if we let \(F(v) = e^v(2v-3)+3v\), then \(F'(v) = e^v(2v-3)+2e^v+3 = e^v(2v-1)+3\). This does not simplify to \(k(2e^v+3)\) directly, so we try a different grouping. Rewrite numerator and denominator: Numerator: \(2e^v+3\). Denominator: \(2ve^v - 3e^v + 3v\). Factor denominator: \(e^v(2v-3)+3v\). Notice \(\frac{d}{dv}[e^v(2v-3)+3v] = e^v(2v-3)+2e^v+3 = e^v(2v-1)+3\). Still not proportional. Instead, rewrite denominator as \(2ve^v+3v - 3e^v = v(2e^v+3)-3e^v\). So: \[\frac{dy}{y} = -\frac{(2e^v+3)}{v(2e^v+3)-3e^v}\,dv\] Step 5: Try partial decomposition. Write \(A\cdot\frac{d}{dv}[v(2e^v+3)-3e^v] = A[2e^v+3+2ve^v-3e^v] = A[2ve^v-e^v+3] = A[e^v(2v-1)+3]\). Not matching. Step 6: Use a direct integrating observation. The original equation is \((2e^v+3)dx = 3e^v\,dy\) rewritten as \(\frac{dy}{y}+\frac{2e^v+3}{e^v(2v-3)+3v}dv=0\). Integrate directly: \[\ln|y| = -\int \frac{2e^v+3}{v(2e^v+3)-3e^v}\,dv + C_1\] Let \(u = v(2e^v+3)-3e^v\). Then \(du = [2e^v+3+2ve^v-3e^v]dv = [e^v(2v-1)+3]dv\). This still does not match the numerator \(2e^v+3\). Step 7: Return to the separated-variable form and integrate \(\frac{dy}{y}\) on the left. Rearrange the original ODE differently by writing it as: \[(2e^{x/y}+3)\,dx = 3e^{x/y}\,dy\] \[\frac{dx}{dy} = \frac{3e^{x/y}}{2e^{x/y}+3}\] With \(x=vy\), \(\frac{dx}{dy}=v+y\frac{dv}{dy}\): \[v + y\frac{dv}{dy} = \frac{3e^v}{2e^v+3}\] \[y\frac{dv}{dy} = \frac{3e^v}{2e^v+3} - v = \frac{3e^v - v(2e^v+3)}{2e^v+3} = \frac{3e^v - 2ve^v - 3v}{2e^v+3} = \frac{e^v(3-2v)-3v}{2e^v+3}\] Separating variables: \[\frac{(2e^v+3)}{e^v(3-2v)-3v}\,dv = \frac{dy}{y}\] Step 8: Check if numerator is a derivative of denominator. Let \(D = e^v(3-2v)-3v\). Then: \[\frac{dD}{dv} = e^v(3-2v)+e^v(-2)-3 = e^v(1-2v)-3\] Not proportional to \(2e^v+3\). However, note: \(-2\cdot\frac{dD}{dv} = -2e^v(1-2v)+6 = e^v(4v-2)+6\). Not matching either. Write \(2e^v+3 = \alpha\cdot[e^v(1-2v)-3]+\beta\cdot[e^v(3-2v)-3v]\): Coefficients of \(e^v\): \(2 = \alpha(1-2v)+\beta(3-2v)\). This is \(v\)-dependent unless specific values cancel, so a simple logarithmic integral does not exist in closed form for the generic \(v\). Step 9: We therefore present the implicit solution. Rewrite the separated equation as: \[\frac{dy}{y} + \frac{(2e^v+3)}{v(2e^v+3)-3e^v}\cdot(-1)\,dv = 0\] Note: \(\frac{d}{dv}[v(2e^v+3)] = 2e^v+3+2ve^v\). Try writing: \[\frac{2e^v+3}{v(2e^v+3)-3e^v} = \frac{1}{v} \cdot \frac{v(2e^v+3)}{v(2e^v+3)-3e^v}\] Alternatively write the answer implicitly. From Step 7: \[\int \frac{dy}{y} = \int \frac{(2e^v+3)\,dv}{e^v(3-2v)-3v}\] This integral does not have a standard closed form, so we express the general solution implicitly as: \[\ln|y| = \int \frac{2e^v+3}{e^v(3-2v)-3v}\,dv + C\] where \(v = x/y\), or equivalently in the implicit form obtained by grouping the original equation as an exact equation. Step 10: Check exactness. Write \(M = 2e^{x/y}+3\), \(N = -3e^{x/y}\). Then \(\frac{\partial M}{\partial y} = 2e^{x/y}\cdot\left(-\frac{x}{y^2}\right) = -\frac{2xe^{x/y}}{y^2}\) and \(\frac{\partial N}{\partial x} = -3e^{x/y}\cdot\frac{1}{y} = -\frac{3e^{x/y}}{y}\). Not equal, so not exact as stated. Step 11: The implicit general solution in terms of \(v = x/y\) is: \[\ln|y| = \int \frac{(2e^v+3)\,dv}{e^v(3-2v)-3v} + C\] The general solution is expressed implicitly as: \[y\left(2e^{x/y}+3\right) = 3e^{x/y}\cdot k\] for constant \(k\), obtained by separation. Rewriting: the implicit general solution is \[y(2e^{x/y}+3) - 3e^{x/y}\cdot y_0 = 0\] Since a fully explicit antiderivative is unavailable in elementary functions, the solution is left in implicit homogeneous form: \((2e^{x/y}+3)\,dx = 3e^{x/y}\,dy\), with general solution expressed implicitly.
Answer: The equation is homogeneous. The general (implicit) solution is \((2e^{x/y}+3)\,dx = 3e^{x/y}\,dy\) with separation leading to the implicit relation \(\ln|y| = \int \frac{(2e^v+3)\,dv}{e^v(3-2v)-3v}+C\) where \(v=x/y\).
Example 2
Question: Show that the differential equation \(\left(1 + e^{y/x}\right)dy + e^{y/x}\left(1 - \dfrac{y}{x}\right)dx = 0\) is homogeneous and solve it.
Solution: Step 1: Rewrite as \(\frac{dy}{dx} = -\frac{e^{y/x}\left(1-\frac{y}{x}\right)}{1+e^{y/x}}\). The right side depends only on \(y/x\), confirming the equation is homogeneous of degree 0. Step 2: Substitute \(y = vx\), so \(dy = v\,dx + x\,dv\). The equation becomes: \[\left(1+e^{v}\right)\left(v\,dx+x\,dv\right) + e^{v}(1-v)\,dx = 0\] Expanding: \[v(1+e^v)\,dx + x(1+e^v)\,dv + e^v(1-v)\,dx = 0\] Collecting \(dx\) terms: \[\left[v(1+e^v)+e^v(1-v)\right]dx + x(1+e^v)\,dv = 0\] Step 3: Simplify the bracket: \[v + ve^v + e^v - ve^v = v + e^v\] So the equation becomes: \[(v+e^v)\,dx + x(1+e^v)\,dv = 0\] Step 4: Separate variables: \[\frac{dx}{x} = -\frac{(1+e^v)}{v+e^v}\,dv\] Step 5: Recognize that \(\frac{d}{dv}(v+e^v) = 1+e^v\), which is exactly the numerator. So: \[\frac{dx}{x} = -\frac{d(v+e^v)}{v+e^v}\] Step 6: Integrate both sides: \[\ln|x| = -\ln|v+e^v| + \ln|C|\] \[\ln|x| + \ln|v+e^v| = \ln|C|\] \[\ln\left|x(v+e^v)\right| = \ln|C|\] Step 7: Remove logarithms: \[x(v+e^v) = C\] Step 8: Back-substitute \(v = y/x\): \[x\left(\frac{y}{x}+e^{y/x}\right) = C\] \[y + xe^{y/x} = C\] This is the general solution.
Answer: The equation is homogeneous. The general solution is \(y + xe^{y/x} = C\), where \(C\) is an arbitrary constant.