Electrical and Computer Engineering Website
 Engineering
    Difference Equations
    Kirchoffs Law
    Sinusoidal Analysis
    Communications
    Differential Equations
    Dynamic Systems
    Probability and Stats
    Control Systems
Simulations
     MATLAB
     Examples in MATLAB
Links to other websites
Johns Hopkins   -   Signals & systems example

Cal State San Bernardino   -   Probablity and Statistics
Engineering>> Differential Equations Prev |  Next |  Home  | Contact us  | Objective
    Nth order non-homogeneous LTI differential equations
The equation to be solved is now considered to be of the form:
derivative of y(t) and that ak’s and b are independent of the function y(t) and its derivatives. Also, u(t) is a function of time.
To solve for y(t), one can first arrange the above nth order equation in terms of n first order equations, which results in a vector of first order LTI differential equation. Then the results for the first order scalar equations can be extended to the first order vector equations.
To do this, let us define the following variables:
Then the first derivative of these variables can be found as:
where the last line of the above equation was found by substituting for
from the original nth order differential equation defined at the beginning of this section. Now denoting the vector x(t) and its first derivative
as:
and
the above set of n first order differential equations can be written in a compact vectorized form, with y(t) = x1(t), as:
where
and
It can be seen that the above differential equation for x(t) is in the form of non-homogeneous first order LTI differential equation, described in the previous section, with the exception that it is now in the vector form.However, our previous results for the scalar case can also be directly applied for the vector case, which is given as follows:
where
 
and
where I is the nXn identity matrix.When A and B are a constant matrices, it is easy to see that
and also
 where
denotes inverse Laplace transformation. Hence, the solution can be simplified as:
or equivalently as:
where
is known from the initial conditions.  Again, it should be added that this result holds even for the nth order linear time varying (LTV) differential equations. That is, consider the nth order linear differential equation:
Then, one can find an equivalent first order linear differential equation in vector form as:
 
The solution of this differential equation is then given as:
          
 or equivalently, as:
where
is known from the initial conditions.
Example:
1)
Equivalent vector differential equation is:
where u(t)=1, , and .
Then, one can find:
Now, the solution can be found as:
 
          
or equivalently as:
That is the solution is given as:
 
Prev |  Next |  Home  | Contact us  | Objective