Skip to content

Commit 693219a

Browse files
committed
system-design/problem.md: fixed LaTeX indentation errors
1 parent c975f32 commit 693219a

1 file changed

Lines changed: 34 additions & 28 deletions

File tree

system-design/problem.md

Lines changed: 34 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ The mathematical model is based on the vector rotational transformation model th
8080
#### The mathematical model of rotating vectors around a prime axis:
8181

8282
* Let vector $\vec{V}$ be a vector in an $R^3$ vectorspace; such that:
83+
8384
$$
8485
\begin{equation*}
8586
\vec{V} = \begin{pmatrix}
@@ -91,6 +92,7 @@ $$
9192
$$
9293

9394
* Therefore, the rotated vector around the X-axis using angle $\phi_R$ with the positive direction of Z-axis (Z-convention) using the direction cosines methodology; could be rewritten as a function of the rotational angle by evaluating the addition trigonometric identity using the Euclidean Geometry:
95+
9496
$$
9597
\begin{equation*}
9698
\vec{V}^{'} = \begin{pmatrix}
@@ -142,6 +144,7 @@ $$
142144

143145
* Therefore, the rest of rotation operations could be expressed using rotation matrices as follows:
144146
* Rotation around Y-axis (**X-convention**):
147+
145148
$$
146149
\vec{V}^{'} = R_y(\pm \hat{\Phi_R}) \times \vec{V} \\
147150
=
@@ -172,44 +175,47 @@ $$
172175
$$
173176

174177
* Rotation around Z-axis (**X-Convention**) using direction cosines:
178+
175179
$$
176-
\vec{V}^{'} = R_z(\pm \hat{\Phi_R}) \times \vec{V} \\
177-
=
178-
\begin{pmatrix}
179-
\|\vec{V}_{xy}\|(\cos(\phi_{R})\cos(\phi_{(\vec{V}_{xy}, \vec{V}_x)}) \mp
180-
\sin(\phi_{R})\sin(\phi_{(\vec{V}_{xy}, \vec{V}_x)})) \\
181-
\|\vec{V}_{xy}\|(\pm \sin(\phi_{R})\cos(\phi_{(\vec{V}_{xy}, \vec{V}_x)}) + \cos(\phi_{R})\sin(\phi_{(\vec{V}_{xy}, \vec{V}_x)})) \\
182-
\|\vec{V}\|\cos(\phi_{(\vec{V}, \vec{V}_z)})
183-
\end{pmatrix}
184-
\\
185-
= \begin{pmatrix}
186-
\cos(\phi_R) & \mp \sin(\phi_R) & 0 \\
187-
\pm \sin(\phi_R) & \cos(\phi_R) & 0 \\
188-
0 & 0 & 1
189-
\end{pmatrix}
190-
\times
191-
\begin{pmatrix}
192-
\cos(\phi_{(\vec{V}_{xy}, \vec{V}_x)}) \\
193-
\sin(\phi_{(\vec{V}_{xy}, \vec{V}_x)}) \\
194-
\cos(\phi_{(\vec{V}, \vec{V}_z)}) \\
195-
\end{pmatrix}
196-
\times
197-
\begin{pmatrix}
198-
\|\vec{V}_{xy}\| \\
199-
\|\vec{V}_{xy}\| \\
200-
\|\vec{V}\|
201-
\end{pmatrix}^\top
180+
\vec{V}^{'} = R_z(\pm \hat{\Phi_R}) \times \vec{V} \\
181+
=
182+
\begin{pmatrix}
183+
\|\vec{V}_{xy}\|(\cos(\phi_{R})\cos(\phi_{(\vec{V}_{xy}, \vec{V}_x)}) \mp
184+
\sin(\phi_{R})\sin(\phi_{(\vec{V}_{xy}, \vec{V}_x)})) \\
185+
\|\vec{V}_{xy}\|(\pm \sin(\phi_{R})\cos(\phi_{(\vec{V}_{xy}, \vec{V}_x)}) + \cos(\phi_{R})\sin(\phi_{(\vec{V}_{xy}, \vec{V}_x)})) \\
186+
\|\vec{V}\|\cos(\phi_{(\vec{V}, \vec{V}_z)})
187+
\end{pmatrix}
188+
\\
189+
= \begin{pmatrix}
190+
\cos(\phi_R) & \mp \sin(\phi_R) & 0 \\
191+
\pm \sin(\phi_R) & \cos(\phi_R) & 0 \\
192+
0 & 0 & 1
193+
\end{pmatrix}
194+
\times
195+
\begin{pmatrix}
196+
\cos(\phi_{(\vec{V}_{xy}, \vec{V}_x)}) \\
197+
\sin(\phi_{(\vec{V}_{xy}, \vec{V}_x)}) \\
198+
\cos(\phi_{(\vec{V}, \vec{V}_z)}) \\
199+
\end{pmatrix}
200+
\times
201+
\begin{pmatrix}
202+
\|\vec{V}_{xy}\| \\
203+
\|\vec{V}_{xy}\| \\
204+
\|\vec{V}\|
205+
\end{pmatrix}^\top
202206
$$
207+
203208
* A set of rotations could be achieved by multiplying the rotation matrices to get the final rotation matrix, and then multiply it with the vector coordinates.
204209

205210
> [!TIP]
206211
> **Proof:**
207212
> * The rotation matrix could be derived from the result of the addition trigonometric identities retrieved after adding the angle $\phi_{R}$ to the initial angle $\phi_{0}$.
208213
> * The resulting vector (v') could be obtained by other means:
209214
> 1) Adding the angle of rotation to the initial angle and constructing the rectangular coordinates from the polar vector.
210-
> 2) Deriving the final vector (v') by evaluating the addition trigonometeric identities (i.e., $cos(\phi_0 \pm \phi_R)$ and $sin(\phi_0 \pm \phi_R)$).
215+
> 2) Deriving the final vector (v') by evaluating the addition trigonometeric identities (i.e., $\cos(\phi_0 \pm \phi_R)$ and $\sin(\phi_0 \pm \phi_R)$).
216+
217+
* Mathematical Modelling: Errors of Rotation and Error Handling Techniques.
211218

212-
* Mathematical Modelling: Errors of Rotation and Error Handling Techniques.
213219

214220
* Mathematical-Physical Model of angular (or rotational) motion in R(2) and R(3) vectorspaces:
215221
(WIP)

0 commit comments

Comments
 (0)