Deriving the particle's motion using numerical integration

Click For Summary

Homework Help Overview

The discussion revolves around deriving the motion of a particle under the influence of a resistive force proportional to its velocity, using numerical integration techniques. The original poster expresses confusion regarding the transition from differential equations to finite summations, particularly due to the self-referential nature of the acceleration depending on velocity.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the formulation of the problem using numerical integration, questioning how to express acceleration in terms of finite differences. There is a focus on the relationship between velocity and acceleration, and how to update velocity iteratively based on previous values.

Discussion Status

Some participants have offered guidance on rewriting the equations in terms of finite differences and have pointed out the importance of small time intervals for accuracy. There is acknowledgment of the potential for overthinking the problem, and a few participants suggest that the basic numerical integration method discussed may suffice for the original poster's needs.

Contextual Notes

Participants note the constraints of the problem, including the requirement to adjust scales for simplicity and the need for dimensional analysis to understand the dependencies of time and distance on the initial speed, mass, and resistive force constant.

theblazierbroom
Messages
9
Reaction score
1
Homework Statement
A particle of mass m moves along a straight line. Its motion is resisted by a force proportional to its velocity, F=-k*v. It starts with speed v = v_0 at x = 0 and t = 0.

(a) Find x as a function of t by numerical integration.
(b) Find the time t_1/2 required to lose half its speed, and the maximum distance x_max attained.

Notes:
(1) Adjust the scales of x and t so that the equation of motion has simple numerical coefficients.
(2) Invent a scheme to attain good accuracy with a relatively coarse interval for delta t.
(3) Use dimensional analysis to deduce how t_1/2 and x_max should depend upon v_0, k, and m, and solve for the actual motion only for a single convenient value of v_0, say v_0 = 1.00 (in modified x and t units).
Relevant Equations
x(t_n) = \sum{i=0}^{n}{v(t_i)} * delta t
v(t_n) = \sum{i=0}^{n}{a(t_i)} * delta t
When I used differential equation techniques, I found the function of x and v to be a negative exponential function.

However, based on the notes, I believe the problem wants me to use finite summations as the relevant equations above. This stumps me because the acceleration is dependent on the velocity, and I get stuck in this self-referential thought process.

I believe figuring out a solution to this problem would help me better understand the thought process behind integration. I would appreciate any guidance!
 

Attachments

  • IMG_0068.jpg
    IMG_0068.jpg
    36.4 KB · Views: 72
Physics news on Phys.org
theblazierbroom said:
Homework Statement: A particle of mass m moves along a straight line. Its motion is resisted by a force proportional to its velocity, F=-k*v. It starts with speed v = v_0 at x = 0 and t = 0.

(a) Find x as a function of t by numerical integration.
(b) Find the time t_1/2 required to lose half its speed, and the maximum distance x_max attained.

Notes:
(1) Adjust the scales of x and t so that the equation of motion has simple numerical coefficients.
(2) Invent a scheme to attain good accuracy with a relatively coarse interval for delta t.
(3) Use dimensional analysis to deduce how t_1/2 and x_max should depend upon v_0, k, and m, and solve for the actual motion only for a single convenient value of v_0, say v_0 = 1.00 (in modified x and t units).
Relevant Equations: x(t_n) = \sum{i=0}^{n}{v(t_i)} * delta t
v(t_n) = \sum{i=0}^{n}{a(t_i)} * delta t

When I used differential equation techniques, I found the function of x and v to be a negative exponential function.

However, based on the notes, I believe the problem wants me to use finite summations as the relevant equations above. This stumps me because the acceleration is dependent on the velocity, and I get stuck in this self-referential thought process.

I believe figuring out a solution to this problem would help me better understand the thought process behind integration. I would appreciate any guidance!
Can you rewrite ##\ddot x## in terms of the approximate finite differences ## \Delta v ## and ##\Delta t ## for us?

The thing about the "apparent" circular reasoning, is it isn't circular reason. You should revisit Reimann Sums. The idea is you are getting the future value of ##v## by using the current value of ##v##. So how do you get from the first value of ##v_t## to the next ##v_{t +\Delta t }## given you know how it accelerates when it has some particular ##v## via Newtons Second?
 
Last edited:
erobz said:
Can you rewrite ##\ddot x## in terms of ## \Delta v ## and ##\Delta t ## for us?
Wait, so set ## \Delta v ## / ##\Delta t## = - (k/m) * v?
So then if I do ## \Delta v ## = - (k/m) * v * ## \Delta t ##, then I set v in the RHS as the velocity from the previous interval?
 
theblazierbroom said:
Wait, so set ## \Delta v ## / ##\Delta t## = - (k/m) * v?
So then if I do ## \Delta v ## = - (k/m) * v * ## \Delta t ##, then I set v in the RHS as the velocity from the previous interval?
As long as the time interval is small enough.

$$\Delta v \approx -\left. \frac{k}{m} v \right|_{t} ~\Delta t $$

If you have more precise questions involving the mathematics someone will be probably along that can go over the fine details (I'm scarcely qualified). I'm just trying to get you out of the "self referential loop". :smile:
 
Last edited:
erobz said:
As long as the time interval is small enough.

$$\Delta v \approx -\frac{k}{m} v \Delta t $$

If you have more precise questions involving the mathematics someone will be along that can go over the official stuff I'm sure (I'm scarcely qualified). I'm just trying to get you out of the "self referential loop". :)
I see, you helped me get out. I think some good amount of overthinking was occurring in my head haha Thanks!
 
  • Like
Likes   Reactions: erobz
erobz said:
As long as the time interval is small enough.

$$\Delta v \approx -\left. \frac{k}{m} v \right|_{t} ~\Delta t $$

If you have more precise questions involving the mathematics someone will be probably along that can go over the fine details (I'm scarcely qualified). I'm just trying to get you out of the "self referential loop". :smile:
It should be pointed out that this (essentially the forward Euler method) is the most basic way of numerically integrating an ODE. If you need higher precision and/or stability, there are more advanced methods.

However, for the purposes of the OP, this is probably fine. It is however an interesting exercise to compare the numerical solution to the analytical one.
 
  • Like
Likes   Reactions: PhDeezNutz and erobz

Similar threads

  • · Replies 13 ·
Replies
13
Views
1K
  • · Replies 20 ·
Replies
20
Views
2K
Replies
25
Views
1K
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 12 ·
Replies
12
Views
4K
Replies
4
Views
1K
Replies
2
Views
3K
Replies
40
Views
4K
  • · Replies 20 ·
Replies
20
Views
1K