Differential equation with cross product

  • Thread starter alsey42147
  • Start date
  • #1
22
0

Main Question or Discussion Point

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!!
 

Answers and Replies

  • #2
arildno
Science Advisor
Homework Helper
Gold Member
Dearly Missed
9,970
131
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:
  • #3
dextercioby
Science Advisor
Homework Helper
Insights Author
12,981
540
Maybe [itex] \vec{B} [/itex] is the magnetic field and he chose units such as q=1...
 
  • #4
22
0
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.
 
  • #5
J77
1,076
1
Is B a constant, or a function of x and y?
 
  • #6
HallsofIvy
Science Advisor
Homework Helper
41,808
933
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]

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.

Another way to handle it is this: differentiate the first equation again to get
[tex]\frac{d^3x}{dt^3}+ B\frac{d^2y}{dt^2}= 0[/itex]
and use the second equation to substitute for the second derivative of y
[tex]\frac{d^3x}{dt^3}+ B^2\frac{dx}{dt}= 0[/tex]
That's easy to solve.

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).

(I just noticed J77's comment. I am assuming here that B is a constant.)
 
Last edited by a moderator:
  • #7
22
0
awesome, thanks. and yes B is constant.
 
  • #8
arildno
Science Advisor
Homework Helper
Gold Member
Dearly Missed
9,970
131
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.
 

Related Threads on Differential equation with cross product

  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
2
Views
615
  • Last Post
Replies
2
Views
648
  • Last Post
Replies
3
Views
3K
Replies
6
Views
5K
  • Last Post
Replies
2
Views
2K
Top