# Math Help - First Order Differential Equation

1. ## First Order Differential Equation

Question:
$\frac{dy}{dt} = \frac{t+y}{t+y+1}$ Solve for $y(t)=...$

Approach:
Letting $u=t+y+1$ then getting $\frac{dy}{dt} = \frac{du}{dt}-1$ and substituting into main equation to get $\frac{du}{dt}-1 = \frac{u-1}{u}$ and rearraning to get $\frac{du}{dt} + \frac{1}{u} = 2$ however it's not in integration factor form. How would I solve it?

2. Originally Posted by Simplicity
Question:
$\frac{dy}{dt} = \frac{t+y}{t+y+1}$ Solve for $y(t)=...$

Approach:
Letting $u=t+y+1$ then getting $\frac{dy}{dt} = \frac{du}{dt}-1$ and substituting into main equation to get $\frac{du}{dt}-1 = \frac{u-1}{u}$ and rearraning to get $\frac{du}{dt} + \frac{1}{u} = 2$ however it's not in integration factor form. How would I solve it?
Try
$\frac{du}{dt} = 2 - \frac{1}{u} = \frac{2u-1}{u}$

It's separable.

3. Originally Posted by danny arrigo
Try
$\frac{du}{dt} = 2 - \frac{1}{u} = \frac{2u-1}{u}$

It's separable.
As by:

$\int \frac{u}{2u-1} du = \int dt$?

4. Originally Posted by Simplicity
As by:

$\int \frac{u}{2u-1} du = \int dt$?
Yes.

5. Originally Posted by Mush
Yes.
What method am I using to solve $\int \frac{u}{2u-1} du$?

6. Originally Posted by Simplicity
What method am I using to solve $\int \frac{u}{2u-1} du$?
$p = 2u-1$

$dp/du = 2$

$\frac{1}{2}dp = du$

$\frac{1}{2} \int \frac{u}{p}dp$

$u = \frac{p+1}{2}$

$\frac{1}{2} \int \bigg(\frac{\frac{p+1}{2}}{p}\bigg)dp$

$\frac{1}{4} \int\bigg(\frac{p+1}{p}\bigg)dp$

$\frac{1}{4} \int \bigg(1+\frac{1}{p}\bigg) dp$