[{"id":247707,"date":"2026-08-23T13:40:57","date_gmt":"2026-08-23T18:40:57","guid":{"rendered":"https:\/\/www.johndcook.com\/blog\/?p=247707"},"modified":"2026-08-23T13:58:25","modified_gmt":"2026-08-23T18:58:25","slug":"modified-bessel-function","status":"publish","type":"post","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/23\/modified-bessel-function\/","title":{"rendered":"What exactly is modified about a modified Bessel function?"},"content":{"rendered":"<p>Special functions often have arcane names that not very helpful without some context. The <a href=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/23\/arcane-terminology\/\">previous post<\/a> goes into some reasons for this. This post will expand on a point at the end of the post about &#8220;modified&#8221; functions.<\/p>\n<p>Things are given their names for a reason. Discovering that reason helps you understand their motivation and use.<\/p>\n<h2>Pure math perspective<\/h2>\n<p>For each integer <em>n<\/em>, the modified Bessel function <em>I<sub>n<\/sub><\/em> is essentially the Bessel function <em>J<sub>n<\/sub><\/em> evaluated along the imaginary axis. Specifically,<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" style=\"background-color: white;\" src=\"https:\/\/www.johndcook.com\/modified_bessel2.svg\" alt=\"I_n(x) = i^{-n} J_n(ix)\" width=\"135\" height=\"18\" \/><\/p>\n<p>From a certain shallow perspective, that&#8217;s the end of the story: modified Bessel functions are modified in the sense that the argument is multiplied by\u00a0<em>i<\/em>. And there&#8217;s a fiddly constant term up front for no apparent reason.<\/p>\n<p>But of course that&#8217;s not the end of the story or else this wouldn&#8217;t be worth an entire post.<\/p>\n<p>The equation above is analogous to the relationships between circular and hyperbolic functions<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" style=\"background-color: white;\" src=\"https:\/\/www.johndcook.com\/modified_bessel3.svg\" alt=\"\\begin{align*} \\sin(ix) &amp;= i \\sinh(x) \\\\ \\cos(ix) &amp;= \\phantom{i} \\cosh(x) \\\\ \\tan(ix) &amp;= \\phantom{i} \\tanh(x) \\end{align*}\" width=\"154\" height=\"76\" \/><\/p>\n<p>These relationships are interesting because the circular and hyperbolic functions are independently meaningful. If you view these equations merely as definitions you lose their significance. Circular and hyperbolic functions were widely used before Euler discovered the connection between them.<\/p>\n<p>Similarly, there&#8217;s a reason the modified Bessel functions were given a name their own. If you were led to Bessel functions and modified Bessel functions separately by different applications, you would regard the equation<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" style=\"background-color: white;\" src=\"https:\/\/www.johndcook.com\/modified_bessel2.svg\" alt=\"I_n(x) = i^{-n} J_n(ix)\" width=\"135\" height=\"18\" \/><\/p>\n<p>as a <strong>discovery<\/strong> rather than just a definition. The following section explains why someone would be interested in modified Bessel functions.<\/p>\n<p>Before we move on, I&#8217;d like to explain the reason for the term <em>i<\/em><sup>\u2212<em>n<\/em><\/sup> term. In general<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" style=\"background-color: white;\" src=\"https:\/\/www.johndcook.com\/modified_bessel4.svg\" alt=\"I_\\nu(x) = \\exp(\\nu\\pi i\/2) J_n(ix)\" width=\"202\" height=\"18\" \/><\/p>\n<p>for all real \u03bd.\u00a0The reason for the exp(\u03bd\u03c0<em>i<\/em>\/2) term is that it makes <em>I<\/em><sub>\u03bd<\/sub>(<em>x<\/em>) real for all real <em>x<\/em>.<\/p>\n<h2>Applied math perspective<\/h2>\n<p>Bessel functions often arise from solving problems with <strong>radial symmetry<\/strong>. Solving the <strong>wave equation<\/strong> in cylindrical coordinates using separation of variables leads to Bessel&#8217;s differential equation<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/www.johndcook.com\/bessel_equation.svg\" alt=\"x^2 y'' + x y' + (x^2 - \\nu^2) y = 0\" width=\"212\" height=\"20\" \/><\/p>\n<p>and its solutions\u00a0<em>J<sub>n<\/sub><\/em> and\u00a0<em>Y<sub>n<\/sub><\/em>, Bessel functions of the first and second kind.<\/p>\n<p>Solving the <strong>heat equation<\/strong> in cylindrical coordinates with separation of variables leads to the <em>modified<\/em> Bessel equation<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" style=\"background-color: white;\" src=\"https:\/\/www.johndcook.com\/modified_bessel5.svg\" alt=\"x^2 y^{\\prime \\prime} + x y^{\\prime} - (x^2 + \\nu^2) y = 0\" width=\"225\" height=\"22\" \/><\/p>\n<p>and its solutions\u00a0<em>I<sub>n<\/sub><\/em> and\u00a0<em>K<sub>n<\/sub><\/em>, the\u00a0<em>modified<\/em> Bessel functions of the first and second kind.<\/p>\n<p>This is the reason behind the complex analysis perspective above: the change of variables sending\u00a0<em>x<\/em> to\u00a0<em>ix<\/em> changes the sign of the <em>x<\/em>\u00b2 term in Bessel&#8217;s equation.<\/p>\n<p>Bessel functions describe radially symmetric <strong>oscillations<\/strong>, such as the vibrations of a drum head. Modified Bessel functions describe radially symmetric <strong>exponential<\/strong> growth or decay, such as in the heat in a cylinder.<\/p>\n<h2>Other modified functions<\/h2>\n<p><strong>Struve functions<\/strong> are closely related to Bessel functions. The (modified) Struve functions also satisfy Bessel&#8217;s (modified) differential equation, but with a non-zero right hand side. The modified Struve functions are proportional to the unmodified Struve functions evaluated along the imaginary axis, with a proportionality constant that makes the modified Struve functions real for real arguments.<\/p>\n<p>There&#8217;s a similar relationship between the <strong>Mathieu functions<\/strong> and modified Mathieu functions. The general pattern is that &#8220;modified&#8221; in the context of special functions means &#8220;evaluated at\u00a0<em>ix<\/em> and multiplied by a constant to make the function real for real arguments.&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Special functions often have arcane names that not very helpful without some context. The previous post goes into some reasons for this. This post will expand on a point at the end of the post about &#8220;modified&#8221; functions. Things are given their names for a reason. Discovering that reason helps you understand their motivation and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[9],"tags":[47,129],"class_list":["post-247707","post","type-post","status-publish","format-standard","hentry","category-math","tag-differential-equations","tag-special-functions"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"What exactly is modified about modified Bessel functions? An explanation from pure math and applied math perspective. Other &quot;modified&quot; functions.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"John\"\/>\n\t<meta name=\"keywords\" content=\"differential equations,special functions\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/23\/modified-bessel-function\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"John D. Cook | Applied Mathematics Consulting\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"What exactly is modified about a modified Bessel function?\" \/>\n\t\t<meta property=\"og:description\" content=\"What exactly is modified about modified Bessel functions? An explanation from pure math and applied math perspective. Other &quot;modified&quot; functions.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/23\/modified-bessel-function\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-08-23T18:40:57+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-23T18:58:25+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"What exactly is modified about a modified Bessel function?\" \/>\n\t\t<meta name=\"twitter:description\" content=\"What exactly is modified about modified Bessel functions? An explanation from pure math and applied math perspective. Other &quot;modified&quot; functions.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"What exactly is modified about a modified Bessel function?","description":"What exactly is modified about modified Bessel functions? An explanation from pure math and applied math perspective. Other \"modified\" functions.","canonical_url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/23\/modified-bessel-function\/","robots":"max-image-preview:large","keywords":"differential equations,special functions","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"John D. Cook | Applied Mathematics Consulting","og:type":"article","og:title":"What exactly is modified about a modified Bessel function?","og:description":"What exactly is modified about modified Bessel functions? An explanation from pure math and applied math perspective. Other &quot;modified&quot; functions.","og:url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/23\/modified-bessel-function\/","article:published_time":"2026-08-23T18:40:57+00:00","article:modified_time":"2026-08-23T18:58:25+00:00","twitter:card":"summary","twitter:title":"What exactly is modified about a modified Bessel function?","twitter:description":"What exactly is modified about modified Bessel functions? An explanation from pure math and applied math perspective. Other &quot;modified&quot; functions.","twitter:image":"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png"},"aioseo_meta_data":{"post_id":"247707","title":null,"description":"What exactly is modified about modified Bessel functions? An explanation from pure math and applied math perspective. Other \"modified\" functions.","keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"created":"2026-08-23 12:21:57","updated":"2026-08-23 19:14:59","ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\/category\/math\/\" title=\"Math\">Math<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tWhat exactly is modified about a modified Bessel function?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.johndcook.com\/blog"},{"label":"Math","link":"https:\/\/www.johndcook.com\/blog\/category\/math\/"},{"label":"What exactly is modified about a modified Bessel function?","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/23\/modified-bessel-function\/"}],"_links":{"self":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247707","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/comments?post=247707"}],"version-history":[{"count":8,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247707\/revisions"}],"predecessor-version":[{"id":247718,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247707\/revisions\/247718"}],"wp:attachment":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/media?parent=247707"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/categories?post=247707"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/tags?post=247707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}},{"id":247705,"date":"2026-08-23T12:56:03","date_gmt":"2026-08-23T17:56:03","guid":{"rendered":"https:\/\/www.johndcook.com\/blog\/?p=247705"},"modified":"2026-08-23T12:59:16","modified_gmt":"2026-08-23T17:59:16","slug":"arcane-terminology","status":"publish","type":"post","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/23\/arcane-terminology\/","title":{"rendered":"Why special function terminology is arcane"},"content":{"rendered":"<p>Special functions are special because they&#8217;re useful. They can also be shrouded in arcane terminology. These two facts are related.<\/p>\n<p>The more widely useful a function is, the more likely it is that the function will be discovered independently multiple times. Independent discoveries lead to varying definitions and notations. For example, there are two widely used definitions of Hermite polynomials, one used in <a href=\"https:\/\/www.johndcook.com\/blog\/2017\/12\/20\/hermite-polynomials-expected-values-and-integration\/\">probability<\/a> and another used in physics, that only differ by a scaling factor. This also explains why there are so many variations on the definitions of the <a href=\"https:\/\/www.johndcook.com\/blog\/2022\/03\/20\/reverse-engineering-fourier-conventions\/\">Fourier transform<\/a> and <a href=\"https:\/\/www.johndcook.com\/blog\/2023\/08\/12\/spherical-coordinate-rosetta-stone\/\">spherical coordinates<\/a>.<\/p>\n<p>Special functions were discovered and applied before they were studied systematically. As with most mathematics, practice preceded theory. In hindsight, some names and conventions were less than ideal, at least from the perspective of someone seeking to organize a theory.<\/p>\n<p>Functions can have arcane names for several reasons, one being that their usefulness became apparent long ago. If you&#8217;re instinct is that things with strange names are no longer important, you&#8217;re instinct might be backward. The strange name may be an indication that something is so important that its usefulness became apparent long ago.<\/p>\n<p>Sometimes special functions have bland, uninformative names because the names stuck before anybody could think of something better. Bob looks into an interesting family of functions, then later he finds another interesting family of functions. These become known as &#8220;Bob&#8217;s functions of the first kind&#8221; and &#8220;Bob&#8217;s functions of the second kind.&#8221; These names are quite understandable at the time, though in the future people will want to know what distinguishes the functions, other than the fact that Bob discovered them, and what the groupings have in common other than the order in which Bob found them.<\/p>\n<p>I started this post intending to discuss modified Bessel functions and explain what exactly is modified about them, but my preface became its own post. &#8220;Modified&#8221; is an example of the bland terminology mentioned above. There are Bessel functions and modified Bessel functions. Without more context, the &#8220;modified&#8221; term isn&#8217;t very informative. But it does provide a clue that there&#8217;s some kind of close relationship between the modified and unmodified functions. That&#8217;ll be the topic of my next post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Special functions are special because they&#8217;re useful. They can also be shrouded in arcane terminology. These two facts are related. The more widely useful a function is, the more likely it is that the function will be discovered independently multiple times. Independent discoveries lead to varying definitions and notations. For example, there are two widely [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[9],"tags":[129],"class_list":["post-247705","post","type-post","status-publish","format-standard","hentry","category-math","tag-special-functions"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Why do special functions have arcane names and sometimes competing definitions? The answer is related to how useful these functions are.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"John\"\/>\n\t<meta name=\"keywords\" content=\"special functions\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/23\/arcane-terminology\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"John D. Cook | Applied Mathematics Consulting\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Why special function terminology is arcane\" \/>\n\t\t<meta property=\"og:description\" content=\"Why do special functions have arcane names and sometimes competing definitions? The answer is related to how useful these functions are.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/23\/arcane-terminology\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-08-23T17:56:03+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-23T17:59:16+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Why special function terminology is arcane\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Why do special functions have arcane names and sometimes competing definitions? The answer is related to how useful these functions are.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Why special function terminology is arcane","description":"Why do special functions have arcane names and sometimes competing definitions? The answer is related to how useful these functions are.","canonical_url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/23\/arcane-terminology\/","robots":"max-image-preview:large","keywords":"special functions","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"John D. Cook | Applied Mathematics Consulting","og:type":"article","og:title":"Why special function terminology is arcane","og:description":"Why do special functions have arcane names and sometimes competing definitions? The answer is related to how useful these functions are.","og:url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/23\/arcane-terminology\/","article:published_time":"2026-08-23T17:56:03+00:00","article:modified_time":"2026-08-23T17:59:16+00:00","twitter:card":"summary","twitter:title":"Why special function terminology is arcane","twitter:description":"Why do special functions have arcane names and sometimes competing definitions? The answer is related to how useful these functions are.","twitter:image":"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png"},"aioseo_meta_data":{"post_id":"247705","title":null,"description":"Why do special functions have arcane names and sometimes competing definitions? The answer is related to how useful these functions are.","keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"created":"2026-08-23 11:12:26","updated":"2026-08-23 18:05:59","ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\/category\/math\/\" title=\"Math\">Math<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tWhy special function terminology is arcane\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.johndcook.com\/blog"},{"label":"Math","link":"https:\/\/www.johndcook.com\/blog\/category\/math\/"},{"label":"Why special function terminology is arcane","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/23\/arcane-terminology\/"}],"_links":{"self":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/comments?post=247705"}],"version-history":[{"count":4,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247705\/revisions"}],"predecessor-version":[{"id":247712,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247705\/revisions\/247712"}],"wp:attachment":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/media?parent=247705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/categories?post=247705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/tags?post=247705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}},{"id":247702,"date":"2026-08-22T19:01:10","date_gmt":"2026-08-23T00:01:10","guid":{"rendered":"https:\/\/www.johndcook.com\/blog\/?p=247702"},"modified":"2026-08-22T19:01:10","modified_gmt":"2026-08-23T00:01:10","slug":"inclination","status":"publish","type":"post","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/22\/inclination\/","title":{"rendered":"The difference orbit inclination makes"},"content":{"rendered":"<p>Suppose you wanted to find the distance between Earth and Mars over time. To first approximation, both planets orbit the sun in elliptic orbits in the same plane.<\/p>\n<p>If you wanted to be more accurate, you&#8217;d need to take into account the fact that the orbit of Mars is tilted about 1.85\u00b0 relative to the Earth&#8217;s orbit. How much difference does that make?<\/p>\n<p>To simplify things, let&#8217;s assume the Earth orbits the sun in a circle of radius 1 and Mars orbits the sun in a circle of radius 1.5. The distance between Earth and Mars over time would be basically sinusoidal.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/www.johndcook.com\/mars_distance0.png\" width=\"480\" height=\"360\" \/><\/p>\n<p>How much does inclination contribute to this distance? In other words, what is the difference between the distance accounting for the inclination of Mars&#8217; orbit and the distance if we assume the two orbits are in the same plane?<\/p>\n<p>This plot gives the answer.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/www.johndcook.com\/mars_distance1.png\" width=\"480\" height=\"360\" \/><\/p>\n<p>The effect is not large, about three orders of magnitude smaller than the main effect, but it&#8217;s interesting how erratic it is.<\/p>\n<p>The plots were made with the following code.<\/p>\n<pre>from numpy import *\r\n\r\nR = 1.5\r\nT = R**1.5 # Kepler's third law\r\n\r\ndef f(t, theta):\r\n    return sqrt(\r\n        (cos(t) - R*cos(t\/T)*cos(theta))**2 +\r\n        (sin(t) - R*sin(t\/T))**2 +\r\n        (R*sin(theta)*cos(t\/T))**2\r\n    )\r\n<\/pre>\n<p>The first plot graphs <em>f<\/em>(<em>t<\/em>, \u03b8) and the second graphs <em>f<\/em>(<em>t<\/em>, \u03b8) \u2212 <em>f<\/em>(<em>t<\/em>, 0).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Suppose you wanted to find the distance between Earth and Mars over time. To first approximation, both planets orbit the sun in elliptic orbits in the same plane. If you wanted to be more accurate, you&#8217;d need to take into account the fact that the orbit of Mars is tilted about 1.85\u00b0 relative to the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[9],"tags":[213],"class_list":["post-247702","post","type-post","status-publish","format-standard","hentry","category-math","tag-orbital-mechanics"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"To first approximation, all the planets in our solar system orbit in the same plane. What difference does accounting for inclination make?\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"John\"\/>\n\t<meta name=\"keywords\" content=\"orbital mechanics\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/22\/inclination\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"John D. Cook | Applied Mathematics Consulting\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"The difference orbit inclination makes\" \/>\n\t\t<meta property=\"og:description\" content=\"To first approximation, all the planets in our solar system orbit in the same plane. What difference does accounting for inclination make?\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/22\/inclination\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-08-23T00:01:10+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-23T00:01:10+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"The difference orbit inclination makes\" \/>\n\t\t<meta name=\"twitter:description\" content=\"To first approximation, all the planets in our solar system orbit in the same plane. What difference does accounting for inclination make?\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"The difference orbit inclination makes","description":"To first approximation, all the planets in our solar system orbit in the same plane. What difference does accounting for inclination make?","canonical_url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/22\/inclination\/","robots":"max-image-preview:large","keywords":"orbital mechanics","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"John D. Cook | Applied Mathematics Consulting","og:type":"article","og:title":"The difference orbit inclination makes","og:description":"To first approximation, all the planets in our solar system orbit in the same plane. What difference does accounting for inclination make?","og:url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/22\/inclination\/","article:published_time":"2026-08-23T00:01:10+00:00","article:modified_time":"2026-08-23T00:01:10+00:00","twitter:card":"summary","twitter:title":"The difference orbit inclination makes","twitter:description":"To first approximation, all the planets in our solar system orbit in the same plane. What difference does accounting for inclination make?","twitter:image":"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png"},"aioseo_meta_data":{"post_id":"247702","title":null,"description":"To first approximation, all the planets in our solar system orbit in the same plane. What difference does accounting for inclination make?","keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"created":"2026-08-22 23:30:55","updated":"2026-08-23 11:12:58","ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\/category\/math\/\" title=\"Math\">Math<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tThe difference orbit inclination makes\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.johndcook.com\/blog"},{"label":"Math","link":"https:\/\/www.johndcook.com\/blog\/category\/math\/"},{"label":"The difference orbit inclination makes","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/22\/inclination\/"}],"_links":{"self":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/comments?post=247702"}],"version-history":[{"count":2,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247702\/revisions"}],"predecessor-version":[{"id":247704,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247702\/revisions\/247704"}],"wp:attachment":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/media?parent=247702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/categories?post=247702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/tags?post=247702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}},{"id":247699,"date":"2026-08-22T10:34:11","date_gmt":"2026-08-22T15:34:11","guid":{"rendered":"https:\/\/www.johndcook.com\/blog\/?p=247699"},"modified":"2026-08-22T10:34:11","modified_gmt":"2026-08-22T15:34:11","slug":"coming-soon","status":"publish","type":"post","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/22\/coming-soon\/","title":{"rendered":"Coming soon"},"content":{"rendered":"<p>There&#8217;s a pizza shop near my home with a sign out front that says &#8220;Coming Soon.&#8221; When I drove by it this morning I thought about how you would model the time until an event happens that is &#8220;coming soon.&#8221;<\/p>\n<p>Suppose I look at the sign one day and guess how many days until the pizza shop will open. When I drive by a week later and guess again, should my guess be smaller? You might argue that the shop will open some day, fixed in time but unknown to me, and so every day I&#8217;m one day closer to the eventual opening.<\/p>\n<p>You might model the pizza shop opening like radioactive decay and say that the estimated number of days until it opens is always the same until the day it actually opens.<\/p>\n<p>Now I think this shop has been &#8220;coming soon&#8221; for over a year. So instead of decreasing, every day I increase my estimate of the time until the shop opens. Something has gone wrong that the owners didn&#8217;t expect when they put up the sign.<\/p>\n<p>Maybe the reasonable thing would be for estimated days until opening to decrease over time, but only up to a point. After some point, the longer a business has been &#8220;coming soon&#8221; the less like that it is coming soon, or coming at all.<\/p>\n<p>This brings up an interesting point about modeling. There are two probability distributions at work: the probability that the shop will eventually open, and the time until opening assuming it eventually opens.<\/p>\n<p>When the sign first goes up saying the business is coming soon, there&#8217;s some change that it is in fact not coming. Maybe you&#8217;re optimistic and think this probability is small, but it would seem unreasonable to think the probability is zero. That means the\u00a0<em>expected<\/em> number of days until opening is always infinite. If there&#8217;s a probability \u03b5 that the shop never opens, the expected time to opening is<\/p>\n<p style=\"padding-left: 40px;\">\u03b5 \u00d7 \u221e + (1 \u2212 \u03b5) \u00d7 something = \u221e.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s a pizza shop near my home with a sign out front that says &#8220;Coming Soon.&#8221; When I drove by it this morning I thought about how you would model the time until an event happens that is &#8220;coming soon.&#8221; Suppose I look at the sign one day and guess how many days until the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[17],"tags":[106],"class_list":["post-247699","post","type-post","status-publish","format-standard","hentry","category-statistics","tag-probability-and-statistics"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"How would you model the time until a business opens that is &quot;coming soon&quot;?\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"John\"\/>\n\t<meta name=\"keywords\" content=\"probability and statistics\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/22\/coming-soon\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"John D. Cook | Applied Mathematics Consulting\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Coming soon\" \/>\n\t\t<meta property=\"og:description\" content=\"How would you model the time until a business opens that is &quot;coming soon&quot;?\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/22\/coming-soon\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-08-22T15:34:11+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-22T15:34:11+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Coming soon\" \/>\n\t\t<meta name=\"twitter:description\" content=\"How would you model the time until a business opens that is &quot;coming soon&quot;?\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Coming soon","description":"How would you model the time until a business opens that is \"coming soon\"?","canonical_url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/22\/coming-soon\/","robots":"max-image-preview:large","keywords":"probability and statistics","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"John D. Cook | Applied Mathematics Consulting","og:type":"article","og:title":"Coming soon","og:description":"How would you model the time until a business opens that is &quot;coming soon&quot;?","og:url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/22\/coming-soon\/","article:published_time":"2026-08-22T15:34:11+00:00","article:modified_time":"2026-08-22T15:34:11+00:00","twitter:card":"summary","twitter:title":"Coming soon","twitter:description":"How would you model the time until a business opens that is &quot;coming soon&quot;?","twitter:image":"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png"},"aioseo_meta_data":{"post_id":"247699","title":null,"description":"How would you model the time until a business opens that is \"coming soon\"?","keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"created":"2026-08-22 15:15:49","updated":"2026-08-22 17:16:59","ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\/category\/statistics\/\" title=\"Statistics\">Statistics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tComing soon\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.johndcook.com\/blog"},{"label":"Statistics","link":"https:\/\/www.johndcook.com\/blog\/category\/statistics\/"},{"label":"Coming soon","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/22\/coming-soon\/"}],"_links":{"self":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/comments?post=247699"}],"version-history":[{"count":2,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247699\/revisions"}],"predecessor-version":[{"id":247701,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247699\/revisions\/247701"}],"wp:attachment":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/media?parent=247699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/categories?post=247699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/tags?post=247699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}},{"id":247692,"date":"2026-08-21T08:14:28","date_gmt":"2026-08-21T13:14:28","guid":{"rendered":"https:\/\/www.johndcook.com\/blog\/?p=247692"},"modified":"2026-08-21T14:09:29","modified_gmt":"2026-08-21T19:09:29","slug":"ancient-number-system","status":"publish","type":"post","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/21\/ancient-number-system\/","title":{"rendered":"How would you know whether an ancient culture had zero?"},"content":{"rendered":"<p><a href=\"https:\/\/www.johndcook.com\/blog\/2026\/07\/25\/excel-column-numbering\/\">A few weeks ago<\/a> I wrote about the number system used in labeling spreadsheet columns. Labels run from A through Z, then AA through AZ, etc. This looks a lot like base 26, but it&#8217;s not quite the same. It has no analog of zero. If Z were like zero, Y would be followed by AZ. The Excel labeling system is not base 26, but what&#8217;s called bijective base 26.<\/p>\n<p>If you found fragments of writing from an ancient culture and inferred that five symbols were used as digits, how could you distinguish base 5 from bijective base 5? Suppose you believe these five symbols were digits<\/p>\n<p style=\"padding-left: 40px;\">\u2605 &#x2602;\ufe0e &#x2618;\ufe0e \u2617 &#x2622;\ufe0e<\/p>\n<p>but you don&#8217;t know in what order. You just see sequences like &#x2602;&#xfe0e;&#x2618;&#xfe0e;&#x2622;&#xfe0e; and \u2605\u2605&#x2602;&#xfe0e; and believe they&#8217;re numbers.<\/p>\n<p>If you noticed that numbers often contain &#x2618;&#xfe0e;, but &#x2618;&#xfe0e; never appears at the beginning of a number, you might infer that &#x2618;&#xfe0e; is a zero. But this would take a fairly large sample. If you found only 20 numbers, for example, you could hardly conclude &#x2618;&#xfe0e; never appears at the beginning of a number just because it doesn&#8217;t come at the beginning of any number you&#8217;ve seen.<\/p>\n<p>Now suppose you&#8217;ve found writing with more number symbols. Say you&#8217;ve found 17 numeric symbols. You might infer that the writing used a base 20 system, because it would be hard to imagine a human culture using base 17. Now imagine you find more fragments and confirmed that indeed there are 20 numeric symbols. Approached as a purely statistical problem, you&#8217;d need a very large sample to infer what the digits correspond to and whether they use a base 20 or bijective base 20 system (or some other system).<\/p>\n<p>You&#8217;re best hope is to find numbers in some context where you know what number is being represented. If you knew somehow that some symbol corresponds to 20, then you&#8217;d know they didn&#8217;t use base 20 because base <em>b<\/em> doesn&#8217;t have a single symbol for <em>b<\/em>.<\/p>\n<p>If you had a huge collection of numbers but no context, which is highly unlikely, you could use <a href=\"https:\/\/www.johndcook.com\/blog\/benfords-law\/\">Benford&#8217;s law<\/a> to infer the meaning of the number symbols: the most common leading digit is probably 1, the next most common is probably 2, etc. This is interesting to think about, but it seems much more realistic that a number system would be decoded by finding context, such as a list of consecutive numbers or numbers with known meaning.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few weeks ago I wrote about the number system used in labeling spreadsheet columns. Labels run from A through Z, then AA through AZ, etc. This looks a lot like base 26, but it&#8217;s not quite the same. It has no analog of zero. If Z were like zero, Y would be followed by [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[9],"tags":[271],"class_list":["post-247692","post","type-post","status-publish","format-standard","hentry","category-math","tag-number-systems"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"How would you know whether an ancient writing system had a symbol for zero?\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"John\"\/>\n\t<meta name=\"keywords\" content=\"number systems\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/21\/ancient-number-system\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"John D. Cook | Applied Mathematics Consulting\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How would you know whether an ancient culture had zero?\" \/>\n\t\t<meta property=\"og:description\" content=\"How would you know whether an ancient writing system had a symbol for zero?\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/21\/ancient-number-system\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-08-21T13:14:28+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-21T19:09:29+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How would you know whether an ancient culture had zero?\" \/>\n\t\t<meta name=\"twitter:description\" content=\"How would you know whether an ancient writing system had a symbol for zero?\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How would you know whether an ancient culture had zero?","description":"How would you know whether an ancient writing system had a symbol for zero?","canonical_url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/21\/ancient-number-system\/","robots":"max-image-preview:large","keywords":"number systems","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"John D. Cook | Applied Mathematics Consulting","og:type":"article","og:title":"How would you know whether an ancient culture had zero?","og:description":"How would you know whether an ancient writing system had a symbol for zero?","og:url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/21\/ancient-number-system\/","article:published_time":"2026-08-21T13:14:28+00:00","article:modified_time":"2026-08-21T19:09:29+00:00","twitter:card":"summary","twitter:title":"How would you know whether an ancient culture had zero?","twitter:description":"How would you know whether an ancient writing system had a symbol for zero?","twitter:image":"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png"},"aioseo_meta_data":{"post_id":"247692","title":null,"description":"How would you know whether an ancient writing system had a symbol for zero?","keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"created":"2026-08-21 11:47:25","updated":"2026-08-21 20:36:59","ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\/category\/math\/\" title=\"Math\">Math<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow would you know whether an ancient culture had zero?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.johndcook.com\/blog"},{"label":"Math","link":"https:\/\/www.johndcook.com\/blog\/category\/math\/"},{"label":"How would you know whether an ancient culture had zero?","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/21\/ancient-number-system\/"}],"_links":{"self":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/comments?post=247692"}],"version-history":[{"count":5,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247692\/revisions"}],"predecessor-version":[{"id":247698,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247692\/revisions\/247698"}],"wp:attachment":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/media?parent=247692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/categories?post=247692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/tags?post=247692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}},{"id":247682,"date":"2026-08-20T08:48:43","date_gmt":"2026-08-20T13:48:43","guid":{"rendered":"https:\/\/www.johndcook.com\/blog\/?p=247682"},"modified":"2026-08-20T08:49:32","modified_gmt":"2026-08-20T13:49:32","slug":"ai-generated-ascii-diagrams","status":"publish","type":"post","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/20\/ai-generated-ascii-diagrams\/","title":{"rendered":"AI-generated ASCII diagrams"},"content":{"rendered":"<p>I like AI-generated ASCII diagrams. Because nobody would ask AI to generate ASCII diagrams, and so, it&#8217;s congruous. I like incongruity [1].<\/p>\n<p>Aside from the incongruity of using a gazillion-parameter neural network to make 1970&#8217;s style ASCII art, ASCII diagrams have some uses. They&#8217;re absolutely tiny compared to image files. But more importantly they can be inserted into plain text files, such as source code or markdown. A diagram embedded directly into a source file cannot become separated from the code.<\/p>\n<p>ASCII diagrams are tedious to create, though there are <a href=\"https:\/\/www.johndcook.com\/blog\/2016\/06\/15\/ascii-art-diagrams-in-emacs-org-mode\/\">tools<\/a> to mitigate the tedium. But if an AI can generate the diagram, the tedium goes away.<\/p>\n<p>I was curious how well Claude could create ASCII diagrams, so I tried a few examples. I hope these render well in whatever format you&#8217;re reading this post. They look fine for me previewing the post in a browser. I expect they might not turn out so well in an RSS reader.<\/p>\n<p>I asked it to reproduce the graphs from my recently post on the <a href=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/the-imbalance-theorem\/\">graph imbalance theorem<\/a> and the first diagram turned out nicely.<\/p>\n<pre style=\"font-size: 12px; line-height: 1.2; overflow-x: auto;\">\r\n                 +-------+                                +-------+\r\n                 |   A   |--------------------------------|   B   |\r\n                 +-------+                                +-------+\r\n                     |                                        |\r\n                     |                                        |\r\n   ------------------|------------------             ---------|---------\r\n   |        |        |        |        |             |        |        |\r\n   |        |        |        |        |             |        |        |\r\n+-----+  +-----+  +-----+  +-----+  +-----+       +-----+  +-----+  +-----+\r\n| a0  |  | a1  |  | a2  |  | a3  |  | a4  |       | b0  |  | b1  |  | b2  |\r\n+-----+  +-----+  +-----+  +-----+  +-----+       +-----+  +-----+  +-----+\r\n<\/pre>\n<p>The second network is more complicated and so the corresponding ASCII diagram is hard to read.<\/p>\n<pre style=\"font-size: 12px; line-height: 1.2; overflow-x: auto;\">\r\n   +----------------------------------------------------------------+\r\n   |                                                                |\r\n   |+-----------------------------------------------+               |\r\n   ||                                               |               |\r\n   ||+-------------------------------+              |               |\r\n  +-------+       +-------+       +-------+       +-------+       +-------+\r\n  |  R1   |-------|  R2   |-------|  R3   |-------|  R4   |-------|  R5   |\r\n  +-------+       +-------+       +-------+       +-------+       +-------+\r\n      |             | | |          |   |           |   |           |  |  |\r\n     ++             | | |          |   |           |   |           |  |  |\r\n     | +---------------------------+   |           |   |           |  |  |\r\n     | |            ++| |              |           |   |           |  |  |\r\n     | |             || +--------------+           |   |           |  |  |\r\n     | |             || |  +---------------------------------------+  |  |\r\n     | |             |+-|--|-------------+         |   |              |  |\r\n     | |             |  |  |             |  +------+   |              |  |\r\n     | |             |  |  |             |  |  +----------------------+  |\r\n     | |             |  +--|-------------|--|--|-------------+           |\r\n     | |             |  |  |             |  |  |       +-----|--+        |\r\n     | |             |  |  |             |  |  |             |  |  +-----+\r\n     | |             |  |  |             |  |  |             |  |  |\r\n  +-------+         +-------+           +-------+           +-------+\r\n  |  G1   |         |  B1   |           |  B2   |           |  B3   |\r\n  +-------+         +-------+           +-------+           +-------+\r\n<\/pre>\n<p>For a third example, here is a fairly complicated diagram that nevertheless lends itself to a readable ASCII diagram. It&#8217;s a <a href=\"https:\/\/www.johndcook.com\/blog\/2020\/04\/04\/feistel-networks\/\">Feistel network<\/a> diagram for DES encryption.<\/p>\n<pre style=\"font-size: 12px; line-height: 1.2; overflow-x: auto;\">\r\n   +-------------+                    +-------------+\r\n   |   L(i-1)    |                    |   R(i-1)    |--------\r\n   +-------------+                    +-------------+       |\r\n          |                                  |              |\r\n          |                                  |              |\r\n          |                      +-----------------------+  |\r\n          |                      |   E (expand 32->48)   |  |\r\n          |                      +-----------------------+  |\r\n          |                                  |              |\r\n          |                      +-----------------------+  |\r\n          |                      |     XOR with K(i)     |  |\r\n          |                      +-----------------------+  |\r\n          |                                  |              |\r\n          |                      +-----------------------+  |\r\n          |                      |    S-boxes S1..S8     |  |\r\n          |                      +-----------------------+  |\r\n          |                                  |              |\r\n          |                      +-----------------------+  |\r\n          |                      |    P (permutation)    |  |\r\n          |                      +-----------------------+  |\r\n          |                                  |              |\r\n          |                                  |              |\r\n          |            +-------+             |              |\r\n          +------------|  XOR  |-------------+              |\r\n                       +-------+                            |\r\n                           |                                |\r\n          +----------------|--------------------------------+\r\n          |                +------------------+\r\n          |                                   |\r\n   +-------------+                    +-------------+\r\n   |    L(i)     |                    |    R(i)     |\r\n   +-------------+                    +-------------+\r\n<\/pre>\n<h2>Related posts<\/h2>\n<ul>\n<li class='link'><a href='https:\/\/www.johndcook.com\/blog\/2020\/07\/25\/worst-tool-for-the-job\/'>The worst tool for the job<\/a><\/li>\n<li class='link'><a href='https:\/\/www.johndcook.com\/blog\/2023\/12\/11\/ascii-armor\/'>ASCII armor<\/a><\/li>\n<li class='link'><a href='https:\/\/www.johndcook.com\/blog\/2022\/05\/28\/how-to-memorize-the-ascii-table\/'>Memorizing the ASCII table<\/a><\/li>\n<\/ul>\n<p>[1] See Christian Wolff&#8217;s discussion of dogs playing poker in The Accountant (2016).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I like AI-generated ASCII diagrams. Because nobody would ask AI to generate ASCII diagrams, and so, it&#8217;s congruous. I like incongruity [1]. Aside from the incongruity of using a gazillion-parameter neural network to make 1970&#8217;s style ASCII art, ASCII diagrams have some uses. They&#8217;re absolutely tiny compared to image files. But more importantly they can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-247682","post","type-post","status-publish","format-standard","hentry","category-computing"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Using an LLM to generate ASCII diagrams is kinda odd, but it could be useful in some circumstances. Three examples of how well Claude does generating diagrams.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"John\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/20\/ai-generated-ascii-diagrams\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"John D. Cook | Applied Mathematics Consulting\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"AI-generated ASCII diagrams\" \/>\n\t\t<meta property=\"og:description\" content=\"Using an LLM to generate ASCII diagrams is kinda odd, but it could be useful in some circumstances. Three examples of how well Claude does generating diagrams.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/20\/ai-generated-ascii-diagrams\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-08-20T13:48:43+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-20T13:49:32+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"AI-generated ASCII diagrams\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Using an LLM to generate ASCII diagrams is kinda odd, but it could be useful in some circumstances. Three examples of how well Claude does generating diagrams.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"AI-generated ASCII diagrams","description":"Using an LLM to generate ASCII diagrams is kinda odd, but it could be useful in some circumstances. Three examples of how well Claude does generating diagrams.","canonical_url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/20\/ai-generated-ascii-diagrams\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"John D. Cook | Applied Mathematics Consulting","og:type":"article","og:title":"AI-generated ASCII diagrams","og:description":"Using an LLM to generate ASCII diagrams is kinda odd, but it could be useful in some circumstances. Three examples of how well Claude does generating diagrams.","og:url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/20\/ai-generated-ascii-diagrams\/","article:published_time":"2026-08-20T13:48:43+00:00","article:modified_time":"2026-08-20T13:49:32+00:00","twitter:card":"summary","twitter:title":"AI-generated ASCII diagrams","twitter:description":"Using an LLM to generate ASCII diagrams is kinda odd, but it could be useful in some circumstances. Three examples of how well Claude does generating diagrams.","twitter:image":"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png"},"aioseo_meta_data":{"post_id":"247682","title":null,"description":"Using an LLM to generate ASCII diagrams is kinda odd, but it could be useful in some circumstances. Three examples of how well Claude does generating diagrams.","keywords":null,"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"created":"2026-08-20 12:35:20","updated":"2026-08-21 15:01:38","ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\/category\/computing\/\" title=\"Computing\">Computing<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAI-generated ASCII diagrams\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.johndcook.com\/blog"},{"label":"Computing","link":"https:\/\/www.johndcook.com\/blog\/category\/computing\/"},{"label":"AI-generated ASCII diagrams","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/20\/ai-generated-ascii-diagrams\/"}],"_links":{"self":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/comments?post=247682"}],"version-history":[{"count":9,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247682\/revisions"}],"predecessor-version":[{"id":247691,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247682\/revisions\/247691"}],"wp:attachment":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/media?parent=247682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/categories?post=247682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/tags?post=247682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}},{"id":247675,"date":"2026-08-18T19:22:36","date_gmt":"2026-08-19T00:22:36","guid":{"rendered":"https:\/\/www.johndcook.com\/blog\/?p=247675"},"modified":"2026-08-18T19:22:36","modified_gmt":"2026-08-19T00:22:36","slug":"big-little-hexagon","status":"publish","type":"post","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/big-little-hexagon\/","title":{"rendered":"Big little hexagon"},"content":{"rendered":"<p>A new paper just came out, <a href=\"https:\/\/arxiv.org\/abs\/2608.15666v1\">The Maximum-Area Small Polygon Problem<\/a>. The paper solves the problem of finding, for each <em>n<\/em>, the <em>n<\/em>-gon with diameter 1 and maximum area.<\/p>\n<p>For odd <em>n<\/em>, the solution is what you might expect: a regular <em>n<\/em>-gon. I would expect this to be the solution for even <em>n<\/em> as well, but it&#8217;s not. <\/p>\n<p>In 1974 [1] Ron Graham found a solution for <em>n<\/em> = 6, a hexagon with unit diameter and area larger than a regular hexagon with unit diameter. Polygons with diameter \u2264 1 are called &#8220;small&#8221;, and he found the &#8220;largest&#8221; (i.e. maximum area) small hexagon.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/www.johndcook.com\/graham_hexagon.png\" width=\"410\" height=\"410\" \/><\/p>\n<p>The vertices of Graham&#8217;s hexagon are given below.<\/p>\n<pre>  A = (0.0000000000,  0.0000000000)\r\n  C = (0.4023506913, -0.5000000000)\r\n  F = (0.9390533483, -0.3437714489)\r\n  B = (1.0000000000,  0.0000000000)\r\n  E = (0.9390533483,  0.3437714489)\r\n  D = (0.4023506913,  0.5000000000)\r\n<\/pre>\n<p>You can verify that the distance between any pair of vertices is no more than 1 and that the area of Graham&#8217;s hexagon is 0.674981.<\/p>\n<p>The area of a regular hexagon of diameter 1 is (3\/8)&radic;3 = 0.649519, and the area of Graham&#8217;s hexagon is about 3.9% larger.<\/p>\n<p>[1] R. L. Graham. The Largest Small Hexagon. Journal of Combinatorial Theory (A) 18, 165\u2013170 (1975). The paper was submitted February 22, 1974 and published in 1975.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A new paper just came out, The Maximum-Area Small Polygon Problem. The paper solves the problem of finding, for each n, the n-gon with diameter 1 and maximum area. For odd n, the solution is what you might expect: a regular n-gon. I would expect this to be the solution for even n as well, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[9],"tags":[224],"class_list":["post-247675","post","type-post","status-publish","format-standard","hentry","category-math","tag-geometry"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Ron Graham&#039;s hexagon has diameter 1 but a larger area than a regular hexagon with diameter 1.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"John\"\/>\n\t<meta name=\"keywords\" content=\"geometry\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/big-little-hexagon\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"John D. Cook | Applied Mathematics Consulting\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Big little hexagon\" \/>\n\t\t<meta property=\"og:description\" content=\"Ron Graham&#039;s hexagon has diameter 1 but a larger area than a regular hexagon with diameter 1.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/big-little-hexagon\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-08-19T00:22:36+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-19T00:22:36+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Big little hexagon\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Ron Graham&#039;s hexagon has diameter 1 but a larger area than a regular hexagon with diameter 1.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Big little hexagon","description":"Ron Graham's hexagon has diameter 1 but a larger area than a regular hexagon with diameter 1.","canonical_url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/big-little-hexagon\/","robots":"max-image-preview:large","keywords":"geometry","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"John D. Cook | Applied Mathematics Consulting","og:type":"article","og:title":"Big little hexagon","og:description":"Ron Graham's hexagon has diameter 1 but a larger area than a regular hexagon with diameter 1.","og:url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/big-little-hexagon\/","article:published_time":"2026-08-19T00:22:36+00:00","article:modified_time":"2026-08-19T00:22:36+00:00","twitter:card":"summary","twitter:title":"Big little hexagon","twitter:description":"Ron Graham's hexagon has diameter 1 but a larger area than a regular hexagon with diameter 1.","twitter:image":"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png"},"aioseo_meta_data":{"post_id":"247675","title":null,"description":"Ron Graham's hexagon has diameter 1 but a larger area than a regular hexagon with diameter 1.","keywords":null,"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"created":"2026-08-18 23:37:50","updated":"2026-08-21 15:01:38","ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\/category\/math\/\" title=\"Math\">Math<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tBig little hexagon\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.johndcook.com\/blog"},{"label":"Math","link":"https:\/\/www.johndcook.com\/blog\/category\/math\/"},{"label":"Big little hexagon","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/big-little-hexagon\/"}],"_links":{"self":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/comments?post=247675"}],"version-history":[{"count":2,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247675\/revisions"}],"predecessor-version":[{"id":247677,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247675\/revisions\/247677"}],"wp:attachment":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/media?parent=247675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/categories?post=247675"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/tags?post=247675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}},{"id":247668,"date":"2026-08-18T10:54:57","date_gmt":"2026-08-18T15:54:57","guid":{"rendered":"https:\/\/www.johndcook.com\/blog\/?p=247668"},"modified":"2026-08-18T11:13:22","modified_gmt":"2026-08-18T16:13:22","slug":"the-imbalance-theorem","status":"publish","type":"post","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/the-imbalance-theorem\/","title":{"rendered":"The imbalance theorem"},"content":{"rendered":"<p>The imbalance conjecture is now a theorem. James Alexander Schreib and Yousof Yavari posted a <a href=\"https:\/\/arxiv.org\/abs\/2608.09191\">proof<\/a> last week.<\/p>\n<p>What does the <del>conjecture<\/del> theorem say? Start with a graph\u00a0<em>G<\/em> with no edge between two nodes of the same degree. Then for every edge, calculate the absolute value of the difference of the degree of each end. The imbalance theorem says there exists another graph\u00a0<em>H<\/em> whose vertices have degrees corresponding to the differences of degrees in\u00a0<em>G<\/em>.<\/p>\n<p>For example, let\u00a0<em>G<\/em> be the graph below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/www.johndcook.com\/no_equal_degree_graph.png\" width=\"533\" height=\"400\" \/><\/p>\n<p>The edges from the top red vertex\u00a0<em>A<\/em> to each of the blue vertices around it all have degree difference 5 because\u00a0<em>A<\/em> has degree 6 and the vertices <em>a<\/em><sub>0<\/sub> to <em>a<\/em><sub>4<\/sub> have degree 1. The edge between the two red vertices,\u00a0<em>A<\/em> and\u00a0<em>B<\/em>, has degree difference 2. The remaining vertices have degree difference 3.<\/p>\n<p>So the <a href=\"https:\/\/www.johndcook.com\/blog\/2022\/10\/26\/multisets\/\">multiset<\/a> of degree differences is<\/p>\n<p style=\"padding-left: 40px;\">{5, 5, 5, 5, 5, 2, 3, 3, 3}<\/p>\n<p>The imbalance theorem says there exists a graph\u00a0<em>H<\/em> whose nodes have these degrees. Here is an example of such an\u00a0<em>H<\/em>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/www.johndcook.com\/degree_sequence_graph.png\" width=\"461\" height=\"461\" \/><\/p>\n<p>Note that in\u00a0<em>H<\/em>, the 5 red nodes have degree 5, the single green node has degree 2, and the three blue nodes have degree 3.<\/p>\n<h2>More graph posts<\/h2>\n<ul>\n<li class='link'><a href='https:\/\/www.johndcook.com\/blog\/2023\/08\/10\/texas-tour\/'>Traveling salesman tour of Texas<\/a><\/li>\n<li class='link'><a href='https:\/\/www.johndcook.com\/blog\/2025\/05\/21\/effective-graph-resistance\/'>Effective graph resistence<\/a><\/li>\n<li class='link'><a href='https:\/\/www.johndcook.com\/blog\/2017\/02\/21\/visualizing-graph-spectra-like-chemical-spectra\/'>Visualizing graph spectra<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The imbalance conjecture is now a theorem. James Alexander Schreib and Yousof Yavari posted a proof last week. What does the conjecture theorem say? Start with a graph\u00a0G with no edge between two nodes of the same degree. Then for every edge, calculate the absolute value of the difference of the degree of each end. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[9],"tags":[145],"class_list":["post-247668","post","type-post","status-publish","format-standard","hentry","category-math","tag-networks"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Illustrating the recently proven imbalance theorem for graphs.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"John\"\/>\n\t<meta name=\"keywords\" content=\"networks\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/the-imbalance-theorem\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"John D. Cook | Applied Mathematics Consulting\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"The imbalance theorem\" \/>\n\t\t<meta property=\"og:description\" content=\"Illustrating the recently proven imbalance theorem for graphs.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/the-imbalance-theorem\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-08-18T15:54:57+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-18T16:13:22+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"The imbalance theorem\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Illustrating the recently proven imbalance theorem for graphs.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"The imbalance theorem","description":"Illustrating the recently proven imbalance theorem for graphs.","canonical_url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/the-imbalance-theorem\/","robots":"max-image-preview:large","keywords":"networks","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"John D. Cook | Applied Mathematics Consulting","og:type":"article","og:title":"The imbalance theorem","og:description":"Illustrating the recently proven imbalance theorem for graphs.","og:url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/the-imbalance-theorem\/","article:published_time":"2026-08-18T15:54:57+00:00","article:modified_time":"2026-08-18T16:13:22+00:00","twitter:card":"summary","twitter:title":"The imbalance theorem","twitter:description":"Illustrating the recently proven imbalance theorem for graphs.","twitter:image":"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png"},"aioseo_meta_data":{"post_id":"247668","title":null,"description":"Illustrating the recently proven imbalance theorem for graphs.","keywords":null,"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"created":"2026-08-18 15:14:35","updated":"2026-08-21 15:01:39","ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\/category\/math\/\" title=\"Math\">Math<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tThe imbalance theorem\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.johndcook.com\/blog"},{"label":"Math","link":"https:\/\/www.johndcook.com\/blog\/category\/math\/"},{"label":"The imbalance theorem","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/the-imbalance-theorem\/"}],"_links":{"self":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/comments?post=247668"}],"version-history":[{"count":4,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247668\/revisions"}],"predecessor-version":[{"id":247672,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247668\/revisions\/247672"}],"wp:attachment":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/media?parent=247668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/categories?post=247668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/tags?post=247668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}},{"id":247662,"date":"2026-08-18T08:42:06","date_gmt":"2026-08-18T13:42:06","guid":{"rendered":"https:\/\/www.johndcook.com\/blog\/?p=247662"},"modified":"2026-08-20T06:45:15","modified_gmt":"2026-08-20T11:45:15","slug":"mean-distance-to-the-sun","status":"publish","type":"post","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/mean-distance-to-the-sun\/","title":{"rendered":"Mean distance to the sun"},"content":{"rendered":"<p>Suppose you have a planet in an elliptical orbit around a star. The math is identical for any light object orbiting a heavy object, such as a moon or satellite orbiting a planet, but we&#8217;ll call the heavy object a star and the light object a planet.<\/p>\n<p>The center of the star is not quite the center of the orbit. The planet moves along an ellipse with the star at one focus of that ellipse.<\/p>\n<p>Let <em>a<\/em> be the semi-major axis of planet&#8217;s orbit, the maximum distance from the center of the ellipse to a point on the ellipse. Then the distance of a focus to the center of the ellipse is <em>ae<\/em> where <em>e<\/em> is the eccentricity of the ellipse. This defines eccentricity. The center of earth&#8217;s orbit is between three and four solar radii away from the center of the sun [1].<\/p>\n<p>The planet is farthest from the star when it is along the major axis of the ellipse on the opposite side as the star. The distance is then <em>a<\/em> + <em>ae<\/em>, the distance to the center plus the distance from the center to the star. On the opposite side of its orbit, the planet is closest to the star. There the distance is <em>a<\/em> \u2212 <em>ae<\/em>. In summary the maximum distance to the star is<\/p>\n<p style=\"padding-left: 40px;\"><em>a<\/em>(1 + <em>e<\/em>)<\/p>\n<p>and the minimum distance is<\/p>\n<p style=\"padding-left: 40px;\"><em>a<\/em>(1 \u2212 <em>e<\/em>).<\/p>\n<p>If you had to guess the <em>average<\/em> distance between the planet and its star, <em>a<\/em> would be a good guess since it&#8217;s the average of the maximum and minimum distance. And that&#8217;s a good approximation, provided <em>e<\/em> is small. The mean distance over time is<\/p>\n<p style=\"padding-left: 40px;\"><em>a<\/em>(1 + \u00bd<em>e<\/em>\u00b2).<\/p>\n<p>See <a href=\"https:\/\/www.johndcook.com\/mean_distance_to_sun.pdf\">derivation<\/a>. The average distance is greater than\u00a0<em>a<\/em> because the planet moves faster when nearest the star and slower when further from the star.<\/p>\n<p>The relative error in approximating the mean distance by\u00a0<em>a<\/em> is then \u00bd<em>e<\/em>\u00b2. When <em>e<\/em> is small, \u00bd<em>e<\/em>\u00b2 is very small. For the earth&#8217;s orbit,\u00a0<em>e<\/em> = 0.01671, and so the approximation is off by around 0.014%.<\/p>\n<p>The eccentricity of Pluto&#8217;s orbit is 0.2488, and so in that case the approximation is off by about 3.1%. The eccentricity of a Molniya orbit, used by some Russian satellites, is 0.74 [2]. For such satellites the error in approximating the mean distance to earth as the semimajor axis is around 27%.<\/p>\n<h2>Related posts<\/h2>\n<ul>\n<li class=\"link\"><a href=\"https:\/\/www.johndcook.com\/blog\/2025\/02\/28\/max-min-orbital-speed\/\">Min and max orbital speed<\/a><\/li>\n<li class=\"link\"><a href=\"https:\/\/www.johndcook.com\/blog\/2026\/04\/03\/roman-moon-greek-moon\/\">Roman moon, Greek moon<\/a><\/li>\n<li class=\"link\"><a href=\"https:\/\/www.johndcook.com\/blog\/2026\/06\/06\/from-kepler-to-bessel\/\">From Kepler to Bessel<\/a><\/li>\n<\/ul>\n<p>[1] For earth&#8217;s orbit, <em>e<\/em> = 0.01671,\u00a0<em>a<\/em> = 1.496\u00d710<sup>11<\/sup> m, and the sun&#8217;s radius is <em>r<\/em> = 6.957\u00d710<sup>8<\/sup> m. And so <em>ea<\/em> \/\u00a0<em>r<\/em> = 3.59.<\/p>\n<p>[2] An object in such a highly elliptical orbit will spend a long time at the far side of its orbit, i.e. over Russia. Sort of a poor man&#8217;s geostationary orbit.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Suppose you have a planet in an elliptical orbit around a star. The math is identical for any light object orbiting a heavy object, such as a moon or satellite orbiting a planet, but we&#8217;ll call the heavy object a star and the light object a planet. The center of the star is not quite [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[9],"tags":[213],"class_list":["post-247662","post","type-post","status-publish","format-standard","hentry","category-math","tag-orbital-mechanics"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"For a planet in an elliptical orbit around a star, the average distance to the star over time is approximately the semi-major axis. Good for small eccentricity.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"John\"\/>\n\t<meta name=\"keywords\" content=\"orbital mechanics\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/mean-distance-to-the-sun\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"John D. Cook | Applied Mathematics Consulting\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Mean distance to the sun\" \/>\n\t\t<meta property=\"og:description\" content=\"For a planet in an elliptical orbit around a star, the average distance to the star over time is approximately the semi-major axis. Good for small eccentricity.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/mean-distance-to-the-sun\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-08-18T13:42:06+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-20T11:45:15+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Mean distance to the sun\" \/>\n\t\t<meta name=\"twitter:description\" content=\"For a planet in an elliptical orbit around a star, the average distance to the star over time is approximately the semi-major axis. Good for small eccentricity.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Mean distance to the sun","description":"For a planet in an elliptical orbit around a star, the average distance to the star over time is approximately the semi-major axis. Good for small eccentricity.","canonical_url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/mean-distance-to-the-sun\/","robots":"max-image-preview:large","keywords":"orbital mechanics","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"John D. Cook | Applied Mathematics Consulting","og:type":"article","og:title":"Mean distance to the sun","og:description":"For a planet in an elliptical orbit around a star, the average distance to the star over time is approximately the semi-major axis. Good for small eccentricity.","og:url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/mean-distance-to-the-sun\/","article:published_time":"2026-08-18T13:42:06+00:00","article:modified_time":"2026-08-20T11:45:15+00:00","twitter:card":"summary","twitter:title":"Mean distance to the sun","twitter:description":"For a planet in an elliptical orbit around a star, the average distance to the star over time is approximately the semi-major axis. Good for small eccentricity.","twitter:image":"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png"},"aioseo_meta_data":{"post_id":"247662","title":null,"description":"For a planet in an elliptical orbit around a star, the average distance to the star over time is approximately the semi-major axis. Good for small eccentricity.","keywords":null,"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"created":"2026-08-18 11:17:43","updated":"2026-08-21 15:01:39","ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\/category\/math\/\" title=\"Math\">Math<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tMean distance to the sun\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.johndcook.com\/blog"},{"label":"Math","link":"https:\/\/www.johndcook.com\/blog\/category\/math\/"},{"label":"Mean distance to the sun","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/18\/mean-distance-to-the-sun\/"}],"_links":{"self":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/comments?post=247662"}],"version-history":[{"count":6,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247662\/revisions"}],"predecessor-version":[{"id":247681,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247662\/revisions\/247681"}],"wp:attachment":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/media?parent=247662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/categories?post=247662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/tags?post=247662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}},{"id":247651,"date":"2026-08-16T20:16:39","date_gmt":"2026-08-17T01:16:39","guid":{"rendered":"https:\/\/www.johndcook.com\/blog\/?p=247651"},"modified":"2026-08-16T20:26:42","modified_gmt":"2026-08-17T01:26:42","slug":"proportion-of-1s-in-a-hadamard-matrix","status":"publish","type":"post","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/16\/proportion-of-1s-in-a-hadamard-matrix\/","title":{"rendered":"Proportion of 1s in a Hadamard matrix"},"content":{"rendered":"<p>The <a href=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/13\/constructing-hadamard-matrices\/\">first post<\/a> in the recent series of posts on Hadamard matrices describes a way of constructing new Hadamard matrices from two other Hadamard matrices by taking their <a href=\"https:\/\/www.johndcook.com\/blog\/2020\/04\/13\/kronecker-product-hadamard-matrix\/\">Kronecker product<\/a>.<\/p>\n<p>Starting with a Hadamard matrix\u00a0<em>H<\/em><sub>0<\/sub> and a Hadamard matrix <em>G<\/em>, you can construct a sequence of Hadamard matrices by<\/p>\n<p style=\"padding-left: 40px;\"><em>H<\/em><sub><em>n<\/em>+1<\/sub> = <em>G<\/em> \u2297 <em>H<\/em><sub><em>n<\/em><\/sub><\/p>\n<p>for\u00a0 positive integers <em>n<\/em>. This is known as the generalized Sylvester method.<\/p>\n<p>Let <em>p<\/em><sub><em>n<\/em><\/sub> be the proportion of 1s in <em>H<\/em><sub><em>n<\/em><\/sub> and let <em>q<\/em> be the proportion of 1s in <em>G<\/em>. Then you can show that the recurrence holds<\/p>\n<p style=\"padding-left: 40px;\"><em>p<\/em><sub><em>n<\/em>+1<\/sub> = <em>q<\/em> <em>p<\/em><sub><em>n<\/em><\/sub> + (1 \u2212 <em>q<\/em>)(1 \u2212 <em>p<sub>n<\/sub><\/em>).<\/p>\n<p>You can solve the recurrence to show that<\/p>\n<p style=\"padding-left: 40px;\">lim<sub><em>n<\/em> \u2192 \u221e<\/sub> <em>p<\/em><sub><em>n<\/em><\/sub> = \u00bd<\/p>\n<p>and so as the iterations proceed, the ratio of number of 1s to the number of \u22121s approaches 1.<\/p>\n<p>This doesn&#8217;t say anything Hadamard matrices in general, but it does apply to all Hadamard matrices created by repeatedly applying the generalized Sylvester method.<\/p>\n<p>If you set\u00a0<em>G<\/em> and\u00a0<em>H<\/em> equal to the matrix<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.johndcook.com\/hadamard2.svg\" alt=\" \\begin{bmatrix} 1 &amp; 1\\\\ 1 &amp; -1 \\end{bmatrix}\" width=\"64\" height=\"48\" \/><\/p>\n<p>then\u00a0<em>p<\/em><sub>0<\/sub> =\u00a0<em>q<\/em> = \u00be. Then for\u00a0<em>n<\/em> = 1, 2, 3, \u2026, 8 the values of <em>p<\/em><sub><em>n<\/em><\/sub> are<\/p>\n<p style=\"padding-left: 40px;\">0.625<br \/>\n0.5625<br \/>\n0.53125<br \/>\n0.515625<br \/>\n0.5078125<br \/>\n0.50390625<br \/>\n0.501953125<br \/>\n0.5009765625.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The first post in the recent series of posts on Hadamard matrices describes a way of constructing new Hadamard matrices from two other Hadamard matrices by taking their Kronecker product. Starting with a Hadamard matrix\u00a0H0 and a Hadamard matrix G, you can construct a sequence of Hadamard matrices by Hn+1 = G \u2297 Hn for\u00a0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[9],"tags":[197],"class_list":["post-247651","post","type-post","status-publish","format-standard","hentry","category-math","tag-combinatorics"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"If you create a large Hadamard matrix by repeatedly applying Sylvester&#039;s method, the number of 1s in the matrix will approach the number of -1s.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"John\"\/>\n\t<meta name=\"keywords\" content=\"combinatorics\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/16\/proportion-of-1s-in-a-hadamard-matrix\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"John D. Cook | Applied Mathematics Consulting\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Proportion of 1s in a Hadamard matrix\" \/>\n\t\t<meta property=\"og:description\" content=\"If you create a large Hadamard matrix by repeatedly applying Sylvester&#039;s method, the number of 1s in the matrix will approach the number of -1s.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.johndcook.com\/blog\/2026\/08\/16\/proportion-of-1s-in-a-hadamard-matrix\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-08-17T01:16:39+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-17T01:26:42+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Proportion of 1s in a Hadamard matrix\" \/>\n\t\t<meta name=\"twitter:description\" content=\"If you create a large Hadamard matrix by repeatedly applying Sylvester&#039;s method, the number of 1s in the matrix will approach the number of -1s.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Proportion of 1s in a Hadamard matrix","description":"If you create a large Hadamard matrix by repeatedly applying Sylvester's method, the number of 1s in the matrix will approach the number of -1s.","canonical_url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/16\/proportion-of-1s-in-a-hadamard-matrix\/","robots":"max-image-preview:large","keywords":"combinatorics","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"John D. Cook | Applied Mathematics Consulting","og:type":"article","og:title":"Proportion of 1s in a Hadamard matrix","og:description":"If you create a large Hadamard matrix by repeatedly applying Sylvester's method, the number of 1s in the matrix will approach the number of -1s.","og:url":"https:\/\/www.johndcook.com\/blog\/2026\/08\/16\/proportion-of-1s-in-a-hadamard-matrix\/","article:published_time":"2026-08-17T01:16:39+00:00","article:modified_time":"2026-08-17T01:26:42+00:00","twitter:card":"summary","twitter:title":"Proportion of 1s in a Hadamard matrix","twitter:description":"If you create a large Hadamard matrix by repeatedly applying Sylvester's method, the number of 1s in the matrix will approach the number of -1s.","twitter:image":"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png"},"aioseo_meta_data":{"post_id":"247651","title":null,"description":"If you create a large Hadamard matrix by repeatedly applying Sylvester's method, the number of 1s in the matrix will approach the number of -1s.","keywords":null,"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"created":"2026-08-17 00:55:49","updated":"2026-08-21 15:01:39","ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.johndcook.com\/blog\/category\/math\/\" title=\"Math\">Math<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tProportion of 1s in a Hadamard matrix\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.johndcook.com\/blog"},{"label":"Math","link":"https:\/\/www.johndcook.com\/blog\/category\/math\/"},{"label":"Proportion of 1s in a Hadamard matrix","link":"https:\/\/www.johndcook.com\/blog\/2026\/08\/16\/proportion-of-1s-in-a-hadamard-matrix\/"}],"_links":{"self":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/comments?post=247651"}],"version-history":[{"count":3,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247651\/revisions"}],"predecessor-version":[{"id":247654,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/posts\/247651\/revisions\/247654"}],"wp:attachment":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/media?parent=247651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/categories?post=247651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/tags?post=247651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}]