Vector Calculus

1 Derivative normal vector repect to time

Let's denote the unit normal vector as:

\[\mathbf{n}
=\frac{\mathbf{e}_a\times\mathbf{e}_b}{\|\mathbf{e}_a\times\mathbf{e}_b\|}
= \frac{1}{\|\mathbf{e}_a\times\mathbf{e}_b\|} \cdot \mathbf{e}_a\times\mathbf{e}_b
\]

Where \(\times\) denotesthecrossproduct,and \(\parallel \cdot \parallel\) denotes the norm.

Now, let's find the time derivative \(\frac{d\mathbf{n}}{dt}\).

We'll use the product rule, chain rule, and quotient rule as necessary.

\[\frac{d\mathbf{n}}{dt} = \frac{1}{\|\mathbf{e}_a \times \mathbf{e}_b\|} \cdot \frac{d}{dt}(\mathbf{e}_a \times \mathbf{e}_b) - \frac{(\mathbf{n} \cdot (\mathbf{e}_a \times \mathbf{e}_b)) \cdot \frac{d}{dt}(\mathbf{e}_a \times \mathbf{e}_b)}{\|\mathbf{e}_a \times \mathbf{e}_b\|^2}
\]

1.1 Derivative vector norm repect to time

Let's denote \(\mathbf{v}=\mathbf{e}_a\times\mathbf{e}_b\). The norm of v is given by \(\|\mathbf{v}\|=\sqrt{\mathbf{v}\cdot\mathbf{v}}.\)

Now, let's find the derivative of the norm with respect to time \(t\)

\[\frac d{dt}\|\mathbf{v}\|=\frac1{2\sqrt{\mathbf{v}\cdot\mathbf{v}}}\cdot\frac d{dt}(\mathbf{v}\cdot\mathbf{v})
\]

Applying the chain rule and the product rule:

\[\frac d{dt}\|\mathbf{v}\|=\frac1{2\|\mathbf{v}\|}\cdot\frac d{dt}(\mathbf{v}\cdot\mathbf{v})
\]

Now, expand the dot product \(\mathbf{v}\cdot\mathbf{v}:\)

\[\frac{d}{dt}\|\mathbf{v}\|=\frac{1}{2\|\mathbf{v}\|}\cdot\frac{d}{dt}(\mathbf{e}_a\times\mathbf{e}_b\cdot\mathbf{e}_a\times\mathbf{e}_b)
\]

Apply the product rule and the chain rule:

\[\frac{d}{dt}\|\mathbf{v}\|=\frac{1}{2\|\mathbf{v}\|}\cdot\left(2(\mathbf{e}_a\times\mathbf{e}_b)\cdot\frac{d}{dt}(\mathbf{e}_a\times\mathbf{e}_b)\right)
\]

X Ref

  1. 《Rigid Body Dynamics Lecture Notes》by David Baraff
  2. ChatGPT 3.5

