English

Solve the following differential equation : "dy"/"dx" + "y" = cos"x" - sin"x" - Mathematics

Advertisements
Advertisements

Question

Solve the following differential equation :

`"dy"/"dx" + "y" = cos"x" - sin"x"`

Sum

Solution

Given:
`"dy"/"dx" + "y" = cos"x" - sin"x"` ............(1)

This differential equation is a linear differential equation of the form `"dy"/"dx"+"PQ"="Q"`

P = 1, Q  = cos x  - sin x

I.F. = e∫Pdx = e∫1dx = ex

Now multiply (1) with the I.F. we get

`"e"^"x"("dy"/"dx"+"y") = "e"^"x"(cos"x"-sin"x")`

Integrating both sides with respect to x.
yex=∫excosx-sinxdx+C⇒yex=∫excosxdx-∫exsinxdx+C⇒yex=excosx-∫-sinxexdx-∫exsinxdx+C⇒yex=excosx+∫exsinxdx-∫exsinxdx+C⇒yex=excosx+C">

yex = ∫ex (cos x -sin s)dx + C

⇒ yex = ∫ex cos xdx - ∫exsin xdx + C

⇒ yex = ex cosx - ∫(- sinx)exdx - ∫exsin xdx + C

⇒ yex = ex cosx + ∫exsin xdx - ∫exsin xdx + C

⇒ yex = ex cosx + C

Thus, yex = ex cosx + C is the required solution of the given differential equation.

shaalaa.com
  Is there an error in this question or solution?
2018-2019 (March) 65/4/3

RELATED QUESTIONS

Find the integrating factor for the following differential equation:`x logx dy/dx+y=2log x`


Find the integrating factor of the differential equation.

`((e^(-2^sqrtx))/sqrtx-y/sqrtx)dy/dx=1`


Solve the differential equation ` (1 + x2) dy/dx+y=e^(tan^(−1))x.`


Solve `sin x dy/dx - y = sin x.tan  x/2`


Solve the differential equation `sin^(-1) (dy/dx) = x + y`


\[4\frac{dy}{dx} + 8y = 5 e^{- 3x}\]

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

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

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

\[\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 = \left( x - 1 \right) e^x\]

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


The slope of the tangent to the curve at any point is the reciprocal of twice the ordinate at that point. The curve passes through the point (4, 3). Determine its equation.


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.


Solve the differential equation: (x + 1) dy – 2xy dx = 0


Solve the differential equation: (1 + x2) dy + 2xy dx = cot x dx


Solve the differential equation : `"x"(d"y")/(d"x") + "y" - "x" + "xy"cot"x" = 0; "x" != 0.`


Solution of the differential equation of the type `("d"x)/("d"y) + "p"_1x = "Q"_1` is given by x.I.F. = `("I"."F") xx "Q"_1"d"y`.


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.


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 ______.


If `x (dy)/(dx) = y(log y - log x + 1)`, then the solution of the dx equation 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`


The population P = P(t) at time 't' of a certain species follows the differential equation `("dp")/("dt")` = 0.5P – 450. If P(0) = 850, then the time at which population becomes zero is ______.


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 ______.


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×