Home
Class 12
MATHS
Solve the following initial value proble...

Solve the following initial value problems :
`(dy)/(dx)=2x+y`, given that `x=0, y=0`.

Text Solution

AI Generated Solution

The correct Answer is:
To solve the initial value problem given by the differential equation \[ \frac{dy}{dx} = 2x + y \] with the initial condition \( y(0) = 0 \), we can follow these steps: ### Step 1: Rearranging the Equation We start by rearranging the equation into a standard linear form: \[ \frac{dy}{dx} - y = 2x \] Here, we identify \( p = -1 \) and \( q = 2x \). ### Step 2: Finding the Integrating Factor The integrating factor \( \mu(x) \) is given by: \[ \mu(x) = e^{\int p \, dx} = e^{\int -1 \, dx} = e^{-x} \] ### Step 3: Multiplying Through by the Integrating Factor Next, we multiply the entire differential equation by the integrating factor: \[ e^{-x} \frac{dy}{dx} - e^{-x} y = 2x e^{-x} \] This simplifies to: \[ \frac{d}{dx}(y e^{-x}) = 2x e^{-x} \] ### Step 4: Integrating Both Sides Now, we integrate both sides: \[ \int \frac{d}{dx}(y e^{-x}) \, dx = \int 2x e^{-x} \, dx \] The left side simplifies to: \[ y e^{-x} \] For the right side, we use integration by parts. Let \( u = 2x \) and \( dv = e^{-x} dx \). Then, \( du = 2 dx \) and \( v = -e^{-x} \). Using integration by parts: \[ \int 2x e^{-x} \, dx = -2x e^{-x} - \int -2 e^{-x} \, dx = -2x e^{-x} + 2 e^{-x} + C \] ### Step 5: Putting It All Together Now we have: \[ y e^{-x} = -2x e^{-x} + 2 e^{-x} + C \] Multiplying through by \( e^{x} \) gives: \[ y = -2x + 2 + Ce^{x} \] ### Step 6: Applying the Initial Condition Now we apply the initial condition \( y(0) = 0 \): \[ 0 = -2(0) + 2 + Ce^{0} \] \[ 0 = 2 + C \] Thus, \( C = -2 \). ### Final Solution Substituting \( C \) back into the equation gives: \[ y = -2x + 2 - 2e^{x} \] ### Summary The solution to the initial value problem is: \[ y = -2x + 2 - 2e^{x} \]
Promotional Banner

Topper's Solved these Questions

  • DIFFERENTIAL EQUATIONS

    MODERN PUBLICATION|Exercise EXERCISE 9 (i) Long Answer Type Questions (II)|7 Videos
  • DIFFERENTIAL EQUATIONS

    MODERN PUBLICATION|Exercise EXERCISE 9 (j) Long Answer Type Questions (I)|11 Videos
  • DIFFERENTIAL EQUATIONS

    MODERN PUBLICATION|Exercise EXERCISE 9 (i) Short Answer Type Questions|12 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 initial value problem: (dy)/(dx)=2xy,y(0)=1

Solve the following initial value problem: (dy)/(dx)=tan2x,y(0)=2

Solve the following initial value problem: 2x(dy)/(dx)=3y,y(1)=2

Solve the following initial value problem: 2x(dy)/(dx)=5y,y(1)=1

Solve the following initial value problem: xy(dy)/(dx)=y+2,y(2)=0

Solve the following initial value problems : x (dy)/(dx)+2y=x^(2)(x !=0) , given that y=0 when x=1 .

Solve the following initial value problem: (dy)/(dx)=y sin2x,y(0)=1

Solve the following initial value problem: (dy)/(dx)=y sin2x,y(0)=1

Solve the following initial value problem: x(dy)/(dx)+1=0;y(-1)=0

Solve the following initial value problem: (dy)/(dx)=y tan x,y(0)=1

MODERN PUBLICATION-DIFFERENTIAL EQUATIONS-EXERCISE 9 (i) Long Answer Type Questions (I)
  1. Find the general solution of the following differential equations (x...

    Text Solution

    |

  2. Solve the following differential equations : (dy)/(dx)-(2x)/(1+x^(2...

    Text Solution

    |

  3. Find the general solution of the following differential equations (1...

    Text Solution

    |

  4. Solve: (1+x^2)(dy)/(dx)+2xy=cosx

    Text Solution

    |

  5. (1-x^2) dy/dx-xy=1

    Text Solution

    |

  6. y dx+(x-y^2)dy=0

    Text Solution

    |

  7. y dx - (x + 2y^(2)) dy = 0

    Text Solution

    |

  8. Solve the differential equation: (1+x^2) dy/dx + y = tan^-1 x

    Text Solution

    |

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

    Text Solution

    |

  10. Solve the following initial value problems : (dy)/(dx)=2x+y, given t...

    Text Solution

    |

  11. Solve the following initial value problems : x(dy)/(dx)+y=x^(3),y(2)...

    Text Solution

    |

  12. Solve the following initial value problems : x(dy)/(dx)+2y=x^(2),y(1...

    Text Solution

    |

  13. Solve the following initial value problems : x (dy)/(dx)+2y=x^(2)(x ...

    Text Solution

    |

  14. Solve each of the following initial value problem: x(dy)/(dx)+y=xcosx+...

    Text Solution

    |

  15. Solve each of the following initial value problem: (dy)/(dx)=2ytanx=si...

    Text Solution

    |

  16. dy/dx+y tan x= sec x.

    Text Solution

    |

  17. Solve the differential equation (dy)/(dx)-3ycotx=sin2x given y=2 when ...

    Text Solution

    |

  18. Solve the following initial value problems : cos^(3)x (dy)/(dx)-y si...

    Text Solution

    |

  19. Solve the following initial value problems : y e^(y)dx=(y^(3)+2x e^(...

    Text Solution

    |

  20. Find the particular solution of differential equation (dy)/(dx)=(x+yc...

    Text Solution

    |