SOLVER7 Study. Nothing Else.
Exercise 9.4 Q8

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

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine a recipe where every ingredient scales up or down together. Some maths puzzles about rates of change behave just like that recipe. When both the main number and its companion grow by the same amount, a neat trick helps us untangle them. We swap the complicated mix for a simpler placeholder, sort out the easy bits, and then swap back. The answer tells us exactly how the two quantities stay connected, written as \( x\tan\left(\frac{y}{2x}\right) = C \).

Answer: The general solution is \[ x\tan\left(\frac{y}{2x}\right) = C, \] where \( C \) is an arbitrary constant.

📖 Solving a Homogeneous Differential Equation with sin(y/x)

Detailed Explanation

A first-order differential equation of the form \( \frac{dy}{dx} = F(x, y) \) is called homogeneous if \( F(x, y) \) can be written purely as a function of \( \frac{y}{x} \). In other words, when you replace \( x \) by \( \lambda x \) and \( y \) by \( \lambda y \), the function stays unchanged. To solve such equations we use the substitution \( y = vx \), which converts the equation into a variables-separable form in \( v \) and \( x \). After separating and integrating, we replace \( v \) by \( \frac{y}{x} \) to get the final solution.

Formula Used

Substitution: \( y = vx \) so that \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Also use \( \int \csc\theta \, d\theta = \ln\left|\tan\frac{\theta}{2}\right| + C \).

Solution

  1. Step 1: Rewrite the equation in the form \( \frac{dy}{dx} = F(x, y) \). Starting from \( x\frac{dy}{dx} - y + x\sin\left(\frac{y}{x}\right) = 0 \), we get \[ x\frac{dy}{dx} = y - x\sin\left(\frac{y}{x}\right) \] so \[ \frac{dy}{dx} = \frac{y - x\sin\left(\frac{y}{x}\right)}{x} = \frac{y}{x} - \sin\left(\frac{y}{x}\right). \]
  2. Step 2: Check that the equation is homogeneous. The right side depends only on \( \frac{y}{x} \), because it equals \( \frac{y}{x} - \sin\left(\frac{y}{x}\right) \). Replacing \( x \to \lambda x \) and \( y \to \lambda y \) leaves \( \frac{y}{x} \) unchanged, so \( F(x, y) \) is unchanged. Hence the differential equation is homogeneous.
  3. Step 3: Use the substitution \( y = vx \). Then \[ \frac{dy}{dx} = v + x\frac{dv}{dx}. \] Substituting into \( \frac{dy}{dx} = \frac{y}{x} - \sin\left(\frac{y}{x}\right) \) gives \[ v + x\frac{dv}{dx} = v - \sin v. \]
  4. Step 4: Cancel \( v \) from both sides and separate the variables. We get \[ x\frac{dv}{dx} = -\sin v \] which rearranges to \[ \frac{dv}{\sin v} = -\frac{dx}{x}. \] This step is important because now each side contains only one variable, so we can integrate directly.
  5. Step 5: Integrate both sides. Since \( \frac{1}{\sin v} = \csc v \), \[ \int \csc v \, dv = -\int \frac{dx}{x}. \] Using \( \int \csc v \, dv = \ln\left|\tan\frac{v}{2}\right| \), we obtain \[ \ln\left|\tan\frac{v}{2}\right| = -\ln|x| + \ln C. \]
  6. Step 6: Simplify using log rules. Combine the right side: \[ \ln\left|\tan\frac{v}{2}\right| = \ln\left|\frac{C}{x}\right|. \] Removing the logarithms gives \[ \tan\frac{v}{2} = \frac{C}{x}, \] which can be written as \[ x\tan\frac{v}{2} = C. \]
  7. Step 7: Replace \( v \) by \( \frac{y}{x} \) to return to the original variables. Since \( v = \frac{y}{x} \), we have \[ x\tan\left(\frac{y}{2x}\right) = C. \]

Final Answer

The general solution is \[ x\tan\left(\frac{y}{2x}\right) = C, \] where \( C \) is an arbitrary constant.

Common Mistake

