Exponential response formula
Differential equations |
---|
Classification |
Solution |
In mathematics, the exponential response formula (ERF), also known as exponential response and complex replacement, is a method used to find a particular solution of a non-homogeneous linear ordinary differential equation of any order.[1][2] The exponential response formula is applicable to non-homogeneous linear ordinary differential equations with constant coefficients if the function is polynomial, sinusoidal, exponential or the combination of the three.[2] The general solution of a non-homogeneous linear ordinary differential equation is a superposition of the general solution of the associated homogeneous ODE and a particular solution to the non-homogeneous ODE.[1] Alternative methods for solving ordinary differential equations of higher order are method of undetermined coefficients and method of variation of parameters.
Context and method
Applicability
The ERF method of finding a particular solution of a non-homogeneous differential equation is applicable if the non-homogeneous equation is or could be transformed to form [math]\displaystyle{ f(t)=B_1e^{\gamma_1 t}+B_2e^{\gamma_2 t} + \cdots + B_n e^{\gamma_n t} }[/math]; where [math]\displaystyle{ B, \gamma }[/math] are real or complex numbers and [math]\displaystyle{ f(t) }[/math] is homogeneous linear differential equation of any order. Then, the exponential response formula can be applied to each term of the right side of such equation. Due to linearity, the exponential response formula can be applied as long as the right side has terms, which are added together by the superposition principle.
Complex replacement
Complex replacement is a method of converting a non-homogeneous term of equation into a complex exponential function, which makes a given differential equation a complex exponential.
Consider differential equation [math]\displaystyle{ y''+ y = \cos(t) }[/math].
To make complex replacement, Euler's formula can be used;
- [math]\displaystyle{ \begin{align} \cos(t) &= \operatorname{Re}(e^{i t}) = \operatorname{Re}(\cos(t)+i \sin(t)) \\ \sin(t) &= \operatorname{Im}(e^{i t}) = \operatorname{Im}(\cos(t)+i \sin(t)) \end{align} }[/math]
Therefore, given differential equation changes to [math]\displaystyle{ z''+ z = e^{it} }[/math]. The solution of the complex differential equation can be found as [math]\displaystyle{ z(t) }[/math], from which the real part is the solution of the original equation.
Complex replacement is used for solving differential equations when the non-homogeneous term is expressed in terms of a sinusoidal function or an exponential function, which can be converted into a complex exponential function differentiation and integration. Such complex exponential function is easier to manipulate than the original function.
When the non-homogeneous term is expressed as an exponential function, the ERF method or the undetermined coefficients method can be used to find a particular solution. If non-homogeneous terms can not be transformed to complex exponential function, then the Lagrange method of variation of parameters can be used to find solutions.
Linear time-invariant operator
The differential equations are important in simulating natural phenomena. In particular, there are numerous phenomena described as high order linear differential equations, for example the spring vibration, LRC circuit, beam deflection, signal processing, control theory and LTI systems with feedback loops.[1] [3]
Mathematically, the system is time-invariant if whenever the input [math]\displaystyle{ f(t) }[/math] has response [math]\displaystyle{ x(t) }[/math] then for any constant "a", the input [math]\displaystyle{ f(t - a) }[/math] has response [math]\displaystyle{ x(t - a) }[/math]. Physically, time invariance means system’s response does not depend on what time the input begins. For example, if a spring-mass system is at equilibrium, it will respond to a given force in the same way, no matter when the force was applied.
When the time-invariant system is also linear, it is called a linear time-invariant system (LTI system). Most of these LTI systems are derived from linear differential equations, where the non-homogeneous term is called the input signal and solution of the non-homogeneous equations is called the response signal. If the input signal is given exponentially, the corresponding response signal also changes exponentially.
Considering the following [math]\displaystyle{ n }[/math]th order linear differential equation
- [math]\displaystyle{ a_n \frac{d^n y}{dt^n}+a_{n-1}\frac{d^{n-1}y}{dt^{n-1}}+ \cdots +a_1 \frac{dy}{dt}+a_0 y = f(t) \qquad \qquad \quad (1) }[/math]
and denoting
- [math]\displaystyle{ L = a_n D^n+a_{n-1}D^{n-1}+ \cdots +a_1 D^1 +a_0 I, }[/math]
- [math]\displaystyle{ D^k = \frac{d^k}{dt^k} (k =1,2,\ldots,n), }[/math]
where [math]\displaystyle{ a_0,\ldots,a_n }[/math] are the constant coefficients, produces differential operator [math]\displaystyle{ L }[/math], which is linear and time-invariant and known as the LTI operator. The operator, [math]\displaystyle{ L }[/math] is obtained from its characteristic polynomial;
- [math]\displaystyle{ P(s)=a_n s^n+a_{n-1}s^{n-1}+\cdots+a_0 }[/math]
by formally replacing the indeterminate s here with the differentiation operator [math]\displaystyle{ D }[/math]
- [math]\displaystyle{ L=P(D) }[/math]
- [math]\displaystyle{ P(D) = a_n D^n+a_{n-1}D^{n-1}+\cdots+a_0 I }[/math]
Therefore, the equation (1) can be written as
- [math]\displaystyle{ P(D)y=f(t) \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad (2) }[/math]
Problem setting and ERF method
Considering LTI differential equation above, with exponential input [math]\displaystyle{ f(t) = Be^{\gamma t} }[/math], where [math]\displaystyle{ B }[/math] and [math]\displaystyle{ \gamma }[/math] are given numbers. Then, a particular solution is
[math]\displaystyle{ y_p = \frac{B e^{\gamma t}}{P(\gamma)} \qquad }[/math]
provide only that [math]\displaystyle{ P(\gamma)\neq 0 }[/math].
Proof: Due to linearity of operator [math]\displaystyle{ P(D) }[/math], the equation can be written as
- [math]\displaystyle{ P(D)(y_p)= P(D)\left( \frac{B e^{\gamma t}}{P(\gamma)}\right)=\frac{B}{P(\gamma)} P(D)(e^{\gamma t}) \qquad \qquad (3) }[/math]
On the other hand, since
- [math]\displaystyle{ P(D) \left (e^{\gamma t} \right ) = P(\gamma) e^{\gamma t}, }[/math]
substituting this into equation (3), produces
- [math]\displaystyle{ P(D)(y_p)= P(D) \left( \frac{B e^{\gamma t}}{P(\gamma)}\right)=\frac{B}{P(\gamma)} P(D) \left(e^{\gamma t} \right) = \frac{B}{P(\gamma)} P(\gamma) e^{\gamma t} = B e^{\gamma t}. }[/math]
Therefore, [math]\displaystyle{ y_p }[/math] is a particular solution to the non-homogeneous differential equation.
Thus, the above equation for a particular response [math]\displaystyle{ y_p }[/math] is called the exponential response formula (ERF) for the given exponential input.
In particular, in case of [math]\displaystyle{ P(\gamma) = 0 }[/math], a solution to equation (2) is given by
- [math]\displaystyle{ y_p = \frac{Bte^{\gamma t}}{P'(\gamma)}, \qquad P'(\gamma) \neq 0 }[/math]
and is called the resonant response formula.
Example
Let's find the particular solution to 2nd order linear non-homogeneous ODE;
- [math]\displaystyle{ 2x''+x'+x = 1 + 2e^t + e^{-t}\cos(t). }[/math]
The characteristic polynomial is [math]\displaystyle{ P(s) = 2s^2+s+1 }[/math]. Also, the non-homogeneous term, [math]\displaystyle{ f(t) = 1+2e^t+e^{-t}\cos(t) }[/math] can be written as follows
- [math]\displaystyle{ f(t) = f_1(t)+f_2(t)+f_3(t), f_1(t) = 1, f_2(t) = 2e^t, f_3(t)=e^{-t}\cos(t). }[/math]
Then, the particular solutions corresponding to [math]\displaystyle{ f_1(t), f_2(t) }[/math] and [math]\displaystyle{ f_3(t) }[/math], are found, respectively.
First, considering non-homogeneous term, [math]\displaystyle{ f_1(t)=1 }[/math]. In this case, since [math]\displaystyle{ f_1(t)=1=e^{0 \cdot t}, \gamma = 0 }[/math] and [math]\displaystyle{ P(\gamma) = P(0) = 1 \neq 0 }[/math].
from the ERF, a particular solution corresponding to [math]\displaystyle{ f_1(t) }[/math] can be found.
- [math]\displaystyle{ x_{1p} = \frac{f_1(t)}{P(0)} = \frac{1}{1} = 1 }[/math].
Similarly, a particular solution can be found corresponding to [math]\displaystyle{ f_2(t) }[/math].
- [math]\displaystyle{ x_{2p} = \frac{f_2(t)}{P(1)} = \frac{2e^t}{4} = \frac{e^t}{2}. }[/math]
Let's find a particular solution to DE corresponding to 3rd term;
- [math]\displaystyle{ 2x''+x'+x = e^{-t}\cos(t). }[/math]
In order to do this, equation must be replaced by complex-valued equation, of which it is the real part:
- [math]\displaystyle{ 2z''+z'+z = e^{(-1+i)t}. }[/math]
Applying the exponential response formula (ERF), produces
- [math]\displaystyle{ \begin{align} z_p &= \frac{e^{(-1+i)t}}{P(-1+i)} \\ &=\frac{ie^{(-1+i)t}}{3} && P(-1+i)=2(-1+i)^2+(-1+i)+1=-3i \end{align} }[/math]
and the real part is
- [math]\displaystyle{ x_{3p}=-\frac{1}{3}e^{-t}\sin(t). }[/math]
Therefore, the particular solution of given equation, [math]\displaystyle{ x_p }[/math] is
- [math]\displaystyle{ x_p=x_{1p}+x_{2p}+x_{3p}=1+\frac{e^t}{2}-\frac{1}{3}e^{-t}\sin(t). }[/math]
Comparison with method of undetermined coefficients
The undetermined coefficients method is a method of appropriately selecting a solution type according to the form of the non-homogeneous term and determining the undetermined constant, so that it satisfies the non-homogeneous equation.[4] On the other hand, the ERF method obtains a special solution based on differential operator.[2] Similarity for both methods is that special solutions of non-homogeneous linear differential equations with constant coefficients are obtained, while form of the equation in consideration is the same in both methods.
For example, finding a particular solution of [math]\displaystyle{ y''+y=e^t }[/math] with the method of undetermined coefficients requires solving the characteristic equation [math]\displaystyle{ \lambda^2 + 1=0, \lambda = \pm i }[/math]. The non-homogeneous term [math]\displaystyle{ f(t)=Be^{\gamma t}, B=1, \gamma = 1 }[/math] is then considered and since [math]\displaystyle{ \gamma =1 }[/math] is not a characteristic root, it puts a particular solution in form of [math]\displaystyle{ y_p(t) = Ae^{\gamma t} }[/math], where [math]\displaystyle{ A }[/math] is undetermined constant. Substituting into the equation to determine the tentative constant yields
- [math]\displaystyle{ \lambda^2 A e^{\lambda t}+Ae^{\lambda t} = e^{\lambda t} }[/math]
therefore
- [math]\displaystyle{ A = \frac{1}{\lambda^2+1}. }[/math]
The particular solution can be found in form:[5]
- [math]\displaystyle{ y_p(t) = Ae^{\lambda t} = \frac{e^{\lambda t}}{\lambda^2+1}. }[/math]
On the other hand, the exponential response formula method requires characteristic polynomial [math]\displaystyle{ P(s)=s^2+1 }[/math] to be found, after which the non-homogeneous terms [math]\displaystyle{ f(t)=Be^{\gamma t}, B=1, \gamma = 1 }[/math] is complex replaced. The particular solution is then found using formula
- [math]\displaystyle{ y_p(t) = \frac{e^{\lambda t}}{P(\lambda)}= \frac{e^{\lambda t}}{\lambda^2+1}. }[/math]
Generalized exponential response formula
The exponential response formula method was discussed in case of [math]\displaystyle{ P(\gamma ) \neq 0 }[/math]. In the case of [math]\displaystyle{ P(\gamma ) = 0, P'(\gamma ) \neq 0 }[/math], the resonant response formula is also considered.
In the case of [math]\displaystyle{ P(\gamma)=P'(\gamma)=\cdots=P^{(k-1)}(\gamma)=0, P^k(\gamma)\neq 0 }[/math], we will discuss how the ERF method will be described in this section.
Let [math]\displaystyle{ P(D) }[/math] be a polynomial operator with constant coefficients, and [math]\displaystyle{ P^{(m)} }[/math] its [math]\displaystyle{ m }[/math]-th derivative. Then ODE
- [math]\displaystyle{ P(D)y = Be^{\gamma t} }[/math], where [math]\displaystyle{ \gamma }[/math] is real or complex.
has the particular solution as following.
- [math]\displaystyle{ P(\gamma)\neq 0 }[/math]. In this case, a particular solution will be given by [math]\displaystyle{ y_p(t)=\tfrac{Be^{\gamma t}}{P(\gamma)} }[/math].(exponent response formula)
- [math]\displaystyle{ P(\gamma)=0 }[/math] but [math]\displaystyle{ P'(\gamma)\neq 0 }[/math]. In this case, a particular solution will be given by [math]\displaystyle{ y_p(t) =\tfrac{Bte^{\gamma t}}{P'(\gamma)} }[/math].(resonant response formula)
- [math]\displaystyle{ P(\gamma)=P'(\gamma)=\cdots=P^{(k-1)}(\gamma)=0 }[/math] but [math]\displaystyle{ P^k(\gamma)\neq 0 }[/math]. In this case, a particular solution will be given by
[math]\displaystyle{ y_p(t)=\frac{Bt^k e^{\gamma t}}{P^{(k)}(\gamma)}, k=2,\ldots,m }[/math]
Above equation is called generalized exponential response formula.
Example
To find a particular solution of the following ODE;
- [math]\displaystyle{ y'''-3y'+2y = 6e^t. }[/math]
the characteristic polynomial is [math]\displaystyle{ P(s) = s^3-3s+2 }[/math].
By the calculating, we get the following:
- [math]\displaystyle{ P(1)=0,P'(1)=0, P''(1)=6 \neq 0. }[/math]
Original exponential response formula is not applicable to this case due to division by zero. Therefore, using the generalized exponential response formula and calculated constants, particular solution is
- [math]\displaystyle{ y_p(t)=\frac{6t^2 e^t}{P''(1)}=\frac{6t^2 e^t}6 = t^2 e^t. }[/math]
Application examples
Motion of object hanging from a spring
Object hanging from a spring with displacement [math]\displaystyle{ d }[/math]. The force acting is gravity, spring force, air resistance, and any other external forces.
From Hooke’s law, the motion equation of object is expressed as follows;[6][4]
- [math]\displaystyle{ m \frac{d^2 x}{dt^2}+r\frac{dx}{dt}+kx = F(t), }[/math]
where [math]\displaystyle{ F(t) }[/math] is external force.
Now, assuming drag is neglected and [math]\displaystyle{ F(t) = F_0\cos(\omega t) }[/math], where [math]\displaystyle{ \omega =\sqrt{\tfrac{k}{m}} }[/math] (the external force frequency coincides with the natural frequency). Therefore, the harmonic oscillator with sinusoidal forcing term is expressed as following:
- [math]\displaystyle{ m \frac{d^2 x}{dt^2}+kx = F(t). }[/math]
Then, a particular solution is
- [math]\displaystyle{ x_p = \frac{F_0}{2\sqrt{km}}t\sin(\omega t). }[/math]
Applying complex replacement and the ERF: if [math]\displaystyle{ z_p }[/math] is a solution to the complex DE
- [math]\displaystyle{ m \frac{d^2 z}{dt^2}+kz = F_0 e^{i\omega t}, }[/math]
then [math]\displaystyle{ x_p=\operatorname{Re}(z_p) }[/math] will be a solution to the given DE.
The characteristic polynomial is [math]\displaystyle{ P(s) = m s^2+k }[/math], and [math]\displaystyle{ \gamma = i\omega }[/math], so that [math]\displaystyle{ P(\gamma) = 0 }[/math]. However, since [math]\displaystyle{ P'(s) = 2ms }[/math], then [math]\displaystyle{ P'(\gamma)=P'(i\omega)=2m\omega i \neq 0 }[/math]. Thus, the resonant case of the ERF gives
- [math]\displaystyle{ \begin{align} y_p & = \operatorname{Re}\left( \frac{F_0 te^{i\omega t}}{P'(\gamma)}\right) \\[4pt] &= \operatorname{Re}\left( \frac{F_0 t(\cos(\omega t)+i\sin(\omega t))}{2mi\omega}\right) \\[4pt] & = \operatorname{Re}\left( \frac{-F_0 t(i\cos(\omega t)-\sin(\omega t))}{2m\omega}\right) \\[4pt] & = \frac{F_0 t \sin(\omega t)}{2m\omega} \\[4pt] &=\frac{F_0}{2\sqrt{km}}t\sin(\omega t). \end{align} }[/math]
Electrical circuits
Considering the electric current flowing through an electric circuit, consisting of a resistance ([math]\displaystyle{ R }[/math]), a capacitor ([math]\displaystyle{ C }[/math]), a coil wires ([math]\displaystyle{ L }[/math]), and a battery ([math]\displaystyle{ E }[/math]), connected in series. [3][6]
This system is described by an integral-differential equation found by Kirchhoff called Kirchhoff’s voltage law, relating the resistor [math]\displaystyle{ R }[/math], capacitor [math]\displaystyle{ C }[/math], inductor [math]\displaystyle{ L }[/math], battery [math]\displaystyle{ E }[/math], and the current [math]\displaystyle{ I }[/math] in a circuit as follows,
- [math]\displaystyle{ LI'(t)+RI(t)+\frac 1 C \int_{t_0}^t I(s) \, ds = \int_{t_0}^t E(s)\,ds }[/math]
Differentiating both sides of the above equation, produces the following ODE.
- [math]\displaystyle{ LI''(t)+RI'(t)+\frac{1}{C} I(t) = E(t) }[/math]
Now, assuming [math]\displaystyle{ E(t)=E_0\sin(\omega_0 t) }[/math], where [math]\displaystyle{ \omega_0=\sqrt{\tfrac{1}{LC}} }[/math]. ([math]\displaystyle{ \omega_0 }[/math] is called resonance frequency in LRC circuit). Under above assumption, the output (particular solution) corresponding to input [math]\displaystyle{ E(t) }[/math] can be found. In order to do it, given input can be converted in complex form:
- [math]\displaystyle{ E(t)=E_0 \sin(\omega_0 t) = \operatorname{Im}(E_0 e^{i \omega_0 t}) }[/math]
The characteristic polynomial is [math]\displaystyle{ P(s) = Ls^2+Rs+\frac{1}{s} }[/math], where [math]\displaystyle{ P(i\omega_0)=i\omega_0 R\neq 0 }[/math]. Therefore, from the ERF, a particular solution can be obtained as follows;
- [math]\displaystyle{ \begin{align} I_p & = \operatorname{Im} \left( \frac{E_0 e^{i\omega_0 t}}{P(i\omega_0)} \right) \\ &= \operatorname{Im} \left( \frac{E_0 e^{i\omega_0 t}}{i\omega_0 R} \right) \\ &= \operatorname{Im} \left( \frac{-E_0(i\cos(\omega_0 t)-\sin(\omega_0 t))}{\omega_0 R} \right) \\[4pt] & = \frac{-E_0 \cos(\omega_0 t)}{\omega_0 R} \end{align} }[/math]
Complex gain and phase lag
Considering the general LTI system
- [math]\displaystyle{ P(D)x = Q(D)f(t) }[/math]
where [math]\displaystyle{ f(t) }[/math] is the input and [math]\displaystyle{ P(D), Q(D) }[/math] are given polynomial operators, while assuming that [math]\displaystyle{ P(s)\neq 0 }[/math]. In case that [math]\displaystyle{ f(r) = F_0\cos(\omega t) }[/math], a particular solution to given equation is
- [math]\displaystyle{ x_p(t) = \operatorname{Re}\left ( F_0 \frac{Q(i\omega)}{P(i\omega)}e^{i\omega t}\right). }[/math]
Considering the following concepts used in physics and signal processing mainly.
- The amplitude of the input is [math]\displaystyle{ F_0 }[/math]. This has the same units as the input quantity.
- The angular frequency of the input is [math]\displaystyle{ \omega }[/math]. It has units of radians/time. Often it will be referred to it as frequency, even though technically frequency should have units of cycles/time.
- The amplitude of the response is [math]\displaystyle{ A = F_0|Q(i\omega)/P(i\omega)| }[/math]. This has the same units as the response quantity.
- The gain is [math]\displaystyle{ g(\omega) = |Q(i\omega)/P (i\omega)| }[/math]. The gain is the factor that the input amplitude is multiplied by to get the amplitude of the response. It has the units needed to convert input units to output units.
- The phase lag is [math]\displaystyle{ \phi = -\operatorname{Arg}(Q(i\omega)/P(i\omega)) }[/math]. The phase lag has units of radians, i.e. it’s dimensionless.
- The time lag is [math]\displaystyle{ \phi/ \omega }[/math]. This has units of time. It is the time that peak of the output lags behind that of the input.
- The complex gain is [math]\displaystyle{ Q(i\omega)/P(i\omega) }[/math]. This is the factor that the complex input is multiplied by to get the complex output.
References
- ↑ 1.0 1.1 1.2 Miller, Haynes; Mattuck, Arthur (June 2004), Differential Equations, IMSCP-MD5-9ca77abee86dc4bbaef9e2d6b157eaa9, pp. 50–56
- ↑ 2.0 2.1 2.2 Wirkus, Stephen A.; Swift, Randal J.; Szypowski, Ryan S. (2016), A Course in Differential Equations with Boundary Value Problems, Second Edition, Textbooks in Mathematics (2nd ed.), Chapman and Hall/CRC, pp. 230–238, ISBN 978-1498736053
- ↑ 3.0 3.1 Charles L, Phillips (2007), Signals, Systems, And Transforms, Prentice Hall, pp. 112–122, ISBN 978-0-13-198923-8
- ↑ 4.0 4.1 Coddington, Earl A.; Carlson, Robert (1997), Linear Ordinary Differential Equations, pp. 3–80, ISBN 0-89871-388-9, http://gibbs.if.usp.br/~marchett/fismat2/linear-ode_coddington-carlson.pdf
- ↑ Ralph P. Grimaldi (2000). "Nonhomogeneous Recurrence Relations". Section 3.3.3 of Handbook of Discrete and Combinatorial Mathematics. Kenneth H. Rosen, ed. CRC Press. ISBN 0-8493-0149-1.
- ↑ 6.0 6.1 Edwards, C. Henry; Penney, David E. (2008), ELEMENTARY DIFFERENTIAL EQUATIONS, Pearson Prentice Hall, pp. 100–193, ISBN 978-0-13-239730-8
External links
- Operators and the exponential response formula
- Generalized exponential response formula
- Basics of LTI operators and ERF[yes|permanent dead link|dead link}}]
Original source: https://en.wikipedia.org/wiki/Exponential response formula.
Read more |