SOLVER7 Study. Nothing Else.
Exercise 9.4 Q9

In each of the Exercises 1 to 10, show that the given differential equation is homogeneous and solve each of them. \(y\ dx+x\ log\left(\dfrac{y}{x}\right)dy-2x\ dy=0\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine a machine where you can stretch or shrink all inputs by the same amount and the output stays the same. This equation behaves exactly like that machine. Because the equation always uses the ratio of y to x together, we can treat that ratio as one single thing and solve from there. It is like always comparing how tall two friends are relative to each other, not their actual heights. Once we track only that ratio, the messy equation becomes something simple we can untangle to find the answer.

Answer: The equation is homogeneous, and its general solution is \[ \log\left(\frac{y}{x}\right) - 1 = C y, \] equivalently \[ \log\left(\frac{y}{x}\right) = 1 + C y, \] where \( C \) is an arbitrary constant.

📖 Homogeneous Differential Equation: Full Solution

Detailed Explanation

A first-order differential equation \( \frac{dy}{dx} = F(x, y) \) is called homogeneous if \( F(x, y) \) can be written purely in terms of \( \frac{y}{x} \), i.e. \( F(\lambda x, \lambda y) = F(x, y) \) for all \( \lambda \ne 0 \). Such equations are solved by the substitution \( y = vx \), where \( v \) is a function of \( x \). This converts the equation into a variables-separable form in \( v \) and \( x \), which we can then integrate. Here the presence of \( \log\left(\frac{y}{x}\right) \) already hints that \( \frac{y}{x} \) is the natural variable.

Formula Used

Substitution for homogeneous equations: \( y = vx \) and \( \frac{dy}{dx} = v + x\frac{dv}{dx} \).

Solution

  1. Step 1: Rewrite the equation in the form \( \frac{dy}{dx} = F(x,y) \). Starting from \[ y\,dx + x\log\left(\frac{y}{x}\right)dy - 2x\,dy = 0, \] group the \( dy \) terms: \[ y\,dx + \left(x\log\left(\frac{y}{x}\right) - 2x\right)dy = 0. \] Therefore \[ \frac{dy}{dx} = \frac{-y}{x\log\left(\frac{y}{x}\right) - 2x} = \frac{y}{2x - x\log\left(\frac{y}{x}\right)}. \]
  2. Step 2: Check homogeneity. Write \( F(x,y) = \frac{y}{2x - x\log\left(\frac{y}{x}\right)} \). Replacing \( x \to \lambda x \) and \( y \to \lambda y \), the \( \frac{y}{x} \) inside the log is unchanged, and both numerator and denominator scale by \( \lambda \): \[ F(\lambda x, \lambda y) = \frac{\lambda y}{\lambda(2x - x\log\left(\frac{y}{x}\right))} = F(x,y). \] Hence the equation is homogeneous of degree 0.
  3. Step 3: Apply the substitution \( y = vx \), so that \[ \frac{dy}{dx} = v + x\frac{dv}{dx}. \] Also \( \frac{y}{x} = v \). Substituting into the equation from Step 1: \[ v + x\frac{dv}{dx} = \frac{vx}{2x - x\log v} = \frac{v}{2 - \log v}. \]
  4. Step 4: Isolate \( x\frac{dv}{dx} \): \[ x\frac{dv}{dx} = \frac{v}{2 - \log v} - v. \] Combine the right side over a common denominator: \[ x\frac{dv}{dx} = \frac{v - v(2 - \log v)}{2 - \log v} = \frac{v - 2v + v\log v}{2 - \log v}. \] This simplifies to \[ x\frac{dv}{dx} = \frac{v\log v - v}{2 - \log v} = \frac{v(\log v - 1)}{2 - \log v}. \]
  5. Step 5: Separate the variables: \[ \frac{2 - \log v}{v(\log v - 1)}\,dv = \frac{dx}{x}. \] To integrate the left side, use the substitution \( t = \log v \), so \( dt = \frac{1}{v}\,dv \). The left side becomes \[ \int \frac{2 - t}{t - 1}\,dt = \int \frac{dx}{x}. \]
  6. Step 6: Simplify the left integrand. Write \[ \frac{2 - t}{t - 1} = \frac{-(t - 1) + 1}{t - 1} = -1 + \frac{1}{t - 1}. \] Therefore \[ \int \left(-1 + \frac{1}{t - 1}\right)dt = \int \frac{dx}{x}, \] which gives \[ -t + \log|t - 1| = \log|x| + C_1. \]
  7. Step 7: Substitute back \( t = \log v \): \[ -\log v + \log|\log v - 1| = \log|x| + C_1. \] Now replace \( v = \frac{y}{x} \): \[ -\log\left(\frac{y}{x}\right) + \log\left|\log\left(\frac{y}{x}\right) - 1\right| = \log|x| + C_1. \] Combining the log terms, \[ \log\left|\frac{\log\left(\frac{y}{x}\right) - 1}{\frac{y}{x}}\right| = \log|x| + C_1. \]
  8. Step 8: Exponentiate to remove the logarithms. Writing \( e^{C_1} = C \), \[ \frac{\log\left(\frac{y}{x}\right) - 1}{\frac{y}{x}} = Cx. \] Multiplying by \( \frac{y}{x} \) and simplifying \( \frac{y}{x}\cdot x = y \) inside the constant, we get the compact implicit solution \[ \log\left(\frac{y}{x}\right) - 1 = Cx \cdot \frac{y}{x} = C y. \]

Final Answer

The equation is homogeneous, and its general solution is \[ \log\left(\frac{y}{x}\right) - 1 = C y, \] equivalently \[ \log\left(\frac{y}{x}\right) = 1 + C y, \] where \( C \) is an arbitrary constant.

Common Mistake

A frequent error is forgetting that after substituting \( y = vx \) you must use \( \frac{dy}{dx} = v + x\frac{dv}{dx} \); students often write only \( \frac{dy}{dx} = v \), dropping the \( x\frac{dv}{dx} \) term, which makes separation of variables impossible and gives a wrong answer.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rearrange into dy/dx form: Start with the given equation \[ y\,dx + x\log\left(\frac{y}{x}\right)dy - 2x\,dy = 0. \] Collect the \( dy \) terms together: \[ y\,dx + \left(x\log\left(\frac{y}{x}\right) - 2x\right)dy = 0. \] Divide through to isolate \( \frac{dy}{dx} \): \[ \frac{dy}{dx} = \frac{y}{2x - x\log\left(\frac{y}{x}\right)}. \] Reason: Writing the equation explicitly as \( \frac{dy}{dx} = F(x,y) \) makes it easier to check homogeneity and apply the substitution.
  2. Step 2: Verify the equation is homogeneous: Let \( F(x,y) = \frac{y}{2x - x\log\left(\frac{y}{x}\right)} \). Replace \( x \) with \( \lambda x \) and \( y \) with \( \lambda y \): \[ F(\lambda x, \lambda y) = \frac{\lambda y}{2(\lambda x) - (\lambda x)\log\left(\frac{\lambda y}{\lambda x}\right)} = \frac{\lambda y}{\lambda\left(2x - x\log\left(\frac{y}{x}\right)\right)} = F(x,y). \] Reason: Since \( F(\lambda x, \lambda y) = F(x, y) \) for all \( \lambda \ne 0 \), the equation is homogeneous of degree zero, confirming that the substitution \( y = vx \) is appropriate.
  3. Step 3: Apply the substitution y = vx: Set \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Also note that \( \log\left(\frac{y}{x}\right) = \log v \). Substituting into \( \frac{dy}{dx} = \frac{y}{2x - x\log\left(\frac{y}{x}\right)} \) gives \[ v + x\frac{dv}{dx} = \frac{vx}{x(2 - \log v)} = \frac{v}{2 - \log v}. \] Reason: The substitution \( y = vx \) replaces two variables \( x, y \) with one variable \( v \), turning the homogeneous equation into one where the variables can be separated.
  4. Step 4: Separate the variables: Subtract \( v \) from both sides: \[ x\frac{dv}{dx} = \frac{v}{2 - \log v} - v = v\left(\frac{1}{2 - \log v} - 1\right) = v\cdot\frac{1 - (2 - \log v)}{2 - \log v} = \frac{v(\log v - 1)}{2 - \log v}. \] Rearranging to separate \( v \) and \( x \): \[ \frac{2 - \log v}{v(\log v - 1)}\,dv = \frac{dx}{x}. \] Reason: Separating variables places all expressions in \( v \) on one side and all in \( x \) on the other, so we can integrate both sides independently.
  5. Step 5: Rewrite the left-hand side for easier integration: Write the numerator \( 2 - \log v \) as \( -(\log v - 2) = -(\log v - 1) - 1 \), so \[ \frac{2 - \log v}{v(\log v - 1)} = \frac{-(\log v - 1) - 1}{v(\log v - 1)} = -\frac{1}{v} - \frac{1}{v(\log v - 1)}. \] The equation becomes \[ \left(-\frac{1}{v} - \frac{1}{v(\log v - 1)}\right)dv = \frac{dx}{x}. \] Reason: Splitting the fraction into simpler parts makes each term directly integrable using standard results.
  6. Step 6: Integrate both sides: Integrate term by term. For \( \int -\frac{1}{v}\,dv \), the result is \( -\log v \). For \( \int -\frac{1}{v(\log v - 1)}\,dv \), substitute \( t = \log v - 1 \), so \( dt = \frac{1}{v}\,dv \), giving \( -\int \frac{dt}{t} = -\log|\log v - 1| \). The right side gives \( \int \frac{dx}{x} = \log|x| \). Putting it together: \[ -\log v - \log|\log v - 1| = \log|x| + C_1. \] Reason: Standard integration techniques (direct and substitution) are applied to each part.
  7. Step 7: Simplify and back-substitute v = y/x: Combine the logarithms on the left: \[ -\log\left(v|\log v - 1|\right) = \log|x| + C_1, \] which gives \[ \log\left(v|\log v - 1|\right) + \log|x| = -C_1. \] This simplifies to \[ \log\left(vx|\log v - 1|\right) = -C_1. \] Now substitute back \( v = \frac{y}{x} \), so \( vx = y \) and \( \log v = \log\left(\frac{y}{x}\right) \): \[ \log\left(y\left|\log\left(\frac{y}{x}\right) - 1\right|\right) = -C_1. \] Exponentiating and absorbing the constant (renaming \( -C_1 \) suitably and allowing positive/negative), the general solution is written neatly as \[ \log\left(\frac{y}{x}\right) - 1 = Cy, \] where \( C \) is an arbitrary constant. Reason: Back-substituting returns the answer to the original variables \( x \) and \( y \), and constants of integration are merged into a single arbitrary constant \( C \).

Final Answer

The equation is homogeneous, and its general solution is \[ \log\left(\frac{y}{x}\right) - 1 = C y, \] equivalently \[ \log\left(\frac{y}{x}\right) = 1 + C y, \] where \( C \) is an arbitrary constant.

Common Mistake

One common mistake: after separating variables students forget to split the fraction \( \frac{2 - \log v}{v(\log v - 1)} \) into simpler parts before integrating, and incorrectly attempt to integrate it as a single block, leading to wrong results.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Rearrange: \[ \frac{dy}{dx} = \frac{y}{2x - x\log\!\left(\frac{y}{x}\right)} \] Substitute \( y = vx \) so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \), giving \[ v + x\frac{dv}{dx} = \frac{v}{2 - \log v} \]
  2. Step 2: Separate variables: \[ x\frac{dv}{dx} = \frac{v}{2 - \log v} - v = \frac{v - v(2 - \log v)}{2 - \log v} = \frac{v(\log v - 1)}{2 - \log v} \] so \[ \frac{2 - \log v}{v(\log v - 1)}\,dv = \frac{dx}{x} \]
  3. Step 3: Write the left side as \[ \frac{2 - \log v}{v(\log v - 1)} = \frac{-({\log v - 1}) - 1 \cdot (-1)}{v(\log v-1)} \] Let \( t = \log v \), \( dt = \frac{dv}{v} \): \[ \int \frac{2 - t}{t - 1}\,dt = \int \frac{dx}{x} \] Decompose: \( \frac{2-t}{t-1} = -1 + \frac{1}{t-1} \), so \[ -t + \log|t-1| = \log|x| + C_1 \]
  4. Step 4: Back-substitute \( t = \log v = \log\!\left(\frac{y}{x}\right) \): \[ -\log\!\left(\frac{y}{x}\right) + \log\!\left|\log\!\left(\frac{y}{x}\right) - 1\right| = \log|x| + C_1 \] Absorbing constants and using \( v = \frac{y}{x} \) yields the general solution \[ \log\!\left(\frac{y}{x}\right) - 1 = Cy \]

