Advertisements
Advertisements
Question
For the differential equation, find the general solution:
`dy/dx + 2y = sin x`
Advertisements
Solution
The given equation is `dy/dx + 2y = sin x.` ....(1)
Which is a linear equation of type `dy/dx + Py = Q.`
Here P = 2 and Q = sin x.
∴ `I.F. = e^(int Pdx) = e^(int2 dx) = e^(2x)`
∴ The solution is `y .(I.F.) =int Q. (I. F.) dx + C`
`y. e^(2x) = int e^(2x) sin x dx + C = I + C` ....(2)
Now, `I = int e^(2x) sin x dx`
`= e^(2x) (- cos x) - int 2e^(2x) (- cos x) dx` ...[Integrating by part]
`= -e^(2x) cos x + 2 int e^(2x) cosx dx`
Again integrating parts,
`I = - e^(2x) cos x + 2 [e^(2x) sin x - int e^(2x) * 2 sin x dx]`
`= I = - e^(2x) cos x + 2e^(2x) sin x - 4I`
⇒ 5I = e2x (2 sin x - cos x)
⇒`I = (e^(2x))/5 (2 sin x - cos x)` ....(3)
Substituting the value of (3) in (2), we get
`y. e^(2x) = 1/5 e^(2x) (2 sin x - cos x) + C`
⇒ `y = 1/5 (2 sin x - cos x) + Ce^(-2x),`
Which is the required solution.
APPEARS IN
RELATED QUESTIONS
For the differential equation, find the general solution:
`cos^2 x dy/dx + y = tan x(0 <= x < pi/2)`
For the differential equation, find the general solution:
`x dy/dx + 2y= x^2 log x`
For the differential equation, find the general solution:
(1 + x2) dy + 2xy dx = cot x dx (x ≠ 0)
For the differential equation, find the general solution:
`x dy/dx + y - x + xy cot x = 0(x != 0)`
For the differential equation, find the general solution:
`(x + y) dy/dx = 1`
For the differential equation, find the general solution:
y dx + (x – y2) dy = 0
Solve the differential equation `(tan^(-1) x- y) dx = (1 + x^2) dy`
Solve the differential equation `x dy/dx + y = x cos x + sin x`, given that y = 1 when `x = pi/2`
x dy = (2y + 2x4 + x2) dx
(x + tan y) dy = sin 2y dx
dx + xdy = e−y sec2 y dy
\[\frac{dy}{dx}\] = y tan x − 2 sin x
Find the general solution of the differential equation \[x\frac{dy}{dx} + 2y = x^2\]
Solve the differential equation \[\left( y + 3 x^2 \right)\frac{dx}{dy} = x\]
Find the particular solution of the differential equation \[\frac{dx}{dy} + x \cot y = 2y + y^2 \cot y, y ≠ 0\] given that x = 0 when \[y = \frac{\pi}{2}\].
Solve the differential equation: (1 +x2 ) dy + 2xy dx = cot x dx
Solve the following differential equation:
`dy/dx + y/x = x^3 - 3`
Solve the following differential equation:
`cos^2 "x" * "dy"/"dx" + "y" = tan "x"`
Solve the following differential equation:
y dx + (x - y2) dy = 0
Solve the following differential equation:
`(1 - "x"^2) "dy"/"dx" + "2xy" = "x"(1 - "x"^2)^(1/2)`
Solve the following differential equation:
`(1 + "x"^2) "dy"/"dx" + "y" = "e"^(tan^-1 "x")`
Find the equation of the curve passing through the point `(3/sqrt2, sqrt2)` having a slope of the tangent to the curve at any point (x, y) is -`"4x"/"9y"`.
The integrating factor of `(dy)/(dx) + y` = e–x is ______.
Find the general solution of the equation `("d"y)/("d"x) - y` = 2x.
Solution: The equation `("d"y)/("d"x) - y` = 2x
is of the form `("d"y)/("d"x) + "P"y` = Q
where P = `square` and Q = `square`
∴ I.F. = `"e"^(int-"d"x)` = e–x
∴ the solution of the linear differential equation is
ye–x = `int 2x*"e"^-x "d"x + "c"`
∴ ye–x = `2int x*"e"^-x "d"x + "c"`
= `2{x int"e"^-x "d"x - int square "d"x* "d"/("d"x) square"d"x} + "c"`
= `2{x ("e"^-x)/(-1) - int ("e"^-x)/(-1)*1"d"x} + "c"`
∴ ye–x = `-2x*"e"^-x + 2int"e"^-x "d"x + "c"`
∴ e–xy = `-2x*"e"^-x+ 2 square + "c"`
∴ `y + square + square` = cex is the required general solution of the given differential equation
The integrating factor of the differential equation sin y `("dy"/"dx")` = cos y(1 - x cos y) is ______.
The integrating factor of the differential equation (1 + x2)dt = (tan-1 x - t)dx is ______.
The integrating factor of the differential equation `x (dy)/(dx) - y = 2x^2` is
Let the solution curve y = y(x) of the differential equation (4 + x2) dy – 2x (x2 + 3y + 4) dx = 0 pass through the origin. Then y (2) is equal to ______.
If sin x is the integrating factor (IF) of the linear differential equation `dy/dx + Py` = Q then P is ______.
Solve the differential equation `dy/dx+2xy=x` by completing the following activity.
Solution: `dy/dx+2xy=x` ...(1)
This is the linear differential equation of the form `dy/dx +Py =Q,"where"`
`P=square` and Q = x
∴ `I.F. = e^(intPdx)=square`
The solution of (1) is given by
`y.(I.F.)=intQ(I.F.)dx+c=intsquare dx+c`
∴ `ye^(x^2) = square`
This is the general solution.
The slope of tangent at any point on the curve is 3. lf the curve passes through (1, 1), then the equation of curve is ______.
