Go back
A pretty difficult trig identity

A pretty difficult trig identity

Posers and Puzzles

1 edit
Vote Up
Vote Down

Originally posted by FabianFnas
Can it hold any real number exactly?
What kind of calculator do you have?
I bet it can hold lots of real numbers with exact precision -- all the real numbers that are also integers 😉

*edit* (and less than the maximum size of an integer...)

Vote Up
Vote Down

Originally posted by forkedknight
I bet it can hold lots of real numbers with exact precision -- all the real numbers that are also integers 😉

*edit* (and less than the maximum size of an integer...)
Lots but not all...

Vote Up
Vote Down

Originally posted by FabianFnas
As computers are using binary memories, 1/3 can't be expressed exactly.
However, a computer with trinary memories (where a bit can store one out of three states), 1/3 is perfectly possible to store (as 1/3 is 0.1 trinary).
But this trinary computer can't prove the (1/2)*2=1 identity as 1/2 cannot be exactly represented in trinary memories.
Well you can borrow my Hexiry computer, it has 6 states, so it can hold both 1/3 and 1/2 exactly at the same time. Its a Hewlett Packardd X10000ZEL upgrade with the Hexiry CPU, it also has 10 terabytes of 6 port ram operating at one picosecond access time so its pretty fast too.....

1 edit
Vote Up
Vote Down

Originally posted by sonhouse
Well you can borrow my Hexiry computer, it has 6 states, so it can hold both 1/3 and 1/2 exactly at the same time. Its a Hewlett Packardd X10000ZEL upgrade with the Hexiry CPU, it also has 10 terabytes of 6 port ram operating at one picosecond access time so its pretty fast too.....
except that all commercial CPU's operate in binary at the lowest level of abstraction. it's possible to represent ternary or hexary states in binary, just like it's possible to represent decimal.

as said before, you can represent all rational numbers as a numerator and denominator using integers.

If you want to do something like pi * 1/pi, it's quite easy to represent pi as a symbol (just like I did here), and program the computer to cancel the pi in the numerator with the pi in the denominator.

In fact you can represent any distinct real number as a symbol and use it with exact precision, just so long as your result has the same symbol or it cancels in some way.

It's when you start doing things more complicated than algebra, or if you try to represent your real number in decimal/binary/ternary/whatever that you start to run into problems with precision.

Vote Up
Vote Down

Originally posted by forkedknight
If you want to do something like pi * 1/pi, it's quite easy to represent pi as a symbol (just like I did here), and program the computer to cancel the pi in the numerator with the pi in the denominator.
In this kind of calculation, the true value of pi isn't important. pi can be whatever (except zero) and the calculation is valid anyway. So if you define pi to be =1 (exactly) noone will know the difference.

1 edit
Vote Up
Vote Down

Originally posted by FabianFnas
In this kind of calculation, the true value of pi isn't important. pi can be whatever (except zero) and the calculation is valid anyway. So if you define pi to be =1 (exactly) noone will know the difference.
My point is that it's not an issue with _representing_ a given value in a computer that is the problem.

Any possible value (or object, or idea -- that's the beauty of computers) can be representing using binary states. The problem is _converting_ that value into a different unit of measurement (or whatever unit has been used to represent a different value).

It's in the conversion of units that precision is lost

Vote Up
Vote Down

So, who can prove the identity?

Vote Up
Vote Down

You need the same basic method as used here:

http://www.redhotpawn.com/board/showthread.php?threadid=66560

Vote Up
Vote Down

A user asked me not to post a solution because he's working on it, so I'll ask others to also be so kind to not post the solution, but instead, PM it to me.

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.