0% found this document useful (0 votes)
63 views

Differential Equations, & Differential Equations With Linear Algebra Lab 1

This document provides instructions for students in a differential equations lab on exploring solutions to first and second order ordinary differential equations using the CAS software DERIVE. It gives the general forms of first and second order differential equations and explains how to use DERIVE's DSOLVE1_GEN and DSOLVE1 commands to find general and initial value solutions. Examples are provided, such as solving the equation y' = x^2xy with the initial condition y(0)=1.

Uploaded by

saadmunir24
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views

Differential Equations, & Differential Equations With Linear Algebra Lab 1

This document provides instructions for students in a differential equations lab on exploring solutions to first and second order ordinary differential equations using the CAS software DERIVE. It gives the general forms of first and second order differential equations and explains how to use DERIVE's DSOLVE1_GEN and DSOLVE1 commands to find general and initial value solutions. Examples are provided, such as solving the equation y' = x^2xy with the initial condition y(0)=1.

Uploaded by

saadmunir24
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

DIFFERENTIAL EQUATIONS, & DIFFERENTIAL

EQUATIONS WITH LINEAR ALGEBRA


(Spring 2017, Instructor: Dr. A. Darai)
LAB 1
Exploring solutions of first and second order ordinary differential
equations using the CAS DERIVE

First we shall look at first order differential equations whose general form can be written as:

q(x,y) y' + p(x,y) = 0

where p and q are continuous functions of x and y in a given region of the plane.

In Derive : DSOLVE1_GEN( p,q,x,y,c) will find a general solution for most linear, exact, separable,
homogeneous and some integrating factor types of first order differential equations.
If no solution can be found, using this command, then the system will indicate that it is "inapplicable" and other
more advanced methods (numerical and/or graphical) may be used.

For an initial-value problem we can use: DSOLVE1( p,q,x,y,a,b) where y(a)=b.

For example we can look at y' = Ðx#2xy


 "Ñ where y(0)=1 .

This can be written as (x # +1) y' - 2xy = 0, with y(0)=1

so q = (x# +1) and p = -2xy, a=0, b=1.

In Derive we enter DSOLVE1(-2xy, (x# +1), x,y,0,1) and press ENTER.

Next click on SIMPLIFY and from the menu choose BASIC. We should get y = x# + 1.

Now let us try a problem from the textbook (Edwards & Penney, p. 27, exercise #3):

Given the equation, y' = y - sin(x), then y' + (sin(x)-y) = 0

so, p =sin(x)-y, and q = 1

Enter in Derive, DSOLVE1_GEN(sin(x)-y,1,x,y,c), press ENTER, SIMPLIFY and choose BASIC.

The solution should be exp(-x) [cos(x) + sin(x) - 2y] = -2c.

In the next lab we shall experiment with different values of c in relation to direction fields (slope fields).

You might also like