Solving a Simple Differential Equation with Separation of Variables

  • Thread starter Thread starter prace
  • Start date Start date
prace
Messages
99
Reaction score
0
Here is the problem:

Solve, (x+1)\frac{dy}{dx} = x + 6

Here is what I tried:

I moved all the x's to one side and left the dy on the left of the equal sign to solve with the separation of variable method.

I got, \int{dy} = \int{\frac{(x+6)}{(x+1)}dx}

So here I just solve the integrals and I am done. I guess the real question is how do I go about solving the integral on the right? I seem to have forgotten some basic integral techniques.

Thank you.
 
Physics news on Phys.org
I came across another integral that I am not catching here that seems to be along the same line as this one. Is there a rule to dealing with these kinds of integrals? \int{\frac{x^2}{(1+x)}}dx
 
For your first integral, you can write \frac{x+6}{x+1} = \frac{(x+1) + 5}{x+1} = 1 + \frac{5}{x+1}which is easy to integrate.

For the second one, you can change variables to u = 1 + x, so du = dx and your integrand becomes


\frac{(u-1)^2}{u} = \frac{u^2 - 2u + 1}{u} = u - 2 + \frac{1}{u},

which again should be easy to integrate.
 
Last edited:
Awesome, that was super easy once you look at it that way. Thanks, now I can look at other integrals and apply the same method. Life somehow just became much easier! ^_^ Thank you!
 
prace said:
I came across another integral that I am not catching here that seems to be along the same line as this one. Is there a rule to dealing with these kinds of integrals? \int{\frac{x^2}{(1+x)}}dx

No need for the substitution hinted.

\frac{x^{2}}{x+1}=x-1+\frac{1}{x+1}

Daniel.
 
Oh cool, even better. Thanks!
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top