We show how multiplying an equation by an integrating factor can make the equation exact, and we give examples where this is a nice technique for solving a first-order equation.

### Bernoulli’s Equations

#### Introduction

As is apparent from what we have studied so far, there are very few first-order differential equations that can be solved exactly. At this point, we studied two kinds of equations for which there is a general solution method: separable equations and linear equations.

The truth is that, beyond these two classes of equations, there are very few types of
differential equations that are amenable to analytical solutions. One method of attack
is to use a *change of variables*, which may transform an equation that we cannot
solve into one that is solvable.

The method is actually a generalization of changes of variables for integrals (also known as -substitutions). If we have a differential equation on a variable , we define a new variable as a function of : Recall that, in this notation, the independent variable is not explicitly shown, so a more correct way to write this relationship is as: This is important because it reminds us that, when computing derivatives, we have to use the chain rule: Again, for conciseness, omit explicit mention of : The method of change of variables for differential equations can thus be summarized as follows:

- Define the change of variable .
- Write a differential equation for using the formula .
- Solve the differential equation for .
- Write the solution in terms of the original variable .

One important point is that this method may fail, in which case we may have to try a different change of variable. Finally, it is possible that there is no change of variable that will yield a solution, in which case we may have to resort to numerical or geometrical methods. Even if not able to produce a closed-form solution, a change of variable may yield an equation that is easier to work with, either analytically or numerically.

#### A First Example

One type of equation that can be solved by a well-known change of variable is
*Bernoulli’s Equation*. This is a very particular kind of equation that, in actuality,
does not appear in a large number of application, it is useful to illustrate the method
of changes of variables.

As an initial example, let’s consider the equation: Notice that this equation is not linear (because of the term ). It is also not separable. (Try it!) However, the left-hand side of the equation resembles a linear equation. So, perhaps, it is possible to transform the equation into a linear equation using a change of variable.

Finding an appropriate change of variable is sometimes more art then science, and a lot of trial-and-error may be necessary. The nonlinear term in our example is a function of the form , that is, a power of . This suggests that , perhaps, an appropriate change of variables is of the same form: It is also useful to write this in the equivalent form: For now, we leave unspecified, since this gives us more flexibility. We now need to compute the derivative of , using the chain rule: This gives: We can now write our equation completely in terms of the variable : Dividing this by we get: Now, notice that: and the equation becomes: Multiplying by we get: Now, in order to simplify the equation, we choose so that , that is, we want . Then, the equation is transformed into:

Summarizing this whole process, we define the change of variable , or . Then, the original nonlinear equation is transformed into the linear equation (eq:linear1). Solving this equation in the usual way we get the general solution: Now, , and we get: Notice that the sign is necessary, since we may have a negative initial condition specified at a point. Finally, notice that the solution process ignores the solution , which must be added separately as part of the general solution.#### General Solution Method

In general, the method from the previous section can be applied to any equation of the form: for arbitrary . This equation can be transformed into a linear equation with the change of variable: The derivative of is given by: from which we get the following useful formula for :

### Text Source

Felipe L. Martins, Lecture Notes