Advertisements
Advertisements
Question
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)`
Solve the differential equation ` (1 + x2) dy/dx+y=e^(tan^(−1))x.`
Solve the differential equation `sin^(-1) (dy/dx) = x + y`
\[\frac{dy}{dx}\] = y tan x − 2 sin x
\[\frac{dy}{dx}\] + y tan x = cos x
\[\frac{dy}{dx}\] + y cot x = x2 cot x + 2x
Find the equation of the curve passing through the point (0, 2) given that the sum of the coordinates of any point on the curve exceeds the magnitude of the slope of the tangent to the curve at that point by 5.
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?
Solve the differential equation : `"x"(d"y")/(d"x") + "y" - "x" + "xy"cot"x" = 0; "x" != 0.`
Solve the following differential equation :
`"dy"/"dx" + "y" = cos"x" - sin"x"`
Solve the differential equation `"dy"/"dx" + y/x` = x2.
`("d"y)/("d"x) + y/(xlogx) = 1/x` is an equation of the type ______.
Correct substitution for the solution of the differential equation of the type `("d"y)/("d"x) = "f"(x, y)`, where f(x, y) is a homogeneous function of zero degree is y = vx.
Correct substitution for the solution of the differential equation of the type `("d"x)/("d"y) = "g"(x, y)` where g(x, y) is a homogeneous function of the degree zero is x = vy.
If ex + ey = ex+y, then `"dy"/"dx"` is:
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 ______.
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.
Which of the following solutions may be used to find the number of children who have been given the polio drops?
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
The solution of the differential equation `(dy)/(dx) = 1 + x + y + xy` when y = 0 at x = – 1 is
Form the differential equation of the family of parabolas having vertex at origin and axis along positive y-axis.
Solve the differential equation: xdy – ydx = `sqrt(x^2 + y^2)dx`
Solve the following differential equation: (y – sin2x)dx + tanx dy = 0
Find the general solution of the differential equation: (x3 + y3)dy = x2ydx
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)
The solution of the differential equation `(1 + y^2) + (x - e^(tan^-1y)) (dy)/(dx)` = 0, is ______.