Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Comments on Why always rationalize a denominator?

Parent

Why always rationalize a denominator?

+6
−0

Schoolteachers will insist that their students present answers to problems with rational (indeed integral) denominators. Never $1/\sqrt3$, for example, but instead $\sqrt3/3$. That's also how math textbooks present answers. I understand why it's important to learn how to rationalize a denominator, why we sometimes want denominators rational. But why should students put every single answer in those terms? What's wrong with presenting a number as $1/\sqrt3$?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (1 comment)
Post
+2
−0

This answer is based on self-reflection, not research literature, so take it for what it is worth.

Generally speaking, to understand an expression, I would prefer most mathematical objects there to be "simple": positive rather than negative, integer if possible, rational rather than a root expression (though pi and e are pretty nice).

Furthermore, generally speaking, I would prefer any "non-simple" entities to be in as "simple" contexts as possible.

What "simple" amounts to is that it requires less cognitive processing to figure out how it behaves and how big it is and so on.

Now, root of three is about 1,7. If I see the expression $1/\sqrt 3$, to figure out an approximate value for it, I have to do division by a non-integer. And that is hard. On the other hand, if I see $\sqrt{3}/3$, it amounts to the much easier expression of 1,7/3.

I think this same applies, more-or-less, to other cognitive processing besides getting an idea for the size of some expression. It is simpler to work when the complicated expressions are in simple places and much harder to work with them when they are in complicated places.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

General comments (7 comments)
General comments
Moshi‭ wrote almost 4 years ago

On the other hand, I think of $1/\sqrt3$ as 'simpler' in that it is just the reciprocal of root three, as opposed to being root three divided by three.

tommi‭ wrote almost 4 years ago

Certainly depends on the wider context, but I wonder if you really have easier time calculating or manipulating that, in general.

celtschk‭ wrote almost 4 years ago

@tommy: That assumes that the numerical value is what you are interested in. Which is sometimes the case, but certainly not always.

tommi‭ wrote almost 4 years ago

@celtschk I know. I would personally leave it as $1/\sqrt 3$, but that comes with quite a lot of practice and abstraction. But I do think that the evaluation is a nice basic task that allows checking for cognitive load, and worth a try. I was surprised how big the difference turned out to be; I was about to write an answer that this is a stupid convention with no value, but it seems not so.

celtschk‭ wrote almost 4 years ago

@tommi: One case where the $1/\sqrt{3}$ definitely is more useful is as coefficient in a quantum state: You see immediately that the absolute square (which gives the corresponding probability) is $1/3$, which for $\sqrt{3}/3$ takes more cognitive load to see. Therefore which convention is more useful definitely depends on what the expression is used for.

Derek Elkins‭ wrote almost 4 years ago · edited almost 4 years ago

Perhaps ironically, for CPUs, computing $1/\sqrt x$ is often faster than computing $\sqrt x$. One way to see why this might be so is to compare the Newton-Raphson iterations. For $y=\sqrt x$, we get: $y_{n+1}=y_n/2+x/(2y_n)$. For $y=1/\sqrt x$, we get: $y_{n+1}=y_n(3-xy_n^2)/2$. The key difference here is that the latter does not require division by a varying quantity each iteration. Division is quite a lot more expensive than multiplication or addition for typical CPU number representations.

Peter Taylor‭ wrote almost 4 years ago

@Derek Elkins, I would say that the key difference is that division by 2 isn't really division in binary floating point representations: it's subtraction applied to the exponent. (I'm sure you know this already, but I didn't think it came through clearly in the explanation).