What's the UNIT after you take the natural log?

In summary, the equation for logarithmic pressure is incorrect and should be written as follows: ln(p)=-L/(RT)+ln(p_o)
  • #1
kingwinner
1,270
0
I was working on an experiment for the vapor pressure of water and I have the following formula

ln (p) = -L/(RT) + ln (p_o)

L=heat of vaporization of water
R=Molar gas constant
T=temperature in Kelvins

I have some data points for the pressure p in units of mm Hg, when I take the natural log of it, ln (p), what will the units be? I am very confused...can someone please help me?

When I analyse the units of -L/(RT), it seems like it's dimensionless, but the value of ln (p) definitely depend on the numerical value of p (i.e. having p in different units, e.g. Pa, atm, mm Hg, should give different values of ln (p) ), then how can ln (p) be dimensionless?

Thanks!
 
Last edited:
Physics news on Phys.org
  • #2
The units of a ln(p) would generally be referred to as "log Pa" or "log atm."

Taking the logarithm doesn't actually change the dimension of the argument at all -- the logarithm of pressure is still pressure -- but it does change the numerical value, and thus "Pa" and "log Pa" should be considered different units.

- Warren
 
  • #3
It seems that, strictly speaking,
the units of a function like log or exp or cos should be dimensionless,
and
the argument of a function like log or exp or cos should be dimensionless.

So, if p and p_o carry dimensions of pressure,
one should NOT write
ln (p) = -L/(RT) + ln (p_o),
but instead write
ln (p/p_ref) = -L/(RT) + ln (p_o/p_ref)
where p_ref is any arbitrary but nonzero reference-pressure so that (p/p_ref) and (p_o/p_ref) are dimensionless. Of course, if you'd rather not introduce a p_ref, then the dimensionally correct way to write the intended relationship is
ln (p/p_o) = -L/(RT)
since
ln (p/p_ref) = -L/(RT) + ln (p_o/p_ref)
ln (p/p_ref) -ln (p_o/p_ref) = -L/(RT)
ln( (p/p_ref) / (p_o/p_ref) )= -L/(RT)
ln( p/p_o )= -L/(RT) This is a good example that distinguishes mathematical variables from physical variables. As long as you are consistent, one can work "formally".
 
  • #4
But I need to plot a graph of ln (p) v.s. 1/T, so I do need ln (p) to be isolated...
 
  • #5
I would guess you are making the graph in order to extract the slope. A change of units will only shift the line up and down, not change the slope. Pick whatever units are handy. As robphy points out, the relation is valid in any units.
 
  • #6
plot ln(p/1atm), ln(p/1Pa)... whatever units you are using.
 
  • #7
robphy said:
It seems that, strictly speaking,
the units of a function like log or exp or cos should be dimensionless,
and the argument of a function like log or exp or cos should be dimensionless.

So, if p and p_o carry dimensions of pressure,
one should NOT write
ln (p) = -L/(RT) + ln (p_o),
but instead write
ln (p/p_ref) = -L/(RT) + ln (p_o/p_ref)
where p_ref is any arbitrary but nonzero reference-pressure so that (p/p_ref) and (p_o/p_ref) are dimensionless. Of course, if you'd rather not introduce a p_ref, then the dimensionally correct way to write the intended relationship is
ln (p/p_o) = -L/(RT)
since
ln (p/p_ref) = -L/(RT) + ln (p_o/p_ref)
ln (p/p_ref) -ln (p_o/p_ref) = -L/(RT)
ln( (p/p_ref) / (p_o/p_ref) )= -L/(RT)
ln( p/p_o )= -L/(RT)


This is a good example that distinguishes mathematical variables from physical variables. As long as you are consistent, one can work "formally".

I would concur with this explanation.
 
  • #8
I concur too. Kingwinner, just let [itex]p_{ref}[/itex] in robphy's post be 1 Pa. You can do that as follows.

[tex]\ln(p)=-\frac{L}{RT}+\ln(p_0)[/tex]

[tex]\ln(p) + 0=-\frac{L}{RT}+\ln(p_0) + 0[/tex]

[tex]\ln(p) + \ln(1 Pa)=-\frac{L}{RT}+\ln(p_0) + \ln(1 Pa)[/tex]

That last line is valid because [tex]\ln(1 Pa)=0[/tex].

[tex]\ln(p/(1 Pa))=-\frac{L}{RT}+\ln(p_0/(1 Pa))[/tex]

[tex]\ln(\overline{p})=-\frac{L}{RT}+\ln(\overline{p}_0)[/tex]

Where the quantities with the bar are dimensionless. Once it is recognized that the mathematical manipulations are no different with the dimensionless quantities than they are with the dimensionful quantities, it is at once recognized that we can go on our merry way working with quantities such as [itex]\ln(p)[/itex] without worrying about the units.

ETA:

OK, I'm done editing now. :redface:
 
Last edited:

1. What is the unit after taking the natural log of a number?

The unit after taking the natural log of a number is dimensionless, meaning it has no unit. This is because the natural logarithm is a mathematical function that calculates the exponent needed to reach a certain number, so the unit cancels out.

2. Why is the unit cancelled out after taking the natural log?

The unit is cancelled out because the natural logarithm is an inverse function of the exponential function. This means that the natural log undoes the exponential function, resulting in the unit being cancelled out.

3. Does this mean the natural log has no unit at all?

Yes, the natural logarithm has no unit. This is because it is a dimensionless mathematical function that calculates the exponent needed to reach a certain number.

4. Can the natural log be used to measure physical quantities?

No, the natural logarithm is not a physical quantity and therefore cannot be used to measure physical quantities. It is a mathematical function used in various calculations and equations.

5. How does the unit after taking the natural log affect the final result?

The unit after taking the natural log does not affect the final result. The result will still be a numerical value without any unit. However, it is important to keep track of the units of the original numbers used in the calculation.

Similar threads

  • Introductory Physics Homework Help
Replies
12
Views
732
  • Introductory Physics Homework Help
Replies
11
Views
836
  • Introductory Physics Homework Help
Replies
6
Views
1K
  • Introductory Physics Homework Help
Replies
24
Views
2K
  • Introductory Physics Homework Help
Replies
13
Views
598
Replies
11
Views
365
  • Introductory Physics Homework Help
Replies
2
Views
537
  • Biology and Chemistry Homework Help
Replies
4
Views
2K
  • Introductory Physics Homework Help
Replies
9
Views
6K
  • Introductory Physics Homework Help
Replies
6
Views
18K
Back
Top