Answer: The equation is homogeneous, and its general solution is \[ \log\left(\frac{y}{x}\right) - 1 = C y, \] equivalently \[ \log\left(\frac{y}{x}\right) = 1 + C y, \] where \( C \) is an arbitrary constant.

➕ More Examples

More Examples

Example 1

Question: Show that the differential equation \( x \, dy - y \, dx + x \log\!\left(\frac{x}{y}\right) dx = 0 \) is homogeneous and solve it.

Solution: Step 1: Rewrite in the form \( \frac{dy}{dx} = F\!\left(\frac{y}{x}\right) \). The equation is \( x \, dy - y \, dx + x \log\!\left(\frac{x}{y}\right) dx = 0 \). Divide throughout by \( x \, dx \): \[ \frac{dy}{dx} = \frac{y}{x} - \log\!\left(\frac{x}{y}\right) \] Since \( \log\!\left(\frac{x}{y}\right) = -\log\!\left(\frac{y}{x}\right) \), we can write: \[ \frac{dy}{dx} = \frac{y}{x} + \log\!\left(\frac{y}{x}\right) \] The right side depends only on \( \frac{y}{x} \), so the equation is homogeneous. Step 2: Substitute \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} = v + \log v \] Simplifying: \[ x\frac{dv}{dx} = \log v \] Step 3: Separate variables. \[ \frac{dv}{\log v} = \frac{dx}{x} \] Step 4: Integrate both sides. \[ \int \frac{dv}{\log v} = \int \frac{dx}{x} \] Let \( \log v = t \), so \( v = e^t \) and \( dv = e^t \, dt \). Then: \[ \int \frac{e^t}{t} \, dt = \log|x| + C \] This integral is the exponential integral \( \text{Ei}(t) \). Returning to \( t = \log v = \log\!\left(\frac{y}{x}\right) \): \[ \text{Ei}\!\left(\log\frac{y}{x}\right) = \log|x| + C \] Alternatively, the general solution in implicit form is: \[ \int \frac{dv}{\log v} = \log|x| + C, \quad v = \frac{y}{x} \] Note: For CBSE purposes the answer is expressed as the implicit relation obtained after integration: \[ \int \frac{1}{\log(y/x)} \, d\!\left(\frac{y}{x}\right) = \log|x| + C \] or equivalently, separating and integrating directly gives the general solution: \[ \log|x| = \int \frac{dv}{\log v} + C \]

