Second Order Seperable Differential Equations

Click For Summary

Discussion Overview

The discussion focuses on solving a second order separable differential equation of the form d²x/dt² = (dx/dt)². Participants explore various methods of solving the equation, share their attempts, and seek clarification on their approaches and results.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents their method of substitution and integration, leading to a proposed solution of x = t - (t²)/2, but questions its correctness.
  • Another participant identifies a potential mistake in the integration process, suggesting a review of the steps taken after separating variables.
  • A participant acknowledges a misunderstanding regarding the signs in their calculations, leading to incorrect results.
  • There is a suggestion that a minus sign may be the source of confusion when comparing logarithmic forms of the solution.
  • Another participant proposes a different approach, emphasizing the importance of retaining integration constants until the final solution is reached, leading to a general solution of x = ln(C/(t+C)).
  • This participant also provides a specific solution using initial conditions, arriving at x = ln[1/(1-t)] as the correct answer.

Areas of Agreement / Disagreement

Participants express differing views on the integration steps and the handling of initial conditions. While some agree on the need to carefully check signs and constants, there is no consensus on the exact method or solution, as multiple approaches and results are presented.

Contextual Notes

Participants highlight potential errors in algebraic manipulation and integration, but do not resolve these issues definitively. The discussion remains focused on individual interpretations and methods without a clear resolution.

Who May Find This Useful

This discussion may be useful for individuals studying differential equations, particularly those interested in second order separable equations and the nuances of integration and initial conditions.

-JammyDodger-
Messages
8
Reaction score
0
Hello and thanks to all who read this.

I'm trying to teach myself applied mathematics, specifically (simple) differential equations.

I've been solving them all fine, so far, but now I've come across second order DE's with a squared term, and I can't seem to get the right answer. I'll give an example:

d^2x/dt^2 = (dx/dt)^2

I've been using a substitution as follows:

u = dx/dt

Therefore:

du/dt = u^2

Then seperating:

du/u^2 = dt

Then integrating both sides:

-1/u = t + k

The inital conditions are if x=0, dx/dt (u) =1 and t=0

Therefore k = -1

Then:

-1/u = (t-1)
-1/(dx/dt) = (t-1)
-1/dx = (t-1)dt

Integrating again:

-x = (t^2)/2 - t + C

Initial conditions mean C = 0

Therefore, I get my answer to be:

x = t - (t^2)/2

The correct answer is: x = ln[1/(1-t)]

Could someone please show me where I'm going wrong? Is it just a simple algebraic mistake? Or is my method completely wrong? Thanks.
 
Physics news on Phys.org
-JammyDodger- said:
-1/u = (t-1)
-1/(dx/dt) = (t-1)
-1/dx = (t-1)dt

Your mistake is here. Try going over this part again.
 
Thanks for your reply, I think I see where I was going wrong now.

The -1/(dx/dt) becomes -dt/dx; is that right?

Funnily, I'm still not getting the right answer, I keep getting x=ln[(1-t)/1], whereas the correct answer is x=ln[1/(1-t)].

Any ideas where I'm going wrong?
 
Could be a minus sign somewhere, considering that

[tex]\ln \left( \frac{1}{1-t} \right) = - \ln \left( \frac{1-t}{1} \right)[/tex]
 
I just can't seem to get the right answer. I get either x=ln[(1-t)] or x=ln[1/(t-1)]. The correct answer is x=ln[1/(1-t)]. Would it be possible for you to run through the solution? I don't think I'm going to get anywhere with it because I keep making the same mistake somewhere.

I get -1/u = t-1 ; I then multiply by -1 to change signs: 1/u = 1-t ; and u =dx/dt, therefore dt/dx = 1-t ; and when I separate I get: dt/(1-t) = dx. Is my error somewhere there?

For reference the problem is d^2x/dt^2 = (dx/dt)^2 ; with initial conditions being: x=0 and dx/dt = 1 when t=0.

Thanks for your replies.
 
It looks like what you have up to dt/(1 - t) = dx is ok. But when you integrate that, you should be getting x = -ln|1 - t|.
 
-JammyDodger- said:
I just can't seem to get the right answer. I get either x=ln[(1-t)] or x=ln[1/(t-1)]. The correct answer is x=ln[1/(1-t)]. Would it be possible for you to run through the solution? I don't think I'm going to get anywhere with it because I keep making the same mistake somewhere.

I get -1/u = t-1 ; I then multiply by -1 to change signs: 1/u = 1-t ; and u =dx/dt, therefore dt/dx = 1-t ; and when I separate I get: dt/(1-t) = dx. Is my error somewhere there?

For reference the problem is d^2x/dt^2 = (dx/dt)^2 ; with initial conditions being: x=0 and dx/dt = 1 when t=0.

Thanks for your replies.

Hello JammyDodger, When solving these type of problems I do them slightly different. By this I mean that I leave the integration constants as they are and apply the initial and/or boundary conditions to the final solution and not earlier. I can't proof this but I suspect that in some cases you could eliminate solutions by applying the conditions at an early stage. So by leaving the integration constant, you get after the first integral:

[tex]\frac{dx}{dt}=u=\frac{-1}{t+C}[/tex]

or thus:

[tex]dx=\frac{-dt}{t+C}[/tex]

giving:

[tex]x=-ln(t+C)+K[/tex]

which is the general solution. Now applying the condition:

[tex]at \qquad t=0 \qquad x=0[/tex]

gives you:

[tex]K=ln(C)[/tex]

and thus:

[tex]x=ln\left( \frac{C}{t+C}\right)[/tex]

Applying the other one:

[tex]at \qquad t=0 \qquad \frac{dx}{dt}=1[/tex]

gives:

[tex]C=-1[/tex]

and thus the solution:

[tex]x=ln\left(\frac{1}{1-t}\right)[/tex]

Hope this helps. I assume that you have an error somewhere in your calculation, check it again carefully and you should end up with the correct one.

coomast
 
Last edited:

Similar threads

  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K