Find the particular solution of the differential equation given by \(x^2\dfrac{dy}{dx}-xy=x^2\ cos^2\left(\dfrac{y}{2x}\right),\) given that when \( x = 1, \ y =\dfrac{\pi}{2}.\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine a recipe where all the ingredients scale together perfectly. This equation is like that — everything depends on the ratio of two quantities, not on them separately. We make a clever swap to simplify the problem, like converting a tricky recipe into a simpler one. After solving, we use a known value to find the exact answer. The final relationship between the two quantities turns out to be neat and clean.
Answer: \[2\tan\left(\frac{y}{2x}\right) = \ln|x| + 2\]
A first-order differential equation is called homogeneous if it can be written as \(\dfrac{dy}{dx} = F\left(\dfrac{y}{x}\right)\), that is, the right-hand side depends only on the ratio \(\dfrac{y}{x}\). Such equations are solved by the substitution \(y = vx\), which converts them into a variables-separable equation in \(v\) and \(x\). Here, after dividing the given equation by \(x^2\), every term on the right depends only on \(\dfrac{y}{x}\), so it is homogeneous. Once we get the general solution, we use the given condition \(x = 1, \ y = \dfrac{\pi}{2}\) to evaluate the constant \(C\) and obtain the particular solution.
Substitution: \( y = vx \Rightarrow \dfrac{dy}{dx} = v + x\dfrac{dv}{dx} \). Useful integral: \( \int \sec^2 u \, du = \tan u + C \).
\[2\tan\left(\frac{y}{2x}\right) = \ln|x| + 2\]
A common mistake is forgetting the factor of 2 when integrating \(\sec^2\left(\frac{v}{2}\right)\). Since the angle is \(\frac{v}{2}\), the integral is \(2\tan\left(\frac{v}{2}\right)\), not \(\tan\left(\frac{v}{2}\right)\). Missing this factor leads to a wrong value of the constant \(C\).
\[2\tan\left(\frac{y}{2x}\right) = \ln|x| + 2\]
One common mistake: When integrating \( \int \sec^2\!\left(\frac{v}{2}\right) dv \), students forget to apply the chain rule compensation and write \( \tan\!\left(\frac{v}{2}\right) \) instead of the correct \( 2\tan\!\left(\frac{v}{2}\right) \), which leads to an incorrect general solution and a wrong value of \( C \).
Answer: \[2\tan\left(\frac{y}{2x}\right) = \ln|x| + 2\]
Question: Find the particular solution of the differential equation \[ x^2 \frac{dy}{dx} - xy = x^2 \sin^2\!\left(\frac{y}{2x}\right), \] given that when \( x = 1 \), \( y = \pi \).
Solution: Step 1: Rewrite the equation. Dividing both sides by \( x^2 \): \[ \frac{dy}{dx} - \frac{y}{x} = \sin^2\!\left(\frac{y}{2x}\right). \] Step 2: Use the homogeneous substitution \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} - v = \sin^2\!\left(\frac{v}{2}\right). \] This simplifies to \[ x\frac{dv}{dx} = \sin^2\!\left(\frac{v}{2}\right). \] Step 3: Separate variables: \[ \frac{dv}{\sin^2\!\left(\dfrac{v}{2}\right)} = \frac{dx}{x}. \] Note that \( \frac{1}{\sin^2(v/2)} = \csc^2\!\left(\frac{v}{2}\right) \). Integrating both sides: \[ \int \csc^2\!\left(\frac{v}{2}\right) dv = \int \frac{dx}{x}. \] Step 4: Evaluate the left integral. Let \( u = \frac{v}{2} \), so \( dv = 2\,du \): \[ 2\int \csc^2(u)\,du = -2\cot(u) + C = -2\cot\!\left(\frac{v}{2}\right) + C. \] Therefore: \[ -2\cot\!\left(\frac{v}{2}\right) = \ln|x| + C. \] Step 5: Replace \( v = \frac{y}{x} \): \[ -2\cot\!\left(\frac{y}{2x}\right) = \ln|x| + C. \] Step 6: Apply the initial condition \( x = 1, y = \pi \): \[ -2\cot\!\left(\frac{\pi}{2}\right) = \ln(1) + C. \] Since \( \cot\!\left(\frac{\pi}{2}\right) = 0 \) and \( \ln(1) = 0 \), we get \( C = 0 \). Step 7: The particular solution is \[ -2\cot\!\left(\frac{y}{2x}\right) = \ln|x|. \] This can also be written as \[ 2\cot\!\left(\frac{y}{2x}\right) + \ln|x| = 0. \]
Answer: \[ 2\cot\!\left(\frac{y}{2x}\right) + \ln|x| = 0 \]
Question: Find the particular solution of the differential equation \[ x^2\frac{dy}{dx} = xy + x^2\tan\!\left(\frac{y}{x}\right), \] given that when \( x = 1 \), \( y = 0 \).
Solution: Step 1: Rewrite by dividing both sides by \( x^2 \): \[ \frac{dy}{dx} = \frac{y}{x} + \tan\!\left(\frac{y}{x}\right). \] Step 2: Use the substitution \( y = vx \), so \( \frac{dy}{dx} = v + x\frac{dv}{dx} \). Substituting: \[ v + x\frac{dv}{dx} = v + \tan(v). \] This simplifies to \[ x\frac{dv}{dx} = \tan(v). \] Step 3: Separate variables: \[ \frac{dv}{\tan(v)} = \frac{dx}{x}, \] which is equivalent to \[ \cot(v)\,dv = \frac{dx}{x}. \] Step 4: Integrate both sides: \[ \int \cot(v)\,dv = \int \frac{dx}{x}. \] \[ \ln|\sin(v)| = \ln|x| + C. \] Step 5: Replace \( v = \frac{y}{x} \): \[ \ln\!\left|\sin\!\left(\frac{y}{x}\right)\right| = \ln|x| + C. \] Step 6: Apply the initial condition \( x = 1, y = 0 \). Note \( \sin(0) = 0 \), so \( \ln|\sin(0)| \) is undefined. We revisit by writing the general solution in exponential form before applying the condition. Exponentiating: \[ \left|\sin\!\left(\frac{y}{x}\right)\right| = e^C \cdot |x|, \] so \[ \sin\!\left(\frac{y}{x}\right) = Ax \] where \( A \) is a constant. Applying \( x = 1, y = 0 \): \[ \sin(0) = A \cdot 1 \Rightarrow A = 0. \] Step 7: The particular solution is \[ \sin\!\left(\frac{y}{x}\right) = 0, \] which means \( \frac{y}{x} = n\pi \) for integer \( n \). The solution branch passing through \( (1, 0) \) with \( n = 0 \) gives \[ y = 0. \] Checking: if \( y = 0 \), then \( \frac{dy}{dx} = 0 \) and the right side equals \( 0 + \tan(0) = 0 \). The solution is consistent. The particular solution is \[ y = 0. \]
Answer: \[ y = 0 \]
Question: Find the particular solution of the differential equation \[ x^2 \frac{dy}{dx} - xy = x^2 \sec^2\!\left(\frac{y}{x}\right), \] given that when \( x = 1 \), \( y = 0 \).
Answer: \[ \frac{2y}{x} + \sin\!\left(\frac{2y}{x}\right) = 4\ln|x| \]