Given unit impulse response, obtain differential equation

In summary, to obtain the differential equation from a given unit impulse response, one must analyze the impulse response function, which characterizes the system's output in response to an impulse input. By applying techniques such as Laplace transforms or using the relationship between the impulse response and the system’s transfer function, the differential equation can be derived by determining the corresponding time-domain representation that relates the input and output of the system. This involves identifying the order of the system and the coefficients corresponding to the differential terms.
  • #1
zenterix
708
84
Homework Statement
Find the linear time-invariant differential operator ##p(D)## having unit impulse response ##2u(t)##.
Relevant Equations
Note that ##u(t)## is the Heaviside unit step function.
I initially solved this problem in quite a roundabout way by thinking about a mass-spring-dashpot system modeled by

$$m\ddot{x}+b\dot{x}+kx=f(t)$$

Since the response is constant at ##x=0## and has a jump at ##t=0## to ##x=1##, my reasoning was that there can be no spring otherwise there would be a force at ##x=1## that would change ##x##.

Thus, ##k=0##.

A delta function ##\delta(t)## as input to an ##n##-th order differential equation generates a jump in the ##(n-1)##-th derivative function. This indicates that the equation we are looking for should be first order.

Besides, from the response we see there is no acceleration.

At this point then, we have

$$b\dot{x}=\delta(t)$$

which has constant solution

$$x(t)=\frac{1}{b}=2\implies b=\frac{1}{2}$$

That is, the differential equation ##\frac{1}{2}\dot{x}=\delta{t}## has unit impulse response ##2u(t)##.

This differential equation is ##p(D)x(t)=\delta(t)## where ##p(D)=\frac{1}{2}D##.

Then, later I found an easier way.

Since we have the response ##x(t)=2u(t)## all we have to do is differentiate

$$\dot{x}(t)=2\delta(t)$$

$$\frac{1}{2}\dot{x}(t)=\delta(t)$$

which is a differential equation.

My question is about solving this problem in the following way

This function has a jump in value, so the operator must be of first order.

##(aD+bI)(2u)=2a\delta(t)+2bu(t)##, so ##b=0## and ##a=\frac{1}{2}##.

Thus ##p(D)=\frac{1}{2}D##.

Why is it possible to infer ##b=0## and ##a=\frac{1}{2}## here?

PS This question is based on this problem set (with solutions). The snippet above is the solution presented by the problem set.
 
Physics news on Phys.org
  • #2
The object is to find [itex]a[/itex] and [itex]b[/itex], given [itex]\delta(t) = 2a\delta(t) + 2bu(t)[/itex].

Clearly [itex]a = \frac12[/itex] and [itex]b = 0[/itex] is a solution to this, but is it the only one? Yes, as we can easily show:

If [itex]\delta(t) = 2a\delta(t) + 2bu(t)[/itex] then for any [itex]f[/itex] we have [tex]\begin{split}
\int_{-1}^1 f(t)\delta(t)\,dt &= \int_{-1}^{1} (2a\delta(t) + 2bu(t))f(t)\,dt \\
f(0) &= 2af(0) + 2b\int_0^1 f(t)\,dt. \end{split}[/tex] Now this holds for every [itex]f[/itex], so in particular it holds for [itex]f(t) = \cos(2\pi t)[/itex], for which [itex]f(0) = 1[/itex] and [itex]\int_0^1 f(t)\,dt = 0[/itex]. Then [itex]1 = 2a[/itex] requires [itex]a = \frac12[/itex]. It must also hold for [itex]f(t) = t[/itex], yielding [itex]0 = b[/itex].
 
  • #3
Ok, so we start with ##x(t)=2u(t)##.

We try first order operator ##p(D)=(aD+bI)##

$$p(D)x(t)=(aD+bI)(2u(t))=2a\delta(t)+2bu(t)$$

and at this point we equate this to ##\delta(t)##. Why ##\delta(t)##?

What is the exact reason?

It seems that all this work is unnecessary in any case. Isn't it best to just differentiate ##x(t)##?
 
  • #4
Are you not trying to find [itex]p(D)[/itex] such that [itex]p(D)(2u(t)) = \delta(t)[/itex]?
 
  • #5
pasmith said:
Are you not trying to find [itex]p(D)[/itex] such that [itex]p(D)(2u(t)) = \delta(t)[/itex]?
The problem asks us to find ##p(D)## such that ##p(D)x(t)=\delta(t)## has solution ##2u(t)##.

