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

4237 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

How do I rewrite 2 cos x + 4 sin x as one sin function?


A circle has equation: (x - 2)^2 + (y - 2)^2 = 16. It intersects the y-axis (y > 0) at point P and the x-axis (x < 0) at point Q. Find the equation of the line connecting P and Q and of the line perpendicular to PQ passing through the circle's centre.


Differentiate y=e^(x)*sin(x) with respect to x


Integrate sinx*ln(cosx) with respect to x.


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