Problem with solving equation of motion

In summary: Welcome to PF;Yes, sort of. The force starts to act after 2 seconds, first 2 seconds body moves with constant velocity. And force acts in opposite direction of the initial velocity on the same x-axis, yes.
  • #1
dosvarog
3
0
Hello everybody, this is my first time posting here, so if I make any errors, correct me please. :)

Homework Statement


We have a body of mass 2 kg and it starts to move with constant velocity 5 m/s along a straight line. After 2 seconds a force that decreases with square of the distance starts to act on a body. Amount of the force at the moment it started to act is 10 N. After what time the speed of the body will be equal to half of its initial value? How far from the starting position body will be at that moment?

I hope everything is clear since this is rough translation from my language. :)

So, we have:

[itex]m = 2~kg[/itex] - mass of a body
[itex]v_0 = 5~m/s[/itex] - initial constant velocity
[itex]{F_x}_0 = 10~N[/itex] - amount of force that starts to act at position ##x_0##
[itex]{t_x}_0 = 2~s[/itex] - time that passes when body reaches position ##x_0##
##F \propto 1/x^2## - force that decreases with square of a distance
##x_0## - distance that body moves with constant velocity

Homework Equations


Ok, now we can set the equation of motion. Since we have time and velocity with simple ##x_0~=~v_0*{t_x}_0## (because first 2 seconds body moves with constant velocity) we can calculate distance ##x_0## which is 10 m.
For force F we can write ##F = k/x^2##.
Given the initial amount of force and distance ##x_0## that we calculated we get that ##k = 1000~Nm^2##

Equation of motion would then be:

##\ddot{x}*m = -k/x^2##

The Attempt at a Solution


Now the fun part. This is second-order nonlinear ordinary differential equation, which complicates things a bit.
So, basically I did this:

##\ddot{x} = -k/mx^2##

Then I made substitution ##\dot{x} = p(x)##, here p is function of x which means that ##\ddot{x} = p\dot{p}##.

That yields:

##p\frac{dp}{dx} = -a\frac{1}{x^2}## where ##a = k/m##

I separate the variables and integrate which yields:

##p^2/2 = a/x + C1##

Then I get constant C1 by plugging initial values:
##\frac{{v_0}^2}{2} - \frac{k}{mx_0} = C1 \Rightarrow C1 = -37.5##

Now I can calculate ##x_1##, a position where body has half of its initial velocity, that is 2.5 m/s:

##\frac{{\dot{x_1}}^2}{2} = \frac{k}{mx_1} - 37.5## where ##\dot{x_1} = \frac{\dot{x_0}}{2}##

which gives ##x_1 = 12.31~m## (note: ##x_1## is distance from ##x_0## because of initial conditions)

The problem is, how to get time? If I go and integrate this DE second time, I would get ##x(t)## and solve it, but the integral I have to solve is pretty nasty and I don't know how to solve it. Is there maybe some other way or some kind of catch that I'm missing here?
 
Last edited:
Physics news on Phys.org
  • #2
Welcome to PF;
dosvarog said:
We have a body of mass 2 kg and it starts to move with constant velocity 5 m/s along a straight line. After 2 seconds a force that decreases with square of the distance starts to act on a body. Amount of the force at the moment it started to act is 10 N. After what time the speed of the body will be equal to half of its initial value? How far from the starting position body will be at that moment?

I hope everything is clear since this is rough translation from my language. :)

OK - the problem statement is incomplete. However, from the context and what follows I can fill in the gaps. The origin for the force is the same place that the object started from, and the force acts in the opposite direction to the initial velocity of the object. Is that correct?

So you can end up with: $$mx^2\ddot{x}=-k \; : \; \dot{x}(2)=5\text{m/s}\; , \; x(2)=10\text{m}$$

Now the fun part. This is second-order nonlinear ordinary differential equation, which complicates things a bit.
So, basically I did this:

##\ddot{x} = -k/mx^2##

Then I made substitution ##\dot{x} = p(x)##, here p is function of x which means that ##\ddot{x} = p\dot{p}##.
... surely, if ##\dot{x}=p##, then ##\ddot{x}=\dot{p}## ?
 
Last edited:
  • #3
Simon Bridge said:
Welcome to PF;

OK - the problem statement is incomplete. However, from the context and what follows I can fill in the gaps. The origin for the force is the same place that the object started from, and the force acts in the opposite direction to the initial velocity of the object. Is that correct?

So you can end up with: $$mx^2\ddot{x}=-k \; : \; \dot{x}(2)=5\text{m/s}\; , \; x(2)=10\text{m}$$
Thank you.

