SOLVER7 Study. Nothing Else.
Exercise 9.4 Q2

In each of the Exercises 1 to 10, show that the given differential equation is homogeneous and solve each of them. \(y^{'}=\dfrac{x+y}{x}\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine two quantities, x and y, that are always linked together in a balanced way. When their relationship only depends on how big y is compared to x, we call it a special type of equation. A clever trick is to pretend y is just some number times x. This turns a tricky puzzle into a simple one we can solve by separating the pieces and adding them up. After solving, we swap back to get y by itself.

Answer: The general solution is \[ y = x\log|x| + Cx, \] where \( C \) is an arbitrary constant.

📖 Homogeneous Differential Equation: y' = (x + y)/x

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 the ratio \( \frac{y}{x} \). Equivalently, if we replace \( x \) by \( \lambda x \) and \( y \) by \( \lambda y \), the function stays unchanged. To solve such an equation we substitute \( y = vx \), which turns it into a variables-separable equation in \( v \) and \( x \). After integrating, we replace \( v \) back by \( \frac{y}{x} \) to get the general solution.

Formula Used

Substitution: \( y = vx \) so that \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). A separable equation \( \int \frac{dv}{g(v)} = \int \frac{dx}{x} \) is then integrated.

Solution

  1. Step 1: Write the equation and simplify the right side. We have \[ \frac{dy}{dx} = \frac{x + y}{x}. \] Splitting the fraction gives \[ \frac{dy}{dx} = 1 + \frac{y}{x}. \]
  2. Step 2: Check homogeneity. The right-hand side \( F(x, y) = 1 + \frac{y}{x} \) depends only on the ratio \( \frac{y}{x} \). Replacing \( x \to \lambda x \) and \( y \to \lambda y \) gives \[ 1 + \frac{\lambda y}{\lambda x} = 1 + \frac{y}{x}, \] which is unchanged. Hence the equation is homogeneous of degree zero.
  3. Step 3: Use the substitution \( y = vx \). Differentiating with respect to \( x \), \[ \frac{dy}{dx} = v + x\frac{dv}{dx}. \] This replaces \( y \) so the equation becomes solvable in \( v \) and \( x \).
  4. Step 4: Substitute into the equation. Since \( \frac{y}{x} = v \), \[ v + x\frac{dv}{dx} = 1 + v. \] Cancelling \( v \) from both sides, \[ x\frac{dv}{dx} = 1. \]
  5. Step 5: Separate the variables. Move all \( v \) terms to one side and all \( x \) terms to the other: \[ dv = \frac{dx}{x}. \]
  6. Step 6: Integrate both sides. \[ \int dv = \int \frac{dx}{x} \] gives \[ v = \log|x| + C, \] where \( C \) is the constant of integration.
  7. Step 7: Substitute back \( v = \frac{y}{x} \) to return to the original variables: \[ \frac{y}{x} = \log|x| + C. \] Multiplying through by \( x \), \[ y = x\log|x| + Cx. \]

Final Answer

The general solution is \[ y = x\log|x| + Cx, \] where \( C \) is an arbitrary constant.

Common Mistake

A common error is forgetting to differentiate the substitution correctly: students often write \( \frac{dy}{dx} = v \) instead of \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Always use the product rule on \( y = vx \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite the equation by splitting the right-hand side. Starting from \[ \frac{dy}{dx} = \frac{x + y}{x}, \] divide each term in the numerator by \( x \) to get \[ \frac{dy}{dx} = 1 + \frac{y}{x}. \] Reason: Expressing the equation in terms of the ratio \( \frac{y}{x} \) is the first clue that the equation may be homogeneous.
  2. Step 2: Verify that the equation is homogeneous. The right-hand side is \( F(x, y) = 1 + \frac{y}{x} \). Replace \( x \) with \( \lambda x \) and \( y \) with \( \lambda y \): \[ 1 + \frac{\lambda y}{\lambda x} = 1 + \frac{y}{x}. \] The expression is unchanged, confirming it is homogeneous of degree zero. Reason: Confirming homogeneity tells us the substitution \( y = vx \) will work here.
  3. Step 3: Apply the substitution \( y = vx \). Differentiating both sides with respect to \( x \) gives \[ \frac{dy}{dx} = v + x\frac{dv}{dx}. \] Reason: This substitution replaces both \( y \) and \( \frac{dy}{dx} \) in terms of \( v \) and \( x \), preparing the equation for separation of variables.
  4. Step 4: Substitute into the differential equation. Since \( \frac{y}{x} = v \), the equation \( \frac{dy}{dx} = 1 + \frac{y}{x} \) becomes \[ v + x\frac{dv}{dx} = 1 + v. \] Subtracting \( v \) from both sides: \[ x\frac{dv}{dx} = 1. \] Reason: The \( v \) terms cancel neatly, leaving a very simple equation that is straightforward to separate.
  5. Step 5: Separate the variables. Rearrange to get all \( v \) terms on one side and all \( x \) terms on the other: \[ dv = \frac{dx}{x}. \] Reason: Separating variables allows us to integrate each side independently.
  6. Step 6: Integrate both sides. Taking the integral of each side: \[ \int dv = \int \frac{dx}{x}, \] which gives \[ v = \log|x| + C, \] where \( C \) is an arbitrary constant. Reason: Straightforward integration of \( \frac{1}{x} \) yields the logarithm; the constant of integration \( C \) captures the family of solutions.
  7. Step 7: Back-substitute \( v = \frac{y}{x} \) to return to the original variables. Replacing \( v \) with \( \frac{y}{x} \): \[ \frac{y}{x} = \log|x| + C. \] Multiply both sides by \( x \): \[ y = x\log|x| + Cx. \] Reason: Reversing the substitution expresses the solution in terms of the original variables \( x \) and \( y \), completing the problem.

Final Answer

The general solution is \[ y = x\log|x| + Cx, \] where \( C \) is an arbitrary constant.

Common Mistake

One common mistake: forgetting to multiply the entire right-hand side by \( x \) when reversing the substitution — students sometimes write \( y = \log|x| + C \) instead of correctly multiplying through to get \( y = x\log|x| + Cx \).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Rewrite: \[ \frac{dy}{dx} = \frac{x + y}{x} = 1 + \frac{y}{x} \]
  2. Step 2: Put \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} = 1 + v \] which gives \[ x\frac{dv}{dx} = 1 \]
  3. Step 3: Separate and integrate: \[ \int dv = \int \frac{dx}{x} \] giving \( v = \log|x| + C \).
  4. Step 4: Replace \( v = \frac{y}{x} \): \[ \frac{y}{x} = \log|x| + C \]

