Find all possible curvatures with respect to time given a specific speed

Meziel

New member
Joined
Jan 27, 2015
Messages
7
This problem is not from school but it is something I'm trying to solve for a computer program. Given an exact speed S I am trying to find find a position equation using time where I can randomize x and y, and then solve for z.

So far this is what I have:
I'm representing a vector in 3 space by < Vx(t), Vy(t), Vz(t)>
the magnitude of a velocity vector is the speed which = sqrt( Vx(t)2 + Vy(t)2 + Vz(t)2)
because my velocity is constant
S = sqrt( Vx(t)2 + Vy(t)2 + Vz(t)2)
Now I need to put this into a parametric form so solving for the Vx(t) I get
Vx(t) = sqrt( S2 - Vy(t)2 - Vz(t)2 )

Now here is the hard part. This is what I can't do. I just started calc3 and calc2 did not teach me this so here it is: I need the equation for Rx(t) so the obvious thing to do is to take the integral/anti-derivative.
so....

the integral of Vx(t) = Rx(t) = integral sqrt( S2 - Vy(t)2 - Vz(t)2 ) dt = ?

If I have done anything wrong in my problem thus far or if there is another way of doing this please let me know. Also, If you don't understand anything also tell me and I'll try to clarify. I sent a picture of the formula I'm trying to solve if that helps.
 

Attachments

  • problem.png
    problem.png
    4.9 KB · Views: 1
Last edited:
This problem is not from school but it is something I'm trying to solve for a computer program. Given an exact speed S I am trying to find find a position equation using time where I can randomize x and y, and then solve for z.

So far this is what I have:
I'm representing a vector in 3 space by < Vx(t), Vy(t), Vz(t)>
the magnitude of a velocity vector is the speed which = sqrt( Vx(t)2 + Vy(t)2 + Vz(t)2)
because my velocity is constant
S(t) = sqrt( Vx(t)2 + Vy(t)2 + Vz(t)2)
Now I need to put this into a parametric form so solving for the Vx(t) I get
Vx(t) = sqrt( S2 - Vy(t)2 - Vz(t)2 ) It looks like you are saying that S is a constant but S is a function of t. So sqrt( S2 - Vy(t)2 - Vz(t)2 ) is Vx(t)

Now here is the hard part. This is what I can't do. I just started calc3 and calc2 did not teach me this so here it is: I need the equation for Rx(t) so the obvious thing to do is to take the integral/anti-derivative.
so....

the integral of Vx(t) = Rx(t) = integral sqrt( S2 - Vy(t)2 - Vz(t)2 ) dt = ? First simplify sqrt( S2 - Vy(t)2 - Vz(t)2 ) to Vx(t) which really means you dd not get anywhere

If I have done anything wrong in my problem thus far or if there is another way of doing this please let me know. Also, If you don't understand anything also tell me and I'll try to clarify. I sent a picture of the formula I'm trying to solve if that helps.
Wait a minute. Although it has been a while since I looked at this material I think that I see where you are going wrong.

V(t)=< Vx(t), Vy(t), Vz(t)>
So R(t)= < Rx(t), Ry(t), Rz(t)>

If you know what Vx(t) is then you take the integral of it w/r/t t and you'll get Rx(t).

