Find the general solution to the differential equation dy/dx = y/(x+1)(x+2)

1)Separating variables. Firstly, we need to get the y terms all on the dy/dx side and the x terms on the other side. In this case, we divide both sides by y which gives (1/y)dy/dx = 1/(x+1)(x+2).2) To make the RHS of the above equation easier to integrate, we need to turn the RHS into a partial fraction which will be of the form A/(x+1) +B/(x+2) so we can have the equality: 1/(x+1)(x+2) = A/(x+1) +B/(x+2). Multiplying both sides of this equation by (x+1)(x+2), we get 1 = A(x+2) + B(x+1). Substituting in x = -2 and x = -1, we can find the values of A and B which are 1 and -1 respectively. The resulting differential equation is (1/y)dy/dx = 1/(x+1) -1/(x+2).3) Integrating both sides with respect to x On the LHS, we get integral((1/y)dy/dx).dx. Now the dx s "cancel" so we integrate with respect to y and we get ln|y| on the LHS. On the RHS, we have integral (1/(x+1) - 1/(x+2)).dx which is ln|x+1| - ln|x+2|. Putting these together we get ln|y| = ln|x+1| - ln|x +2| + ln|k| where ln|k| is a constant. Using log laws , we can rearrange the RHS to getln|y| = ln|k(x+1)/(x+2)| . Finally, exponentiating both sides we get y = k(x+1)/(x+2).

SC
Answered by Samuel C. Maths tutor

3930 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Solve x^2 + 8x +3 = 0 by completing the square.


Find the stationary point on the line of y = 6x - x^2 and state whether this point is a maximum or a minimum


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.


Using the trigonometric identity for tan(A + B), prove that tan(3x)=(3tan(x)-tan^3(x))/(1-3tan^2(x))


We're here to help

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

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences