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

4242 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

How do you differentiate a^x?


Represent in partial fraction form the expression x/x^2-3x+2


The equation 2x^2 + 2kx + (k + 2) = 0, where k is a constant, has two distinct real roots. Show that k satisfies k^2 – 2k – 4 > 0


How to express (4x)/(x^2-9)-2/(x+3)as a single fraction in its simplest form.


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