{"id":575,"date":"2024-12-17T08:00:00","date_gmt":"2024-12-17T07:00:00","guid":{"rendered":"https:\/\/control-advent.com\/?p=575"},"modified":"2025-11-28T19:06:17","modified_gmt":"2025-11-28T18:06:17","slug":"17-a-sweet-challenge-stability-analysis-of-santas-gingerbread-house","status":"publish","type":"post","link":"https:\/\/control-advent.com\/?p=575","title":{"rendered":"17 &#8211; A Sweet Challenge: Stability Analysis of Santa&#8217;s Gingerbread House"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Authors of this question:<\/strong>\u00a0Helem S\u00e1nchez, Hafrsfjord Skole, Norway &amp; Damiano Rotondo,\u00a0<em>Institutt for data- og elektroteknologi (IDE),\u00a0<\/em>Universitetet i Stavanger, Norway <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Santa is building a huge gingerbread house at the North Pole, but he\u2019s worried it might not stay standing once it\u2019s covered in holiday decorations and delightful treats. The stability of this sweet creation depends on how many candy canes, <em>k<\/em>, are used to support the roof. The clever elves have discovered that the relationship between the number of candy canes and the stability of the gingerbread house is somehow described by a polynomial.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Inspired by Santa\u2019s jolly laughter, Rudolph the Red-Nosed Reindeer came up with a special method to check if the house will be stable which is now called the Rudolph-Hohowitz Criterion. This method involves creating a table where the first two columns are filled with the coefficients of the polynomial arranged in alternating order, while the remaining columns are filled using some magical formulas known only to the elves\u2014and to those who study the arcane art of control theory (hint: you might want to check out university courses near you if this sparks your interest!). If the first row of the table has all positive numbers, the house will be stable. But if any number in that row is negative, the house might collapse under all the decorations!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This year, the polynomial that describes the relationship between the number of candy canes and the stability of the gingerbread house is:<\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><em><em>P(x)= x<sup>3<\/sup> + (1.5 &#8211; k) x<sup>2<\/sup> + (5 + k) x + 2<\/em><\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The table looks like this, but the prankster elf Snoodle has erased one of the numbers! The other elves are looking at you to help fill it in:<\/p>\n\n\n\n<figure class=\"wp-block-table aligncenter\"><table class=\"has-fixed-layout\"><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\">Column 1<\/td><td class=\"has-text-align-center\" data-align=\"center\">Column 2<\/td><td class=\"has-text-align-center\" data-align=\"center\">Column 3<\/td><td class=\"has-text-align-center\" data-align=\"center\">Column 4<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><em>1<\/em><\/td><td class=\"has-text-align-center\" data-align=\"center\"><em>???<\/em><\/td><td class=\"has-text-align-center\" data-align=\"center\"><em>5 + k &#8211; 2\/(1.5 &#8211; k)<\/em><\/td><td class=\"has-text-align-center\" data-align=\"center\"><em>2<\/em><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><em>5+k<\/em><\/td><td class=\"has-text-align-center\" data-align=\"center\"><em>2<\/em><\/td><td class=\"has-text-align-center\" data-align=\"center\"><em>0<\/em><\/td><td class=\"has-text-align-center\" data-align=\"center\"><em>0<\/em><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once the table is complete, what can you say about the stability of the house?<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/17-Dec-2024.jpg\" alt=\"\" class=\"wp-image-431\" style=\"width:751px;height:auto\" srcset=\"https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/17-Dec-2024.jpg 1024w, https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/17-Dec-2024-300x300.jpg 300w, https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/17-Dec-2024-150x150.jpg 150w, https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/17-Dec-2024-768x768.jpg 768w, https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/17-Dec-2024-640x640.jpg 640w, https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/17-Dec-2024-24x24.jpg 24w, https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/17-Dec-2024-36x36.jpg 36w, https:\/\/control-advent.com\/wp-content\/uploads\/2024\/11\/17-Dec-2024-48x48.jpg 48w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">a. \ud83c\udf6d\ud83e\udd143\ufe0f\u20e3 The house is stable when an odd number of candy canes are used. That\u2019s odd, isn\u2019t it?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">b. \ud83c\udf6d\u2696\ufe0f4\ufe0f\u20e3 The house is stable when an even number of candy canes are used, which keeps the weight balanced.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">c. \ud83c\udf6d\ud83c\udfe05\ufe0f\u20e3 The house stays stable as long as more than four candy canes are used.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">d. \ud83d\ude2e\ud83c\udf8b1\ufe0f\u20e3 Surprisingly, the house is stable with just one candy cane, but adding more makes it collapse.<\/p>\n\n\n<div class=\"yop-poll-container\" data-yop-poll-id=\"22\"><script type=\"application\/json\" data-yop-poll-init>{\"poll\":{\"id\":\"22\",\"name\":\"17-Dec-2024\",\"template\":\"3\",\"template_base\":\"classic\",\"skin_base\":\"red-v1\",\"status\":\"published\",\"meta_data\":{\"style\":{\"poll\":{\"backgroundColor\":\"#b70004\",\"borderSize\":0,\"borderStyle\":\"none\",\"borderColor\":\"#b70004\",\"borderRadius\":0,\"paddingLeftRight\":10,\"paddingTopBottom\":10},\"questions\":{\"paddingLeftRight\":0,\"paddingTopBottom\":10,\"textColor\":\"#ffffff\",\"textSize\":14,\"textWeight\":\"normal\",\"textAlign\":\"center\"},\"answers\":{\"paddingLeftRight\":0,\"paddingTopBottom\":0,\"textColor\":\"#ffffff\",\"textSize\":14,\"textWeight\":\"normal\",\"skin\":\"minimal\",\"colorScheme\":\"black\"},\"buttons\":{\"backgroundColor\":\"#ffffff\",\"borderSize\":1,\"borderStyle\":\"solid\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"paddingLeftRight\":10,\"paddingTopBottom\":5,\"textColor\":\"#000000\",\"textSize\":14,\"textWeight\":\"normal\",\"align\":\"center\"},\"errors\":{\"borderLeftColorForSuccess\":\"#008000\",\"borderLeftColorForError\":\"#ff0000\",\"borderLeftSize\":10,\"paddingTopBottom\":0,\"textColor\":\"#000000\",\"textSize\":14,\"textWeight\":\"normal\"},\"captcha\":[],\"custom\":{\"css\":\"\"}},\"options\":{\"poll\":{\"voteButtonLabel\":\"&gt;&gt;&gt;\",\"showResultsLink\":\"no\",\"resultsLabelText\":\"Results\",\"showTotalVotes\":\"no\",\"showTotalAnswers\":\"no\",\"startDateOption\":\"now\",\"startDateCustom\":\"\",\"endDateOption\":\"never\",\"endDateCustom\":\"\",\"redirectAfterVote\":\"no\",\"redirectUrl\":\"\",\"redirectAfter\":\"\",\"pageLink\":\"\",\"useCaptcha\":\"no\",\"enableGdpr\":\"no\",\"gdprSolution\":\"ask_consent\",\"gdprConsentText\":\"\",\"loadWithAjax\":\"no\",\"notificationMessageLocation\":\"top\"},\"results\":{\"showResultsMoment\":[\"never\"],\"customDateResults\":\"\",\"showResultsTo\":[],\"resultsDetails\":[\"percentages\"],\"backToVoteOption\":\"no\",\"backToVoteCaption\":\"Back to vote\",\"sortResults\":\"as-defined\",\"sortResultsRule\":\"asc\",\"displayResultsAs\":\"bar\"},\"access\":{\"votePermissions\":[\"wordpress\"]}}}},\"elements\":[{\"id\":\"22\",\"poll_id\":\"22\",\"etext\":\"Choose an option:\",\"etype\":\"question-text\",\"status\":\"active\",\"sorder\":\"1\",\"meta_data\":{\"allowOtherAnswers\":\"no\",\"otherAnswersLabel\":\"Other\",\"addOtherAnswers\":\"no\",\"displayOtherAnswersInResults\":\"no\",\"resultsColorForOtherAnswers\":\"#000000\",\"allowMultipleAnswers\":\"no\",\"multipleAnswersMinim\":\"1\",\"multipleAnswersMaxim\":\"1\",\"answersDisplay\":\"horizontal\",\"answersColumns\":\"\",\"answersSort\":\"as-defined\"},\"subelements\":[{\"id\":\"149\",\"poll_id\":\"22\",\"element_id\":\"22\",\"stext\":\"a\",\"stype\":\"text\",\"status\":\"active\",\"sorder\":\"1\",\"meta_data\":{\"makeDefault\":\"0\",\"makeLink\":\"0\",\"link\":\"\",\"resultsColor\":\"#000000\"}},{\"id\":\"150\",\"poll_id\":\"22\",\"element_id\":\"22\",\"stext\":\"b\",\"stype\":\"text\",\"status\":\"active\",\"sorder\":\"2\",\"meta_data\":{\"makeDefault\":\"0\",\"makeLink\":\"0\",\"link\":\"\",\"resultsColor\":\"#000000\"}},{\"id\":\"151\",\"poll_id\":\"22\",\"element_id\":\"22\",\"stext\":\"c\",\"stype\":\"text\",\"status\":\"active\",\"sorder\":\"3\",\"meta_data\":{\"makeDefault\":\"0\",\"makeLink\":\"0\",\"link\":\"\",\"resultsColor\":\"#000000\"}},{\"id\":\"182\",\"poll_id\":\"22\",\"element_id\":\"22\",\"stext\":\"d\",\"stype\":\"text\",\"status\":\"active\",\"sorder\":\"4\",\"meta_data\":{\"makeDefault\":\"0\",\"makeLink\":\"0\",\"link\":\"\",\"resultsColor\":\"#000000\"}}]}],\"messages\":{\"captcha\":{\"accessibility-alt\":\"Sound icon\",\"accessibility-title\":\"Accessibility option: listen to a question and answer it!\",\"accessibility-description\":\"Type below the [STRONG]answer[\\\/STRONG] to what you hear. Numbers or words:\",\"explanation\":\"Click or touch the [STRONG]ANSWER[\\\/STRONG]\",\"refresh-alt\":\"Refresh\\\/reload icon\",\"refresh-title\":\"Refresh\\\/reload: get new images and accessibility option!\"},\"buttons\":{\"anonymous\":\"Anonymous Vote\",\"wordpress\":\"Sign in with WordPress\",\"facebook\":\"Sign in with Facebook\",\"google\":\"Sign in with Google\"},\"voting\":{\"poll-ended\":\"This poll is no longer accepting votes\",\"poll-not-started\":\"This poll is not accepting votes yet\",\"already-voted-on-poll\":\"Thank you for your vote\",\"invalid-poll\":\"Invalid Poll\",\"no-answers-selected\":\"No answer selected\",\"min-answers-required\":\"At least {min_answers_allowed} answer(s) required\",\"max-answers-required\":\"A max of {max_answers_allowed} answer(s) accepted\",\"no-answer-for-other\":\"No other answer entered\",\"no-value-for-custom-field\":\"{custom_field_name} is required\",\"consent-not-checked\":\"You must agree to our terms and conditions\",\"no-captcha-selected\":\"Captcha is required\",\"not-allowed-by-ban\":\"Vote not allowed\",\"not-allowed-by-block\":\"Vote not allowed\",\"not-allowed-by-limit\":\"Vote not allowed\",\"thank-you\":\"Thank you for your vote\",\"too-many-chars-for-custom-field\":\"Text for {custom_field_name} is too long\"},\"results\":{\"single-vote\":\"vote\",\"multiple-votes\":\"votes\",\"single-answer\":\"answer\",\"multiple-answers\":\"answers\"}},\"date_format\":\"F j, Y\",\"nonce\":\"ba9ea271d4\",\"page_id\":0,\"tracking_id\":\"https:\\\/\\\/control-advent.com\"}<\/script><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Authors of this question:\u00a0Helem S\u00e1nchez, Hafrsfjord Skole, Norway &amp; Damiano Rotondo,\u00a0Institutt for data- og elektroteknologi (IDE),\u00a0Universitetet i Stavanger, Norway Santa is building a huge gingerbread house at the North Pole, but he\u2019s worried it might not stay standing once it\u2019s &hellip; <span class=\"more-link\"><a href=\"https:\/\/control-advent.com\/?p=575\" class=\"readmore\">Continue reading<span class=\"screen-reader-text\">17 &#8211; A Sweet Challenge: Stability Analysis of Santa&#8217;s Gingerbread House<\/span><\/a><\/span><\/p>\n","protected":false},"author":4,"featured_media":431,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[99],"class_list":["post-575","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-english","tag-99"],"_links":{"self":[{"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/posts\/575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=575"}],"version-history":[{"count":3,"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/posts\/575\/revisions"}],"predecessor-version":[{"id":1129,"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/posts\/575\/revisions\/1129"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/media\/431"}],"wp:attachment":[{"href":"https:\/\/control-advent.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}