Solution of \(\displaystyle\frac{dy}{dx}=2^{y-x}\) is :
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → \(2^{-y}-2^{-x}=k\)
Since \(2^{y-x} = 2^y\cdot 2^{-x}\), the variables separate:
\( \displaystyle \frac{dy}{2^y} = 2^{-x}\,dx \)
\( \displaystyle \int 2^{-y}\,dy = \int 2^{-x}\,dx \)
Using \(\int a^{-t}\,dt = -\frac{a^{-t}}{\log a} + C\):
\( \displaystyle -\frac{2^{-y}}{\log 2} = -\frac{2^{-x}}{\log 2} + C \)
Multiplying by \(-\log 2\) and writing \(k = -C\log 2\):
\(2^{-y} = 2^{-x} + k\)
\(2^{-y} - 2^{-x} = k\)