Answer: The general solution is \[ y = x\log|x| + Cx, \] where \( C \) is an arbitrary constant.

➕ More Examples

More Examples

Example 1

Question: Show that the differential equation \( \frac{dy}{dx} = \frac{2x + 3y}{2x} \) is homogeneous and solve it.

Solution: Step 1 — Show homogeneity. Write the right-hand side as a function of \( \frac{y}{x} \): \[ \frac{dy}{dx} = \frac{2x + 3y}{2x} = 1 + \frac{3}{2} \cdot \frac{y}{x} \] Since the right-hand side depends only on \( \frac{y}{x} \), the equation is homogeneous of degree zero. Step 2 — Substitute \( y = vx \). Then \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} = 1 + \frac{3v}{2} \] So \[ x\frac{dv}{dx} = 1 + \frac{3v}{2} - v = 1 + \frac{v}{2} = \frac{2 + v}{2} \] Step 3 — Separate variables. \[ \frac{2\, dv}{2 + v} = \frac{dx}{x} \] Step 4 — Integrate both sides. \[ \int \frac{2}{2 + v}\, dv = \int \frac{1}{x}\, dx \] \[ 2\ln|2 + v| = \ln|x| + \ln|C_1| \] where \( C_1 \) is an arbitrary positive constant. This gives \[ \ln(2 + v)^2 = \ln|C_1 x| \] Exponentiating: \[ (2 + v)^2 = Cx \] where \( C = C_1 \) is an arbitrary constant. Step 5 — Back-substitute \( v = \frac{y}{x} \). \[ \left(2 + \frac{y}{x}\right)^2 = Cx \] Multiply inside: \[ \frac{(2x + y)^2}{x^2} = Cx \] Therefore \[ (2x + y)^2 = Cx^3 \] This is the general solution.

Answer: \( (2x + y)^2 = Cx^3 \), where \( C \) is an arbitrary constant.

Example 2

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

