Advertisements
Advertisements
Question
Advertisements
Solution
We have,
\[\frac{dy}{dx} + y = \cos x . . . . . \left( 1 \right)\]
Clearly, it is a linear differential equation of the form
\[\frac{dy}{dx} + Py = Q\]
where
\[P = 1\]
\[Q = \cos x \]
\[ \therefore \text{I.F.} = e^{\int P\ dx} \]
\[ = e^{\int dx} \]
\[ = e^x \]
\[\text{ Multiplying both sides of }(1)\text{ by }e^x ,\text{ we get }\]
\[ e^x \left( \frac{dy}{dx} + y \right) = e^x \cos x \]
\[ \Rightarrow e^x \frac{dy}{dx} + e^x y = e^x \cos x\]
Integrating both sides with respect to x, we get
\[y e^x = \int e^x \cos x dx + C\]
\[ \Rightarrow y e^x = \frac{1}{2}\int e^x \left[ \left( \cos x + \sin x \right) + \left( - \sin x + \cos x \right) \right] dx + C\]
\[ \Rightarrow y e^x = \frac{e^x}{2}\left( \cos x + \sin x \right) + C\]
\[ \Rightarrow y = \frac{1}{2}\left( \cos x + \sin x \right) + C e^{- x} \]
\[\text{ Hence, }y = \frac{1}{2}\left( \cos x + \sin x \right) + C e^{- x}\text{ is the required solution . }\]
APPEARS IN
RELATED QUESTIONS
Solve the following differential equation: `(x^2-1)dy/dx+2xy=2/(x^2-1)`
\[\frac{dy}{dx}\] = y tan x − 2 sin x
\[\frac{dy}{dx}\] + y tan x = cos x
The decay rate of radium at any time t is proportional to its mass at that time. Find the time when the mass will be halved of its initial mass.
Experiments show that radium disintegrates at a rate proportional to the amount of radium present at the moment. Its half-life is 1590 years. What percentage will disappear in one year?
A wet porous substance in the open air loses its moisture at a rate proportional to the moisture content. If a sheet hung in the wind loses half of its moisture during the first hour, when will it have lost 95% moisture, weather conditions remaining the same.
Solve the differential equation `"dy"/"dx" + y/x` = x2.
`"dy"/"dx" + y` = 5 is a differential equation of the type `"dy"/"dx" + "P"y` = Q but it can be solved using variable separable method also.
Polio drops are delivered to 50 K children in a district. The rate at which polio drops are given is directly proportional to the number of children who have not been administered the drops. By the end of 2nd week half the children have been given the polio drops. How many will have been given the drops by the end of 3rd week can be estimated using the solution to the differential equation `"dy"/"dx" = "k"(50 - "y")` where x denotes the number of weeks and y the number of children who have been given the drops.
The solution of the differential equation `"dy"/"dx" = "k"(50 - "y")` is given by ______.
The solution of the differential equation `(dx)/(dy) + Px = Q` where P and Q are constants or functions of y, is given by
If α, β are different values of x satisfying the equation a cos x + b sinα x = c, where a, b and c are constants, then `tan ((alpha + beta)/2)` is
Solve the following differential equation: (y – sin2x)dx + tanx dy = 0
Let y = y(x) be the solution of the differential equation `(dy)/(dx) + (sqrt(2)y)/(2cos^4x - cos2x) = xe^(tan^-1(sqrt(2)cost2x)), 0 < x < π/2` with `y(π/4) = π^2/32`. If `y(π/3) = π^2/18e^(-tan^-1(α))`, then the value of 3α2 is equal to ______.
If y = y(x) is the solution of the differential equation `(1 + e^(2x))(dy)/(dx) + 2(1 + y^2)e^x` = 0 and y(0) = 0, then `6(y^'(0) + (y(log_esqrt(3))))^2` is equal to ______.
Let y = y(x) be the solution of the differential equation `e^xsqrt(1 - y^2)dx + (y/x)dy` = 0, y(1) = –1. Then, the value of (y(3))2 is equal to ______.
Let y = y(x) be the solution of the differential equation, `(2 + sinxdy)/(y + 1) (dy)/(dx)` = –cosx. If y > 0, y(0) = 1. If y(π) = a, and `(dy)/(dx)` at x = π is b, then the ordered pair (a, b) is equal to ______.
Let y = y(x) be the solution of the differential equation, `(x^2 + 1)^2 ("dy")/("d"x) + 2x(x^2 + 1)"y"` = 1, such that y(0) = 0. If `sqrt("ay")(1) = π/32` then the value of 'a' is ______.
If y = f(x), f'(0) = f(0) = 1 and if y = f(x) satisfies `(d^2y)/(dx^2) + (dy)/(dx)` = x, then the value of [f(1)] is ______ (where [.] denotes greatest integer function)
