handout of differential...

66
HANDOUT DIFFERENTIAL EQUATIONS For International Class Nikenasih Binatari NIP. 19841019 200812 2 005 Mathematics Educational Department Faculty of Mathematics and Natural Sciences State University of Yogyakarta 2010

Upload: others

Post on 19-Jan-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

HANDOUT

DIFFERENTIAL EQUATIONS

For International Class

Nikenasih Binatari

NIP. 19841019 200812 2 005

Mathematics Educational Department

Faculty of Mathematics and Natural Sciences

State University of Yogyakarta

2010

Page 2: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

CONTENTS

Cover

Contents

I. Introduction to Differential Equations

- Some basic mathematical modelsโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ

- Definitions and terminologyโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ - Classification of Differential Equationโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ.

- Initial Value Problemsโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ.. - Boundary Value Problemsโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ...

- Autonomous Equationโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ.

- Definition of Differential Equation Solutionsโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ...

1

3 7

9 10

11

16

II. First Order Equations for which exact solutions are obtainable - Standart forms of first order Differential Equationโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ.

- Exact Equationโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ.. - Solution of exact differential equationsโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ...

- Method of groupingโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ.

- Integrating factorโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ..

- Separable differential equationsโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ...

- Homogeneous differential equationsโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ... - Linear differential Equationsโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ

- Bernoulli differential equationsโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ

- Special integrating factorโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ.. - Special transformationsโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ

19

20 22

25

26

28

31 34

36

39 40

III. Application of first order equations

- Orthogonal trajectoriesโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ... - Oblique trajectoriesโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ.

- Application in mechanics problems and rate problemsโ€ฆโ€ฆโ€ฆโ€ฆ..

43 46

48

IV. Explicit methods of solving higher order linear differential

equations

- Basic theory of linear differential equationsโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ

- The homogeneous linear equation with constant coefficientโ€ฆโ€ฆ. - The method of undetermined coefficientsโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ..

- Variation of parametersโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ...

51

54 58

61

Page 3: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION

First Meeting :

I. Introduction to Differential Equations

- Some Basic Mathematical Models

- Definitions and Terminology

The study of differential equations has attracted the attention of many of the worldโ€™s

greatest mathematicians during the past three centuries. To give perspective to your study of

differential equations, first, we use a problem to illustrate some of the basic ideas that we

will return to and elaborate upon frequently throughout the remainder book.

I.1 Some Basic Mathematical Models

Consider the diagram below.

Example 1.1

The population of the city of Yogyakarta increases at a rate proportional to the

number of its inhabitants present at any time t. If the population of Yogyakarta was

30,000 in 1970 and 35,000 in 1980, what will be the population of Yogyakarta in

1990?

Assumptions Mathematical

formulation

Check model

predictions with

known facts

Obtain

solutions

Express assumptions in

terms of differential

equations

If necessary, alter

assumptions or increase

resolution of the model

Display model predictions,

e.g., graphically

Solve the DEs

Page 4: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

We can use the theory of differential equation to solve this problem. Suppose ๐‘ฆ ๐‘ก defines

the number of population at time-t. Therefore, the first information can be transformed into

mathematical model as

๐‘‘๐‘ฆ

๐‘‘๐‘ก= ๐พ๐‘ฆ

for some constant K, ๐‘ฆ 1970 = 30.000, and ๐‘ฆ 1980 = 35.000.

Just what is a differential equation and what does it signify? Where and how do differential

equations originate and of what use are they? Confronted with a differential equation, what

does one do with it, how does one do it, and what are the results of such activity? These

questions indicate three major aspects of the subject: theory, method, and application.

Therefore, things that will be discussed in this handout are how the forms of differential

equations are, the method to find its solution for each form and the last one is its

applications.

When we talk about something that is constantly changing, for example rate, then I can say,

in truth, we talk about derivative. Many of the principles underlying the behavior of the

natural world are statement or relations involving rates at which things happen. When

expressed in mathematical terms the relations are equations and the rates are derivatives.

Equations containing derivatives are differential equations.

Page 5: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

I.2 Definitions and Terminology

Definition Differential Equation

An equation containing the derivatives of one or more dependent variables, with respect to

one or more independent variables, is said to be a differential equation (DE).

For examples

1. ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ= 2๐‘ฅ

2. ๐‘‘3๐‘ฆ

๐‘‘๐‘ฅ3 โˆ’ 2๐‘‘2๐‘ฆ

๐‘‘๐‘ฅ2 โˆ’ 4๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ 8๐‘ฆ = 0

3. ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ

2

โˆ’ 2๐‘ฆ = 0

4. ๐‘ฅ2 + ๐‘ฆ2 ๐‘‘๐‘ฅ + ๐‘ฆ โˆ’ ๐‘ฅ ๐‘‘๐‘ฆ = 0

5. ๐‘ฅ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ ๐‘ฅ + 1 ๐‘ฆ = ๐‘ฅ3

Other examples of differential equation are

1. Radioactive Decay. The rate at which the nuclei of a substance decay is proportional

to the amount (more precisely, the number of nuclei) ๐ด(๐‘ก) of the substance remaining at

time t.

๐‘‘๐ด

๐‘‘๐‘ก= ๐‘˜๐ด

2. Newtonโ€™s Law of Cooling/warming. Suppose ๐‘‡(๐‘ก) represents the temperature of a

body at time t, Tm the temperature of the surrounding medium. The rate at which the

temperature of a body changes is proportional to the difference between the

temperature of the body and the temperature of the surrounding medium.

๐‘‘๐‘‡

๐‘‘๐‘ก= ๐‘˜ ๐‘‡ โˆ’ ๐‘‡๐‘š

More examples can be found at page 20 โ€“ 24, A first course in Differential Equation with

modeling application, Dennis G. Zill.

Page 6: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Exercises. 1

Population Dynamics.

1. Assumed that the growth rate of a country at a certain time is proportional to the total

population of the country at that time ๐‘ƒ(๐‘ก). Determine a differential equation for the

population of a country when individuals are allowed to immigrate into the country at a

constant rate ๐‘Ÿ > 0. How if individuals are allowed to emigrate from the country at a

constant rate ๐‘Ÿ > 0.

2. In another model of a changing population of a community, it is assumed that the rate at

which the population changes is a net rate โ€“ that is, the difference between the rate of

births and the rate of deaths in the community. Determine a model for the population

๐‘ƒ(๐‘ก) if both the birth rate and the death rate are proportional to the population present

at time t.

3. Using the concept of net rate introduced in Problem 2, determine a model for a

population ๐‘ƒ(๐‘ก) if the birth rate is proportional to the population present at time t but

the death rate is proportional to the square of the population present at time t.

4. Modify the model in problem 3 for the net rate at which the population ๐‘ƒ(๐‘ก) of a certain

kind of fish changes by also assuming that the fish are harvested at a constant rate ๐‘Ÿ > 0.

Newtonโ€™s Law of Cooling/Warming

5. A cup of coffee cools according to Newtionโ€™s Law of cooling.

Use data from the graph of the temperature ๐‘‡ ๐‘ก in figure

beside to estimate the constants ๐‘‡๐‘š , ๐‘‡0 and k in a model of

the form of a first-order initial-value problem

๐‘‘๐‘‡

๐‘‘๐‘ก= ๐‘˜ ๐‘‡ โˆ’ ๐‘‡๐‘š , ๐‘‡ 0 = ๐‘‡0

Page 7: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

6. The ambient temperature ๐‘‡๐‘š could be a function

of time t. Suppose that in an artificially controlled

environment, ๐‘‡๐‘š is periodic with a 24-hour period

as illustrated in Figure beside. Devise a

mathematical model for the temperature

๐‘‡(๐‘ก) of a body within this environment.

Spread of a Disease/Technology

7. Suppose a student carrying in a flu virus returns to an isolated college campus of 1000

students. Determine a differential equation for the number of people ๐‘ฅ(๐‘ก) who have

contracted the flu if the rate at which the disease spreads is proportional to the number

of interaction between the number of students who have the flu and the number of

number of students who have the flu and the number of students who have not yet been

exposed to it.

Mixtures

8. Supposes that a large mixing tank initially holds 300 gallons of water in which 50 pounds

of salt have been dissolved. Pure water is pumped into the tank at a rate of 3 gal/min,

and when the solution is well stirred, it is then pumped out at the same rate. Determine

the differential equation for amount of salt ๐ด ๐‘ก in the time at time t. What is ๐ด 0 .

9. Suppose that a large mixing tank initially holds 300 gallons of water in which 50 pounds

of salt have been dissolved. Another brine solution is pumped into the tank at a rate of 3

gal/min, and when the solution is well stirred, it is then pumped out at a slower rate 2

gal/min. If the concentration of the solution entering is 2 lb/gal, determine a differential

equation for the amount of salt ๐ด ๐‘ก in the tank at time t.

Page 8: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Falling bodies and Air Resistance

10. For high-speed motion through the air โ€“ such as the skydiver shown in figure below,

falling before the paracute is opened โ€“ air resistance is closer to a power of the

instantaneous velocity ๐‘ฃ(๐‘ก). Determine a differential equation for the velocity ๐‘ฃ(๐‘ก) of a

falling body of mass m if air resistance is proportional to the square of the instantaneous

velocity.

Page 9: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION

Second Meeting :

I. Introduction to Differential Equations

- Classification of Differential Equations

- Initial Value Problems - Boundary Value Problems

Differential equation is divided into two big classes; those are ordinary differential equation

and partial differential equation. The different is located at the number of its independent

variable.

Definition Ordinary Differential Equation

A differential equation involving ordinary derivatives of one or more dependent variables

with respect to a single independent variable is called an ordinary differential equation

(ODE).

Definition Partial Differential Equation

A differential equation involving partial derivatives of one or more dependent variables with

respect to more than one independent variable is called a partial differential equation (PDE)

Definition Order

The order of the highest ordered derivative involved in a differential equation is called the

order of the differential equation

Definition Linear Ordinary Differential Equation

A linear ordinary differential equation of order n, in the dependent variable y and the

independent variable x, is an equation that is in, or can be expressed in, the form

๐‘Ž0 ๐‘ฅ ๐‘‘๐‘›๐‘ฆ

๐‘‘๐‘ฅ๐‘›+ ๐‘Ž1 ๐‘ฅ

๐‘‘๐‘›โˆ’1๐‘ฆ

๐‘‘๐‘ฅ๐‘›โˆ’1+ โ‹ฏ + ๐‘Ž๐‘›โˆ’1 ๐‘ฅ

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ ๐‘Ž๐‘› ๐‘ฅ ๐‘ฆ = ๐‘ ๐‘ฅ

Where ๐‘Ž0 is not identically zero.

Page 10: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Definition Nonlinear Ordinary Differential Equation

A nonlinear ordinary differential equation is an ordinary differential equation that is not

linear.

As given from the previous materials, there are many terminologies for differential

equations. Among those terminologies, differential equations are then classified by type,

order and linearity.

Classification by Type

Refers to the number of its independent variables, differential equation is divided into two

types, ordinary differential equation and partial differential equation.

Classification by Order

Consider to the highest derivative in the equation, differential equation can be classified by

nth-order ordinary differential equations.

Classification by Linearity

From its linearity, differential equation is classified into linear differential equation and

nonlinear differential equation.

Classification of Differential Equation can be easily seen from the diagram below:

Differential Equation (DE)

Types

Ordinary DE

Partial DE

Order n-th DE

Linearity

Linear DE

Nonlinear DE

Page 11: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

For example

1. ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ= 2๐‘ฆ

First order homogeneous linear ordinary differential equation

2. ๐‘‘3๐‘ฆ

๐‘‘๐‘ฅ3 โˆ’ 2๐‘‘2๐‘ฆ

๐‘‘๐‘ฅ2 โˆ’ 4๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ 8๐‘ฆ = 0

Third order homogeneous linear ordinary differential equation

3. ๐‘‘2๐‘ฆ

๐‘‘๐‘ฅ2 3

โˆ’ 2๐‘ฆ = 0

Second order homogeneous nonlinear ordinary differential equation

4. ๐‘ฅ2 + ๐‘ฆ2 ๐‘‘๐‘ฅ + ๐‘ฆ โˆ’ ๐‘ฅ ๐‘‘๐‘ฆ = 0

first order

5. ๐‘ฅ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ ๐‘ฅ + 1 ๐‘ฆ = ๐‘ฅ3

first order non homogeneous ordinary differential equation

Suppose that you are driving along a road and you want to predict where you will be in the

future. You need to know two things--

How fast you are driving.

Where you start.

Now suppose that you are the mayor of a city and want to predict how many students will

be enrolled the schools in the future. Once again you need to know two things--

How fast the school population is changing.

The current school population.

The two parts of each of the problems above together make up an initial value problem

or IVP. An IVP has two parts--

A differential equation describing how things change.

One or more initial conditions describing how things start.

Page 12: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Definition of Initial Value Problems

On some interval I containing x0, the problem

Solve :

๐‘‘๐‘› ๐‘ฆ

๐‘‘๐‘ฅ๐‘› = ๐‘“ ๐‘ฅ, ๐‘ฆ, ๐‘ฆ โ€ฒ , โ€ฆ , ๐‘ฆ ๐‘›โˆ’1

Subject to : ๐‘ฆ ๐‘ฅ0 = ๐‘ฆ0,

๐‘ฆ โ€ฒ ๐‘ฅ0 = ๐‘ฆ1, โ€ฆ , ๐‘ฆ๐‘›โˆ’1 ๐‘ฅ0 = ๐‘ฆ๐‘›โˆ’1

Where ๐‘ฆ0, ๐‘ฆ1, ๐‘ฆ2, โ€ฆ๐‘ฆ๐‘›โˆ’1 are arbitrarily specified real

constants, is called an initial value problem (IVP). The given values of the unknown function

and its first derivatives at a single point x0, ๐‘ฆ ๐‘ฅ0 = ๐‘ฆ0, ๐‘ฆ โ€ฒ ๐‘ฅ0 = ๐‘ฆ1, โ€ฆ , ๐‘ฆ๐‘›โˆ’1 ๐‘ฅ0 = ๐‘ฆ๐‘›โˆ’1

are called initial conditions.

Another type of problem consists of solving a linear differential equation in which the

dependent variable ๐‘ฆ or its derivatives are specified at different points. This type of

differential equation is called boundary value problem (BVP)

Page 13: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION Third Meeting :

I. Introduction to Differential Equations

- Autonomous Equation

An important class of first order equations is those in which the independent variable does

not appear explicitly. Such equations are called autonomous and have the form

๐‘‘๐‘ฆ

๐‘‘๐‘ก= ๐‘“ ๐‘ฆ

For example

๐‘‘๐‘ฆ

๐‘‘๐‘ก= ๐‘Ž๐‘ฆ + ๐‘,

