SOLVER7 Study. Nothing Else.
Exercise 9.4 Q3

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

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a machine that mixes two ingredients in a special ratio. No matter how much you scale the amounts up or down, the ratio stays the same. This differential equation is like that machine. We swap one tricky variable for a simpler ratio, turning a hard problem into an easy one. Once we solve the easy version, we swap back and read off our answer. The final answer tells us exactly how the two quantities are always connected.

Answer: \[ \tan^{-1}\frac{y}{x} = \frac{1}{2}\ln(x^2 + y^2) + C. \]

📖 Solving a Homogeneous Differential Equation

Detailed Explanation

A first-order differential equation \( \frac{dy}{dx} = F(x, y) \) is called homogeneous if \( F(x, y) \) can be written as a function of \( \frac{y}{x} \) only, i.e. \( F(\lambda x, \lambda y) = F(x, y) \) for every \( \lambda \). For such equations we substitute \( y = vx \), which converts the equation into one that is variable-separable in \( v \) and \( x \). After separating and integrating, we replace \( v \) by \( \frac{y}{x} \) to get the general solution.

Formula Used

Substitution: \( y = vx \Rightarrow \frac{dy}{dx} = v + x\frac{dv}{dx} \). Also \( \int \frac{dt}{1+t^2} = \tan^{-1} t + C \) and \( \int \frac{t\,dt}{1+t^2} = \frac{1}{2}\ln(1+t^2) + C \).

Solution

  1. Step 1: Write the equation in the form \( \frac{dy}{dx} = F(x,y) \). From \( (x-y)\,dy - (x+y)\,dx = 0 \) we get \[ \frac{dy}{dx} = \frac{x+y}{x-y}. \]
  2. Step 2: Check homogeneity. Replace \( x \) by \( \lambda x \) and \( y \) by \( \lambda y \): \[ F(\lambda x, \lambda y) = \frac{\lambda x + \lambda y}{\lambda x - \lambda y} = \frac{x+y}{x-y} = F(x,y). \] Since \( F(\lambda x, \lambda y) = F(x,y) \), the equation is homogeneous of degree 0.
  3. Step 3: Use the substitution \( y = vx \), so that \[ \frac{dy}{dx} = v + x\frac{dv}{dx}. \] This turns \( \frac{y}{x} \) into \( v \) and lets us separate variables.
  4. Step 4: Substitute into the equation. Dividing numerator and denominator by \( x \), \[ v + x\frac{dv}{dx} = \frac{x + vx}{x - vx} = \frac{1+v}{1-v}. \]
  5. Step 5: Isolate \( x\frac{dv}{dx} \): \[ x\frac{dv}{dx} = \frac{1+v}{1-v} - v = \frac{1+v - v(1-v)}{1-v} = \frac{1 + v^2}{1-v}. \]
  6. Step 6: Separate the variables \( v \) and \( x \): \[ \frac{1-v}{1+v^2}\,dv = \frac{dx}{x}. \] Split the left side into two integrable pieces: \[ \left( \frac{1}{1+v^2} - \frac{v}{1+v^2} \right) dv = \frac{dx}{x}. \]
  7. Step 7: Integrate both sides. Using standard results, \[ \tan^{-1} v - \frac{1}{2}\ln(1+v^2) = \ln|x| + C. \]
  8. Step 8: Replace \( v \) by \( \frac{y}{x} \). Since \( 1 + v^2 = 1 + \frac{y^2}{x^2} = \frac{x^2 + y^2}{x^2} \), we get \[ \tan^{-1}\frac{y}{x} - \frac{1}{2}\ln\frac{x^2+y^2}{x^2} = \ln|x| + C. \] Then \[ \tan^{-1}\frac{y}{x} - \frac{1}{2}\ln(x^2+y^2) + \frac{1}{2}\ln x^2 = \ln|x| + C. \] The terms \( \frac{1}{2}\ln x^2 = \ln|x| \) cancel with \( \ln|x| \).
  9. Step 9: Simplify to the final general solution: \[ \tan^{-1}\frac{y}{x} = \frac{1}{2}\ln(x^2 + y^2) + C. \]

Final Answer

\[ \tan^{-1}\frac{y}{x} = \frac{1}{2}\ln(x^2 + y^2) + C. \]

Common Mistake

