A separable first-order ode has the form:
where g(t) and h(y) are given functions. Note that y'(t) is the product of functions of the independent variable and dependent variable.
Solution Procedure
To solve this problem, divide by h(y):
Here we have relabeled 1/h(y(t)) by H(y(t)). Now integrate both sides with respect to t
The left-hand side can be simplified using the method of substition for integrals. Let u=y(t). Then du=y'(t)dt. We then have
The final answer is (we change from the dummy variable u to the dummy variable y)
We can also write the answer in terms of definite integrals if an initial condition is given. We have
Make the subsitution in the first integral u=y(s), du=y'(s)ds. The lower limit of the new integral is
The upper limit of the new integral is y(t). We then have
Example
ODE:
Separating we have:
In this case H(y)=y and g(t)=exp(t)+1. Computing the integrals we have
The general solution of the ode is
Applying the initial condition, we find that
C=9/2-exp(1)-1=0.782. The solution of the ode is
We can solve for y. We obtain
Notice that we take the positive square root. Why? We know that y(1)=3, a positive number.
[ODE Home] [1st-Order Home] [2nd-Order Home] [Laplace Transform Home] [Notation] [References]
Copyright © 1996 Department of Mathematics, Oregon State University
If you have questions or comments, don't hestitate to contact us.