{"id":95710,"date":"2022-01-27T10:51:11","date_gmt":"2022-01-27T16:51:11","guid":{"rendered":"https:\/\/www.johndcook.com\/blog\/?page_id=95710"},"modified":"2025-06-09T11:47:17","modified_gmt":"2025-06-09T16:47:17","slug":"pullbacks","status":"publish","type":"page","link":"https:\/\/www.johndcook.com\/blog\/pullbacks\/","title":{"rendered":"Pullbacks"},"content":{"rendered":"<p>A pullback is a limit over a diagram of the following shape.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/www.johndcook.com\/pullback_diagram_abc.png\" width=\"440\" height=\"220\" \/><\/p>\n<p>The pullback is a sort of product of <em>A<\/em> and <em>B<\/em> that depends on <em>C<\/em>, and so it is sometimes written as a product with a subscript C on the product symbol: <em>A<\/em> \u00d7<sub><em>C<\/em><\/sub> <em>B<\/em>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/www.johndcook.com\/fibered_product.png\" width=\"440\" height=\"220\" \/><\/p>\n<p>In all these diagrams, the givens will be in black and the pullback will be in royal blue.<\/p>\n<p>The limit of a diagram should have morphisms to all the objects in the diagram, so there should be a morphism from the pullback to <em>C<\/em>. But that morphism is redundant: if the square commutes, then the morphism on the diagonal is determined by the morphisms on the side.<\/p>\n<p>In the previous diagram, <em>f<\/em>&#8216; is called the pullback of <em>f<\/em> along <em>g<\/em>, and <em>g<\/em>&#8216; is called the pullback of <em>g<\/em> along <em>f<\/em>.<\/p>\n<p>Products, intersections, inverse images, kernels, and equalizers are all pullbacks. We&#8217;ll go into each below.<\/p>\n<p>The product of two objects is the pullback of the diagram mapping both objects to a terminal object 1. So pullbacks are not just analogous to products, they are a generalization of products.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/www.johndcook.com\/product_as_pullback.png\" width=\"440\" height=\"220\" \/><\/p>\n<p>The intersection of two sets <em>U<\/em> and <em>V<\/em> is the pullback of the diagram of <em>U<\/em> and <em>V<\/em> inserting into their union. So you could also think of a pullback as a generalization of intersection.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/www.johndcook.com\/intersection_as_pullback.png\" width=\"440\" height=\"220\" \/><\/p>\n<p>Hooks on arrows indicate inclusion maps.<\/p>\n<p>Let <em>f<\/em> be a function from a set <em>A<\/em> to a set <em>B<\/em>, and let <em>C<\/em> be a subset of <em>B<\/em>. Then the inverse image of <em>C<\/em> is a pullback. The function <em>f<\/em>* is the restriction of <em>f<\/em> to the inverse image of <em>C<\/em>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/www.johndcook.com\/inverse_image_as_pullback.png \" width=\"440\" height=\"220\" \/><\/p>\n<p>Let <em>f<\/em> be a monoid homomorphism <em>f<\/em>: <em>M<\/em> \u2192 <em>N<\/em> and let <em>O<\/em> be the one-element monoid. Then <em>K<\/em>, the kernel of <em>f<\/em>, is a pullback.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/www.johndcook.com\/kernel_as_pullback.png\" width=\"440\" height=\"220\" \/><\/p>\n<p>The one-element monoid <em>O<\/em> is both initial and terminal, so there&#8217;s a unique map from <em>K<\/em> to <em>O<\/em> and from <em>O<\/em> into <em>N<\/em>.<\/p>\n<p>Finally, equalizers are pullbacks. Given two morphisms from <em>A<\/em> into <em>B<\/em>, their pullback is an equalizer.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/www.johndcook.com\/equalizer_as_pullback.png\" width=\"440\" height=\"220\" \/><\/p>\n<h2>More on category theory<\/h2>\n<ul>\n<li class=\"link\"><a href=\"https:\/\/www.johndcook.com\/blog\/universal-properties\/\">Examples of universal properties<\/a><\/li>\n<li class=\"link\"><a href=\"https:\/\/www.johndcook.com\/blog\/2022\/01\/26\/a-general-theory-of-sub-things\/\">A general theory of sub-things<\/a><\/li>\n<li class=\"link\"><a href=\"https:\/\/www.johndcook.com\/blog\/2016\/03\/22\/categorical-products\/\">Categorical products<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>A pullback is a limit over a diagram of the following shape. The pullback is a sort of product of A and B that depends on C, and so it is sometimes written as a product with a subscript C on the product symbol: A \u00d7C B. In all these diagrams, the givens will be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-with-simple-sidebar.php","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-95710","page","type-page","status-publish","hentry"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Products, kernels, intersections, inverse images, and equalizers are all examples of pullbacks.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.johndcook.com\/blog\/pullbacks\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\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=\"Definition of pullbacks with many examples\" \/>\n\t\t<meta property=\"og:description\" content=\"Products, kernels, intersections, inverse images, and equalizers are all examples of pullbacks.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.johndcook.com\/blog\/pullbacks\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-01-27T16:51:11+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-06-09T16:47:17+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Definition of pullbacks with many examples\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Products, kernels, intersections, inverse images, and equalizers are all examples of pullbacks.\" \/>\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":"Definition of pullbacks with many examples","description":"Products, kernels, intersections, inverse images, and equalizers are all examples of pullbacks.","canonical_url":"https:\/\/www.johndcook.com\/blog\/pullbacks\/","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":"Definition of pullbacks with many examples","og:description":"Products, kernels, intersections, inverse images, and equalizers are all examples of pullbacks.","og:url":"https:\/\/www.johndcook.com\/blog\/pullbacks\/","article:published_time":"2022-01-27T16:51:11+00:00","article:modified_time":"2025-06-09T16:47:17+00:00","twitter:card":"summary","twitter:title":"Definition of pullbacks with many examples","twitter:description":"Products, kernels, intersections, inverse images, and equalizers are all examples of pullbacks.","twitter:image":"https:\/\/www.johndcook.com\/blog\/wp-content\/uploads\/2022\/05\/twittercard.png"},"aioseo_meta_data":{"post_id":"95710","title":"Definition of pullbacks with many examples","description":"Products, kernels, intersections, inverse images, and equalizers are all examples of pullbacks.","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":"WebPage","isEnabled":true},"graphs":[],"defaultGraph":"WebPage","defaultPostTypeGraph":""},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","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":"2022-01-27 15:05:23","updated":"2025-06-09 17:02:09","ai":null,"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\tPullbacks\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.johndcook.com\/blog"},{"label":"Pullbacks","link":"https:\/\/www.johndcook.com\/blog\/pullbacks\/"}],"_links":{"self":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/pages\/95710","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"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=95710"}],"version-history":[{"count":0,"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/pages\/95710\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.johndcook.com\/blog\/wp-json\/wp\/v2\/media?parent=95710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}