- 2071 Shrawan · 5 marks
Solve sin x dy/dx + y cos x = x sin x
Short answer
The left side is the exact derivative d(y sin x)/dx = x sin x. Integrating by parts gives y sin x = sin x - x cos x + c.
Solve: sin x dy/dx + y cos x = x sin x.
sin x dy/dx + y cos x = x sin x
Recognise an exact derivative
The left side is d(y sin x)/dx. So
d(y sin x)/dx = x sin x
Integrate
y sin x = ∫ x sin x dx = −x cos x + ∫ cos x dx = −x cos x + sin x + c
y sin x = sin x − x cos x + c
or y = 1 − x cot x + c cosec x.
(Alternative check by the standard method: dividing by sin x gives y' + y cot x = x with IF = sin x, which leads to the same result.)
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Solve (1+y²)+(x−e^(tan⁻¹y))dy/dx=0 · Mathematics I, chapter 4 · asked 6×
- Solve dy/dx = y/x + tan(y/x) · Mathematics I, chapter 4 · asked 6×
- Solve dy/dx − 2y tan x = y² tan x · Mathematics I, chapter 4 · asked 6×
- Solve (1+x²)dy/dx+y=e^(tan⁻¹x) · Mathematics I, chapter 4 · asked 6×
- Solve x dy/dx + y log y = xy eˣ · Mathematics I, chapter 4 · asked 4×
- Solve x log x dy/dx + y = 2 log x · Mathematics I, chapter 4 · asked 4×
- RK-4: dy/dx = (1+x²)y · Numerical Method, chapter 6
- Polar coordinates: ∫∫(x²+y²) dy dx · Mathematics, chapter 2 · asked 5×
- Evaluate ∫∫ e^(y/x) dy dx · Mathematics, chapter 2
- Evaluate ∫∫ e^(x²) dx dy · Mathematics, chapter 2