Integration of 1 variable in 2 different ways.

  • #1
sreerajt
39
1
I have to do a integration which goes like this:
(V-M)(dP/dx)+3P(dV/dx)=0, (where M,P and V are constants).
If you integrate with dx, you will get:
∫[(V-M)dP]+∫[3PdV]=0.
which ultimately results in the answer M=4V.
Now, i can put the first equation in this form also:
(dP/P)=-3[dV/(V-M)]. Integration will give you,
lnP=-3ln(V-M) , where 'ln' is the logarithm to base e. This give lnP+ln[(V-M)3]=0.
This gives entirely different answer. So which is the correct way??
Thanks in advance...
 

Answers and Replies

  • #2
Ssnow
Gold Member
572
179
In both you forget the constant integration ##c## ...
 
  • #3
Samy_A
Science Advisor
Homework Helper
1,242
510
I have to do a integration which goes like this:
(V-M)(dP/dx)+3P(dV/dx)=0, (where M,P and V are constants).
Something doesn't add up here.
If ##V, P## are constants, then ##\frac{dV}{dx}=0, \frac{dP}{dx}=0##. Your equation then becomes ##0+0=0##.
If you integrate with dx, you will get:
∫[(V-M)dP]+∫[3PdV]=0.
which ultimately results in the answer M=4V.
Now, i can put the first equation in this form also:
(dP/P)=-3[dV/(V-M)]. Integration will give you,
lnP=-3ln(V-M) , where 'ln' is the logarithm to base e. This give lnP+ln[(V-M)3]=0.
This gives entirely different answer. So which is the correct way??
Thanks in advance...
 
  • #4
Ssnow
Gold Member
572
179
Second as @Samy_A said not all can be constant ...
 
  • #5
sreerajt
39
1
OMG :nb). Ya, that's correct.
But, if P and V is a function of x, then ? In fact i did that calculation keeping this in mind that P and V is a function of x.
 
  • #6
Samy_A
Science Advisor
Homework Helper
1,242
510
OMG :nb). Ya, that's correct.
But, if P and V is a function of x, then ? In fact i did that calculation keeping this in mind that P and V is a function of x.
If V and P are functions, how can you integrate ∫[(V-M)dP]+∫[3PdV] the way you did?
Only your second method makes sense, and as @Ssnow mentioned, don't forget the integration constant.
 
  • #7
sreerajt
39
1
If V and P are functions, how can you integrate ∫[(V-M)dP]+∫[3PdV] the way you did?
Only your second method makes sense, and as @Ssnow mentioned, don't forget the integration constant.
I made lot many mistakes...
thanks for pointing out...
thank you...
 

Suggested for: Integration of 1 variable in 2 different ways.

Replies
2
Views
736
Replies
2
Views
373
  • Last Post
Replies
1
Views
175
Replies
3
Views
513
Replies
4
Views
636
Replies
1
Views
813
Replies
8
Views
927
Replies
3
Views
1K
  • Last Post
Replies
1
Views
394
Replies
4
Views
662
Top