Linear First Order
Solve the linear differential equation \frac{dy}{dx} + y\cot x = 2\cos x for the particular solution that passes through the point where x equals \pi/2 and y equals one.
Select the correct option:
🔒 Solution Hidden from View
Submit your answer to unlock the detailed step-by-step solution.
More differential equations Practice Questions
Consider the equation x\frac{dy}{dx} + 2y = x^2 with x positive, and identify the general solution a...
Consider the equation x\frac{dy}{dx} + 2y = x^2 with x positive, and identify the general solution a...
Determine the integrating factor for the first-order linear differential equation \frac{dy}{dx} + \f...
Determine the integrating factor for the first-order linear differential equation \frac{dy}{dx} + \f...
Solve the repeated-root equation \frac{d^2y}{dx^2} - 6\frac{dy}{dx} + 9y = 0 and state the general s...
Solve the repeated-root equation \frac{d^2y}{dx^2} - 6\frac{dy}{dx} + 9y = 0 and state the general s...
The length of the subtangent at any point of a curve is constant and equal to a, leading to a differ...
The length of the subtangent at any point of a curve is constant and equal to a, leading to a differ...
A cup of coffee cools according to Newton's law so that \frac{dT}{dt} = -k(T - T_s); identify the co...
A cup of coffee cools according to Newton's law so that \frac{dT}{dt} = -k(T - T_s); identify the co...
At every point on a curve the slope equals the ratio of the y-coordinate to the x-coordinate, and we...
At every point on a curve the slope equals the ratio of the y-coordinate to the x-coordinate, and we...
Determine the general solution of the equation \frac{d^2y}{dx^2} + 4y = 0 whose auxiliary equation p...
Determine the general solution of the equation \frac{d^2y}{dx^2} + 4y = 0 whose auxiliary equation p...
Find the general solution of the second-order constant-coefficient equation \frac{d^2y}{dx^2} - 5\fr...
Find the general solution of the second-order constant-coefficient equation \frac{d^2y}{dx^2} - 5\fr...
A population grows so that its rate of change is proportional to its current size, modeled by \frac{...
A population grows so that its rate of change is proportional to its current size, modeled by \frac{...
Examine the equation \sqrt{1 + \left(\frac{dy}{dx}\right)^2} = \frac{d^2y}{dx^2} and determine the d...
Examine the equation \sqrt{1 + \left(\frac{dy}{dx}\right)^2} = \frac{d^2y}{dx^2} and determine the d...
The family of curves y = Cx^2 has orthogonal trajectories that we must determine by replacing the sl...
The family of curves y = Cx^2 has orthogonal trajectories that we must determine by replacing the sl...
Solve the homogeneous equation \frac{dy}{dx} = \frac{y^2}{xy - x^2} by substituting y equal to v tim...
Solve the homogeneous equation \frac{dy}{dx} = \frac{y^2}{xy - x^2} by substituting y equal to v tim...
About This Question
- Subject
- mathematics
- Chapter
- differential equations
- Topic
- linear first order
- Difficulty
- Hard
- Year
- 2025
Solution
Correct Answer:
y=2sinx−cos2x+2sinx1
This is a first-order linear equation \frac{dy}{dx} + P y = Q with P = \cot x and Q = 2\cos x, solved by the integrating factor \mu = e^{\int \cot x,dx} = e^{\ln \sin x} = \sin x. Multiplying the equation by \sin x makes the left side an exact derivative: \frac{d}{dx}(y\sin x) = 2\cos x\sin x = \sin 2x. Integrating both sides gives y\sin x = \int \sin 2x,dx = -\frac{\cos 2x}{2} + C. Apply the condition y = 1 at x = \pi/2. Since \cos\pi = -1, the term -\frac{\cos 2x}{2} evaluates to -\frac{\cos\pi}{2} = \frac{1}{2}, and \sin(\pi/2) = 1, so 1 = \frac{1}{2} + C and therefore C = \frac{1}{2}. Substituting back gives y\sin x = -\frac{\cos 2x}{2} + \frac{1}{2} = \frac{1 - \cos 2x}{2}, hence y = \frac{1 - \cos 2x}{2\sin x}, equivalently \frac{-\cos 2x}{2\sin x} + \frac{1}{2\sin x}. Option y = \sin x\cos x drops the constant. Option y = \cos 2x\sin x mishandles the integrating factor. Option \frac{\cos 2x}{2\sin x} omits the constant term. This is the standard linear-ODE pattern. As a final check, the double-angle identity 1 - \cos 2x = 2\sin^2 x gives y = \frac{2\sin^2 x}{2\sin x} = \sin x, so y(\pi/2) = \sin(\pi/2) = 1, confirming the initial condition is satisfied.
This hard difficulty mathematics question is from the chapter differential equations, covering the topic of linear first order. It appeared in the 2025 exam.
Looking for more practice? Explore all mathematics questions or browse differential equations questions on RankGuru.