Unit cancellation in integration with natural logarithm?

Click For Summary

Discussion Overview

The discussion revolves around the treatment of units in integration involving natural logarithms, particularly in the context of calculating changes in entropy. Participants explore how to properly handle units when integrating expressions that include logarithmic functions, questioning whether unit cancellation occurs consistently in such scenarios.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant describes a problem involving the change in entropy and expresses confusion over unit consistency when using natural logarithms in integration.
  • Another participant notes that the expression dT/T is dimensionless, suggesting that logarithms should only act on dimensionless quantities, proposing the use of a constant to normalize the temperature.
  • A third participant references a related discussion from an earlier thread, indicating that this is not an isolated issue.
  • One suggestion involves rewriting the difference in logarithms to ensure that the arguments are dimensionless, emphasizing that the choice of units in the denominator does not affect the outcome as long as they are consistent.
  • Another participant proposes a more unconventional approach, suggesting that dimensions can be treated as scalar multipliers, leading to a different interpretation of logarithmic relationships.

Areas of Agreement / Disagreement

Participants express varying viewpoints on the treatment of units in logarithmic expressions, with no clear consensus on whether unit cancellation is universally applicable in these cases. The discussion remains unresolved regarding the best approach to handle such situations.

Contextual Notes

Participants acknowledge the complexity of integrating functions involving logarithms and the potential for confusion regarding dimensional analysis. There are indications of missing assumptions and the need for careful consideration of definitions related to logarithmic functions.

Cvan
Messages
87
Reaction score
0
I was recently doing some problems with Entropy, and came to the startling conclusion of incorrect units for most of my answers!
One problem, for example--was to calculate the change in entropy of a given sample as it gained heat per temperature.

\Delta S=\int^{f}_{i}\frac{dQ_{r}}{T}

The dQr is assumed to be relatively reversible for the problem, and you end up solving the problem by recognizing Q as mc(delta)t.

\Delta S=mc\int^{f}_{i}\frac{dT}{T}

Integrating yields mc(ln(Tf)-ln(Ti)), and then you recognize the properties of the natural logarithm and divide Tf by Ti, take the natural log, and finish the problem.

The point where I get screwed up logically is that the units don't come out correctly if you don't treat the natural logarithm this way, and simply compute through subtraction. I know its a property of the natural logarithm to divide, and I've gotten stuck on problems like this in the past (simple rocket fuel propulsion examples, etc). My main question is--does this happen every time a natural logarithm is involved after integration? Are there cases where the units don't cancel like this? I know its a silly question, but it has been bugging me all night.
 
Science news on Phys.org
Hi Cvan! :smile:

Yeah … never really occurred to me before …

when we write:
\int^{f}_{i}\frac{dT}{T}\,=\,\left[logT\right[^{f}_{i}\,,​

the dT and T have the same units, so dT/T is dimensionless (a scalar),

but the logT looks as if it has the same dimensions as T.

I suppose the answer is that log (to any base) can only act on dimensionless numbers, so technically one ought to write log(T/c), where c is a constant with the same dimensions as T! :smile:

For sanity-threatening conundrums like this, I only have two pieces of advice …
a) panic!
b) don't panic!​

… they both work … ! :smile:
 
It may help to write the difference-in-logs as

<br /> \ln(\frac{T_f}{1 K})-ln(\frac{T_i}{1 K})<br />

This gives pure-number arguments for the logs. Also, it does not matter what units you use in the denominators, as long as they're the same, since

<br /> \ln(\frac{T_f}{1 \ Anything})-ln(\frac{T_i}{1 \ Anything})<br /> = \ln\left[(\frac{T_f}{1 \ Anything}) \cdot (\frac{1 \ Anything}{T_i})\right]<br /> = \ln(\frac{T_f}{T_i})<br />

independent of what "1 Anything" actually is.
 
Crazier idea: treat the dimension as a scalar multiplier (which is what we do when we cancel them in a division), then you end up with the log of the dimensioned quantity equal to the log of the quantity plus the log of the dimension (whatever that means). You end up with the log of the dimensions cancelling by subtraction after just like they cancel by division in the ratio.

I've got to get a simple equation editor going here ...
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 21 ·
Replies
21
Views
5K