Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's a constant offset between F and C, so it's not linear in the actual engineering/math (or whatever) sense.


It's not proportional, but the equation for going from one to another is that of a line.

I would think this would be called linear, but that mean something more specific?


In engineering, linearity refers to having two properties: a) f(x+y) = f(x) + f(y) where x, y, are two values, and f is a linear transform/function b) af(x) = f(ax) where a is constant In this case, the transform is the conversion between C and F. Since there is +/32 in there depending on direction, neither of these properties hold.

For example, yards to meters is a linear transform. 3 yards converted to meters + 2 yards converted to meters = 5 yards converted to meters. This is not true of temperature. Adding 32F to 32F gives 64F, which is not the same as adding 0C to 0C.


Thanks! I wasn't aware of that(the) definition.


In geometry, this would be an affine transformation.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: