Unit 3.3: Systems Described by Differential Equations#
This section is based on Section 2.5 of [Hsu, 2020]
Follow along at cpjobling.github.io/eg-150-textbook/lti_systems/lti3
Subjects to be covered#
We conclude our introduction to continuous-time LTI system by considering
Continuous-time LTI systems described by differential equations#
A. Linear constant-coefficient differential equations#
A general
where the coeeficients
The order
The LCCODE can be written in more compact form as
Applications of linear constant-coefficient differential equations#
LCCODEs play a central role in describing the input-output relationships of a wide variety of electrical, mechanical, chemical and biological systems.
Illustration: An RC Circuit#
For instance, in the RC circuit considered in Exercise 4.1: RC Circuit, the input
So, by inspection,
General solution of the general linear constant-coefficient differential equation#
The general solution of the general linear constant-coefficient differential equation for a particular input
where
The exact form of
Note that
does not completely specify the the output
at some point in time.
B. Linearity#
The system defined by
will be linear only if all the auxilliary conditions are zero (see Exercise 8.4).
If the auxilliary conditions are not zero, then the response
where
This is illustrated in Fig. 38

Fig. 38 Zero-state and zero-input responses#
Note that
C. Causality#
In order for the linear system described by a linear constant-coefficient differential equation
to be causal, we must assume the condition of initial rest (or an initially relaxed condition).
That is, if
Thus, the response for
where
Clearly, at initial rest,
D. Time-invariance#
For a linear causal system, initial rest also implies time-invariance (Exercise 8.6).
E. Impulse response#
The impulse response
with the initial rest condition.
Examples of finding impulse responses are given in Exercise 8.6 to Exercise 8.8.
A peek into the future#
Later in this course, and probably for the rest of your career, you will find the impulse and other responses by using the Laplace transform.
Exercises 8: Systems described by differential equations#
Exercise 8.1#
The continuous-time system shown in Fig. 39 consists of one integrator and one scalar multiplier. Write the differential equation that relates the output

Fig. 39 A one-integrator linear system#
For the answer, refer to the lecture recording or see solved problem 2.18 in [Hsu, 2020].
MATLAB Solution#
cd '/Users/eechris/code/src/github.com/cpjobling/eg-150-textbook/lti_systems/matlab'
open examples8
You can download and run these scripts and try them yourself.
MATLAB Scipt examples8.slx
Simulation model example8_1.slx
Exercise 8.2#
The continuous-time system shown in Fig. 40 consists of two integrators and two scalar multipliers. Write the differential equation that relates the output

Fig. 40 A two-integrator linear system#
For the answer, refer to the lecture recording or see solved problem 2.19 in in [Hsu, 2020].
MATLAB Solution#
Simulink model example8_2.slx
Note
As we will be moving on to show how differential equations can be solved by the Laplace transform, the remaining examples are optional and will not be examined.
Exercise 8.3#
Consider a continuous-time system whose input
where
(a) Find
(b) Express
Solution#
This is an example of how a first-order LCCODE would be solved. We provide this as an instructional example but will assume that you will be tested on this in other modules.
a) Given that
we assume that the particular solution will be of the form
Substituting for
from which, after cancelling the common term
and
To obtain the homegenous solution we assume that
Substituting for
so
Combining
Using the auxilary equation
then
For
From the auxillary equation
b) Combining the solutions for
where
and
Exercise 8.4#
Consider the system in Exercise 8.3.
(a) Show that the system is not linear if
(b) Show that the system is linear if
For the answer, see the solved problem 2.21 in [Hsu, 2020].
Exercise 8.5#
Consider the system in Exercise 8.3. Show that the initial rest condition
For the answer, see the solved problem 2.22 in [Hsu, 2020].
Exercise 8.6#
Consider the system in Exercise 8.3. Find the impulse response
For the answer, see the solved problem 2.23 in [Hsu, 2020].
Exercise 8.7#
Consider the system in Exercise 8.3 with
(a) Find the step response
(b) Find the step response
(c) Find the impulse response
For the answer, see the solved problem 2.24 in [Hsu, 2020].
Exercise 8.8#
Consider the system described by
Find the impulse response
For the answer, refer to the lecture recording or see solved problem 2.25 in [Hsu, 2020].
Summary#
In this lecture we have concluded our introduction to LTI systems by looking at linear constant-coefficient differential equations.
Unit 3.3: Take aways#
LCCODEs#
Continuous-time LTI systems are often modelled as linear constant coefficient ordinary differential equations (LCCODEs). The solution of such equations has wide application in engineering and science.
The general description of a LCCODE is given in compact form as:
where the coefficients
We illustrated in Illustration: An RC Circuit that the simple RC circuit can be represented as such an LCCODE.
Solution of LCCODEs#
The solution of LCCODEs requires the determination and combination of the homegenious solution which is due only to the output
We were told that continuous-time LTI systems defined by LCCODEs are only causal and time invariant if they are initially at rest.
The output of the continuous-time LTI system with input
For reference, a fully worked solution of a first-order LCCODE is provided in Exercise 8.3. You will not be expected to solve such problems in the assessments for this module.
Analogue computer models#
In Exercises 8: Systems described by differential equations we were introduced to the representation of an LCCODE as a block diagram constructed from integral, gain and summing blocks. Such models were the basis of analogue computation which was used widely by engineers before the widespread adoption of digital computers. Models based on integration are still the basis of modern numerical digital system simulation tools like Multisim and Simulink.
Examples of the solution of Exercise 8.1 and Exercise 8.2 have been provided in MATLAB and Simulink.
Looking ahead#
Any continuous-time LTI system that can be represented by an LCCODE can be solved by taking the Laplace transform of the differential equation. The derivative terms like
Continuous-Time LTI Systems Described by Differential Equations#
Next Time#
We move on to consider