Preface
This series is aimed at providing tools for an electrical engineer to analyze data and solve problems in design. The focus is on applying calculus to equations or physical systems.
Introduction
This article will cover differential equations using Laplace Transforms.
There is no reference book for this entry.
This also assumes you are familiar with Python or can stumble your way through it.
Concepts
Dependent Variable: in a derivative the variable being derived (e.g. x in dx/dt).
Independent Variable: in a derivative the variable being derived against (e.g. t in dx/dt).
Coefficient: a number (or otherwise) multiplied by a variable.
Order: a number quantifying the largest degree of any derivative in an equation.
Ordinary Differential Equation: a differential equation only containing derivatives with respect to a single variable.
Partial Differential Equation: a differential equation only containing partial derivatives with respect to more than one variable.
Linear Differential Equation Definition
Any equation which:
Laplace Transform Definition
Let f(t) be a function on [0,∞). The Laplace transform of f is the function F defined by the integral:
F(s) = ∫0∞ e-stf(t)dt.
The domain of F(s) is all the values of s for which the integral exists.
The notation for a Laplace transform is given by L{f} = F.
Conversely, the notation for the inverse Laplace is given by L-1{F}.
Fourier Transform Definition
tbd
Properties of Laplace Transforms
Linearity 1 | L{g + h} = L{g} + L{h} |
Linearity 2 | L{cg} + cL{g} |
Translation | L{eatf(t)}(s)=F(s-a) |
First Derivative | L{f'}(s)=sL{f}(s)-f(0) |
nth Derivative | L{fn}(s)=snL{f}(s) - sn-1f(0) - sn-2f'(0) -...- fn-1(0) |
Derivative of Laplace | L{tnf(t)}(s)=(-1)n dnF / dsn (s) |
Laplace of Unit Step Function | L{f(t)u(t-a)}(s)=e-asL{g(t+a)}(s) |
Laplace of Periodic Function | L{fT}(s) = FT(s) / (1-e-sT) |
Laplace of Dirac Delta Function | L{δ(t-a)}(s) = e-as |
Dirac Delta - Unit Step Relationship | δ(t-a) = u'(t-a) |
Convolution | Let f(t) and g(t) be continuous on [0,∞). The convolution is defined by: (f*g)(t) = ∫0t f(t-v)g(v)dv = F(s)G(s) |
Where g and h are a functions, c and a are constants.
Laplace Transform Table
Here.
Intuitive Understanding of Second Order Differential Equations
Many physical phenomena can be described as a second order differential equation.
General Form: my'' + by' + ky = Fexternal
Or more intuitively: [inertia] y'' + [damping] y' + [stiffness] y = [Fexternal],
where y is some physical measurement (e.g. displacement, travel, distance, etc).
The behavior of the system can be understood by analyzing the constants m, b, k and F.
In the time domain, the response of a system can be broken into the follow components:
Steady State behavior is the behavior caused by the external forcing energy, F. It can take on any behavior (e.g. constant value, decaying or sinusoidal) and the system will often introduce phase shift offset and a gain multiplying factor.
The characteristics of the transient response are a function of the system itself and fall into the following categories:
There are two very important points:
Existence and Uniqueness Theorem
For a differential equation of order n and
then there exists a unique solution y(x) on the whole interval (a,b) to the problem:
of the form
y(x) = yh + yp = C1y1(x) + ... + Cnyn(x) + yp(x)
Standard Solution to Linear Differential Equations
Let
then the solution to the differential equation is
y(x) = yp(x) + C1y1(x) + ... + Cnyn(x).
Solving Initial Value Problems with Laplace Transforms
Linear Systems of Differential Equations in Normal Form
x'(t) = A(t)x(t) + g(t),
where x(t) is the set of variables, g(t) is the forcing function and A(t) is an n x n matrix.
For equations of >1 order variable substitution is used (i.e. x(t)).
All the precepts from linear algebra apply here wrt existence and uniqueness. If those requirements are satisfied and the system is in normal form then the methods below can be used to solve the system.
Solving systems of Linear Differential Equations
General approach to solving systems of linear differential equations:
To find the homogeneous solution:
To find the homogeneous solution:
Alternatively you can apply Laplace transformations to the system to obtain a solution:
This actually works quite well to solve for xh and xp simultaneously. The challenge is working symbolically and obtaining both inverses and that may be prohibitive.
Partial Differential Equations
Partial differential equations are simply functions involving several variables and their partial derivatives. In practice they are much more difficult to solve.
All the principles of linearity, existence and uniqueness apply to PDEs.
Next Up
This series is concluded.