Home
Class 12
MATHS
Solution of x(dy)/(dx)+y=xe^(x), is...

Solution of `x(dy)/(dx)+y=xe^(x)`, is

A

`xy=e^(x)(x+1)+C`

B

`xy=e^(x)(x-1)+C`

C

`xy=e^(x)(1-x)+C`

D

`xy=e^(y)(y-1)+C`

Text Solution

AI Generated Solution

The correct Answer is:
To solve the differential equation \( x \frac{dy}{dx} + y = x e^x \), we will follow these steps: ### Step 1: Rewrite the Equation First, we can rewrite the given equation in a more standard form. We divide the entire equation by \( x \) (assuming \( x \neq 0 \)): \[ \frac{dy}{dx} + \frac{y}{x} = e^x \] ### Step 2: Identify \( p(x) \) and \( q(x) \) Now, we can identify the functions \( p(x) \) and \( q(x) \) from the standard form of a linear differential equation: \[ \frac{dy}{dx} + p(x) y = q(x) \] Here, we have: - \( p(x) = \frac{1}{x} \) - \( q(x) = e^x \) ### Step 3: Find the Integrating Factor The integrating factor \( \mu(x) \) is given by: \[ \mu(x) = e^{\int p(x) \, dx} = e^{\int \frac{1}{x} \, dx} = e^{\log |x|} = |x| \] Since we are assuming \( x > 0 \), we can simplify this to: \[ \mu(x) = x \] ### Step 4: Multiply the Equation by the Integrating Factor Now, we multiply the entire differential equation by the integrating factor \( x \): \[ x \frac{dy}{dx} + y = x e^x \] ### Step 5: Rewrite the Left Side The left side can be rewritten as the derivative of a product: \[ \frac{d}{dx}(xy) = x e^x \] ### Step 6: Integrate Both Sides Now, we integrate both sides with respect to \( x \): \[ \int \frac{d}{dx}(xy) \, dx = \int x e^x \, dx \] The left side simplifies to: \[ xy = \int x e^x \, dx \] To solve the right side, we can use integration by parts. Let: - \( u = x \) and \( dv = e^x \, dx \) Then: - \( du = dx \) and \( v = e^x \) Using integration by parts: \[ \int x e^x \, dx = x e^x - \int e^x \, dx = x e^x - e^x + C \] Thus: \[ xy = x e^x - e^x + C \] ### Step 7: Solve for \( y \) Now, we solve for \( y \): \[ y = e^x - \frac{e^x}{x} + \frac{C}{x} \] ### Final Solution The solution to the differential equation \( x \frac{dy}{dx} + y = x e^x \) is: \[ y = e^x \left( x - 1 \right) + \frac{C}{x} \]
Promotional Banner

Topper's Solved these Questions

  • DIFFERENTIAL EQUATIONS

    OBJECTIVE RD SHARMA|Exercise Chapter Test|30 Videos
  • DIFFERENTIAL EQUATIONS

    OBJECTIVE RD SHARMA|Exercise Section II - Assertion Reason Type|5 Videos
  • DERIVATIVE AS A RATE MEASURER

    OBJECTIVE RD SHARMA|Exercise Exercise|26 Videos
  • DIFFERENTIALS, ERRORS AND APPROXIMATIONS

    OBJECTIVE RD SHARMA|Exercise Exercise|17 Videos

Similar Questions

Explore conceptually related problems

General solution of : x(dy)/(dx)+y=x.e^(x) is

The solution of x(dy)/(dx)+y=e^(x)"is"

The general solution of (dy)/(dx)=2xe^(x^(2)-y) is

The solution of x(dy)/(dx)+y=e^x is

The general solution of x(dy)/(dx)=y-x tan(y/x) is ……. .

Solution of x (dy)/(dx) + y = x^(2) y^(4) is

The solution of (dy)/(dx)=(x)/(y) is

The general solution of (dy)/(dx)=(2x-y)/(x+2y) is

OBJECTIVE RD SHARMA-DIFFERENTIAL EQUATIONS-Exercise
  1. The solution of the differential equation (dy)/(dx)+(y)/(x)=x^(2), is

    Text Solution

    |

  2. The solution of differential equation (1+y^(2))+(x-e^(tan^(-1)y))(dy...

    Text Solution

    |

  3. Solution of x(dy)/(dx)+y=xe^(x), is

    Text Solution

    |

  4. The tangent at any point (x , y) of a curve makes an angle tan^(-1)(2x...

    Text Solution

    |

  5. The integrating factor of the differential equation (dy)/(dx)+y=(1+y)/...

    Text Solution

    |

  6. The degree of the differential equation corresponding to the family of...

    Text Solution

    |

  7. The degree of the differential equation of all curves having normal of...

    Text Solution

    |

  8. The differential equation of the family of ellipses having major and m...

    Text Solution

    |

  9. The degree of the differential equation satisfying the relation sqrt(1...

    Text Solution

    |

  10. The differential eqaution of the family of curve y^(2)=4a(x+1), is

    Text Solution

    |

  11. Find the equation of the curve in which the subnormal varies as the ...

    Text Solution

    |

  12. Solution of the differential equation xdy-ydx=0 represents

    Text Solution

    |

  13. The equation of the curve whose subnormal is twice the abscissa, is

    Text Solution

    |

  14. The solution of the differential equation (x)/(x^(2)+y^(2))dy=((y)/(...

    Text Solution

    |

  15. A curve passes through the point (0,1) and the gradient at (x,y) on it...

    Text Solution

    |

  16. The equation of the curve through the point (1,0), whose slope is (y-...

    Text Solution

    |

  17. The differential equation for which sin^(-1) x + sin^(-1) y = c is giv...

    Text Solution

    |

  18. Solution of the differential equation (dx)/(x)+(dy)/(y)=0 is

    Text Solution

    |

  19. The order of the differential equation of family of circles touching t...

    Text Solution

    |

  20. The function f(x) satisfying the equation f^2 (x) + 4 f'(x) f(x) + (...

    Text Solution

    |