Seperation of Variables to find exact solution

Click For Summary
SUMMARY

The discussion centers on solving the differential equation dx/dt = x^2/(t+1) using the separation of variables technique. The user, Robcru1, seeks guidance on integrating the equation and comparing results with Euler's method and the Euler-Cauchy method. Key steps include rewriting the equation as ∫x^-2 dx = ∫(t+1)^-1 dt and recognizing the integration of 1/(t+c) as ln|t+c|. The conversation emphasizes the importance of continuous change in the independent variable for obtaining an exact solution.

PREREQUISITES
  • Understanding of differential equations and their solutions
  • Familiarity with integration techniques, specifically separation of variables
  • Knowledge of Euler's method and Euler-Cauchy method for numerical solutions
  • Basic calculus concepts, including logarithmic integration
NEXT STEPS
  • Study the method of separation of variables in differential equations
  • Learn about the application of Euler's method and Euler-Cauchy method for numerical solutions
  • Review integration techniques, particularly for functions of the form 1/(t+c)
  • Explore the concept of exact solutions in the context of differential equations
USEFUL FOR

Students and professionals in mathematics, particularly those studying differential equations, numerical analysis, and calculus. This discussion is beneficial for anyone looking to deepen their understanding of solving differential equations using various methods.

robcru1
Messages
6
Reaction score
0
Can anyone help me please or point me in the right direction, I am needing to find an exact solution for this equation by using separation of variables and compare them to answers i have calculated for Euler's method & Euler-Cauchy method. The equation is dx/dt=x^2/(t+1) when x(0)=1 and t=time from 0 to 0.5 in 0.1 increments.
Any pointers would be great thanks.
Robcru1
 
Physics news on Phys.org
Well, you titled this "Separation of Variables" so apparently you know you can write this as [itex]x^{-2} dx= (t+1)^{-1}dt[/itex] and integrate. If the right side is giving you trouble, let u= t+1.
 
Wow quick response.
Yes i get that, what i am struggling with is where to go from this point and what it is i am actually trying to figure out i have previously rewritten it as ∫1/x^2 dx/dt dt=∫1/t+1 dt
which got me to ∫1/x^2 dx =∫1/t+1 dt
= ln(x^2) = ln(t+1)+C
Then i get stuck & confused
is this correct?
 
Can anyone assist me with this issue, its beginning to bug me now and i seem to be getting nowhere.
Thanks a lot
 
I'm, sorry, I had kind of thought (apparently foolishly) that, if you are asking about differential equations, you would know how to do basic integrals.

The integral of [itex]x^n[/itex] is [itex]x^{n+1}/(n+1)+ C[/itex].
 
Last edited by a moderator:
Yes i do know that.
I am trying to find the exact solution for x based on the time steps of t from 0 (0.1) 0.5
are you saying what i have done so far i wrong? Can you point me down the correct path please.
 
Then why did you write that non-sense about the solution being "ln(x^2) = ln(t+1)+C"?

Also, the solution to a differential equation depends upon continuous change in the independent variable. You cannot have an "exact" solution with "time steps of t from 0 (0.1) 0.5".
 
My appologise for coming across as an idiot.
My original problem was to calculate answers for x^2/(t+1) for time steps 0 (0.1) 0.5 using both eulers method & euler-cauchy method and compare these results against an exact solution using separation of variables, i presumed i would need to calculate an exact solution at the same time intervals.
i have done the euler & euler-cauchy calculations and just need to carry out my comparison and tabulate it, this is where i am struggling.
I am just trying to get some understanding and method behind what i need to do to achieve this.
If my posts are NON-SENSE then please point me in as to where and which way to progress.
Many thanks

Robcru1
 
Can anyone help me any further with this please
My original equation was:- dx/dt=x^2/(t+1)
What i have so far is:-
∫x^-2dx=∫(t+1)^-1dt
x^-1/-1=∫(t+1)
Any help is appreciated
 
  • #10
As already pointed out, in general,
[itex]\int\frac{1}{f(x)}dx \neq \ln{|f(x|})[/itex]

However, it is true that:
[itex]\int\frac{1}{t+c}dt=\ln{|t+c|}[/itex] where c is a constant.

The equation given by HallsofIvy is of course not valid for the special case where n=-1.

So, after integrating, you get..? The only thing left then is to rewrite the equation into the form x=f(t).
I suggest (re)reading a calculus book to clear the fog.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K