Solve the differential equation

In summary: You are right, i think am tired. i am getting##\frac {1+v} {1+v^2}## dv= ##\frac {dx} {x}##i think i should have taken the negative sign with the ##ln##...##ln [1+v^2] -ln [1+v] =ln x####ln \frac {1+v^2} {1+v} =ln x####\frac {1+v^2} {1+v} = x####v^2 +v = x-1####(v+\frac {1}{2})^2 =x-1 +\frac
  • #36
chwala said:
i think the textbook answer might be wrong unless i am missing something, let me post all my steps now. Further, i think the initial condition is necessary so as to arrive at a solution. give me a moment i post all my steps...
The textbook answer is correct. What do you get for ##\displaystyle{\int \dfrac{v}{1-v}\,dv}\;? ##
@Mark44 has told you the next steps:

Solve the integrals correctly! With constant term(s).
Undo the ##y \to v## substitution.
Apply the boundary conditions to specify the constants from integration.
Algebraically modify the result in order to get the form of the textbook answer.

But first solve the integral above.
 
Physics news on Phys.org
  • #37
fresh_42 said:
The textbook answer is correct. What do you get for ##\displaystyle{\int \dfrac{v}{1-v}\,dv}\;? ##
@Mark44 has told you the next steps:

Solve the integrals correctly! With constant term(s).
Undo the ##y \to v## substitution.
Apply the boundary conditions to specify the constants from integration.
Algebraically modify the result in order to get the form of the textbook answer.

But first solve the integral above.
Bingo!
I just checked the two solutions! I got it, they're the same... Am in a meeting, by using the basic laws of logs, my solution can be expressed as the other. Therefore, I was just right. A quick way of proving is just by plugging arbitrary values for x and y in the two solutions!
 
  • #38
fresh_42 said:
The textbook answer is correct. What do you get for ##\displaystyle{\int \dfrac{v}{1-v}\,dv}\;? ##
@Mark44 has told you the next steps:

Solve the integrals correctly! With constant term(s).
Undo the ##y \to v## substitution.
Apply the boundary conditions to specify the constants from integration.
Algebraically modify the result in order to get the form of the textbook answer.

But first solve the integral above.
I think his is correct: ##-ln(b/a)=-( lnb-lna)=lna-lnb=ln(a/b).##
 
  • #39
WWGD said:
I think his is correct: ##-ln(b/a)=-( lnb-lna)=lna-lnb=ln(a/b).##
That was not the problem. He wrote, at least the first time, that ##\displaystyle{\int \dfrac{v}{1-v}}\,dv = -(1-v)-\ln (1-v)## which is wrong on several levels: ##\displaystyle{\int \dfrac{v}{1-v}}\,dv = -v-\ln |1-v| + C##

But he edits his posts all the time and he doesn't always tell what he actually did, that I lost track. His first answer to the integral was wrong and if at all, he corrected it via edit, which makes the thread almost unreadable.
 
  • #40
fresh_42 said:
That was not the problem. He wrote, at least the first time, that ##\displaystyle{\int \dfrac{v}{1-v}}\,dv = -(1-v)-\ln (1-v)## which is wrong on several levels: ##\displaystyle{\int \dfrac{v}{1-v}}\,dv = -v-\ln |1-v| + C##

But he edits his posts all the time and he doesn't always tell what he actually did, that I lost track. His first answer to the integral was wrong and if at all, he corrected it via edit, which makes the thread almost unreadable.

Sorry, thanks for your insight though. I thought my post number 35 was clear. I even indicated that I would show all my steps,...
I've noted your concerns on editing posts. I will desist from it to avoid future confusion...
 
  • Like
Likes fresh_42
  • #41
chwala said:
Sorry, thanks for your insight though. I thought my post number 35 was clear. I even indicated that I would show all my steps,...
I've noted your concerns on editing posts. I will desist from it to avoid future confusion...
Or write in the post the fact that you are editing as well as the details of the edit.
 
  • #42
WWGD said:
Or write in the post the fact that you are editing as well as the details of the edit.
A new post is better, especially if there are already answers! And changing calculations forces readers to read the same calculation again and again. That will not work on the long run.
 
  • #43
I was referring to this post:
chwala said:
ok let me solve it, am now getting after simplification,
##\frac {1+v} {1−v}## dv= ##\frac {dx} {x}##
on integration i am getting;
##2ln(1−v)−(1−v)=lnx##
→ ##2ln(1−v)− ln x= (1-v)##
The integration is wrong here. It must not be ##-(1-v)## in the linear term, it has to be ##-v##.
 
  • Like
Likes chwala
  • #44
@chwala , it might help you in future with such problems to see how the substitution y=vx can be spotted. One thing I check up front with a ODE is whether there is a consistent way of assigning dimension to the variables. In the present case, giving x and y the same dimension works out, suggesting solutions like y=Cx, for some constant. Indeed, C=1 is a solution.
To find more, you can look for variants such as y=xv (v having no dimension).
Had the original equation been dimensionally satisfied by y=x2, you might have tried y=x2v, etc.
 
  • Like
Likes chwala
  • #45
Thanks haruspex, fresh and wwgd on your input on this problem. I have learned something on the approach... i guess i have to take time and avoid silly mistakes and math errors...
 
  • Like
Likes WWGD
Back
Top