How do I compute jerk in 2D space for a mouse tracking task?

AI Thread Summary
The discussion focuses on calculating jerk in a 2D mouse tracking task as part of a psychology research project. The user has successfully derived formulas for displacement, velocity, and acceleration but is uncertain about the correct approach to compute jerk, which is the third derivative of position. They seek clarification on whether jerk can be calculated as acceleration divided by the time between coordinate pairs. Responses emphasize that 2D kinematics can be approached similarly to 1D, with caution advised regarding data precision and potential errors in differentiation. The user is encouraged to clarify any conflicting information found in literature regarding jerk in arm movements to better understand its applicability to their task.
YoYojimbo
Messages
2
Reaction score
0
Hi everyone,

I am a graduate student in psychology and am working on a research project where I am trying to derive the kinematics of a mouse tracking task. I am currently writing a MATLAB script to do this, and I believe my equations for velocity and acceleration are correct, but I have very little background in physics/calculus and am having difficulty computing the 3rd derivative of position, jerk. I know this forum is for high school/undergraduate level students, but I believe this question is too simple to post in the other forum.

1. Homework Statement

I have calculated the euclidean distances between all xy samples and determined the sum of the euclidean distances to determine displacement for the entire movement and the displacement between each pair of xy coordinates.

With displacement:
I have calculated the average velocity with the formula "sum of euclidean distance/total time of movement.

I have calculated the velocity profile using the the euclidean distances between each pair of xy coordinates divided by the sample rate (the time between each sample, so .5ms).
In regards to calculating acceleration, I have used the same formulas as above, but replaced displacement with velocity (the rate of change of velocity)

However, in regards to jerk (the rate of change of acceleration), I am trying to make sure I am calculating this correctly. I keep finding different formulas, but I am not certain all of them apply to 2D kinematics. If jerk is the rate of change of acceleration, am I wrong in thinking it can be calculated by acceleration divided by the time between each xy coordinate pairs?

I think my main issue is digesting the formulas. I have read quite a bit about calculating the derivatives of position, but with my limited understanding of physics, it is difficult to determine if the formulas are applicable to above mentioned 2D coordinate plane situation.

I really appreciate the any advice/help anyone can offer!

Best
 
Last edited by a moderator:
Physics news on Phys.org
The only difference between 2D and "1D" Kinematics is you have x and y components. So anything that applies to 1 dimension should easily apply to 2 with the help of a little trig and geometry. What different formulas are your getting?
 
Hi,

Thank you for the reply! I am using the following formulas.
upload_2015-1-30_11-2-5.png

upload_2015-1-30_11-2-26.png

upload_2015-1-30_11-2-45.png


Here are the jerk formulas
upload_2015-1-30_11-3-18.png

I assume this is the same as above
upload_2015-1-30_11-6-34.png

Those are the formulas I have found. The rest of the confusion comes from journal articles talking about jerk of arm movements. I am not sure if that is applicable to my situation. Does it seem like my thinking about the variables is correct?

Thank you.
 

Attachments

  • LeighJam.png
    LeighJam.png
    1.3 KB · Views: 541
YoYojimbo said:
Hi,

Thank you for the reply! I am using the following formulas.
View attachment 78416
View attachment 78417
View attachment 78418

Here are the jerk formulas
View attachment 78419
I assume this is the same as above
View attachment 78421
Those are the formulas I have found. The rest of the confusion comes from journal articles talking about jerk of arm movements. I am not sure if that is applicable to my situation. Does it seem like my thinking about the variables is correct?

Thank you.
That all looks ok, though I advise caution when dealing with real data. Each step in the differentiation chain can turn small errors into larger ones. You could apply some smoothing, but if overdone that will understate the values. You need to be aware of the precision of the original data and what that says about the answers.
You mention conflicting information regarding jerk of arms, but don't indicate what the conflict is. Is it possible those are not using "jerk" in this formal sense?
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top