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

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

Text Solution

AI Generated Solution

The correct Answer is:
To solve the differential equation \[ \frac{dy}{dx} - 2y = \cos(3x), \] we will follow these steps: ### Step 1: Identify the type of differential equation This is a first-order linear differential equation of the form \[ \frac{dy}{dx} + p(x)y = q(x), \] where \( p(x) = -2 \) and \( q(x) = \cos(3x) \). ### Step 2: Find the integrating factor The integrating factor \( \mu(x) \) is given by \[ \mu(x) = e^{\int p(x) \, dx} = e^{\int -2 \, dx} = e^{-2x}. \] ### Step 3: Multiply the entire equation by the integrating factor Multiply both sides of the original equation by \( e^{-2x} \): \[ e^{-2x} \frac{dy}{dx} - 2e^{-2x}y = e^{-2x} \cos(3x). \] This simplifies to: \[ \frac{d}{dx}(e^{-2x}y) = e^{-2x} \cos(3x). \] ### Step 4: Integrate both sides Now we integrate both sides with respect to \( x \): \[ \int \frac{d}{dx}(e^{-2x}y) \, dx = \int e^{-2x} \cos(3x) \, dx. \] The left side simplifies to: \[ e^{-2x}y. \] For the right side, we need to solve the integral \( \int e^{-2x} \cos(3x) \, dx \). We will use integration by parts or the method of undetermined coefficients. Let \( I = \int e^{-2x} \cos(3x) \, dx \). Using integration by parts, we can let: - \( u = \cos(3x) \) and \( dv = e^{-2x}dx \) - Then, \( du = -3\sin(3x)dx \) and \( v = -\frac{1}{2}e^{-2x} \) Applying integration by parts: \[ I = -\frac{1}{2} \cos(3x)e^{-2x} - \int -\frac{1}{2}(-3\sin(3x)e^{-2x})dx. \] This gives: \[ I = -\frac{1}{2} \cos(3x)e^{-2x} + \frac{3}{2} \int e^{-2x} \sin(3x)dx. \] Let \( J = \int e^{-2x} \sin(3x)dx \). We can apply integration by parts again on \( J \): Using similar steps, we can find \( J \) and substitute it back into the equation for \( I \). ### Step 5: Solve for \( y \) After finding \( I \), we can express: \[ e^{-2x}y = I + C, \] where \( C \) is the constant of integration. Finally, we multiply both sides by \( e^{2x} \): \[ y = e^{2x}(I + C). \] ### Final Solution After performing the integrations and substituting back, we will arrive at the final solution for \( y \).
Promotional Banner

Topper's Solved these Questions

  • DIFFERENTIAL EQUATIONS

    CBSE COMPLEMENTARY MATERIAL|Exercise SIX MARK QUESTIONS|4 Videos
  • DIFFERENTIAL EQUATIONS

    CBSE COMPLEMENTARY MATERIAL|Exercise TWO MARK QUESTIONS|6 Videos
  • CONTINUITY AND DIFFERENTIABILTY

    CBSE COMPLEMENTARY MATERIAL|Exercise 4 Marks Questions|36 Videos
  • INTEGRALS

    CBSE COMPLEMENTARY MATERIAL|Exercise SIX MARK QUESTIONS|20 Videos

Similar Questions

Explore conceptually related problems

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

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

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

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

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

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

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

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

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

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

CBSE COMPLEMENTARY MATERIAL-DIFFERENTIAL EQUATIONS-FOUR MARK QUESTIONS
  1. Form the differential equation of the family of parabolas having ve...

    Text Solution

    |

  2. From the differential equation of the family of all parabolas having v...

    Text Solution

    |

  3. Find the differential equation of all the circles which pass thorou...

    Text Solution

    |

  4. From the differential equation of the family of all circles in first q...

    Text Solution

    |

  5. Show that the differential equation (x-y)(dy)/(dx)=x+2yis homogeneous...

    Text Solution

    |

  6. Show that the differential equation (x^2+2xy-y^2)dx+(y^2+2xy-x^2)dy=0 ...

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

  9. Solve the following differential equations log((dy)/(dx))=ax+by

    Text Solution

    |

  10. Solve the following differential equations (x^3+y^3)dx= (x^2y+xy^2)d...

    Text Solution

    |

  11. Solve the differential equation x dy-y dx=sqrt(x^(2)+y^(2)) dx.

    Text Solution

    |

  12. Solve the following differential equations y{x cos (y/x)+y sin (y/x)...

    Text Solution

    |

  13. Solve the differential equation x^2dy+y(x+y)dx=0, given that y=1\ w h ...

    Text Solution

    |

  14. Solve the following differential equations xe^(y/x)-y+x(dy)/(dx)=0" ...

    Text Solution

    |

  15. Solve the following differential equations (x^3-3xy^2)dx=(y^3-3x^2y)...

    Text Solution

    |

  16. Solve the differential equation (dy)/(dx)-y/x+cosecy/x=0, given that y...

    Text Solution

    |

  17. Solve the following differential equation: cos^2\ x(dy)/(dx)+y=tan\ x

    Text Solution

    |

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

    Text Solution

    |

  19. Solve the following differential equation: (1+e^(x//y))dx+e^(x//y)(1-x...

    Text Solution

    |

  20. Solve the following differential equations (y- sin x)dx + tan x dy=0...

    Text Solution

    |