Advertisements
Advertisements
Question
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
Solve the following differential equation: `(x^2-1)dy/dx+2xy=2/(x^2-1)`
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.`
Solve the differential equation `sin^(-1) (dy/dx) = x + y`
\[\frac{dy}{dx}\] + y tan x = cos x
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
`("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 = ______.
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.
If ex + ey = ex+y, then `"dy"/"dx"` is:
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.
Which of the following solutions may be used to find the number of children who have been given the polio drops?
Solve the differential equation:
`"dy"/"dx" = 2^(-"y")`
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
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
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)
The solution of the differential equation `(1 + y^2) + (x - e^(tan^-1y)) (dy)/(dx)` = 0, is ______.