where a and b are constants. Our goal now is to obtain important qualitative information

directly from the differential equation, without solving the equation.

Steps to draw the solution curves of ๐’…๐’š

๐’…๐’•= ๐’‡ ๐’š .

1. Find the equilibrium solutions, those are constant solutions or solutions which

satisfying ๐‘‘๐‘ฆ

๐‘‘๐‘ก= 0.

2. Determine which area such that the curve will increase or decrease.

The curve will increase for area where ๐‘‘๐‘ฆ

๐‘‘๐‘ก> 0 and decrease for area where

๐‘‘๐‘ฆ

๐‘‘๐‘ก< 0

3. To investigate one step further, we can determine the concavity of the

solution curve by using its second derivative, ๐‘‘2๐‘ฆ

๐‘‘๐‘ก2

๐‘‘2๐‘ฆ

๐‘‘๐‘ก2= ๐‘“ โ€ฒ ๐‘ฆ

๐‘‘๐‘ฆ

๐‘‘๐‘ก= ๐‘“ โ€ฒ ๐‘ฆ ๐‘“ ๐‘ฆ

The graph of y versus t is concave up when ๐‘‘2๐‘ฆ

๐‘‘๐‘ก2 > 0 while concave down

when ๐‘‘2๐‘ฆ

๐‘‘๐‘ก2 < 0.

Page 14: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Look at the following figures.

Example 1.3

The population of the city of Yogyakarta increases at a rate proportional to the

number of its inhabitants present at any time t. The population of Yogyakarta was

30,000 in 1970 and 35,000 in 1980. Determine the behavior of the number of its

population.

Answer :

As we modeled this problem before, suppose ๐‘ฆ ๐‘ก defines the number of population at time-

t. Therefore, the first information can be transformed into mathematical model as

๐‘‘๐‘ฆ

๐‘‘๐‘ก= ๐พ๐‘ฆ

for some constant K > 0, ๐‘ฆ 1970 = 30.000, and ๐‘ฆ 1980 = 35.000.

From the concept of derivative, we know that first derivative of a function is the rate. As we

see that k > 0 and y > 0 which are implied that ๐‘‘๐‘ฆ

๐‘‘๐‘ก> 0. Therefore we can simply conclude

that the number of population will increase all over the time.

Page 15: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Figure : y versus t for dy/dt = Ky.

Example I.4

If the population rate can be modeled into

๐‘‘๐‘ฆ

๐‘‘๐‘ก= 3 โˆ’ ๐‘ฆ ๐‘ฆ

Answer :

1. The equilibrium solutions are ๐‘ฆ such that

3 โˆ’ ๐‘ฆ ๐‘ฆ โ†” ๐‘ฆ = 3 or ๐‘ฆ = 0

2. Here, we can analyze that for 0 < ๐‘ฆ < 3 the derivative is positive valued

while for ๐‘ฆ < 0 or ๐‘ฆ > 3 the derivative is negative valued. Therefore, the

population will increase for 0 < ๐‘ฆ < 3, while for ๐‘ฆ < 0 or ๐‘ฆ > 3 the

population will decrease.

3. Determine the concavity.

๐‘‘2๐‘ฆ

๐‘‘๐‘ก2= ๐‘“ โ€ฒ ๐‘ฆ

๐‘‘๐‘ฆ

๐‘‘๐‘ก= ๐‘“ โ€ฒ ๐‘ฆ ๐‘“ ๐‘ฆ

Page 16: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Suppose ๐‘“ ๐‘ฆ = 3 โˆ’ ๐‘ฆ ๐‘ฆ, then ๐‘“ โ€ฒ ๐‘ฆ = โˆ’2๐‘ฆ + 3. Itโ€™s implied that ๐‘‘2๐‘ฆ

๐‘‘๐‘ก2 =

3 โˆ’ 2๐‘ฆ 3 โˆ’ ๐‘ฆ ๐‘ฆ.

Figure : ๐‘ฆ versus ๐‘ก for ๐‘‘๐‘ฆ

๐‘‘๐‘ก= 3 โˆ’ ๐‘ฆ ๐‘ฆ

Definition

Consider the value for the solution ๐‘ฆ that starts near the equilibrium solution ๐‘ฆ0 as ๐‘ก โ†’ โˆž. If

lim๐‘กโ†’โˆž

๐‘ฆ ๐‘ก = ๐‘ฆ0

then ๐‘ฆ0 is called an asymptotically stable solution. Otherwise, itโ€™s called an unstable

equilibrium solution.

Example I.4 above, ๐‘ฆ = 3 is an asymptotically stable solution whereas ๐‘ฆ = 0 is an unstable

equilrium.

Page 17: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Exercises 3.

In each problem below, sketch the graph of y versus t, determine the critical (equilibrium)

points, and classify each one as asymptotically stable or unstable.

1. ๐‘‘๐‘ฆ

๐‘‘๐‘ก= 2๐‘ฆ + 3๐‘ฆ2, ๐‘ฆ 0 = 3

2. ๐‘‘๐‘ฆ

๐‘‘๐‘ก= ๐‘ฆ ๐‘ฆ โˆ’ 1 ๐‘ฆ โˆ’ 2 , ๐‘ฆ 0 = 4

3. ๐‘‘๐‘ฆ

๐‘‘๐‘ก= ๐‘ฆ ๐‘ฆ โˆ’ 1 ๐‘ฆ โˆ’ 2 , ๐‘ฆ 0 = 1,2

4. ๐‘‘๐‘ฆ

๐‘‘๐‘ก= ๐‘ฆ ๐‘ฆ โˆ’ 1 ๐‘ฆ โˆ’ 2 , ๐‘ฆ 0 = โˆ’1

5. ๐‘‘๐‘ฆ

๐‘‘๐‘ก= ๐‘’๐‘ฆ โˆ’ 1, ๐‘ฆ 0 = 1

Page 18: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION Fourth Meeting :

I. Introduction to Differential Equations - Differential Equations Solution

As mentioned before, one of our goals in this course is to solve or to find the solutions of

differential equations.

Definition Solution of a Differential Equation

Any function ๐‘“ defined on some interval I, which when substituted into a differential

equation reduces equation to an identity, is said to be a solution of the equation on the

interval. In other words, ๐‘“ is said to be a solution if it possess at least n derivatives and

satisfies the differential equation, ๐‘ฆ = ๐‘“ ๐‘ฅ .

Consider the following differential equation

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ= โˆ’

๐‘ฅ

๐‘ฆ

Explicit solution

A solution in which the dependent variable is expressed in terms of the independent

variable and constant is said to be an explicit solution. Specifically, an explicit solution

of a differential equation that is identically zero on an interval I is said to be a trivial

solution.

Example : ๐‘ฆ = ยฑ 4 โˆ’ ๐‘ฅ2 is an explicit solution of differential equation above.

Page 19: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Implicit solution

A relation ๐บ ๐‘ฅ, ๐‘ฆ = 0 is said to be an implicit solution of an ordinary differential

equation on an interval I provided there exists at least one function โˆ… that satisfies

the relation as well as the differential equation on I. in other words, ๐บ ๐‘ฅ, ๐‘ฆ = 0

defines the function โˆ… implicitly.

Example : ๐‘ฅ2 + ๐‘ฆ2 โˆ’ 4 = 0 is an implicit solution of differential equation above.

General solution

A solution containing single or multiple arbitrary constant is called general solution.

Example : ๐‘ฅ2 + ๐‘ฆ2 โˆ’ ๐‘ = 0 for every constan ๐‘ โ‰ฅ 0 is general solution of differential

equation above.

Particular solution

A solution of a differential equation that is free of arbitrary parameters is called a

particular solution.

Example : suppose ๐‘ฆ 0 = 4 then ๐‘ = 16, therefore ๐‘ฅ2 + ๐‘ฆ2 โˆ’ 16 = 0 is particular

solution of differential equation where ๐‘ฆ 0 = 4.

Exercises 4.

1. Show that ๐‘ฆ = 4๐‘’2๐‘ฅ + 2๐‘’โˆ’3๐‘ฅ is a solution of differential equation as follows

๐‘‘2๐‘ฆ

๐‘‘๐‘ฅ2+

๐‘‘๐‘ฆ

๐‘‘๐‘ฅโˆ’ 6๐‘ฆ = 0

2. Show that ๐‘ฆ = ๐‘ฅ2 + ๐‘ ๐‘’โˆ’๐‘ฅ is the solution of ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ ๐‘ฆ = 2๐‘ฅ๐‘’โˆ’๐‘ฅ . Given that ๐‘ฆ 0 = 2,

find the particular solution.

Page 20: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

3. Show that ๐‘ฆ = ๐‘1๐‘’4๐‘ฅ + ๐‘2๐‘’

โˆ’3๐‘ฅ is the solution of ๐‘‘2๐‘ฆ

๐‘‘๐‘ฅ2 โˆ’๐‘‘๐‘ฆ

๐‘‘๐‘ฅโˆ’ 12๐‘ฆ = 0 and then find the

particular solution if itโ€™s known that ๐‘ฆ 0 = 5 and ๐‘ฆ โ€ฒ 0 = 6.

4. Show that for some choice of the arbitrary constants ๐‘1 and ๐‘2, the form ๐‘ฆ = ๐‘1 sin ๐‘ฅ +

๐‘2 cos ๐‘ฅ is the solution of ๐‘‘2๐‘ฆ

๐‘‘๐‘ฅ2 +๐‘‘๐‘ฆ

๐‘‘๐‘ฅ= 0 but the boundary problems ๐‘ฆ 0 = 0 and

๐‘ฆ ๐œ‹ = 1 doesnโ€™t possess the solution.

5. Find the value of ๐‘1, ๐‘2 and ๐‘3 such that ๐‘ฆ = ๐‘1๐‘ฅ + ๐‘2๐‘ฅ2 + ๐‘3๐‘ฅ

3 is the solution of

๐‘ฅ3๐‘‘3๐‘ฆ

๐‘‘๐‘ฅ3โˆ’ 3๐‘ฅ2

๐‘‘2๐‘ฆ

๐‘‘๐‘ฅ2+ 6๐‘ฅ

๐‘‘๐‘ฆ

๐‘‘๐‘ฅโˆ’ 6๐‘ฆ = 0

That satisfying three conditions

๐‘ฆ 2 = 0, ๐‘ฆ โ€ฒ 2 = 2, ๐‘ฆ"(2) = 6

Page 21: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION Fifth Meeting :

II. First Order Differential Equations for Which Exact Solutions are obtainable - Standard forms of First Order Differential Equations

- Exact Equation

In this chapter, we will discuss the solution of first order differential equation. The main idea

is to check whether it is an exact or nonexact. For Nonexact first order differential

equation, we should use integrating factor to transform nonexact differential equation into

the new differential equation which is exact.

II.A Standard forms of First Order Differential Equations

Definition 2.1

Let F be a function of two real variables such that F has continuous first partial

derivatives in a domain D. The total differential dF of the function F is defined by the

formula

๐‘‘๐น ๐‘ฅ, ๐‘ฆ =๐œ•๐น(๐‘ฅ, ๐‘ฆ)

๐œ•๐‘ฅ ๐‘‘๐‘ฅ +

๐œ•๐น(๐‘ฅ, ๐‘ฆ)

๐œ•๐‘ฆ ๐‘‘๐‘ฆ

For all ๐‘ฅ, ๐‘ฆ โˆˆ ๐ท.

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ= ๐‘“ ๐‘ฅ, ๐‘ฆ โ€ฆโ€ฆ (2.1)

๐‘€ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฅ + ๐‘ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฆ = 0 โ€ฆโ€ฆ (2.2)

First order differential equation can be expressed as derivative form

or as differential form

Page 22: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Definition 2.2

In a domain D, if there exists a function F of two real variables such that expression

๐‘€ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฅ + ๐‘ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฆ

equals to the total differential ๐‘‘๐น(๐‘ฅ, ๐‘ฆ) for all ๐‘ฅ, ๐‘ฆ โˆˆ ๐ท then this expression is

called an exact differential.

In other words, the expression above is an exact differential in D if there exists a function F

such that

๐œ•๐น(๐‘ฅ,๐‘ฆ)

๐œ•๐‘ฅ= ๐‘€(๐‘ฅ, ๐‘ฆ) and

๐œ•๐น(๐‘ฅ ,๐‘ฆ)

๐œ•๐‘ฆ= ๐‘(๐‘ฅ, ๐‘ฆ)

for all ๐‘ฅ, ๐‘ฆ โˆˆ ๐ท.

EXACT EQUATION

If ๐‘€ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฅ + ๐‘ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฆ is an exact differential, then the differential equation

๐‘€ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฅ + ๐‘ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฆ = 0

is called an exact differential equation.

The following theorem is used to identify whether a differential equation is an exact or not.

๐‘€ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฅ + ๐‘ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฆ = 0

๐œ•๐‘€ ๐‘ฅ, ๐‘ฆ

๐œ•๐‘ฆ=

๐œ•๐‘(๐‘ฅ, ๐‘ฆ)

๐œ•๐‘ฅ

๐œ•๐‘€ ๐‘ฅ, ๐‘ฆ

๐œ•๐‘ฆ=

๐œ•๐‘(๐‘ฅ, ๐‘ฆ)

๐œ•๐‘ฅ

Theorem

Consider the differential equation

Where M and N have continuous first partial derivatives at all points (๐‘ฅ, ๐‘ฆ) in a

rectangular domain D.

1. If the differential equation is exact in D, then

For all ๐‘ฅ, ๐‘ฆ โˆˆ ๐ท

2. Conversely, if

For all ๐‘ฅ, ๐‘ฆ โˆˆ ๐ท, then the differential equation is exact in D.

Page 23: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Example 2.1

Determine the following differential equation is exact or nonexact.

2๐‘ฅ๐‘ฆ โˆ’ 9๐‘ฅ2 + 2๐‘ฆ + ๐‘ฅ2 + 1 ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ= 0

Answer :

The differential equation is expressed in derivative form. Transformed into differential form,

we get

2๐‘ฅ๐‘ฆ โˆ’ 9๐‘ฅ2 ๐‘‘๐‘ฅ 2๐‘ฆ + ๐‘ฅ2 + 1 ๐‘‘๐‘ฆ = 0

Suppose ๐‘€ ๐‘ฅ, ๐‘ฆ = 2๐‘ฅ๐‘ฆ โˆ’ 9๐‘ฅ2 and ๐‘ ๐‘ฅ, ๐‘ฆ = 2๐‘ฆ + ๐‘ฅ2 + 1, then the differential equation

above is exact if and only if

๐œ•๐‘€ ๐‘ฅ, ๐‘ฆ

๐œ•๐‘ฆ=

๐œ•๐‘ ๐‘ฅ, ๐‘ฆ

๐œ•๐‘ฅ.

