Skip to content

Linear First Order

Hardmathematics

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

MediumJEE_ADVANCED

Consider the equation x\frac{dy}{dx} + 2y = x^2 with x positive, and identify the general solution a...

View Solution→
EasyJEE_ADVANCED

Determine the integrating factor for the first-order linear differential equation \frac{dy}{dx} + \f...

View Solution→
MediumJEE_ADVANCED

Solve the repeated-root equation \frac{d^2y}{dx^2} - 6\frac{dy}{dx} + 9y = 0 and state the general s...

View Solution→
HardJEE_ADVANCED

The length of the subtangent at any point of a curve is constant and equal to a, leading to a differ...

View Solution→
MediumJEE_ADVANCED

A cup of coffee cools according to Newton's law so that \frac{dT}{dt} = -k(T - T_s); identify the co...

View Solution→
EasyJEE_ADVANCED

At every point on a curve the slope equals the ratio of the y-coordinate to the x-coordinate, and we...

View Solution→
MediumJEE_ADVANCED

Determine the general solution of the equation \frac{d^2y}{dx^2} + 4y = 0 whose auxiliary equation p...

View Solution→
MediumJEE_ADVANCED

Find the general solution of the second-order constant-coefficient equation \frac{d^2y}{dx^2} - 5\fr...

View Solution→
EasyJEE_ADVANCED

A population grows so that its rate of change is proportional to its current size, modeled by \frac{...

View Solution→
MediumJEE_ADVANCED

Examine the equation \sqrt{1 + \left(\frac{dy}{dx}\right)^2} = \frac{d^2y}{dx^2} and determine the d...

View Solution→
HardJEE_ADVANCED

The family of curves y = Cx^2 has orthogonal trajectories that we must determine by replacing the sl...

View Solution→
HardJEE_ADVANCED

Solve the homogeneous equation \frac{dy}{dx} = \frac{y^2}{xy - x^2} by substituting y equal to v tim...

View Solution→

Browse all differential equations questions →

About This Question

Subject
mathematics
Chapter
differential equations
Topic
linear first order
Difficulty
Hard
Year
2025
Tags
advanced-calculus-drilllinear first orderintegrating factordouble angleparticular solution

Solution

Correct Answer:

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.