Answer: General solution: \( \log|x| = \int \frac{dv}{\log v} + C \) where \( v = \frac{y}{x} \), i.e. \( \text{Ei}(\log(y/x)) = \log|x| + C \).

Example 2

Question: Show that the differential equation \( \left(2x \log\frac{y}{x} - y\right) dx + x \, dy = 0 \) is homogeneous and solve it.

Solution: Step 1: Write the equation in the form \( \frac{dy}{dx} = F\!\left(\frac{y}{x}\right) \). The given equation is \( \left(2x\log\frac{y}{x} - y\right)dx + x\,dy = 0 \). Rearranging: \[ x\,dy = \left(y - 2x\log\frac{y}{x}\right)dx \] Divide by \( x \, dx \): \[ \frac{dy}{dx} = \frac{y}{x} - 2\log\frac{y}{x} \] The right side is a function of \( \frac{y}{x} \) alone, so the equation is homogeneous. Step 2: Put \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting into the equation: \[ v + x\frac{dv}{dx} = v - 2\log v \] Simplifying: \[ x\frac{dv}{dx} = -2\log v \] Step 3: Separate variables. \[ \frac{dv}{\log v} = \frac{-2\,dx}{x} \] Step 4: Integrate both sides. \[ \int \frac{dv}{\log v} = -2\int \frac{dx}{x} \] For the left side, use the substitution \( \log v = t \), so \( v = e^t \) and \( dv = e^t\,dt \): \[ \int \frac{e^t}{t}\,dt = -2\log|x| + C \] Back-substituting \( t = \log v = \log\frac{y}{x} \), and writing the exponential integral symbolically: \[ \text{Ei}\!\left(\log\frac{y}{x}\right) = -2\log|x| + C \] Alternatively, multiplying across and writing the implicit general solution: \[ \int \frac{dv}{\log v} + 2\log|x| = C, \quad v = \frac{y}{x} \] Step 5: Verify. Differentiating the separable form confirms consistency. The general solution may also be expressed as: \[ 2\log|x| + \int \frac{d(y/x)}{\log(y/x)} = C \]

