The solution of the differential equation \(\frac{{dy}}{{dx}} = \cos \left( {y - x} \right) + 1\) is
- AOption (a)
ex [sec (y – x) – tan (y – x)] = c
- BOption (b)
ex [sec (y – x) + tan (y – x)] = c
- COption (c)
ex sec (y – x) tan (y – x) = c
- DOption (d)
ex = c sec (y – x) tan (y – x)
View answer & explanationHide answer & explanation
Correct answer
ex [sec (y – x) – tan (y – x)] = c
Why this answer is correct
Calculation:
Given: \(\frac{{dy}}{{dx}} = \cos \left( {y - x} \right) + 1\)
Let y – x = t
Now, by differentiating both the sides w.r.t x, we get
\(⇒ \frac{{dy}}{{dx}} - 1 = \frac{{dt}}{{dx}}\)
\(⇒ \frac{{dy}}{{dx}} = 1 + \frac{{dt}}{{dx}}\)
So, the given differential equation can be written as
\(⇒ 1 + \frac{{dt}}{{dx}} = \cos t + 1\)
\(⇒ \frac{{dt}}{{dx}} = \cos t\)
\(⇒ \sec t;dt = dx\)
Now, by integrating both the sides we get
\(\smallint \sec t;dt = \smallint dx\)
As we know that, \(\smallint \sec x;dx = \log \left| {sec;x + \tan x} \right|; + C\)
\(⇒ \log \left| {\sec t + \tan t} \right| = x + C\)
Taking ant-log both the sides we get
\(⇒ \sec t + \tan t = {e^x} \times {e^C}\)
Now, substitute t = y – x in the above equation, we get
\(⇒ {e^x} = c \times \left[ {\sec \left( {y - x} \right); + \tan \left( {y - x} \right)} \right],;where;c = {e^{ - C}}\)
We know that sec2 A - tan2 A = 1
⇒ (sec A - tan A) (sec A + tan A) = 1
⇒ (sec A + tan A) = \(\frac{1}{\sec A - \tan A}\)
∴ sec (y - x) + tan (y - x) = \(\frac{1}{\sec (y - x) - \tan (y -x)}\)
Now, \({e^x} = c \times \left[ {\sec \left( {y - x} \right); + \tan \left( {y - x} \right)} \right]\)
⇒ \({e^x} = c \times \frac{1}{\sec (y - x) - \tan (y - x)}\)
⇒ ex [sec (y – x) – tan (y – x)] = c