Friday, February 22, 2019

mathematics - The Calculator with Misbehaving `+` and `*`


Well, that calculator looked like an ordinary one when I saw it in the shop, but it behaves most extraordinarily! I tried using the + and * keys on small integers, but the results I got were totally wrong and usually decidedly non-integer. However, there does seem to be some method in its madness. Its results are never negative and always fairly small. Provided that it doesn't display Error -- which it does in many cases, unfortunately.


Whatever these operations are that the + and * keys do, they behave in some ways like $+$ and $*$. If I denote them by $\oplus$ and $\otimes$, then, for any $a, b, c$:


$a\oplus b=b\oplus a \\ (a\oplus b)\oplus c=a\oplus(b\oplus c) \\ a\otimes b=b\otimes a \\ (a\otimes b)\otimes c=a\otimes(b\otimes c) \\ a\otimes (b\oplus c)=(a\otimes b)\oplus(a\otimes c)$


That is, $\oplus$ and $\otimes$ are commutative and associative, and $\otimes$ is distributive over $\oplus$.



$10$ has this simple property: for any $a$, $10\otimes a=a$.


Hint 1:



Each other number $a$, as entered on the keypad or displayed, has an internal equivalent $f(a)$. Whenever $f(a)+f(b)=f(c)$, $a\oplus b=c$, and whenever $f(a)*f(b)=f(c)$, $a\otimes b=c$. The image or range of $f$ is a field.



I also found this curious relationship between $\oplus$ and $\otimes$:


$a\otimes b=s\oplus d$


where $s$ and $d$ are the sum and difference of $a$ and $b$, found, I hasten to add, by using ordinary arithmetic, not by using the + key!


Occasionally it produces an integer. What integers are these values? In each case, give the lowest possible.




  1. $13\oplus 7$

  2. $z$ where, for all $a$, $a\oplus z=a$ and $z\otimes a=z$

  3. $24\otimes 14\otimes 7\otimes 6$

  4. $14\otimes 6\otimes 4\otimes 3$

  5. $13\otimes 12\otimes 11$

  6. $\sqrt{10\oplus 10\oplus 10}$


And what's the hint in them taken collectively?



Answer



I have an answer that works. I haven't yet proved it to be unique. We can take




$f(x) = 2 \cos (\frac{\pi}{30}x)$.



Then the mysterious sum-and-difference identity turns into



a standard trigonometrical identity.



The magic number



30 is there to make $f(10)=1$ as required.




The answers to the requested calculations are, in order,



3, 15, 19, 9, 14, 5



which are the alphabet-positions of the letters of



cosine.



I think the statement in hint 1 is not quite correct, by the way:




we have f(x)=f(-x) for any x and f(x+60)=f(x), so f doesn't have a well-defined inverse, which means that it can't possibly be true that e.g. "whenever $f(a)+f(b)=f(c)$, $a\oplus b=c$" -- because whenever the stated condition holds for a,b,c it also holds for a,b,-c and a,b,c+60 and so on, and $a\oplus b=c$ can't be true for more than one choice of c.



No comments:

Post a Comment

classical mechanics - Moment of a force about a given axis (Torque) - Scalar or vectorial?

I am studying Statics and saw that: The moment of a force about a given axis (or Torque) is defined by the equation: $M_X = (\vec r \times \...