You are right.

I overlooked the fact that the problem says find the LTI differential operator ##p(D)## having ##2u(t)## as unit impulse response.

Therefore, yes, we want to find ##p(D)## in ##p(D)x(t)=\delta (t)##.

I was thinking of the problem as find a differential equation ##p(D)x(t)=f(t)## such that ##x(t)=2u(t)## is the solution.

In the latter case, differentiating ##x(t)=2u(t)## leads to ##\dot{x}=2\delta(t)##.

We can think about the system in two ways:

1) ##p(D)=D## and ##f(t)=2\delta (t)##.

2) ##p(D)=\frac{D}{2}## and ##f(t)=\delta (t)##

In case 2) we have unit impulse.

In case 1), we have double the impulse.

Both cases are the same thing. I was just thinking about the fact that ##p(D)## represents a system and ##f(t)## the signal.

Even though the equation is essentially the same in both cases, it seems we can think about it in two different ways.
 
Last edited:
  • #6
The problem has been answered, but as for methodology: Transforms are your friend here!

For example, you have:
$$
P(D)[2u(t)] = \delta(t)
$$
Take the Fourier transform
$$
2 P(ik) \left[ \frac{1}{ik} + \pi \delta(k) \right] = 1
\qquad \Leftrightarrow \qquad
P(ik) = \frac{ik}{2}[1 - 2\pi P(0) \delta(k)] = \frac{ik}{2}.
$$
It's like magic! Do the substitution ##\xi = ik## to obtain ##P(\xi) = \xi/2## and therefore ##P(D) = D/2##.

This will work well also for more complicated impulse responses.
 
Last edited:
  • #7
How about if ##x(t)=u(t)t##?

Since ##\dot{x}(t)=u(t)## we have a jump discontinuity in the derivative.

We expect ##p(D)## to be second order so that a delta function causes such a jump.

$$p(D)=aD^2+bD+c\tag{1}$$

We're looking for the coefficients such that

$$p(D)x(t)=a\ddot{x}+b\dot{x}+cx=\delta(t)\tag{2}$$

is true for our given ##x(t)=u(t)t##.

For ##t>0## this means

$$a\ddot{x}+b\dot{x}+cx=0\tag{3}$$
$$\dot{x}(0^+)=\frac{1}{a}\tag{4}$$
$$x(0^+)=0\tag{5}$$

Subbing in ##\dot{x}(t)=u(t)##,

$$a\delta(t)+bu(t)+ctu(t)=0\tag{5}$$

$$b+ct=0$$

which must be true for all ##t## and thus ##b=c=0##.

From (4)

$$\dot{x}(0^+)=1=\frac{1}{a} \implies a=1$$

Thus, ##p(D)=D^2##.
 
  • #8
Then the fourier transform is
$$
P(ik)\left[\frac{1}{i^2k^2} - i\pi \delta’(k)\right] = 1
$$
so
$$
P(D) = D^2
$$
 

FAQ: Given unit impulse response, obtain differential equation

What is a unit impulse response?

A unit impulse response, often denoted as h(t), is the output of a system when the input is a Dirac delta function, δ(t). It characterizes the system's response and is fundamental in understanding the behavior of linear time-invariant (LTI) systems.

How do you use the unit impulse response to obtain the system's differential equation?

To obtain the differential equation from the unit impulse response, you typically start by expressing the impulse response as a solution to a homogeneous differential equation with unknown coefficients. By differentiating the impulse response and equating it to a linear combination of its derivatives, you can determine the coefficients and hence the differential equation.

What is the significance of the unit impulse response in system analysis?

The unit impulse response is significant because it provides a complete description of an LTI system's behavior. Any input signal can be decomposed into a series of impulse functions, and the system's response to any input can be determined by convolving the input with the unit impulse response.

Can you provide an example of deriving a differential equation from a given unit impulse response?

Sure. Suppose the unit impulse response is h(t) = e^(-2t)u(t), where u(t) is the unit step function. To find the differential equation, assume a solution of the form y(t) = e^(-2t). Differentiating y(t) gives dy/dt = -2e^(-2t). Therefore, the differential equation is dy/dt + 2y = 0.

What are the limitations of using the unit impulse response to find the differential equation?

One limitation is that the unit impulse response must be well-defined and known for the system. Additionally, the method assumes the system is linear and time-invariant. For non-linear or time-varying systems, the unit impulse response does not provide a straightforward path to the differential equation.

Back
Top