Advertisements
Advertisements
Question
Solve the following differential equation :
`"dy"/"dx" + "y" = cos"x" - sin"x"`
Advertisements
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.
APPEARS IN
RELATED QUESTIONS
Solve `sin x dy/dx - y = sin x.tan x/2`
Solve the differential equation `sin^(-1) (dy/dx) = x + y`
\[\frac{dy}{dx}\] = y tan x − 2 sin 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.
`("e"^(-2sqrt(x))/sqrt(x) - y/sqrt(x))("d"x)/("d"y) = 1(x ≠ 0)` when written in the form `"dy"/"dx" + "P"y` = Q, then P = ______.
`("d"y)/("d"x) + y/(xlogx) = 1/x` is an equation of the type ______.
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"x)/("d"y) = "g"(x, y)` where g(x, y) is a homogeneous function of the degree zero is x = vy.
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 `xtan(y/x)dy = (ytan(y/x) - x)dx, -1 ≤ x ≤ 1, y(1/2) = π/6`. Then the area of the region bounded by the curves x = 0, x = `1/sqrt(2)` and y = y(x) in the upper half plane is ______.
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 ______.
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)
Solve the differential equation:
`dy/dx` = cosec y
