Advertisements
Advertisements
Question
Advertisements
Solution
We have,
\[x\frac{dy}{dx} + y = x e^x \]
\[ \Rightarrow \frac{dy}{dx} + \frac{1}{x}y = e^x . . . . . \left( 1 \right)\]
Clearly, it is a linear differential equation of the form
\[\frac{dy}{dx} + Py = Q\]
where
\[P = \frac{1}{x} \]
\[Q = e^x \]
\[ \therefore \text{I.F.} = e^{\int P\ dx} \]
\[ = e^{\int\frac{1}{x} dx} \]
\[ = e^{log x} \]
\[ = x \]
\[\text{Multiplying both sides of }\left( 1 \right)\text{ by }x,\text{ we get }\]
\[x\left( \frac{dy}{dx} + \frac{1}{x}y \right) = x e^x \]
\[ \Rightarrow x\frac{dy}{dx} + y = x e^x \]
Integrating both sides with respect to x, we get
\[xy = \int x e^x dx + C\]
\[ \Rightarrow xy = x\int e^x dx - \int\left( \frac{d}{dx}\left( x \right)\int e^x dx \right)dx + C\]
\[ \Rightarrow xy = x e^x - e^x + C\]
\[ \Rightarrow xy = \left( x - 1 \right) e^x + C\]
\[ \Rightarrow y = \left( \frac{x - 1}{x} \right) e^x + \frac{C}{x}\]
\[\text{ Hence, }y = \left( \frac{x - 1}{x} \right) e^x + \frac{C}{x}\text{ is the required solution.}\]
APPEARS IN
RELATED QUESTIONS
Find the integrating factor for the following differential equation:`x logx dy/dx+y=2log x`
Solve the differential equation ` (1 + x2) dy/dx+y=e^(tan^(−1))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.
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.
A wet porous substance in the open air loses its moisture at a rate proportional to the moisture content. If a sheet hung in the wind loses half of its moisture during the first hour, when will it have lost 95% moisture, weather conditions remaining the same.
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.`
Solve the following differential equation :
`"dy"/"dx" + "y" = cos"x" - sin"x"`
`"dy"/"dx" + y` = 5 is a differential equation of the type `"dy"/"dx" + "P"y` = Q but it can be solved using variable separable method also.
Integrating factor of the differential equation of the form `("d"x)/("d"y) + "P"_1x = "Q"_1` is given by `"e"^(int P_1dy)`.
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.
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 ______.
The solution of the differential equation `(dx)/(dy) + Px = Q` where P and Q are constants or functions of y, is given by
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
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`
Find the general solution of the differential equation: (x3 + y3)dy = x2ydx
Let y = y(x) be the solution of the differential equation `(dy)/(dx) + (sqrt(2)y)/(2cos^4x - cos2x) = xe^(tan^-1(sqrt(2)cost2x)), 0 < x < π/2` with `y(π/4) = π^2/32`. If `y(π/3) = π^2/18e^(-tan^-1(α))`, then the value of 3α2 is equal to ______.
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 ______.
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 ______.
The solution of the differential equation `(1 + y^2) + (x - e^(tan^-1y)) (dy)/(dx)` = 0, is ______.
