Docsity

Differential Equations: Classification, Solutions, and Direction Fields - Prof. Susan M. H, Study notes of Differential Equations

Toggle sidebar
bg1
Chapters 1.2 - 1.3: Differential Equations and Direction Fields
1.1 Introduction
A differential equation is an equation that may involve not only an independent variable t and a
dependent variable y, but also one or more derivatives of y with respect to t. (Note: we’ll use “t” rather
than “x” as the independent variable as in a later chapter, we’ll use x as an output variable.)
Examples: y’ = 2t
3t2y''+11ty !3y=0
(1+tety )dy =!(1+yety )dt
y(3) +4y''+t2y'=0
When we solve an ordinary equation like x +2 =7, we get a number for the answer (x = 5). When we
solve a differential equation, the answer will be a function y = f(t)which makes the equation true.
Example: Show that the function
y=sin t2
is a solution to the differential equation
4t2y+y'' =2 cost2
p. 2, Example 1 (Gravity): Consider a falling object. We know that its acceleration due to gravity is
−9.8 m/s2, and we also know that acceleration is the second derivative of position.
The differential equation, then, is:
y'' =!9.8
It’s easy to solve this equation by integrating twice:
Not all differential equations can be solved so easily. We can’t solve
y'=y
by integrating directly
(
y2
2
is definitely a wrong answer!), because the derivative is with respect to t, so the antiderivative
has to be with respect to t, and not with respect to y. On the other hand, you can probably figure out
a solution to the differential equation using what you know about functions and their derivatives:
What commonly-used function is its own derivative?
pf3
pf4
pf5

Partial preview of the text

Download Differential Equations: Classification, Solutions, and Direction Fields - Prof. Susan M. H and more Study notes Differential Equations in PDF only on Docsity!

Chapters 1.2 - 1.3: Differential Equations and Direction Fields

1.1 Introduction

A differential equation is an equation that may involve not only an independent variable t and a dependent variable y, but also one or more derivatives of y with respect to t. (Note: we’ll use “t” rather than “x” as the independent variable as in a later chapter, we’ll use x as an output variable.) Examples: y’ = 2t 3 t^2 y ''+ 11 ty! 3 y = 0 ( 1 + tety^ ) dy = !( 1 + yety^ ) dt y ( 3 )

  • 4 y ''+ t 2 y ' = 0 When we solve an ordinary equation like x +2 =7, we get a number for the answer (x = 5). When we solve a differential equation, the answer will be a function y = f(t)which makes the equation true. Example: Show that the function y = sin t^2 is a solution to the differential equation 4 t^2 y + y '' = 2 cos t^2 p. 2, Example 1 (Gravity): Consider a falling object. We know that its acceleration due to gravity is −9.8 m/s 2 , and we also know that acceleration is the second derivative of position. The differential equation, then, is: y '' =! 9. 8 It’s easy to solve this equation by integrating twice: Not all differential equations can be solved so easily. We can’t solve y ' = y by integrating directly ( y^2 2 is definitely a wrong answer!), because the derivative is with respect to t , so the antiderivative has to be with respect to t, and not with respect to y. On the other hand, you can probably figure out a solution to the differential equation using what you know about functions and their derivatives: What commonly-used function is its own derivative?

p. 3, Example 2 (Radioactive Decay): The instantaneous rate of decay of a radioactive substance is directly proportional to the amount of material present. How can we translate this sentence into a differential equation? What equation solves the differential equation?

1.2 Classifying Differential Equations:

Ordinary: We say that a differential equation is ordinary if it contains no partial derivatives. All of the differential equations we will cover this semester are ordinary. Order: The order of a differential equation is the highest derivative that appears in the equation. Autonomous: An autonomous differential equation is a differential equation in which the independent variable (usually t) does not appear. For example y = y 2 +3y +7 is autonomous, while y = y 2 +3t +7 is not. Linear: For y = f(t), a differential equation is linear, if it can be written as follows: gn ( t ) y ( n )^ + gn! 1 ( t ) y ( n!^1 )^ + gn! 2 ( t ) y ( n!^2 )^ +... + g 2 ( t ) y ''^ + g 1 ( t ) y '^ + g 0 ( t ) y = h ( t ) NOTE : This means that neither y, y’, etc. appear as products of one another (i.e. yy’, y^2 , y(2)y’) or with a power other than 1 (i.e. y-^1 , y^3 ,…) or as the argument of a transcendental function, trig, log, exp. (i.e. cos(y), ey,,…). If either of the above occur, the differential equation is classified as nonlinear. Classify the following:

  1. y ' = 2 t
  2. 3 t^2 + y ''+ 11 ty! 3 y = 0

