{"id":58498,"date":"2020-02-20T18:47:45","date_gmt":"2020-02-20T18:47:45","guid":{"rendered":"https:\/\/www.mometrix.com\/academy\/?page_id=58498"},"modified":"2026-03-26T09:50:58","modified_gmt":"2026-03-26T14:50:58","slug":"expected-value","status":"publish","type":"page","link":"https:\/\/www.mometrix.com\/academy\/expected-value\/","title":{"rendered":"Expected Value"},"content":{"rendered":"\n\t\t\t<div id=\"mmDeferVideoEncompass_LAcO4mgJRno\" style=\"position: relative;\">\n\t\t\t<picture>\n\t\t\t\t<source srcset=\"https:\/\/www.mometrix.com\/academy\/wp-content\/uploads\/2023\/01\/circle-play-duotone.webp\" type=\"image\/webp\">\n\t\t\t\t<source srcset=\"https:\/\/www.mometrix.com\/academy\/wp-content\/uploads\/2023\/01\/circle-play-duotone.png\" type=\"image\/jpeg\"> \n\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" loading=\"eager\" id=\"videoThumbnailImage_LAcO4mgJRno\" data-source-videoID=\"LAcO4mgJRno\" src=\"https:\/\/www.mometrix.com\/academy\/wp-content\/uploads\/2023\/01\/circle-play-duotone.png\" alt=\"Expected Value Video\" height=\"464\" width=\"825\" class=\"size-full\" data-matomo-title = \"Expected Value\">\n\t\t\t<\/picture>\n\t\t\t<\/div>\n\t\t\t<style>img#videoThumbnailImage_LAcO4mgJRno:hover {cursor:pointer;} img#videoThumbnailImage_LAcO4mgJRno {background-size:contain;background-image:url(\"https:\/\/www.mometrix.com\/academy\/wp-content\/uploads\/2023\/01\/361-expected-value-2.webp\");}<\/style>\n\t\t\t<script defer>\n\t\t\t  jQuery(\"img#videoThumbnailImage_LAcO4mgJRno\").click(function() {\n\t\t\t\tlet videoId = jQuery(this).attr(\"data-source-videoID\");\n\t\t\t\tlet helpTag = '<div id=\"mmDeferVideoYTMessage_LAcO4mgJRno\" style=\"display: none;position: absolute;top: -24px;width: 100%;text-align: center;\"><span style=\"font-style: italic;font-size: small;border-top: 1px solid #fc0;\">Having trouble? <a href=\"https:\/\/www.youtube.com\/watch?v='+videoId+'\" target=\"_blank\">Click here to watch on YouTube.<\/a><\/span><\/div>';\n\t\t\t\tlet tag = document.createElement(\"iframe\");\n\t\t\t\ttag.id = \"yt\" + videoId;\n\t\t\t\ttag.src = \"https:\/\/www.youtube-nocookie.com\/embed\/\" + videoId + \"?autoplay=1&controls=1&wmode=opaque&rel=0&egm=0&iv_load_policy=3&hd=0&enablejsapi=1\";\n\t\t\t\ttag.frameborder = 0;\n\t\t\t\ttag.allow = \"autoplay; fullscreen\";\n\t\t\t\ttag.width = this.width;\n\t\t\t\ttag.height = this.height;\n\t\t\t\ttag.setAttribute(\"data-matomo-title\",\"Expected Value\");\n\t\t\t\tjQuery(\"div#mmDeferVideoEncompass_LAcO4mgJRno\").html(tag);\n\t\t\t\tjQuery(\"div#mmDeferVideoEncompass_LAcO4mgJRno\").prepend(helpTag);\n\t\t\t\tsetTimeout(function(){jQuery(\"div#mmDeferVideoYTMessage_LAcO4mgJRno\").css(\"display\", \"block\");}, 2000);\n\t\t\t  });\n\t\t\t  \n\t\t\t<\/script>\n\t\t\n<p><script>\nfunction gbT_Function() {\n  var x = document.getElementById(\"gbT\");\n  if (x.style.display === \"none\") {\n    x.style.display = \"block\";\n  } else {\n    x.style.display = \"none\";\n  }\n}\n<\/script><\/p>\n<div class=\"moc-toc hide-on-desktop hide-on-tablet\">\n<div><button onclick=\"gbT_Function()\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mometrix.com\/academy\/wp-content\/uploads\/2024\/12\/toc2.svg\" width=\"16\" height=\"16\" alt=\"show or hide table of contents\"><\/button><\/p>\n<p>On this page<\/p>\n<\/div>\n<nav id=\"gbT\" style=\"display:none;\">\n<ul>\n<li class=\"toc-h2\"><a href=\"#What_is_Expected_Value\" class=\"smooth-scroll\">What is Expected Value?<\/a><\/li>\n<li class=\"toc-h2\"><a href=\"#Examples\" class=\"smooth-scroll\">Examples<\/a>\n<ul><\/li>\n<li class=\"toc-h3\"><a href=\"#Example_1\" class=\"smooth-scroll\">Example #1<\/a><\/li>\n<li class=\"toc-h3\"><a href=\"#Example_2\" class=\"smooth-scroll\">Example #2<\/a><\/li>\n<li class=\"toc-h3\"><a href=\"#Example_3\" class=\"smooth-scroll\">Example #3<\/a><\/li>\n<\/ul>\n<\/li>\n<li class=\"toc-h2\"><a href=\"#Expected_Value_Practice_Questions\" class=\"smooth-scroll\">Expected Value Practice Questions<\/a><\/li>\n<\/ul>\n<\/nav>\n<\/div>\n<div class=\"accordion\"><input id=\"transcript\" type=\"checkbox\" class=\"spoiler_button\" \/><label for=\"transcript\">Transcript<\/label><input id=\"PQs\" type=\"checkbox\" class=\"spoiler_button\" \/><label for=\"PQs\">Practice<\/label>\n<div class=\"spoiler\" id=\"transcript-spoiler\">\n<p>Hello and welcome to this video about expected value!  In this video, we will explore what expected value is and how it can be used.<\/p>\n<h2><span id=\"What_is_Expected_Value\" class=\"m-toc-anchor\"><\/span>What is Expected Value?<\/h2>\n<p>\nExpected value is an application of <strong>probability<\/strong> that is typically used to help people make decisions about the <strong>viability of risks,<\/strong> most often financial risks.  The big idea is to multiply the probability of each <strong>potential outcome<\/strong> of an event by the value of that outcome and add all the results together in order to make a more informed decision.<\/p>\n<h2><span id=\"Examples\" class=\"m-toc-anchor\"><\/span>Examples<\/h2>\n<h3><span id=\"Example_1\" class=\"m-toc-anchor\"><\/span>Example #1<\/h3>\n<p>\nLet\u2019s begin by talking about coins.<\/p>\n<p>The <a class=\"ylist\" href=\"https:\/\/www.mometrix.com\/academy\/empirical-probability\/\">probability<\/a> of flipping a coin and it landing on heads is 1 out of 2, as is the probability of landing on tails. Let\u2019s say that you are thinking about playing a game that costs $1.00 to enter. The game will pay you $2.00 if the coin lands on heads and $0.00 if the coin lands on tails. <\/p>\n<p>Let\u2019s make a table. Here we have heads and tails and on the left we have the value of the outcome and the probability of the outcome. If you win the game, you get $2.00, but since you pay $1.00 to play in the first place, we subtract that from the $2.00, which gives us $1.00. This means that if the coin lands on heads, you are one dollar richer than before you played.<\/p>\n<p>Now, if the coin lands on tails, you win no money and we still have to subtract that one dollar we spent to play the game, so we come away with one less dollar than we started out with. And like we mentioned before, a coin has two sides, so the probability of the outcome in both cases is 1 out of 2.<\/p>\n<p>To calculate the expected value, we\u2019ll use this formula: \\(E(x)=x_1p_1+x_2p_2\\)<\/p>\n<p>If we plug in our numbers, our calculation looks like this:<\/p>\n<div class=\"examplesentence\">\\(E(x)=(\\frac{1}{2})(1)+(\\frac{1}{2})(-1)=$0.00\\)<\/div>\n<p>\n&nbsp;<br \/>\nAn expected value of $0.00 illustrates that the probabilities of the event outcomes and the values of those outcomes are equal, as is shown in the table. The game is balanced.<\/p>\n<h3><span id=\"Example_2\" class=\"m-toc-anchor\"><\/span>Example #2<\/h3>\n<p>\nYou decide not to try the coin game another time and instead head over to the movie theater.<\/p>\n<p>On the concession counter is a drawing that costs $1.00 to enter. The first entry drawn wins 2 movie tickets (a $30.00 value), the second entry drawn wins a large popcorn and drink (a $15.00 value) and the third ticket drawn wins a large popcorn (an $8.00 value). You ask the manager how many entries they tend to get for drawings and he says about 100.<\/p>\n<p>Do you take the chance? Let\u2019s fill in our table, looking at each prize individually:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mometrix.com\/academy\/wp-content\/uploads\/2023\/09\/Expected-Value-table-01.svg\" alt=\"\" width=\"525\" height=\"149\" class=\"aligncenter size-full wp-image-195413\"  role=\"img\" \/><\/p>\n<p>You know that drawings are stacked against you in the first place, but since the expected value shows a loss that is less than half of your cost to enter, the risk is acceptable. You decide to take the plunge.<\/p>\n<h3><span id=\"Example_3\" class=\"m-toc-anchor\"><\/span>Example #3<\/h3>\n<p>\nAfter the movie you head home.  You check your mail and find an ad for bundling TV, phone, and internet in one package using a service that isn\u2019t even available in your area. The ad is elaborate, high-quality, and beautifully printed on glossy cardstock. You wonder how the company makes any money sending these costly ads to places that can\u2019t even take advantage of them.<\/p>\n<p>The company knows that they\u2019ll get about a 1% return on their mail investment. In other words, they\u2019ll get one long-term customer for every one hundred ads that are sent. If a long-term customer is worth at least $3600 and each ad costs $5.00 to print and mail, is sending direct mail a profitable idea for the company if they send 10,000 ads?<\/p>\n<p>On average, the company can expect to gain $31.00 for each ad that is sent, which is a very lucrative decision!<\/p>\n<p>You throw the ad in the trash and begin looking forward to the outdoor festival you are planning to attend the next day. You check to see what the weather will be like and discover a 75% chance of rain.  You remember an article you read describing how $25,000 was spent by the city to put the festival together. Tickets cost $10.00 apiece and the expected turnout is about 8500 people.  Is it still a good idea to put on the festival, given the rain chances? Let\u2019s map it out and see:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mometrix.com\/academy\/wp-content\/uploads\/2023\/09\/expected-value-table-2-02.svg\" alt=\"\" width=\"407\" height=\"91\" class=\"aligncenter size-full wp-image-195476\"  role=\"img\" \/><\/p>\n<div class=\"examplesentence\">\\(E(x)=(.25)(60,000)+(.75)(-25,000)=-$3,750\\)<\/div>\n<p>\n&nbsp;<br \/>\nWith these rain chances, the expected value of the city\u2019s investment is -$3750.  They may want to postpone the festival for a sunnier day.<\/p>\n<p>Thanks for watching this overview of expected value! I\u2019ll see you next time.<\/p>\n<\/div>\n<div class=\"spoiler\" id=\"PQs-spoiler\">\n<h2 style=\"text-align:center\"><span id=\"Expected_Value_Practice_Questions\" class=\"m-toc-anchor\"><\/span>Expected Value Practice Questions<\/h2>\n\n\t\t\t\t<div class=\"PQ\">\n\t\t\t\t\t<strong>Question #1:<\/strong>\n\t\t\t\t\t<div style=\"margin-left:10px;\"><p>&nbsp;<br \/>\nWhat is the correct formula for expected value? <\/p>\n<\/div>\n\t\t\t\t\t<div class=\"PQ-Choices\"><div class=\"PQ\"  id=\"PQ-1-1\">\\(E(X)=x_1+x_2p_2\\)<\/div><div class=\"PQ correct_answer\"  id=\"PQ-1-2\">\\(E(X)=x_1p_1+x_2p_2+&#8230;\\)<\/div><div class=\"PQ\"  id=\"PQ-1-3\">\\(E(X)=x_1p_1+x_2\\)<\/div><div class=\"PQ\"  id=\"PQ-1-4\">\\(X=x_1p_1+x_2\\)<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<input id=\"PQ-1\" type=\"checkbox\" class=\"spoiler_button\" \/><label for=\"PQ-1\" style=\"width: 150px;\">Show Answer<\/label>\n\t\t\t\t\t<div class=\"answer\" id=\"PQ-1-spoiler\">\n\t\t\t\t\t\t<strong>Answer:<\/strong><div style=\"margin-left:10px;\"><p>Expected value is calculated by multiplying all of the possible outcomes by the likelihood each outcome will occur, then adding all of these values.<\/p>\n<\/div>\n\t\t\t\t\t\t<input id=\"PQ-1-hide\" type=\"checkbox\" class=\"spoiler_button\" \/><label for=\"PQ-1-hide\" style=\"width: 150px;\">Hide Answer<\/label>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"PQ\">\n\t\t\t\t\t<strong>Question #2:<\/strong>\n\t\t\t\t\t<div style=\"margin-left:10px;\"><p>&nbsp;<br \/>\nYour friend wants you to join him in a business endeavor. He says that both of you are likely to make a lot of money in the process, so you listen to his offer. Your friend recommends two options. Project A has a 20% chance of producing a $2,500,000 profit, and a 80% chance of producing a $400,000 profit. Project B has a 35% chance of producing a $3,350,000 profit, and a 65% chance of producing a $200,500 profit.<\/p>\n<p>Which project sounds like the more lucrative option? Use the expected value formula to determine the best choice.<\/p>\n<\/div>\n\t\t\t\t\t<div class=\"PQ-Choices\"><div class=\"PQ\"  id=\"PQ-2-1\">The expected value of Project A is greater. <\/div><div class=\"PQ correct_answer\"  id=\"PQ-2-2\">The expected value of Project B is greater. <\/div><div class=\"PQ\"  id=\"PQ-2-3\">The expected value of Projects A and B are the same. <\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<input id=\"PQ-2\" type=\"checkbox\" class=\"spoiler_button\" \/><label for=\"PQ-2\" style=\"width: 150px;\">Show Answer<\/label>\n\t\t\t\t\t<div class=\"answer\" id=\"PQ-2-spoiler\">\n\t\t\t\t\t\t<strong>Answer:<\/strong><div style=\"margin-left:10px;\"><h4 style=\"margin-bottom: -0.25em; font-weight: 600 !important\">Project A<\/h4>\n<p>The expected value of Project A is $820,000.<\/p>\n<p class=\"longmath\" style=\"text-align: center\">\\(E(X)=(0.2\\times2{,}500{,}000)+(0.8\\times400{,}000)=$820{,}000\\)<\/p>\n<h4 style=\"margin-bottom: -0.25em; font-weight: 600 !important\">Project B<\/h4>\n<p>The expected value of Project B is $1,302,825.<\/p>\n<p class=\"longmath\" style=\"text-align: center\">\\(E(X)=(0.35\\times3{,}350{,}000)+(0.65\\times200{,}500)=$1{,}302{,}825\\)<\/p>\n<\/div>\n\t\t\t\t\t\t<input id=\"PQ-2-hide\" type=\"checkbox\" class=\"spoiler_button\" \/><label for=\"PQ-2-hide\" style=\"width: 150px;\">Hide Answer<\/label>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"PQ\">\n\t\t\t\t\t<strong>Question #3:<\/strong>\n\t\t\t\t\t<div style=\"margin-left:10px;\"><style>\n@media (max-width: 768px) {\n.ATable {\n  min-width: 100%;\n}\n}\n<\/style>\n<p>&nbsp;<br \/>\nMichael is playing games at a carnival with some of his friends. One of the games is a dice game. Michael isn\u2019t sure if he should pay money to try the game. It costs $10 each time you play, but there are a few tempting cash prizes so he is considering it. <\/p>\n<h4 style=\"margin-bottom: -0.25em; font-weight: 600 !important\">Rules<\/h4>\n<p>($10 to play each round)<\/p>\n<table class=\"ATable\" style=\"margin: auto;\">\n<thead>\n<tr>\n<th>Number Rolled<\/th>\n<th>Cash Prize<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>$0<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>$0<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>$0<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>$0<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>$20<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>$30<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<br \/>\nWould you advise Michael to play the dice game, or walk away? Use the expected value formula to support your claim.<\/p>\n<\/div>\n\t\t\t\t\t<div class=\"PQ-Choices\"><div class=\"PQ\"  id=\"PQ-3-1\">Play the game! The expected value is +$1.67. <\/div><div class=\"PQ correct_answer\"  id=\"PQ-3-2\">Walk away! The expected value is \u2212$1.67. <\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<input id=\"PQ-3\" type=\"checkbox\" class=\"spoiler_button\" \/><label for=\"PQ-3\" style=\"width: 150px;\">Show Answer<\/label>\n\t\t\t\t\t<div class=\"answer\" id=\"PQ-3-spoiler\">\n\t\t\t\t\t\t<strong>Answer:<\/strong><div style=\"margin-left:10px;\"><p class=\"longmath\" style=\"text-align: center; font-size: 88%; margin-top: 1em\">\\(E(X)=(\\frac{1}{6}\\times-10)+(\\frac{1}{6}\\times-10)+(\\frac{1}{6}\\times -10)+(\\frac{1}{6}\\times-10)+(\\frac{1}{6}\\times10)+(\\frac{1}{6}\\times20)\\)<\/p>\n<p>This becomes \\(E(X)=-1.67\\) when the equation is simplified.<\/p>\n<p>The negative expected value tells us that the game is not balanced, so Michael should walk away. If the game had an expected value of zero or a positive value, then Michael would have a good chance of making money over time.<\/p>\n<\/div>\n\t\t\t\t\t\t<input id=\"PQ-3-hide\" type=\"checkbox\" class=\"spoiler_button\" \/><label for=\"PQ-3-hide\" style=\"width: 150px;\">Hide Answer<\/label>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"PQ\">\n\t\t\t\t\t<strong>Question #4:<\/strong>\n\t\t\t\t\t<div style=\"margin-left:10px;\"><p>&nbsp;<br \/>\nFernando is trying to design a coin flipping game that is fair and balanced. He decided to charge participants $2 to play the game. If heads is flipped, the participant wins $4, and if tails is flipped, the participant wins 25 cents. Has Fernando designed a balanced coin flipping game? Use the expected value formula to support your answer. <\/p>\n<\/div>\n\t\t\t\t\t<div class=\"PQ-Choices\"><div class=\"PQ\"  id=\"PQ-4-1\">The game is balanced. The expected value is zero. <\/div><div class=\"PQ correct_answer\"  id=\"PQ-4-2\">The game is not balanced. The expected value is positive. <\/div><div class=\"PQ\"  id=\"PQ-4-3\">The game is not balanced. The expected value is negative. <\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<input id=\"PQ-4\" type=\"checkbox\" class=\"spoiler_button\" \/><label for=\"PQ-4\" style=\"width: 150px;\">Show Answer<\/label>\n\t\t\t\t\t<div class=\"answer\" id=\"PQ-4-spoiler\">\n\t\t\t\t\t\t<strong>Answer:<\/strong><div style=\"margin-left:10px;\"><p>We can plug in each probability, along with its outcome, into the formula. Remember to deduct the initial $2 that it costs to play the game:<\/p>\n<p style=\"text-align: center; line-height: 40px\">\\(E(X)=x_1p_1+x_2p_2+&#8230;\\)<br \/>\n\\(E(X)=(\\frac{1}{2}\\times2)+(\\frac{1}{2}-1.75)\\)<\/p>\n<p>The expected value simplifies to \\(E(X)=0.125\\).<\/p>\n<p>If the expected value is zero, then the game is considered balanced. The game Fernando has designed is not balanced. In fact, the positive expected value indicates that the game leans slightly in the participant\u2019s favor.<\/p>\n<\/div>\n\t\t\t\t\t\t<input id=\"PQ-4-hide\" type=\"checkbox\" class=\"spoiler_button\" \/><label for=\"PQ-4-hide\" style=\"width: 150px;\">Hide Answer<\/label>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"PQ\">\n\t\t\t\t\t<strong>Question #5:<\/strong>\n\t\t\t\t\t<div style=\"margin-left:10px;\"><p>&nbsp;<br \/>\nSusan is considering playing the spinner game shown below. It will cost Susan $1 each time she plays, and her prize money is shown in each section of the spinner. Susan wants to determine if it is a good idea to try the game, so she wants to determine how much money she can expect to win or lose over time.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.mometrix.com\/academy\/wp-content\/uploads\/2026\/02\/Spinner-Game.svg\" alt=\"A circle divided into four segments labeled $1.00, $2.00, $3.00, and $4.00, with a red arrow pointing to the $2.00 segment.\" width=\"230\" height=\"230\" class=\"aligncenter size-full wp-image-287390\"  role=\"img\" \/><\/p>\n<p>Is it a good idea for Susan to play the spinner game? Use the expected value formula to inform your decision.<\/p>\n<\/div>\n\t\t\t\t\t<div class=\"PQ-Choices\"><div class=\"PQ correct_answer\"  id=\"PQ-5-1\">Yes, Susan should try the spinner game. <\/div><div class=\"PQ\"  id=\"PQ-5-2\">No, Susan should not try the spinner game.<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<input id=\"PQ-5\" type=\"checkbox\" class=\"spoiler_button\" \/><label for=\"PQ-5\" style=\"width: 150px;\">Show Answer<\/label>\n\t\t\t\t\t<div class=\"answer\" id=\"PQ-5-spoiler\">\n\t\t\t\t\t\t<strong>Answer:<\/strong><div style=\"margin-left:10px;\"><p>The probability and outcome of each section can be plugged into the expected value formula in order to determine if this spinner game is worth playing. When the values are plugged in, \\(E(X)=x_1p1+x_2p_2+&#8230;\\) becomes:<\/p>\n<p class=\"longmath\" style=\"text-align: center\">\\(E(X)=(\\frac{1}{2}\\times0)+(\\frac{1}{4}\\times1)+(\\frac{1}{8}\\times2)+(\\frac{1}{8}\\times3)\\)<\/p>\n<p>This simplifies to \\(E(X)=0.875\\). <\/p>\n<p>The expected value of this spinner game is positive, which indicates that over time, Susan will gain money and not lose money. Susan should feel comfortable about trying this spinner game because overall the expected value leans in favor of the participant.<\/p>\n<\/div>\n\t\t\t\t\t\t<input id=\"PQ-5-hide\" type=\"checkbox\" class=\"spoiler_button\" \/><label for=\"PQ-5-hide\" style=\"width: 150px;\">Hide Answer<\/label>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div><\/div>\n<\/div>\n\n<div class=\"home-buttons\">\n<p><a href=\"https:\/\/www.mometrix.com\/academy\/probability\/\">Return to Probability Videos<\/a><\/p>\n<\/div>\n<p><script>\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n  const swipeElements = document.querySelectorAll(\".yellow-math-quote-long, .longmath\");<\/p>\n<p>  swipeElements.forEach(el => {\n    let hasSwiped = false;<\/p>\n<p>    el.addEventListener(\"scroll\", function () {\n      \/\/ Only trigger once\n      if (!hasSwiped && el.scrollLeft > 5) {\n        hasSwiped = true;\n        el.classList.add(\"swiped\");\n      }\n    }, { passive: true });\n  });\n});\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Return to Probability Videos<\/p>\n","protected":false},"author":1,"featured_media":91732,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":{"0":"post-58498","1":"page","2":"type-page","3":"status-publish","4":"has-post-thumbnail","6":"page_category-algebra-ii-videos","7":"page_category-math-advertising-group","8":"page_category-probability-videos","9":"page_category-video-pages-for-study-course-sidebar-ad","10":"page_type-video","11":"content_type-practice-questions","12":"subject_matter-math"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/pages\/58498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/comments?post=58498"}],"version-history":[{"count":5,"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/pages\/58498\/revisions"}],"predecessor-version":[{"id":247672,"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/pages\/58498\/revisions\/247672"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/media\/91732"}],"wp:attachment":[{"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/media?parent=58498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}