๐œ•๐‘€ ๐‘ฅ, ๐‘ฆ

๐œ•๐‘ฆ=

๐œ• 2๐‘ฅ๐‘ฆ โˆ’ 9๐‘ฅ2

๐œ•๐‘ฆ= 2๐‘ฅ

While

๐œ•๐‘ ๐‘ฅ, ๐‘ฆ

๐œ•๐‘ฅ=

๐œ•๐‘ฅ 2๐‘ฆ + ๐‘ฅ2 + 1

๐œ•๐‘ฅ= 2๐‘ฅ

Because ๐œ•๐‘€ ๐‘ฅ,๐‘ฆ

๐œ•๐‘ฆ=

๐œ•๐‘ ๐‘ฅ ,๐‘ฆ

๐œ•๐‘ฅ , then the differential equation above is an exact.

Exercises 5.

Determine whether it is an exact differential equation or not. Explained!

1. 1 + ln ๐‘ฅ๐‘ฆ ๐‘‘๐‘ฅ +๐‘ฅ

๐‘ฆ ๐‘‘๐‘ฆ = 0

2. ๐‘ฅ2๐‘ฆ ๐‘‘๐‘ฅ โˆ’ ๐‘ฅ๐‘ฆ2 + ๐‘ฆ3 ๐‘‘๐‘ฆ = 0

3. ๐‘ฆ + 3๐‘ฅ2 ๐‘‘๐‘ฅ + ๐‘ฅ ๐‘‘๐‘ฆ = 0

4. cos ๐‘ฅ๐‘ฆ โˆ’ ๐‘ฅ๐‘ฆ sin ๐‘ฅ๐‘ฆ ๐‘‘๐‘ฅ โˆ’ ๐‘ฅ2 sin ๐‘ฅ๐‘ฆ ๐‘‘๐‘ฆ = 0

5. ๐‘ฆ๐‘’๐‘ฅ๐‘ฆ ๐‘‘๐‘ฅ + 2๐‘ฆ โˆ’ ๐‘ฅ๐‘’๐‘ฅ๐‘ฆ ๐‘‘๐‘ฆ = 0

More exercises can be found in the references.

Page 24: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION Sixth Meeting :

II. First Order Differential Equations for Which Exact Solutions are obtainable - Solution of Exact Differential Equations

By using this theorem, the solution for exact differential equation above is a function F such

that satisfies

๐œ•๐น(๐‘ฅ,๐‘ฆ)

๐œ•๐‘ฅ= ๐‘€(๐‘ฅ, ๐‘ฆ) and

๐œ•๐น(๐‘ฅ ,๐‘ฆ)

๐œ•๐‘ฆ= ๐‘(๐‘ฅ, ๐‘ฆ)

for all ๐‘ฅ, ๐‘ฆ โˆˆ ๐ท.

Therefore,

๐‘€ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฅ + ๐‘ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฆ = 0

๐œ•๐น(๐‘ฅ, ๐‘ฆ)

๐œ•๐‘ฅ ๐‘‘๐‘ฅ +

๐œ•๐น(๐‘ฅ, ๐‘ฆ)

๐œ•๐‘ฆ ๐‘‘๐‘ฆ

๐‘‘๐น ๐‘ฅ, ๐‘ฆ = 0

If we manipulate it for several operation, we obtain the solution can be expressed into

๐น ๐‘ฅ, ๐‘ฆ = ๐‘€ ๐‘ฅ, ๐‘ฆ ๐œ•๐‘ฅ + ๐‘ ๐‘ฅ, ๐‘ฆ โˆ’ ๐œ•๐‘€ ๐‘ฅ, ๐‘ฆ

๐œ•๐‘ฆ ๐œ•๐‘ฅ ๐‘‘๐‘ฆ

Example 2.2

Solve the differential equation below

3๐‘ฅ + 2๐‘ฆ ๐‘‘๐‘ฅ + 2๐‘ฅ + ๐‘ฆ ๐‘‘๐‘ฆ = 0

Answer :

First we have to figure it out whether itโ€™s an exact differential equation or not.

Suppose ๐‘€ ๐‘ฅ, ๐‘ฆ = 3๐‘ฅ + 2๐‘ฆ and ๐‘ ๐‘ฅ, ๐‘ฆ = 2๐‘ฅ + ๐‘ฆ

Therefore, we get

Page 25: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

๐œ•๐‘€(๐‘ฅ, ๐‘ฆ)

๐œ•๐‘ฆ= 2 ๐‘Ž๐‘›๐‘‘

๐œ•๐‘(๐‘ฅ, ๐‘ฆ)

๐œ•๐‘ฅ= 2

Because ๐œ•๐‘€(๐‘ฅ,๐‘ฆ)

๐œ•๐‘ฆ=

๐œ•๐‘(๐‘ฅ ,๐‘ฆ)

๐œ•๐‘ฅ, then the differential equation above is an exact differential

equation.

So, there exist a function F such that satisfies

๐œ•๐น(๐‘ฅ,๐‘ฆ)

๐œ•๐‘ฅ= ๐‘€(๐‘ฅ, ๐‘ฆ) and

๐œ•๐น(๐‘ฅ ,๐‘ฆ)

๐œ•๐‘ฆ= ๐‘(๐‘ฅ, ๐‘ฆ)

We have

๐œ•๐น(๐‘ฅ, ๐‘ฆ)

๐œ•๐‘ฅ= ๐‘€ ๐‘ฅ, ๐‘ฆ = 3๐‘ฅ + 2๐‘ฆ

Then

๐น ๐‘ฅ, ๐‘ฆ = 3๐‘ฅ + 2๐‘ฆ ๐œ•๐‘ฅ + ๐œƒ ๐‘ฆ =3

2๐‘ฅ2 + 2๐‘ฆ + ๐œƒ ๐‘ฆ

Derived it for y,

๐œ•๐น(๐‘ฅ, ๐‘ฆ)

๐œ•๐‘ฆ= 2 + ๐œƒโ€ฒ ๐‘ฆ

Because ๐œ•๐น(๐‘ฅ ,๐‘ฆ)

๐œ•๐‘ฆ= ๐‘(๐‘ฅ, ๐‘ฆ), then

2 + ๐œƒโ€ฒ ๐‘ฆ = 2 โ†’ ๐œƒโ€ฒ ๐‘ฆ = 0

Here we get,

๐œƒ ๐‘ฆ = ๐œƒโ€ฒ ๐‘ฆ ๐‘‘๐‘ฆ = 0 ๐‘‘๐‘ฆ = ๐‘

From the operations above, we obtain the solution for the differential equation is

๐น ๐‘ฅ, ๐‘ฆ =3

2๐‘ฅ2 + 2๐‘ฆ + ๐‘

Page 26: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Exercise 6.

1. Solve the exact differential equations in Exersice 5.

2. Solve the following differential equations.

a. 2๐‘ฅ๐‘ฆ ๐‘‘๐‘ฅ + ๐‘ฅ2 + 1 ๐‘‘๐‘ฆ = 0

b. ๐‘ฆ2 + cos ๐‘ฅ ๐‘‘๐‘ฅ + 2๐‘ฅ๐‘ฆ + sin ๐‘ฆ ๐‘‘๐‘ฆ = 0

c. 4๐‘’2๐‘ฅ + 2๐‘ฅ๐‘ฆ โˆ’ ๐‘ฆ2 ๐‘‘๐‘ฅ + ๐‘ฅ โˆ’ ๐‘ฆ 2 ๐‘‘๐‘ฆ = 0

Page 27: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION Seventh Meeting :

II. First Order Differential Equations for Which Exact Solutions are obtainable - Method of Grouping

- Integrating Factor

Another way to find the solution of differential equation is by method of grouping that is

grouping the terms of differential equation in such a way that its left member appears as the

sum of certain exact differentials.

Example

2๐‘ฅ cos ๐‘ฆ + 3๐‘ฅ2๐‘ฆ ๐‘‘๐‘ฅ + ๐‘ฅ3 โˆ’ ๐‘ฅ2 sin ๐‘ฆ โˆ’ ๐‘ฆ ๐‘‘๐‘ฆ = 0

Answer :

We can rewrite the differential equation above into the following term

2๐‘ฅ cos ๐‘ฆ ๐‘‘๐‘ฅ โˆ’ ๐‘ฅ2 sin ๐‘ฆ ๐‘‘๐‘ฆ + 3๐‘ฅ2๐‘ฆ ๐‘‘๐‘ฅ + ๐‘ฅ3๐‘‘๐‘ฆ โˆ’ ๐‘ฆ๐‘‘๐‘ฆ = 0

By using total difference for each term under the blankets, here we get,

๐‘‘ ๐‘ฅ2 cos ๐‘ฆ + ๐‘‘ ๐‘ฅ3๐‘ฆ โˆ’ ๐‘‘ 1

2๐‘ฆ2 = 0

Integrating both sides, we have

๐‘ฅ2 cos ๐‘ฆ + ๐‘ฅ3๐‘ฆ โˆ’1

2๐‘ฆ2 = 0

So, the solution of the differential above is ๐‘ฅ2 cos ๐‘ฆ + ๐‘ฅ3๐‘ฆ โˆ’1

2๐‘ฆ2 = 0.

Exercise 7.1

Solve the following equations by method of grouping.

1. 3๐‘ฅ + 2๐‘ฆ ๐‘‘๐‘ฅ + 2๐‘ฅ + ๐‘ฆ ๐‘‘๐‘ฆ = 0

2. ๐‘ฆ2 + 3 ๐‘‘๐‘ฅ + 2๐‘ฅ๐‘ฆ โˆ’ 4 ๐‘‘๐‘ฆ = 0

3. 6๐‘ฅ๐‘ฆ + 2๐‘ฆ2 โˆ’ 5 ๐‘‘๐‘ฅ โˆ’ ๐‘ฅ3 + ๐‘ฆ ๐‘‘๐‘ฆ = 0

Page 28: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

4. ๐‘Ž2 + 1 cos ๐‘Ÿ ๐‘‘๐‘Ÿ + 2๐‘Ž sin ๐‘Ÿ ๐‘‘๐‘Ž = 0

5. ๐‘ฆ sec2 ๐‘ฅ + sec ๐‘ฅ tan ๐‘ฅ ๐‘‘๐‘ฅ + tan ๐‘ฅ + 2๐‘ฆ ๐‘‘๐‘ฆ = 0

From the previous meeting, it has been discussed differential equation which is exact. How if

the equation isnโ€™t exact? Here, we introduced integrating factor that is a factor when

multiplied into the equation, it will transform the equation into exact.

Definition

If the differential equation

๐‘€(๐‘ฅ, ๐‘ฆ) ๐‘‘๐‘ฅ + ๐‘(๐‘ฅ, ๐‘ฆ) ๐‘‘๐‘ฆ = 0

is not exact in a domain D but the differential equation

๐œ‡ ๐‘ฅ, ๐‘ฆ ๐‘€ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฅ + ๐œ‡ ๐‘ฅ, ๐‘ฆ ๐‘ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฆ = 0

is exact in D, then ๐œ‡(๐‘ฅ, ๐‘ฆ) is called an integrating factor of the differential equation.

Note : Solution of the first equation is equals with the second equation.

Exercises 7.2

1. Consider the differential equation

4๐‘ฅ + 3๐‘ฆ2 ๐‘‘๐‘ฅ + 2๐‘ฅ๐‘ฆ ๐‘‘๐‘ฆ = 0

a. Show that this equation is not exact

b. Find the integratiiing factor of the form ๐‘ฅ๐‘› , where n is a positive integer.

c. Multiply the given equation through by the integrating factor found in (b) and

solve the resulting exact equation.

2. Consider the differential equation

๐‘ฆ2 + 2๐‘ฅ๐‘ฆ ๐‘‘๐‘ฅ โˆ’ ๐‘ฅ62 ๐‘‘๐‘ฆ = 0

a. Show that this equation is not exact.

b. Multiply the given equatttion through by ๐‘ฆ๐‘› , where n is an integer and then

determine n so that ๐‘ฆ๐‘› is an integrating factor of the given equation.

Page 29: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

c. Multiply the given equation through by the integrating factor found in (b) and

solve the resulting exact equation.

d. Show that y = 0 is a solution of the original nonexact equation but is not a

solution of the essentially equivalent exact equation found in step (c).

e. Graph several integral curves of the original equation, including all those whose

equations are (or can be writen) in some special form.

Page 30: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION Eighth Meeting :

II. First Order Differential Equations for Which Exact Solutions are obtainable - Separable Differential Equations

Next, we will discuss about some kind of nonexact differential equation and how it is solved.

A. SEPARABLE EQUATIONS

Consider to the general form of differential equation in differential form. The differential

equation is called separable differential equations if ๐‘“ or M and N can be expressed into

multiplication of function of each variable. In other words, M and N can be expressed into

formula in the definition as follows :

Definition

An equation of the form

๐น ๐‘ฅ ๐บ ๐‘ฆ ๐‘‘๐‘ฅ + ๐‘“ ๐‘ฅ ๐‘” ๐‘ฆ ๐‘‘๐‘ฆ = 0

or

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ= ๐‘” ๐‘ฅ ๐‘• ๐‘ฆ

is called an equation with variables separable or simply a separable equation.

As we can see that separable equation which is expressed in differential form, in general, is

not exact, but it possesses an obvious integrating factor, namely 1

๐‘“ ๐‘ฅ ๐บ ๐‘ฆ where ๐‘“ ๐‘ฅ1 โ‰  0

and ๐บ ๐‘ฆ1 โ‰  0 for some ๐‘ฅ1 and ๐‘ฆ1. Therefore, if we multiply this equation by this

expression, we separate the variables, reducing it to the essentially equivalent equation

Page 31: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

๐น ๐‘ฅ

๐‘“ ๐‘ฅ ๐‘‘๐‘ฅ +

๐‘” ๐‘ฆ

๐บ ๐‘ฆ ๐‘‘๐‘ฆ = 0

This last equation is exact since

๐œ•

๐œ•๐‘ฆ ๐น ๐‘ฅ

๐‘“ ๐‘ฅ = 0 =

๐œ•

๐œ•๐‘ฅ ๐‘” ๐‘ฆ

๐บ ๐‘ฆ

The solution of the separable equation then simply can be resulted by integrating each

variable

๐น ๐‘ฅ

๐‘“ ๐‘ฅ ๐‘‘๐‘ฅ =

๐‘” ๐‘ฆ

๐บ ๐‘ฆ ๐‘‘๐‘ฆ

If there exists ๐‘ฅ1 and or ๐‘ฆ1 such that ๐‘“ ๐‘ฅ1 = ๐บ ๐‘ฆ1 = 0, then we must determine whether

any of these solutions of the original equation which were lost in the formal separation

process.

Example.

Solve

