Unit cancellation in integration with natural logarithm?

In summary, the conversation discusses the issue of incorrect units in calculations involving entropy and the use of natural logarithms. It is suggested to treat the dimension as a scalar multiplier in order for the units to cancel correctly. Additionally, the use of dimensionless numbers in logarithmic calculations is recommended to avoid confusion. Overall, the conversation highlights the importance of understanding the properties of logarithms and their effect on units in mathematical equations.
  • #1
Cvan
87
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.

[tex]\Delta S=\int^{f}_{i}\frac{dQ_{r}}{T}[/tex]

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.

[tex]\Delta S=mc\int^{f}_{i}\frac{dT}{T}[/tex]

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.
 
Physics news on Phys.org
  • #2
Hi Cvan! :smile:

Yeah … never really occurred to me before …

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

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:
 
  • #4
It may help to write the difference-in-logs as

[tex]
\ln(\frac{T_f}{1 K})-ln(\frac{T_i}{1 K})
[/tex]

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

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

independent of what "1 Anything" actually is.
 
  • #5
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 ...
 

FAQ: Unit cancellation in integration with natural logarithm?

How do you use unit cancellation in integration with natural logarithm?

To use unit cancellation in integration with natural logarithm, you need to first identify the units of the variables involved in the integration. Then, using the properties of logarithms, you can manipulate the units to cancel out and simplify the expression. This allows for easier integration and calculation of the result.

Why is unit cancellation important in integration with natural logarithm?

Unit cancellation is important in integration with natural logarithm because it allows for simplification of the expression, making it easier to calculate the result. It also helps to ensure that the final result has the correct units, which is essential in scientific calculations.

How does unit cancellation work in integration with natural logarithm?

Unit cancellation works by using the properties of logarithms to manipulate the units of the variables involved in the integration. This results in cancelling out units that are the same on both sides of the expression, simplifying the integration process.

Can unit cancellation be applied to any integration involving natural logarithm?

Yes, unit cancellation can be applied to any integration involving natural logarithm as long as the units of the variables involved can be manipulated using logarithmic properties. However, it is important to always double check the final result to ensure the correct units are present.

Are there any limitations to using unit cancellation in integration with natural logarithm?

Yes, there are some limitations to using unit cancellation in integration with natural logarithm. It may not work if the units involved are not compatible or cannot be manipulated using logarithmic properties. In addition, it is important to be cautious and double check the final result to ensure the correct units are present.

Back
Top