algorembrant commited on
Commit
1c3a39c
·
verified ·
1 Parent(s): a3bb8b3

Upload 10 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ Manually[[:space:]]Disecting[[:space:]]arXiv2512.15720/main.pdf filter=lfs diff=lfs merge=lfs -text
Manually Disecting arXiv2512.15720/images/image.png ADDED
Manually Disecting arXiv2512.15720/images/image_2.png ADDED
Manually Disecting arXiv2512.15720/images/image_3 (1).png ADDED
Manually Disecting arXiv2512.15720/images/image_3.png ADDED
Manually Disecting arXiv2512.15720/images/image_4.png ADDED
Manually Disecting arXiv2512.15720/images/image_5.png ADDED
Manually Disecting arXiv2512.15720/main.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73fd211afee01f6d12dbeac2a58255eb7059ad0867b3a45510791f97d6ebdfb2
3
+ size 305424
Manually Disecting arXiv2512.15720/main.tex ADDED
@@ -0,0 +1,519 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ \documentclass[11pt]{article}
3
+ \usepackage[margin=1in]{geometry}
4
+
5
+ % Core packages
6
+ \usepackage{amsmath,amssymb}
7
+ \usepackage{tikz-cd}
8
+ \usepackage{multicol}
9
+ \newcommand{\mathcolorbox}[2]{\begingroup\setlength{\fboxsep}{1pt}\colorbox{#1}{$\displaystyle #2$}\endgroup}
10
+
11
+ % Paragraphs
12
+ \setlength{\parindent}{0pt}
13
+ \setlength{\parskip}{1\baselineskip}
14
+
15
+ \title{Manually Disecting arXiv:2512.15720}
16
+ \author{algorembrant}
17
+ \date{\today}
18
+
19
+ \begin{document}
20
+ \maketitle
21
+
22
+ The contents of this paper may or may not related directly to the paper arXiv:2512.15720, its freestyle. And also im using a simple 2-states with 20 sample data rather than 15-states with many data as what said on the paper, just to keep things simpler.
23
+
24
+ \begin{align}
25
+ \includegraphics[width=0.5\textwidth]
26
+ {image.png} \\
27
+ \includegraphics[width=0.5\textwidth]{image_2.png} \\
28
+ \includegraphics[width=0.5\textwidth]{image_3.png}
29
+ \end{align}
30
+
31
+
32
+ \[
33
+ VMA =\frac{1}{2} (\sum_{a=1}^{n} V_{t-a})/n
34
+ \]
35
+
36
+ \[
37
+ \sum_{i \in{S}}
38
+ \]
39
+
40
+ \[
41
+ s_t = sgn(P_t - P_{t-1})
42
+ \]
43
+
44
+ \[
45
+ v_t = ceil(5 \cdot F_{V,t}(V_t) )
46
+ \]
47
+
48
+ \[
49
+ S_t = (q_t,v_t)
50
+ \]
51
+
52
+ \[
53
+ \hat{P} =
54
+ \]
55
+
56
+ \begin{align*}
57
+ \intertext{I think the starting probabilities doesnt matter since if we keep multiplying the transition matrix by itself (following the power rule), then the resulting probabilities will settle at some point and we get better proxy. True in finite markov chain.}
58
+ \intertext{In the context of Markov chains and repeatedly multiplying the transition matrix by itself (i.e., raising it to a high power), the resulting probabilities that the system settles into are called the stationary distribution (or steady‑state distribution).}
59
+ \end{align*}
60
+
61
+ \[
62
+ \pi \cdot \hat{P}_t = \pi
63
+ \]
64
+
65
+ \begin{equation}
66
+ H_t := -\frac{1}{\log K} \sum_{i \in S} \pi_i (\hat{P_t}) \sum_{j \in S} \hat{p}_{{ij},t} \log \hat{p}_{{ij},t}
67
+ \end{equation}
68
+
69
+ \begin{align*}
70
+ \intertext{
71
+ This is the entropy formula, the signal.
72
+ }
73
+ \intertext{
74
+ And let's break it down piece by piece.
75
+ }
76
+ \end{align*}
77
+
78
+
79
+ \begin{equation}
80
+ H_t := -\frac{1}{\log K} \sum_{i \in S} \pi_i (\hat{P_t}) \boxed{\sum_{j \in S} \hat{p}_{{ij},t} \log \hat{p}_{{ij},t}}
81
+ \end{equation}
82
+
83
+ where:
84
+ \[
85
+ RowEntropy(i) = - \sum_{j \in S} \hat{p}_{{ij},t} \log \hat{p}_{{ij},t}
86
+ \]
87
+
88
+ and the original Entropy formula is:
89
+ \[
90
+ H = \sum_{i = 1}^c -P_i \log_2 (P_i)
91
+ \]
92
+
93
+
94
+ \begin{equation}
95
+ H_t := -\frac{1}{\log K} \boxed{\sum_{i \in S} \pi_i (\hat{P_t})}\boxed{\sum_{j \in S} \hat{p}_{{ij},t} \log \hat{p}_{{ij},t}}
96
+ \end{equation}
97
+
98
+ \[
99
+ \begin{pmatrix}
100
+ a_{11} & a_{12} & \cdots & a_{1n} \\
101
+ a_{21} & a_{22} & \cdots & a_{2n} \\
102
+ \vdots & \vdots & \ddots & \vdots \\
103
+ a_{m1} & a_{m2} & \cdots & a_{mn}
104
+ \end{pmatrix}
105
+ \]
106
+
107
+ \[
108
+ \begin{vmatrix}
109
+ p & q \\
110
+ r & s
111
+ \end{vmatrix}
112
+ \]
113
+
114
+
115
+ \[
116
+ P^2 = \begin{bmatrix}
117
+ a_1^2 & a_1^2 \\
118
+ a_2^2 & a_2^2)
119
+ \end{bmatrix}
120
+ \]
121
+
122
+ \newpage
123
+
124
+ Lets try breaking down how to multiply the matrix by itself using power rule, given:
125
+ \[
126
+ P =
127
+ \begin{bmatrix}
128
+ a & b \\
129
+ c & d
130
+ \end{bmatrix}
131
+ \]
132
+
133
+ becomes $P$ into $P^2$, therefore:
134
+ \[
135
+ P^2 =
136
+ \begin{bmatrix}
137
+ a & b \\
138
+ c & d
139
+ \end{bmatrix}
140
+ \begin{bmatrix}
141
+ a & b \\
142
+ c & d
143
+ \end{bmatrix}
144
+ =
145
+ \begin{bmatrix}
146
+ aa+bc & ab+bd \\
147
+ ca+dc & cb + dd
148
+ \end{bmatrix}
149
+ \quad
150
+ \text{or}
151
+ \quad
152
+ \left[\begin{matrix}
153
+ a^2+bc & ab+bd \\
154
+ ca+dc & cb + d^2
155
+ \end{matrix}\right]
156
+ \]
157
+
158
+ \[
159
+ P^2 =
160
+ \begin{bmatrix}
161
+ \mathcolorbox{yellow!50}{a} & \mathcolorbox{yellow!75}{b} \\
162
+ c & d
163
+ \end{bmatrix}
164
+ \begin{bmatrix}
165
+ \mathcolorbox{yellow!50}{a} & b \\
166
+ \mathcolorbox{yellow!75}{c} & d
167
+ \end{bmatrix}
168
+ =
169
+ \begin{bmatrix}
170
+ \mathcolorbox{yellow!50}{aa+bc} & ab+bd \\
171
+ ca+dc & cb + dd
172
+ \end{bmatrix}
173
+ \quad
174
+ \text{or}
175
+ \quad
176
+ \left[\begin{matrix}
177
+ a^2+bc & ab+bd \\
178
+ ca+dc & cb + d^2
179
+ \end{matrix}\right]
180
+ \]
181
+
182
+ \[
183
+ P^2 =
184
+ \begin{bmatrix}
185
+ \mathcolorbox{yellow!50}{a} & \mathcolorbox{yellow!75}{b} \\
186
+ c & d
187
+ \end{bmatrix}
188
+ \begin{bmatrix}
189
+ a & \mathcolorbox{yellow!50}{b} \\
190
+ c & \mathcolorbox{yellow!75}{d}
191
+ \end{bmatrix}
192
+ =
193
+ \begin{bmatrix}
194
+ aa+bc & \mathcolorbox{yellow!50}{ab+bd} \\
195
+ ca+dc & cb + dd
196
+ \end{bmatrix}
197
+ \quad
198
+ \text{or}
199
+ \quad
200
+ \left[\begin{matrix}
201
+ a^2+bc & ab+bd \\
202
+ ca+dc & cb + d^2
203
+ \end{matrix}\right]
204
+ \]
205
+
206
+ \[
207
+ P^2 =
208
+ \begin{bmatrix}
209
+ a & b \\
210
+ \mathcolorbox{yellow!50}{c} & \mathcolorbox{yellow!75}{d}
211
+ \end{bmatrix}
212
+ \begin{bmatrix}
213
+ \mathcolorbox{yellow!50}{a} & b \\
214
+ \mathcolorbox{yellow!75}{c} & d
215
+ \end{bmatrix}
216
+ =
217
+ \begin{bmatrix}
218
+ aa+bc & ab+bd \\
219
+ \mathcolorbox{yellow!50}{ca+dc} & cb + dd
220
+ \end{bmatrix}
221
+ \quad
222
+ \text{or}
223
+ \quad
224
+ \left[\begin{matrix}
225
+ a^2+bc & ab+bd \\
226
+ ca+dc & cb + d^2
227
+ \end{matrix}\right]
228
+ \]
229
+
230
+ \[
231
+ P^2 =
232
+ \begin{bmatrix}
233
+ a & b \\
234
+ \mathcolorbox{yellow!50}{c} & \mathcolorbox{yellow!75}{d}
235
+ \end{bmatrix}
236
+ \begin{bmatrix}
237
+ a & \mathcolorbox{yellow!50}{b} \\
238
+ c & \mathcolorbox{yellow!75}{d}
239
+ \end{bmatrix}
240
+ =
241
+ \begin{bmatrix}
242
+ aa+bc & ab+bd \\
243
+ ca+dc & \mathcolorbox{yellow!50}{cb+dd}
244
+ \end{bmatrix}
245
+ \quad
246
+ \text{or}
247
+ \quad
248
+ \left[\begin{matrix}
249
+ a^2+bc & ab+bd \\
250
+ ca+dc & cb + d^2
251
+ \end{matrix}\right]
252
+ \]
253
+
254
+
255
+ breakdown
256
+
257
+ \[
258
+ \begin{bmatrix}
259
+ a & b
260
+ \end{bmatrix}
261
+ \cdot
262
+ \begin{bmatrix}
263
+ a \\
264
+ c
265
+ \end{bmatrix}
266
+ =
267
+ aa +bc
268
+ \]
269
+
270
+ \[
271
+ \begin{bmatrix}
272
+ a & b
273
+ \end{bmatrix}
274
+ \cdot
275
+ \begin{bmatrix}
276
+ b \\
277
+ d
278
+ \end{bmatrix}
279
+ =
280
+ ab +bd
281
+ \]
282
+
283
+ \[
284
+ \begin{bmatrix}
285
+ c & d
286
+ \end{bmatrix}
287
+ \cdot
288
+ \begin{bmatrix}
289
+ a \\
290
+ c
291
+ \end{bmatrix}
292
+ =
293
+ ca +dc
294
+ \]
295
+
296
+ \[
297
+ \begin{bmatrix}
298
+ c & d
299
+ \end{bmatrix}
300
+ \cdot
301
+ \begin{bmatrix}
302
+ b \\
303
+ d
304
+ \end{bmatrix}
305
+ =
306
+ cb +dd
307
+ \]
308
+
309
+ \[
310
+ \begin{bmatrix}
311
+ c & d
312
+ \end{bmatrix}
313
+ \cdot
314
+ \begin{bmatrix}
315
+ b \\
316
+ d
317
+ \end{bmatrix}
318
+ =
319
+ cb + d^2
320
+ \]
321
+
322
+ therefore:
323
+ \[
324
+ P^2 = \begin{bmatrix}
325
+ aa+bc & ab+bd \\
326
+ ca+dc & cb+dd
327
+ \end{bmatrix}
328
+ \]
329
+
330
+ or
331
+
332
+ \[
333
+ P^2 = \begin{bmatrix}
334
+ a^2+bc & ab+bd \\
335
+ ca+dc & cb + d^2
336
+ \end{bmatrix}
337
+ \]
338
+
339
+ \newpage
340
+
341
+ \begin{equation}
342
+ H_t := -\frac{1}{\log K} \sum_{i \in S} \pi_i (\hat{P_t}) \sum_{j \in S} \hat{p}_{{ij},t} \log \hat{p}_{{ij},t}
343
+ \end{equation}
344
+
345
+ \begin{equation}
346
+ H_t := -\frac{1}{\log K} \sum_{i \in S} \pi_i (\hat{P_t}) \textcolor{red}{\sum_{j \in S} \hat{p}_{{ij},t} \log \hat{p}_{{ij},t}}
347
+ \end{equation}
348
+
349
+ supposed we have a $\hat{P}_t$
350
+ \[
351
+ \hat{P}_t =
352
+ \begin{bmatrix}
353
+ (buy,buy) & (buy,sell) \\
354
+ (sell,buy) & (sell,sell)
355
+ \end{bmatrix}
356
+ =
357
+ \begin{bmatrix}
358
+ 0.125 & 0.875 \\
359
+ 0.5454545455 & 0.4545454545
360
+ \end{bmatrix}
361
+ \]
362
+
363
+ then the settle-probabilities is at $\hat{P}_t^7$
364
+
365
+ \[
366
+ \hat{P}_t^7 =
367
+ \begin{bmatrix}
368
+ 0.384 & 0.616 \\
369
+ 0.384 & 0.616
370
+ \end{bmatrix}
371
+ \quad
372
+ \text{therefore}
373
+ \quad
374
+ \pi =
375
+ \begin{bmatrix}
376
+ 0.384 & 0.616
377
+ \end{bmatrix}
378
+ \]
379
+
380
+ then we calculate for the entropy of each row by following the general equation
381
+
382
+ \[
383
+ RowEntopy(i) = \sum_{j \in S} \hat{p}_{{ij},t} \log \hat{p}_{{ij},t}
384
+ \]
385
+
386
+ If this equation is from a paper rooted in Physics (Statistical Mechanics), Mathematics, or Pure Statistics, the base is typically the natural logarithm, base $e$. Therefore,
387
+
388
+ \[
389
+ RowEntopy(i) = \sum_{j \in S} \hat{p}_{{ij},t} \textcolor{red}{\ln} \hat{p}_{{ij},t}
390
+ \]
391
+
392
+ \begin{align*}
393
+ RowEntopy(\textcolor{red}{1}) &= \sum_{j \in S} \hat{p}_{{\textcolor{red}{1}j},t} \log \hat{p}_{{\textcolor{red}{1}j},t} \\
394
+ &= [0.125 \cdot \log(0.125)] + [0.875 \cdot \log(0.875)] \\
395
+ &= [-0.2599301927] + [-0.1168399685] \\
396
+ &= \mathcolorbox{red!10}{-0.3767701613} \\
397
+ \end{align*}
398
+
399
+ \begin{align*}
400
+ RowEntopy(\textcolor{red}{2}) &= \sum_{j \in S} \hat{p}_{{\textcolor{red}{2}j},t} \log \hat{p}_{{\textcolor{red}{2}j},t} \\
401
+ &= [0.5454545455 \cdot \log(0.4545454545)] + [0.875 \cdot \log(0.875)] \\
402
+ &= [-0.3306195292] + [-0.3583897093] \\
403
+ &= \mathcolorbox{red!10}{-0.6890092385} \\
404
+ \end{align*}
405
+
406
+
407
+
408
+ \begin{equation}
409
+ H_t := -\frac{1}{\log K} \sum_{i \in S} \textcolor{red}{\pi_i (\hat{P_t})} \sum_{j \in S} \hat{p}_{{ij},t} \log \hat{p}_{{ij},t}
410
+ \end{equation}
411
+
412
+ is the same as
413
+
414
+ \begin{equation}
415
+ H_t := -\frac{1}{\log K} \sum_{i \in S} \textcolor{red}{\pi_i} \sum_{j \in S} \hat{p}_{{ij},t} \log \hat{p}_{{ij},t}
416
+ \end{equation}
417
+
418
+ where:
419
+
420
+ \begin{align*}
421
+ \pi_1 &=
422
+ \left[
423
+ 0.384 \quad 0.616
424
+ \right], \\
425
+ \pi_2 &=
426
+ \left[
427
+ 0.384 \quad 0.616
428
+ \right], \\
429
+ \mathrm{RowEntropy}_{\textcolor{red}{1}}
430
+ &= -0.3767701613, \\
431
+ \mathrm{RowEntropy}_{\textcolor{red}{2}}
432
+ &= -0.6890092385
433
+ \end{align*}
434
+
435
+ therefore:
436
+
437
+ \begin{equation}
438
+ H_t :=
439
+ -\frac{1}{\log K}
440
+ \textcolor{red}{
441
+ \sum_{i \in S}
442
+ \colorbox{orange!50}{$\pi_i$}
443
+ \colorbox{yellow!50}{$\sum_{j \in S} \hat{p}_{ij,t} \log \hat{p}_{ij,t}$}
444
+ }
445
+ \end{equation}
446
+
447
+ is
448
+ \begin{align*}
449
+ &=[\mathcolorbox{orange!50}{0.384} \cdot \mathcolorbox{yellow!50}{(-0.3767701613)}] \textcolor{red}{+} [\mathcolorbox{orange!50}{0.616} \cdot \mathcolorbox{yellow!50}{(-0.6890092385)}] \\
450
+ &= -0.5691094329
451
+ \end{align*}
452
+
453
+ in here, we have $K = 2$ becuase we have buy or sell as states,$K$ refers to the total number of posssible states hence
454
+ \begin{align*}
455
+ H_t &:= -\frac{1}{\log K}(\textcolor{red}{-0.5691094329}) \\
456
+ &:= -\frac{1}{\log \textcolor{red}{2}} (\textcolor{red}{-0.5691094329}) \\
457
+ &:= -(-0.8210513566) \\
458
+ &:= \mathcolorbox{gray!50}{0.8210513566}
459
+ \end{align*}
460
+
461
+ the paper says high entropy inficates unpredictable transitions, meanwhile low entropy indicates structure
462
+
463
+ \begin{align*}
464
+ H_t \geq 0.95 \quad \text{means towards max unpredictable next state is} \\
465
+ H_t \geq 0.05 \quad \text{means towards min unpredictable next state is}
466
+ \end{align*}
467
+
468
+ this values depend on the creator, but the paper saus 0.05 amd 0.95 as treshold to trigger possitions.
469
+
470
+ the paper has 3 criteria before entering a trade,
471
+ one,
472
+
473
+ \[
474
+ H_t < H_{5th percentile}
475
+ \]
476
+ two,
477
+
478
+ \[
479
+ V_t > V_{95th percentile}
480
+ \]
481
+
482
+ three,
483
+
484
+ \[
485
+ 5 bps \leq |trailing^{5min}_{return}| \leq 20 bps
486
+ \]
487
+
488
+ and after all conditions is met, he enters a trade
489
+
490
+ \[
491
+ Direction = sgn(trailing_5min_return), \quad +1 = buy ; -1 = sell
492
+ \]
493
+
494
+ and after entry, he places a stoploss
495
+ \[
496
+ stoploss = entry^{price} \pm 5bps
497
+ \]
498
+
499
+ then takeprofit
500
+ \[
501
+ Take-Profit = Entry Price ± TP_threshold
502
+ \]
503
+
504
+ and emergency exit
505
+
506
+ \[
507
+ Max hold time = 300 seconds (5 minutes)
508
+ \]
509
+
510
+ \section{failed attempt}
511
+ at first, i actually tried manually recreating the paper using 15-state transition matrix markov chain model but in the long run i found out the formula is general and applicable to any given number of state hence i used simpler 2-state model
512
+
513
+ \begin{align}
514
+ \includegraphics[width=0.5\textwidth]{image_4.png} \\
515
+ \includegraphics[width=0.5\textwidth]{image_5.png}
516
+ \end{align}
517
+
518
+ \end{document}
519
+
Manually Disecting arXiv2512.15720/matrix_power/main.pdf ADDED
Binary file (92.2 kB). View file
 
Manually Disecting arXiv2512.15720/matrix_power/main.tex ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ \documentclass[11pt]{article}
3
+ \usepackage[margin=1in]{geometry}
4
+
5
+ % Core packages
6
+ \usepackage{amsmath,amssymb}
7
+ \usepackage{tikz-cd}
8
+ \usepackage{multicol}
9
+
10
+ % Paragraphs
11
+ \setlength{\parindent}{0pt}
12
+ \setlength{\parskip}{1\baselineskip}
13
+
14
+ \title{multiplying matrix on power rule, through manual code}
15
+ \author{algorembrant}
16
+ \date{\today}
17
+
18
+ \begin{document}
19
+ \maketitle
20
+
21
+ \section{Solve for $P^2}
22
+
23
+ \text{Lets try breaking down how to multiply the matrix by itself using power rule, given:}
24
+ \[
25
+ P =
26
+ \begin{bmatrix}
27
+ a & b \\
28
+ c & d
29
+ \end{bmatrix}
30
+ \]
31
+
32
+ \text{becomes $P$ into $P^2$, therefore:}
33
+ \[
34
+ P^2 =
35
+ \begin{bmatrix}
36
+ a & b \\
37
+ c & d
38
+ \end{bmatrix}
39
+ \begin{bmatrix}
40
+ a & b \\
41
+ c & d
42
+ \end{bmatrix}
43
+ =
44
+ \begin{bmatrix}
45
+ aa+bc & ab+bd \\
46
+ ca+dc & cb + dd
47
+ \end{bmatrix}
48
+ \quad
49
+ \text{or}
50
+ \quad
51
+ \boxed{\begin{bmatrix}
52
+ a^2+bc & ab+bd \\
53
+ ca+dc & cb + d^2
54
+ \end{bmatrix}}
55
+
56
+ \]
57
+
58
+ \[
59
+ P^2 =
60
+ \begin{bmatrix}
61
+ \colorbox{yellow!50}{a} & \colorbox{yellow!75}{b} \\
62
+ c & d
63
+ \end{bmatrix}
64
+ \begin{bmatrix}
65
+ \colorbox{yellow!50}{a} & b \\
66
+ \colorbox{yellow!75}{c} & d
67
+ \end{bmatrix}
68
+ =
69
+ \begin{bmatrix}
70
+ \colorbox{yellow!50}{aa+bc} & ab+bd \\
71
+ ca+dc & cb + dd
72
+ \end{bmatrix}
73
+ \quad
74
+ \text{or}
75
+ \quad
76
+ \boxed{\begin{bmatrix}
77
+ a^2+bc & ab+bd \\
78
+ ca+dc & cb + d^2
79
+ \end{bmatrix}}
80
+
81
+ \]
82
+
83
+ \[
84
+ P^2 =
85
+ \begin{bmatrix}
86
+ \colorbox{yellow!50}{a} & \colorbox{yellow!75}{b} \\
87
+ c & d
88
+ \end{bmatrix}
89
+ \begin{bmatrix}
90
+ a & \colorbox{yellow!50}{b} \\
91
+ c & \colorbox{yellow!75}{d}
92
+ \end{bmatrix}
93
+ =
94
+ \begin{bmatrix}
95
+ aa+bc & \colorbox{yellow!50}{ab+bd} \\
96
+ ca+dc & cb + dd
97
+ \end{bmatrix}
98
+ \quad
99
+ \text{or}
100
+ \quad
101
+ \boxed{\begin{bmatrix}
102
+ a^2+bc & ab+bd \\
103
+ ca+dc & cb + d^2
104
+ \end{bmatrix}}
105
+
106
+ \]
107
+
108
+ \[
109
+ P^2 =
110
+ \begin{bmatrix}
111
+ a & b \\
112
+ \colorbox{yellow!50}{c} & \colorbox{yellow!75}{d}
113
+ \end{bmatrix}
114
+ \begin{bmatrix}
115
+ \colorbox{yellow!50}{a} & b \\
116
+ \colorbox{yellow!75}{c} & d
117
+ \end{bmatrix}
118
+ =
119
+ \begin{bmatrix}
120
+ aa+bc & ab+bd \\
121
+ \colorbox{yellow!50}{ca+dc} & cb + dd
122
+ \end{bmatrix}
123
+ \quad
124
+ \text{or}
125
+ \quad
126
+ \boxed{\begin{bmatrix}
127
+ a^2+bc & ab+bd \\
128
+ ca+dc & cb + d^2
129
+ \end{bmatrix}}
130
+
131
+ \]
132
+
133
+ \[
134
+ P^2 =
135
+ \begin{bmatrix}
136
+ a & b \\
137
+ \colorbox{yellow!50}{c} & \colorbox{yellow!75}{d}
138
+ \end{bmatrix}
139
+ \begin{bmatrix}
140
+ a & \colorbox{yellow!50}{b} \\
141
+ c & \colorbox{yellow!75}{d}
142
+ \end{bmatrix}
143
+ =
144
+ \begin{bmatrix}
145
+ aa+bc & ab+bd \\
146
+ ca+dc & \colorbox{yellow!50}{cb+dd}
147
+ \end{bmatrix}
148
+ \quad
149
+ \text{or}
150
+ \quad
151
+ \boxed{\begin{bmatrix}
152
+ a^2+bc & ab+bd \\
153
+ ca+dc & cb + d^2
154
+ \end{bmatrix}}
155
+
156
+ \]
157
+
158
+
159
+ \text{breakdown}
160
+
161
+ \[
162
+ \begin{bmatrix}
163
+ a & b
164
+ \end{bmatrix}
165
+ \cdot
166
+ \begin{bmatrix}
167
+ a \\
168
+ c
169
+ \end{bmatrix}
170
+ =
171
+ aa +bc
172
+ \]
173
+
174
+ \[
175
+ \begin{bmatrix}
176
+ a & b
177
+ \end{bmatrix}
178
+ \cdot
179
+ \begin{bmatrix}
180
+ b \\
181
+ d
182
+ \end{bmatrix}
183
+ =
184
+ ab +bd
185
+ \]
186
+
187
+ \[
188
+ \begin{bmatrix}
189
+ c & d
190
+ \end{bmatrix}
191
+ \cdot
192
+ \begin{bmatrix}
193
+ a \\
194
+ c
195
+ \end{bmatrix}
196
+ =
197
+ ca +dc
198
+ \]
199
+
200
+ \[
201
+ \begin{bmatrix}
202
+ c & d
203
+ \end{bmatrix}
204
+ \cdot
205
+ \begin{bmatrix}
206
+ b \\
207
+ d
208
+ \end{bmatrix}
209
+ =
210
+ cb +dd
211
+ \]
212
+
213
+ \[
214
+ \begin{bmatrix}
215
+ c & d
216
+ \end{bmatrix}
217
+ \cdot
218
+ \begin{bmatrix}
219
+ b \\
220
+ d
221
+ \end{bmatrix}
222
+ =
223
+ cb + d^2
224
+ \]
225
+
226
+ \text{therefore:}
227
+ \[
228
+ P^2 = \begin{bmatrix}
229
+ aa+bc & ab+bd \\
230
+ ca+dc & cb+dd
231
+ \end{bmatrix}
232
+ \]
233
+
234
+ \text{or}
235
+
236
+ \[
237
+ P^2 = \begin{bmatrix}
238
+ a^2+bc & ab+bd \\
239
+ ca+dc & cb + d^2
240
+ \end{bmatrix}
241
+ \]
242
+
243
+
244
+ \end{document}
245
+