๐‘ฅ๐‘ฆ4 ๐‘‘๐‘ฅ + ๐‘ฆ2 + 2 ๐‘’โˆ’3๐‘ฅ ๐‘‘๐‘ฆ = 0

Answer :

This equation is an exact differential equation. We define the integrating factor of its

equation is

1

๐‘ฆ4๐‘’โˆ’3๐‘ฅ, ๐‘ฆ4 โ‰  0.

Here, we obtain

๐‘ฅ

๐‘’โˆ’3๐‘ฅ๐‘‘๐‘ฅ +

๐‘ฆ2 + 2

๐‘ฆ4๐‘‘๐‘ฆ = 0

๐‘ฅ

๐‘’โˆ’3๐‘ฅ๐‘‘๐‘ฅ = โˆ’

๐‘ฆ2 + 2

๐‘ฆ4๐‘‘๐‘ฆ

Using integration by parts

๐‘ฅ

๐‘’โˆ’3๐‘ฅ๐‘‘๐‘ฅ = โˆ’

๐‘ฆ2 + 2

๐‘ฆ4๐‘‘๐‘ฆ

Page 32: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

yields

โˆ’1

๐‘ฅ+

2

๐‘ฅ2+

1

๐‘ฆโˆ’

1

๐‘ฆ3= ๐‘

Then, we have to check whether ๐‘ฆ = 0 is a solution from its origin equation which is loss in

separation process or not.

๐‘ฅ๐‘ฆ4 ๐‘‘๐‘ฅ + ๐‘ฆ2 + 2 ๐‘’โˆ’3๐‘ฅ ๐‘‘๐‘ฆ = 0 โ†’๐‘‘๐‘ฆ

๐‘‘๐‘ฅ= โˆ’

๐‘ฅ๐‘ฆ4

๐‘ฆ2 + 2 ๐‘’โˆ’3๐‘ฅ

Here, we observe that ๐‘ฆ = 0 is also a solution.

Exercise 8.

Solve the differential equations below

1. 4๐‘ฆ + ๐‘ฆ๐‘ฅ62 ๐‘‘๐‘ฆ โˆ’ 2๐‘ฅ + ๐‘ฅ๐‘ฆ2 ๐‘‘๐‘ฅ = 0

2. 1 + ๐‘ฅ62 + ๐‘ฆ2 + ๐‘ฅ2๐‘ฆ2 ๐‘‘๐‘ฆ = ๐‘ฆ2๐‘‘๐‘ฅ

3. 2๐‘ฆ ๐‘ฅ + 1 ๐‘‘๐‘ฆ = ๐‘ฅ๐‘‘๐‘ฅ

4. ๐‘ฅ2๐‘ฆ2๐‘‘๐‘ฆ = ๐‘ฆ + 1 ๐‘‘๐‘ฅ

5. ๐‘’๐‘ฆ sin 2๐‘ฅ ๐‘‘๐‘ฅ + cos ๐‘ฅ ๐‘’2๐‘ฆ โˆ’ ๐‘ฆ ๐‘‘๐‘ฆ = 0

Page 33: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION Ninth Meeting :

II. First Order Differential Equations for Which Exact Solutions are obtainable - Homogeneous Differential Equations

B. HOMOGENEOUS EQUATIONS

Definition

A function ๐‘“ of two variables x and y is said homogeneous if it satisfies

๐‘“ ๐‘ก๐‘ฅ, ๐‘ก๐‘ฆ = ๐‘“ ๐‘ฅ, ๐‘ฆ

for any number t.

Example

๐‘“ ๐‘ฅ, ๐‘ฆ =๐‘ฅ2 + ๐‘ฆ2

๐‘ฅ๐‘ฆ

is a homogeneous function because for every number t,

๐‘“ ๐‘ก๐‘ฅ, ๐‘ก๐‘ฆ = ๐‘ก๐‘ฅ 2 + (๐‘ก๐‘ฆ)2

๐‘ก๐‘ฅ (๐‘ก๐‘ฆ)=

๐‘ก2(๐‘ฅ2 + ๐‘ฆ2)

๐‘ก2๐‘ฅ๐‘ฆ=

๐‘ฅ2 + ๐‘ฆ2

๐‘ฅ๐‘ฆ= ๐‘“ ๐‘ฅ, ๐‘ฆ

Definition

A function M of two variables x and y is said to be homogenous of degree-n if it

satisfies

๐‘€ ๐‘ก๐‘ฅ, ๐‘ก๐‘ฆ = ๐‘ก๐‘›๐‘€ ๐‘ฅ, ๐‘ฆ

Example

๐‘€ ๐‘ฅ, ๐‘ฆ = ๐‘ฅ3 + ๐‘ฅ2๐‘ฆ

is a homogenous of degree-3 function because for every number t,

๐‘€ ๐‘ก๐‘ฅ, ๐‘ก๐‘ฆ = ๐‘ก๐‘ฅ 3 + ๐‘ก๐‘ฅ 2 ๐‘ก๐‘ฆ = ๐‘ก3๐‘ฅ3 + ๐‘ก3๐‘ฅ2๐‘ฆ = ๐‘ก3 ๐‘ฅ3 + ๐‘ฅ2๐‘ฆ = ๐‘ก3๐‘€(๐‘ฅ, ๐‘ฆ)

Page 34: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

By here, we can define homogeneous differential equation as follows

Definition

A first differential equation

๐‘€ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฅ + ๐‘ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฆ = 0 or ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ= ๐‘“(๐‘ฅ, ๐‘ฆ)

is called homogeneous differential equation if M and N are homogeneous

functions of the same degree n or f is a homogenous function.

To solve homogeneous differential equation, we can use the following theorem:

Theorem

If

๐‘€ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฅ + ๐‘ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฆ = 0

is a homogeneous differential equation, then the change of variables ๐‘ฆ = ๐‘ฃ๐‘ฅ

transforms it into a separable differential equation in the variables v and x.

Here, we can summarize the steps of solving homogeneous differential equation as follow:

1. Recognize that the equation is a homogeneous differential equation

2. Transforms it into a separable differential equation by ๐‘ฆ = ๐‘ฃ๐‘ฅ

3. Solve the separable differential equation in the variable v and x by integrating by parts.

4. Inverse it into the origin differential equation ๐‘ฃ =๐‘ฆ

๐‘ฅ.

Example.

Solve this differential equation

2๐‘ฅ๐‘ฆ ๐‘‘๐‘ฅ + ๐‘ฅ2 + 1 ๐‘‘๐‘ฆ = 0

Answer:

As we can see that M and N are homogeneous functions with the same degree 2, therefore

the we should transform it into separable equation by substituting ๐‘ฆ = ๐‘ฃ๐‘ฅ. Here we get,

๐‘‘๐‘ฆ = ๐‘ฃ๐‘‘๐‘ฅ + ๐‘ฅ๐‘‘๐‘ฃ.

Page 35: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Substitute into the equation, we get

2๐‘ฅ(๐‘ฃ๐‘ฅ) ๐‘‘๐‘ฅ + ๐‘ฅ2 + 1 ๐‘ฃ ๐‘‘๐‘ฅ + ๐‘ฅ ๐‘‘๐‘ฃ = 0

2๐‘ฅ2๐‘ฃ ๐‘‘๐‘ฅ + ๐‘ฅ2 + 1 ๐‘ฃ ๐‘‘๐‘ฅ + ๐‘ฅ3 + ๐‘ฅ ๐‘‘๐‘ฃ = 0

3๐‘ฅ2 + 1 ๐‘ฃ ๐‘‘๐‘ฅ + ๐‘ฅ3 + ๐‘ฅ ๐‘‘๐‘ฃ = 0

The last equation is separable equation. To solve this equation, we multiply it with integrating

factor 1

๐‘ฃ ๐‘ฅ3+๐‘ฅ . We get,

3๐‘ฅ2 + 1

๐‘ฅ3 + ๐‘ฅ ๐‘‘๐‘ฅ +

1

๐‘ฃ ๐‘‘๐‘ฃ = 0

By integrating it in both side, we get

3๐‘ฅ2 + 1

๐‘ฅ3 + ๐‘ฅ ๐‘‘๐‘ฅ +

1

๐‘ฃ ๐‘‘๐‘ฃ = ln ๐‘

ln ๐‘ฅ3 + ๐‘ฅ + ln ๐‘ฃ = ln ๐‘

ln ๐‘ฅ3 + ๐‘ฅ ๐‘ฃ = ln ๐‘

๐‘ฅ3 + ๐‘ฅ ๐‘ฃ = ๐‘ โ†’ ๐‘ฅ3 + ๐‘ฅ ๐‘ฆ

๐‘ฅ= ๐‘ โ†’ ๐‘ฅ2๐‘ฆ + ๐‘ฆ = ๐‘

So, the solution of the differential equation above is ๐‘ฅ2๐‘ฆ + ๐‘ฆ = ๐‘.

Exercise 9.

Solve the following differential equations.

1. ๐‘ฅ + 2๐‘ฆ ๐‘‘๐‘ฅ + 2๐‘ฅ โˆ’ ๐‘ฆ ๐‘‘๐‘ฆ = 0

2. 3๐‘ฅ โˆ’ ๐‘ฆ ๐‘‘๐‘ฅ โˆ’ ๐‘ฅ + ๐‘ฆ ๐‘‘๐‘ฆ = 0

3. 2๐‘ฅ๐‘ฆ + 3๐‘ฆ2 ๐‘‘๐‘ฅ โˆ’ 2๐‘ฅ๐‘ฆ + ๐‘ฅ2 ๐‘‘๐‘ฆ = 0

4. ๐‘ฆ3๐‘‘๐‘ฅ + ๐‘ฅ3 โˆ’ ๐‘ฅ๐‘ฆ2 ๐‘‘๐‘ฆ = 0

5. 2๐‘ 2 + 2๐‘ ๐‘ก + ๐‘ก2 ๐‘‘๐‘  + ๐‘ 2 + 2๐‘ ๐‘ก โˆ’ ๐‘ก2 ๐‘‘๐‘ก = 0

Page 36: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION Tenth Meeting :

II. First Order Differential Equations for Which Exact Solutions are obtainable - Linear Differential Equations

C. LINEAR EQUATIONS

Definition

A first-order ordinary differential equation is linear in the dependent variable y and

the independent variable x if it is, or can be, written in the form

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ ๐‘ƒ ๐‘ฅ ๐‘ฆ = ๐‘„ ๐‘ฅ

By several multiplications, equation above can also be expressed as

๐‘ƒ ๐‘ฅ ๐‘ฆ โˆ’ ๐‘„ ๐‘ฅ ๐‘‘๐‘ฅ + ๐‘‘๐‘ฆ = 0

Suppose the integrating factor

๐œ‡ ๐‘ฅ = ๐‘’ ๐‘ƒ ๐‘ฅ ๐‘‘๐‘ฅ

The general solution of linear differential equation as follows

๐‘ฆ = ๐œ‡โˆ’1 ๐‘ฅ ๐œ‡ ๐‘ฅ ๐‘„ ๐‘ฅ ๐‘‘๐‘ฅ + ๐‘

Steps to solve linear differential equation are

1. If the differential equation is given as

๐‘Ž ๐‘ฅ ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ ๐‘ ๐‘ฅ ๐‘ฆ = ๐‘ ๐‘ฅ

Rewrite it in the form

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ ๐‘ ๐‘ฅ ๐‘ฆ = ๐‘ž ๐‘ฅ

2. Find the integrating factor

๐œ‡ ๐‘ฅ = ๐‘’ ๐‘ƒ ๐‘ฅ ๐‘‘๐‘ฅ

3. Evaluate the integral

๐œ‡ ๐‘ฅ ๐‘„ ๐‘ฅ ๐‘‘๐‘ฅ

Page 37: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

4. Write down the general solution

๐‘ฆ = ๐œ‡โˆ’1 ๐‘ฅ ๐œ‡ ๐‘ฅ ๐‘„ ๐‘ฅ ๐‘‘๐‘ฅ + ๐‘

5. If it is given an initial value, use it to find the constant C.

Example. Solve

๐‘‘๐‘ฆ

๐‘‘๐‘ฅโˆ’ 3๐‘ฆ = 0

Answer :

1. As we can see from the formula above that ๐‘ƒ ๐‘ฅ = โˆ’3 and ๐‘„ ๐‘ฅ = 0. Therefore, the

integrating factor of the equation is

๐œ‡ ๐‘ฅ = ๐‘’ โˆ’3 ๐‘‘๐‘ฅ = ๐‘’โˆ’3๐‘ฅ

2. Multiply both sides with the integrating factor, yields

๐‘’โˆ’3๐‘ฅ๐‘‘๐‘ฆ

๐‘‘๐‘ฅโˆ’ 3๐‘’โˆ’3๐‘ฅ๐‘ฆ = 0

3. Evaluate

๐œ‡ ๐‘ฅ ๐‘„ ๐‘ฅ ๐‘‘๐‘ฅ = ๐‘’โˆ’3๐‘ฅ . 0 ๐‘‘๐‘ฅ = ๐‘1

4. The general solution is

๐‘ฆ = ๐œ‡โˆ’1 ๐‘ฅ ๐œ‡ ๐‘ฅ ๐‘„ ๐‘ฅ ๐‘‘๐‘ฅ + ๐‘

= ๐‘’3๐‘ฅ ๐‘1 + ๐‘

๐‘ฆ = ๐‘0๐‘’3๐‘ฅ

Exercise 10.

1. ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+

3๐‘ฆ

๐‘ฅ= 6๐‘ฅ2

2. ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ 3๐‘ฆ = 3๐‘ฅ2๐‘’โˆ’๐‘ฅ

3. ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ 4๐‘ฅ๐‘ฆ = 8๐‘ฅ

4. ๐‘ฅ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ 3๐‘ฅ + 1 ๐‘ฆ = ๐‘’โˆ’3๐‘ฅ

5. ๐‘ฅ + 1 ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ ๐‘ฅ + 2 ๐‘ฆ = 2๐‘ฅ๐‘’โˆ’๐‘ฅ

Page 38: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION Eleventh and twelfth Meetings

II. First Order Differential Equations for Which Exact Solutions are obtainable - Bernoulli Differential Equations

D. BERNOULLI EQUATIONS

Definition

An equation of the form

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ ๐‘ƒ ๐‘ฅ ๐‘ฆ = ๐‘„ ๐‘ฅ ๐‘ฆ๐‘›

is called a Bernoulli differential equation.

To solve Bernoulli differential equation, where n โ‰  0 or n โ‰  1, we can use the following

theorem.

Therefore, the steps to solve Bernoulli Differential Equation are :

1. Recognize that the differential equation is a Bernoulli Differential Equation. Then find

the parameter n from the equation.

2. The main idea is to transform the Bernoulli Differential Equation into Linear

