{"id":16924,"topics":[{"id":702,"name":"Algorithms and Data Structures","icon":"RiRobot2Line","parent":698,"channel_url":"https://learn.mit.edu/c/topic/algorithms-and-data-structures"},{"id":710,"name":"Computer Science","icon":"RiRobot2Line","parent":698,"channel_url":"https://learn.mit.edu/c/topic/computer-science"},{"id":698,"name":"Data Science, Analytics & Computer Technology","icon":"RiRobot2Line","parent":null,"channel_url":"https://learn.mit.edu/c/topic/data-science-analytics-computer-technology"},{"id":747,"name":"Engineering","icon":"RiRobot2Line","parent":null,"channel_url":"https://learn.mit.edu/c/topic/engineering"},{"id":737,"name":"Mathematics","icon":"RiTestTubeLine","parent":731,"channel_url":"https://learn.mit.edu/c/topic/mathematics"},{"id":731,"name":"Science & Math","icon":"RiTestTubeLine","parent":null,"channel_url":"https://learn.mit.edu/c/topic/science-math"}],"position":null,"offered_by":{"code":"ocw","name":"MIT OpenCourseWare","channel_url":"https://learn.mit.edu/c/unit/ocw","display_facet":true},"platform":{"code":"ocw","name":"MIT OpenCourseWare"},"course_feature":[],"departments":[],"certification":false,"certification_type":{"code":"none","name":"No Certificate"},"prices":[],"resource_prices":[],"runs":[],"image":{"id":13433,"url":"https://i.ytimg.com/vi/WXIOdgaLCNM/hqdefault.jpg","description":null,"alt":null},"views":382,"delivery":[{"code":"online","name":"Online"}],"free":true,"resource_type_group":"learning_material","format":[{"code":"asynchronous","name":"Asynchronous"}],"pace":[{"code":"self_paced","name":"Self-paced"}],"children":[],"best_run_id":null,"learn_url":"https://learn.mit.edu/video/16924/lecture-21-random-variables?playlist=16903","url_slug":"lecture-21-random-variables","resource_type":"video","video":{"id":7532,"caption_urls":[],"streaming_url":null,"cover_image_url":null,"duration":"PT1H10M48S"},"playlists":[16903],"content_files":[{"id":17169677,"run_id":8108,"direct_learning_resource_id":16924,"run_title":"Mathematics for Computer Science","run_slug":"courses/6-1200j-mathematics-for-computer-science-spring-2024","departments":[{"department_id":"6","name":"Electrical Engineering and Computer Science","channel_url":"https://learn.mit.edu/c/department/electrical-engineering-and-computer-science","school":{"id":2,"name":"School of Engineering","url":"https://engineering.mit.edu/"}},{"department_id":"18","name":"Mathematics","channel_url":"https://learn.mit.edu/c/department/mathematics","school":{"id":5,"name":"School of Science","url":"https://science.mit.edu/"}}],"semester":"Spring","year":2024,"topics":[{"id":702,"name":"Algorithms and Data Structures","icon":"RiRobot2Line","parent":698,"channel_url":"https://learn.mit.edu/c/topic/algorithms-and-data-structures"},{"id":710,"name":"Computer Science","icon":"RiRobot2Line","parent":698,"channel_url":"https://learn.mit.edu/c/topic/computer-science"},{"id":698,"name":"Data Science, Analytics & Computer Technology","icon":"RiRobot2Line","parent":null,"channel_url":"https://learn.mit.edu/c/topic/data-science-analytics-computer-technology"},{"id":747,"name":"Engineering","icon":"RiRobot2Line","parent":null,"channel_url":"https://learn.mit.edu/c/topic/engineering"},{"id":737,"name":"Mathematics","icon":"RiTestTubeLine","parent":731,"channel_url":"https://learn.mit.edu/c/topic/mathematics"},{"id":731,"name":"Science & Math","icon":"RiTestTubeLine","parent":null,"channel_url":"https://learn.mit.edu/c/topic/science-math"}],"key":"courses/6-1200j-mathematics-for-computer-science-spring-2024/resources/61200-sp24-lecture21-2024may02_mp4/","uid":null,"title":"Lecture 21: Random Variables","description":"<p>The probability mass function and the cumulative distribution function are two different (equivalent!) ways to express the probability distribution of an RV. It’s often used to describe random variables by their distributions.</p>\n","require_summaries":false,"url":"https://ocw.mit.edu/courses/6-1200j-mathematics-for-computer-science-spring-2024/resources/61200-sp24-lecture21-2024may02_mp4/","content_feature_type":["Lecture Videos"],"content_type":"video","content_title":"Lecture 21: Random Variables","content_author":null,"content_language":null,"checksum":"c16529258a046dd35c59f992ea6db283","image_src":"https://i.ytimg.com/vi/WXIOdgaLCNM/hqdefault.jpg","resource_id":"16901","resource_readable_id":"6.1200J+spring_2024","source_path":null,"course_number":["6.1200J","18.062J"],"file_type":"video/mp4","file_extension":".mp4","offered_by":{"code":"ocw","name":"MIT OpenCourseWare","channel_url":"https://learn.mit.edu/c/unit/ocw","display_facet":true},"platform":{"code":"ocw","name":"MIT OpenCourseWare"},"run_readable_id":"fedce92dda1644918f0e763217dd600d","edx_module_id":null,"youtube_id":"WXIOdgaLCNM"}],"description":"<p>The probability mass function and the cumulative distribution function are two different (equivalent!) ways to express the probability distribution of an RV. It’s often used to describe random variables by their distributions.</p>\n","created_on":"2025-07-22T18:45:56.316202Z","readable_id":"WXIOdgaLCNM","title":"Lecture 21: Random Variables","full_description":null,"last_modified":"2025-07-22T14:44:20Z","published":true,"languages":null,"url":"https://ocw.mit.edu/courses/6-1200j-mathematics-for-computer-science-spring-2024/resources/61200-sp24-lecture21-2024may02_mp4/","resource_category":"Lecture Video","ocw_topics":[],"professional":false,"next_start_date":null,"availability":"anytime","completeness":1.0,"license_cc":false,"test_mode":false,"continuing_ed_credits":null,"location":"","duration":"","min_weeks":null,"max_weeks":null,"time_commitment":"","min_weekly_hours":null,"max_weekly_hours":null,"require_summaries":false}