Solve the differential equation :
\(x\dfrac{dy}{dx}=y-x\ tan\dfrac{y}{x}\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine a puzzle where every piece looks the same when you zoom in or zoom out — that is what this equation is like. We notice that swapping \( y \) for \( vx \) turns a tricky puzzle into a simpler one. After the swap, extra pieces cancel out nicely. We then sort the pieces into two separate groups and add them up on each side. The answer tells us a hidden relationship between \( x \) and \( y \) that stays constant throughout.
Answer: The general solution is \[x\sin\frac{y}{x} = C,\] where \(C\) is an arbitrary constant.
A first-order differential equation is called homogeneous if it can be written in the form \(\frac{dy}{dx} = F\left(\frac{y}{x}\right)\), that is, the right-hand side depends only on the ratio \(\frac{y}{x}\). Our equation \(x\frac{dy}{dx} = y - x\tan\frac{y}{x}\) fits this pattern after dividing by \(x\). To solve such equations we use the substitution \(y = vx\), where \(v\) is a function of \(x\). This converts the equation into a variables-separable equation in \(v\) and \(x\), which we can then integrate.
Substitution for a homogeneous equation: \(y = vx\) so that \(\frac{dy}{dx} = v + x\frac{dv}{dx}\). Also \(\int \cot v \, dv = \ln|\sin v| + C\).
The general solution is \[x\sin\frac{y}{x} = C,\] where \(C\) is an arbitrary constant.
A common mistake is to forget to replace \(\frac{dy}{dx}\) with \(v + x\frac{dv}{dx}\) after substituting \(y = vx\); students often write only \(\frac{dy}{dx} = v\), which is wrong and leads to an incorrect answer.
The general solution is \[x\sin\frac{y}{x} = C,\] where \(C\) is an arbitrary constant.
One common mistake: Students often forget to back-substitute \( v = \frac{y}{x} \) at the end, leaving the answer incorrectly expressed in terms of \( v \) instead of the original variables \( x \) and \( y \).
Answer: The general solution is \[x\sin\frac{y}{x} = C,\] where \(C\) is an arbitrary constant.
Question: Solve the differential equation: \( x\,\frac{dy}{dx} = y + x\cot\!\left(\frac{y}{x}\right) \)
Solution: Step 1: Rewrite the equation. Divide both sides by \( x \): \[ \frac{dy}{dx} = \frac{y}{x} + \cot\!\left(\frac{y}{x}\right) \] This is a homogeneous equation since the right-hand side is a function of \( \frac{y}{x} \) alone. Step 2: Substitute \( y = vx \). Let \( v = \frac{y}{x} \), so \( y = vx \) and \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} = v + \cot v \] Step 3: Simplify. Subtract \( v \) from both sides: \[ x\frac{dv}{dx} = \cot v \] Step 4: Separate variables. \[ \frac{dv}{\cot v} = \frac{dx}{x} \] which is the same as \[ \tan v \, dv = \frac{dx}{x} \] Step 5: Integrate both sides. \[ \int \tan v \, dv = \int \frac{dx}{x} \] \[ -\ln|\cos v| = \ln|x| + C_1 \] Step 6: Simplify using logarithm properties. Multiply both sides by \( -1 \): \[ \ln|\cos v| = -\ln|x| + C_2 \] This gives \[ \ln|\cos v| + \ln|x| = C_2 \] \[ \ln|x\cos v| = C_2 \] Exponentiating: \[ x\cos v = C \quad \text{(where } C \text{ is an arbitrary constant)} \] Step 7: Back-substitute \( v = \frac{y}{x} \). \[ x\cos\!\left(\frac{y}{x}\right) = C \]
Answer: \( x\cos\!\left(\dfrac{y}{x}\right) = C \)
Question: Solve the differential equation: \( x\,\frac{dy}{dx} = y - x\sin^2\!\left(\frac{y}{x}\right) \)
Solution: Step 1: Rewrite the equation. Divide both sides by \( x \): \[ \frac{dy}{dx} = \frac{y}{x} - \sin^2\!\left(\frac{y}{x}\right) \] The right-hand side is a function of \( \frac{y}{x} \) only, confirming this is a homogeneous equation. Step 2: Substitute \( y = vx \). Let \( v = \frac{y}{x} \), so \( y = vx \) and \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} = v - \sin^2 v \] Step 3: Simplify. Subtract \( v \) from both sides: \[ x\frac{dv}{dx} = -\sin^2 v \] Step 4: Separate variables. \[ \frac{dv}{\sin^2 v} = -\frac{dx}{x} \] which is the same as \[ \csc^2 v \, dv = -\frac{dx}{x} \] Step 5: Integrate both sides. \[ \int \csc^2 v \, dv = -\int \frac{dx}{x} \] \[ -\cot v = -\ln|x| + C_1 \] Step 6: Rearrange. Multiply through by \( -1 \): \[ \cot v = \ln|x| - C_1 \] Writing \( C = -C_1 \) as an arbitrary constant: \[ \cot v = \ln|x| + C \] Step 7: Back-substitute \( v = \frac{y}{x} \). \[ \cot\!\left(\frac{y}{x}\right) = \ln|x| + C \]
Answer: \( \cot\!\left(\dfrac{y}{x}\right) = \ln|x| + C \)
Question: Solve the differential equation: \[ x\frac{dy}{dx} = y + x\cot\frac{y}{x} \]
Answer: The general solution is \[ x\cos\frac{y}{x} = C \] where \( C \) is an arbitrary constant.