Differential equation with cross product

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
7 replies · 11K views
alsey42147
Messages
22
Reaction score
0
ok, i don't know what to do with something like this:

(d^2R/dt^2 ) + (dR/dt) x B = 0

where the capitals are vectors (sorry i suck at latex). R is a position vector in x-y plane and B is in the z-direction.

do i split this into equations for x and y directions separately and solve them? for x-direction i would get

d^2x/dt^2 + (dy/dt)|B| = 0

but how do i solve this? I'm pretty sure all the DEs I've ever solved had, for example, d^2x/dt^2 and dx/dt in them, but not d^2x/dt^2 and dy/dt.

or is there a quick way of doing it without having to expand the cross product?

any help would be well appreciated!
 
Physics news on Phys.org
This is a SYSTEM of differential equations that you can rewrite as:
[tex]\frac{d\vec{U}}{dt}=A\vec{U}, \vec{U}=\frac{d\vec{R}}{dt}[/tex]
and A is a matrix.
If A has constant coefficients, then the system is readily solvable with eigen-vector decomposition.

Question:
Did you get this equation from a physical problem with a Coriolis term?
Just curious..

EDIT:
Insofar as B is constant, you may gain two decoupled 3.order diff.eq's in R (i.e 2.order in U).
 
Last edited:
damn, i wish i was more proficient with matrices and stuff. i might have to do a bit of quick revision.

the equation is just electron motion in a magnetic field without the constants.

my friend says that from the equation

d^2x/dt^2 + (dy/dt)|B| = 0

you just integrate to get

dx/dt + y|B| = constant

that doesn't seem quite right to me...is it? if it is that's all i need for now.
 
Is B a constant, or a function of x and y?
 
alsey42147 said:
ok, i don't know what to do with something like this:

(d^2R/dt^2 ) + (dR/dt) x B = 0

where the capitals are vectors (sorry i suck at latex). R is a position vector in x-y plane and B is in the z-direction.

do i split this into equations for x and y directions separately and solve them? for x-direction i would get

d^2x/dt^2 + (dy/dt)|B| = 0

but how do i solve this? I'm pretty sure all the DEs I've ever solved had, for example, d^2x/dt^2 and dx/dt in them, but not d^2x/dt^2 and dy/dt.

or is there a quick way of doing it without having to expand the cross product?

any help would be well appreciated!
Yes, writing R as <x, y, 0> you get
[tex]\frac{d^2x}{dt^2}+ B\frac{dy}{dt}= 0[/tex]
and
[tex]\frac{d^2y}{dt^2}- B\frac{dx}{dt}= 0[/itex]<br /> <br /> You can, as Arildno suggested, introduce [itex]u= \frac{dx}{dt}[/itex] and [itex]v= \frac{dy}{dt}[/itex] and write this as a system of 4 first order differential equations.<br /> <br /> Another way to handle it is this: differentiate the first equation again to get<br /> [tex]\frac{d^3x}{dt^3}+ B\frac{d^2y}{dt^2}= 0[/itex]<br /> and use the second equation to substitute for the second derivative of y<br /> [tex]\frac{d^3x}{dt^3}+ B^2\frac{dx}{dt}= 0[/tex]<br /> That's easy to solve.<br /> <br /> Once you know x(t), you can use the first equation to solve for [itex]\frac{dy}{dt}[/itex] and integrate once more to find y(t).<br /> <br /> (I just noticed J77's comment. I am assuming here that B is a constant.)[/tex][/tex]
 
Last edited by a moderator:
awesome, thanks. and yes B is constant.
 
alsey42147 said:
damn, i wish i was more proficient with matrices and stuff. i might have to do a bit of quick revision.

the equation is just electron motion in a magnetic field without the constants.

my friend says that from the equation

d^2x/dt^2 + (dy/dt)|B| = 0

you just integrate to get

dx/dt + y|B| = constant

that doesn't seem quite right to me...is it? if it is that's all i need for now.

You can certainly use your friend's trick in the case of constant B. It doesn't help you an overly lot, though, compared to other techniques mentioned.