c0dy said:
Homework Statement
http://i.imgur.com/zmtJ64Z.jpg
Homework Equations
B is a column vector {{0},{0},{1}}
E is a column vector {{1},{0},{0}}
v(t) is also a column vector {{v_1},{v_2},{v_3}}
The Attempt at a Solution
I have calculated v(t) x B to get (v_2,-v_1,0) and I made a matrix,
| 0 1 0|
|-1 0 0| = A
| 0 0 0|
and now I have dv/dt = A*v + E
Am I going about this correctly? Do I integrate with respect to t? I'm not exactly sure how to solve a problem like this. The assignment is to do this in mathematica but I'd like to understand how to solve the problem first.
There are a couple of ways to solve such problems.
(1) Assume a form of solution, and find the parameters that "work".
(2) Use a matrix exponential.
For your system, the z-component is separate and easy, while the x and y components give x' = y, y' = -x.
Method(1): Assuming x = a*exp(r*t) and y = b*exp(r*t) [same r in both!] you have:
x' = r a e^{rt} = y = b e^{rt}\\<br />
y' = r b e^{rt} = -x = -a e^{rt}\\<br />
\text{so}\\<br />
ra = b,\; rb = -a\; \Longrightarrow r^2 a = -a.
If a = 0 then also b = 0, and so 0 is the solution. If a ≠ 0 then ##r^2 = -1##, so ##r = \pm i##. That means that we have solutions involving ##\exp(\pm i t)##, or--in real terms--##\cos(t),\; \sin(t).##
Method (2) The solution of X' = AX (A = constant) is X = C*exp(A*t). If A is a (square) matrix, you need a way to compute the matrix exponential. This can be done using an eigenvalue/eigenvector expansion of the matrix A. In a computer algebra system such as Maple or Mathematica, this can be done at the push of a button. For example, in Maple we have:
A:=Matrix(3,3,[[0,1,0],[-1,0,0],[0,0,0]]):
Et:=MatrixExponential(A,t); <---- compute the exponential of A*t
The answer, in LaTeX form, is:
Et = \pmatrix{\cos(t)&\sin(t)&0\\-\sin(t)&\cos(t)&0\\0&0&1}