- #1
Phudge
- 1
- 0
Hi.
So I have this vector function which I need to differentiate, it is however very tricky to do by hand, so I'm doing it in Mathematica.
[tex]\hat{u}=\left\langle\bar{u}+\bar{r}\frac{(1+\gamma)}{r(r+\bar{u}\cdot \bar{r})}\right\rangle[/tex]
(The brackets denote normalisation)
I want to do this differentiation for the different components of r but first I want to show:
[tex]\frac{\partial\hat{u}}{\partial\gamma}=(\bar{r}-\bar{u}(\bar{u}\cdot\bar{r})\frac{1}{r(r+\bar{u}\cdot\bar{r})}[/tex]
which I know to be correct from the paper I am basing my work on.
So my question to you guys is, how would I show that equality in Mathematica?
So I have this vector function which I need to differentiate, it is however very tricky to do by hand, so I'm doing it in Mathematica.
[tex]\hat{u}=\left\langle\bar{u}+\bar{r}\frac{(1+\gamma)}{r(r+\bar{u}\cdot \bar{r})}\right\rangle[/tex]
(The brackets denote normalisation)
I want to do this differentiation for the different components of r but first I want to show:
[tex]\frac{\partial\hat{u}}{\partial\gamma}=(\bar{r}-\bar{u}(\bar{u}\cdot\bar{r})\frac{1}{r(r+\bar{u}\cdot\bar{r})}[/tex]
which I know to be correct from the paper I am basing my work on.
So my question to you guys is, how would I show that equality in Mathematica?