Solving a Simple Differential Equation with Separation of Variables

  • Thread starter Thread starter prace
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
prace
Messages
99
Reaction score
0
Here is the problem:

Solve, (x+1)[tex]\frac{dy}{dx}[/tex] = 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, [tex]\int{dy}[/tex] = [tex]\int{\frac{(x+6)}{(x+1)}dx}[/tex]

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.
 
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? [tex]\int{\frac{x^2}{(1+x)}}dx[/tex]
 
For your first integral, you can write [tex]\frac{x+6}{x+1} = \frac{(x+1) + 5}{x+1} = 1 + \frac{5}{x+1}[/tex]which is easy to integrate.

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


[tex]\frac{(u-1)^2}{u} = \frac{u^2 - 2u + 1}{u} = u - 2 + \frac{1}{u}[/tex],

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? [tex]\int{\frac{x^2}{(1+x)}}dx[/tex]

No need for the substitution hinted.

[tex]\frac{x^{2}}{x+1}=x-1+\frac{1}{x+1}[/tex]

Daniel.
 
Oh cool, even better. Thanks!