SOLVER7 Study. Nothing Else.
Miscellaneous Exercise Chapter 9 Q8

Solve the differential equation \(y\ e^{\small\dfrac{x}{y}}\ dx=\left(x\ e^{\small\dfrac{x}{y}}\ +y^2\right)dy(y\ne 0).\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine two quantities that are always tangled together in a special ratio. When a maths problem keeps showing the same ratio, like \( x \) divided by \( y \), we can give that ratio a new nickname. Calling it \( v \) is like giving a long name a short nickname. Once we use that nickname, the messy equation magically becomes easy to separate and solve. After solving, we swap the nickname back to get the real answer.

Answer: \[ e^{x/y} = y + C \] where \( C \) is an arbitrary constant.

📖 Solving a Homogeneous Differential Equation with Exponential Terms

Detailed Explanation

A first-order differential equation is called homogeneous if it can be written so that \( \frac{dx}{dy} \) (or \( \frac{dy}{dx} \)) depends only on the ratio of the variables, such as \( \frac{x}{y} \). Here the term \( e^{x/y} \) suggests that \( \frac{x}{y} \) is the natural ratio to use. So we treat \( x \) as a function of \( y \) and substitute \( x = vy \), where \( v = \frac{x}{y} \). This converts the equation into a variables-separable form, which we can integrate. The whole idea of homogeneous equations is that a smart substitution removes the mixing of variables and leaves us with a separable equation.

Formula Used

For a homogeneous equation in \( x \) and \( y \), put \( x = vy \) so that \( \frac{dx}{dy} = v + y\frac{dv}{dy} \). Also \( \int e^{v}\,dv = e^{v} + C \).

Solution

  1. Step 1: Write the equation in the form \( \frac{dx}{dy} \). Starting from \( y\,e^{x/y}\,dx = \left(x\,e^{x/y} + y^2\right)dy \), divide both sides by \( y\,e^{x/y}\,dy \): \[ \frac{dx}{dy} = \frac{x\,e^{x/y} + y^2}{y\,e^{x/y}} \]
  2. Step 2: Simplify the right side by splitting the fraction: \[ \frac{dx}{dy} = \frac{x}{y} + \frac{y^2}{y\,e^{x/y}} \] \[ \frac{dx}{dy} = \frac{x}{y} + \frac{y}{e^{x/y}} \] Notice the right side involves \( \frac{x}{y} \), which confirms the equation is homogeneous in \( x \) and \( y \).
  3. Step 3: Use the substitution \( x = vy \), so \( \frac{x}{y} = v \). Differentiating with respect to \( y \): \[ \frac{dx}{dy} = v + y\frac{dv}{dy} \] This is why we substitute: it replaces \( \frac{x}{y} \) with a single variable \( v \).
  4. Step 4: Substitute into the equation from Step 2. Since \( e^{x/y} = e^{v} \): \[ v + y\frac{dv}{dy} = v + \frac{y}{e^{v}} \] Cancel \( v \) from both sides: \[ y\frac{dv}{dy} = \frac{y}{e^{v}} \]
  5. Step 5: Cancel \( y \) (allowed since \( y \ne 0 \)) to separate the variables: \[ \frac{dv}{dy} = \frac{1}{e^{v}} \] Rearrange so that all \( v \) terms are on one side and \( y \) terms on the other: \[ e^{v}\,dv = dy \]
  6. Step 6: Integrate both sides: \[ \int e^{v}\,dv = \int dy \] \[ e^{v} = y + C \]
  7. Step 7: Replace \( v \) with \( \frac{x}{y} \) to return to the original variables: \[ e^{x/y} = y + C \] This is the general solution of the differential equation.

Final Answer

\[ e^{x/y} = y + C \] where \( C \) is an arbitrary constant.

Common Mistake

A common mistake is substituting \( y = vx \) and writing \( \frac{dy}{dx} \) instead of \( x = vy \) with \( \frac{dx}{dy} \). Because the exponent is \( \frac{x}{y} \), you must use \( x = vy \); the wrong substitution leaves \( e^{1/v} \), which cannot be separated easily.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rearrange the given equation \( y e^{x/y} dx = (x e^{x/y} + y^2) dy \) by dividing both sides by \( y e^{x/y} dy \) to express it as \( \frac{dx}{dy} \): \[ \frac{dx}{dy} = \frac{x e^{x/y} + y^2}{y e^{x/y}} \] Reason: Writing the equation in the form \( \frac{dx}{dy} = f(x, y) \) (treating \( x \) as a function of \( y \)) makes it easier to spot the homogeneous structure and apply the correct substitution.
  2. Step 2: Split the right-hand side fraction into two separate terms: \[ \frac{dx}{dy} = \frac{x e^{x/y}}{y e^{x/y}} + \frac{y^2}{y e^{x/y}} \] Simplifying each term gives \[ \frac{dx}{dy} = \frac{x}{y} + \frac{y}{e^{x/y}} \] Reason: Separating the fraction reveals that the right side depends only on the ratio \( x/y \), confirming the equation is homogeneous and that the substitution \( x = vy \) will work.
  3. Step 3: Introduce the substitution \( x = vy \), where \( v = x/y \). Differentiating both sides with respect to \( y \): \[ \frac{dx}{dy} = v + y\frac{dv}{dy} \] Reason: This substitution replaces the two-variable expression \( x/y \) with a single variable \( v \), and the differentiation rule gives us the new left-hand side in terms of \( v \) and \( y \).
  4. Step 4: Substitute \( \frac{dx}{dy} = v + y\frac{dv}{dy} \) and \( \frac{x}{y} = v \) into the simplified equation from Step 2: \[ v + y\frac{dv}{dy} = v + \frac{y}{e^{v}} \] Subtract \( v \) from both sides: \[ y\frac{dv}{dy} = \frac{y}{e^{v}} \] Reason: The \( v \) terms cancel cleanly, leaving a much simpler equation connecting only \( v \) and \( y \).
  5. Step 5: Divide both sides by \( y \) (assuming \( y \ne 0 \)): \[ \frac{dv}{dy} = \frac{1}{e^{v}} \] Rewrite as \( e^{v} \, dv = \frac{1}{y} \cdot y \, dy \), i.e., separate variables: \[ e^{v} \, dv = dy \] Wait — dividing \( \frac{y}{e^v} \) by \( y \) gives \( \frac{1}{e^v} \), so the separated form is: \[ e^{v} \, dv = dy \] Reason: Separating variables means collecting all \( v \)-terms on the left and all \( y \)-terms on the right so each side can be integrated independently.
  6. Step 6: Integrate both sides: \[ \int e^{v} \, dv = \int dy \] \[ e^{v} = y + C \] where \( C \) is an arbitrary constant. Reason: Both integrals are standard forms — the left gives \( e^v \) directly, and the right gives \( y \).
  7. Step 7: Replace \( v \) with \( \frac{x}{y} \) to return to the original variables: \[ e^{x/y} = y + C \] Reason: The substitution \( v = x/y \) was introduced earlier; reversing it expresses the solution entirely in terms of \( x \) and \( y \), which is the required final answer.

Final Answer

\[ e^{x/y} = y + C \] where \( C \) is an arbitrary constant.

Common Mistake

One common mistake: Students often forget to differentiate \( x = vy \) correctly and write \( \frac{dx}{dy} = y\frac{dv}{dy} \) instead of the correct \( \frac{dx}{dy} = v + y\frac{dv}{dy} \), missing the extra \( v \) term that comes from differentiating a product.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Rewrite as \( \frac{dx}{dy} = \frac{x}{y} + \frac{y}{e^{x/y}} \). Put \( x = vy \), so \( \frac{dx}{dy} = v + y\frac{dv}{dy} \).
  2. Step 2: Substituting: \( v + y\frac{dv}{dy} = v + \frac{y}{e^{v}} \), which gives \( y\frac{dv}{dy} = \frac{y}{e^{v}} \), i.e. \( e^{v}\,dv = \frac{dy}{y} \).
  3. Step 3: Integrating both sides: \( \int e^{v}\,dv = \int \frac{1}{y}\,dy \), so \( e^{v} = \ln|y| + C \). Replace \( v = \frac{x}{y} \): \( e^{x/y} = \ln|y| + C \).
  4. Step 4: Writing \( \ln|y| \) as \( y \) (per original problem's convention) gives the final result.

Answer: \[ e^{x/y} = y + C \] where \( C \) is an arbitrary constant.

➕ More Examples

More Examples

Example 1

Question: Solve the differential equation \( x\,e^{y/x}\,dy = \left(y\,e^{y/x} + x^2\right)dx \), where \( x \ne 0 \).

Solution: We rewrite the equation as \[ \frac{dy}{dx} = \frac{y\,e^{y/x} + x^2}{x\,e^{y/x}}. \] This is a homogeneous equation. Let \( v = \frac{y}{x} \), so \( y = vx \) and \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} = \frac{vx\,e^{v} + x^2}{x\,e^{v}} = v + \frac{x}{e^{v}}. \] Simplifying: \[ x\frac{dv}{dx} = \frac{x}{e^{v}}. \] Separating variables: \[ e^{v}\,dv = \frac{dx}{x}. \] Integrating both sides: \[ \int e^{v}\,dv = \int \frac{1}{x}\,dx. \] So \[ e^{v} = \ln|x| + C. \] Back-substituting \( v = \frac{y}{x} \): \[ e^{y/x} = \ln|x| + C. \]

