Differential Equations

Author: John J Weber III, PhD Corresponding Textbook Sections:

Expected Educational Results

Bloom’s Taxonomy

A modern version of Bloom’s Taxonomy is included here to recognize various different levels of understanding and to encourage you to work towards higher-order understanding (those at the top of the pyramid). All Objectives, Investigations, Activities, etc. are color-coded with the level of understanding.

Bloom’s Taxonomy for different levels of understanding
Figure 1.1: Bloom's Taxonomy

Differential Equations

Initial Value Problems (IVPs)

Definition: Initial Value Problem (IVP)

An initial value problem is a DE with an appropriate number of initial conditions (i.e., points). The IVP results in one (1) solution curve, i.e., no constant of integration.

Solving IVPs

There are two (2) methods to solve IVPs:

  1. Analytic Method – using theorems to manipulate symbols to find exact solutions;

  2. Numeric Methods – finding an approximate solution;

We will discuss only one (1) analytic method: Solving first-order separable IVPs.

Procedure to Solving First-Order IVPs

Suppose an ODE can be written in the form dydx=f(x)g(y), y(x0)=y0.

  1. Then the ODE can be rewritten as: dyg(y)=f(x)dx.

  2. Integrate both sides of the equation: dyg(y)=f(x)dx.

  3. Use +C only with the integral of the independent variable.

  4. Enter x0 into all x-variables of the solution; y0 into all y-variables of the solution; solve for C [or k].

  5. Solve for y, if possible.

  6. Check your answer.

Example 02: Solve dydx=yx+1 , y(0)=3

Solution:

  1. From Example 01, the general solution is y=k(x+1)

  2. y(0)=1x0=0 and y0=3, So

    • 3=k(0+1) k=3

  3. The solution to the IVP is: y=3(x+1)

  4. Check your answer:

    1. We need the derivative, dydx: ddx(y)=ddx[3(x+1)]dydx=3

    2. Substitute y and dydx into the original ODE: dydx=yx+13=3(x+1)x+13=3 which is a true statement. Thus, the answer is correct.

Use Technology to Verify Solutions to First-order IVPs.

NOTE: The use of technology in this activity is to verify solutions to first-order IVPs. On all Assessments, you must show work demonstrating your understanding of finding solutions to first-order IVPs.

Mathematica:

Warnings:

  1. Be very careful with the syntax. Syntax is the set of rules on how to write computer code. Every software program has its own unique syntax. Some basic Mathematica syntax is located at: http://www.jjw3.com/TECH_Common_Functions.pdf.

  2. Mathematica requires two == for the equals sign in an equation.

  3. You may need parens, ( and ), to group multiple terms or factors in the numerator and denominator.

  4. DSolve[ ] has at least three arguments:

    1. The IVP to be solved. Using { and } group

      1. The ODE;

      2. The initial condition, y[0]==3

    2. The dependent variable in function notation, i.e., y[x];

    3. The independent variable, x.

  5. For help on using the DSolve[ ] function:

    1. In Mathematica, execute the code: ?DSolve

    2. Click on near the bottom-left of output

    3. Click on local

    4. Read how to use the DSolve[ ] function – you will be able to copy-paste code.

  6. Remember, correct Mathematica code will be all black except for variables.

  7. To execute code (including comment codes), press and hold the SHIFT key and press the ENTER key.

  8. Mathematica may return a result in a different, but equivalent, form than your answer.

Mathematica solution:

{y(x)3(x+1)}

Investigation 04

Solve the following IVPs.

  1. dydx=1y, y(0)=1

  2. dydx=x(1y), y(1)=3

  3. dydx=ex+y, y(0)=2

  4. dydx=yx2+1, y(0)=1

  5. dydx=1y1+x, y(0)=1

  6. dydx=(1x2)y3x2, y(2)=1

  7. xdydx=y3, y(1)=1

  8. dydx=1+xyxy, y(0)=2

Homework

At this time, you should be able to complete the following assignments:

CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License [http://creativecommons.org/licenses/by-nc-sa/4.0/].

Created: Thursday, 15 October 2020 6:42 EDT Last Modified: Thursday, 14 July 2022 - 09:57 (EDT)