Derivative norm vector repect to time 《PBM by Pixar》 Appendix D.2 code的更多相关文章

  1. 《条目十八》避免使用vector<bool>

    <条目十八>避免使用vector 先说结论: 一是:vector<bool>不是标准容器,因为标准容器的对于T *p = &c[0];必须是可编译的. 二是:vecto ...

  2. 《条目十六》如何将vector和string的数据传给遗留的API

    <条目十六>如何将vector和string的数据传给遗留的API 优秀的代码是可以延续的,所以并非所有的代码都是重构的,而且有时候重构会对整个系统影响较大,投入巨大,得不偿失.然而,也不 ...

  3. 《JAVA与模式》之观察者模式

    转自:http://www.cnblogs.com/java-my-life/archive/2012/05/16/2502279.html 在阎宏博士的<JAVA与模式>一书中开头是这样 ...

  4. 容器使用的12条军规——《Effective+STL中文版》试读

    容器使用的12条军规——<Effective+STL中文版>试读     还 记的自己早年在学校学习c++的时候,老师根本就没有讲STL,导致了自己后来跟人说 起会C++的时候总是被鄙视, ...

  5. ETHREAD APC 《寒江独钓》内核学习笔记(4)

    继续学习windows 中和线程有关系的数据结构: ETHREAD.KTHREAD.TEB 1. 相关阅读材料 <windows 内核原理与实现> --- 潘爱民 2. 数据结构分析 我们 ...

  6. 《图书管理系统——java》

    /* (程序头部凝视開始) * 程序的版权和版本号声明部分 * Copyright (c) 2011, 烟台大学计算机学院学生 * All rights reserved. * 文件名:    < ...

  7. 《C++ Primer Plus》学习笔记10

    <C++ Primer Plus>学习笔记10 <<<<<<<<<<<<<<<<<&l ...

  8. 读书笔记 之《Thinking in Java》(对象、集合)

    一.前言: 本来想看完书再整理下自己的笔记的,可是书才看了一半发现笔记有点多,有点乱,就先整理一份吧,顺便复习下前面的知识,之后的再补上. 真的感觉,看书是个好习惯啊,难怪人家说"书籍是人类 ...

  9. 《Effective Modern C++》翻译--简单介绍

    北京时间2016年1月9日10:31:06.正式開始翻译.水平有限,各位看官若有觉得不妥之处,请批评指正. 之前已经有人翻译了前几个条目,有些借鉴出处:http://www.cnblogs.com/m ...

  10. 2017-2018-2 20155314《网络对抗技术》Exp7 网络欺诈防范

    2017-2018-2 20155314<网络对抗技术>Exp7 网络欺诈防范 目录 实验目标 实验内容 实验环境 基础问题回答 预备知识 实验步骤 1 利用setoolkit建立冒名网站 ...

随机推荐

  1. HTB-Permx靶机笔记

    Permx靶机笔记 概述 permx靶机是HTB的简单靶机,这台靶机整体考验渗透人员的信息搜集能力,可以收只有信息搜集的快速,才能快速拿到它的flag. 整体是比较简单的靶机 靶机连接:https:/ ...

  2. nginx配置web服务|反向代理|负载均衡

    目录 http模块 server模块(虚拟主机配置) location模块 基本语法 匹配类型 等号匹配(=) 正则匹配(~) 忽略大小写的正则匹配(~*) 常见指令 嵌套 location 反向代理 ...

  3. Vim 全局配置 / 设置鼠标模式

    新搞的 Linux (Debian) 上的 vim 一右击粘贴就变成 insert (Visual) 模式,上网查了一下,要 set mouse=,但是每次设置太麻烦了,另外我也想改一下全局配色. 定 ...

  4. java汉字占用字节

    若使用utf-8编码,中文占3个字节,英文的话只占一个字节 System.out.println("人".getBytes().length); 输出3 若使用unicode编码, ...

  5. 瑞芯微 | 摄像头ov13850移植笔记

    <1.瑞芯微rk356x板子快速上手> <2.Linux驱动|瑞芯微rtc-hym8563移植笔记> <3.Linux驱动 | Linux内核 RTC时间架构-基于瑞芯微 ...

  6. Windows下cmd中cd命令不起作用的原因和解决办法

    Windows下cmd中cd命令不起作用的原因和解决办法 如图:cd命令无效 原因:windows系统cmd换目录跨磁盘的话需要先进行磁盘的转换

  7. cnetos7.3离线安装vscode

    1.从官网下载压缩包(话说下载下来解压就直接可以运行了咧,都不需要make) #下载vscode包 访问Visual Studio Code官网 https://code.visualstudio.c ...

  8. 7.22-27MY&MS&ORA等SQL数据库提权

    7.22-27MY&MS&ORA等SQL数据库提权 思路:在利用系统溢出漏洞无果情况下,可以采用数据库提权: 前提:数据库服务开启,且获得数据库最高权限账号密码:除Access数据库外 ...

  9. opencv colors

    """ 在利用python进行画图时,我们可能常常用的颜色就是'k'黑色,'r'红色,'b'蓝色,'g'绿色等,这些颜色分别代表常见的 几种颜色.但是当我们画图比较多时, ...

  10. libtool版本错配(libtool version mismatch)

    当使用configure和makefile编译项目时,出现如下报错: libtool: Version mismatch error. This is libtool 2.4.6, but the`` ...