Where Did My Differential Equation Solution Go Wrong?

  • Thread starter Four
  • Start date
  • Tags
    Form
In summary: The c2 term is missing, hence the solution for damp=0 will have one constant less than the general one provided for nonzero damp.In summary, the conversation discusses an equation for an object flying through space and the solution for large time increments. The solution involves finding the appropriate equation for large time increments, and it is shown that the solution for nonzero damp is accurate. However, for damp=0, the solution is not accurate and only one constant is needed instead of two.
  • #1
Four
35
0
Hi, I'm trying to solve the following equation

y'' + by' = a

But my answer doesn't make sense:

The question:
an object is flying through space, with velocity could be approximated as:
v_next = v_current + a*dt - damp*v*dt

dt - time increment taken repetitively
a - acceleration
damp - a constant

For large dt the approximation is inappropriate, find an equation that will do for large dt.My go:

it looks like the above equation is "similar" to
x'' = a - damp*x'
x'' + damp*x' = a

part 1: x_c
[tex]x'' + damp*x = 0 => r*r + damp*r = 0; r = 0, r = \frac{-1}{damp}[/tex]
[tex]x_c = c_1 + c_2e^{\frac{-t}{damp}}[/tex]

part 2: x_p
x(t) = k*t
x'' + damp*k = a
(k*t)'' = 0
[tex]k = \frac{a}{damp}[/tex]
[tex]x_p = \frac{a*t}{damp}[/tex]

part 3:
[tex]x = x_c + x_p = c_1 + c_2e^{\frac{-t}{damp}} + \frac{a*t}{damp}[/tex]
we want x' approximation so
[tex]x' = \frac{-c_2}{damp}e^{\frac{-t}{damp}} + \frac{a}{damp}[/tex]what doesn't make sense is let's say damp -> 0 then x' should be a streight line but it doesn't look like it?

Where may I have gone wrong?

Thank you
 
Last edited:
Physics news on Phys.org
  • #2
Your solution for nonzero damp looks fine to me: the system starts with some initial speed and then approaches asymptotically the so called "terminal speed", v(terminal) = a/damp, at which the pulling force balances the friction exactly: m*a = m*damp*v(terminal).

Your solution doesn't apply to damp=0 case because you assumed you got two distinct roots of the characteristic equation and hence the full general solution of the homogeneous equation in part 1. That assumption breaks down when damp =0.

When damp=0, the homogeneous diff. equation in part 1 is x" = 0.
You get a double zero root of the characteristic equation hence only one exponent which can't capture the full general solution required to depend on two arbitrary constants not one. In such cases the general prescription tells you to look for solution of other types not exp(kt). In this case the solution is a linear function xc = c1 + c2*t. The double zero root in the exponent produces only the c1 term.
 
Last edited:

FAQ: Where Did My Differential Equation Solution Go Wrong?

What does the "DE" in this equation stand for?

The "DE" stands for "differential equation".

What do the variables "y", "b", and "a" represent in this equation?

The variable "y" represents the dependent variable, "b" represents the coefficient of the first derivative term, and "a" represents the constant term.

Why is the second derivative of "y" included in this equation?

The second derivative of "y" is included in this equation because it represents the rate of change of the first derivative, which in turn represents the rate of change of the dependent variable "y". This allows us to model complex relationships between variables.

What does the coefficient "b" tell us about the equation?

The coefficient "b" tells us about the damping effect on the dependent variable "y". A larger value of "b" means a stronger damping effect, while a smaller value of "b" means a weaker damping effect.

How is this type of differential equation used in real-world applications?

This type of differential equation is often used in physics, engineering, and other scientific fields to model systems with changing variables over time, such as the motion of a pendulum or the growth of a population.

Similar threads

Replies
3
Views
3K
Replies
1
Views
1K
Replies
7
Views
3K
Replies
3
Views
2K
Replies
1
Views
2K
Back
Top