# Difference between revisions of "FAQ: In the displayed equation after equation (8.3), how can you set x(0), a constant, to a function of s?"

Line 1: | Line 1: | ||

{{FAQ page | {{FAQ page | ||

− | | chapter = | + | | chapter = Transfer Functions |

| contributor = Richard Murray | | contributor = Richard Murray | ||

− | | date = | + | | date = 10 September 2012 |

| answer = | | answer = | ||

− | + | In the derivation of the exponential response of a linear system, equation (8.3) gives the following expression for <amsmath>y(t)</amsmath>: | |

+ | <center><amsmath> | ||

+ | y(t) = Ce^{At} \Bigl( x(0)-(sI-A)^{-1} B \Bigr) + \Bigl( C (sI-A)^{-1} B + D \Bigr) e^{st}. | ||

+ | </amsmath></center> | ||

+ | To obtain the pure exponential response (the right hand term), the text states that we should choose the initial state as | ||

+ | <center><amsmath> | ||

+ | x(0) = (s I - A)^{-1} B, | ||

+ | </amsmath></center> | ||

+ | Since we are used to thinking of <amsmath>s</amsmath> as the argument for a transfer function, it may seem confusing to set <amsmath>x(0)</amsmath> to a non-constant value. | ||

+ | |||

+ | However, in this derivation we are considering the response of a linear system to a fixed input of the form <amsmath>u = e^{st}</amsmath> where <amsmath>s</amsmath> is a ''constant'' of the form <amsmath>s = \sigma + i \omega</amsmath>. Setting <amsmath>x(0)</amsmath> to the value given above thus result in the first term in the exponential response being zero. Note that this value only works for this ''specific'' choice of <amsmath>s</amsmath>; a different value must be chosen for different exponential inputs. | ||

+ | |||

+ | Also note that <amsmath>x(0)</amsmath> is complex-valued in this expression. This is OK because in practice we will always add together combinations of signals that result in real-valued expressions. See [[FAQ: Why is the exponential response complex valued? Shouldn't the inputs and outputs of a linear system always be real-valued?]] | ||

}} | }} |

## Latest revision as of 18:17, 10 September 2012

(Contributed by Richard Murray, 10 September 2012)

In the derivation of the exponential response of a linear system, equation (8.3) gives the following expression for :

To obtain the pure exponential response (the right hand term), the text states that we should choose the initial state as

Since we are used to thinking of as the argument for a transfer function, it may seem confusing to set to a non-constant value.

However, in this derivation we are considering the response of a linear system to a fixed input of the form where is a *constant* of the form . Setting to the value given above thus result in the first term in the exponential response being zero. Note that this value only works for this *specific* choice of ; a different value must be chosen for different exponential inputs.

Also note that is complex-valued in this expression. This is OK because in practice we will always add together combinations of signals that result in real-valued expressions. See FAQ: Why is the exponential response complex valued? Shouldn't the inputs and outputs of a linear system always be real-valued?