Differential Equation, therefore the things that we should do are

a. Divided both side with ๐‘ฆ๐‘› .

b. Transform the equation by ๐‘ฃ = ๐‘ฆ1โˆ’๐‘› . Here we get, ๐‘‘๐‘ฃ

๐‘‘๐‘ฆ= 1 โˆ’ ๐‘› ๐‘ฆโˆ’๐‘› .

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ ๐‘ƒ ๐‘ฅ ๐‘ฆ = ๐‘„ ๐‘ฅ ๐‘ฆ๐‘›

Theorem

Suppose n โ‰  0 or n โ‰  1, then the transformation ๐‘ฃ = ๐‘ฆ1โˆ’๐‘› reduces the Bernoulli

equation

into a linear equation in v.

Page 39: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

c. By using manipulations, we ge

๐‘‘๐‘ฃ

๐‘‘๐‘ฅ+ ๐‘ƒโˆ— ๐‘ฅ ๐‘ฃ = ๐‘„โˆ— ๐‘ฅ

d. Solve the linear equation.

Example

Solve the differential equation below

๐‘ฅ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ ๐‘ฆ = ๐‘ฅ2๐‘ฆ2

Answer :

To solve the differential equations above, first we have to divided both side with ๐‘ฅ๐‘ฆ2. Here

we get,

๐‘ฆโˆ’2๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ ๐‘ฅโˆ’1๐‘ฆโˆ’1 = ๐‘ฅ

Suppose ๐‘ฃ = ๐‘ฆโˆ’1 then ๐‘‘๐‘ฃ

๐‘‘๐‘ฆ= โˆ’๐‘ฆโˆ’2 or else

๐‘‘๐‘ฃ

๐‘‘๐‘ฅ= โˆ’๐‘ฆโˆ’2 ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ. By here, we get

๐‘‘๐‘ฃ

๐‘‘๐‘ฅ+ ๐‘ฅโˆ’1๐‘ฃ = ๐‘ฅ

The differential equation above is linear equation. To solve the equation, we use integrating

factor

๐œ‡ ๐‘ฅ = ๐‘’ 1๐‘ฅ๐‘‘๐‘ฅ = ๐‘’ln ๐‘ฅ = ๐‘ฅ

Then the solution is

๐‘ฃ = ๐œ‡โˆ’1 ๐‘ฅ ๐œ‡ ๐‘ฅ ๐‘„ ๐‘ฅ ๐‘‘๐‘ฅ + ๐‘

๐‘ฃ = ๐‘ฅโˆ’1 ๐‘ฅ2 ๐‘‘๐‘ฅ + ๐‘ โ†’ ๐‘ฃ = ๐‘ฅโˆ’1 1

3๐‘ฅ3 + ๐‘ =

1

3๐‘ฅ2 + ๐‘๐‘ฅโˆ’1

๐‘ฆโˆ’1 =1

3๐‘ฅ2 + ๐‘๐‘ฅโˆ’1

1 =1

3๐‘ฅ2๐‘ฆ + ๐‘๐‘ฅโˆ’1๐‘ฆ

Page 40: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Exercise 11.

Solve the following differential equations.

1. ๐‘‘๐‘ฆ

๐‘‘๐‘ฅโˆ’

1

๐‘ฅ๐‘ฆ = ๐‘ฅ๐‘ฆ2

2. ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+

๐‘ฆ

๐‘ฅ= ๐‘ฆ2

3. ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+

1

3๐‘ฆ = ๐‘’๐‘ฅ๐‘ฆ4

4. ๐‘ฅ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ ๐‘ฆ = ๐‘ฅ๐‘ฆ3

5. ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+

2

๐‘ฅ๐‘ฆ = โˆ’๐‘ฆ2๐‘ฅ2 cos ๐‘ฅ

Page 41: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION Thirteenth Meeting :

II. First Order Differential Equations for Which Exact Solutions are obtainable - Transformation

E. SPECIAL INTEGRATING FACTOR

For the last four meetings, we had solved four different differential equations which are not

exact by transforming it into new equation which are exact. One of transformation that can

be done is using integrating factor. Integrating factor can be used to transform non exact

differential equation into exact differential equation. Unfortunately, there is no general

expression for transformation. Nevertheless, we shall consider a few of transformation for

special differential equations.

Consider the differential equation

๐‘€ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฅ + ๐‘ ๐‘ฅ, ๐‘ฆ ๐‘‘๐‘ฆ = 0

Case Integrating factor

1

๐‘ ๐‘ฅ, ๐‘ฆ ๐œ•๐‘€ ๐‘ฅ, ๐‘ฆ

๐œ•๐‘ฆโˆ’

๐œ•๐‘ ๐‘ฅ, ๐‘ฆ

๐œ•๐‘ฅ

Depends upon x only

๐‘’

1๐‘ ๐‘ฅ ,๐‘ฆ

๐œ•๐‘€ ๐‘ฅ ,๐‘ฆ

๐œ•๐‘ฆโˆ’

๐œ•๐‘ ๐‘ฅ,๐‘ฆ ๐œ•๐‘ฅ

๐‘‘๐‘ฅ

1

๐‘€ ๐‘ฅ, ๐‘ฆ ๐œ•๐‘ ๐‘ฅ, ๐‘ฆ

๐œ•๐‘ฅโˆ’

๐œ•๐‘€ ๐‘ฅ, ๐‘ฆ

๐œ•๐‘ฆ

Depends upon y only, then

๐‘’

1๐‘€ ๐‘ฅ ,๐‘ฆ

๐œ•๐‘ ๐‘ฅ ,๐‘ฆ

๐œ•๐‘ฅโˆ’

๐œ•๐‘€ ๐‘ฅ ,๐‘ฆ ๐œ•๐‘ฆ

๐‘‘๐‘ฆ

Example

Solve it.

5๐‘ฅ๐‘ฆ + 4๐‘ฆ2 + 1 ๐‘‘๐‘ฅ + ๐‘ฅ2 + 2๐‘ฅ๐‘ฆ ๐‘‘๐‘ฆ = 0

Answer :

๐œ•๐‘€ ๐‘ฅ, ๐‘ฆ

๐œ•๐‘ฆ=

๐œ• 5๐‘ฅ๐‘ฆ + 4๐‘ฆ2 + 1

๐œ•๐‘ฆ= 5๐‘ฅ + 8๐‘ฆ

๐œ•๐‘ ๐‘ฅ, ๐‘ฆ

๐œ•๐‘ฅ=

๐œ• ๐‘ฅ2 + 2๐‘ฅ๐‘ฆ

๐œ•๐‘ฅ= 2๐‘ฅ + 2๐‘ฆ

Page 42: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

1

๐‘ ๐‘ฅ, ๐‘ฆ ๐œ•๐‘€ ๐‘ฅ, ๐‘ฆ

๐œ•๐‘ฆโˆ’

๐œ•๐‘ ๐‘ฅ, ๐‘ฆ

๐œ•๐‘ฅ =

1

๐‘ฅ2 + 2๐‘ฅ๐‘ฆ 5๐‘ฅ + 8๐‘ฆ โˆ’ 2๐‘ฅ + 2๐‘ฆ

=1

๐‘ฅ2 + 2๐‘ฅ๐‘ฆ 3๐‘ฅ + 6๐‘ฆ

=3

๐‘ฅ

Because 1

๐‘ ๐‘ฅ ,๐‘ฆ ๐œ•๐‘€ ๐‘ฅ ,๐‘ฆ

๐œ•๐‘ฆโˆ’

๐œ•๐‘ ๐‘ฅ ,๐‘ฆ

๐œ•๐‘ฅ depends on x only, then the integrating factor of equation

above is

๐‘’

1๐‘ ๐‘ฅ ,๐‘ฆ

๐œ•๐‘€ ๐‘ฅ ,๐‘ฆ

๐œ•๐‘ฆโˆ’

๐œ•๐‘ ๐‘ฅ ,๐‘ฆ ๐œ•๐‘ฅ

๐‘‘๐‘ฅ= ๐‘’

3๐‘ฅ

๐‘‘๐‘ฅ = ๐‘’3 ln ๐‘ฅ = ๐‘ฅ3

Multiply both equation with ๐‘ฅ3, we get

๐‘ฅ3 5๐‘ฅ๐‘ฆ + 4๐‘ฆ2 + 1 ๐‘‘๐‘ฅ + ๐‘ฅ3 ๐‘ฅ2 + 2๐‘ฅ๐‘ฆ ๐‘‘๐‘ฆ = 0

5๐‘ฅ4๐‘ฆ + 4๐‘ฅ3๐‘ฆ2 + 1 ๐‘‘๐‘ฅ + ๐‘ฅ5 + 2๐‘ฅ4๐‘ฆ ๐‘‘๐‘ฆ = 0

By using method of grouping as follow

5๐‘ฅ4๐‘ฆ ๐‘‘๐‘ฅ + ๐‘ฅ5๐‘‘๐‘ฆ + 4๐‘ฅ3๐‘ฆ2 ๐‘‘๐‘ฅ + 2๐‘ฅ4๐‘ฆ ๐‘‘๐‘ฆ + 1 ๐‘‘๐‘ฅ = 0

and then define the total derivative as

๐‘‘ ๐‘ฅ5๐‘ฆ + ๐‘‘ ๐‘ฅ4๐‘ฆ2 + ๐‘‘๐‘ฅ = 0

Integrating it, we get the solution as follows

๐‘ฅ5๐‘ฆ + ๐‘ฅ4๐‘ฆ2 + ๐‘ฅ = ๐‘.

F. SPECIAL TRANSFORMATIONS

Consider the differential equation

๐‘Ž1๐‘ฅ + ๐‘1๐‘ฆ + ๐‘1 ๐‘‘๐‘ฅ + ๐‘Ž2๐‘ฅ + ๐‘2๐‘ฆ + ๐‘2 ๐‘‘๐‘ฆ = 0

where ๐‘Ž1, ๐‘1, ๐‘1, ๐‘Ž2 , ๐‘2 , and ๐‘2 are constants

Case Special Transformation

๐‘Ž2

๐‘Ž1โ‰ 

๐‘2

๐‘1

๐‘ฅ = ๐‘‹ + ๐‘•, ๐‘ฆ = ๐‘Œ + ๐‘˜ Where (h,k) is the solution of the system

๐‘Ž1๐‘• + ๐‘1๐‘˜ + ๐‘1 = 0

Page 43: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

๐‘Ž2๐‘• + ๐‘2๐‘˜ + ๐‘2 = 0 It will reduce into the homogenous differential equation

๐‘Ž1๐‘‹ + ๐‘1๐‘Œ ๐‘‘๐‘‹ + ๐‘Ž2๐‘‹ + ๐‘2๐‘Œ ๐‘‘๐‘Œ = 0 ๐‘Ž2

๐‘Ž1=

๐‘2

๐‘1= ๐‘˜

๐‘ง = ๐‘Ž1๐‘ฅ + ๐‘1๐‘ฆ will reduce the equation into separable

differential equation

Example

Solve this differential equation.

3๐‘ฅ โˆ’ ๐‘ฆ + 1 ๐‘‘๐‘ฅ โˆ’ 6๐‘ฅ โˆ’ 2๐‘ฆ โˆ’ 3 ๐‘‘๐‘ฆ = 0

Answer :

We can rewrite the equation above with

3๐‘ฅ โˆ’ ๐‘ฆ + 1 ๐‘‘๐‘ฅ + โˆ’6๐‘ฅ + 2๐‘ฆ + 3 ๐‘‘๐‘ฆ = 0

For the equation above, ๐‘Ž1 = 3, ๐‘1 = โˆ’1, ๐‘Ž2 = โˆ’6 and ๐‘2 = 2. So, we get

๐‘Ž2

๐‘Ž1=

๐‘2

๐‘1= โˆ’2

Therefore, we can solve the equation by reduced it into separable differential equation using

๐‘ง = 3๐‘ฅ โˆ’ ๐‘ฆ. This is implied that ๐‘‘๐‘ง = 3๐‘‘๐‘ฅ โˆ’ ๐‘‘๐‘ฆ or ๐‘‘๐‘ฆ = 3๐‘‘๐‘ฅ โˆ’ ๐‘‘๐‘ง.

Substitute it into the question, we get

๐‘ง + 1 ๐‘‘๐‘ฅ + โˆ’2๐‘ง + 3 3๐‘‘๐‘ฅ โˆ’ ๐‘‘๐‘ง = 0

๐‘ง + 1 โˆ’ 6๐‘ง + 9 ๐‘‘๐‘ฅ + 2๐‘ง โˆ’ 3 ๐‘‘๐‘ง = 0

โˆ’5๐‘ง + 10 ๐‘‘๐‘ฅ + 2๐‘ง โˆ’ 3 ๐‘‘๐‘ง = 0

๐‘‘๐‘ฅ โˆ’2๐‘ง โˆ’ 3

5๐‘ง โˆ’ 10 ๐‘‘๐‘ง = 0

By using some manipulations we get solution

๐‘ฅ โˆ’2

5 ๐‘ง +

1

2ln 10๐‘ง โˆ’ 20 = ๐‘

Page 44: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

atau

๐‘ฅ โˆ’2

5 3๐‘ฅ โˆ’ ๐‘ฆ +

1

2ln 10 3๐‘ฅ โˆ’ ๐‘ฆ. โˆ’ 20 = ๐‘

Exercise 15.

Find the integrating factor and then solve the differential equations below.

1. 4๐‘ฅ๐‘ฆ + 3๐‘ฆ2 โˆ’ ๐‘ฅ ๐‘‘๐‘ฅ + ๐‘ฅ ๐‘ฅ + 2๐‘ฆ ๐‘‘๐‘ฆ = 0

2. ๐‘ฆ ๐‘ฅ + ๐‘ฆ ๐‘‘๐‘ฅ + ๐‘ฅ + 2๐‘ฆ โˆ’ 1 ๐‘‘๐‘ฆ = 0

3. ๐‘ฆ ๐‘ฅ + ๐‘ฆ + 1 ๐‘‘๐‘ฅ + ๐‘ฅ ๐‘ฅ + 3๐‘ฆ + 2 ๐‘‘๐‘ฆ = 0

4. 6๐‘ฅ + 4๐‘ฆ + 1 ๐‘‘๐‘ฅ + 4๐‘ฅ + 2๐‘ฆ + 2 ๐‘‘๐‘ฆ = 0

5. 3๐‘ฅ โˆ’ ๐‘ฆ โˆ’ 6 ๐‘‘๐‘ฅ + ๐‘ฅ + ๐‘ฆ + 2 ๐‘‘๐‘ฆ = 0

6. 2๐‘ฅ + 3๐‘ฆ + 1 ๐‘‘๐‘ฅ + 4๐‘ฅ + 6๐‘ฆ + 1 ๐‘‘๐‘ฆ = 0