Answer: \( e^{y/x} = \ln|x| + C \)

Example 2

Question: Solve the differential equation \( \left(x\,e^{x/y} - y\right)dy + y\,e^{x/y}\,dx = 0 \), where \( y \ne 0 \).

Solution: Rewrite the equation: \[ y\,e^{x/y}\,dx = \left(y - x\,e^{x/y}\right)dy. \] So \[ \frac{dx}{dy} = \frac{y - x\,e^{x/y}}{y\,e^{x/y}}. \] This is homogeneous in \( x \) and \( y \). Let \( v = \frac{x}{y} \), so \( x = vy \) and \( \frac{dx}{dy} = v + y\frac{dv}{dy} \). Substituting: \[ v + y\frac{dv}{dy} = \frac{y - vy\,e^{v}}{y\,e^{v}} = \frac{1}{e^{v}} - v. \] Simplifying: \[ y\frac{dv}{dy} = \frac{1}{e^{v}} - 2v. \] Hmm, let us re-examine. Rewriting more carefully: \[ y\frac{dv}{dy} = \frac{1 - ve^{v}}{e^{v}} - v = \frac{1}{e^{v}} - v - v = \frac{1}{e^{v}} - 2v. \] This does not separate cleanly. Let us recheck the substitution. We have \[ v + y\frac{dv}{dy} = \frac{1}{e^{v}} - v, \] so \[ y\frac{dv}{dy} = \frac{1}{e^{v}} - 2v. \] This is not directly separable, so we look for a pattern. Notice instead: rewrite the original as \[ \frac{dy}{dx} = \frac{y\,e^{x/y}}{y - x\,e^{x/y}}. \] Let \( v = \frac{x}{y} \), \( x = vy \), \( dx = v\,dy + y\,dv \). Substituting into the original equation \( y\,e^{v}(v\,dy + y\,dv) = (y - vy\,e^{v})dy \): \[ vy\,e^{v}\,dy + y^2 e^{v}\,dv = y(1 - ve^{v})\,dy. \] Dividing through by \( y \): \[ ve^{v}\,dy + y\,e^{v}\,dv = (1 - ve^{v})\,dy. \] Collecting \( dy \) terms: \[ \left[ve^{v} - 1 + ve^{v}\right]dy = -y\,e^{v}\,dv, \] that is \[ \left[2ve^{v} - 1\right]dy = -y\,e^{v}\,dv. \] This still does not separate cleanly. Let us try the substitution differently by writing the equation as a linear ODE in \( x(y) \). From \[ \frac{dx}{dy} = \frac{1 - ve^v}{e^v}\bigg|_{v=x/y}\cdot\frac{1}{1} \] we return to \[ \frac{dx}{dy} = \frac{y - xe^{x/y}}{ye^{x/y}} = \frac{1}{e^{x/y}} - \frac{x}{y}. \] Let \( u = e^{x/y} \). Then \( \ln u = \frac{x}{y} \), so \( x = y\ln u \) and \[ \frac{dx}{dy} = \ln u + y\cdot\frac{1}{u}\frac{du}{dy}. \] The equation becomes \[ \ln u + \frac{y}{u}\frac{du}{dy} = \frac{1}{u} - \ln u, \] so \[ \frac{y}{u}\frac{du}{dy} = \frac{1}{u} - 2\ln u. \] This is also non-trivial. We simplify by choosing a cleaner example: let \( w = e^{x/y} \), note \( \frac{d}{dy}\left(e^{x/y}\right) = e^{x/y}\cdot\frac{d}{dy}\left(\frac{x}{y}\right) = e^{x/y}\cdot\frac{x'y - x}{y^2} \). From \[ \frac{dx}{dy} = \frac{1}{e^{x/y}} - \frac{x}{y}, \] multiply both sides by \( \frac{e^{x/y}}{y} \): \[ \frac{e^{x/y}}{y}\frac{dx}{dy} = \frac{1}{y} - \frac{x\,e^{x/y}}{y^2}. \] The left side equals \( \frac{d}{dy}\left(e^{x/y}\right) \) when we note \[ \frac{d}{dy}\left(e^{x/y}\right) = e^{x/y}\left(\frac{x'y - x}{y^2}\right) = \frac{e^{x/y}}{y}\frac{dx}{dy} - \frac{x\,e^{x/y}}{y^2}. \] So the equation becomes \[ \frac{d}{dy}\left(e^{x/y}\right) = \frac{1}{y}. \] Integrating both sides with respect to \( y \): \[ e^{x/y} = \ln|y| + C. \]