For example if V(t) = (3t^2, 6t, 7/t> then Rx(t) =t^3 (the integral of 3t^2 dt)
 
Last edited:
I declared S as the magnitude of the vector |v(t)| because I want the speed to stay constant. It was a given in the problem I am solving. I have Vx(t) and that is like i said the sqrt( S2 - Vy(t)2 - Vz(t)2 ).
I didn't rewrite the whole velocity vector but it is this:

V(t) = <sqrt( S2 - Vy(t)2 - Vz(t)2 ), sqrt( S2 - Vx(t)2 - Vz(t)2 ), sqrt( S2 - Vx(t)2 - Vy(t)2 )>

So like you said integrating Vx(t) isn't easy because i'm having to integrate sqrt( S2 - Vy(t)2 - Vz(t)2 ) dt where S is a constant. That is my problem.
 
Last edited:
I declared S as the magnitude of the vector |v(t)| because I want the speed to stay constant. It was a given in the problem I am solving. I have Vx(t) and that is like i said the sqrt( S2 - Vy(t)2 - Vz(t)2 ).
I didn't rewrite the whole velocity vector but it is this:

V(t) = <sqrt( S2 - Vy(t)2 - Vz(t)2 ), sqrt( S2 - Vx(t)2 - Vz(t)2 ), sqrt( S2 - Vx(t)2 - Vy(t)2 )>

So like you said integrating Vx(t) isn't easy because i'm having to integrate sqrt( S2 - Vy(t)2 - Vz(t)2 ) dt where S is a constant. That is my problem.
i do not see how S(t)= sqrt( Vx(t)2 + Vy(t)2 + Vz(t)2) is constant as it is a (non constant) function of t. If t=6 units or t =7 units why do you think that s(6) = s(7) = some constant?
 
i do not see how S(t)= sqrt( Vx(t)2 + Vy(t)2 + Vz(t)2) is constant as it is a (non constant) function of t. If t=6 units or t =7 units why do you think that s(6) = s(7) = some constant?

The reason |V(t)| is constant is because i want to traverse through an arbitrary curve at a constant speed. It's a given in the problem.
 
The reason |V(t)| is constant is because i want to traverse through an arbitrary curve at a constant speed. It's a given in the problem.

Suppose V=<3t, 5t^3, 4>. Then S^2 = (3t)^2 + (5t^3)^2 + (4)^2 which clearly is not constant.

You say that your speed, s, is constant. Fine. But how does this happen? If V = < Vx(t), Vy(t), Vz(t)> what must be true so that |V| is constant?
 
You say that your speed, s, is constant. Fine. But how does this happen? If V = < Vx(t), Vy(t), Vz(t)> what must be true so that |V| is constant?

the sqrt( Vx(t)2 + Vy(t)2 + Vz(t)2 ) = S

--------------------- below this line is not related to the problem but is an example of what i'm going for
it's like saying in a function f(t) = 4x where f(t) = a constant let's say 8
so 8 = 4x so x is 2

--------------------- back to the problem
so in |V(t)| at every interval that t increases from 0->infinity |V(t)| will always equal a constant... in the case of the problem i called it S. it could be 2, 3, 4, whatever.
so with the formula |V(t)| = sqrt( Vx(t)2 + Vy(t)2 + Vz(t)2 ) that i derived you can change this to S = sqrt( Vx(t)2 + Vy(t)2 + Vz(t)2 )
 
Suppose V=<3t, 5t^3, 4>. Then S^2 = (3t)^2 + (5t^3)^2 + (4)^2 which clearly is not constant.

Also the way you used this isn't right. S doesn't replace V(t) it replaces the magnitude of V(t) which is |V(t)|. you can find this through Pythagorean theorem.
 
Also the way you used this isn't right. S doesn't replace V(t) it replaces the magnitude of V(t) which is |V(t)|. you can find this through Pythagorean theorem.
You wrote the magnitude of a velocity vector is the speed which = sqrt( Vx(t)2 + Vy(t)2 + Vz(t)2). You found S and I found S^2. If S is constant so is S^2
 
You wrote the magnitude of a velocity vector is the speed which = sqrt( Vx(t)2 + Vy(t)2 + Vz(t)2). You found S and I found S^2. If S is constant so is S^2

I believe you are right. Even though I'm setting the magnitude as a constant it is still a function of time and needs to be integrated as such. therefore if i integrate i get 1/3|R(t)|3 = 1/3Rx(t)^3 + 1/3Ry(t)^3 + 1/3Rz(t)^3
solving for x i get Rx(t) = (|R(t)|3 - Ry(t)3 - Rz(t)3)1/3 which makes sense because if i set |V(t)| = 30 then |R(t)| = 30t. if i set Ry(t) = 0 and Rz(t) = 0 then solve for x i get 30t. The velocity of <30t, 0, 0> = <30, 0, 0> so the magnitude is 30. Thank you so much for your help.
 
Last edited:
This problem is not from school but it is something I'm trying to solve for a computer program. Given an exact speed S I am trying to find find a position equation using time where I can randomize x and y, and then solve for z.

So far this is what I have:
I'm representing a vector in 3 space by < Vx(t), Vy(t), Vz(t)>
the magnitude of a velocity vector is the speed which = sqrt( Vx(t)2 + Vy(t)2 + Vz(t)2)
because my velocity is constant
S = sqrt( Vx(t)2 + Vy(t)2 + Vz(t)2)
Now I need to put this into a parametric form so solving for the Vx(t) I get
Vx(t) = sqrt( S2 - Vy(t)2 - Vz(t)2 )

Now here is the hard part. This is what I can't do. I just started calc3 and calc2 did not teach me this so here it is: I need the equation for Rx(t) so the obvious thing to do is to take the integral/anti-derivative.
so....

the integral of Vx(t) = Rx(t) = integral sqrt( S2 - Vy(t)2 - Vz(t)2 ) dt = ?

If I have done anything wrong in my problem thus far or if there is another way of doing this please let me know. Also, If you don't understand anything also tell me and I'll try to clarify. I sent a picture of the formula I'm trying to solve if that helps.

Hi,
Just out of curiosity, and if you don't mind answering the question, do you/will you have a functional form or you doing this with a numerical integration on a time step (or some other) basis?
 
Hi,
Just out of curiosity, and if you don't mind answering the question, do you/will you have a functional form or you doing this with a numerical integration on a time step (or some other) basis?

I believe I got the answer already. < ((St)3 - Ry(t)3 - Rz(t)3)1/3 + C, ((St)3 - Rx(t)3 - Rz(t)3)1/3 + C, ((St)3 - Rx(t)3 - Ry(t)3)1/3​ + C> Where S is a constant speed.
 
Last edited:
I declared S as the magnitude of the vector |v(t)| because I want the speed to stay constant. It was a given in the problem I am solving. I have Vx(t) and that is like i said the sqrt( S2 - Vy(t)2 - Vz(t)2 ).
I didn't rewrite the whole velocity vector but it is this:

V(t) = <sqrt( S2 - Vy(t)2 - Vz(t)2 ), sqrt( S2 - Vx(t)2 - Vz(t)2 ), sqrt( S2 - Vx(t)2 - Vy(t)2 )>

So like you said integrating Vx(t) isn't easy because i'm having to integrate sqrt( S2 - Vy(t)2 - Vz(t)2 ) dt where S is a constant. That is my problem.

You have to be careful here. What you have gives a constant |V| for any three functions Vx(t), Vy(t), and Vz(t), however it does not necessarily give the proper components of the velocity vector. For example, consider the following functions
Vx = 2 t
Vy = t1/2
Vz = 1
S = 10
Note: The Vx(t), Vy(t), and Vz(t) are NOT the components of V(t). What is V(t)?

Oh, and don't forget, there is also a sign choice on square root.
 
Last edited:
Top