Solving a differential equation with a unit vector in it

Click For Summary
SUMMARY

The discussion focuses on solving the differential equation \(\dot{\mathbf{r}}=-kv\hat{r} - \dot{\mathbf{r}_s}\), where \(\hat{r}\) is a unit vector and \(\dot{\mathbf{r}_s}\) is a constant vector. The participants clarify that \(v\) is a constant number, not related to the magnitude of \(\dot{\mathbf{r}}\). A key insight is to replace \(\hat{r}\) with \(\frac{\vec{r}}{|\vec{r}|}\) to eliminate the unit vector, leading to a reformulated equation that can be solved in terms of \(dr/dt\) and \(r\). The original problem involves a scenario with smugglers and a coastguard cutter, emphasizing the need for a clear understanding of relative motion.

PREREQUISITES
  • Understanding of differential equations, specifically first-order linear DEs.
  • Familiarity with vector calculus and unit vectors.
  • Knowledge of relative motion concepts in physics.
  • Basic understanding of the mathematical representation of motion in two dimensions.
NEXT STEPS
  • Study the method of solving first-order linear differential equations.
  • Learn about vector calculus, focusing on unit vectors and their applications.
  • Explore relative motion problems in physics, particularly involving constant speeds.
  • Investigate alternative methods for solving differential equations involving unit vectors.
USEFUL FOR

Mathematicians, physicists, and engineering students who are tackling problems involving differential equations and relative motion dynamics.

Alexander350
Messages
36
Reaction score
1
I need to solve:
\dot{\mathbf{r}}=-kv\hat{r} - \dot{\mathbf{r}_s}
However, I do not know how to deal with the fact that there is a unit vector. How can this be done? \dot{\mathbf{r}_s} is a constant vector.
 
Physics news on Phys.org
Alexander350 said:
I need to solve:
\dot{\mathbf{r}}=-kv\hat{r} - \dot{\mathbf{r}_s}
However, I do not know how to deal with the fact that there is a unit vector. How can this be done? \dot{\mathbf{r}_s} is a constant vector.
##\hat r = \frac {\vec r}{|\vec r|}## -- Does that help?
 
Mark44 said:
##\hat r = \frac {\vec r}{|\vec r|}## -- Does that help?
This is what it was written as initially, but the problem is that the absolute value of the vector also changes with time, so I did not know what to do.
 
What is v in this problem? Is it ##|\vec v|##?
 
Mark44 said:
What is v in this problem? Is it ##|\vec v|##?
v is just a constant number.
 
I asked the wrong question. What I meant was, could v be ##|\dot r|##?
 
Mark44 said:
I asked the wrong question. What I meant was, could v be ##|\dot r|##?
No, v is just a number. It would be the same question if you replaced kv with another constant c.
 
Multiply ##\hat r## by 1, in the form of ##\frac{|r|}{|r|}##.
In other words, replace
##\dot{\mathbf{r}}=-kv\hat{r} - \dot{\mathbf{r}_s}##
with ##\dot{\mathbf{r}}=-kv\frac 1 {|r|} |r| \hat{r} - \dot{\mathbf{r}_s} = -\frac{kv}{|r|} \vec r - \dot{\mathbf{r}_s}##
Now you have a DE in terms of dr/dt and r, plus a constant.

BTW, you really should have posted this question in the Homework section.
 
Last edited:
Mark44 said:
Multiply ##\hat r## by 1, in the form of ##\frac{|r|}{|r|}##.
In other words, replace
##\dot{\mathbf{r}}=-kv\hat{r} - \dot{\mathbf{r}_s}##
with ##\dot{\mathbf{r}}=-kv\frac 1 {|r|} |r| \hat{r} - \dot{\mathbf{r}_s} = -\frac{kv}{|r|} \vec r - \dot{\mathbf{r}_s}##
Now you have a DE in terms of dr/dt and r, plus a constant.

BTW, you really should have posted this question in the Homework section.
How does this help when |r| is not constant? And where does the \frac 1 {|r|} come from on the constant?
 
Last edited by a moderator:
  • #10
Alexander350 said:
How does this help when |r| is not constant?
Are you sure that it's not constant? You didn't provide the full problem, so there's the possibility that you're making an assumption that isn't necessary. For example, if a particle is moving in a circular path at constant speed, ##\dot r## is changing, but ##|\dot r|## is constant.
Alexander350 said:
And where does the \frac 1 {|r|} come from on the constant?
It shouldn't be there. When I started to write that, I was multiplying both sides by |r|, but I changed my mind, and multiplied one term of the equation by ##\frac{|r|}{|r|}##. I have edited my earlier response and the text that you quoted.
 
  • #11
Mark44 said:
Are you sure that it's not constant? You didn't provide the full problem, so there's the possibility that you're making an assumption that isn't necessary. For example, if a particle is moving in a circular path at constant speed, ##\dot r## is changing, but ##|\dot r|## is constant.
It is definitely not constant. It is equal to the relative displacement between two things which are getting closer together over time. If it is not constant, does that make this approach impossible to solve?
 
  • #12
Can you post the actual problem statement? You've stated that v is "just a number," but I can't help thinking the v is somehow related to velocity or speed.
 
  • #13
Mark44 said:
Can you post the actual problem statement? You've stated that v is "just a number," but I can't help thinking the v is somehow related to velocity or speed.
Smugglers set off in a ship in a direction perpendicular to a straight shore and move at a constant speed v. The coastguard's cutter is a distance a along the shore from the smugglers' ship, and leaves the shore at the same time. The cutter always moves at a constant speed directly towards the smugglers' ship, and catches up with it at a distance a from the shore. How many times greater is the speed of the coastguard's cutter than the smugglers' ship?
I started with the equation \frac{d\mathbf{r_c}}{dt}=kv\frac{\mathbf{r_s}-\mathbf{r_c}}{|\mathbf{r_s}-\mathbf{r_c}|} My logic behind this was that speed of the coastguard is some multiple of the speed of the smugglers and its velocity was in the direction of their relative displacement. Then someone recommended to set \mathbf{r}=\mathbf{r}_c-\mathbf{r}_s and rewrite the equation as \dot{\mathbf{r}}=-kv\hat{r} - \dot{\mathbf{r}_s}. I set \mathbf{r_s}=\left[ \begin{array}{ccc}0\\v\end{array}\right]t and at t=0, \mathbf{r_c}=\left[\begin{array}{ccc}a\\0\end{array}\right]. I know there are other, probably better ways of solving this problem by finding components of velocity, but I wanted to try and solve it this way.
 
  • #14
I don't have time to look at this now, so maybe someone else will chime in. A possible way out is to get rid of the unit vector in your DE, since that's where the bottleneck is.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 9 ·
Replies
9
Views
903
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 65 ·
3
Replies
65
Views
8K
  • · Replies 1 ·
Replies
1
Views
2K