Home
Class 12
MATHS
Solve the following differential equatio...

Solve the following differential equations :
`(dy)/(dx)+y=x`.

Text Solution

AI Generated Solution

The correct Answer is:
To solve the differential equation \(\frac{dy}{dx} + y = x\), we will follow these steps: ### Step 1: Identify the standard form The given equation is already in the standard form of a linear differential equation: \[ \frac{dy}{dx} + P(x)y = Q(x) \] where \(P(x) = 1\) and \(Q(x) = x\). ### Step 2: Find the integrating factor The integrating factor \(I(x)\) is given by: \[ I(x) = e^{\int P(x) \, dx} = e^{\int 1 \, dx} = e^{x} \] ### Step 3: Multiply the entire equation by the integrating factor We multiply the entire differential equation by \(e^{x}\): \[ e^{x} \frac{dy}{dx} + e^{x}y = e^{x}x \] ### Step 4: Recognize the left-hand side as a derivative The left-hand side can be expressed as the derivative of a product: \[ \frac{d}{dx}(e^{x}y) = e^{x}x \] ### Step 5: Integrate both sides Now, we integrate both sides with respect to \(x\): \[ \int \frac{d}{dx}(e^{x}y) \, dx = \int e^{x}x \, dx \] The left side simplifies to: \[ e^{x}y = \int e^{x}x \, dx \] To solve the right side, we will use integration by parts. Let: - \(u = x\) \(\Rightarrow du = dx\) - \(dv = e^{x}dx\) \(\Rightarrow v = e^{x}\) Using integration by parts: \[ \int e^{x}x \, dx = uv - \int v \, du = xe^{x} - \int e^{x} \, dx = xe^{x} - e^{x} + C \] where \(C\) is the constant of integration. ### Step 6: Substitute back Now substituting back into our equation: \[ e^{x}y = xe^{x} - e^{x} + C \] ### Step 7: Solve for \(y\) To isolate \(y\), we divide both sides by \(e^{x}\): \[ y = x - 1 + Ce^{-x} \] ### Final Solution Thus, the solution to the differential equation is: \[ y = x - 1 + Ce^{-x} \]
Doubtnut Promotions Banner Mobile Dark
|

Topper's Solved these Questions

  • DIFFERENTIAL EQUATIONS

    MODERN PUBLICATION|Exercise NCERT - FILE (Questions from NCERT Book) (Exercise 9.1)|12 Videos
  • DIFFERENTIAL EQUATIONS

    MODERN PUBLICATION|Exercise NCERT - FILE (Questions from NCERT Book) (Exercise 9.2)|12 Videos
  • DIFFERENTIAL EQUATIONS

    MODERN PUBLICATION|Exercise Objective Type Questions (C. True/False Questions)|5 Videos
  • DETERMINANTS

    MODERN PUBLICATION|Exercise Chapter test 4|12 Videos
  • INTEGRALS

    MODERN PUBLICATION|Exercise COMPETITION FILE|24 Videos

Similar Questions

Explore conceptually related problems

Solve the following differential equations : x (dy)/(dx)=y-x

Solve the following differential equations. x(dy)/(dx) +y=x^3

Solve the following differential equations : (dy)/(dx)+3y=2x .

Solve the following differential equations : x (dy)/(dx)= y - x tan (y/x) .

Solve the following differential equations : x (dy)/(dx)+2y=x^(2)(x !=0)

Solve the following differential equation: (dy)/(dx)+y=4x

Solve the following differential equations: x(dy)/(dx)=x+y

Solve the following differential equation: x(dy)/(dx)-y=x^2

Solve the following differential equations : (dy)/(dx)-y=3x^(3) .

Solve the following differential equation: (dy)/(dx)+y=sin x