7. 4๐‘ฅ + 3๐‘ฆ + 1 ๐‘‘๐‘ฅ + ๐‘ฅ + ๐‘ฆ + 1 ๐‘‘๐‘ฆ = 0

Page 45: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION Sixteenth Meeting :

III. Applications of First Order Equations - Orthogonal Trajectories

As we had learned at the first meeting that differential equations were behind many

mathematical models. In this chapter, we will discuss about the application of differential

particularly for first order equations.

Before we study about the application of first order differential equation, first of all we will

study about orthogonal trajectories and oblique trajectories.

Suppose it is given differential equation in derivative form

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ= ๐‘“(๐‘ฅ, ๐‘ฆ)

The solution of its differential equation

๐น ๐‘ฅ, ๐‘ฆ = ๐‘ or ๐น ๐‘ฅ, ๐‘ฆ, ๐‘ = 0

When we draw ๐น ๐‘ฅ, ๐‘ฆ, ๐‘ = 0, we can get a lot of curve depends on the value of c. By here,

set of curves of ๐น ๐‘ฅ, ๐‘ฆ, ๐‘ = 0 is called one-parameter family of curves.

Definition

Let

๐น ๐‘ฅ, ๐‘ฆ, ๐‘ = 0

Be a given one-parameter family of curves in the XY plane. A curve that intersects the

curves of the family at right angles is called an orthogonal trajectory of the given family.

Consider two families of curves F1 and F2. We say that F1 and F2 are orthogonal whenever

any curve from F1 intersects any curve from F2, the two curves are orthogonal at the point of

intersection.

Page 46: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Procedures to find the ortogonal trajectories of the family of curve, ๐น ๐‘ฅ, ๐‘ฆ, ๐‘ = 0

1. Find the differential equation of the given family,

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ= ๐‘“(๐‘ฅ, ๐‘ฆ)

2. Find the differential equation of the orthogonal trajectories by replacing ๐‘“ ๐‘ฅ, ๐‘ฆ by its

negative reciprocal

โˆ’1

๐‘“(๐‘ฅ, ๐‘ฆ)

3. Solve the new differential equation. ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ= โˆ’

1

๐‘“(๐‘ฅ, ๐‘ฆ)

Example

Find the orthogonal trajectories of the family of curve as

follow :

๐‘ฅ2 + ๐‘ฆ2 = ๐ถ

Answer :

The differential equation related to the family of curve

above is

2๐‘ฅ๐‘‘๐‘ฅ + 2๐‘ฆ๐‘‘๐‘ฆ = 0

or

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ= โˆ’

๐‘ฅ

๐‘ฆ

Therefore we get the differential equation of the

orthogonal trajectories

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ=

๐‘ฆ

๐‘ฅ

1

๐‘ฅ๐‘‘๐‘ฅ โˆ’

1

๐‘ฆ๐‘‘๐‘ฆ = 0

Integrating both sides we get

ln ๐‘ฅ โˆ’ ln ๐‘ฆ = ln ๐‘0

๐‘ฅ

๐‘ฆ= ๐‘

Page 47: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Exercise 16.

1. ๐‘ฆ = ๐ถ๐‘’โˆ’2๐‘ฅ

2. ๐‘ฅ2 โˆ’ ๐‘ฆ2 = ๐ถ

3. ๐‘ฆ = ๐ถ๐‘ฅ2

4. ๐‘ฅ2 + ๐‘ฆ โˆ’ ๐‘ 2 = ๐ถ2

Page 48: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION Seventeenth

Meeting :

III. Applications of First Order Equations - Oblique Trajectories

Definition

Let

๐น ๐‘ฅ, ๐‘ฆ, ๐‘ = 0

be a one-parameter family of curves. A curve that intersects the curves of this family at a

constant angle ๐›ผ โ‰  900 is called an oblique trajectory of the given family.

Procedures to find the oblique trajectories of the family of curve, ๐น ๐‘ฅ, ๐‘ฆ, ๐‘ = 0 at angle

๐›ผ โ‰  900

1. Find the differential equation of the given family,

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ= ๐‘“(๐‘ฅ, ๐‘ฆ)

2. Find the differential equation of the orthogonal trajectories by replacing ๐‘“ ๐‘ฅ, ๐‘ฆ by

expression

๐‘“ ๐‘ฅ, ๐‘ฆ + tan ๐›ผ

1 โˆ’ ๐‘“ ๐‘ฅ, ๐‘ฆ tan ๐›ผ

3. Solve the new differential equation. ๐‘‘๐‘ฆ

๐‘‘๐‘ฅ=

๐‘“ ๐‘ฅ, ๐‘ฆ + tan ๐›ผ

1 โˆ’ ๐‘“ ๐‘ฅ, ๐‘ฆ tan ๐›ผ

Example

Find a family of oblique trajectories that intersect the family of straight lines ๐‘ฆ = ๐‘๐‘ฅ at angle

450 .

Answer :

The derivative of the straight lines above is

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ= ๐‘

Page 49: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Therefore we get, the derivate of the oblique trajectory is

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ=

๐‘ + tan 450

1 โˆ’ ๐‘ tan 450=

๐‘ + 1

1 โˆ’ ๐‘

๐‘ฆ =๐‘ + 1

1 โˆ’ ๐‘๐‘ฅ

or ๐‘ฆ = ๐‘‘๐‘ฅ, where ๐‘‘ =๐‘ + 1

1 โˆ’ ๐‘

Exercise 17.

1. Find a family of oblique trajectories that intersect the family of circles ๐‘ฅ2 + ๐‘ฆ2 = ๐‘ at

angle 450.

2. Find a family of oblique trajectories that intersect the family of parabolas ๐‘ฆ2 = ๐‘๐‘ฅ at

angle 600.

3. Find a family of oblique trajectories that intersect the family of curves ๐‘ฅ + ๐‘ฆ = ๐‘๐‘ฅ2 at

angle ๐›ผ such that tan ๐›ผ = 2.

Page 50: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION 18th,19th Meeting :

III. Applications of First Order Equations - Application in Mechanics Problems and Rate Problems

Next, it will be presented examples where differential equations are widely applied to model

natural phenomena, engineering systems and many other situations.

III.A Exponential Growth โ€“ Population

Let ๐‘ƒ ๐‘ก be a quantity that increases with time t. Suppose the rate of increase is

proportional to the same quantity at that time. At first, the quantity is ๐‘ƒ0 > 0. This problem

can be modeled into differential equation as follows

๐‘‘๐‘ƒ

๐‘‘๐‘ก= ๐‘˜๐‘ƒ, ๐‘˜ > 0

where ๐‘ƒ 0 = ๐‘ƒ0.

This equation is called an exponential growth model.

The solution of its equation is

๐‘ƒ ๐‘ก = ๐‘ƒ0๐‘’๐‘˜๐‘ก

III.B Exponential Decay

Let ๐‘€ ๐‘ก be the amount of a product that decreases with time t. Suppose the rate of

decrease is proportional to the amount of product at any time t. Suppose that at initial time

๐‘ก = 0, the amount is ๐‘€0 . This problem can be modeled into differential equation as follows

๐‘‘๐‘€

๐‘‘๐‘ก= โˆ’๐‘˜๐‘€, ๐‘˜ > 0

Where ๐‘€ 0 = ๐‘€0.

This equation is called an exponential decay model.

The solution of its equation is

๐‘€ ๐‘ก = ๐‘€0๐‘’โˆ’๐‘˜๐‘ก

Page 51: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

III.C Falling object

An object is dropped from a height at time ๐‘ก = 0. If ๐‘• ๐‘ก is the height of the object at time t,

๐‘Ž ๐‘ก is the acceleration and ๐‘ฃ(๐‘ก) is the velocity, then the relationship between a, v and h are

as follows :

๐‘Ž =๐‘‘๐‘ฃ

๐‘‘๐‘ก, ๐‘ฃ =

๐‘‘๐‘•

๐‘‘๐‘ก

For a falling object, ๐‘Ž ๐‘ก is constant and is equal to ๐‘” = โˆ’9.8๐‘š/๐‘ .

Suppose that ๐‘•0 and ๐‘ฃ0 are the initial height and initial velocity, respectively. The solution of

the equations is

๐‘• ๐‘ก =1

2๐‘”๐‘ก + ๐‘ฃ0๐‘ก + ๐‘•0

and is called the height of falling object at time t.

III.D Newtonโ€™s Law of Cooling

It is a model that describes, mathematically, the change in temperature of an object in a given

environment. The law states that the rate of change (in time) of the temperature is

proportional to the difference between the temperature T of the object and the

temperature ๐‘‡๐‘’ of the environment surrounding the object.

Assume that at t = 0, the temperature is ๐‘‡0.

This problem can be modeled as differential equation as follows

๐‘‘๐‘‡

๐‘‘๐‘ก= โˆ’๐‘˜(๐‘‡ โˆ’ ๐‘‡๐‘’)

Where ๐‘‡ 0 = ๐‘‡0.

The final expression for ๐‘‡ ๐‘ก is given by

๐‘‡ ๐‘ก = ๐‘‡๐‘’ + ๐‘‡0 โˆ’ ๐‘‡๐‘’ ๐‘’โˆ’๐‘˜๐‘ก

This last expression shows how the temperature T of the object changes with time.

Page 52: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

III.E RL Circuit

Let us consider the RL (resistor R and inductor L) circuit shown below. At ๐‘ก = 0 the switch

is closed and current passes through the circuit. Electricity laws state that the voltage across

a resistor of resistance R is equal to R i and the voltage across an inductor L is given by ๐ฟ๐‘‘๐‘–

๐‘‘๐‘ก

(๐‘– is th current). Another law gives an equation relating all voltages in the above circuit as

follows :

๐ฟ๐‘‘๐‘–

๐‘‘๐‘ก+ ๐‘–๐‘… = ๐ธ

Where E is a constant voltage and ๐‘– 0 = 0.

Rewrite the differential equation above as

๐ฟ

๐ธ โˆ’ ๐‘–๐‘…

๐‘‘๐‘–

๐‘‘๐‘ก= 1

โˆ’๐ฟ

๐‘…

โˆ’๐‘…

๐ธ โˆ’ ๐‘–๐‘…๐‘‘๐‘– = ๐‘‘๐‘ก

Integrate both sides, we get

โˆ’๐ฟ

๐‘…ln ๐ธ โˆ’ ๐‘–๐‘… = ๐‘ก + ๐‘

By using the initial condition, the formula of i is

๐‘– =๐ธ

๐‘… 1 โˆ’ ๐‘’โˆ’

๐‘…๐‘ก๐ฟ

Exercise 18, 19.

Find another application of first order linear differential equation.

Page 53: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION 22nd, 23rd Meeting :

IV. Explicit Methods of Solving Higher Order Linear Differential Equations - Basic Theory of Linear Differential Equations

The most general ๐‘›๐‘ก๐‘• order linear differential equation is

๐‘ƒ๐‘› ๐‘ฅ ๐‘ฆ ๐‘› + ๐‘ƒ๐‘›โˆ’1 ๐‘ฅ ๐‘ฆ ๐‘›โˆ’1 + โ‹ฏ + ๐‘ƒ1 ๐‘ฅ ๐‘ฆ โ€ฒ + ๐‘ƒ๐‘œ ๐‘ฅ ๐‘ฆ = ๐บ ๐‘ฅ

Where youโ€™ll hopefully recall that

๐‘ฆ ๐‘š =๐‘‘๐‘š๐‘ฆ

๐‘‘๐‘ฅ๐‘š

Itโ€™s called homogeneous equation if ๐บ ๐‘ฅ = 0 and is called nonhomogeneous equation if

๐บ ๐‘ฅ โ‰  0.

Superposition Principle

Let ๐‘ฆ1, ๐‘ฆ2, โ€ฆ , ๐‘ฆ๐‘š be solutions of the homogeneous equation above. Then, the function

๐‘ฆ = ๐‘1๐‘ฆ1 + ๐‘2๐‘ฆ2 + ๐‘3๐‘ฆ3 + โ‹ฏ + ๐‘๐‘›๐‘ฆ๐‘›

is also solution of the equation. This solution is called a linear combination of the functions

๐‘ฆ๐‘– .

The general solution of the homogeneous equation is given by

๐‘ฆ = ๐‘1๐‘ฆ1 + ๐‘2๐‘ฆ2 + ๐‘3๐‘ฆ3 + โ‹ฏ + ๐‘๐‘›๐‘ฆ๐‘›

Where ๐‘1, ๐‘2, ๐‘3, โ€ฆ , ๐‘๐‘› are arbitrary constants and ๐‘ฆ1, ๐‘ฆ2, ๐‘ฆ3, โ€ฆ , ๐‘ฆ๐‘› are n-solutions of the

homogeneous equation such that

๐‘Š ๐‘ฆ1, ๐‘ฆ2, ๐‘ฆ3, โ€ฆ , ๐‘ฆ๐‘› ๐‘ฅ =

๐‘ฆ1 ๐‘ฅ ๐‘ฆ2 ๐‘ฅ ๐‘ฆ3 ๐‘ฅ โ‹ฏ ๐‘ฆ๐‘›(๐‘ฅ)

๐‘ฆโ€ฒ1 ๐‘ฅ ๐‘ฆโ€ฒ2 ๐‘ฅ ๐‘ฆโ€ฒ3 ๐‘ฅ ๐‘ฆ๐‘›โ€ฒ (๐‘ฅ)

โ‹ฎ โ‹ฎ โ‹ฎ๐‘ฆ(๐‘›โˆ’1) 1 ๐‘ฅ ๐‘ฆ(๐‘›โˆ’1)

2 ๐‘ฅ ๐‘ฆ(๐‘›โˆ’1)

3 ๐‘ฅ โ‹ฏ ๐‘ฆ(๐‘›โˆ’1)

๐‘› ๐‘ฅ

โ‰  0

Page 54: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

In this case, we will say that ๐‘ฆ1, ๐‘ฆ2, ๐‘ฆ3, โ€ฆ , ๐‘ฆ๐‘› are linearly independent. The function

๐‘Š ๐‘ฆ1, ๐‘ฆ2, ๐‘ฆ3, โ€ฆ , ๐‘ฆ๐‘› = ๐‘Š is called the Wronskian of ๐‘ฆ1, ๐‘ฆ2, ๐‘ฆ3, โ€ฆ , ๐‘ฆ๐‘› .

The general solution of the nonhomogeneous equation is given by

๐‘ฆ = ๐‘1๐‘ฆ1 + ๐‘2๐‘ฆ2 + ๐‘3๐‘ฆ3 + โ‹ฏ + ๐‘๐‘›๐‘ฆ๐‘› + ๐‘ฆ๐‘ = ๐‘ฆ๐‘ + ๐‘ฆ๐‘