A common mistake is forgetting to differentiate \( y = vx \) correctly and writing \( \frac{dy}{dx} = v \) instead of \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Missing the \( x\frac{dv}{dx} \) term makes the equation impossible to separate and gives a wrong answer.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite in the form dy/dx = F(x, y): Starting from \( (x - y)\,dy - (x + y)\,dx = 0 \), rearrange to isolate \( \frac{dy}{dx} \): \[ \frac{dy}{dx} = \frac{x + y}{x - y}. \] Reason: Expressing the equation as an explicit derivative makes it easier to analyse the structure of \( F(x, y) \) and choose an appropriate solution method.
  2. Step 2: Confirm the equation is homogeneous: Replace \( x \) with \( \lambda x \) and \( y \) with \( \lambda y \) in \( F(x,y) = \frac{x+y}{x-y} \): \[ F(\lambda x, \lambda y) = \frac{\lambda x + \lambda y}{\lambda x - \lambda y} = \frac{\lambda(x+y)}{\lambda(x-y)} = \frac{x+y}{x-y} = F(x,y). \] Since \( F(\lambda x, \lambda y) = F(x, y) \) for every \( \lambda \), the equation is homogeneous of degree zero. Reason: Only after confirming homogeneity can we validly apply the \( y = vx \) substitution.
  3. Step 3: Apply the substitution y = vx: Let \( y = vx \), so differentiating with respect to \( x \) gives \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Dividing numerator and denominator of the right-hand side by \( x \): \[ v + x\frac{dv}{dx} = \frac{1 + v}{1 - v}. \] Reason: The substitution reduces a two-variable problem to one involving only \( v \) and \( x \), making variable separation possible.
  4. Step 4: Isolate x dv/dx: Subtract \( v \) from both sides: \[ x\frac{dv}{dx} = \frac{1+v}{1-v} - v = \frac{1+v - v(1-v)}{1-v} = \frac{1 + v^2}{1-v}. \] Reason: We need the expression solely in terms of \( v \) on one side so that we can separate variables.
  5. Step 5: Separate variables: Rearrange to collect all \( v \)-terms on one side and \( x \)-terms on the other: \[ \frac{1-v}{1+v^2}\,dv = \frac{dx}{x}. \] Reason: Once variables are separated, each side can be integrated independently.
  6. Step 6: Integrate both sides: Split the left-hand side into two integrals: \[ \int \frac{1}{1+v^2}\,dv - \int \frac{v}{1+v^2}\,dv = \int \frac{dx}{x}. \] Evaluating each integral using the standard results: \[ \tan^{-1} v - \frac{1}{2}\ln(1+v^2) = \ln|x| + C. \] Reason: The two standard integral formulas apply directly after splitting the fraction.
  7. Step 7: Reverse the substitution v = y/x: Replace \( v \) with \( \frac{y}{x} \): \[ \tan^{-1}\frac{y}{x} - \frac{1}{2}\ln\!\left(1 + \frac{y^2}{x^2}\right) = \ln|x| + C. \] Now simplify \( \frac{1}{2}\ln\!\left(\frac{x^2 + y^2}{x^2}\right) \): \[ \frac{1}{2}\ln(x^2 + y^2) - \frac{1}{2}\ln(x^2) = \frac{1}{2}\ln(x^2+y^2) - \ln|x|. \] Substituting back: \[ \tan^{-1}\frac{y}{x} - \frac{1}{2}\ln(x^2+y^2) + \ln|x| = \ln|x| + C. \] The \( \ln|x| \) terms cancel, giving the general solution. Reason: Returning to the original variables and collecting logarithmic terms yields the final clean form.

Final Answer

\[ \tan^{-1}\frac{y}{x} = \frac{1}{2}\ln(x^2 + y^2) + C. \]

Common Mistake

One common mistake: forgetting to split \( \frac{1-v}{1+v^2} \) into two separate fractions before integrating — trying to integrate it as a single term leads to an incorrect result because the numerator is not a pure derivative of the denominator.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Rewrite: \[ \frac{dy}{dx} = \frac{x+y}{x-y} \] Substitute \( y = vx \): \[ v + x\frac{dv}{dx} = \frac{1+v}{1-v} \]
  2. Step 2: Isolate and separate: \[ x\frac{dv}{dx} = \frac{1+v}{1-v} - v = \frac{1+v^2}{1-v} \] so \[ \frac{1-v}{1+v^2}\,dv = \frac{dx}{x} \]
  3. Step 3: Integrate both sides: \[ \int \frac{1}{1+v^2}\,dv - \int \frac{v}{1+v^2}\,dv = \int \frac{dx}{x} \] giving \[ \tan^{-1}v - \frac{1}{2}\ln(1+v^2) = \ln|x| + C \]
  4. Step 4: Replace \( v = \frac{y}{x} \) and simplify using \( \ln|x| + \frac{1}{2}\ln\!\left(1+\frac{y^2}{x^2}\right) = \frac{1}{2}\ln(x^2+y^2) \): \[ \tan^{-1}\frac{y}{x} = \frac{1}{2}\ln(x^2+y^2) + C \]

