Question:

Let \(y=y(x)\) satisfies the equation
\(\frac{dy}{dx}-|A|=0\)
for all \(x\gt0\), where
\(A=\begin{bmatrix}y&\sin x&1\\0&-1&1\\2&0&\frac1x\end{bmatrix}\).
If \(y(\pi)=\pi+2\), then the value of \(y\left(\frac\pi2\right)\) is :

Show Hint

Expand \(|A|\) along the first column to get a linear ODE \(\frac{dy}{dx}+\frac yx=2\sin x+2\), then use the integrating factor \(x\).
Updated On: Nov 4, 2026
  • \(\frac{\pi}{2}+\frac{4}{\pi}\)
  • \(\frac{\pi}{2}-\frac{1}{\pi}\)
  • \(\frac{3\pi}{2}-\frac{1}{\pi}\)
  • \(\frac{\pi}{2}-\frac{4}{\pi}\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Expanding along the first column: \(|A|=y\left(-\frac1x-0\right)+2\left(\sin x\cdot1-1\cdot(-1)\right)=-\frac yx+2\sin x+2\).
So \(\frac{dy}{dx}+\frac yx=2\sin x+2\). Integrating factor \(=x\): \(\frac{d(xy)}{dx}=2x\sin x+2x\).
\(xy=-2x\cos x+2\sin x+x^2+C\).
At \(x=\pi\): \(\pi(\pi+2)=2\pi+0+\pi^2+C\Rightarrow C=0\).
At \(x=\frac\pi2\): \(\frac\pi2\,y=0+2+\frac{\pi^2}{4}\Rightarrow y\left(\frac\pi2\right)=\frac4\pi+\frac\pi2\).
Answer: (1) \(\frac{\pi}{2}+\frac{4}{\pi}\)
Was this answer helpful?
0
0