English

D Y D X + Y = Cos X - Mathematics

Advertisements
Advertisements

Question

\[\frac{dy}{dx} + y = \cos x\]
Sum
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 . }\]

shaalaa.com
  Is there an error in this question or solution?
Chapter 22: Differential Equations - Exercise 22.10 [Page 106]

APPEARS IN

RD Sharma Mathematics [English] Class 12
Chapter 22 Differential Equations
Exercise 22.10 | Q 13 | Page 106

RELATED QUESTIONS

Solve the following differential equation: `(x^2-1)dy/dx+2xy=2/(x^2-1)`


\[\frac{dy}{dx} + 2y = e^{3x}\]

\[\frac{dy}{dx} + 2y = 6 e^x\]

\[\frac{dy}{dx} + y = e^{- 2x}\]

\[\frac{dy}{dx} + 2y = 4x\]

\[\frac{dy}{dx} + \frac{4x}{x^2 + 1}y + \frac{1}{\left( x^2 + 1 \right)^2} = 0\]

\[x\frac{dy}{dx} + y = x \log x\]

\[\frac{dy}{dx} + y = \sin x\]

\[\frac{dy}{dx} + 2y = \sin x\]

\[\frac{dy}{dx}\] = y tan x − 2 sin x


\[\left( 1 + x^2 \right)\frac{dy}{dx} + y = \tan^{- 1} x\]

\[\frac{dy}{dx}\] + y tan x = cos x


\[\left( 1 + y^2 \right) + \left( x - e^{tan^{- 1} y} \right)\frac{dy}{dx} = 0\]

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)


Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×