Yes, sort of. The force starts to act after 2 seconds, first 2 seconds body moves with constant velocity. And force acts in opposite direction of the initial velocity on the same x-axis, yes.
That's what I came up with also.
Simon Bridge said:
... surely, if ##\dot{x}=p##, then ##\ddot{x}=\dot{p}## ?
Erm, not really. This is 2nd-order nonlinear DE we are dealing with and in this substitution p is function of x, which means when you derive x' you apply a chain rule.
See (2) here.

I understand this is mostly a math problem, but I'm not very good at physics so maybe I am missing something here which would allow me to get that time without messing with integrals. Because you will get something like this:

##\int \frac{1}{\sqrt{\frac{a}{x} -~b}}\,dx = \int\,dt##

And first integral is not really a nice one :biggrin:.
 
  • #4
I don't know if you set up the integral correctly or not, but by factoring out a b you can do a nice trigonometric substitution for it. The math is a tad bit hairy, but if you are already doing differential equations, it shouldn't be too much of a problem.
 
  • #5
Just a thought, may not work:

F(x)/m = a = -k/mx2 = dv/dt
k obtained from F(10) = 10
dv/dt = dv/dx dx/dt = v dv/dx
v dv/dx = -k/mx2
which can easily be solved by separation of variables, yielding v(x) using your given initial condition.

Then x2 d2x/dt2 = -k/m
= x2 d/dt dx/dt = x2 dv/dt = x2 dv/dx dx/dt
Again use separation of variables to solve for v(t).
 
  • #6
in this substitution p is function of x,
Ah... and you've adjusted the original post to clarify that I see, well done.

Yeh - wen you make a substitution like that you lose the time information.

Looks like the first part of rude_man's post is pretty much what you did and the second half contains a way forward. You may not need the equation of x(t) (or t(x) as it may be) because you already have the v and you've found the x. Let us know how you got on.
 
  • #7
Actually the equation x''=-k/x^2 yields an x function that can't be written in terms of elementary functions.
 
  • #8
Simon Bridge said:
Ah... and you've adjusted the original post to clarify that I see, well done.

Yeh - wen you make a substitution like that you lose the time information.

Looks like the first part of rude_man's post is pretty much what you did and the second half contains a way forward. You may not need the equation of x(t) (or t(x) as it may be) because you already have the v and you've found the x. Let us know how you got on.
Hm, I wrote it in the first place, maybe you missed it at first ;)

Well, I've managed to solve integral with a special substitution. A bit of a hairy math, but solvable.
TheEtherWind said:
Actually the equation x''=-k/x^2 yields an x function that can't be written in terms of elementary functions.
Yes, it can be.
 
  • #9
If you can solve for x in this type of equation in elementary functions, ln(f(x)) + g(x) = t let me know
 
  • #10
dosvarog said:
Hm, I wrote it in the first place, maybe you missed it at first ;)
... and the "last edited" time makes that ambiguous. It is possible though and I have no reason to argue ;)
Well, I've managed to solve integral with a special substitution. A bit of a hairy math, but solvable.
Great - what was your solution?
 

1. What is the equation of motion?

The equation of motion is a mathematical representation of the relationship between an object's position, velocity, and acceleration. It is typically written as x = x0 + v0t + 1/2at2, where x is the position, v0 is the initial velocity, a is the acceleration, and t is time.

2. Why is it important to solve equations of motion?

Solving equations of motion allows us to predict the future motion of an object based on its initial conditions and the laws of physics. This is crucial for understanding and analyzing the behavior of objects in motion, such as projectiles, vehicles, and celestial bodies.

3. What are some common challenges in solving equations of motion?

One of the main challenges in solving equations of motion is dealing with non-constant acceleration. This often requires the use of calculus or numerical methods. Another challenge is accurately accounting for all forces acting on the object, including air resistance, friction, and external forces.

4. How do you know if you have solved an equation of motion correctly?

If you have correctly solved an equation of motion, the values you calculate for the object's position, velocity, and acceleration should match the real-world observations or experimental data. Additionally, the solution should follow the expected physical laws, such as the conservation of energy and momentum.

5. Can equations of motion be applied to all types of motion?

Equations of motion can be applied to any type of motion, as long as the motion can be described as a continuous change in position over time. This includes linear, circular, and projectile motion. However, the specific equations and techniques used may vary depending on the type of motion and the forces involved.

Similar threads

  • Introductory Physics Homework Help
Replies
2
Views
449
  • Introductory Physics Homework Help
Replies
17
Views
1K
  • Introductory Physics Homework Help
Replies
13
Views
729
  • Introductory Physics Homework Help
Replies
24
Views
262
  • Introductory Physics Homework Help
Replies
20
Views
1K
  • Introductory Physics Homework Help
Replies
16
Views
398
  • Introductory Physics Homework Help
Replies
19
Views
670
  • Introductory Physics Homework Help
Replies
7
Views
186
  • Introductory Physics Homework Help
Replies
4
Views
737
Back
Top