Calculus Assignment Final
Calculus Assignment Final
Calculus Assignment Final
But we will discuss the difference equation in part two, but for now let’s
discuss the formation of differential equation
Now derivatives are a segregated part analysis a continuous function f(x)
So when we finf the limit as x approaches to 0 of the difference equation
we find the derivative but when we set it equal to a certain function we
form a differential equation. But there is a certain procedure about the
formation a differential equation.
To form differential equation we differentiate a given function as much
as possible to eliminate the given constant and we substitute the
constant value back to the parent function
Example: y=mx
dy
=m= y '
dx
y=x y '
y ' =−e−x + ce x
dy
Example: =e 3 x is an ordinary differential equation
dx
∂2 y ∂ y
−
∂ x2 ∂ x
=x− y is a partial differential equation.
But in regards of our course we only try to see the ordinary differential
equation.
Order of differential equations
The order of differential equation is determined by the highest derivative
that shows up on the equation.
As an example let’s look at the above example
dy
: =e 3 x is a first order differential equation
dx
d 2 y dy
+ =x− y
d x 2 dx
is second order differential equation.
Solution:
First let’s look at the initial value if x=0 the y=4
And let’s multiply the both sides of the equation by dx.
dx ( dydx )=( 6 x−30 ) dx
dy =( 6 x−30 ) dx
Then we integrate both sides
∫ dy=∫ ( 6 x−30 ) dx
6 x2
y= −30 x
2
dy x 2 + y 2
Solution: dx
=
2 xy
f ( x , y )=¿ ¿
1 dy
=−a
y dx
xdv vdx
+ =−adx
xv vx
dv dx
We are left with v
+ =−adx
x
The solution of this equation will consist of the sum of two terms, one of
which is called the complementary function (which we shall denote by
yc), and the other known as the particular integral (to be denoted by y p,).
each of these has a significant economic interpretation. Here, we shall
present only the method of solution;
Even though our objective is to solve the nonhomogeneous equation,
frequently we shall have to refer to its homogeneous version, For
convenient reference, we call the latter the reduced equation. It turns
out that the complementary function yc. is nothing but the general
solution of the reduced equation, whereas the particular integral yp is
simply any particular solution of the complete equation.
Our discussion of the homogeneous case has already given us the
general solution of the reduced equation, and we may therefore write
y c= A e −ax
What about the particular integral? Since the particular integral is any
particular solution of the complete equation, we can first try the simplest
possible type of solution, namely, y being some constant (y = k). If y is a
dy
constant, then it follows that dx
=0, and
The sum of the complementary function and the particular integral then
constitutes the general solution of the complete equation
y= y c+ y p
b
y= A e−ax +
a the is our general solution
b −ax b
[
y= y ( 0 )−
a]e +
a is our definite solution for nonhomogeneous DE.
Where u(x) and w(x) represent a variable coefficient and a variable term,
respectively.
The homogeneous case
For the homogeneous case, where w(x) = 0, the solution is still easy to
obtain. Since the differential equation is in the form
dy
+u ( x )=0
dx
dy
=−u ( t ) dx
y
then
ln | y|=∫ −u ( t ) dx−c
Difference equations
and
their economic application
In dynamic economics we might come across with to functions:
Which are f ( t )∧f t where f(t) generally refers to continuous function and f t
refers to discrete function.
The concept of discrete function on our case discrete time is described
by the method of iteration.
Iteration means repetition .and when we say iterative method we are
saying repetitive method to generate a sequence of outcomes. Lets
consider an example before we proceed
Example:
If “t” is the time period, ∆ t=1 means a change in time by 1 unit.
Let the current time be represented by “t”, the previous time by one
period is written as t−1
The next time by 1 unit is given byt+ 1 and so on
If ∆ y t is the change in “y” at a time period of “t” ,
We can write change of y as :
∆ y t = y t +1− y t and this is called the first difference
And ∆ y t +1= y t +2− y t+1
Then if we wan to find the two successive periods from t up to t+2 we
may write
∆ y t +1−∆ y t
∆ ( y t+1− y t )
∆ (∆ y t )
b
Then y at particular is given by y p=
1+a1 this is the particular integral.
The 2nd condition we consider is that the trial condition which says
y t =A bt and y t +1= A b t+1
The we are left with b=−a 1 because A bt our trial condition coud not
equal zero
Now the complementary solution would look like
yc= A bt we substitute the b value
y c = A (−a)t and our general
solution would look like yt = y p + yc
b
yt = + A(−a)t this is the general solution
1+ a1
of our equation
Now to solve this equation as we have seen above we need the particular
integral and complementary function which are nonhomogeneous and
homogeneous respectively.
Lets find PI first
y p= y t−1= y t so
β y p +θ y p =δ −α
δ−α
Solving for yp y p=
β +θ
θ t δ −α
y t =A ( ) + β +θ
β
Thank you