{"id":125,"date":"2006-08-21T21:17:07","date_gmt":"2006-08-21T21:17:07","guid":{"rendered":"http:\/\/scientopia.org\/blogs\/goodmath\/2006\/08\/21\/a-glance-at-hyperreal-numbers\/"},"modified":"2006-08-21T21:17:07","modified_gmt":"2006-08-21T21:17:07","slug":"a-glance-at-hyperreal-numbers","status":"publish","type":"post","link":"http:\/\/www.goodmath.org\/blog\/2006\/08\/21\/a-glance-at-hyperreal-numbers\/","title":{"rendered":"A Glance at Hyperreal Numbers"},"content":{"rendered":"<p>Since we talked about the surreals, I thought it would be interesting to take a *very* brief look at an alternative system that also provides a way of looking at infinites and infinitessimals: the *hyperreal* numbers.<br \/>\nThe hyperreal numbers are not a construction like the surreals; instead they&#8217;re defined by axiom. The basic idea is that for the normal real numbers, there are a set of basic statements that we can make &#8211; statements of first order logic; and there is a basic structure of the set: it&#8217;s an *ordered field*.<br \/>\nHyperreals add the &#8220;number&#8221; &omega;, the size of the set of natural numbers, so that you can construct numbers using &omega;, like &omega;+1, 1\/&omega;, etc; but it constrains it by axiom so that the set of hyperreals is *still* an ordered field; and all statements that are true in first-order predicate logic over the reals are true in first-order predicate logic over the hyperreals.<br \/>\nFor notation, we write the real field &real;, and the hyperreal field &real;*.<br \/>\nThe Structure of Reals and Hyperreals: What is an ordered field?<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nIf you&#8217;ve been a long-time reader of GM\/BM, you&#8217;ll remember the discussion of group theory. If not, you might want to take a look at it; there&#8217;s a link in the sidebar.<br \/>\nA field is a commutative ring, where the multiplicative identity and the additive identity are not equal; where all numbers have an additive inverse, and all numbers except 0 have a multiplicative inverse.<br \/>\nOf course, for most people, that statement is completely worthless.<br \/>\nIn abstract algebra, we study things about the basic structure of the sets where algebra works. The most basic structure is a *group*. A group is basically a set of values with a single operation, &#8220;&times;&#8221;, called the *group operator*. The &#8220;&times;&#8221; operation is *closed* over the set, meaning that for any values x and y in the set, x &times; y produces a value that is also in the set. The group operator also must be associative &#8211; that is, for any values x, y, and z, x&amp;times(y&times;z) = (x&times;y)&times;z.  The set contains an *identity element* for the group, generally written &#8220;1&#8221;, which has the property that for every value x in the group, &#8220;x&times;1=x&#8221;.  And finally, for any value x in the set, there must be a value x<sup>-1<\/sup> such that x&times;x<sup>-1<\/sup>=1. We often write a group as (G,&times;) where G is the set of values, and &times; is the group operator.<br \/>\nSo, for example, the integers with the &#8220;+&#8221; operation form a group, (Z,+). The real numbers *almost* form a group with multiplication, except that &#8220;0&#8221; has no inverse. If you take the real numbers without 0, then you get a group.<br \/>\nIf the group operator is also commutative (x=y if\/f y=x), then it&#8217;s called an *abelian group*. Addition with &#8220;+&#8221; is an abelian group.<br \/>\nA *ring* (R,+,&times;) is a set with two operations. (R,+) must be an abelian group; (R-{0},&times;) needs to be a group. If &times; is commutative (meaning (R-{0},&times;) is abelian), then the group is called a *commutative* group.<br \/>\nA *field* (F,+,&times;) is a commutative ring with two operators &#8220;+&#8221; and &#8220;&times;&#8221;; where the identity value for &#8220;+&#8221; is written 0, and the identity for &#8220;&times;&#8221; is written 1;  all values have additive inverses, all values except 0 have multiplicative inverses; and 0 &ne; 1. A *subfield* (S,+,&times;) of a field (F,+,&times;) is a field with the same operations as F, and where its set of values is a subset of the values of F.<br \/>\n*Finally*, an *ordered* field is a field with a total order &#8220;&le;&#8221;: for any two values x and y, either &#8220;x &le; y&#8221; or &#8220;y &le; x&#8221;, and if x &le; y &and; y &le; x then x=y. The total order must also respect the two operations:  if a &le; b, then a + x &le; b + x; and if  0 &le; a and 0 &le; b then 0 &le; a&times;b.<br \/>\nThe real numbers are the canonical example of an ordered field.<br \/>\n*(The definitions above were corrected to remove several errors pointed out in the comments by readers &#8220;Dave Glasser&#8221; and &#8220;billb&#8221;. As usual, thanks for the corrections!)*<br \/>\nOne of the things we need to ensure for the hyperreal numbers to work is that they form an ordered field; and that the real numbers are an ordered subfield of the hyperreals.<br \/>\nThe Transfer Principle<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nTo do the axiomatic definition of the hyperreal numbers, we need something called *the transfer principle*. I&#8217;m not going to go into the full details of the transfer principle, because it&#8217;s not a simple thing to fully define it, and prove that it works. But the intuitive idea of it isn&#8217;t hard.<br \/>\nWhat the transfer principle says is: *For any **first order** statement L that&#8217;s true for the ordered field of real numbers, L is also true for the ordered field of hyperreal numbers*.<br \/>\nSo for example: &forall; x &isin; &real;, &amp;exists; y &isin; &real; : x &le; y. Therefore, for any hyperreal number x &isin; &real;*, &amp;exists y &isin; &real;* : x &le; y.<br \/>\nDefining the Hyperreal Numbers<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nTo define the hyperreal numbers so that they do form an ordered field with the right property, we need to two things:<br \/>\n1. Define at least one hyperreal number that is not a real number.<br \/>\n2. Show that the *transfer principle* applies.<br \/>\nSo we define &omega; as a hyperreal number such that &forall; r &isin; &real;, r &lt; &omega;.<br \/>\nWhat we *should* do next is prove that the transfer principle applies. But that&#8217;s well beyond the scope of this post.<br \/>\nWhat we end up with is very similar to what we have with the surreal numbers. We have infinitely large numbers. And because of the transfer principle, since there&#8217;s a successor for any real number, that means that there&#8217;s a successor for &omega;, so there is an &omega;+1. Since multiplication works (by transfer), there is a number 2&times;&omega;. Since the hyperreals are a field, &omega; has a multiplicative inverse, the infinitessimal 1\/&omega;, and an additive inverse, -&omega;.<br \/>\nThere is, of course, a catch. Not quite everything can transfer from &real; to &real;*. We are constrained to *first order* statements. What that means is that we are limited to simple direct statements; we can&#8217;t make statements that are quantified over other statements.<br \/>\nSo for example, we can say that for any real number N, the series 1,1+1,1+1+1,1+1+1,1+1+1+1,&#8230; will eventually reach a point where every element after that point will be larger than N.<br \/>\nBut that&#8217;s not a first order statement. The *series* 1, 1+1, 1+1+1, &#8230; is a *second order* statement: it isn&#8217;t talking about a simple single statement. It&#8217;s talking about a *series* of statements. So the transfer principle fails.<br \/>\nThat does end up being a fairly serious limit. There are a lot of things that you can&#8217;t say using first-order statements. But in exchange for that limitation, you get the ability to talk about infinitely large and infinitely small values, which can make some problems *much* easier to understand.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since we talked about the surreals, I thought it would be interesting to take a *very* brief look at an alternative system that also provides a way of looking at infinites and infinitessimals: the *hyperreal* numbers. The hyperreal numbers are not a construction like the surreals; instead they&#8217;re defined by axiom. The basic idea is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[43],"tags":[],"class_list":["post-125","post","type-post","status-publish","format-standard","hentry","category-numbers"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4lzZS-21","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/comments?post=125"}],"version-history":[{"count":0,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/125\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/media?parent=125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/categories?post=125"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/tags?post=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}