## 17Calculus - Ordinary Differential Equations

Welcome to Differential Equations at 17Calculus. Differential Equations is a vast and incredibly fascinating topic that uses calculus extensively. This page gets you started on Ordinary/Elementary Differential Equations usually covered in a first semester differential equations course.

What Are Differential Equations?

Differential Equations consists of a group of techniques used to solve equations that contain derivatives. That's it. That's all there is to it. The complexity comes in because you can't just integrate the equation to solve it. First, you need to classify what kind of differential equation it is based on several criteria. Then, you can choose a technique to solve. Learning to solve differential equations involves learning to classify the equation you are given and then learning the technique to solve that specific type of equation. There is generally no one technique that works in all cases. So, to prepare yourself, spend some extra effort learning to classify the kind of equation you have as you learn each technique. If you don't, you will be totally lost.

There are a lot of shortcuts to solving differential equations. Many instructors teach those shortcuts upfront precisely because they are easier to teach. However, don't let yourself lose sight of where those shortcuts come from and under what conditions you can use them. Spend some time learning the basic technique before using the shortcuts. This usually involves working the first few practice problems with the basic technique. Of course, the instructions your teacher gives you take priority. But really learn these techniques, so that you will know the proper time and situation to use them. After all, that's the point, right? To be able to use this material in your job or other courses?

Notation

Constants and Variables

One of the first things you need to get your head around with differential equations is which symbols are constants and which are variables. When you see derivative notation you will mostly see $$y'$$ instead of $$dy/dt$$, for example. So you need to keep track of which symbols are functions, which are variables, what you are taking the derivative with respect to and what are constants.

For example, one equation I ran across in the first section of a differential equations textbook was
$$\displaystyle{ m\frac{dv}{dt} = mg-\gamma v }$$
This could have been written $$\displaystyle{ mv' = mg-\gamma v }$$
In this case, the variable is t and the function is $$v(t)$$. The symbols $$m, g, \gamma$$ are constants. The context of the problem is important to read and understand in order to arrive at these conclusions.

exp Notation

A second thing you need to be aware of is that some textbooks (most of the ones I've seen) use unusual notation for exponential functions. Correct notation is $$y = e^x$$. However, sometimes the exponent can be very long and contain a lot of detail. So, the exponential function will sometimes be written as $$y = \exp(x)$$. This is only used when the exponent x is detailed. For example, $$\displaystyle{ \mu(t) = e^{ \int_{t_0}^{t}{p(s)~ds} } }$$ is difficult to read. Since there is so much detail in the exponent of $$e$$ that we need to see, we usually write this
$$\displaystyle{ \mu(t) = \exp\left( \int_{t_0}^{t}{p(s)~ds} \right) }$$
See how much easier it is to read the exponent? We will follow this convention on this site.

Notation For Derivatives

By now you should be comfortable with the notation $$dy/dx$$ and $$y'$$ for the first derivative. There are a couple of other types of notation that you may or may not have seen before, that you will probably run across on this site, in your textbook, in class and in videos.

 $$D_x(y)$$ where $$D$$ tells you take the derivative and the subscript x is the variable of integration. $$\dot{y}$$ where the dot above the y tells you to take the first derivative (two dots for the second derivative).

General vs Particular Solution

What is the difference between the general solution and the particular solution?

Short Answer - - The terminology relates to whether or not we have an unknown constant in our final answer. For the general solution, an unknown constant IS part of the solution indicating an infinite number of solutions. In the particular solution, there is no unknown constant and the solution we have is the one and only solution.

Long Answer - - When you solve a differential equation, you use integration, which introduces an unknown constant.
In the general solution, the unknown constant remains and you do not have enough information to be able to determine what that constant is. Consequently, you have an infinite number of solutions.
In the particular solution, you start out by solving for the general solution but then you are given initial conditions which you use to determine the value of the constant. These initial conditions are actually points that the solution to the differential equation pass through. In the end, you have only one solution without any unknown constants.

general solution particular solution infinite number of solutions only one solution contains unknown constant(s) does NOT contain any unknown constants no (or too few) initial conditions given initial conditions given; used to solve for constants

To find the general solution, just solve the differential equation and leave any unknown constants in your final answer.
To find the particular solution, find the general solution first, then plug in the initial conditions and solve for the constants.

Notes
1. When determining the particular solution, you will be given the same number of initial conditions as the order of the differential equation. Depending on how the initial conditions are given, you may need to stop after each integration and solve for the individual constants or you may need to wait until you are completely done and solve for all the constants at once. You will get a feel for this as you work practice problems.
2. For a general solution, if no initial conditions are given or fewer than the order of the differential equation are given, we cannot determine all of the unknown constants, since each integration introduces another constant.
3. When you were first learning integration, you probably ran across initial value problems. These were actually differential equations where you were asked to find the particular solution.

Getting Started

After going through the above information you are ready to watch some videos to get started with differential equations.
Here is a good introduction to differential equations. He contrasts a differential equation to a standard equation, which you should be familiar with, and explains, practically, what a differential equation is. He also works the example $$y'' + 2y' - 3y = 0$$ and shows that $$y_1 = e^{-3x}$$ and $$y_2 = e^x$$ are solutions to this differential equation. Then, he goes on to explain linear versus nonlinear and order.

### Khan Academy - intro to differential equations

Here is another introduction video. The technique he uses is separation of variables, which is the first technique usually introduced in a differential equations course. It will help you to see this technique in the context of introducing differential equations.

### Khan Academy - separation of variables

Here is a good video showing what it means for an equation to be a solution to a differential equation. This also demonstrates how to check your answer after you have solved a differential equation.

### PatrickJMT - solutions to differential equations

video by PatrickJMT

Okay, now that you have an overview, you need to learn how to classify differential equations. This is important since the techniques that you will learn apply only to certain types of equations.

### differential equations 17calculus youtube playlist

You CAN Ace Differential Equations

Pauls Online Math Notes - Differential Equations

### Calculus Topics Listed Alphabetically

Single Variable Calculus

Multi-Variable Calculus

### Search Practice Problems

Do you have a practice problem number but do not know on which page it is found? If so, enter the number below and click 'page' to go to the page on which it is found or click 'practice' to be taken to the practice problem. The 17Calculus and 17Precalculus iOS and Android apps are no longer available for download. If you are still using a previously downloaded app, your app will be available until the end of 2020, after which the information may no longer be available. However, do not despair. All the information (and more) is now available on 17calculus.com for free.
 What are Differential Equations? Notation General vs Particular Solutions Getting Started

Introduction to Partial Differential Equations with Applications (Dover Books on Mathematics) Save 20% on Under Armour Plus Free Shipping Over \$49! Shop Amazon - Rent Textbooks - Save up to 80% When using the material on this site, check with your instructor to see what they require. Their requirements come first, so make sure your notation and work follow their specifications.

DISCLAIMER - 17Calculus owners and contributors are not responsible for how the material, videos, practice problems, exams, links or anything on this site are used or how they affect the grades or projects of any individual or organization. We have worked, to the best of our ability, to ensure accurate and correct information on each page and solutions to practice problems and exams. However, we do not guarantee 100% accuracy. It is each individual's responsibility to verify correctness and to determine what different instructors and organizations expect. How each person chooses to use the material on this site is up to that person as well as the responsibility for how it impacts grades, projects and understanding of calculus, math or any other subject. In short, use this site wisely by questioning and verifying everything. If you see something that is incorrect, contact us right away so that we can correct it.