Advertisements
Advertisements
Question
\[\frac{dy}{dx}\] + y cos x = sin x cos x
Advertisements
Solution
We have,
\[\frac{dy}{dx} + y \cos x = \sin x \cos x . . . . . \left( 1 \right)\]
Clearly, it is a linear differential equation of the form
\[\frac{dy}{dx} + Py = Q\]
where
\[P = \cos x\]
\[Q = \sin x \cos x\]
\[ \therefore I.F. = e^{\int P\ dx} \]
\[ = e^{\int\cos x\ dx} \]
\[ = e^{\sin x} \]
\[\text{Multiplying both sides of }\left( 1 \right)\text{ by }e^{\sin x} ,\text{ we get }\]
\[ e^{\sin x} \left( \frac{dy}{dx} + y \cos x \right) = e^{\sin x} \sin x \cos x\]
\[ \Rightarrow e^{\sin x} \frac{dy}{dx} + e^{\sin x} y \cos x = e^{\sin x} \sin x\cos x \]
Integrating both sides with respect to x, we get
\[y\ e^{\sin x} = \int e^{\sin x} \sin x\cos \text{ x } dx + C\]
\[ \Rightarrow y e^{\sin x} = I + C . . . . . \left( 2 \right)\]
where
\[I = \int e^{\sin x} \sin x \cos \text{ x } dx\]
\[\text{Putting }t = \sin x,\text{ we get }\]
\[dt = \cos \text{ x }dx\]
\[ = t\int e^t dt - \int\left[ \frac{d}{dt}\left( t \right)\int e^t dt \right]dt\]
\[ = t e^t - e^t \]
\[ = e^t \left( t - 1 \right)\]
\[ = e^{\sin x} \left( \sin x - 1 \right)\]
\[\text{Putting the value of I in }\left( 2 \right), \text{we get }\]
\[\text{ y } e^{\sin x} = e^{\sin x} \left( \sin x - 1 \right) + C\]
\[ \Rightarrow y = \sin x - 1 + C e^{- \sin x} \]
\[\text{Hence, }y = \sin x - 1 + C e^{- \sin x}\text{ is the required solution.}\]
APPEARS IN
RELATED QUESTIONS
Find the the differential equation for all the straight lines, which are at a unit distance from the origin.
For the differential equation, find the general solution:
`dy/dx + 2y = sin x`
For the differential equation, find the general solution:
`dy/dx + y/x = x^2`
For the differential equation, find the general solution:
`dy/dx + (sec x) 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:
`x log x dy/dx + y= 2/x 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 + y) dy/dx = 1`
For the differential equation, find the general solution:
`(x + 3y^2) dy/dx = y(y > 0)`
Find the equation of the curve passing through the origin given that the slope of the tangent to the curve at any point (x, y) is equal to the sum of the coordinates of the point.
Find the equation of a 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.
Solve the differential equation `(tan^(-1) x- y) dx = (1 + x^2) dy`
\[\frac{dy}{dx}\] = y tan x − 2 sin x
Solve the differential equation \[\left( y + 3 x^2 \right)\frac{dx}{dy} = x\]
Solve the following differential equation:-
\[\left( 1 + x^2 \right)\frac{dy}{dx} - 2xy = \left( x^2 + 2 \right)\left( x^2 + 1 \right)\]
Solve the differential equation: (1 +x2 ) dy + 2xy dx = cot x dx
If f(x) = x + 1, find `"d"/"dx"("fof") ("x")`
Solve the differential equation: `(1 + x^2) dy/dx + 2xy - 4x^2 = 0,` subject to the initial condition y(0) = 0.
Solve the following differential equation:
`("x + a")"dy"/"dx" - 3"y" = ("x + a")^5`
Solve the following differential equation:
y dx + (x - y2) dy = 0
Find the equation of the curve which passes through the origin and has the slope x + 3y - 1 at any point (x, y) on it.
`(x + 2y^3 ) dy/dx = y`
The integrating factor of the differential equation (1 + x2)dt = (tan-1 x - t)dx is ______.
Which of the following is a second order differential equation?
Integrating factor of the differential equation `(1 - x^2) ("d"y)/("d"x) - xy` = 1 is ______.
The equation x2 + yx2 + x + y = 0 represents
The integrating factor of the differential equation `x (dy)/(dx) - y = 2x^2` is
The integrating factor of differential equation `(1 - y)^2 (dx)/(dy) + yx = ay(-1 < y < 1)`
If y = y(x) is the solution of the differential equation, `(dy)/(dx) + 2ytanx = sinx, y(π/3)` = 0, then the maximum value of the function y (x) over R is equal to ______.
Let y = f(x) be a real-valued differentiable function on R (the set of all real numbers) such that f(1) = 1. If f(x) satisfies xf'(x) = x2 + f(x) – 2, then the area bounded by f(x) with x-axis between ordinates x = 0 and x = 3 is equal to ______.
If the solution curve y = y(x) of the differential equation y2dx + (x2 – xy + y2)dy = 0, which passes through the point (1, 1) and intersects the line y = `sqrt(3) x` at the point `(α, sqrt(3) α)`, then value of `log_e (sqrt(3)α)` is equal to ______.
If sin x is the integrating factor (IF) of the linear differential equation `dy/dx + Py` = Q then P is ______.
Find the general solution of the differential equation:
`(x^2 + 1) dy/dx + 2xy = sqrt(x^2 + 4)`
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 the tangent to the curve x = sin θ and y = cos 2θ at θ = `π/6` is ______.