Answer: \[ \tan^{-1}\frac{y}{x} = \frac{1}{2}\ln(x^2 + y^2) + C. \]

➕ More Examples

More Examples

Example 1

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

Solution: Step 1 — Rewrite in standard form. From \( (2x - y)\,dy + (2y - x)\,dx = 0 \), we get \[ \frac{dy}{dx} = \frac{x - 2y}{2x - y}. \] Step 2 — Verify homogeneity. Let \( F(x,y) = \frac{x - 2y}{2x - y} \). Then \[ F(tx, ty) = \frac{tx - 2ty}{2tx - ty} = \frac{t(x - 2y)}{t(2x - y)} = F(x,y). \] So the equation is homogeneous of degree 0. Step 3 — Substitute \( y = vx \). Put \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). The equation becomes \[ v + x\frac{dv}{dx} = \frac{x - 2vx}{2x - vx} = \frac{1 - 2v}{2 - v}. \] Step 4 — Separate variables. \[ x\frac{dv}{dx} = \frac{1 - 2v}{2 - v} - v = \frac{1 - 2v - v(2 - v)}{2 - v} = \frac{1 - 2v - 2v + v^2}{2 - v} = \frac{v^2 - 4v + 1}{2 - v}. \] Separating: \[ \frac{2 - v}{v^2 - 4v + 1}\,dv = \frac{dx}{x}. \] Step 5 — Integrate the left side. Note that \( \frac{d}{dv}(v^2 - 4v + 1) = 2v - 4 = -2(2 - v) \), so \( 2 - v = -\frac{1}{2}\cdot(2v - 4) \). Thus \[ \int \frac{2 - v}{v^2 - 4v + 1}\,dv = -\frac{1}{2}\int \frac{2v - 4}{v^2 - 4v + 1}\,dv = -\frac{1}{2}\ln|v^2 - 4v + 1| + C_1. \] The right side integrates to \( \ln|x| + C_2 \). Combining constants: \[ -\frac{1}{2}\ln|v^2 - 4v + 1| = \ln|x| + C. \] Multiply both sides by \(-2\): \[ \ln|v^2 - 4v + 1| = -2\ln|x| + K \quad (K = -2C). \] Exponentiating: \[ |v^2 - 4v + 1| = \frac{e^K}{x^2}. \] Step 6 — Back-substitute \( v = \frac{y}{x} \). Replace \( v \) with \( \frac{y}{x} \): \[ \left|\frac{y^2}{x^2} - \frac{4y}{x} + 1\right| = \frac{A}{x^2} \quad (A = e^K > 0). \] Multiply through by \( x^2 \): \[ |y^2 - 4xy + x^2| = A. \] Absorbing the sign into the arbitrary constant: \[ y^2 - 4xy + x^2 = C_1 \] where \( C_1 \) is an arbitrary constant.

Answer: \( y^2 - 4xy + x^2 = C \)

Example 2

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

Solution: Step 1 — Rewrite in standard form. \[ \frac{dy}{dx} = \frac{y}{x} + \tan\!\left(\frac{y}{x}\right). \] Step 2 — Verify homogeneity. Let \( F(x,y) = \frac{y}{x} + \tan\!\left(\frac{y}{x}\right) \). Then \[ F(tx, ty) = \frac{ty}{tx} + \tan\!\left(\frac{ty}{tx}\right) = \frac{y}{x} + \tan\!\left(\frac{y}{x}\right) = F(x,y). \] So the equation is homogeneous of degree 0. Step 3 — Substitute \( y = vx \). With \( y = vx \) and \( \frac{dy}{dx} = v + x\frac{dv}{dx} \): \[ v + x\frac{dv}{dx} = v + \tan(v). \] Simplify: \[ x\frac{dv}{dx} = \tan(v). \] Step 4 — Separate variables. \[ \frac{dv}{\tan(v)} = \frac{dx}{x}. \] This is the same as \[ \cot(v)\,dv = \frac{dx}{x}. \] Step 5 — Integrate both sides. \[ \int \cot(v)\,dv = \int \frac{dx}{x}. \] Left side: \( \int \cot(v)\,dv = \ln|\sin(v)| + C_1 \). Right side: \( \int \frac{dx}{x} = \ln|x| + C_2 \). Combining: \[ \ln|\sin(v)| = \ln|x| + \ln|C| \] where \( C \) is an arbitrary constant. This gives \[ \ln|\sin(v)| = \ln|Cx|, \] so \[ \sin(v) = Cx. \] Step 6 — Back-substitute \( v = \frac{y}{x} \). \[ \sin\!\left(\frac{y}{x}\right) = Cx. \]

