Mixing units with functions or derivatives?

Click For Summary

Discussion Overview

The discussion revolves around the correct use of units in mathematical functions and derivatives, particularly in the context of a car's fuel efficiency expressed in miles per gallon. Participants explore how to represent these units correctly in equations and derivatives.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant asks whether the equation m(g)=17(miles/gallon)*g is correct, suggesting confusion about unit representation in functions and derivatives.
  • Another participant confirms that writing m(g)=17(miles/gallon)*g is correct.
  • A different participant expresses confusion about the original question, indicating that it seems to ask if m(g)=17g is correct while labeling the constant 17 with units.
  • One participant explains that when defining a variable, it is acceptable to include its unit immediately, suggesting m=17mile/gallon·g as a proper representation.
  • Another participant emphasizes that for the equation m (miles)= k g(gallons) to make sense, k must be expressed in miles per gallon, ensuring dimensional consistency.

Areas of Agreement / Disagreement

Participants express differing views on the clarity of the original question and the correctness of unit representation, indicating that multiple competing interpretations exist without a clear consensus.

Contextual Notes

Some participants highlight the potential confusion surrounding the use of the variable m, which is commonly associated with mass, and the implications of defining units within mathematical expressions.

christian0710
Messages
407
Reaction score
8
Hi,
How do you correctly use units when writing derivatives and functions in math?

Example

A car goes 17miles per gallon, so a function m with the equation m(g)=17g describes the distance it can go with g gallons.

And the derivative dm/dg = 17 miles/gallon. Question: could you write the equation as m(g)=17(miles/gallon)*g or is that incorrect?
 
Physics news on Phys.org
christian0710 said:
could you write the equation as m(g)=17(miles/gallon)*g ?
Yes. That would be correct.
 
christian0710 said:
Hi,
How do you correctly use units when writing derivatives and functions in math?

Example

A car goes 17miles per gallon, so a function m with the equation m(g)=17g describes the distance it can go with g gallons.

And the derivative dm/dg = 17 miles/gallon.Question: could you write the equation as m(g)=17(miles/gallon)*g or is that incorrect?
Your question is confusing. It looks like you are asking is m(g)=17g correct, if m(g)=17g, except you are writing a label for 17?
 
When you are defining a variable, you can give it its unit right away or not.
So if you say ##m## is the distance the car can drive, then the variable ##m## has already contained the unit, maybe miles. So you should write:$$m=17mile/gallon\cdot g.$$You can see here my ##g## has also contained its unit: gallon, but 17 not, so then I write 17mile/gallon in the equation.
By the way, we seldom use ##m## to represent the distance because it is more often used to say mass, but it doesn't matter while it just depends on one's habits.
 
  • Like
Likes   Reactions: christian0710
It should be evident that if m is a distance, measured in miles, and g is a quantity of gasoline, measured in gallons, then in order that "m (miles)= k g(gallons) make sense, k must be in "miles per gallon" so that (k miles/gallon)(g gallons)= kg miles.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
9K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K