Is there a strictly algebraic way of coding "whole number value of"?

  • Context: Graduate 
  • Thread starter Thread starter David Carroll
  • Start date Start date
  • Tags Tags
    Coding Value
Click For Summary
SUMMARY

This discussion explores the algebraic representation of the "whole number value of" an irrational number, specifically in the context of the quadratic formula. The participants analyze the polynomial equation x² + 21x - 155 = 0, focusing on the solutions and the separation of the whole part from the decimal expansion using algebraic symbols. The Boolean function Φ_n(z) is introduced as a method to determine the integer part of a number recursively, but it concludes that no algebraic closed formula exists for extracting the whole number part of most real numbers, as algebraic numbers are a limited subset of real numbers.

PREREQUISITES
  • Understanding of quadratic equations and the quadratic formula
  • Familiarity with algebraic functions and irrational numbers
  • Knowledge of recursive algorithms and their efficiency
  • Basic concepts of Boolean functions in mathematics
NEXT STEPS
  • Research the properties of algebraic and transcendental numbers
  • Learn about recursive algorithms and their applications in numerical methods
  • Explore the implications of the quadratic formula in real number analysis
  • Investigate the efficiency of various algorithms for computing integer parts of numbers
USEFUL FOR

Mathematicians, computer scientists, and anyone interested in the intersection of algebra and numerical methods, particularly in understanding irrational numbers and algorithm efficiency.

David Carroll
Messages
181
Reaction score
13
Greetings in the name of Jah-gonaut, ladies and gents. I have a question. Is there a strictly algebraic way of coding the notion "whole number value of", specifically for an irrational number?

I know that one way of coding the notion "absolute value of" some number is taking the square root of the square. Can something similar be done to code for "whole part" of some number, using only algebraic symbols or numbers? Namely, in my case, can some kind of manipulation of symbols be done with the irrational part of a solution to some polynomial equation {by which I mean the "sqrt(b2 + 4ab)" part of the solution)}, using ONLY the symbols a or b?

For example, let's take the two solutions to the polynomial equation x2 + 21x - 155 = 0:

-26.7864974749... and 5.7864974749...

I want to separate the decimal expansion from the whole value 5 for the second solution. But I want to perform this step using only algebraic symbols, pretending - say - that I'm some machine that doesn't otherwise know the command "separate the whole part from the decimal expansion".

Can I perform some finite manipulation of the symbols a, b, or c (from the polynomial formula) to do this?
 
Mathematics news on Phys.org
Correction: "sqrt(b2 + 4ab)" should read "sqrt(b2 + 4ac)"
 
Actually, correction again: that is "- 4ac", not "+ 4ab". And that is, quadratic formula, not polynomial formula.
 
Assume we're only dealing with real numbers.

Let ##\Phi_0(z)\equiv##"##\exists a,b\in\mathbb R \text{ such that } z = a^2, \enspace 1-z = b^2 \text{ and } b\neq 0##." It's straightforward to check that ##\Phi_0(z)## is true if and only if ##z\in[0,1)##.

For any ##n\in \mathbb N##, let ##\Phi_n(z)\equiv \Phi_{n-1}(z-1)## and ##\Phi_{-n}(z)\equiv \Phi_{-(n-1)}(z+1)##.

It's straightforward to check that ##\Phi_n(z)## is true if and only if ##\lfloor z\rfloor=n##.

I would argue that the Boolean ##\Phi_0## is just as algebraic as ##\sqrt{\enspace}## is. Given that, you could get a computer to (recursively) check ##\Phi_n, \Phi_{-n}## for each ##n##, and it will eventually terminate and find your integer part.
 
How efficient is such an algorithm on a computer? Quicker than, say, shor's algorithm?
 
I guess, since it's recursive, it would be just as efficient as taking the square root of a real number?
 
Every recursive algorithm can be transformed to an iterative algorithm. The recursive algorithm that has been proposed amounts to iteratively checking whether ##i^2 > x >= 0## for each non-negative integer i in order until one is found that satisfies the test. The floor of the square root of x is given by the first i that passes the test.

That algorithm takes approximately 10^5 steps to determine the floor of the square root of 10^10 - 1.

It is possible to compute the square root of 10^10 - 1 to 5 significant digits in WAY fewer steps than that.
 
Suppose you can apply ##+,-\times,\div##, and roots to some irrational ##\alpha## (and algebraic numbers) to get a whole number ##n##. Then you get ##R(x)-n## is an algebraic function with ##\alpha## as a zero (where ##R(x)## was the closed formula used). Consequently, ##\alpha## is algebraic.
So it is not possible to have an algebraic closed formula (as opposed to recursive algorithm) that gives the whole number part of most numbers (since the algebraic numbers are barely any of the real numbers).
 
This is disappointing news. But thank you.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
32
Views
3K
  • · Replies 22 ·
Replies
22
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 23 ·
Replies
23
Views
4K
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K