[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-348124-105":59,"doc-detail-348124-en":131,"doc-similar-348124":170},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","lecture-1-mathematical-background","Lecture 1 - Mathematical Background","","This document outlines the core mathematical foundations required for advanced optimization in machine learning, presented by Peng Zhao at Nanjing University for the Fall 2023 semester. It systematically covers essential topics including calculus, linear algebra, probability, statistics, and information theory. The calculus section emphasizes gradient, derivatives, the Hessian matrix, and the chain rule. The material serves as an introductory resource, pointing to the Matrix Cookbook as a key reference for matrix calculus.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/lecture-1-mathematical-background/348124/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/lecture-1-mathematical-background/348124.png","ImageObject",300,407,{"name":92,"@type":93},"Sarah ","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-27","2026-09-22",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",14,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What are the primary topics covered in the mathematical background lecture?","Question",{"text":113,"@type":114},"The lecture covers calculus, linear algebra, probability and statistics, information theory, and optimization techniques relevant to machine learning.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"What specific calculus concepts are emphasized in this lecture?",{"text":118,"@type":114},"The lecture focuses on gradients and first-order derivatives, the Hessian matrix for second-order analysis, and the chain rule for scalar functions.",{"name":120,"@type":111,"acceptedAnswer":121},"What external resource is recommended for further reference on matrix derivatives?",{"text":122,"@type":114},"The lecture recommends 'The Matrix Cookbook' for detailed information on the derivatives of vectors, matrices, norms, and determinants.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},348124,1790430461,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":146,"preview_page_count":29,"preview_urls":147},962085320529,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Lecture 1. Mathematical Background  \nAdvanced Optimization (Fall 2023)  \nPeng Zhao  \n[zhaop@lamda.nju.edu.cn](zhaop@lamda.nju.edu.cn)  \nNanjing University  \nOutline  \n• Calculus  \n• Linear Algebra  \n• Probability & Statistics  \n• Information Theory  \n• Optimization in Machine Learning  \nAdvanced Optimization (Fall 2023) Lecture 1. Mathematical Background 2  \nNotational Convention  \nAdvanced Optimization (Fall 2023) Lecture 1. Mathematical Background 3  \nFunction  \n• Function mapping  \nAdvanced Optimization (Fall 2023) Lecture 1. Mathematical Background 4  \nPart 1. Calculus  \n• Gradient and Derivatives  \n• Hessian  \n• Chain Rule  \nAdvanced Optimization (Fall 2023) Lecture 1. Mathematical Background 5  \nGradient and Derivatives (First Order)  \nwe focus on the “gradient” language (i.e., column vector)  \nAdvanced Optimization (Fall 2023) Lecture 1. Mathematical Background 6  \nExample  \nHessian (Second Order)  \nAdvanced Optimization (Fall 2023) Lecture 1. Mathematical Background 8  \nChain Rule  \n• Consider scalar functions for simplicity.  \nAdvanced Optimization (Fall 2023) Lecture 1. Mathematical Background 9  \nReference: The Matrix Cookbook  \nThe derivatives of vectors, matrices, norms, determinants, etc can be found therein.  \n[https://www.math.uwaterloo.ca/](https://www.math.uwaterloo.ca/)~hwolkowi/matrixcookbook.pdf  \nAdvanced Optimization (Fall 2023) Lecture 1. Mathematical Background 10","cbCaioMF5ReMyMbm","https://ap.wps.com/l/cbCaioMF5ReMyMbm","pdf",4674679,53,"English","# Calculus\n## Gradient and Derivatives\n## Hessian\n## Chain Rule","[{\"question\":\"What are the primary topics covered in the mathematical background lecture?\",\"answer\":\"The lecture covers calculus, linear algebra, probability and statistics, information theory, and optimization techniques relevant to machine learning.\"},{\"question\":\"What specific calculus concepts are emphasized in this lecture?\",\"answer\":\"The lecture focuses on gradients and first-order derivatives, the Hessian matrix for second-order analysis, and the chain rule for scalar functions.\"},{\"question\":\"What external resource is recommended for further reference on matrix derivatives?\",\"answer\":\"The lecture recommends 'The Matrix Cookbook' for detailed information on the derivatives of vectors, matrices, norms, and determinants.\"}]","Lecture 1 - Mathematical Background | PDF",1790071227,134,[148,152,155,159,162,166],{"page_no":8,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/30fe4d3a4d336dcdadf73063a2c22b0c.webp",983,552,{"page_no":14,"url":153,"width":154,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/637c66a8179bae5daf86147835b2af5c.webp",982,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/829cc1b60bc2e5862ab8a0a1b3ab024e.webp",981,551,{"page_no":19,"url":160,"width":161,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/9a8578df7efe1e9d91e549a9a94185e2.webp",980,{"page_no":24,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/d45cff9ef14e994e55482a36b587c046.webp",979,550,{"page_no":29,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/7231c49dccf531266d465302d48509d9.webp",978,549,{"list":171,"token":66},[172,178,185,192,199,206,212,218,224,230],{"doc_id":173,"doc_title":174,"file_type":138,"home_preview_img_url":175,"slug":176,"view_count":81,"category_name":40,"create_tm":177},669957,"Mathematics: Analysis & Approaches SL - 1 Page Formula Sheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988681678/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=90QleI%2BmNMb8A2aeeaUIRDUxN1s%3D","mathematics-analysis-approaches-sl-1-page-formula-sheet",1793565259,{"doc_id":179,"doc_title":180,"file_type":138,"home_preview_img_url":181,"slug":182,"view_count":183,"category_name":40,"create_tm":184},290834,"Matrix Calculus - (for Machine Learning and Beyond) - Lecture Notes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903743673/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=pKARNlpanV247CMt0gG9Jbu2C5g%3D","matrix-calculus-for-machine-learning-and-beyond-lecture-notes",18,1789642709,{"doc_id":186,"doc_title":187,"file_type":138,"home_preview_img_url":188,"slug":189,"view_count":190,"category_name":40,"create_tm":191},319314,"Mathematics for Machine Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229907768236/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=73380ZNHKZNSOyNJTdMhUMiqnWw%3D","mathematics-for-machine-learning",58,1789942667,{"doc_id":193,"doc_title":194,"file_type":138,"home_preview_img_url":195,"slug":196,"view_count":197,"category_name":40,"create_tm":198},399228,"Actuarial Science (BS) - Annual Assessment Plan and Findings - 21-22","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229919583707/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=MR3o6wUm6pUtThOabsjxcgzSEw0%3D","actuarial-science-bs-annual-assessment-plan-and-findings-21-22",26,1790494997,{"doc_id":200,"doc_title":201,"file_type":138,"home_preview_img_url":202,"slug":203,"view_count":204,"category_name":40,"create_tm":205},83374,"Dynamics of Gradient Descent with Large Step Size Near a Manifold of Flat Minima","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808839100/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=xD3tAyI75Fqmhrf0R%2FVdZU5yopE%3D","dynamics-of-gradient-descent-with-large-step-size-near-a-manifold-of-flat-minima",22,1784187073,{"doc_id":207,"doc_title":208,"file_type":138,"home_preview_img_url":209,"slug":210,"view_count":105,"category_name":40,"create_tm":211},26617,"Basic Econometrics, Fourth Edition Preface","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229723564204/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=W8bud2TU0%2Bo28DlaiWLx4lXc5jo%3D","basic-econometrics-fourth-edition-preface",1778199125,{"doc_id":213,"doc_title":214,"file_type":138,"home_preview_img_url":215,"slug":216,"view_count":183,"category_name":40,"create_tm":217},491559,"Engineering Mathematics-I - BS101/M-I - Semester I Total Curriculum","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229928218521/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=75kEuErPzOmqIqpsX2DKL04e%2BsU%3D","engineering-mathematics-i-bs101m-i-semester-i-total-curriculum",1790851137,{"doc_id":219,"doc_title":220,"file_type":138,"home_preview_img_url":221,"slug":222,"view_count":34,"category_name":40,"create_tm":223},657383,"Representing and Implementing Matrices Using Algebraic ZX-calculus","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975441809/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=c1wKEkVNuBP7%2FI4IF51aEnekTvo%3D","representing-and-implementing-matrices-using-algebraic-zx-calculus",1792978316,{"doc_id":225,"doc_title":226,"file_type":138,"home_preview_img_url":227,"slug":228,"view_count":24,"category_name":40,"create_tm":229},673434,"Mathematical Symbols by Subject","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990826561/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=sUZVgsVrnLwjCvCyNr5Eg9joXj8%3D","mathematical-symbols-by-subject",1793638346,{"doc_id":231,"doc_title":232,"file_type":138,"home_preview_img_url":233,"slug":234,"view_count":44,"category_name":40,"create_tm":235},661657,"Linear Algebra and Its Applications - A Modern Elementary Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229980057640/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108039&Signature=T%2FxJ%2B7fLqy2umuhconbviducrz0%3D","linear-algebra-and-its-applications-a-modern-elementary-introduction",1793173556]