3. ( 1 + tety ) dy =! ( 1 + yety ) dt

  1. y (^3 )^ + 4 y ''+ t^2 y ' = 0
  2. y ' = y^2 + 3 y + 7
  3. y ' = y^2 + 3 t + 7

7. t^3 y (^3 )^! ( sin t ) y ' = cos ( t 3 )

  1. tyy '+ cos y = t^3

1.4 Initial Value Problems

In the examples we’ve seen so far, the solution to a differential equation depends on one or more constants—the “+C” that you get from integration. An initial condition to a differential equation specifies a single point that lies on one of the functions that solves the equation, and gives us enough information to solve for “C”. In general, we’ll need an initial condition for each derivative, so that a third-order equation will require three initial conditions. An initial value problem is a differential equation paired with enough initial conditions to solve for the constants in the problem. p. 5, Example 3: Consider the initial value problem: y '+ 3 y = 6 t + 5 y ( 0 ) = 3

(a) Show that y = Ce − 3 t +2t +1 is a solution of the differential equation for all values of C. (b) Solve the initial value problem. General Principle for Initial Value Problems The solution to a differential equation will have the same number of arbitrary constants as the order of the differential equation. A first-order equation will have a “c” in the solution, while a second-order equation will have a “c 1 ”and a “c 2 ” in the solution, etc. An initial condition can be used to solve for at most one arbitrary constant, so a second-order equation will require two initial conditions; a third-order equation will require three initial conditions, etc.

1.5 Direction Fields The direction field (or slope field ) is a tool we use to visualize the solutions to differential equations. Because the direction field is a visual tool, it doesn’t give precise results and can’t be used when a high degree of accuracy is called for. But it does give us an intuitive way of assessing the qualitative behavior of the solution. Example revisited : 1. y ' = 2 t What is y’? We can sketch out what solutions look like by looking at the slope for different values of t. p. 9, Example 1: Sketch a direction field for the differential equation y = 1 +2ty in the square − 2 ≤ t ≤ 2,− 2 ≤ y ≤2. t is on the horizontal axis, and y is on the vertical axis. Solution: Creating a direction field by hand is a tedious and painstaking process, so we generally use software like Matlab or Maxima to create them for us. (We can even use a hand-held calculator like a TI-83!) Here is a computer-generated direction field for Example 1. The tiny line segments that form the direction field are called field filaments. t y'=2t 0 1 ‐ 1 2 ‐ 2

1.7 Direction Fields for Autonomous Differential Equations Review: What is an autonomous differential equation? The method of isoclines works especially well for autonomous differential equations. Why? Sketch the direction field for the autonomous differential equation: y ' = 1! 2 y 1.8 Equilibrium Solutions In the last direction field we sketched, we noticed that along the horizontal line y =

, the field filaments were also horizontal. Visually, this tells us that if our initial condition is any point along the horizontal line, then y will not change over time t. We say that y is an equilibrium solution to the differential equation. Definition: If y = c is a constant function that is also a solution to the differential equation y ' = f ( y , t ) , then we say that y = c is an equilibrium solution to that differential equation. Example 3: Find the equilibrium solution(s) to the differential equation: y ' = y^2! 4 y + 3 1.9 Looking ahead: Over the next three weeks, we’ll work with first-order differential equations. Our goal is to be able to take an initial value problem and answer these three questions:

  • Does this initial value problem have a solution? (This is called the existence question.)
  • Does this initial value problem have more than one solution? (This is called the uniqueness question.)
  • How do I find the solutions to the initial value problem?