SOLVER7 Study. Nothing Else.
Chapter 9 Examples Q12

Show that the differential equation \(2y\ e^{\small\dfrac{x}{y}}\ dx+\left(y-2x\ e^{\small\dfrac{x}{y}}\right)dy=0\) is homogeneous and find its particular solution, given that, \(x = 0\) when \(y = 1.\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine a recipe where every ingredient always appears in the same ratio — double everything, and the dish still tastes identical. This differential equation behaves the same way: scale all the variables and nothing changes. That special property is called being homogeneous. We swap in a clever helper variable so the messy equation becomes easy to separate and solve. Using the starting condition given in the problem, we pin down the exact answer.

Answer: The equation is homogeneous, and its particular solution is \[ 2e^{x/y} + \ln|y| = 2. \]

📖 Homogeneous Differential Equation with Exponential Terms

Detailed Explanation

A first-order differential equation of the form \( \frac{dx}{dy} = F(x, y) \) is called homogeneous if \( F(x, y) \) can be written as a function of the ratio \( \frac{x}{y} \) only. Equivalently, if we replace \( x \) by \( \lambda x \) and \( y \) by \( \lambda y \), the function \( F \) stays unchanged (degree zero). Here, because the equation involves \( e^{x/y} \), it is easier to treat \( x \) as a function of \( y \) and use the substitution \( x = vy \). This substitution converts the homogeneous equation into a variables-separable equation, which we can integrate directly.

Formula Used

For a homogeneous equation \( \frac{dx}{dy} = F\left(\frac{x}{y}\right) \), substitute \( x = vy \) so that \( \frac{dx}{dy} = v + y\frac{dv}{dy} \).

Solution

  1. Step 1: Rewrite the equation in the form \( \frac{dx}{dy} \). Starting from \[ 2y\, e^{x/y}\, dx + \left(y - 2x\, e^{x/y}\right) dy = 0, \] we get \[ \frac{dx}{dy} = \frac{-\left(y - 2x\, e^{x/y}\right)}{2y\, e^{x/y}} = \frac{2x\, e^{x/y} - y}{2y\, e^{x/y}}. \]
  2. Step 2: Check that it is homogeneous. Replace \( x \) by \( \lambda x \) and \( y \) by \( \lambda y \). Since \( \frac{\lambda x}{\lambda y} = \frac{x}{y} \), the exponential \( e^{x/y} \) is unchanged, and \[ F(\lambda x, \lambda y) = \frac{2\lambda x\, e^{x/y} - \lambda y}{2\lambda y\, e^{x/y}} = \frac{2x\, e^{x/y} - y}{2y\, e^{x/y}} = F(x, y). \] So \( F \) is a function of \( \frac{x}{y} \) alone, and the equation is homogeneous of degree zero.
  3. Step 3: Use the substitution \( x = vy \), which gives \( \frac{x}{y} = v \) and \[ \frac{dx}{dy} = v + y\frac{dv}{dy}. \] Substituting into the equation: \[ v + y\frac{dv}{dy} = \frac{2(vy)e^{v} - y}{2y\, e^{v}} = \frac{2v\, e^{v} - 1}{2e^{v}}. \]
  4. Step 4: Simplify to separate variables. The right side is \[ v - \frac{1}{2e^{v}}. \] Therefore \[ v + y\frac{dv}{dy} = v - \frac{1}{2e^{v}}, \] which gives \[ y\frac{dv}{dy} = -\frac{1}{2e^{v}}. \]
  5. Step 5: Rearrange so each side contains only one variable: \[ 2e^{v}\, dv = -\frac{dy}{y}. \] The variables are now separated and ready for integration.
  6. Step 6: Integrate both sides: \[ \int 2e^{v}\, dv = -\int \frac{dy}{y}. \] This gives \[ 2e^{v} = -\ln|y| + C. \] Replacing \( v = \frac{x}{y} \), the general solution is \[ 2e^{x/y} + \ln|y| = C. \]
  7. Step 7: Apply the initial condition \( x = 0 \) when \( y = 1 \). Substituting: \[ 2e^{0} + \ln 1 = C \Rightarrow 2(1) + 0 = C \Rightarrow C = 2. \]
  8. Step 8: Write the particular solution using \( C = 2 \): \[ 2e^{x/y} + \ln|y| = 2. \]

Final Answer

The equation is homogeneous, and its particular solution is \[ 2e^{x/y} + \ln|y| = 2. \]

Common Mistake

A common mistake is to substitute \( y = vx \) instead of \( x = vy \). Because the exponent is \( \frac{x}{y} \), using \( x = vy \) (treating \( x \) as a function of \( y \)) keeps the exponential as \( e^{v} \) and makes the variables separable; using the wrong substitution leads to messy, unsolvable expressions.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rearrange into the form \( \frac{dx}{dy} \): Starting from \[ 2y\,e^{x/y}\,dx + \left(y - 2x\,e^{x/y}\right)dy = 0, \] isolate \( dx \) on one side to get \[ \frac{dx}{dy} = \frac{-(y - 2x\,e^{x/y})}{2y\,e^{x/y}} = \frac{2x\,e^{x/y} - y}{2y\,e^{x/y}}. \] Reason: Because the exponential \( e^{x/y} \) depends on the ratio \( x/y \), treating \( x \) as a function of \( y \) makes the substitution \( x = vy \) most natural.
  2. Step 2: Verify the equation is homogeneous: Replace \( x \) by \( \lambda x \) and \( y \) by \( \lambda y \) in \( F(x,y) = \frac{2x\,e^{x/y} - y}{2y\,e^{x/y}} \). Since \( \frac{\lambda x}{\lambda y} = \frac{x}{y} \), the exponential is unchanged, and \[ F(\lambda x,\, \lambda y) = \frac{2\lambda x\,e^{x/y} - \lambda y}{2\lambda y\,e^{x/y}} = \frac{2x\,e^{x/y} - y}{2y\,e^{x/y}} = F(x,y). \] Reason: Showing \( F(\lambda x, \lambda y) = F(x,y) \) confirms the equation is homogeneous of degree zero, so the substitution \( x = vy \) will work.
  3. Step 3: Apply the substitution \( x = vy \): Let \( x = vy \), so \( \frac{dx}{dy} = v + y\frac{dv}{dy} \) and \( \frac{x}{y} = v \). Substituting into \( \frac{dx}{dy} = \frac{2x\,e^{x/y} - y}{2y\,e^{x/y}} \) gives \[ v + y\frac{dv}{dy} = \frac{2vy\,e^{v} - y}{2y\,e^{v}} = \frac{2v\,e^{v} - 1}{2e^{v}}. \] Reason: This substitution replaces the two-variable expression with one in \( v \) and \( y \), making it possible to separate variables.
  4. Step 4: Simplify and separate the variables: Subtract \( v \) from both sides: \[ y\frac{dv}{dy} = \frac{2v\,e^{v} - 1}{2e^{v}} - v = \frac{2v\,e^{v} - 1 - 2v\,e^{v}}{2e^{v}} = \frac{-1}{2e^{v}}. \] Rearranging to separate variables: \[ 2e^{v}\,dv = \frac{-1}{y}\,dy. \] Reason: Getting all terms involving \( v \) on one side and \( y \) on the other lets us integrate both sides independently.
  5. Step 5: Integrate both sides: Integrate the separated equation: \[ \int 2e^{v}\,dv = \int \frac{-1}{y}\,dy. \] Evaluating each integral: \[ 2e^{v} = -\ln|y| + C. \] Reason: Both integrals are standard forms — \( \int e^v\,dv = e^v \) and \( \int \frac{1}{y}\,dy = \ln|y| \) — so this step gives the general solution in terms of \( v \) and \( y \).
  6. Step 6: Back-substitute \( v = x/y \) to get the general solution: Replace \( v \) with \( \frac{x}{y} \): \[ 2e^{x/y} + \ln|y| = C. \] Reason: Returning to the original variables \( x \) and \( y \) gives the general solution of the differential equation.
  7. Step 7: Apply the initial condition to find the particular solution: The problem requires the particular solution passing through the point \( (0, 1) \), i.e., \( x = 0 \) and \( y = 1 \). Substituting: \[ 2e^{0/1} + \ln|1| = C \] which gives \( 2(1) + 0 = C \), so \( C = 2 \). Reason: Plugging in the initial values determines the unique constant \( C \) that picks out the particular solution satisfying the given condition.

Final Answer

The equation is homogeneous, and its particular solution is \[ 2e^{x/y} + \ln|y| = 2. \]

Common Mistake

One common mistake: forgetting to subtract \( v \) from both sides after substituting \( x = vy \), which leaves extra \( v \)-terms and makes the equation impossible to separate cleanly.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Express as dx/dy and confirm homogeneity: From \[ 2y\,e^{x/y}\,dx + \left(y - 2x\,e^{x/y}\right)dy = 0, \] we get \[ \frac{dx}{dy} = \frac{2x\,e^{x/y} - y}{2y\,e^{x/y}}. \] Since replacing \( x \to \lambda x,\, y \to \lambda y \) leaves the right side unchanged, the equation is homogeneous.
  2. Step 2: Substitute x = vy: Set \( x = vy \), so \( \frac{dx}{dy} = v + y\frac{dv}{dy} \). The equation becomes \[ v + y\frac{dv}{dy} = \frac{2ve^{v} - 1}{2e^{v}}, \] which simplifies to \[ y\frac{dv}{dy} = \frac{-1}{2e^{v}}. \]
  3. Step 3: Separate variables and integrate: Separating: \[ 2e^{v}\,dv = \frac{-dy}{y}. \] Integrating both sides: \[ 2e^{v} = -\ln|y| + C. \] Substituting back \( v = \frac{x}{y} \): \[ 2e^{x/y} + \ln|y| = C. \] Using the initial condition \( y(0) = 1 \): \( 2e^{0} + \ln 1 = C \Rightarrow C = 2 \).

Answer: The equation is homogeneous, and its particular solution is \[ 2e^{x/y} + \ln|y| = 2. \]

➕ More Examples

More Examples

Example 1

Question: Show that the differential equation \( 3y\,e^{x/y}\,dx + \left(y - 3x\,e^{x/y}\right)dy = 0 \) is homogeneous, and find its particular solution given that \( x = 0 \) when \( y = 2 \).

Solution: Step 1 — Check Homogeneity. Write the equation as \( M\,dx + N\,dy = 0 \) where \( M = 3y\,e^{x/y} \) and \( N = y - 3x\,e^{x/y} \). Replace \( x \) by \( \lambda x \) and \( y \) by \( \lambda y \): \[ M(\lambda x,\,\lambda y) = 3(\lambda y)\,e^{(\lambda x)/(\lambda y)} = \lambda\,\cdot 3y\,e^{x/y} = \lambda^{1}\,M(x,y) \] \[ N(\lambda x,\,\lambda y) = \lambda y - 3(\lambda x)\,e^{(\lambda x)/(\lambda y)} = \lambda\left(y - 3x\,e^{x/y}\right) = \lambda^{1}\,N(x,y) \] Since both \( M \) and \( N \) are homogeneous functions of degree 1, the equation is homogeneous. Step 2 — Substitution. Let \( x = vy \), so \( dx = v\,dy + y\,dv \). Substitute into \( 3y\,e^{x/y}\,dx + \left(y - 3x\,e^{x/y}\right)dy = 0 \): \[ 3y\,e^{v}\left(v\,dy + y\,dv\right) + \left(y - 3vy\,e^{v}\right)dy = 0 \] Expand: \[ 3vy\,e^{v}\,dy + 3y^{2}e^{v}\,dv + y\,dy - 3vy\,e^{v}\,dy = 0 \] The terms \( 3vy\,e^{v}\,dy \) cancel: \[ 3y^{2}e^{v}\,dv + y\,dy = 0 \] Step 3 — Separate Variables. Divide throughout by \( y \) (assuming \( y \ne 0 \)): \[ 3y\,e^{v}\,dv + dy = 0 \] Divide by \( e^{v} \cdot y \)... actually, rewrite as: \[ \frac{dy}{y} = -3e^{v}\,dv \] Step 4 — Integrate Both Sides. \[ \int \frac{dy}{y} = -3\int e^{v}\,dv \] \[ \ln|y| = -3e^{v} + C \] Replace \( v = \dfrac{x}{y} \): \[ \ln|y| = -3e^{x/y} + C \] This is the general solution. Step 5 — Apply Initial Condition \( x = 0,\; y = 2 \). \[ \ln 2 = -3e^{0/2} + C = -3(1) + C \] \[ C = \ln 2 + 3 \] Step 6 — Particular Solution. Substitute \( C \) back: \[ \ln|y| = -3e^{x/y} + \ln 2 + 3 \] Rearrange: \[ \ln|y| - \ln 2 = 3 - 3e^{x/y} \] \[ \ln\left(\frac{y}{2}\right) = 3\left(1 - e^{x/y}\right) \]

Answer: The particular solution is \( \ln\!\left(\dfrac{y}{2}\right) = 3\left(1 - e^{x/y}\right) \).

Example 2

Question: Show that the differential equation \( ye^{x/y}\,dx + \left(2y - xe^{x/y}\right)dy = 0 \) is homogeneous, and find its particular solution given that \( x = 0 \) when \( y = 1 \).

Solution: Step 1 — Check Homogeneity. Here \( M = ye^{x/y} \) and \( N = 2y - xe^{x/y} \). Replace \( x \to \lambda x \), \( y \to \lambda y \): \[ M(\lambda x,\,\lambda y) = (\lambda y)\,e^{\lambda x/(\lambda y)} = \lambda\,y\,e^{x/y} = \lambda^{1}M(x,y) \] \[ N(\lambda x,\,\lambda y) = 2\lambda y - (\lambda x)\,e^{\lambda x/(\lambda y)} = \lambda\left(2y - xe^{x/y}\right) = \lambda^{1}N(x,y) \] Both \( M \) and \( N \) are homogeneous of degree 1, so the equation is homogeneous. Step 2 — Substitution. Let \( x = vy \), so \( dx = v\,dy + y\,dv \). Note \( e^{x/y} = e^{v} \). Substituting: \[ ye^{v}\left(v\,dy + y\,dv\right) + \left(2y - vye^{v}\right)dy = 0 \] Expand: \[ vye^{v}\,dy + y^{2}e^{v}\,dv + 2y\,dy - vye^{v}\,dy = 0 \] The \( vye^{v}\,dy \) terms cancel: \[ y^{2}e^{v}\,dv + 2y\,dy = 0 \] Step 3 — Separate Variables. Divide through by \( y^{2}e^{v} \) (assuming \( y \ne 0 \), \( e^{v} \ne 0 \)): \[ dv + \frac{2}{ye^{v}}\cdot\frac{y^{2}}{y^{2}}\,dy = 0 \] More directly, divide \( y^{2}e^{v}\,dv + 2y\,dy = 0 \) by \( y \): \[ ye^{v}\,dv + 2\,dy = 0 \] Then divide by \( e^{v}\cdot y \)... rewrite as: \[ \frac{2\,dy}{y} = -e^{v}\,dv \] Wait — divide \( y^{2}e^{v}\,dv + 2y\,dy = 0 \) by \( y \): \[ ye^{v}\,dv + 2\,dy = 0 \] Now divide by \( ye^{v} \): \[ dv + \frac{2}{ye^{v}}\,dy = 0 \] This mixes variables; instead separate directly from \( ye^{v}\,dv = -2\,dy \): \[ \frac{dy}{y} = -\frac{e^{v}}{2}\,dv \] Step 4 — Integrate. \[ \int \frac{dy}{y} = -\frac{1}{2}\int e^{v}\,dv \] \[ \ln|y| = -\frac{1}{2}e^{v} + C \] Replace \( v = \dfrac{x}{y} \): \[ \ln|y| = -\frac{1}{2}e^{x/y} + C \] This is the general solution. Step 5 — Apply Initial Condition \( x = 0,\; y = 1 \). \[ \ln 1 = -\frac{1}{2}e^{0} + C \] \[ 0 = -\frac{1}{2} + C \] \[ C = \frac{1}{2} \] Step 6 — Particular Solution. \[ \ln|y| = -\frac{1}{2}e^{x/y} + \frac{1}{2} \] Multiply throughout by 2: \[ 2\ln|y| = 1 - e^{x/y} \] \[ \ln y^{2} = 1 - e^{x/y} \]

Answer: The particular solution is \( \ln y^{2} = 1 - e^{x/y} \).

🎯 Try a Similar Question

Try a Similar Question

Question: Show that the differential equation \( 3y\,e^{x/y}\,dx + \left(y - 3x\,e^{x/y}\right)dy = 0 \) is homogeneous and find its particular solution, given that \( x = 0 \) when \( y = 1 \).

Solution

  1. Step 1: Write the equation in standard form and check homogeneity: The given equation is \( M\,dx + N\,dy = 0 \) where \( M = 3y\,e^{x/y} \) and \( N = y - 3x\,e^{x/y} \). Replace \( x \) with \( \lambda x \) and \( y \) with \( \lambda y \): \[ M(\lambda x,\, \lambda y) = 3(\lambda y)\,e^{(\lambda x)/(\lambda y)} = \lambda\,\cdot 3y\,e^{x/y} = \lambda^1 M(x,y). \] Similarly, \[ N(\lambda x,\, \lambda y) = \lambda y - 3(\lambda x)\,e^{x/y} = \lambda\left(y - 3x\,e^{x/y}\right) = \lambda^1 N(x,y). \] Both \( M \) and \( N \) are homogeneous functions of degree 1, so the equation is homogeneous.
  2. Step 2: Substitute \( x = vy \): Since the equation is homogeneous, put \( x = vy \), so \( v = x/y \). Differentiating: \( dx = v\,dy + y\,dv \). Substituting into the equation: \[ 3y\,e^{v}\left(v\,dy + y\,dv\right) + \left(y - 3vy\,e^{v}\right)dy = 0. \]
  3. Step 3: Expand and simplify: Expanding the left side: \[ 3vy\,e^{v}\,dy + 3y^2 e^{v}\,dv + y\,dy - 3vy\,e^{v}\,dy = 0. \] The terms \( 3vy\,e^v\,dy \) and \( -3vy\,e^v\,dy \) cancel, leaving: \[ 3y^2 e^{v}\,dv + y\,dy = 0. \]
  4. Step 4: Separate variables: Divide the entire equation by \( y \) (assuming \( y \ne 0 \)): \[ 3y\,e^{v}\,dv + dy = 0. \] Rearranging: \[ 3e^{v}\,dv = -\frac{dy}{y}. \]
  5. Step 5: Integrate both sides: Integrating the left side with respect to \( v \) and the right side with respect to \( y \): \[ \int 3e^{v}\,dv = -\int \frac{dy}{y}. \] This gives: \[ 3e^{v} = -\ln|y| + C. \] Back-substituting \( v = x/y \): \[ 3e^{x/y} + \ln|y| = C. \]
  6. Step 6: Apply the initial condition to find the particular solution: Given \( x = 0 \) when \( y = 1 \): \[ 3e^{0/1} + \ln|1| = C \] so \[ 3(1) + 0 = C \] giving \( C = 3 \). The particular solution is: \[ 3e^{x/y} + \ln|y| = 3. \]

Answer: The equation is homogeneous, and its particular solution is \[ 3e^{x/y} + \ln|y| = 3. \]

Everything you get with Solver7

More questions in Differential Equations

Chapter 9 Examples Q1(i) 65/2/1 2022 / Section A Q1 Chapter 9 Examples Q1(ii) 65/2/2 2023 / Section A Q2 Chapter 9 Examples Q1(iii) 65/2/2 2023 / Section A Q3 Chapter 9 Examples Q2 Chapter 9 Examples Q3 Chapter 9 Examples Q4 Chapter 9 Examples Q5 65/1/1 2023 / Section A Q7 65/2/1 2024 / Section A Q7 65/3/1 2024 / Section A Q7 65/4/1 2022 / Section A Q5 Chapter 9 Examples Q6 65/1/1 2024 / Section A Q8 65/3/1 2023 / Section A Q8 Chapter 9 Examples Q7 65/3/1 2023 / Section A Q9 65/4/2 2024 / Section A Q9 Chapter 9 Examples Q8 65(B) 2026 / Section A Q10 65/4/1 2023 / Section A Q10 Chapter 9 Examples Q9 65(B) 2026 / Section A Q11 65/1/1 2026 / Section A Q11 65/2/1 2022 / Section B Q9 65/4/1 2023 / Section A Q11 Chapter 9 Examples Q10 65/1/1 2026 / Section A Q12 65/4/1 2026 / Section A Q12 Chapter 9 Examples Q11 65/3/1 2026 / Section A Q13 65/4/1 2026 / Section A Q13 65/4/2 2024 / Section A Q13 65/5/1 2026 / Section A Q13 65/1/1 2024 / Section A Q14 65/2/1 2024 / Section A Q14 65/5/1 2026 / Section A Q14 Chapter 9 Examples Q13 65/1/1 2023 / Section A Q15 65/2/3 2026 / Section A Q15 Chapter 9 Examples Q14 65/2/3 2026 / Section A Q16 65/4/1 2022 / Section C Q12(a) Chapter 9 Examples Q15 65/4/1 2022 / Section C Q12(b) Chapter 9 Examples Q16 Chapter 9 Examples Q17 65/3/1 2026 / Section A Q19 Chapter 9 Examples Q18 Chapter 9 Miscellaneous Examples Q19 Chapter 9 Miscellaneous Examples Q20 Chapter 9 Miscellaneous Examples Q21 Chapter 9 Miscellaneous Examples Q22 Exercise 9.1 Q1 Exercise 9.1 Q2 Exercise 9.1 Q3 Exercise 9.1 Q4 65/3/1 2023 / Section C Q26(a)