{"id":9065,"date":"2025-09-19T19:13:32","date_gmt":"2025-09-20T00:13:32","guid":{"rendered":"https:\/\/stoccoroy.com\/blog\/?p=9065"},"modified":"2025-09-21T19:41:52","modified_gmt":"2025-09-22T00:41:52","slug":"gemini-math","status":"publish","type":"post","link":"https:\/\/stoccoroy.com\/blog\/2025\/09\/19\/gemini-math\/","title":{"rendered":"Gemini Math"},"content":{"rendered":"\n<p>As I&#8217;ve mentioned before, I play with AI regularly to make sure I understand how it works. Gemini, Google&#8217;s LLM, has generally been pretty impressive. It&#8217;s not without its hallucinations (and numerous other concerns), but more often right than wrong.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-full is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"474\" height=\"355\" src=\"https:\/\/i0.wp.com\/stoccoroy.com\/blog\/wp-content\/uploads\/2025\/09\/polygon.png?resize=474%2C355&#038;ssl=1\" alt=\"\" class=\"wp-image-9066\" style=\"width:253px;height:auto\" srcset=\"https:\/\/i0.wp.com\/stoccoroy.com\/blog\/wp-content\/uploads\/2025\/09\/polygon.png?w=982&amp;ssl=1 982w, https:\/\/i0.wp.com\/stoccoroy.com\/blog\/wp-content\/uploads\/2025\/09\/polygon.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/stoccoroy.com\/blog\/wp-content\/uploads\/2025\/09\/polygon.png?resize=768%2C575&amp;ssl=1 768w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><figcaption class=\"wp-element-caption\">Simple polygon using GeoGebra.<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Today, I was working on some exercises for my beginning computer science students. They need to be able to use Cartesian coordinates in their Python programs (using the &#8220;turtle&#8221; module). Most of them need more practice. I created a simple polygon in GeoGebra so that they can identify the vertices. I needed to create a bunch more. <\/p>\n\n\n\n<p>Then I thought, <em>This is a perfect task for Gemini!<\/em> I explained what I wanted to Gemini and this is what it came up with:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"474\" height=\"474\" src=\"https:\/\/i0.wp.com\/stoccoroy.com\/blog\/wp-content\/uploads\/2025\/09\/Gemini_Polygon.png?resize=474%2C474&#038;ssl=1\" alt=\"\" class=\"wp-image-9069\" style=\"width:434px;height:auto\" srcset=\"https:\/\/i0.wp.com\/stoccoroy.com\/blog\/wp-content\/uploads\/2025\/09\/Gemini_Polygon.png?w=958&amp;ssl=1 958w, https:\/\/i0.wp.com\/stoccoroy.com\/blog\/wp-content\/uploads\/2025\/09\/Gemini_Polygon.png?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/stoccoroy.com\/blog\/wp-content\/uploads\/2025\/09\/Gemini_Polygon.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/stoccoroy.com\/blog\/wp-content\/uploads\/2025\/09\/Gemini_Polygon.png?resize=768%2C768&amp;ssl=1 768w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/figure>\n<\/div>\n\n\n<p>Yikes! Even if math isn&#8217;t your thing, I suspect you&#8217;ll be able to see some egregious errors here. It is utter nonsense, wrong in just about every possible way. I&#8217;m surprised that it knew which axis to label x and y. (Even then, it added the specious  &#8220;0&#8221; and &#8220;<em>e<\/em>&#8220;.)<\/p>\n\n\n\n<p>I think my colleagues in the math department don&#8217;t have to worry about being replaced by AI &#8220;teachers&#8221; quite yet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I&#8217;ve mentioned before, I play with AI regularly to make sure I understand how it works. Gemini, Google&#8217;s LLM, has generally been pretty impressive. It&#8217;s not without its hallucinations (and numerous other concerns), but more often right than wrong. Today, I was working on some exercises for my beginning computer science students. They need &hellip; <a href=\"https:\/\/stoccoroy.com\/blog\/2025\/09\/19\/gemini-math\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Gemini Math<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[132,80],"class_list":["post-9065","post","type-post","status-publish","format-standard","hentry","category-teaching","tag-ai","tag-teaching"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/stoccoroy.com\/blog\/wp-json\/wp\/v2\/posts\/9065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stoccoroy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stoccoroy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stoccoroy.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/stoccoroy.com\/blog\/wp-json\/wp\/v2\/comments?post=9065"}],"version-history":[{"count":1,"href":"https:\/\/stoccoroy.com\/blog\/wp-json\/wp\/v2\/posts\/9065\/revisions"}],"predecessor-version":[{"id":9070,"href":"https:\/\/stoccoroy.com\/blog\/wp-json\/wp\/v2\/posts\/9065\/revisions\/9070"}],"wp:attachment":[{"href":"https:\/\/stoccoroy.com\/blog\/wp-json\/wp\/v2\/media?parent=9065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stoccoroy.com\/blog\/wp-json\/wp\/v2\/categories?post=9065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stoccoroy.com\/blog\/wp-json\/wp\/v2\/tags?post=9065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}