Where ๐‘1, ๐‘2, ๐‘3, โ€ฆ , ๐‘๐‘› are arbitrary constants and ๐‘ฆ1, ๐‘ฆ2, ๐‘ฆ3, โ€ฆ , ๐‘ฆ๐‘› are linearly

independent solutions of the associated homogeneous equation, and ๐‘ฆ๐‘ is a particular

solution of nonhomogeneous equation.

Example.

Given that ๐‘’๐‘ฅ , ๐‘’โˆ’๐‘ฅ and ๐‘’2๐‘ฅ are the solutions of

๐‘ฆ 3 โˆ’ 2๐‘ฆ" โˆ’ ๐‘ฆโ€ฒ + 2๐‘ฆ = 0

Show that these solutions are linearly independent on every real interval.

Answer :

๐‘Š ๐‘’๐‘ฅ , ๐‘’โˆ’๐‘ฅ , ๐‘’2๐‘ฅ = ๐‘’๐‘ฅ ๐‘’โˆ’๐‘ฅ ๐‘’2๐‘ฅ

๐‘’๐‘ฅ โˆ’๐‘’โˆ’๐‘ฅ 2๐‘’2๐‘ฅ

๐‘’๐‘ฅ ๐‘’โˆ’๐‘ฅ 4๐‘’2๐‘ฅ

= ๐‘’2๐‘ฅ 1 1 11 โˆ’1 21 1 4

= โˆ’6๐‘’2๐‘ฅ โ‰  0

Because the wronskrian is not equals to zero, then these solutions are linearly independent.

Exercise 22

1. Consider the differential equation

๐‘ฅ2๐‘‘2๐‘ฆ

๐‘‘๐‘ฅ2โˆ’ 2๐‘ฅ

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ+ 2๐‘ฆ = 0

a. Show that ๐‘ฅ and ๐‘ฅ2 are linearly independent solutions of this equation on the

interval 0 < ๐‘ฅ < โˆž

b. Write the general solution of the given equation.

c. Find the solution that satisfies the conditions ๐‘ฆ 1 = 3, ๐‘ฆ โ€ฒ 1 = 2. Explain why

this solution is unique. Over what interval is this solution defined?

Page 55: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

2. Consider the differential equation

๐‘ฅ2๐‘‘2๐‘ฆ

๐‘‘๐‘ฅ2+ ๐‘ฅ

๐‘‘๐‘ฆ

๐‘‘๐‘ฅโˆ’ 4๐‘ฆ = 0

a. Show that ๐‘ฅ2 and ๐‘ฅโˆ’2 are linearly independent solutions of this equation on the

interval 0 < ๐‘ฅ < โˆž.

b. Write the general solution of the given equation.

c. Find the solution that satisfies the condition ๐‘ฆ 2 = 3, ๐‘ฆ โ€ฒ 2 = โˆ’1. Explain why

this solution is unique. Over what interval is this solution defined?

3. Consider the differential equation

๐‘ฆ" โˆ’ 5๐‘ฆโ€ฒ + 4๐‘ฆ = 0

a. Show that each of the functions ๐‘’๐‘ฅ , ๐‘’4๐‘ฅand 2๐‘’๐‘ฅ โˆ’ 3๐‘’4๐‘ฅ is a solution of this

equation on the interval โˆ’โˆž < ๐‘ฅ < โˆž.

b. Show that ๐‘’๐‘ฅ and ๐‘’4๐‘ฅ are linearly independent on โˆ’โˆž < ๐‘ฅ < โˆž.

c. Show that the solution ๐‘’๐‘ฅ and 2๐‘’๐‘ฅ โˆ’ 3๐‘’4๐‘ฅ are also linearly independent on

โˆ’โˆž < ๐‘ฅ < โˆž.

Page 56: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION 24th, 25th, 26th Meeting :

IV. Explicit Methods of Solving Higher Order Linear Differential Equations - The Homogeneous Linear Equation with Constant Coefficients

In this chapter we will be looking exclusively at linear second order differential equations.

The most general linear second order differential equation is in the form

๐‘ƒ๐‘› ๐‘ฅ ๐‘ฆ ๐‘› + ๐‘ƒ๐‘›โˆ’1 ๐‘ฅ ๐‘ฆ ๐‘›โˆ’1 + โ‹ฏ + ๐‘ƒ1 ๐‘ฅ ๐‘ฆ โ€ฒ + ๐‘ƒ๐‘œ ๐‘ฅ ๐‘ฆ = ๐บ ๐‘ฅ

In fact, we will rarely look at non-constant coefficient linear second order differential

equations. In the case where we assume constant coefficients we will use the following

differential equation.

๐‘Ž๐‘›๐‘ฆ ๐‘› + ๐‘Ž๐‘›โˆ’1๐‘ฆ ๐‘›โˆ’1 + โ‹ฏ + ๐‘Ž1๐‘ฆ

โ€ฒ + ๐‘Ž๐‘œ๐‘ฆ = ๐บ ๐‘ฅ

Initially we will make our life easier by looking at differential equations with ๐‘” ๐‘ก = 0.

we call the differential equation homogeneous and when ๐‘” ๐‘ฅ โ‰  0 we call the differential

equation nonhomogeneous.

So, letโ€™s start thinking about how to go about solving a constant coefficient, homogeneous,

linear, higher order differential equation. Here is the general constant coefficient,

homogeneous, linear, higher order differential equation.

๐‘Ž๐‘›๐‘ฆ ๐‘› + ๐‘Ž๐‘›โˆ’1๐‘ฆ ๐‘›โˆ’1 + โ‹ฏ + ๐‘Ž1๐‘ฆ

โ€ฒ + ๐‘Ž๐‘œ๐‘ฆ = 0

All of the solutions in this example were in the form

๐‘ฆ ๐‘ฅ = ๐‘’๐‘Ÿ๐‘ฅ

To see if we are correct all we need to do is plug this into the differential equation and see

what happens. So, letโ€™s get some derivatives and then plug in.

๐‘ฆ โ€ฒ ๐‘ฅ = ๐‘Ÿ๐‘’๐‘Ÿ๐‘ฅ , ๐‘ฆ 2 ๐‘ก = ๐‘Ÿ2๐‘’๐‘Ÿ๐‘ฅ , โ€ฆ , ๐‘ฆ ๐‘› ๐‘ก = ๐‘Ÿ๐‘›๐‘’๐‘Ÿ๐‘ฅ

๐‘Ž๐‘› ๐‘Ÿ๐‘›๐‘’๐‘Ÿ๐‘ฅ + ๐‘Ž๐‘›โˆ’1 ๐‘Ÿ๐‘›โˆ’1๐‘’๐‘Ÿ๐‘ฅ + โ‹ฏ + ๐‘Ž1๐‘Ÿ๐‘’

๐‘Ÿ๐‘ฅ + ๐‘Ž๐‘œ๐‘’๐‘Ÿ๐‘ฅ = 0

๐‘’๐‘Ÿ๐‘ฅ ๐‘Ž๐‘›๐‘Ÿ๐‘› + ๐‘Ž๐‘›โˆ’1๐‘Ÿ๐‘›โˆ’1 + โ‹ฏ + ๐‘Ž1๐‘Ÿ + ๐‘Ž๐‘œ = 0

This can be reduced further by noting that exponentials are never zero. Therefore, the

value of r should be the roots of

Page 57: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

๐‘Ž๐‘›๐‘Ÿ๐‘› + ๐‘Ž๐‘›โˆ’1๐‘Ÿ๐‘›โˆ’1 + โ‹ฏ + ๐‘Ž1๐‘Ÿ + ๐‘Ž๐‘œ = 0.

This equation is typically called the characteristic equation for homogeneous equation.

Once we have these n roots, we have n solutions to the differential equation.

๐‘ฆ1 ๐‘ฅ = ๐‘’๐‘Ÿ1๐‘ฅ , ๐‘ฆ2 ๐‘ฅ = ๐‘’๐‘Ÿ2๐‘ฅ , โ€ฆ . . , ๐‘ฆ๐‘› ๐‘ฅ = ๐‘’๐‘Ÿ๐‘› ๐‘ฅ

Youโ€™ll notice that we neglected to mention whether or not the n solutions listed above are

in fact โ€œnice enoughโ€ to form the general solution. This was intentional. We have three

cases that we need to look at and this will be addressed differently in each of these cases.

So, what are the cases? The roots will have three possible forms. These are

1. Real, distinct roots, .

2. Complex root,

3. Double roots, .

For repeated roots we just add in a t for each of the solutions past the first one until we

have a total of k solutions. Again, we will leave it to you to compute the Wronskian to

verify that these are in fact a set of linearly independent solutions. Finally we need to deal

with complex roots. The biggest issue here is that we can now have repeated complex

roots for 4th order or higher differential equations. Weโ€™ll start off by assuming that ๐‘Ÿ = ๐œ† ยฑ

๐œ‡๐‘– occurs only once in the list of roots. In this case weโ€™ll get the standard two solutions,

๐‘’๐œ†๐‘ฅ cos ๐œ‡๐‘ฅ ๐‘’๐œ†๐‘ฅ sin ๐œ‡๐‘ฅ

Example.

Solve the following equation.

๐‘ฆ 3 โˆ’ 5๐‘ฆ" โˆ’ 22๐‘ฆโ€ฒ + 56๐‘ฆ = 0

Answer :

The characteristic equation is

๐‘Ÿ3 โˆ’ 5๐‘Ÿ2 โˆ’ 22๐‘Ÿ + 56 = ๐‘Ÿ + 4 ๐‘Ÿ โˆ’ 2 ๐‘Ÿ โˆ’ 7 = 0

Page 58: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Therefore we get

๐‘Ÿ1 = โˆ’4, ๐‘Ÿ2 = 2, ๐‘Ÿ3 = 7

So we have three real distinct roots here and so the general solution is

๐‘ฆ ๐‘ฅ = ๐‘1๐‘’โˆ’4๐‘ฅ + ๐‘2๐‘’

2๐‘ฅ + ๐‘3๐‘’7๐‘ฅ

Example.

Solve the following differential equation

2๐‘ฆ 4 + 11๐‘ฆ 3 + 18๐‘ฆ" + 4๐‘ฆโ€ฒ โˆ’ 8๐‘ฆ = 0

Answer :

The characteristic equation is

2๐‘Ÿ4 + 11๐‘Ÿ3 + 18๐‘Ÿ2 + 4๐‘Ÿ โˆ’ 8 = 2๐‘Ÿ โˆ’ 1 ๐‘Ÿ + 2 3 = 0

So, we have two roots here, ๐‘Ÿ1 =1

2 and ๐‘Ÿ2 = โˆ’2 which is multiplicity of 3. Remember that

weโ€™ll get three solutions for the second root and after the first we add xโ€™s only the solution

until we reach three solutions.

The general solution is then,

๐‘ฆ ๐‘ฅ = ๐‘1๐‘’12๐‘ฅ + ๐‘2๐‘’

โˆ’2๐‘ฅ + ๐‘3๐‘ฅ๐‘’โˆ’2๐‘ฅ + ๐‘4๐‘ฅ2๐‘’โˆ’2๐‘ฅ

Example.

Solve the following differential equation.

๐‘ฆ 5 + 12๐‘ฆ 4 + 104๐‘ฆ 3 + 408๐‘ฆ" + 1156๐‘ฆโ€ฒ = 0

Answer:

The characteristic equation is

๐‘Ÿ5 + 12๐‘Ÿ4 + 104๐‘Ÿ3 + 408๐‘Ÿ2 + 1156๐‘Ÿ = 0

So, we have one real root r = 0 and a pair of complex roots ๐‘Ÿ = โˆ’3 ยฑ 5 ยฑ ๐‘– each with

multiplicity 2. So, the solution for the real root is easy and for the complex roots weโ€™ll get a

total of 4 solutions.

Page 59: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

The general solution is

๐‘ฆ ๐‘ฅ = ๐‘1 + ๐‘2๐‘’โˆ’3๐‘ฅ ๐‘๐‘œ๐‘  5๐‘ฅ + ๐‘3๐‘’

โˆ’3๐‘ฅ ๐‘ ๐‘–๐‘› 5๐‘ฅ + ๐‘4๐‘ฅ๐‘’โˆ’3๐‘ฅ ๐‘๐‘œ๐‘  5๐‘ฅ + ๐‘5๐‘ฅ๐‘’โˆ’3๐‘ฅ ๐‘ ๐‘–๐‘› 5๐‘ฅ

Exercise 24

Solve the problems below.

1. ๐‘ฆ" โˆ’ 5๐‘ฆโ€ฒ + 6๐‘ฆ = 0

2. ๐‘ฆ 3 โˆ’ 3๐‘ฆ" โˆ’ ๐‘ฆ + 3๐‘ฆ = 0

3. ๐‘ฆ" + 9๐‘ฆ = 0

4. ๐‘ฆ 3 โˆ’ ๐‘ฆ" + ๐‘ฆ โˆ’ ๐‘ฆ = 0

5. ๐‘ฆ 4 + 8๐‘ฆ" + 16๐‘ฆ = 0

6. ๐‘ฆ 5 โˆ’ 2๐‘ฆ 4 + ๐‘ฆ 3 = 0

7. ๐‘ฆ 4 โˆ’ 3๐‘ฆ 3 โ€ฒ โˆ’ 2๐‘ฆ" + 2๐‘ฆโ€ฒ + 12๐‘ฆ = 0

Page 60: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION 27th, 28th Meeting :

IV. Explicit Methods of Solving Higher Order Linear Differential Equations - The Method of Undetermined Coefficients

We now consider the n-order linear differential equation which is nonhomogeneous

๐‘Ž๐‘›๐‘ฆ ๐‘› + ๐‘Ž๐‘›โˆ’1๐‘ฆ ๐‘›โˆ’1 + โ‹ฏ + ๐‘Ž1๐‘ฆ

โ€ฒ + ๐‘Ž๐‘œ๐‘ฆ = ๐บ ๐‘ฅ

where ๐บ ๐‘ฅ โ‰  0.

As we have studied before that the solution of nonhomogeneous equation above is in the

form

๐‘ฆ = ๐‘ฆ๐‘ + ๐‘ฆ๐‘

Where ๐‘ฆ๐‘ is the general solution for the corresponding homogeneous equation and ๐‘ฆ๐‘ is the

particular solution.

How to determine the particular solution, can be done with Undetermined Coefficient

Method and Variation Parameters Method.

IV.A Undetermined Coefficient Method

If ๐บ ๐‘ฅ is an exponential function, polynomial, sine, cosine, sum/difference of one of these

and/or a product of one of these then we guess the form of a particular solution. We then

plug the guess into the differential equation, simplify and set the coefficients equal to solve

for the constants. The one thing that we need to recall is that we first need the

