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

4241 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Solve the following equation for k, giving your answers to 4 decimal places where necessary: 3tan(k)-1=sec^2(k)


Find the tangent for the line y=x^3+3x^2+4x+2 at x=2


differentiate: y=[xcos(x^3)]/[(x^4 + 1)^3] with respect to x


Why does d/dx (tan(x)) = sec^2(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