I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com

First Order

First Order Differential Equations with worked examples
+ View other versions (3)

Examples With Separable Variables Differential Equations

This article presents some working examples with separable differential equations.

Definition

Separable Differential Equations are differential equations which respect one of the following forms :
  • \inline \displaystyle \frac{dy}{dx} = F(x,y) where F is a two variable function,also continuous.
  • \inline f(y)\;dy=g(x)\;dx, where f and g are two real continuous functions.

Rational Functions

A rational function \inline f :\mathbb{R}\to\mathbb{R} is a real function respecting \inline f(x)=\frac{P(x)}{Q(x)} where \inline P,Q are polynomials.
Example:
Example - Simple Differential Equation
Problem
Solve:

Workings
As the equation is of first order, integrate the function twice, i.e.
and
Solution

Trigonometric Functions

A trigonometric function is a real function \inline f:\mathbb{R} \to\mathbb{R} where \inline f(x) contains one or more of the trigonometric functions :
  • \inline Sin(x),Cos(x),Tan(x),Cotan(x)
  • \inline Arcsine(x),Arccos(x),Arctan(x),Arccotan(x)
Example:
Example - Simple Cosine
Problem

Workings
This is the same as

which we integrate in the normal way to yield
Solution

Physics Examples

Example:
Example - Potential example
Problem
If a and b are the radii of concentric spherical conductors at potentials of respectively, then V is the potential at a distance r from the centre. Find the value of V if:
and at r=a and at r=b

Workings

Substituting in the given values for V and r
and
Thus
Solution

Linear Type Of Differential Equation

Equations of the type
\frac{dy}{dx} + Py = Q

Where P and Q are function of x ( but not of y) are said to be linear of the first order
Example:
Example - Rational equation
Problem
Workings
If each side of te equation is multiplied by x the equation becomes:-

i.e
Hence integrating

This equation has been solved by using the obvious integrating factor x. It is possible to find a more general solution by using R as and integrating factor.

Consider the following equation :

By Inspection the left hand side of this equation must reduce to (Ry)
This gives

Thus

This gives the rule that to solve multiply both sides by an integrating factor of:-

Solution
Hence the Method of solving this type of equation is :

  • Reduce the equation into the form
  • Multiply through by the Integrating Factor:-
  • The equation becomes :-

Equations That Can Be Reduced To The Linear Form

A linear form in 2 variables \inline x_1,x_2 is given by \inline f(x_1,x_2)=a_1x_1+a_2x_2 where \inline a_i\in\mathhf{R}
Analogous for n variables .

Example:
Example - Simple equations
Problem
Consider the equation:

Workings

Divide through by

Putting

Solution

Hence
Therefore
Or

This example is a particular case of The Bernoulli Equation

General Solution Of The Bernoulli Equation

Bernoulli equations have an important property :
  • they are nonlinear differential equations with known exact solutions.
This section is presenting the Bernoulli Equation.

\inline \mathbf{\frac{dy}{dx} + Py = Q\;y^n} \inline P and \inline Q are functions of x

This can be reduced to a linear form by putting \inline \displaystyle z = \frac{1}{y^{(n - 1)}} Therefore
\frac{dz}{dx}\;= - \frac{(n - 1)}{y^n}\;\frac{dy}{dx}

The original equation can be re-written as:

\frac{1}{y^n}\;\frac{dy}{dx} + P\;\frac{1}{y^{(n - 1)}} = Q

\frac{1}{(n - 1)}\;\frac{dz}{dx} + Pz = Q

Homogeneous Equations

Any equation which can be put into the form:
A homogeneous polynomial is a polynomial whose monomials with nonzero coefficients all have the same total degree. For example : \inline x^7+x^4y^3+x^3y^4+y^7 is homogenous.
\mathbf{\frac{dy}{dx} = f\left(\frac{y}{x} \right)}
is said to be Homogeneous. To test whether a function of x and y can be written in the form of the right hand side, substitute for \inline y=vx . If the result is in the form \inline f(v), i.e. all the x's cancel, then the test is satisfied and the equation is homogeneous.

Example:
Example - Testing a function is homogeneous
Problem
Is the follow function homogeneous:
Workings
Substitute for y=vx,
or
or

As all the x have cancelled out, the test is satisfied.
Solution
Function is homogeous

The Method Of Solution For Homogeneous Equations

Substitute \inline y = vx in both sides of the equation

\frac{dy}{dx}\;\;becomes\;\;\;\left(v + x\;\frac{dv}{dx} \right)

Note. If y is a function of x then so is v

Thus the equatican be re-written as:

v + x\;\frac{dv}{dx} = \frac{1 + v^2}{2}

Re-writing and Separating the variables:

\frac{2\;dv}{(v - 1)^2} = \frac{dx}{x}

Integrating
\frac{- 2}{(v - 1)} = ln\,x + C

But
\frac{- 2}{(v - 1)} =  \frac{2x}{x - y}\;\;\;\;\;\left(since \;\;v = \frac{y}{x} \right)
\therefore\;\;\;\;\;\;2x = (x - y)\;(ln\,x + C)

Example:
Example - Homogenous
Problem
Workings
Rearranging

Putting y = vx

i.e.

Integrating

Therefore
Therefore
Solution
Substituting for v Therefore

The Exceptional Case Of Homogeneous Equations

If the straight lines are parallel there is no finite point of intersection and the method of solving such equations is illustrated by the following example.
\frac{dy}{dx} = \frac{3y - 4x - 2}{3y - 4x - 3}

Put Z = 3y - 4x and thus \inline \displaystyle \frac{dZ}{dx} = 3\frac{dy}{dx} - 4

The equation can now be written as:
\frac{1}{3}\left(\frac{dZ}{dx} + 4 \right) = \frac{Z - 2}{Z - 3}
\therefore\;\;\;\;\;\frac{dZ}{dx} = \frac{3Z - 6}{Z - 3} - 4 = \frac{- Z + 6}{Z - 3}
\therefore\;\;\;\;\;\;dx = -\left(\frac{Z - 3}{Z - 6} \right)dZ = \frac{-Z - 6 + 3}{Z - 6}\;dZ = \left(-1\;-\frac{3}{Z - 6} \right)dZ

Integrating
X = -Z\;-3\,ln\,(Z - 6) + K

Replacing Z the solution to the differential equation is :
3\,ln(3y - 4x - 6) = (3x - 3y) + K

Exact Equations

A form \inline u is said to be exact in a region \inline R if there is a function \inline f such as \inline df=u.
The expression
y\,dx + x\,dy
is an exact differential.
Thus the equation \inline y\,dx + x\,dy = 0 giving that \inline d(yx) = 0 i.e. \inline (yx)=C is called an exact Equation.

Example:
Example - Exact differential
Problem
Solve

Workings
This equation is not exact as it stands but if it is multiplied through by it becomes:
Solution
The solution