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

4381 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Show that x^2 +6x+ 11 can be written as (x+p)^2 +q


express x^2-4x+9 in the form (x-q)^2+y


How do I do integration by substitution?


When you are working out dy/dx = 0, why do you do this and what does it mean?


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