Solution: Step 1 — Rewrite and show homogeneity. Divide both sides by \( x \): \[ \frac{dy}{dx} = 1 + \frac{2y}{x} \] The right-hand side is a function of \( \frac{y}{x} \) only, so the equation is homogeneous of degree zero. Step 2 — Substitute \( y = vx \). Then \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} = 1 + 2v \] So \[ x\frac{dv}{dx} = 1 + 2v - v = 1 + v \] Step 3 — Separate variables. \[ \frac{dv}{1 + v} = \frac{dx}{x} \] Step 4 — Integrate both sides. \[ \int \frac{dv}{1 + v} = \int \frac{dx}{x} \] \[ \ln|1 + v| = \ln|x| + \ln|C_1| \] Exponentiating: \[ |1 + v| = C_1|x| \] Writing \( C \) for the arbitrary constant (absorbing sign): \[ 1 + v = Cx \] Step 5 — Back-substitute \( v = \frac{y}{x} \). \[ 1 + \frac{y}{x} = Cx \] Multiply through by \( x \): \[ x + y = Cx^2 \] This is the general solution.

Answer: \( x + y = Cx^2 \), where \( C \) is an arbitrary constant.

🎯 Try a Similar Question

Try a Similar Question

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

Solution

  1. Step 1: Check Homogeneity: Write the equation as \( \frac{dy}{dx} = F(x, y) \) where \( F(x,y) = \frac{2x - y}{2x} \). Replace \( x \) by \( \lambda x \) and \( y \) by \( \lambda y \): \[ F(\lambda x, \lambda y) = \frac{2(\lambda x) - (\lambda y)}{2(\lambda x)} = \frac{\lambda(2x - y)}{2\lambda x} = \frac{2x - y}{2x} = \lambda^{0} F(x, y). \] Since \( F \) is a homogeneous function of degree 0, the differential equation is homogeneous.
  2. Step 2: Substitute y = vx: Let \( y = vx \), where \( v \) is a function of \( x \). Then \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting into the equation: \[ v + x\frac{dv}{dx} = \frac{2x - vx}{2x} = \frac{x(2 - v)}{2x} = \frac{2 - v}{2}. \]
  3. Step 3: Simplify and Separate Variables: From Step 2: \[ x\frac{dv}{dx} = \frac{2 - v}{2} - v = \frac{2 - v - 2v}{2} = \frac{2 - 3v}{2}. \] Separating variables (assuming \( 2 - 3v \ne 0 \)): \[ \frac{2}{2 - 3v}\, dv = \frac{dx}{x}. \]
  4. Step 4: Integrate Both Sides: Integrating both sides: \[ \int \frac{2}{2 - 3v}\, dv = \int \frac{1}{x}\, dx. \] For the left side, let \( u = 2 - 3v \), so \( du = -3\, dv \), giving \( dv = -\frac{du}{3} \): \[ \int \frac{2}{u} \cdot \left(-\frac{1}{3}\right) du = -\frac{2}{3}\ln|u| = -\frac{2}{3}\ln|2 - 3v|. \] Therefore: \[ -\frac{2}{3}\ln|2 - 3v| = \ln|x| + C_{1}, \] where \( C_{1} \) is an arbitrary constant.
  5. Step 5: Back-substitute v = y/x: Replace \( v \) with \( \frac{y}{x} \): \[ -\frac{2}{3}\ln\left|2 - \frac{3y}{x}\right| = \ln|x| + C_{1}. \] Write \( 2 - \frac{3y}{x} = \frac{2x - 3y}{x} \), so: \[ -\frac{2}{3}\ln\left|\frac{2x - 3y}{x}\right| = \ln|x| + C_{1}. \] Multiplying throughout by \( -\frac{3}{2} \): \[ \ln\left|\frac{2x - 3y}{x}\right| = -\frac{3}{2}\ln|x| - \frac{3C_{1}}{2}. \]
  6. Step 6: Write the General Solution: Exponentiating both sides and absorbing the constant \( e^{-3C_{1}/2} \) into a new arbitrary constant \( A \): \[ \left|\frac{2x - 3y}{x}\right| = A \cdot |x|^{-3/2}. \] This can be written more cleanly by letting \( C \) be an arbitrary constant (absorbing sign and \( A \)): \[ 2x - 3y = C \cdot x^{-1/2}. \] Multiplying both sides by \( x^{1/2} \): \[ (2x - 3y)\sqrt{x} = C, \] where \( C \) is an arbitrary constant. Equivalently, the general solution is \[ 2x - 3y = \frac{C}{\sqrt{x}}. \]

Answer: The general solution is \[ (2x - 3y)\sqrt{x} = C, \] where \( C \) is an arbitrary constant (equivalently, \( 2x - 3y = \dfrac{C}{\sqrt{x}} \)).

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