Solve the differential equation:   `dy/dx` = (2x - 6) /(x^2 - 2x)

Asked on by ntretheway

1 Answer | Add Yours

embizze's profile pic

embizze | High School Teacher | (Level 2) Educator Emeritus

Posted on

Solve `(dy)/(dx)=((2x-6))/((x^2-2x))`

`int dy = int ((2x-6))/((x^2-2x))dx`

`y=int ((2x-6))/((x^2-2x))`

Use the method of partial fractions to rewrite the integrand:


So `A(x-2)+B(x)=2x-6==>A+B=2,-2A=-6`

Then A=3 and B=-1


`=3int1/x dx - int 1/(x-2)dx`




We can check the solution. ```d/(dx)[3ln|x|-ln|x-2|+C]=3/x-1/(x-2)`

`=(3(x-2)-x)/(x(x-2))=(2x-6)/(x^2-2x)` as required.

We’ve answered 319,816 questions. We can answer yours, too.

Ask a question