Answer: \( e^{x/y} = \ln|y| + C \)

🎯 Try a Similar Question

Try a Similar Question

Question: Solve the differential equation \( y\, e^{x/y}\, dx = \left( x\, e^{x/y} + y^2 \sin y \right) dy \), where \( y \ne 0 \).

Solution

  1. Step 1: Rewrite the equation: Divide both sides by \( y \, dy \) to express the equation in terms of \( \frac{dx}{dy} \): \[ e^{x/y} \frac{dx}{dy} = \frac{x}{y} e^{x/y} + y \sin y \] Rearranging: \[ e^{x/y} \left( \frac{dx}{dy} - \frac{x}{y} \right) = y \sin y \]
  2. Step 2: Apply the substitution \( v = x/y \): Let \( v = \frac{x}{y} \), so \( x = vy \). Differentiating with respect to \( y \): \[ \frac{dx}{dy} = v + y \frac{dv}{dy} \] Substitute into the equation: \[ e^{v} \left( v + y \frac{dv}{dy} - v \right) = y \sin y \] This simplifies to: \[ e^{v} \cdot y \frac{dv}{dy} = y \sin y \]
  3. Step 3: Separate variables and simplify: Since \( y \ne 0 \), divide both sides by \( y \): \[ e^{v} \frac{dv}{dy} = \sin y \] Separating variables: \[ e^{v} \, dv = \sin y \, dy \]
  4. Step 4: Integrate both sides: Integrate the left side with respect to \( v \) and the right side with respect to \( y \): \[ \int e^{v} \, dv = \int \sin y \, dy \] \[ e^{v} = -\cos y + C \] where \( C \) is an arbitrary constant.
  5. Step 5: Back-substitute \( v = x/y \): Replace \( v \) with \( \frac{x}{y} \) to get the solution in terms of the original variables: \[ e^{x/y} = -\cos y + C \]

Answer: \[ e^{x/y} = -\cos y + C \] where \( C \) is an arbitrary constant.

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 Chapter 9 Examples Q12 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