1
$\begingroup$

Yesterday, one of my students asked me:

"Can I use floor($x$)=[$x$] when $x$ is an angle measured in degrees? In fact, is [$30^{o}, 5'$] allowed to be just $30^{o}$?"

I answered him:

"As the floor function is defined for $x$ when $x$ is a real number so, this function can not be used for measured angles when they are in degrees."

Are there any helpful suggestions?

Thanks so much.

  • 3
    But $30\circ 5'$ *is* a number, in decimals roughly $30.083$. The reason not to replace it by $30$ would be loss of accuracy. In a GPS system it would make you miss your location by several km. But if someone asks you to *draw* a $30^\circ 5'$ angle, you can use the floor function, replace by $30^\circ$, and the drawing would look the same. So the answer, unfortunately, is "it depends."2011-07-29
  • 1
    As long as the used units are made clear I don't see much harm coming from allowing such a use of the floor function. Granted, there is potential for confusion, so do not allow the use of floor function to physical measurements without specifying the units. Like what's the floor of my height? It could be 6 feet, 75 inches, 1 meter or 0 miles all depending. I would give a silly example like this to drive home the point that specifying the unit is **necessary** with such use of the floor function. Thus diminishing its usability. Angles are a bit special as they are often treated as bare numbers.2011-07-29
  • 1
    I'm not sure I understand your answer. I mean $30^{\circ}\, 5'$ is just a *notation* for a number indicating its interpretation/intention. I usually read $x^{\circ} = x \cdot \frac{\pi}{180}$, similarly $x^{\circ}\,y'\,z'' = \left(x + y \cdot \frac{1}{60}+ z \cdot \frac{1}{3600}\right)^{\circ}$ by definition. So if you want $[30^{\circ} \,5']$ to mean $30^{\circ}$ all you have to do is to *define* this as $[30 + 5\cdot\frac{1}{60}]^{\circ}$, but it would probably be better to simply say "rounded down to the next integer degree".2011-07-29
  • 0
    @Theo:You mean there is no sense some one use this function as it is applied for real numbers? In fact, you pointed the angel should be converted in Radian first and next use the function?2011-07-29
  • 1
    Well, I don't know: if you are in need to use this rounding off frequently, I'd have absolutely no objection of using this convention, as it is easy to make sense out of it and to explain it. However, I don't think that this is a generally accepted notation (even if self-explanatory).2011-07-29
  • 2
    Wow, it has been almost 20 years since I last encountered "minutes" (i.e., instead of fractional degrees). I have to wonder about the usefulness of this concept in contemporary society. Admittedly I became a mathematician and not, say, a sextant salesman...2011-07-29
  • 0
    @Pete: Engineering guys still use arc minutes and arc seconds, but thankfully not as much as before. :)2011-07-30

2 Answers 2

2

As with Theo in the comments, I treat the symbol ${}^\circ$ as convenient shorthand for "multiply by $\pi/180$" (similarly for minutes and seconds) just as I see $\%$ as shorthand for "multiply by 1/100", so using the floor function on quantities involving it would be fine in theory.

However, since $30^\circ5^\prime\approx 0.525053$, the floor of that is $0$. Now, if I wanted "round $30^\circ5^\prime$ to $30^\circ$", I wouldn't use the floor function and instead consider defining a new one. But consider also André's comment...

  • 0
    :Thanks for your time. You meant by "...I wouldn't use the floor function and instead consider defining a new one...", that we could define a similar function as [.] for angels defined in degrees? Honestly, my student wanted to impose some conditions on such these measured angels. He concluded, "...if $90^{o}$ mode $a$ = 0 then $b$ is $[90^{o}/a]$..." .2011-08-02
  • 0
    When I saw his notation, I got his previous wrong mathematical notations. First his using of "mode" which is used for integers numbers and the second was using [.] for angels. The second one led me to ask this question, if "we can use [.] function for angels measured in degrees or not. And as you and other pointed this seemed strange in way I asked, otherwise, we define a new function as desired.2011-08-02
  • 0
    @ J. M. :plz readmy comments.2011-08-06
  • 0
    I've read them, @Basil. Now?2011-08-07
0

I see it like Theo.

Lets look at the floor function:

$$f: \mathbb{R} \longrightarrow \mathbb{Z}. x \mapsto \max\{z \in \mathbb{Z}: z \leq x\}$$

Then we have for angles:

$$ \alpha^o=\alpha \cdot \frac{\pi}{180^o}$$

Therefore we could define a function that does exactly what you want:

$$g: \mathbb{R} \longrightarrow \mathbb{R}. x \mapsto f(x \cdot \frac{180^o}{\pi})\cdot \frac{\pi}{180^o}$$

Which would behave like you suggested, whereas the normal floor function $f$ would not produce the desired results when applied to degrees.