A common mistake is forgetting to change \( \frac{dy}{dx} \) to \( v + x\frac{dv}{dx} \) after substituting \( y = vx \); students often write only \( \frac{dy}{dx} = v \), which drops the crucial \( x\frac{dv}{dx} \) term and gives a wrong equation. Another frequent error is forgetting to substitute \( v = \frac{y}{x} \) back at the end.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Isolate \( \frac{dy}{dx} \) from the given equation. Starting with \( x\frac{dy}{dx} - y + x\sin\left(\frac{y}{x}\right) = 0 \), divide both sides by \( x \) to get \[ \frac{dy}{dx} = \frac{y}{x} - \sin\left(\frac{y}{x}\right). \] Reason: Writing the equation in the form \( \frac{dy}{dx} = F(x, y) \) makes it easy to check whether it is homogeneous.
  2. Step 2: Confirm the equation is homogeneous. The right-hand side \( \frac{y}{x} - \sin\left(\frac{y}{x}\right) \) depends only on the ratio \( \frac{y}{x} \). Replacing \( x \to \lambda x \) and \( y \to \lambda y \) leaves \( \frac{y}{x} \) unchanged, so \( F(\lambda x, \lambda y) = F(x, y) \). Reason: Only homogeneous equations can be reduced to a separable form using the substitution \( y = vx \).
  3. Step 3: Apply the substitution \( y = vx \). Then \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting into the equation gives \[ v + x\frac{dv}{dx} = v - \sin(v). \] Simplify by subtracting \( v \) from both sides: \[ x\frac{dv}{dx} = -\sin(v). \] Reason: This substitution reduces the two-variable equation into a simpler equation relating \( v \) and \( x \) only.
  4. Step 4: Separate the variables \( v \) and \( x \). Rearranging \( x\frac{dv}{dx} = -\sin(v) \) gives \[ \frac{dv}{\sin(v)} = -\frac{dx}{x}, \] which can be written as \[ \csc(v) \, dv = -\frac{dx}{x}. \] Reason: Separating variables allows each side to be integrated independently.
  5. Step 5: Integrate both sides. The left side uses the standard result \( \int \csc(v) \, dv = \ln\left|\tan\frac{v}{2}\right| + C \), and the right side integrates to \( -\ln|x| \). So \[ \ln\left|\tan\frac{v}{2}\right| = -\ln|x| + \ln|C_1|, \] where \( \ln|C_1| \) is the constant of integration written in logarithmic form for convenience. Reason: Expressing the constant as \( \ln|C_1| \) makes combining logarithms on both sides straightforward.
  6. Step 6: Combine the logarithms. Using \( \ln A + \ln B = \ln(AB) \), the equation becomes \[ \ln\left|\tan\frac{v}{2}\right| + \ln|x| = \ln|C_1|, \] which simplifies to \[ \ln\left|x\tan\frac{v}{2}\right| = \ln|C_1|. \] Exponentiating both sides yields \[ x\tan\frac{v}{2} = C, \] where \( C \) absorbs the absolute value signs and is an arbitrary constant. Reason: Combining logarithms gives a compact algebraic relation between \( x \) and \( v \).
  7. Step 7: Back-substitute \( v = \frac{y}{x} \) to return to the original variables. Replacing \( v \) in \( x\tan\frac{v}{2} = C \) gives \[ x\tan\left(\frac{y}{2x}\right) = C. \] Reason: The substitution \( y = vx \) was introduced temporarily; restoring \( v = \frac{y}{x} \) expresses the solution in terms of the original variables \( x \) and \( y \).

Final Answer

The general solution is \[ x\tan\left(\frac{y}{2x}\right) = C, \] where \( C \) is an arbitrary constant.

Common Mistake

One common mistake: forgetting to replace \( v \) with \( \frac{y}{x} \) at the end, leaving the answer in terms of the substitution variable \( v \) rather than in terms of the original variables \( x \) and \( y \).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Rewrite: \[ \frac{dy}{dx} = \frac{y}{x} - \sin\left(\frac{y}{x}\right) \] Substitute \( y = vx \): \[ v + x\frac{dv}{dx} = v - \sin v \] so \[ x\frac{dv}{dx} = -\sin v \]
  2. Step 2: Separate variables: \[ \frac{dv}{\sin v} = -\frac{dx}{x} \] Integrate: \[ \int \csc v \, dv = -\int \frac{dx}{x} \] giving \[ \ln\left|\tan\frac{v}{2}\right| = -\ln|x| + \ln|C_1| \]
  3. Step 3: Simplify: \[ \ln\left|\tan\frac{v}{2}\right| + \ln|x| = \ln|C_1| \] so \[ x\tan\frac{v}{2} = C \] Replace \( v = \frac{y}{x} \): \[ x\tan\left(\frac{y}{2x}\right) = C \]

Answer: The general solution is \[ x\tan\left(\frac{y}{2x}\right) = C, \] where \( C \) is an arbitrary constant.

➕ More Examples

More Examples

Example 1

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

