given that y = 1 when x = π, find y in terms of x for the differential equation, dy/dx = xycos(x)

y-1 dy = xcos(x) dx∫y-1dy = ∫xcos(x) dx ln(y) = ∫xcos(x) dx [using integration by parts to integrate the right hand side] therefore, ln(y) = xsin(x) - ∫sin(x) dxln(y) = xsin(x) + cos(x) + cat y = 1, x = π, therefore, ln(1) = πsin(π) + cos(π) + c0 = 0 - 1 + c therefore, c = 1hence ln(y) = xsin(x) + cos(x) + 1finally, y = exsin(x) + cos(x)+1

AS
Answered by Abhiparth S. Maths tutor

4239 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Find the partial fraction decomposition of the expression: (4x^2 + x -64)/((x+2)(x-3)(x-4)).


How do I break down (x-2)/((x+1)(x-1)^2) into partial fractions?


Integrate sin^4(x)


What are differences between speed and velocity, velocity and speed and acceleration?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning