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

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

Text Solution

AI Generated Solution

The correct Answer is:
To solve the differential equation \(\frac{dy}{dx} = y - 2 \sin x\), we will follow the steps outlined below: ### Step 1: Rewrite the Equation We start by rewriting the differential equation in standard form: \[ \frac{dy}{dx} - y = -2 \sin x \] ### Step 2: Identify \(p\) and \(q\) In the standard form \(\frac{dy}{dx} + p y = q\), we identify: - \(p = -1\) - \(q = -2 \sin x\) ### Step 3: Find the Integrating Factor The integrating factor \(I\) is given by: \[ I = e^{\int p \, dx} = e^{\int -1 \, dx} = e^{-x} \] ### Step 4: Multiply the Equation by the Integrating Factor Now, we multiply the entire differential equation by the integrating factor \(e^{-x}\): \[ e^{-x} \frac{dy}{dx} - e^{-x} y = -2 e^{-x} \sin x \] ### Step 5: Simplify the Left Side The left-hand side can be simplified using the product rule: \[ \frac{d}{dx}(y e^{-x}) = -2 e^{-x} \sin x \] ### Step 6: Integrate Both Sides Next, we integrate both sides: \[ \int \frac{d}{dx}(y e^{-x}) \, dx = \int -2 e^{-x} \sin x \, dx \] This gives us: \[ y e^{-x} = \int -2 e^{-x} \sin x \, dx + C \] ### Step 7: Solve the Integral To solve the integral \(\int -2 e^{-x} \sin x \, dx\), we will use integration by parts. Let: - \(u = \sin x\) and \(dv = -2 e^{-x} dx\) Then, we differentiate and integrate: - \(du = \cos x \, dx\) - \(v = -2(-e^{-x}) = 2 e^{-x}\) Using integration by parts: \[ \int u \, dv = uv - \int v \, du \] So we have: \[ \int -2 e^{-x} \sin x \, dx = 2 e^{-x} \sin x - \int 2 e^{-x} \cos x \, dx \] We will need to apply integration by parts again to solve \(\int 2 e^{-x} \cos x \, dx\). ### Step 8: Solve the Second Integral Let: - \(u = \cos x\) and \(dv = 2 e^{-x} dx\) Then: - \(du = -\sin x \, dx\) - \(v = 2 e^{-x}\) Thus: \[ \int 2 e^{-x} \cos x \, dx = 2 e^{-x} \cos x - \int -2 e^{-x} \sin x \, dx \] ### Step 9: Combine the Results Let \(I = \int -2 e^{-x} \sin x \, dx\). We have: \[ I = 2 e^{-x} \sin x - (2 e^{-x} \cos x - I) \] This simplifies to: \[ 2I = 2 e^{-x} \sin x - 2 e^{-x} \cos x \] Thus: \[ I = e^{-x} (\sin x - \cos x) \] ### Step 10: Substitute Back Substituting back into our equation gives: \[ y e^{-x} = e^{-x} (\sin x - \cos x) + C \] Multiplying through by \(e^{x}\): \[ y = \sin x - \cos x + C e^{x} \] ### Final Solution The final solution to the differential equation is: \[ y = \sin x - \cos x + C e^{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 differential equations : x (dy)/(dx)=y-x

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

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

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

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

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

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

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

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

Solve the following differential equation: (dy)/(dx)=1-x+y-xy

MODERN PUBLICATION-DIFFERENTIAL EQUATIONS-EXERCISE 9 (i) Long Answer Type Questions (I)
  1. Solve the following differential equations : (dy)/(dx)+2y=cos 3x

    Text Solution

    |

  2. (dy)/(dx) - y = sinx

    Text Solution

    |

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

    Text Solution

    |

  4. Solve the following differential equations (dy)/(dx)-2y= cos 3x.

    Text Solution

    |

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

    Text Solution

    |

  6. (dy)/(dx) + 2 y tan x = sin x

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

  9. (y+3x^2)(d x)/(d y)=x

    Text Solution

    |

  10. The solution of differential equation (1+x^(2)) (dy)/(dx) + y = e^(...

    Text Solution

    |

  11. Solve the following differential equation: (dy)/(dx)+y=cosx-sinx

    Text Solution

    |

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

    Text Solution

    |

  13. अवकल समीकरण को हल कीजिए- (dy)/(dx)+y tan x=2 x +x^(2)tan x

    Text Solution

    |

  14. Solve the differential equation: (dy)/(dx)+ycotx=2cosx

    Text Solution

    |

  15. Solve the following differential equation: x(dy)/(dx)+2y=xcosx

    Text Solution

    |

  16. Solve the following differential equations (dy)/(dx)+(1)/(x)y = cos ...

    Text Solution

    |

  17. (dy)/(dx)+ysecx=tanx

    Text Solution

    |

  18. x (dy)/(dx) + y = x logx

    Text Solution

    |

  19. Solve the differential equation x\ dy/dx - y = log |x|, given that y(1...

    Text Solution

    |

  20. Solve the differential equation : x(dy)/(dx)+y-x+xycotx=0, x ne 0.

    Text Solution

    |