complimentary solution prior to making our guess for a particular solution. If any term in

our guess is in the complimentary solution then we need to multiply the portion of our guess

that contains that term by a x.

Page 61: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Example.

Solve the following differential equation

๐‘ฆ 3 โˆ’ 12๐‘ฆ" + 48๐‘ฆโ€ฒ โˆ’ 64๐‘ฆ = 12 โˆ’ 32๐‘’โˆ’8๐‘ฅ + 2๐‘’4๐‘ฅ

Answer :

The characteristic equation corresponds to the homogeneous part is

๐‘Ÿ3 โˆ’ 12๐‘Ÿ2 + 48๐‘Ÿ โˆ’ 64 = ๐‘Ÿ โˆ’ 4 3 = 0

So, the root is 4 of multiplicity 3.

Therefore the complimentary solution is

๐‘ฆ๐‘ ๐‘ฅ = ๐‘1๐‘’4๐‘ฅ + ๐‘2๐‘ฅ๐‘’4๐‘ฅ + ๐‘3๐‘ฅ

2๐‘’4๐‘ฅ

Based on the right side of the equation 12 โˆ’ 32๐‘’โˆ’8๐‘ฅ8๐‘ฅ + 2๐‘’4๐‘ฅ , our guess for a particular

solution is

๐‘Œ๐‘ ๐‘ฅ = ๐ด + ๐ต๐‘’โˆ’8๐‘ฅ8๐‘ฅ + ๐ถ๐‘’4๐‘ฅ

Notice that the last term in our guess is the complimentary solution, so weโ€™ll need to add

one at least t to the third term in our guest. Also notice that multiplying in the third term by

either ๐‘ฅ or ๐‘ฅ2 will result in a new term that is still in the complimentary solution. So, we

need to multiply the third term by ๐‘ฅ3 in order to get a term that is not contained in the

complimentary solution.

The final guess is then

๐‘Œ๐‘ ๐‘ฅ = ๐ด + ๐ต๐‘’โˆ’8๐‘ฅ8๐‘ฅ + ๐ถ๐‘ฅ3๐‘’4๐‘ฅ

Substitute this function to the equation by taking itโ€™s first, second and third derivative then

set the coefficients equal we get,

๐ด = โˆ’3

16, ๐ต =

1

54, ๐ถ =

1

3

The general solution is then

๐‘ฆ ๐‘ฅ = ๐‘1๐‘’4๐‘ฅ + ๐‘2๐‘ฅ๐‘’4๐‘ฅ + ๐‘3๐‘ฅ

2๐‘’4๐‘ฅ โˆ’3

16+

1

54๐‘’โˆ’8๐‘ฅ8๐‘ฅ +

1

3๐‘ฅ3๐‘’4๐‘ฅ

Page 62: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Exercise 27

Find the general solution of the differential equations below

1. ๐‘ฆ" โˆ’ 2๐‘ฆโ€ฒ โˆ’ 8๐‘ฆ = 4๐‘’2๐‘ฅ โˆ’ 21๐‘’โˆ’3๐‘ฅ

2. ๐‘ฆ" โˆ’ 3๐‘ฆ + 2๐‘ฆ = 4๐‘ฅ2

3. ๐‘ฆ โ€ฒโ€ฒ + 2๐‘ฆ โ€ฒ + 5๐‘ฆ = 6 sin 2๐‘ฅ + 7 cos 2๐‘ฅ

4. ๐‘ฆ โ€ฒโ€ฒ + 2๐‘ฆ โ€ฒ + 2๐‘ฆ = 10 sin 4๐‘ฅ

5. ๐‘ฆ โ€ฒโ€ฒ + ๐‘ฆ โ€ฒ โˆ’ 2๐‘ฆ = 6๐‘’โˆ’2๐‘ฅ + 3๐‘’๐‘ฅ โˆ’ 4๐‘ฅ2

6. ๐‘ฆ 3 โˆ’ 4๐‘ฆ โ€ฒโ€ฒ + 5๐‘ฆ โ€ฒ โˆ’ 2๐‘ฆ = 3๐‘ฅ2 ๐‘’๐‘ฅ โˆ’ 7๐‘’๐‘ฅ

Page 63: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION 29th, 30th Meeting

:

IV. Explicit Methods of Solving Higher Order Linear Differential Equations - Variation of Parameters

IV.B Variation of Parameters Methods

The method of variation of parameters involves trying to find a set of new functions,

๐‘ข1 ๐‘ฅ , ๐‘ข2 ๐‘ฅ , โ€ฆ , ๐‘ข๐‘› ๐‘ฅ so that,

๐‘Œ ๐‘ฅ = ๐‘ข1 ๐‘ฅ ๐‘ฆ1 ๐‘ฅ + ๐‘ข2 ๐‘ฅ ๐‘ฆ2 ๐‘ฅ + โ€ฆ + ๐‘ข๐‘› ๐‘ฅ

will be a solution to the nonhomogeneous differential equation. In order to determine if this

is possible, and to find the ๐‘ข๐‘– ๐‘ฅ if itโ€™s possible, weโ€™ll need a total of n equations involving the

unknown functions that we can solve.

Suppose

๐‘Š ๐‘ฆ1, ๐‘ฆ2, โ€ฆ , ๐‘ฆ๐‘› ๐‘ฅ =

๐‘ฆ1 ๐‘ฅ ๐‘ฆ2 ๐‘ฅ ๐‘ฆ3 ๐‘ฅ โ‹ฏ ๐‘ฆ๐‘›(๐‘ฅ)

๐‘ฆโ€ฒ1 ๐‘ฅ ๐‘ฆโ€ฒ2 ๐‘ฅ ๐‘ฆโ€ฒ3 ๐‘ฅ ๐‘ฆ๐‘›โ€ฒ (๐‘ฅ)

โ‹ฎ โ‹ฎ โ‹ฎ๐‘ฆ(๐‘›โˆ’1) 1 ๐‘ฅ ๐‘ฆ(๐‘›โˆ’1)

2 ๐‘ฅ ๐‘ฆ(๐‘›โˆ’1)

3 ๐‘ฅ โ‹ฏ ๐‘ฆ(๐‘›โˆ’1)

๐‘› ๐‘ฅ

Let ๐‘Š๐‘– represent the determinant we get by replacing the ith column of the Wronskian with

the column 0,0,0, โ€ฆ ,0,1 . For example

๐‘Š1 =

0 ๐‘ฆ2 ๐‘ฅ ๐‘ฆ3 ๐‘ฅ โ‹ฏ ๐‘ฆ๐‘›(๐‘ฅ)

0 ๐‘ฆโ€ฒ2 ๐‘ฅ ๐‘ฆโ€ฒ3 ๐‘ฅ ๐‘ฆ๐‘›โ€ฒ (๐‘ฅ)

โ‹ฎ โ‹ฎ โ‹ฎ1 ๐‘ฆ(๐‘›โˆ’1)

2 ๐‘ฅ ๐‘ฆ(๐‘›โˆ’1)

3 ๐‘ฅ โ‹ฏ ๐‘ฆ(๐‘›โˆ’1)

๐‘› ๐‘ฅ

the solution to the system can then be written as,

๐‘ข1 ๐‘ฅ = ๐‘” ๐‘ฅ ๐‘Š1 ๐‘ฅ

๐‘Š ๐‘ฅ ๐‘‘๐‘ฅ , ๐‘ข2 ๐‘ฅ =

๐‘” ๐‘ฅ ๐‘Š2 ๐‘ฅ

๐‘Š ๐‘ฅ ๐‘‘๐‘ฅ , โ€ฆ , ๐‘ข๐‘› ๐‘ฅ =

๐‘” ๐‘ฅ ๐‘Š๐‘› ๐‘ฅ

๐‘Š ๐‘ฅ ๐‘‘๐‘ฅ

Finally, the particular solution is given by

๐‘Œ๐‘ ๐‘ฅ = ๐‘ฆ1(๐‘ฅ) ๐‘” ๐‘ฅ ๐‘Š1 ๐‘ฅ

๐‘Š ๐‘ฅ ๐‘‘๐‘ฅ + ๐‘ฆ2(๐‘ฅ)

๐‘” ๐‘ฅ ๐‘Š2 ๐‘ฅ

๐‘Š ๐‘ฅ ๐‘‘๐‘ฅ + โ€ฆ + ๐‘ฆ๐‘›(๐‘ฅ)

๐‘” ๐‘ฅ ๐‘Š๐‘› ๐‘ฅ

๐‘Š ๐‘ฅ ๐‘‘๐‘ฅ

Page 64: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Example.

Solve the following differential equation

๐‘ฆ 3 โˆ’ 2๐‘ฆ" โˆ’ 21๐‘ฆโ€ฒ โˆ’ 18๐‘ฆ = 3 + 4๐‘’โˆ’๐‘ฅ

Answer :

The characteristic equation corresponds to the homogeneous equation is

๐‘Ÿ3 โˆ’ 2๐‘Ÿ2 โˆ’ 21๐‘Ÿ โˆ’ 18 = 0 โ†’ ๐‘Ÿ = โˆ’3, ๐‘Ÿ = โˆ’1, ๐‘Ÿ = 6

Here we get

๐‘ฆ๐‘ ๐‘ฅ = ๐‘1๐‘’โˆ’3๐‘ฅ + ๐‘2๐‘’

โˆ’๐‘ฅ + ๐‘3๐‘’6๐‘ฅ

Several determinant that we should count are

๐‘Š = ๐‘’โˆ’3๐‘ฅ ๐‘’โˆ’๐‘ฅ ๐‘’6๐‘ฅ

โˆ’3๐‘’โˆ’3๐‘ฅ โˆ’๐‘’โˆ’๐‘ฅ 6๐‘’6๐‘ฅ

9๐‘’โˆ’3๐‘ฅ ๐‘’โˆ’๐‘ฅ 36๐‘’6๐‘ฅ

= 126๐‘’2๐‘ฅ

๐‘Š1 = 0 ๐‘’โˆ’๐‘ฅ ๐‘’6๐‘ฅ

0 โˆ’๐‘’โˆ’๐‘ฅ 6๐‘’6๐‘ฅ

1 ๐‘’โˆ’๐‘ฅ 36๐‘’6๐‘ฅ

= 7๐‘’5๐‘ฅ

๐‘Š2 = ๐‘’โˆ’3๐‘ฅ 0 ๐‘’6๐‘ฅ

โˆ’3๐‘’โˆ’3๐‘ฅ 0 6๐‘’6๐‘ฅ

9๐‘’โˆ’3๐‘ฅ 1 36๐‘’6๐‘ฅ

= โˆ’9๐‘’3๐‘ฅ

๐‘Š3 = ๐‘’โˆ’3๐‘ฅ ๐‘’โˆ’๐‘ฅ 0

โˆ’3๐‘’โˆ’3๐‘ฅ โˆ’๐‘’โˆ’๐‘ฅ 09๐‘’โˆ’3๐‘ฅ ๐‘’โˆ’๐‘ฅ 1

= 2๐‘’โˆ’4๐‘ฅ

Here we get

๐‘ข1 ๐‘ฅ = 3 + 4๐‘’โˆ’๐‘ฅ 7๐‘’5๐‘ฅ

126๐‘’2๐‘ฅ ๐‘‘๐‘ฅ =

1

18 ๐‘’3๐‘ฅ + 2๐‘’2๐‘ฅ

๐‘ข2 ๐‘ฅ = 3 + 4๐‘’โˆ’๐‘ฅ โˆ’9๐‘’3๐‘ฅ

126๐‘’2๐‘ฅ ๐‘‘๐‘ฅ = โˆ’

1

14 3๐‘’๐‘ฅ + 4๐‘ฅ

๐‘ข3 ๐‘ฅ = 3 + 4๐‘’โˆ’๐‘ฅ 2๐‘’โˆ’4๐‘ฅ

126๐‘’2๐‘ฅ ๐‘‘๐‘ฅ =

1

63 โˆ’

1

2๐‘’โˆ’6๐‘ฅ โˆ’

4

7๐‘’โˆ’7๐‘ฅ

The general solution is then,

๐‘ฆ ๐‘ฅ = ๐‘1๐‘’โˆ’3๐‘ฅ + ๐‘2๐‘’

โˆ’๐‘ฅ + ๐‘3๐‘’6๐‘ฅ โˆ’

1

6+

5

49๐‘’โˆ’๐‘ฅ โˆ’

2

7๐‘’โˆ’๐‘ฅ

Page 65: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

Exercise 29

Solve the differential equations below.

1. ๐‘ฆ" โˆ’ 2๐‘ฆโ€ฒ โˆ’ 8๐‘ฆ = 4๐‘’2๐‘ฅ โˆ’ 21๐‘’โˆ’3๐‘ฅ

2. ๐‘ฆ" โˆ’ 3๐‘ฆ + 2๐‘ฆ = 4๐‘ฅ2

3. ๐‘ฆ โ€ฒโ€ฒ + 2๐‘ฆ โ€ฒ + 5๐‘ฆ = 6 sin 2๐‘ฅ + 7 cos 2๐‘ฅ

4. ๐‘ฆ โ€ฒโ€ฒ + 2๐‘ฆ โ€ฒ + 2๐‘ฆ = 10 sin 4๐‘ฅ

5. ๐‘ฆ โ€ฒโ€ฒ + ๐‘ฆ โ€ฒ โˆ’ 2๐‘ฆ = 6๐‘’โˆ’2๐‘ฅ + 3๐‘’๐‘ฅ โˆ’ 4๐‘ฅ2

6. ๐‘ฆ 3 โˆ’ 4๐‘ฆ โ€ฒโ€ฒ + 5๐‘ฆ โ€ฒ โˆ’ 2๐‘ฆ = 3๐‘ฅ2 ๐‘’๐‘ฅ โˆ’ 7๐‘’๐‘ฅ

Page 66: HANDOUT OF DIFFERENTIAL EQUATIONSstaff.uny.ac.id/sites/default/files/pendidikan/Nikenasih...differential equations, first, we use a problem to illustrate some of the basic ideas that

STATE UNIVERSITY OF-YOGYAKARTA

FACULTY OF-MATHEMATICS AND NATURAL SCIENCE

DEPARTMENT OF MATHEMATICS EDUCATION 31st Meeting :

EXERCISES

Question 1 : Solve the differential equation below.

1

53

yx

yx

dx

dy

Question 2 : Sketch for the graph of solution of without finding itโ€™s solution explicitly and

give some reasons.

21)0(,)2( yyyy

Question 3 : Find the general solution of differential equation 096 yy .

Question 4 : Find the general solution of differential equation below.

0,sin2 ttyyt

Question 5 : Find the general solution of the differential equation below.

0)()( 2 dyexdxyx y

Question 6 : Find the general solution of the second order linear differential equation

below.

tyy 2sin432