If $\sin \left(\frac{y}{x}\right)=\log _e|x|+\frac{\alpha}{2}$ is the solution of the differential equation $x \cos \left(\frac{y}{x}\right) \frac{d y}{d x}=y \cos \left(\frac{y}{x}\right)+x$ and $y(1)= \frac{\pi}{3}$, then $\alpha^2$ is equal to
Select the correct option:
A
3
B
12
C
4
D
9
✓ Correct! Well done.
✗ Incorrect. Try again or view the solution.
Solution
Differential equation :-
$$
\begin{aligned}
& x \cos \frac{y}{x} \frac{d y}{d x}=y \cos \frac{y}{x}+x \\
& \cos \frac{y}{x}\left[x \frac{d y}{d x}-y\right]=x
\end{aligned}
$$
Divide both sides by $\mathrm{x}^2$
$$
\cos \frac{y}{x}\left(\frac{x \frac{d y}{d x}-y}{x^2}\right)=\frac{1}{x}
$$
Let $\frac{y}{x}=t$
$$
\begin{aligned}
& \cos t\left(\frac{d t}{d x}\right)=\frac{1}{x} \\
& \cos t d t=\frac{1}{x} d x
\end{aligned}
$$
Integrating both sides
$$
\begin{aligned}
& \sin t=\ln |x|+c \\
& \sin \frac{y}{x}=\ln |x|+c
\end{aligned}
$$
Using $y(1)=\frac{\pi}{3}$, we get $c=\frac{\sqrt{3}}{2}$
So, $\alpha=\sqrt{3} \Rightarrow \alpha^2=3$
Hello 👋 Welcome to Competishun – India’s most trusted platform for JEE & NEET preparation. Need help with JEE / NEET courses, fees, batches, test series or free study material? Chat with us now 👇