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

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

Text Solution

AI Generated Solution

The correct Answer is:
To solve the differential equation \( \tan x \frac{dy}{dx} + 2y = \cos x \), we will follow these steps: ### Step 1: Rewrite the equation We start with the given equation: \[ \tan x \frac{dy}{dx} + 2y = \cos x \] We can rewrite this equation by dividing through by \( \tan x \): \[ \frac{dy}{dx} + \frac{2y}{\tan x} = \frac{\cos x}{\tan x} \] Since \( \tan x = \frac{\sin x}{\cos x} \), we can express \( \frac{\cos x}{\tan x} \) as: \[ \frac{\cos x}{\tan x} = \frac{\cos^2 x}{\sin x} \] Thus, the equation becomes: \[ \frac{dy}{dx} + \frac{2y \cos x}{\sin x} = \frac{\cos^2 x}{\sin x} \] ### Step 2: Identify \( p(x) \) and \( q(x) \) From the standard form of a linear differential equation \( \frac{dy}{dx} + p(x)y = q(x) \), we identify: \[ p(x) = \frac{2 \cos x}{\sin x} = 2 \cot x \] \[ q(x) = \frac{\cos^2 x}{\sin x} \] ### Step 3: Find the integrating factor The integrating factor \( \mu(x) \) is given by: \[ \mu(x) = e^{\int p(x) \, dx} = e^{\int 2 \cot x \, dx} \] The integral of \( 2 \cot x \) is: \[ \int 2 \cot x \, dx = 2 \ln |\sin x| = \ln |\sin^2 x| \] Thus, the integrating factor is: \[ \mu(x) = e^{\ln |\sin^2 x|} = \sin^2 x \] ### Step 4: Multiply through by the integrating factor Now we multiply the entire differential equation by the integrating factor: \[ \sin^2 x \frac{dy}{dx} + 2y \sin x \cos x = \cos^2 x \] ### Step 5: Recognize the left side as a derivative The left side can be written as: \[ \frac{d}{dx}(y \sin^2 x) = \cos^2 x \] ### Step 6: Integrate both sides Integrating both sides gives: \[ y \sin^2 x = \int \cos^2 x \, dx \] Using the identity \( \cos^2 x = \frac{1 + \cos 2x}{2} \), we have: \[ \int \cos^2 x \, dx = \frac{1}{2} \int (1 + \cos 2x) \, dx = \frac{1}{2}(x + \frac{1}{2} \sin 2x) + C \] Thus, \[ y \sin^2 x = \frac{x}{2} + \frac{1}{4} \sin 2x + C \] ### Step 7: Solve for \( y \) Finally, we solve for \( y \): \[ y = \frac{\frac{x}{2} + \frac{1}{4} \sin 2x + C}{\sin^2 x} \] ### Final Solution The solution to the differential equation is: \[ y = \frac{x/2 + \frac{1}{4} \sin 2x + C}{\sin^2 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 : (dy)/(dx)+y= cos x

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

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

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

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

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

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

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

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

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

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

  17. Solver the following differential equation : (1) x(dy)/(dx) + 2y =x^...

    Text Solution

    |

  18. find the solution of the following differential equation x logx (dy)/...

    Text Solution

    |

  19. Solve: (xlogx)(dy)/(dx)+y=2/xlogx

    Text Solution

    |

  20. Solving the following differentia equation: "s i n x"("dy")/("dx")+...

    Text Solution

    |