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

Solve the following differential equations
`(dy)/(dx)+(1)/(x)y = cos x+(sin x)/(x), " " x gt 0`.

Text Solution

AI Generated Solution

The correct Answer is:
To solve the differential equation \[ \frac{dy}{dx} + \frac{1}{x}y = \cos x + \frac{\sin x}{x}, \quad x > 0, \] we will follow the steps for solving a linear first-order differential equation. ### Step 1: Identify p and q The given equation is in the standard form \[ \frac{dy}{dx} + p(x)y = q(x), \] where \[ p(x) = \frac{1}{x} \quad \text{and} \quad q(x) = \cos x + \frac{\sin x}{x}. \] ### Step 2: Find the Integrating Factor The integrating factor \( \mu(x) \) is given by \[ \mu(x) = e^{\int p(x) \, dx} = e^{\int \frac{1}{x} \, dx}. \] Calculating the integral: \[ \int \frac{1}{x} \, dx = \ln |x| \implies \mu(x) = e^{\ln |x|} = |x| = x \quad \text{(since \( x > 0 \))}. \] ### Step 3: Multiply the Differential Equation by the Integrating Factor Now, we multiply the entire differential equation by the integrating factor \( x \): \[ x \frac{dy}{dx} + y = x \cos x + \sin x. \] ### Step 4: Rewrite the Left Side The left side can be rewritten as the derivative of a product: \[ \frac{d}{dx}(xy) = x \cos x + \sin x. \] ### Step 5: Integrate Both Sides Now, we integrate both sides with respect to \( x \): \[ \int \frac{d}{dx}(xy) \, dx = \int (x \cos x + \sin x) \, dx. \] The left side simplifies to: \[ xy = \int (x \cos x) \, dx + \int \sin x \, dx. \] ### Step 6: Solve the Integrals 1. **Integrate \( x \cos x \)** using integration by parts: - Let \( u = x \) and \( dv = \cos x \, dx \). - Then, \( du = dx \) and \( v = \sin x \). - Applying integration by parts: \[ \int x \cos x \, dx = x \sin x - \int \sin x \, dx = x \sin x + \cos x. \] 2. **Integrate \( \sin x \)**: \[ \int \sin x \, dx = -\cos x. \] ### Step 7: Combine the Results Now substituting back into the equation: \[ xy = (x \sin x + \cos x) - \cos x + C, \] where \( C \) is the constant of integration. Thus, \[ xy = x \sin x + C. \] ### Step 8: Solve for y Finally, we can solve for \( y \): \[ y = \sin x + \frac{C}{x}. \] ### Final Solution The solution to the differential equation is: \[ y = \sin x + \frac{C}{x}. \] ---
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)=(x+y)/(x)

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

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

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

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

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

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

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

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

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

CBSE COMPLEMENTARY MATERIAL-DIFFERENTIAL EQUATIONS-FOUR MARK QUESTIONS
  1. Solve the following differential equations (1-x^2)(dy)/(dx)-xy=x^2" ...

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

  4. Solve the differential equation "dy=cos x(2-y cosec x)dx" given that y...

    Text Solution

    |

  5. Solve the following differential equations ydx+(x-y^3)dy=0.

    Text Solution

    |

  6. Solve the following differential equations ye^(y)dx= (y^3+2xe^(y))dy...

    Text Solution

    |

  7. Solve each of the following differential equations y-x(dy)/(dx)=2(y^...

    Text Solution

    |

  8. Solve each of the following differential equations cos y "" dx +(1+2...

    Text Solution

    |

  9. Solve the following differential equation: x\ sqrt(1-y^2)dx+y\ sqrt(1-...

    Text Solution

    |

  10. Solve each of the following differential equations sqrt((1-x^2)(1-y^...

    Text Solution

    |

  11. Solve each of the following differential equations (xy^2+x)dx+(yx^2+...

    Text Solution

    |

  12. Solve each of the following differential equations (dy)/(dx)-y sin^3...

    Text Solution

    |

  13. Solve each of the following differential equations tan x tan y dx + ...

    Text Solution

    |

  14. Solve each of the following differential equations (dy)/(dx)=x-1+xy-...

    Text Solution

    |

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

    Text Solution

    |

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

    Text Solution

    |

  17. Solve the following differential equations (x^2-y^2)dx+2xy""dy=0, y(...

    Text Solution

    |

  18. Solve the following differential equations (y sin"" (x)/(y))dx= (x s...

    Text Solution

    |

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

    Text Solution

    |

  20. Solve the differential equation x(dy)/(dx)=y(log y - log x +1).

    Text Solution

    |