Changing the variable in a differential system

fred_91
Messages
38
Reaction score
0

Homework Statement



Hello everyone.

I have differential system consists of:
\frac{dx_1}{dt}=x_1(1-2x_1+x_2)
\frac{dx_2}{dt}=3*x_2(x_1-x_2)

I want to change variable using:
x_i=a_iz_i
i=1,2
where z is a unit vector
and rewrite the differential equations

Homework Equations





The Attempt at a Solution



For the first equation:
a_1\frac{dz_1}{dt}=a_1 z_1(1-2a_1 z_1+a_2 z_2)
a_2\frac{dz_2}{dt}=3*a_2 z_2(a_1 z_1-a_2 z_2)

Is this correct?
I didn't use the part where it say: z is unit vector.

Thanks a lot.
 
Physics news on Phys.org
welcome to pf!

hi fred_91! welcome to pf! :smile:
fred_91 said:
Is this correct?
I didn't use the part where it say: z is unit vector.

yes, that looks ok :smile:

(you can fix the "unit vector" part later :wink:)

EDIT: oh, I've misunderstood the question :rolleyes:

it meant ∑ aixi

ignore the above, and follow sharks' :smile: advice​
 
Last edited:
You should first find the derivatives of x_1 and x_2 with respect to z_i:
\frac{dx_1}{dz_1}=a_1<br /> \\\frac{dx_2}{dz_2}=a_2
Then, apply the chain rule for both.
\frac{dx_1}{dz_1}=\frac{dx_1}{dt} \times \frac{dt}{dz_1}<br /> \\\frac{dx_2}{dz_2}=\frac{dx_2}{dt} \times \frac{dt}{dz_2}
 
Last edited:


tiny-tim said:
hi fred_91! welcome to pf! :smile:


yes, that looks ok :smile:

(you can fix the "unit vector" part later :wink:)

Thank you very much :)

So, how would I use the information that z is a unit vector?

sharks: thank you, do I have to use the chain rule?
 


fred_91 said:
Thank you very much :)

So, how would I use the information that z is a unit vector?

sharks: thank you, do I have to use the chain rule?

Normally, you use the chain rule in this type of problem, to make it easier to see what derivative is required and what derivatives you already have. How did you do it?

If z is a unit vector, then what is the result of the product of two unit vectors?
 


sharks said:
Normally, you use the chain rule in this type of problem, to make it easier to see what derivative is required and what derivatives you already have. How did you do it?

If z is a unit vector, then what is the result of the product of two unit vectors?

I think I'm a bit confused now.
The question says: I have to find the differential equations for A and Z
where
x=Az and A>0 and z is a unit vector

I simply used: z_i=\frac{x_i}{a_i}
and substituted it into the original differential equations for each i
but now I'm starting to think that i made mistake.

So, using the chain rule, I have:
\frac{dx_1}{dz_1}=a_1
\frac{dx_2}{dz_2}=a_2
so
a_1=\dot{x}_1\frac{dt}{dz_1}
\frac{dz_1}{dt}=\frac{1}{a_1}\dot{x}_1
similarly for the second:
\frac{dz_2}{dt}=\frac{1}{a_2}\dot{x}_2

Is this correct?
But, I think my differential equations should be in terms of A and Z.

For the unit vector part:
dot product of 2 unit vectors:
(1,1).(1,1)=2

is this what you mean?
 
You haven't specified the exact or entire question for that matter. If the question requires "differential equations for A and Z", then you do need to give 2 differential equations, in which case your work is correct. If it had required you to give the answer is terms of z only, then you would need to work out another chain rule and you would then end up with a single differential equation, involving only a_1, a_2, z_1 and z_2, but no t.

No, a unit vector is of the form (1,0) or (0,1) for a 2D coordinate system.
 
Last edited:
Thank you.
And sorry for not specifying clearly.
The question is:
x=Az where A>0 and z unit vector. What are the differential equations for A and z?

So, does this mean my equations in the original attempt are correct?

The product of 2 unit vectors is then: (1,0).(0,1)=0
should this be included somehow?

thanks again.
 
Your equations are correct, but you need to express them in terms of \frac{dz_1}{dt} and \frac{dz_2}{dt} only (everything else should be moved to the R.H.S.).

z_1 and z_2 are unit vectors and they both have only one form (since they are both from the same given general equation, x_i=a_iz_i) either (1,0) or (0,1).
So, assuming z_1=(1,0), then z_2=(1,0).
Now, z_1 \times z_2 gives...
 
Last edited:
  • #10
this gives:
0
the cross product of a 2 by 2 is simply 1*0-1*0=0
right?
 
  • #11
fred_91 said:
this gives:
0
the cross product of a 2 by 2 is simply 1*0-1*0=0
right?

That's incorrect. The scalar product of two vectors: (A_x,B_x).(A_y,B_y) = A_x.A_y+B_x.B_y
 
  • #12
Oh right, the scalar product. this is equal 2
(sorry i thought you meant the cross product)

so, should this be included in the differential equations?
 
  • #13
Sorry, i meant 0 (not 2) :)
 
  • #14
That's incorrect. Write the two vectors (1,0) and (1,0) in their proper column forms on paper (so you can better understand), and then follow the formula that I've given above for the scalar product.
 
  • #15
Oh i see...sorry about that
I thought they have to be 2 different unit vectors: (1,0) and (0,1).

But, if they are the same: (1,0),and (1,0)
then the cross product is = 1
right?
 
  • #16
Correct. Now, you can proceed to simplify your two differential equations.
 
  • #17
\frac{dz_1}{dt}=z_1−2a_1z_1z_1 +a_2 z_1z_2
\frac{dz_2}{dt}=3a_1z_2z_1-3a_2z_2z_2
giving:
\frac{dz_1}{dt}=z_1−2a_1 +a_2
\frac{dz_2}{dt}=3a_1-3a_2

Is this correct?
 
  • #18
Correct. :smile:
 
  • #19
How can you solve this question x+y+z=1 x^2+y^2+z^2=35 x^3+y^3+z^3=97
 
  • #20
isaac200 said:
How can you solve this question x+y+z=1 x^2+y^2+z^2=35 x^3+y^3+z^3=97
Post your question in a new topic. Read the forum rules before you post or you could get banned.
 
  • #21
Thank you very much sharks.

isaac200:
i'm not quite sure. is it relevant?
 
  • #22
I have another query about this problem:
If z is a unit vector, then how can we find the derivative with respect to t?
(isnt it just 0?)

thank you
 
Last edited:
  • #23
fred_91 said:
I have another query about this problem:
If z is a unit vector, then how can we find the derivative with respect to t?
(isnt it just 0?)
If \vec z is (1,0), then \frac{d\vec z}{dx} works just like divergence of \vec z.
Another way to rewrite \vec z would be: \vec i+0\vec j
div\, \vec z=\frac{\partial 1}{\partial x}+\frac{\partial 0}{\partial y}=0
However, you are not differentiating w.r.t.x but w.r.t.t which invalidates the concept. If you want to simplify your answer, you could integrate both sides w.r.t.t but then it wouldn't help unless you have some values to plug into those equations involving a1, a2, z1, z2 and now t.
You could eliminate t by dividing those two resulting equations or simply by using chain rule on your 2 answers, to obtain a single equation involving only a1, a2, z1 and z2. But i don't think you're being asked to simplify any further in this problem.
So, to answer your question - no, you cannot differentiate with respect to t.
 
Last edited:
Back
Top