Answer: \( \sin\!\left(\dfrac{y}{x}\right) = Cx \)

🎯 Try a Similar Question

Try a Similar Question

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

Solution

  1. Step 1: Rewrite in dy/dx form: Rearranging the given equation \( (2x - y)\,dy + (2y + x)\,dx = 0 \), we get: \[ \frac{dy}{dx} = -\frac{2y + x}{2x - y} \] Let \( F(x, y) = -\dfrac{2y + x}{2x - y} \).
  2. Step 2: Check for homogeneity: Replace \( x \) by \( \lambda x \) and \( y \) by \( \lambda y \): \[ F(\lambda x,\, \lambda y) = -\frac{2(\lambda y) + (\lambda x)}{2(\lambda x) - (\lambda y)} = -\frac{\lambda(2y + x)}{\lambda(2x - y)} = -\frac{2y + x}{2x - y} = F(x, y) \] Since \( F(\lambda x, \lambda y) = \lambda^{0} F(x, y) \), the equation is homogeneous of degree 0.
  3. Step 3: Substitute y = vx: Let \( y = vx \), so \( \dfrac{dy}{dx} = v + x\dfrac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} = -\frac{2(vx) + x}{2x - vx} = -\frac{x(2v + 1)}{x(2 - v)} = -\frac{2v + 1}{2 - v} \]
  4. Step 4: Separate variables: Subtract \( v \) from both sides: \[ x\frac{dv}{dx} = -\frac{2v + 1}{2 - v} - v = -\frac{2v + 1 + v(2 - v)}{2 - v} = -\frac{2v + 1 + 2v - v^2}{2 - v} = -\frac{-v^2 + 4v + 1}{2 - v} \] So: \[ x\frac{dv}{dx} = \frac{v^2 - 4v - 1}{2 - v} \] Separating variables: \[ \frac{2 - v}{v^2 - 4v - 1}\,dv = \frac{dx}{x} \]
  5. Step 5: Integrate the left side: Notice that the derivative of \( v^2 - 4v - 1 \) is \( 2v - 4 \). Write the numerator \( 2 - v \) as: \[ 2 - v = -\frac{1}{2}(2v - 4) \] Therefore: \[ \frac{2 - v}{v^2 - 4v - 1} = -\frac{1}{2} \cdot \frac{2v - 4}{v^2 - 4v - 1} \] Integrating both sides: \[ -\frac{1}{2}\int \frac{2v - 4}{v^2 - 4v - 1}\,dv = \int \frac{dx}{x} \] \[ -\frac{1}{2}\ln\left|v^2 - 4v - 1\right| = \ln|x| + C_1 \]
  6. Step 6: Simplify and back-substitute: Multiplying both sides by \(-2\): \[ \ln\left|v^2 - 4v - 1\right| = -2\ln|x| + C_2 \] where \( C_2 = -2C_1 \). This gives: \[ \ln\left|v^2 - 4v - 1\right| + 2\ln|x| = C_2 \] \[ \ln\left|x^2(v^2 - 4v - 1)\right| = C_2 \] So \( x^2(v^2 - 4v - 1) = C \) (absorbing the sign into the constant). Now substitute back \( v = \dfrac{y}{x} \): \[ x^2\left(\frac{y^2}{x^2} - \frac{4y}{x} - 1\right) = C \] \[ y^2 - 4xy - x^2 = C \]
  7. Step 7: State the general solution: The general solution of the given homogeneous differential equation is: \[ y^2 - 4xy - x^2 = C \] where \( C \) is an arbitrary constant.

Answer: \[ y^2 - 4xy - x^2 = C \]

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