-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
calculus.bigb
2207 lines (1551 loc) · 74.6 KB
/
calculus.bigb
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
= Calculus
{wiki}
Well summarized as "the branch of mathematics that deals with <limit (mathematics)>[limits]".
= Mathematical analysis
{parent=Calculus}
{wiki}
= Analytical
{synonym}
A fancy name for <calculus>, with the "more advanced" connotation.
= Limit
{disambiguate=mathematics}
{parent=Calculus}
{wiki}
= Limit
{synonym}
The fundamental concept of <calculus>!
The reason why the epsilon delta definition is so venerated is that it fits directly into well known methods of the <formalization of mathematics>, making the notion completely precise.
= Convergent series
{parent=Limit (mathematics)}
{wiki}
= Convergence
{disambiguate=mathematics}
{synonym}
= Converges
{disambiguate=mathematics}
{synonym}
= Convergent
{disambiguate=mathematics}
{synonym}
= Continuous function
{parent=Limit (mathematics)}
{wiki}
= Continuity
{synonym}
= Continuous
{synonym}
= Continuous problems are simpler than discrete ones
{parent=Continuous function}
This is a general philosophy that <Ciro Santilli>, and likely others, observes over and over.
Basically, <continuity>, or higher order conditions like <differentiability> seem to impose greater constraints on problems, which make them more solvable.
Some good examples of that:
* complex <discrete> problems:
* <classification of finite groups>
* simple <continuous> problems:
* characterization of <Lie groups>
= Discrete
{parent=Continuous function}
Something that is very not <continuous>.
Notably studied in <discrete mathematics>.
= Discretization
{parent=Discrete}
{wiki}
= Discretize
{synonym}
= Infinity
{parent=Limit (mathematics)}
{title2=$\infty$}
{wiki}
= Infinite
{synonym}
\Q[Chuck Norris counted to infinity. Twice.]
= Finite
{synonym}
There are a few related concepts that are called infinity in <mathematics>:
* <limits> that are greater than any number
* the <cardinality> of a <set> that does not have a finite number of elements
* in some number systems, there is an explicit "element at infinity" that is not a <limit>, e.g. <projective geometry>
= L'Hôpital's rule
{parent=Limit (mathematics)}
{title2=limit of a ratio}
{wiki}
= Derivative
{parent=Calculus}
{wiki}
The derivative of a function gives its slope at a point.
More precisely, it give sthe inclination of a tangent line that passes through that point.
\Image[https://web.archive.org/web/20240417202558if_/https://upload.wikimedia.org/wikipedia/commons/0/0f/Tangent_to_a_curve.svg]
{source=https://en.wikipedia.org/wiki/File:Tangent_to_a_curve.svg}
= Chain rule
{parent=Derivative}
{wiki}
Here's an example of the chain rule. Suppose we want to calculate:
$$
\dv{}{x} e^{2x}
$$
So we have:
$$
f(x) = e^x \\
g(x) = 2x
$$
and so:
$$
f'(x) = e^x \\
g'(x) = 2
$$
Therefore the final result is:
$$
f'(g(x))g'(x) = e^{2x} 2 = 2 e ^{2x}
$$
= Multivariable chain rule
{parent=Chain rule}
= Differentiable function
{parent=Derivative}
{wiki}
= Differentiable
{synonym}
= Differentiability
{synonym}
= Smoothness
{parent=Differentiable function}
{wiki}
= Infinitely differentiable function
{parent=Differentiable function}
= $C^{\infty}$
{synonym}
{title2}
= Bump function
{parent=Infinitely differentiable function}
{wiki}
= Flat top bump function
{parent=Bump function}
https://math.stackexchange.com/questions/1786964/is-it-possible-to-construct-a-smooth-flat-top-bump-function
= Maxima and minima
{parent=Derivative}
{wiki}
Given a <function> $f$:
* from some space. For beginners the <real numbers> but more generally <topological spaces> should work in general
* to the <real numbers>
we want to find the points $x$ of the <domain (function)> of $f$ where the value of $f$ is smaller (for minima, or larger for maxima) than all other points in some <neighbourhood (mathematics)> of $x$.
In the case of <Functionals>, this problem is treated under the theory of the <calculus of variations>.
= Lifegard problem
{parent=Maxima and minima}
https://pumphandle.consulting/2020/09/04/the-lifeguard-problem-solved/
= Derivative test
{parent=Maxima and minima}
{wiki}
= Saddle point
{parent=Maxima and minima}
{wiki}
= Newton dot notation
{c}
{parent=Derivative}
= Partial derivative
{parent=Derivative}
{wiki}
= Partial derivative notation
{parent=Partial derivative}
= Partial derivative symbol
{parent=Partial derivative notation}
{tag=Mathematical symbol that looks like a Greek letter but isn't}
{title2=$\partial$}
Nope, it is not a <Greek letter>, notably it is not a lowercase <delta>. It is just some random made up symbol that looks like a <letter D>. Which is of course derived from <delta>, which is why it is all so damn confusing.
I think the symbol is usually just read as "<D>" as in "d f d x" for $\pdv{F(x, y, z)}{x}$.
= Partial label partial derivative notation
{parent=Partial derivative notation}
{title2=$\partial_x F$}
{title2=$\partial_y F$}
= Partial index partial derivative notation
{parent=Partial derivative notation}
{title2=$\partial_0 F$}
{title2=$\partial_1 F$}
This notation is not so common in basic mathematics, but it is so incredibly convenient, especially with <Einstein notation> as shown at <einstein notation for partial derivatives>{full}:
$$
\partial_0 F(x, y, z) = \pdv{F(x, y, z)}{x} \\
\partial_1 F(x, y, z) = \pdv{F(x, y, z)}{y} \\
\partial_2 F(x, y, z) = \pdv{F(x, y, z)}{x} \\
$$
This notation is similar to <partial label partial derivative notation>, but it uses indices instead of labels such as $x$, $y$, etc.
= Total derivative
{parent=Derivative}
{wiki}
The total derivative of a function assigns for every point of the domain a linear map with same domain, which is the best linear approximation to the function value around this point, i.e. the tangent plane.
E.g. in 1D:
$$
Total derivative = D[f(x_0)](x) = f(x_0) + \pdv{f}{x}(x_0) \times x
$$
and in 2D:
$$
D[f(x_0, y_0)](x, y) = f(x_0, y_0) + \pdv{f}{x}(x_0, y_0) \times x + \pdv{f}{y}(x_0, y_0) \times y
$$
= Directional derivative
{c}
{parent=Derivative}
{wiki}
= Integral
{parent=Calculus}
{wiki}
= Area
{parent=Integral}
{wiki}
= Volume
{parent=Area}
{wiki}
<3D> <area>.
= Riemann integral
{c}
{parent=Integral}
{wiki}
The easy and less generic <integral>. The harder one is the <Lebesgue integral>.
= Lebesgue integral
{c}
{parent=Integral}
{wiki=Lebesgue_integration}
"More complex and general" integral. Matches the <Riemann integral> for "simple functions", but also <Lebesgue integral vs Riemann integral>[works for some "funkier" functions that Riemann does not work for].
<Ciro Santilli> sometimes wonders how much someone can gain from learning this besides <the beauty of mathematics>, since we can hand-wave a <Lebesgue integral> on almost anything that is of practical use. The beauty is good reason enough though.
= Lebesgue integral vs Riemann integral
{c}
{parent=Lebesgue integral}
Advantages over Riemann:
* <Lebesgue integral of \LP is complete but Riemann isn't>.
* https://youtu.be/PGPZ0P1PJfw?t=710 you are able to switch the order of integrals and limits of function sequences on non-uniform convergence. TODO why do we care? This is linked to the <Fourier series> of course, but concrete example?
\Video[https://youtube.com/watch?v=PGPZ0P1PJfw]
{title=Riemann integral vs. Lebesgue integral by The Bright Side Of Mathematics (2018)}
{description=
https://youtube.com/watch?v=PGPZ0P1PJfw&t=808 shows how Lebesgue can be visualized as a partition of the function range instead of domain, and then you just have to be able to measure the size of pre-images.
One advantage of that is that the range is always one dimensional.
But the main advantage is that having infinitely many discontinuities does not matter.
Infinitely many discontinuities can make the Riemann partitioning diverge.
But in Lebesgue, you are instead measuring the size of preimage, and to fit infinitely many discontinuities in a finite domain, the size of this preimage is going to be zero.
So then the question becomes more of "how to define the measure of a subset of the domain".
Which is why we then fall into <measure theory>!
}
= Real world applications of the Lebesgue integral
{parent=Lebesgue integral vs Riemann integral}
In "practice" it is likely "useless", because the functions that it can integrate that Riemann can't are just too funky to appear in practice :-)
Its value is much more indirect and subtle, as in "it serves as a solid basis of <quantum mechanics>" due to the definition of <Hilbert spaces>.
Bibliography:
* https://math.stackexchange.com/questions/53121/how-do-people-apply-the-lebesgue-integration-theory
* https://www.quora.com/What-are-some-real-life-applications-of-Lebesgue-Integration
= Lebesgue measurable
{c}
{parent=Lebesgue integral}
= Lebesgue integral of $\LP$ is complete but Riemann isn't
{c}
{parent=Lebesgue integral}
$\LP$ is:
* <complete metric space>[complete] under the Lebesgue integral, this result is may be called the <Riesz-Fischer theorem>
* not complete under the <Riemann integral>: https://math.stackexchange.com/questions/397369/space-of-riemann-integrable-functions-not-complete
And then this is why <quantum mechanics> basically lives in <l2>: not being complete makes no sense physically, it would mean that you can get closer and closer to states that don't exist!
TODO intuition
= Riesz-Fischer theorem
{c}
{parent=Lebesgue integral of LP is complete but Riemann isn't}
{wiki=Riesz–Fischer_theorem}
A measurable function defined on a closed interval is square integrable (and therefore in <l2>) if and only if <Fourier series> converges in <l2> norm the function:
$$
\lim_{N \to \infty} \left \Vert S_N f - f \right \|_2 = 0
$$
= $\LP$ is complete
{parent=Riesz-Fischer theorem}
TODO
= Fourier basis is complete for $\LTwo$
{id=fourier-basis-is-complete-for-l2}
{c}
{parent=Riesz-Fischer theorem}
https://math.stackexchange.com/questions/316235/proving-that-the-fourier-basis-is-complete-for-cr-2-pi-c-with-l2-norm
<Riesz-Fischer theorem> is a norm version of it, and <Carleson's theorem> is stronger pointwise almost everywhere version.
Note that the <Riesz-Fischer theorem> is weaker because the pointwise limit could not exist just according to it: <lp norm sequence convergence does not imply pointwise convergence>.
= $L^p$ norm sequence convergence does not imply pointwise convergence
{id=lp-norm-sequence-convergence-does-not-imply-pointwise-convergence}
{parent=fourier basis is complete for l2}
https://math.stackexchange.com/questions/138043/does-convergence-in-lp-imply-convergence-almost-everywhere
There are explicit examples of this. We can have ever thinner disturbances to convergence that keep getting less and less area, but never cease to move around.
If it does converge pointwise to something, then it must match of course.
= Carleson's theorem
{c}
{parent=fourier basis is complete for l2}
{wiki}
The <Fourier series> of an <l2> function (i.e. the function generated from the infinite sum of weighted sines) converges to the function pointwise almost everywhere.
The theorem also seems to hold (maybe trivially given the transform result) for the <Fourier series> (TODO if trivially, why trivially).
Only proved in 1966, and known to be a hard result without any known simple proof.
This theorem of course implies that <fourier basis is complete for l2>, as it explicitly constructs a decomposition into the Fourier basis for every single function.
TODO vs <Riesz-Fischer theorem>. Is this just a stronger pointwise result, while Riesz-Fischer is about norms only?
One of the many <fourier inversion theorems>.
= Lp space
{parent=Lebesgue integral of LP is complete but Riemann isn't}
{wiki}
= $\LP$
{synonym}
{title2}
Integrable functions to the power $p$, usually and in this text assumed under the <Lebesgue integral> because: <Lebesgue integral of \LP is complete but Riemann isn't>
= $L^1$
{id=l1-space}
{parent=Lp space}
= $\LTwo$
{id=l2}
{parent=Lp space}
<\LP> for $p == 2$.
$\LTwo$ is by far the most important of $\LP$ because it is <mathematical formulation of quantum mechanics>[quantum mechanics states] live, because the total probability of being in any state has to be 1!
<l2> has some crucially important properties that other $\LP$ don't (TODO confirm and make those more precise):
* it is the only $\LP$ that is <Hilbert space> because it is the only one where an inner product compatible with the metric can be defined:
* https://math.stackexchange.com/questions/2005632/l2-is-the-only-hilbert-space-parallelogram-law-and-particular-ft-gt
* https://www.quora.com/Why-is-L2-a-Hilbert-space-but-not-Lp-or-higher-where-p-2
* <fourier basis is complete for l2>, which is great for solving <differential equation>
= Plancherel theorem
{c}
{parent=l2}
Some sources say that this is just the part that says that the <norm (mathematics)> of a <l2> function is the same as the norm of its <Fourier transform>.
Others say that this theorem actually says that the <Fourier transform> is <bijective>.
The comment at https://math.stackexchange.com/questions/446870/bijectiveness-injectiveness-and-surjectiveness-of-fourier-transformation-define/1235725#1235725 may be of interest, it says that the <bijection> statement is an easy consequence from the <norm (mathematics)> one, thus the confusion.
TODO does it require it to be in <l1 space> as well? <Wikipedia> https://en.wikipedia.org/w/index.php?title=Plancherel_theorem&oldid=987110841 says yes, but https://courses.maths.ox.ac.uk/node/view_material/53981 does not mention it.
= The Fourier transform is a bijection in $L^2$
{parent=Plancherel theorem}
As mentioned at <Plancherel theorem>{full}, some people call this part of <Plancherel theorem>, while others say it is just a corollary.
This is an important fact in <quantum mechanics>, since it is because of this that it makes sense to talk about <position and momentum space> as two dual representations of the <wave function> that contain the exact same amount of information.
= Every Riemann integrable function is Lebesgue integrable
{parent=Plancherel theorem}
But only for the proper Riemann integral: https://math.stackexchange.com/questions/2293902/functions-that-are-riemann-integrable-but-not-lebesgue-integrable
= Measure theory
{parent=Calculus}
{wiki=Measure_(mathematics)}
Main motivation: <Lebesgue integral>.
The Bright Side Of Mathematics 2019 playlist: https://www.youtube.com/watch?v=xZ69KEg7ccU&list=PLBh2i93oe2qvMVqAzsX1Kuv6-4fjazZ8j
The key idea, is that we can't define a measure for the power set of R. Rather, we must select a large measurable subset, and the Borel sigma algebra is a good choice that matches intuitions.
= Fourier series
{c}
{parent=Calculus}
{tag=Complete basis}
{wiki}
Approximates an original function by sines. If the function is "well behaved enough", the approximation is to arbitrary precision.
<Fourier>'s original motivation, and a key application, is <solving partial differential equations with the Fourier series>.
Can only be used to approximate for periodic functions (obviously from its definition!). The <Fourier transform> however overcomes that restriction:
* https://math.stackexchange.com/questions/1115240/can-a-non-periodic-function-have-a-fourier-series
* https://math.stackexchange.com/questions/1378633/every-function-can-be-represented-as-a-fourier-series
The Fourier series behaves really nicely in <l2>, where it always exists and converges pointwise to the function: <Carleson's theorem>.
\Video[https://www.youtube.com/watch?v=r6sGWTCMz2k]
{title=But what is a <Fourier series>? by <3Blue1Brown> (2019)}
{description=Amazing 2D visualization of the decomposition of complex functions.}
= Applications of the Fourier series
{parent=Fourier series}
= Solving partial differential equations with the Fourier series
{parent=Applications of the Fourier series}
See: https://math.stackexchange.com/questions/579453/real-world-application-of-fourier-series/3729366#3729366 from <heat equation solution with Fourier series>.
<Separation of variables> of certain equations like the <heat equation> and <wave equation> are solved immediately by calculating the <Fourier series> of initial conditions!
Other basis besides the Fourier series show up for other equations, e.g.:
* <bessel function>
* <Hermite polynomials>
= Discrete Fourier transform
{parent=Fourier series}
{wiki}
= DFT
{c}
{synonym}
{title2}
Input: a sequence of $N$ <complex numbers> $x_k$.
Output: another sequence of $N$ <complex numbers> $X_k$ such that:
$$
x_n = \frac{1}{N} \sum_{k=0}^{N-1} X_k e^{i 2 \pi \frac{k n}{N}}
$$
Intuitively, this means that we are braking up the complex signal into $N$ <sinusoidal> frequencies:
* $X_0$: is kind of magic and ends up being a constant added to the signal because $e^{i 2 \pi \frac{k n}{N}} = e^{0} = 1$
* $X_1$: <sinusoidal> that completes one cycle over the signal. The larger the $N$, the larger the resolution of that <sinusoidal>. But it completes one cycle regardless.
* $X_2$: <sinusoidal> that completes two cycles over the signal
* ...
* $X_{N-1}$: <sinusoidal> that completes $N-1$ cycles over the signal
and is the amplitude of each sine.
We use <Zero-based numbering> in our definitions because it just makes every formula simpler.
Motivation: similar to the <Fourier transform>:
* compression: a <sine> would use N points in the time domain, but in the frequency domain just one, so we can throw the rest away. A sum of two sines, only two. So if your signal has periodicity, in general you can compress it with the transform
* noise removal: many systems add noise only at certain frequencies, which are hopefully different from the main frequencies of the actual signal. By doing the transform, we can remove those frequencies to attain a better <signal-to-noise>
In particular, the <discrete Fourier transform> is used in <signal processing> after a <analog-to-digital converter>. <Digital signal processing> historically likely grew more and more over analog processing as digital <processor (computing)>[processors] got faster and faster as it gives more flexibility in algorithm design.
Sample software implementations:
* <numpy.fft>, notably see the example: <numpy/fft.py>{file}
\Image[https://raw.githubusercontent.com/cirosantilli/media/master/home/numpy/fft_plot.svg]
{title=<DFT> of $2 \sin(t) + \cos(4t)$ with 25 points}
{disambiguate=Discrete Fourier transform}
{description=This is a simple example of a <discrete Fourier transform> for a real input signal. It illustrates how the <DFT> takes N <complex numbers> as input, and produces N <complex numbers> as output. It also illustrates how the <discrete Fourier transform of a real signal> is symmetric around the center point.}
{height=600}
= Discrete Fourier transform of a real signal
{parent=Discrete Fourier transform}
See sections: "Example 1 - N even", "Example 2 - N odd" and "Representation in terms of sines and cosines" of https://www.statlect.com/matrix-algebra/discrete-Fourier-transform-of-a-real-signal
The transform still has complex numbers.
Summary:
* $X_0$ is real
* $X_1 = \conj{X_{N-1}}$
* $X_2 = \conj{X_{N-2}}$
* $X_k = \conj{X_{N-k}}$
Therefore, we only need about half of $X_k$ to represent the signal, as the other half can be derived by conjugation.
"Representation in terms of sines and cosines" from https://www.statlect.com/matrix-algebra/discrete-Fourier-transform-of-a-real-signal then gives explicit formulas in terms of $X_k$.
<NumPy> for example has "Real FFTs" for this: https://numpy.org/doc/1.24/reference/routines.fft.html#real-ffts
\Image[https://raw.githubusercontent.com/cirosantilli/media/master/home/numpy/fft_plot.svg]
{title=<DFT> of $2 \sin(t) + \cos(4t)$ with 25 points}
{disambiguate=Discrete Fourier transform of a real signal}
{description=Source at: <numpy/fft_plot.py>{file}. This plot illustrates how the DFT of a real signal is symmetric around the middle point, and so only half of the transform points are needed to reconstruct the original signal. We also see how the phase of the sinusoids determines if their DFT components are real or imaginary.}
{height=600}
= Normalized DFT
{parent=Discrete Fourier transform}
There are actually two possible definitions for the DFT:
* 1/N, given as "the default" in many sources:
$$
x_n = \frac{1}{N} \sum_{k=0}^{N-1} X_k e^{i 2 \pi \frac{k n}{N}}
$$
* $1/\sqrt{N}$, known as the "normalized DFT" by some sources: https://www.dsprelated.com/freebooks/mdft/Normalized_DFT.html[], definition which we adopt:
$$
x_n = \frac{1}{N} \sum_{k=0}^{N-1} X_k e^{i 2 \pi \frac{k n}{N}}
$$
The $1/\sqrt{N}$ is nicer mathematically as the inverse becomse more symmetric, and power is conserved between time and frequency domains.
* https://math.stackexchange.com/questions/3285758/scaling-magnitude-of-the-dft
* https://dsp.stackexchange.com/questions/63001/why-should-i-scale-the-fft-using-1-n
* https://www.dsprelated.com/freebooks/mdft/Normalized_DFT.html
= Fast Fourier transform
{parent=Discrete Fourier transform}
{wiki}
An efficient <algorithm> to calculate the <discrete Fourier transform>.
= Fourier transform
{c}
{parent=Fourier series}
{wiki}
Continuous version of the <Fourier series>.
Can be used to represent functions that are not periodic: https://math.stackexchange.com/questions/221137/what-is-the-difference-between-fourier-series-and-fourier-transformation while the <Fourier series> is only for periodic functions.
Of course, every function defined on a finite line segment (i.e. a <compact space>).
Therefore, the <Fourier transform> can be seen as a generalization of the <Fourier series> that can also decompose functions defined on the entire <real line>.
As a more concrete example, just like the <Fourier series> is how you solve the <heat equation> on a line segment with <Dirichlet boundary conditions> as shown at: <solving partial differential equations with the Fourier series>{full}, the <Fourier transform> is what you need to solve the problem when the <domain (function)> is the entire <real line>.
= Multidimensional Fourier transform
{parent=Fourier transform}
Lecture notes:
* http://www.robots.ox.ac.uk/~az/lectures/ia/lect2.pdf Lecture 2: 2D Fourier transforms and applications by A. Zisserman (2014)
\Video[https://www.youtube.com/watch?v=v743U7gvLq0]
{title=How the 2D FFT works by Mike X Cohen (2017)}
{description=Animations showing how the 2D Fourier transform looks like for simple inpuf functions.}
= Fourier inversion theorem
{parent=Fourier transform}
{wiki}
A set of theorems that prove under different conditions that the <Fourier transform> has an inverse for a given space, examples:
* <Carleson's theorem> for <l2>
= Laplace transform
{c}
{parent=Fourier transform}
\Video[https://www.youtube.com/watch?v=7UvtU75NXTg]
{title=The Laplace Transform: A Generalized Fourier Transform by Steve Brunton (2020)}
{description=Explains how the Laplace transform works for functions that do not go to zero on infinity, which is a requirement for the <Fourier transform>. No applications in that video yet unfortunately.}
= History of the Fourier series
{parent=Fourier series}
First published by Fourier in 1807 to solve the <heat equation>.
= Topology
{parent=Calculus}
{wiki}
= Topological
{synonym}
Topology is the plumbing of <calculus>.
The key concept of topology is a <neighbourhood (mathematics)>.
Just by havin the notion of neighbourhood, concepts such as <limit (mathematics)> and <continuity> can be defined without the need to specify a precise numerical value to the distance between two points with a <metric (mathematics)>.
As an example. consider the <orthogonal group>, which is also naturally a <topological space>. That group does not usually have a notion of distance defined for it by default. However, we can still talk about certain properties of it, e.g. that <the orthogonal group is compact>, and that <the orthogonal group has two connected components>.
= Covering space
{parent=Topology}
{wiki}
Basically it is a larger space such that there exists a <surjection> from the large space onto the smaller space, while still being compatible with the <topology> of the small space.
We can characterize the cover by how injective the function is. E.g. if two elements of the large space map to each element of the small space, then we have a <double cover> and so on.
= Double cover
{parent=Covering space}
= Neighbourhood
{disambiguate=mathematics}
{parent=Topology}
{wiki}
The key concept of <topology>.
= Topological space
{parent=Topology}
{wiki}
= Manifold
{parent=Topology}
{wiki}
We map each point and a small enough <neighbourhood (mathematics)> of it to <\R^n>, so we can talk about the manifold points in terms of coordinates.
Does not require any further structure besides a consistent <topological> map. Notably, does not require <metric (mathematics)> nor an addition operation to make a <vector space>.
Manifolds are <good>[cool]. Especially <differentiable manifolds> which we can do <calculus> on.
A notable example of a <Non-Euclidean geometry> manifold is the space of <generalized coordinates> of a <Lagrangian>. For example, in a problem such as the <double pendulum>, some of those generalized coordinates could be angles, which wrap around and thus are not <euclidean>.
= Atlas
{disambiguate=topology}
{parent=Manifold}
{wiki}
Collection of <coordinate charts>.
The key element in the definition of a <manifold>.
= Coordinate chart
{parent=Atlas (topology)}
= Covariant derivative
{parent=Manifold}
{wiki}
A generalized definition of <derivative> that works on <manifolds>.
TODO: how does it maintain a single value even across different <coordinate charts>?
= Differentiable manifold
{parent=Manifold}
{wiki}
TODO find a concrete numerical example of doing <calculus> on a differentiable manifold and visualizing it. Likely start with a boring circle. That would be sweet...
= Tangent space
{parent=Manifold}
{wiki}
TODO what's the point of it.
Bibliography:
* https://www.youtube.com/watch?v=j1PAxNKB_Zc Manifolds \#6 - Tangent Space (Detail) by WHYB maths (2020). This is worth looking into.
* https://www.youtube.com/watch?v=oxB4aH8h5j4 actually gives a more concrete example. Basically, the vectors are defined by saying "we are doing the <Directional derivative> of any function along this direction".
One thing to remember is that of course, the most convenient way to define a function $f$ and to specify a direction, is by using one of the <coordinate charts>.
We can then just switch between charts by change of basis.
* http://jakobschwichtenberg.com/lie-algebra-able-describe-group/ by <Jakob Schwichtenberg>
* https://math.stackexchange.com/questions/1388144/what-exactly-is-a-tangent-vector/2714944 What exactly is a tangent vector? on <Stack Exchange>
= Tangent vector to a manifold
{parent=Tangent space}
A member of a <tangent space>.
= One-form
{parent=Manifold}
{wiki}
https://www.youtube.com/watch?v=tq7sb3toTww&list=PLxBAVPVHJPcrNrcEBKbqC_ykiVqfxZgNl&index=19 mentions that it is a bit like a <dot product> but for a <tangent vector to a manifold>: it measures how much that vector <derivative>[derives] along a given direction.
= Metric
{disambiguate=mathematics}
{parent=Topology}
{title2=$d(x, y)$}
{wiki}
= Distance
{synonym}
= Metric
{synonym}
A metric is a function that give the distance, i.e. a <real number>, between any two elements of a space.
A metric may be induced from a <norm> as shown at: <metric induced by a norm>{full}.
Because a <norm induced by an inner product>[norm can be induced by an inner product], and the <inner product> given by the <matrix representation of a positive definite symmetric bilinear form>, in simple cases metrics can also be represented by a <matrix>.
= Metric space
{parent=Metric (mathematics)}
{wiki}
Canonical example: <Euclidean space>.
= Metric space vs normed vector space vs inner product space
{parent=Metric space}
TODO examples:
* <metric space> that is not a <normed vector space>
* <norm (mathematics)> vs <metric>: a norm gives size of one element. A <metric> is the distance between two elements. Given a norm in a space with subtraction, we can obtain a distance function: the <metric induced by a norm>.
\Image[https://upload.wikimedia.org/wikipedia/commons/7/74/Mathematical_Spaces.png]
{title=Hierarchy of topological, metric, normed and inner product spaces}
= Complete metric space
{parent=Metric space}
{wiki}
In plain English: the space has no visible holes. If you start walking less and less on each step, you always converge to something that also falls in the space.
One notable example where completeness matters: <Lebesgue integral of \LP is complete but Riemann isn't>.
= Normed vector space
{parent=Metric space}
{wiki}
= Inner product space
{parent=Normed vector space}
{wiki}
Subcase of a <normed vector space>, therefore also necessarily a <vector space>.
= Inner product
{parent=Inner product space}
{wiki}
Appears to be analogous to the <dot product>, but also defined for <infinite dimensions>.
= Norm
{disambiguate=mathematics}
{parent=Metric space}
{title2=$|x|$}
= Norm
{synonym}
Vs <metric>:
* a norm is the size of one element. A <metric> is the distance between two elements.
* a norm is only defined on a <vector space>. A <metric> could be defined on something that is not a vector space. Most basic examples however are also <vector spaces>.
= Norm induced by an inner product
{parent=Norm (mathematics)}
{wiki}
= Norm induced by the inner product
{synonym}
An <inner product> $x \cdot y$ induces a <norm> with:
$$
|x| = \sqrt{<x, x>}
$$
= Metric induced by a norm
{parent=Norm (mathematics)}
In a <vector space>, a <metric> may be induced from a norm by using <subtraction>:
$$
d(x, y) = |x - y|
$$
= Pseudometric space
{parent=Metric space}
{wiki}
<Metric space> but where the distance between two distinct points can be zero.
Notable example: <Minkowski space>.
= Compact space
{parent=Topology}
{wiki}
= Compact
{synonym}
= Dense set
{parent=Topology}
{wiki}
= Connected space
{parent=Topology}
{wiki}
= Disconnected space
{synonym}
= Connected component
{parent=Connected space}
{wiki}
When a <disconnected space> is made up of several smaller <connected spaces>, then each smaller component is called a "connected component" of the larger space.
See for example the
= Simply connected space
{parent=Connected space}
{wiki}
= Simply connected
{synonym}
= Loop
{disambiguate=topology}
{parent=Simply connected space}
= Homotopy
{parent=Topology}
{wiki}
= Homotopic
{synonym}
= Generalized Poincaré conjecture
{parent=Homotopy}
{tag=Classification (mathematics)}
There are two cases:
* (topological) manifolds
* differential manifolds
Questions: are all compact manifolds / differential manifolds homotopic / diffeomorphic to the sphere in that dimension?
* for topological manifolds: this is a generalization of the <Poincaré conjecture>.
Original problem posed, $n = 3$ for topological manifolds.
<Millennium Prize Problems>.
Last to be proven, only the 4-differential manifold case missing as of 2013.
Even the truth for all $n > 4$ was proven in the 60's!
Why is low dimension harder than high dimension?? Surprise!
AKA: classification of compact 3-manifolds. The result turned out to be even simpler than compact 2-manifolds: there is only one, and it is equal to the 3-sphere.
For dimension two, we know there are infinitely many: <classification of closed surfaces>
* for differential manifolds:
Not true in general. First counter example is $n = 7$. Surprise: what is special about the number 7!?
Counter examples are called <exotic spheres>.
Totally unpredictable count table:
| Dimension | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| Smooth types | 1 | 1 | 1 | ? | 1 | 1 | 28 | 2 | 8 | 6 | 992 | 1 | 3 | 2 | 16256 | 2 | 16 | 16 | 523264 | 24 |
$n = 4$ is an open problem, there could even be infinitely many. Again, why are things more complicated in lower dimensions??
= Exotic sphere
{parent=Generalized Poincaré conjecture}
{wiki}
= Poincaré conjecture
{c}
{parent=Generalized Poincaré conjecture}
{wiki}
= Classification of closed surfaces
{parent=Generalized Poincaré conjecture}
{tag=Classification (mathematics)}
* https://en.wikipedia.org/wiki/Surface_(topology)#Classification_of_closed_surfaces
* http://www.proofwiki.org/wiki/Classification_of_Compact_Two-Manifolds
So simple!! You can either:
* cut two holes and glue a handle. This is easy to visualize as it can be embedded in <\R^3>: you just get a <Torus>, then a double torus, and so on
* cut a single hole and glue a <Möbius strip> in it. Keep in mind that this is possible because the <Möbius strip> has a single boundary just like the hole you just cut. This leads to another infinite family that starts with:
* 1: <real projective plane>
* 2: <Klein bottle>
A handle cancels out a <Möbius strip>, so adding one of each does not lead to a new object.
You can glue a Mobius strip into a single hole in dimension larger than 3! And it gives you a Klein bottle!
Intuitively speaking, they can be sees as the smooth surfaces in N-dimensional space (called an embedding), such that deforming them is allowed. 4-dimensions is enough to embed cover all the cases: 3 is not enough because of the Klein bottle and family.
= Torus
{c}
{parent=Classification of closed surfaces}
{wiki}
= Möbius strip
{c}
{parent=Classification of closed surfaces}
{wiki}
= Klein bottle
{c}
{parent=Classification of closed surfaces}
{wiki}
<sphere> with two <Möbius strips> stuck into it as per the <classification of closed surfaces>.
= Real coordinate space
{c}
{parent=Topology}
{wiki}
= $\R^n$
{synonym}
{title2}
= Real line
{parent=Real coordinate space}
{wiki}
= $\R^1$
{synonym}
{title2}
= 1D
{synonym}
= Real plane
{parent=Real coordinate space}
= $\R^2$
{synonym}
{title2}
= 2D
{synonym}
= Real coordinate space of dimension three
{c}
{parent=Real coordinate space}
= $\R^3$
{synonym}
{title2}
= 3D
{synonym}
= Real coordinate space of dimension four
{c}
{parent=Real coordinate space}
= $\R^4$
{synonym}
{title2}
= Four-dimensional space
{synonym}
= Four-dimensional
{synonym}
= 4D
{synonym}
{title2}
Important 4D spaces: