My Math Forum Derivative of a 3D vector
 User Name Remember Me? Password

 Calculus Calculus Math Forum

 September 12th, 2017, 11:46 AM #1 Newbie   Joined: Sep 2017 From: Finland Posts: 3 Thanks: 0 Derivative of a 3D vector Hi all! I'm studying game physics from this book, and having trouble figuring out how do you calculate derivatives of 3D vectors divided into components. So if I have a formula like $\displaystyle \frac{d\overline{G}}{dt}$ where the G is a vector having the X, Y and Z components, how do I calculate that (i.e. implement it in code)? Thanks in advance!
 September 12th, 2017, 11:59 AM #2 Senior Member     Joined: Sep 2015 From: Southern California, USA Posts: 1,601 Thanks: 816 what kind of code are we talking about? FORTRAN? C? Java? Python? MatLab? Mathematica? basically if you have a vector of functions just take the derivative of each element of the vector. $\vec{G} = (x(t), y(t), z(t))$ $\dfrac{d\vec{G}}{dt} = \left(\dfrac{dx}{dt}, \dfrac{dy}{dt}, \dfrac{dz}{dt}\right)$ Thanks from Country Boy and mkkekkonen Last edited by romsek; September 12th, 2017 at 12:01 PM.
 September 13th, 2017, 06:25 AM #3 Newbie   Joined: Sep 2017 From: Finland Posts: 3 Thanks: 0 Thanks for the answer, it clarified the situation a bit... I have to pick up my high school math books and study the concept of derivative some more. I'm not terribly good at math, but programming interests me greatly. The language I'm using is C#, as it's the language I've used most. The library would be MonoGame. EDIT: For clarification, is $\displaystyle \frac{d\overline{G}}{dt}$ the same as $\displaystyle \Delta\overline{G}$ in the time interval $\displaystyle \Delta t$? Last edited by mkkekkonen; September 13th, 2017 at 06:45 AM. Reason: Follow-up question
September 13th, 2017, 09:40 AM   #4
Senior Member

Joined: Sep 2015
From: Southern California, USA

Posts: 1,601
Thanks: 816

Quote:
 Originally Posted by mkkekkonen EDIT: For clarification, is $\displaystyle \frac{d\overline{G}}{dt}$ the same as $\displaystyle \Delta\overline{G}$ in the time interval $\displaystyle \Delta t$?
oy... so you don't really know what a derivative is.

Take a look at your book. I'll answer questions but this isn't a tutoring site.

 September 13th, 2017, 10:38 AM #5 Newbie   Joined: Sep 2017 From: Finland Posts: 3 Thanks: 0 I do know that it represents the rate of change at a specific point, I'm just not familiar with the $\displaystyle \frac{dx}{dy}$ representation. Thanks anyway.
September 13th, 2017, 11:02 AM   #6
Senior Member

Joined: Sep 2015
From: Southern California, USA

Posts: 1,601
Thanks: 816

Quote:
 Originally Posted by mkkekkonen I do know that it represents the rate of change at a specific point, I'm just not familiar with the $\displaystyle \frac{dx}{dy}$ representation. Thanks anyway.
the derivative is the limit of what you described as $\Delta t \to 0$

specifically

$\dfrac{dx}{dt} = \displaystyle \lim_{\Delta t \to 0} \dfrac{x(t+\Delta t)-x(t)}{\Delta t}$

But this is just it's definition. This formula is rarely used directly outside of homework problems.

 Tags derivative, vector

 Thread Tools Display Modes Linear Mode

 Similar Threads Thread Thread Starter Forum Replies Last Post BrunoMor Linear Algebra 0 December 6th, 2015 12:19 PM whitegreen Linear Algebra 1 June 9th, 2015 07:11 AM masher Calculus 0 May 19th, 2015 03:07 PM Jhenrique Linear Algebra 1 January 31st, 2014 01:43 PM Left of Zen Calculus 4 June 10th, 2010 10:19 PM

 Contact - Home - Forums - Cryptocurrency Forum - Top

Copyright © 2017 My Math Forum. All rights reserved.