He estado luchando con un problema de necesidad de conocer la derivada del ángulo entre dos vectores, los vectores posiblemente siendo paralelos en algunos puntos en el tiempo. Empecé con:
$$\bf A \dot \bf B = \|A\|\|B\|\cos\theta \Rightarrow \theta=\arccos \left( \frac{\bf A \dot \bf B}{\|A\|\|B\|} \right)$$
Digamos que $\bf A$ y $\bf B$ son vectores unitarios para simplificar:
$$ \theta=\arccos \left( \bf \hat A \dot \bf \hat B \right) $$
Para encontrar la derivada del ángulo $\theta$ :
$$ \dot \theta = \frac{-1}{\sqrt{1-\left(\bf \hat A \dot \bf \hat B\right)^2}} \left[\bf \dot{\hat A}\dot \bf \hat B+\bf {\hat A}\dot \bf \dot{\hat B}\right] $$
Pero, $\bf{\hat A} \dot \bf{\hat B}=$$ 1 $ when $ \bf \hat A \bf \bf \\bhat B $ and the denominator of the expression for $ \N - Punto \N - Tetas $ becomes $ 0 $. We hence get a division by $ 0 $. Now I have tried other ways - by projecting $ \bf{hat B} $ onto $ \bf{hat A} $ and taking $ \N - Arctan $, by projecting $ \bf{hat B} $ onto a plane and forming a right-angle triangle and again taking $ \N - Arctan $. Every method I tried leads to the same singularity when $ \bf \hat A \\\\\\\\\\\bh, \bf \bhat B$.
Pregunta ¿Qué método puedo utilizar para no obtener una singularidad para $\dot\theta$ cuando $\bf{\hat A}$ se convierte en paralelo a $\bf{\hat B}$ ? Gracias.