Solution: Step 1 — Check homogeneity. Rewrite the equation as \[ \frac{dy}{dx} = \frac{y - x\cos^2\!\left(\dfrac{y}{x}\right)}{x} = \frac{y}{x} - \cos^2\!\left(\frac{y}{x}\right). \] The right-hand side depends only on \( \frac{y}{x} \), so the equation is homogeneous. Step 2 — Substitute \( y = vx \). Let \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} = v - \cos^2 v. \] Step 3 — Simplify. Subtracting \( v \) from both sides: \[ x\frac{dv}{dx} = -\cos^2 v. \] Step 4 — Separate variables. \[ \frac{dv}{\cos^2 v} = -\frac{dx}{x}. \] This can be written as \[ \sec^2 v \, dv = -\frac{dx}{x}. \] Step 5 — Integrate both sides. \[ \int \sec^2 v \, dv = -\int \frac{dx}{x}. \] \[ \tan v = -\ln|x| + C. \] Step 6 — Back-substitute \( v = \frac{y}{x} \). \[ \tan\!\left(\frac{y}{x}\right) = -\ln|x| + C. \] This is the general solution.

Answer: \( \tan\!\left(\dfrac{y}{x}\right) + \ln|x| = C \)

Example 2

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

Solution: Step 1 — Check homogeneity. Rewrite as \[ \frac{dy}{dx} = \frac{x^2 + y^2}{2xy}. \] Dividing numerator and denominator by \( x^2 \): \[ \frac{dy}{dx} = \frac{1 + \left(\frac{y}{x}\right)^2}{2\cdot\frac{y}{x}}. \] The right-hand side is a function of \( \frac{y}{x} \) alone, so the equation is homogeneous. Step 2 — Substitute \( y = vx \). Let \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} = \frac{1 + v^2}{2v}. \] Step 3 — Simplify. \[ x\frac{dv}{dx} = \frac{1 + v^2}{2v} - v = \frac{1 + v^2 - 2v^2}{2v} = \frac{1 - v^2}{2v}. \] Step 4 — Separate variables. \[ \frac{2v}{1 - v^2}\,dv = \frac{dx}{x}. \] Step 5 — Integrate both sides. For the left side, note that \( \frac{d}{dv}(1 - v^2) = -2v \), so \[ \int \frac{2v}{1 - v^2}\,dv = -\ln|1 - v^2| + C_1. \] For the right side, \[ \int \frac{dx}{x} = \ln|x| + C_2. \] Combining (absorbing constants): \[ -\ln|1 - v^2| = \ln|x| + \ln|C| \] (writing the arbitrary constant as \( \ln|C| \) for convenience). This gives \[ \ln\frac{1}{|1 - v^2|} = \ln|Cx|, \] so \[ \frac{1}{1 - v^2} = Cx \] or equivalently \[ 1 - v^2 = \frac{1}{Cx}. \] Step 6 — Back-substitute \( v = \frac{y}{x} \). \[ 1 - \frac{y^2}{x^2} = \frac{1}{Cx}. \] Multiplying through by \( x^2 \): \[ x^2 - y^2 = \frac{x^2}{Cx} = \frac{x}{C}. \] Replacing \( \frac{1}{C} \) with a new constant \( k \): \[ x^2 - y^2 = kx. \] This is the general solution.

Answer: \( x^2 - y^2 = kx \), where \( k \) is an arbitrary constant.

🎯 Try a Similar Question

Try a Similar Question

Question: Show that the following differential equation is homogeneous and solve it: \[ x\frac{dy}{dx} = y - x\cos^2\!\left(\frac{y}{x}\right). \]

Solution

  1. Step 1 — Rewrite and check homogeneity: Rewrite the equation as \( \frac{dy}{dx} = \frac{y}{x} - \cos^2\!\left(\frac{y}{x}\right) \). The right-hand side depends only on \( \frac{y}{x} \), so the equation is homogeneous of degree 0.
  2. Step 2 — Apply the substitution y = vx: Let \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting into the equation gives \[ v + x\frac{dv}{dx} = v - \cos^2 v. \]
  3. Step 3 — Simplify: Cancelling \( v \) from both sides: \[ x\frac{dv}{dx} = -\cos^2 v. \]
  4. Step 4 — Separate variables: Separating variables (assuming \( \cos v \ne 0 \)): \[ \frac{dv}{\cos^2 v} = -\frac{dx}{x}, \] which can be written as \[ \sec^2 v \, dv = -\frac{dx}{x}. \]
  5. Step 5 — Integrate both sides: Integrating both sides: \[ \int \sec^2 v \, dv = -\int \frac{dx}{x}. \] This gives \[ \tan v = -\ln|x| + C, \] where \( C \) is an arbitrary constant.
  6. Step 6 — Back-substitute v = y/x: Replace \( v \) with \( \frac{y}{x} \): \[ \tan\left(\frac{y}{x}\right) = -\ln|x| + C. \] This can also be written as \[ \tan\left(\frac{y}{x}\right) + \ln|x| = C. \]

Answer: The general solution is \[ \tan\left(\frac{y}{x}\right) + \ln|x| = 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