{"id":2726,"date":"2021-02-24T16:30:22","date_gmt":"2021-02-24T19:30:22","guid":{"rendered":"https:\/\/www.blogs.unicamp.br\/zero\/?p=2726"},"modified":"2022-05-23T17:45:06","modified_gmt":"2022-05-23T20:45:06","slug":"triple-integration-in-papaya","status":"publish","type":"post","link":"https:\/\/www.blogs.unicamp.br\/zero\/2726\/","title":{"rendered":"Triple integration in papaya"},"content":{"rendered":"\n<p>In Calculus, the integral of a function was originally created to determine the area under a curve in the Cartesian plane. Quite simply, an integral needs an initial position (xi) from where the function will start and an end position (xf), from how far we will measure the value of the function. For example, the area of \u200b\u200ba triangle as shown below. We have that its base starts at xi and ends at xf, if we know the linear function that forms its hypotenuse, we can deduce the height of the triangle and then find its area. This is integration.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"559\" height=\"242\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/01.png\" alt=\"\" class=\"wp-image-2689\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/01.png 559w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/01-300x130.png 300w\" sizes=\"(max-width: 559px) 100vw, 559px\" \/><\/figure><\/div>\n\n\n\n<p>However, xi and xf need not correspond to the beginning and end of the base. For example, we can have xf smaller than the base, and yet, knowing the function that defines its hypotenuse, we can deduce its height and thus calculate its area.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"531\" height=\"242\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/02.png\" alt=\"\" class=\"wp-image-2690\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/02.png 531w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/02-300x137.png 300w\" sizes=\"(max-width: 531px) 100vw, 531px\" \/><\/figure><\/div>\n\n\n\n<p>The same is true if xi corresponds to a position that is not the beginning of the base. We can calculate the height of the hypotenuse function in xf and xi, and then subtract the areas to find the blue region.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"531\" height=\"280\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/04.png\" alt=\"\" class=\"wp-image-2691\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/04.png 531w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/04-300x158.png 300w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/04-390x205.png 390w\" sizes=\"(max-width: 531px) 100vw, 531px\" \/><\/figure><\/div>\n\n\n\n<p>In this case, the hypotenuse of a right triangle is very simple, but we could have functions much less linear than that, and still use these same concepts. Like, for example, this papaya that I had in the fridge.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.02-e1614186648735-1024x768.jpeg\" alt=\"\" class=\"wp-image-2679\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.02-e1614186648735-1024x768.jpeg 1024w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.02-e1614186648735-300x225.jpeg 300w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.02-e1614186648735-768x576.jpeg 768w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.02-e1614186648735.jpeg 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p>It may not look much like a triangle, but let&#8217;s look at it better. In this case, the xi would be its stem and the xf would be the widest part. It still doesn&#8217;t seem like much, right? After all, triangles have this point in the xi, and the papaya is round there. But, let&#8217;s move the xi a little bit to the right with our mathematical function called &#8220;knife&#8221;.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"246\" height=\"304\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao.jpg\" alt=\"\" class=\"wp-image-2692\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao.jpg 246w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-243x300.jpg 243w\" sizes=\"(max-width: 246px) 100vw, 246px\" \/><\/figure><\/div>\n\n\n\n<p>Now that we shift xi more to the right, the region of the papaya corresponds better with the region of our triangle.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.021-1024x768.jpeg\" alt=\"\" class=\"wp-image-2680\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.021-1024x768.jpeg 1024w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.021-300x225.jpeg 300w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.021-768x576.jpeg 768w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.021.jpeg 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In case it is difficult to visualize, below I superimpose the triangle with the papaya.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"263\" height=\"306\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-2.jpg\" alt=\"\" class=\"wp-image-2693\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-2.jpg 263w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-2-258x300.jpg 258w\" sizes=\"(max-width: 263px) 100vw, 263px\" \/><\/figure><\/div>\n\n\n\n<p>Note that the farther to the right I move the xi, the more my figure will look like a rectangle. In fact, the more a rectangle looks like this segment, the easier it is to work with (rectangles are cool).<\/p>\n\n\n\n<p>However, papayas are three-dimensional fruits, unlike triangles that are neither fruit nor three-dimensional. We can then see the papaya segment of its width and length, now ignoring its height.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"726\" height=\"544\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-3-1.jpg\" alt=\"\" class=\"wp-image-2695\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-3-1.jpg 726w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-3-1-300x225.jpg 300w\" sizes=\"(max-width: 726px) 100vw, 726px\" \/><\/figure><\/div>\n\n\n\n<p>Based on these guidelines and fixing the center, we are interested in the region between yi (beginning of the pulp) and yf (end of the pulp).<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"273\" height=\"314\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-6.jpg\" alt=\"\" class=\"wp-image-2698\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-6.jpg 273w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-6-261x300.jpg 261w\" sizes=\"(max-width: 273px) 100vw, 273px\" \/><\/figure><\/div>\n\n\n\n<p>So we can set the &#8220;knife&#8221; function first to yi.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"590\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-4.jpg\" alt=\"\" class=\"wp-image-2696\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-4.jpg 786w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-4-300x225.jpg 300w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-4-768x576.jpg 768w\" sizes=\"(max-width: 786px) 100vw, 786px\" \/><\/figure><\/div>\n\n\n\n<p>Then we execute the \u201cknife\u201d function in the range between 0 \u00b0 and 360 \u00b0 (in particular, it is easier to keep the knife fixed and rotate the papaya).<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"816\" height=\"612\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-5.jpg\" alt=\"\" class=\"wp-image-2697\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-5.jpg 816w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-5-300x225.jpg 300w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/mamao-5-768x576.jpg 768w\" sizes=\"(max-width: 816px) 100vw, 816px\" \/><\/figure><\/div>\n\n\n\n<p>We repeat the process fixing the knife at yf.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.033-e1614186806317-1024x768.jpeg\" alt=\"\" class=\"wp-image-2685\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.033-e1614186806317-1024x768.jpeg 1024w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.033-e1614186806317-300x225.jpeg 300w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.033-e1614186806317-768x576.jpeg 768w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.033-e1614186806317.jpeg 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Then we execute the \u201cknife\u201d function in the range between 0 \u00b0 and 360 \u00b0.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.034-e1614186852162-1024x768.jpeg\" alt=\"\" class=\"wp-image-2686\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.034-e1614186852162-1024x768.jpeg 1024w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.034-e1614186852162-300x225.jpeg 300w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.034-e1614186852162-768x576.jpeg 768w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.034-e1614186852162.jpeg 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p>Our region of interest is between yi and yf, so we can only consider this interval, and we arrive at the pulp that interests us.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.035-1024x768.jpeg\" alt=\"\" class=\"wp-image-2687\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.035-1024x768.jpeg 1024w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.035-300x225.jpeg 300w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.035-768x576.jpeg 768w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/02\/WhatsApp-Image-2021-02-24-at-13.58.035.jpeg 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Ready! We finished \u201cintegrating\u201d our papaya, let&#8217;s remember what we did:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>We determined the height of the pulp as xi to xf;<\/li><li>We determine the height times the pulp length by integrating from yi to yf; <\/li><li>We determine the pulp volume by integrating between 0 \u00b0 and 360 \u00b0.<\/li><\/ol>\n\n\n\n<p>Simple, now eat papaya and be happy \ud83d\ude00<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Calculus, the integral of a function was originally created to determine the area under a curve in the Cartesian<\/p>\n","protected":false},"author":434,"featured_media":2677,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"pgc_sgb_lightbox_settings":"","_vp_format_video_url":"","_vp_image_focal_point":[],"footnotes":""},"categories":[1218],"tags":[],"class_list":["post-2726","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-v-5-ed-2"],"_links":{"self":[{"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/posts\/2726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/users\/434"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/comments?post=2726"}],"version-history":[{"count":1,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/posts\/2726\/revisions"}],"predecessor-version":[{"id":2727,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/posts\/2726\/revisions\/2727"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/media\/2677"}],"wp:attachment":[{"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/media?parent=2726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/categories?post=2726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/tags?post=2726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}