Lesson 1 - What Are Differential Equations? What Should I Know Before Beginning?

Understanding Notation

In Calculus, we learn about nth order derivatives. An nth is written as such:

dnydxn,y(n)(x);n1

Here, n1 is an integer, y is the dependent variable, and x is the independent variable.

Consider u(x,y). Then ux or ux means partial derivative of u with respect to x.

A differential equation, or a DE, is an equation that contains any derivatives - either ordinary derivatives or partial derivatives.

Let's practice classifying derivatives.

a) mdvdt=F(t,v)
b) dydx+P(x)y=Q(x)
c) ay+by+cy=g(t)
d) cos(y)y(x)=(1y)y+y+10
e) y(3)(t)y(t)y=10x+e9y

See answers at the end of this section.

Differential equations can also be classified by order. The order of a DE is the largest derivative present in the differential equation. Try to classify the above equations by order.

Moreover, we can classify a differential equation by their derivatives as ordinary (ODE) or partial (PDE).

Finally, for the purposes of this course, we can classify a DE as linear or non-linear. A linear DE is a differential equation that can be written in the form:

any(n)(t)+an1y(n1)(t)+...+a1y(t)+a0=g(t)

A DE that is not of this form is considered non-linear.

Solutions of Differential Equations

A solution to the DE can either be explicit or implicit.

An explicit solution is a solution that is written as the dependent variable in terms of the independent variable.

Example

a) Prove y=sinx+x2 is a explicit solution of y+y=x2+2.

Solution

We begin by identifying the solution and the differential equation. We know that an equation is a differential equation because it contains derivatives. Thus, we can determine that y+y=x2+2 is the differential equation.

The goal is more algebraic than it seems. We simply are testing to ensure that the left side of the equation is equal to the right side of the equation. How can we do this?

Well we have two unknown variables in our solution equation: y and y. In this instance, y is fortunately given to us.

y=sinx+x2y+(sinx+x2)=x2+2

Now that we have plugged in our y equation, we must find y. To do so, we turn to our Calculus knowledge.

y=sin(x)+x2ddx(y)=ddx(sin(x)+x2)dydx=cos(x)+2x

We can say that dydx=y. Now that we have found the first derivative, we must take the second derivative (y).

dydx=cos(x)+2xd2ydx2=sin(x)+2

Now, we have all of our unknowns. Let's see if they match up.

y=sin(x)+2(sin(x)+2)+(sinx+x2)=x2+2

Notice that the sin(x) and sin(x) cancel out. We are left with

2+x2=x2+2

We can also have solutions to equations that are implicit. Those, we would have to solve for one variable in terms of the other in order to check for equivalency, if possible. Otherwise, we recall implicit differentiation from our Calculus toolbook.

b) Check if x2sin(x+y)=1 is a solution of y=2xsec(x+y)1

We implement implicit differentiation.

ddx(x2sin(x+y))=ddx(1)2xcos(x+y)(1)+y=0

Check to see if you can manipulate this equation to match the given equation by solving for y.

cos(x+y)×1+y=2x1+y=2xcos(x+y)y=2x×1cos(x+y)1

Recall inverse trig functions.

y=2xsec(x+y)1

Initial Value Problem (IVP)

Now, we sometimes we are given an initial condition in what is known as an Initial Value Problem.

Let's consider dydx=y,y(1)=2.

In order to solve the IVP, we need to find the General Solution to the equation.

dydx=y1ydy=dx1y=dxlny=x+Celny=ex+Cy=Cex

Now that we have a general solution, we can plug in the initial value given and solve for C.

y(1)=22=Ce1C=2e

Now that we have C, we have a particular solution to the IVP. The particular solution not only satisfied the original differential equation, but also satisfies the initial condition.

y=2eex

Next Lesson: Lesson 2 - Existence and Uniqueness Theorem

Table of Contents: Table of Contents