{"id":27464,"date":"2023-08-07T21:10:20","date_gmt":"2023-08-07T21:10:20","guid":{"rendered":"https:\/\/developerpublish.com\/academy\/?post_type=glossary&#038;p=27464"},"modified":"2023-08-07T21:10:23","modified_gmt":"2023-08-07T21:10:23","slug":"absolute-value","status":"publish","type":"glossary","link":"https:\/\/developerpublish.com\/academy\/glossary\/absolute-value\/","title":{"rendered":"absolute value"},"content":{"rendered":"<p>In mathematics, the <a class=\"glossaryLink\"  aria-describedby=\"tt\"  data-cmtooltip=\"&lt;div class=glossaryItemTitle&gt;absolute value&lt;\/div&gt;&lt;div class=glossaryItemBody&gt;In mathematics, the absolute value or modulus of a real number is its distance from zero. It is usually denoted by |x|, where x is the real number. For(...)&lt;\/div&gt;\"  href=\"https:\/\/developerpublish.com\/academy\/glossary\/absolute-value\/\"  target=\"_blank\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>absolute value<\/a> or modulus of a real number is its distance from zero. It is usually denoted by |x|, where x is the real number. For example, the absolute value of 5 is 5, and the absolute value of -5 is also 5.<\/p>\n\n\n\n<p>The absolute value of a number is always non-negative. If x is positive, then |x| = x. If x is negative, then |x| = -x.<\/p>\n\n\n\n<p>The absolute value of a number has a number of properties, including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>|x| &gt;= 0 for all real numbers x.<\/li>\n\n\n\n<li>|x| = x if x &gt;= 0.<\/li>\n\n\n\n<li>|x| = -x if x &lt; 0.<\/li>\n\n\n\n<li>|x + y| &lt;= |x| + |y| for all real numbers x and y.<\/li>\n\n\n\n<li>|x &ndash; y| = |y &ndash; x| for all real numbers x and y.<\/li>\n<\/ul>\n\n\n\n<p>The absolute value of a number is used in a variety of mathematical applications, including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Calculating distances<\/li>\n\n\n\n<li>Solving inequalities<\/li>\n\n\n\n<li>Proving mathematical theorems<\/li>\n\n\n\n<li>Analyzing data<\/li>\n<\/ul>\n\n\n\n<p>In computer science, the absolute value of a number is used in a variety of applications, including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Calculating distances between points<\/li>\n\n\n\n<li>Solving inequalities in computer programs<\/li>\n\n\n\n<li>Proving mathematical theorems in computer programs<\/li>\n\n\n\n<li>Analyzing data in computer programs<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In mathematics, the absolute value or modulus of a real &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"pmpro_default_level":0,"footnotes":""},"class_list":["post-27464","glossary","type-glossary","status-publish","hentry","pmpro-has-access"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>absolute value - DeveloperPublish<\/title>\n<meta name=\"description\" content=\"In mathematics, the absolute value or modulus of a real number is its distance from zero. It is usually denoted by |x|, where x is the real number. For\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/developerpublish.com\/academy\/glossary\/absolute-value\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"absolute value - DeveloperPublish\" \/>\n<meta property=\"og:description\" content=\"In mathematics, the absolute value or modulus of a real number is its distance from zero. It is usually denoted by |x|, where x is the real number. For\" \/>\n<meta property=\"og:url\" content=\"https:\/\/developerpublish.com\/academy\/glossary\/absolute-value\/\" \/>\n<meta property=\"og:site_name\" content=\"DeveloperPublish\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-07T21:10:23+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/developerpublish.com\/academy\/glossary\/absolute-value\/\",\"url\":\"https:\/\/developerpublish.com\/academy\/glossary\/absolute-value\/\",\"name\":\"absolute value - DeveloperPublish\",\"isPartOf\":{\"@id\":\"https:\/\/developerpublish.com\/academy\/#website\"},\"datePublished\":\"2023-08-07T21:10:20+00:00\",\"dateModified\":\"2023-08-07T21:10:23+00:00\",\"description\":\"In mathematics, the absolute value or modulus of a real number is its distance from zero. It is usually denoted by |x|, where x is the real number. For\",\"breadcrumb\":{\"@id\":\"https:\/\/developerpublish.com\/academy\/glossary\/absolute-value\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/developerpublish.com\/academy\/glossary\/absolute-value\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/developerpublish.com\/academy\/glossary\/absolute-value\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/developerpublish.com\/academy\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"absolute value\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/developerpublish.com\/academy\/#website\",\"url\":\"https:\/\/developerpublish.com\/academy\/\",\"name\":\"DeveloperPublish\",\"description\":\"Learn Programming with ease\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/developerpublish.com\/academy\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"absolute value - DeveloperPublish","description":"In mathematics, the absolute value or modulus of a real number is its distance from zero. It is usually denoted by |x|, where x is the real number. For","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/developerpublish.com\/academy\/glossary\/absolute-value\/","og_locale":"en_US","og_type":"article","og_title":"absolute value - DeveloperPublish","og_description":"In mathematics, the absolute value or modulus of a real number is its distance from zero. It is usually denoted by |x|, where x is the real number. For","og_url":"https:\/\/developerpublish.com\/academy\/glossary\/absolute-value\/","og_site_name":"DeveloperPublish","article_modified_time":"2023-08-07T21:10:23+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/developerpublish.com\/academy\/glossary\/absolute-value\/","url":"https:\/\/developerpublish.com\/academy\/glossary\/absolute-value\/","name":"absolute value - DeveloperPublish","isPartOf":{"@id":"https:\/\/developerpublish.com\/academy\/#website"},"datePublished":"2023-08-07T21:10:20+00:00","dateModified":"2023-08-07T21:10:23+00:00","description":"In mathematics, the absolute value or modulus of a real number is its distance from zero. It is usually denoted by |x|, where x is the real number. For","breadcrumb":{"@id":"https:\/\/developerpublish.com\/academy\/glossary\/absolute-value\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/developerpublish.com\/academy\/glossary\/absolute-value\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/developerpublish.com\/academy\/glossary\/absolute-value\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/developerpublish.com\/academy\/"},{"@type":"ListItem","position":2,"name":"absolute value"}]},{"@type":"WebSite","@id":"https:\/\/developerpublish.com\/academy\/#website","url":"https:\/\/developerpublish.com\/academy\/","name":"DeveloperPublish","description":"Learn Programming with ease","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/developerpublish.com\/academy\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/developerpublish.com\/academy\/wp-json\/wp\/v2\/glossary\/27464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developerpublish.com\/academy\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/developerpublish.com\/academy\/wp-json\/wp\/v2\/types\/glossary"}],"author":[{"embeddable":true,"href":"https:\/\/developerpublish.com\/academy\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/developerpublish.com\/academy\/wp-json\/wp\/v2\/glossary\/27464\/revisions"}],"predecessor-version":[{"id":27465,"href":"https:\/\/developerpublish.com\/academy\/wp-json\/wp\/v2\/glossary\/27464\/revisions\/27465"}],"wp:attachment":[{"href":"https:\/\/developerpublish.com\/academy\/wp-json\/wp\/v2\/media?parent=27464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}