2 Separable Equations
Discussion: A first order differential equation is separable if the two variables can be separated, that is all the x’s on one side of the equation and all the y’s on the other side of the equation. We then solve the problem by integrating both sides of the equation. This is our first case where it will be convenient to forget that y is a function and treat it as a variable. Consider the following example.
We separate the variables by factoring the right hand side and then dividing through by y2 + 1 to get
We then integrate both sides to get an implicit solution arctan Finally we solve for y to get
You can check that this is a solution to the differential equation. This process should be a little disturbing. dy/dx is a notation for the derivative of y with respect to x, but the terms dy and dx are just part of the notation and have no independent meaning.
Yet we just manipulated them like any other algebraic quantity. It is possible to prove that the technique given will always work, but I won’t bother to go through the details (if you’re curious, stop by my office sometime). dy and dx are called differentials. We will often find it convenient to manipulate differentials rather than whole derivatives; this is why the sub ject is called differential equations rather than derivative equations. This manipulation of differentials can be thought of as a useful mnemonic to remember how to solve these equations. The fact that the “obvious” manipulations produce correct answers is a large part of the reason why the dy/dx notation was adopted. Another point is that we included the constant of integration C for the x integral but not for the y integral.
We did that because if we included both constants of integration, the next step would have been to subtract the y–constant of integration from both sides of the equation and we would have had the same expression, except with x–constant minus y–constant instead of C. But the difference of two arbitrary constants is just another arbitrary constant so why bother. Finally, there is a common algebraic error waiting to mug unwary students in these equations. Consider the following example:
We solve this in the same manner as earlier by dividing through by y2 − 1 to get the separated equation
and then integrate both sides to get the implicit solution (note that in this text we will use log for natural logarithms as they are they only sort of logarithms we will consider). We now solve for y in terms of x to get the general solution. First we multiply by 2 and exponentiate both sides to get We then remove the || signs by taking ± the right hand side and solve for y to get the explicit solution (where k = ±e2C). This is the general solution; it is a solution with one arbitrary constant, k, to a first order equation. But it doesn’t give all the solutions! You can quickly check that y = −1 is a solution, but there is no choice of k that gives this solution. A solution not part of the general solution is called a singular solution. So where did we lose this solution? In the first step when we divided by y2 − 1. If y = −1, then we divided by 0 which is always trouble. A general rule of algebra, which students often miss, is that whenever you divide by an expression involving a variable, you must check separately to see if the expression = 0 is a solution. You might also note that y = 1, corresponding to k = 0 is also a solution. Since k = ±e2C , it should not be the case that k = 0. This is an example of a singular solution for the implicit solution reappearing in the explicit solution. Basically we lost a solution via careless algebraic manipulations in finding the implicit solution but we got it back by making careless algebraic manipulations (letting k = 0) in finding the explicit solution. This happy accident is not uncommon and I won’t comment on it in the future. You should note that singular solutions are real solutions and are just as natural as the general solution. The distinction between the singular and the general solution is just an algebraic distinction.
We are now ready to give the paradigm for solving separable equations.
Paradigm: Find all the solutions to
STEP 1: Separate the variables
STEP 2: Integrate both sides
(Implicit Solution)
STEP 3: Solve for the explicit solution (if possible)
STEP 4: Check for singular solutions.
We divided by y and y = 0 is clearly a solution. But it is already part of the general solution with k = 0, so there are no singular solutions.
EXAMPLE: Find all the solutions of = cos(x) cos(y) + cos(y)
STEP 1:
STEP 2: log | sec(y) + tan(y)| = sin(x) + x + C
STEP 3: I can’t begin to solve this for y, so I will just leave it with the implicit solution
STEP 4: We divided by cos(y) and cos(y) = 0 when y = (2n + 1)π/2 with n any integer.
These are all solutions, as you should check, and none of these are examples of the general solution so they are all singular solutions.
3 Initial Value Problems
Discussion: All the examples we have worked so far have been to find all the solutions. We will now consider how to solve an initial value problem. Consider the example = xy − x, y(0) = 2. We know how to find all the solutions, but we want to find the particular solution that satisfies y(0) = 2. To do this we just take the general solution, which is and plug in the condition y(0) = 2. This yields 2 = k + 1. We solve this equation for k to get k = 1 and the solution to the initial value problem is
This technique works not just for separable equations but for all initial value problems.
Paradigm: Solve the initial value problem y(0) = 2
FIRST: Find the general solution
Step 1: dy/y = x + x2 dx
Step 2:
Step 4: We divided by y and y = 0 is a solution, but it is included in the general solution with k = 0. There are no singular solutions.
SECOND: Plug in the initial value and solve for the arbitrary constant.
EXAMPLE: Solve the initial value problem
FIRST: Find the general solution.
Step 1: e−y dy = x dx.
Step 2:
Step 3: y = − log(−x2/2 − C).
SECOND: Plug in initial value and solve for the arbitrary constant.
556 videos|198 docs
|
1. What is a singular solution of a first-order ODE? |
2. How do singular solutions differ from regular solutions of a first-order ODE? |
3. Can singular solutions of a first-order ODE be physically meaningful? |
4. How can one identify and analyze singular solutions of a first-order ODE? |
5. Are singular solutions of a first-order ODE unique? |
556 videos|198 docs
|
|
Explore Courses for Mathematics exam
|