Answer: General solution: \( 2\log|x| + \int \frac{d(y/x)}{\log(y/x)} = C \), i.e. \( \text{Ei}(\log(y/x)) + 2\log|x| = C \).

🎯 Try a Similar Question

Try a Similar Question

Question: Show that the following differential equation is homogeneous and solve it: \[ y \, dx + x \log\left(\frac{y}{x}\right) dy - 3x \, dy = 0. \]

Solution

  1. Step 1: Rewrite the equation in the form dy/dx = F(y/x): Starting from \[ y \, dx + x \log\left(\frac{y}{x}\right) dy - 3x \, dy = 0, \] collect the \( dy \) terms: \[ y \, dx = \left(3x - x\log\left(\frac{y}{x}\right)\right) dy. \] Dividing both sides by \( dy \) and then by \( y \): \[ \frac{dx}{dy} = \frac{x\left(3 - \log\left(\frac{y}{x}\right)\right)}{y}. \] Writing \( x = vy \) later, it is clear the right-hand side depends only on \( \frac{x}{y} \), confirming the equation is homogeneous of degree zero.
  2. Step 2: Confirm homogeneity: Let \( F\!\left(x, y\right) = \frac{dx}{dy} = \frac{x\left(3 - \log\frac{y}{x}\right)}{y} \). Replace \( x \to \lambda x \) and \( y \to \lambda y \): \[ F(\lambda x, \lambda y) = \frac{\lambda x\left(3 - \log\frac{\lambda y}{\lambda x}\right)}{\lambda y} = \frac{x\left(3 - \log\frac{y}{x}\right)}{y} = \lambda^{0} F(x,y). \] Since the degree of homogeneity is zero, the equation is homogeneous.
  3. Step 3: Apply the substitution x = vy: Because the equation is more naturally expressed as \( \frac{dx}{dy} \), substitute \( x = vy \), so \( \frac{dx}{dy} = v + y\frac{dv}{dy} \). Note that \( \frac{y}{x} = \frac{1}{v} \), so \( \log\frac{y}{x} = -\log v \). The equation becomes: \[ v + y\frac{dv}{dy} = \frac{vy\left(3 - (-\log v)\right)}{y} = v\left(3 + \log v\right). \] Simplifying the left side: \[ y\frac{dv}{dy} = v\left(3 + \log v\right) - v = v\left(2 + \log v\right). \]
  4. Step 4: Separate variables: Rearranging: \[ \frac{dv}{v\left(2 + \log v\right)} = \frac{dy}{y}. \] Integrate both sides: \[ \int \frac{dv}{v\left(2 + \log v\right)} = \int \frac{dy}{y}. \]
  5. Step 5: Evaluate the left-side integral: For the left integral, let \( t = 2 + \log v \), so \( dt = \frac{1}{v} dv \). Then: \[ \int \frac{dv}{v\left(2 + \log v\right)} = \int \frac{dt}{t} = \log|t| + C_1 = \log|2 + \log v| + C_1. \] The right integral gives \( \log|y| + C_2 \). Combining constants, we get: \[ \log\left|2 + \log v\right| = \log|y| + \log|C|, \] where \( C \) is an arbitrary constant (absorbing sign). Thus: \[ 2 + \log v = Cy. \]
  6. Step 6: Back-substitute v = x/y: Since \( v = \frac{x}{y} \), we have \( \log v = \log\frac{x}{y} = -\log\frac{y}{x} \). Substituting: \[ 2 - \log\left(\frac{y}{x}\right) = Cy. \] This can be rewritten as: \[ \log\left(\frac{y}{x}\right) = 2 - Cy. \] Since \( C \) is an arbitrary constant, replacing \( -C \) by \( C \) (still arbitrary) gives the general solution: \[ \log\left(\frac{y}{x}\right) = 2 + Cy. \]
  7. Step 7: State the general solution: The general solution of the given homogeneous differential equation is \[ \log\left(\frac{y}{x}\right) = 2 + Cy, \] where \( C \) is an arbitrary constant.

Answer: The equation is homogeneous. Its general solution is \[ \log\left(\frac{y}{x}\right) = 2 + Cy, \] 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