about summary refs log tree commit diff
path: root/doc/pages/demo/katex/index.xml
blob: e7ecb02464cfe4e9062958e78c0b382c5c338022 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<page xmlns="https://rub.parody">
<title>KaTeX demo</title>
<description>Math formulae to demo LaTeX to MathML rendering</description>
<date>2020-04-15</date>
<category>demo</category>
<category>math</category>
<markdown>
Given two discrete-time systems <m>A</m> and <m>B</m> connected in cascade
to form a new system <m>C = x \mapsto B(A(x))</m>, we examine
the following properties:

## Linearity

If <m>A</m> and <m>B</m> are linear,
i.e. for all signals <m>x_i</m> and scalars <m>a_i</m>,

<math>
\begin{aligned}
  A\left(n \mapsto \sum_i a_i x_i[n]\right) = n \mapsto \sum_i a_i A(x_i)[n]\\
  B\left(n \mapsto \sum_i a_i x_i[n]\right) = n \mapsto \sum_i a_i B(x_i)[n]
\end{aligned}
</math>

then <m>C</m> is also linear

<math><![CDATA[
\begin{aligned}
  C\left(n \mapsto \sum_i a_i x_i[n]\right)
  &= B\left(A\left(n \mapsto \sum_i a_i x_i[n]\right)\right)\\
  &= B\left(n \mapsto \sum_i a_i A(x_i)[n]\right)\\
  &= n \mapsto \sum_i a_i B(A(x_i))[n]\\
  &= n \mapsto \sum_i a_i C(x_i)[n]
\end{aligned}
]]></math>

## Time Invariance

If <m>A</m> and <m>B</m> are time invariant,
i.e. for all signals <m>x</m> and integers <m>k</m>,

<math><![CDATA[
\begin{aligned}
  A(n \mapsto x[n - k]) &= n \mapsto A(x)[n - k]\\
  B(n \mapsto x[n - k]) &= n \mapsto B(x)[n - k]
\end{aligned}
]]></math>

then <m>C</m> is also time invariant

<math><![CDATA[
\begin{aligned}
  C(n \mapsto x[n - k])
  &= B(A(n \mapsto x[n - k]))\\
  &= B(n \mapsto A(x)[n - k])\\
  &= n \mapsto B(A(x))[n - k]\\
  &= n \mapsto C(x)[n - k]
\end{aligned}
]]></math>

## LTI Ordering

If <m>A</m> and <m>B</m> are linear and time-invariant, there exists
signals <m>g</m> and <m>h</m> such that for all signals <m>x</m>,
<m>A = x \mapsto x * g</m> and <m>B = x \mapsto x * h</m>, thus 

<math>
B(A(x)) = B(x * g) = x * g * h = x * h * g = A(x * h) = A(B(x))
</math>

or interchanging <m>A</m> and <m>B</m> order does not change <m>C</m>.

## Causality

If <m>A</m> and <m>B</m> are causal,
i.e. for all signals <m>x</m>, <m>y</m> and any choise of integer <m>k</m>,

<math><![CDATA[
\begin{aligned}
  \forall n < k, x[n] = y[n]\quad
  \Longrightarrow &\;\begin{cases}
  \forall n < k, A(x)[n] = A(y)[n]\\
  \forall n < k, B(x)[n] = B(y)[n]
  \end{cases}\\
  \Longrightarrow &\;\forall n < k, B(A(x))[n] = B(A(y))[n]\\
  \Longleftrightarrow &\;\forall n < k, C(x)[n] = C(y)[n]
\end{aligned}
]]></math>

then <m>C</m> is also causal.

## BIBO Stability

If <m>A</m> and <m>B</m> are stable, i.e. there exists a signal <m>x</m>
and scalars <m>a</m> and <m>b</m> that for all integers <m>n</m>,

<math><![CDATA[
\begin{aligned}
  |x[n]| < a &\Longrightarrow |A(x)[n]| < b\\
  |x[n]| < a &\Longrightarrow |B(x)[n]| < b
\end{aligned}
]]></math>

then <m>C</m> is also stable, i.e. there exists a signal <m>x</m>
and scalars <m>a</m>, <m>b</m> and <m>c</m> that for all integers <m>n</m>,

<math><![CDATA[
\begin{aligned}
  |x[n]| < a\quad
  \Longrightarrow &\;|A(x)[n]| < b\\
  \Longrightarrow &\;|B(A(x))[n]| < c\\
  \Longleftrightarrow &\;|C(x)[n]| < c
\end{aligned}
]]></math>
</markdown>
</page>