# Differential equations/Separable differential equations

Educational level: this is a tertiary (university) resource. |

Type classification: this is a lesson resource. |

Subject classification: this is a mathematics resource. |

Completion status: this resource is ~50% complete. |

First Order Differential Equations

The **order** of a differential equation is the largest derivative involved. For example, in the equation
, the largest derivative is the second, so the order is **2**.

## Separable EquationsEdit

One of the easiest class of ODEs to solve is separable equations.

### DefinitionEdit

A differential equation is called separable when it can be manipulated into an equation with the dependent variable and its differentials on one side of the equality, and the independent variable and its differentials on the other side. Thus, each side is in terms of a single variable.

### ExampleEdit

The equation has a fairly obvious solution if you know your differentiation rules well. Recall that and hence is a solution. But how could we have found this if we did not remember that happened to be its own derivative? Additionally, is it possible to find any more solutions? Observe that the equation above is *separable*, and can be written as . Now that both sides are in terms of their own variable, we can integrate:

And thus, . Since and are arbitrary constants of integration, is another arbitrary constant, so that the final solution is for any .

### General SolutionEdit

Suppose we have some separable equation:

Then we can integrate both sides:

Since the constants are arbitrary, we really only need one. However, **do not forget the constant of integration**, or you will lose a large number of solutions. Additionally, **do not wait until the last step to add the constant of integration**. Many times when learning calculus, students add a to the end of a problem without really thinking, but remember that **the comes from the integration**, so you need to add it at that step. In the above example, adding the at the last step would give as a solution. But we can see that, for example, , so that is **not** a solution (whenever )!

At any rate, the equation is now of the form , which can be solved for using any available algebra tools.

In short:

- If possible, manipulate the equation using algebra to get each variable on its own side of the equation. The form should be .
- Integrate both sides of the equation.
**Include a constant of integration**. - Solve for the function in terms of the independent variable.

It can be misleading, however, to think that a constant of integration necessarily must appear in the solution of a differential equation. This is true for linear equations, but for nonlinear ones, all bets are off.

Consider for example the equation

- .

The only solution to this equation is , and no arbitrary constant of integration can be imposed anywhere.