{"id":2237,"date":"2020-12-05T04:06:47","date_gmt":"2020-12-05T12:06:47","guid":{"rendered":"http:\/\/wonghoi.humgar.com\/blog\/?page_id=2237"},"modified":"2020-12-19T18:36:44","modified_gmt":"2020-12-20T02:36:44","slug":"oversimplified-signals-and-systems-3-5-prereq-basic-math","status":"publish","type":"page","link":"https:\/\/wonghoi.humgar.com\/blog\/oversimplified-signals-and-systems-3-5-prereq-basic-math\/","title":{"rendered":"Oversimplified: Signals and Systems (3.5) \u2013 Prereq: Basic Math"},"content":{"rendered":"<p>I have saved a very concise primer written by Dr. Sebald who taught in University of Wisconsin &#8211; Madison after I have graduated:\u00a0<a href=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2020\/12\/sebald_signal_processing_math.pdf\">Basic Math for Signal Processing (Dr. Sebald)<\/a><\/p>\n<p>There are 11 sections there and some of them I think it&#8217;s gold and some of them I think beginners can skip (but still good to know for mathematical maturity you&#8217;ll need later).<\/p>\n<p style=\"text-align: center;\">Section 1: Notations<\/p>\n<p>I love his treatment of commonly used notation habits (Table 1) because there&#8217;s often a lot of variables to keep track of in signal processing math that it&#8217;d drive us insane if we and our readers have to remember what each variable means each time we start a new project.<\/p>\n<p style=\"text-align: center;\">Section 2: Quadratics<\/p>\n<p>Completing the square and solving quadratic equations is less important in general signal processing. The only time you&#8217;ll see it is factorizing in partial fractions, and the matrix form of completing squares\u00a0in optimization related topics (such as Recursive Least Squares)<\/p>\n<p style=\"text-align: center;\">Section 3 and 7: Complex Numbers<\/p>\n<p style=\"text-align: left;\">Basically you have to recognize polar and rectangular coordinates and remember properties (a) to (i) by heart. It&#8217;s so important that I dedicated a <a href=\"https:\/\/wonghoi.humgar.com\/blog\/ideas-oversimplified-signals-and-systems-2-prerequisities-complex-numbers\/\">page<\/a> for it.<\/p>\n<p style=\"text-align: center;\">Section 4: Sequences and Series<\/p>\n<p>Getting comfortable with geometric series is the most important thing you&#8217;ll need to know for DSP or Discrete Time Signal Processing<\/p>\n<p style=\"text-align: center;\">Section 5: Differentiation<\/p>\n<p>You don&#8217;t need a lot of fancy Calculus in signal processing. You only need the simple stuff. I&#8217;ve never used a quotient rule and L&#8217;Hopital rule in signal processing for sure and I barely remember using product rule. Never used differentials at all.<\/p>\n<p>The most important thing you need to know is that calculus operations are LINEAR operators so all superposition tricks applies.<\/p>\n<p>Differentiability and continuity (i.e. smoothness) is an important qualitative concept when we get to the transforms as they represents fast changes that will be spread out all over the place in another domain.<\/p>\n<p style=\"text-align: center;\">Section 6: Integration<\/p>\n<p>It has a little more rigorous treatment to Riemann integrals we learn in calculus. Most of the time you don&#8217;t need to dive into such details unless you run into theoretical understanding of transforms and <a href=\"https:\/\/en.wikipedia.org\/wiki\/Generalized_function\">generalized functions<\/a> (also called <a href=\"https:\/\/en.wikipedia.org\/wiki\/Distribution_(mathematics)\">distributions<\/a>, not the probability kind), and it&#8217;s a one-off thing so you appreciate the math of how the transform pairs are derived. After that you just use the transform pairs remembered like a pro.<\/p>\n<p>We barely get to use fundamental theorem of calculus other than a one-off torture section where you plug-and-chug discontinuous functions into Fourier integrals. Basically after that &#8216;torture&#8217; so you&#8217;ll appreciate how your transform tables are derived.<\/p>\n<p>Unless you are deriving transform pairs that cannot be easily synthesized from the ones you already know, you should be only using the Fourier integral once in a blue moon or in a few cases where you can read the answer straight from the definition without much more work.<\/p>\n<p>You are almost always on the wrong track doing things in a dumb way if you have to use integration by parts for signal processing questions.<\/p>\n<p style=\"text-align: center;\">Section 8: Taylor series<\/p>\n<p>Series decomposition is often ninja tricks reserved for rare, difficult problems. The only one time I needed to do a series expansion is in Robert Gray&#8217;s old qualifying exam question which actually stems from generating function in probability, which is a z-transform:<\/p>\n<p style=\"text-align: center;\">\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 40px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/ql-cache\/quicklatex.com-2f85ba2c9a7f7502b878bfbda7e4faae_l3.png\" height=\"40\" width=\"99\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#92;&#102;&#114;&#97;&#99;&#123;&#97;&#94;&#107;&#125;&#123;&#107;&#33;&#125;&#32;&#92;&#108;&#111;&#110;&#103;&#108;&#101;&#102;&#116;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#101;&#94;&#123;&#97;&#32;&#122;&#94;&#123;&#45;&#49;&#125;&#125;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<\/p>\n<p style=\"text-align: center;\">Section 10: Mathematical Induction<\/p>\n<p>You absolutely don&#8217;t need to know mathematical induction at all in signal processing. Sebald only quoted that to prove geometric series, which in my opinion is clumsy because we could have derived it like this:<\/p>\n<p style=\"text-align: center;\">\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 19px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/ql-cache\/quicklatex.com-764a5b69151ddf11103618d5464c893a_l3.png\" height=\"19\" width=\"182\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#83;&#32;&#61;&#32;&#49;&#32;&#43;&#32;&#120;&#32;&#43;&#32;&#120;&#94;&#50;&#32;&#43;&#32;&#92;&#99;&#100;&#111;&#116;&#32;&#43;&#32;&#120;&#94;&#110;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<\/p>\n<p style=\"text-align: center;\">\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 19px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/ql-cache\/quicklatex.com-8ccf8e9175009afc126688ff7d449b44_l3.png\" height=\"19\" width=\"220\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#120;&#83;&#32;&#61;&#32;&#32;&#120;&#32;&#43;&#32;&#120;&#94;&#50;&#32;&#43;&#32;&#92;&#99;&#100;&#111;&#116;&#32;&#43;&#32;&#120;&#94;&#110;&#32;&#43;&#32;&#120;&#94;&#123;&#110;&#43;&#49;&#125;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<\/p>\n<p>Subtract the second expansion from the first so only the first term <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/ql-cache\/quicklatex.com-69a7c7fb1023d315f416440bca10d849_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;\" title=\"Rendered by QuickLaTeX.com\" height=\"12\" width=\"7\" style=\"vertical-align: 0px;\"\/> in the first equation and the last term <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/ql-cache\/quicklatex.com-fc0fda9b6eb62be461fac40fa211fb71_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#120;&#94;&#123;&#110;&#43;&#49;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"15\" width=\"35\" style=\"vertical-align: 0px;\"\/> in the second equation survives. Everything in between is canceled subtractively.<\/p>\n<p style=\"text-align: center;\">\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 17px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/ql-cache\/quicklatex.com-84a7d71592ca1e9f92351e76dcfdaa41_l3.png\" height=\"17\" width=\"144\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#83;&#32;&#45;&#32;&#120;&#83;&#32;&#61;&#32;&#49;&#32;&#45;&#32;&#120;&#94;&#123;&#110;&#43;&#49;&#125;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<\/p>\n<p style=\"text-align: center;\">\n<p class=\"ql-center-displayed-equation\" style=\"line-height: 39px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/ql-cache\/quicklatex.com-03b1ab4345149b40f3deeb61f72cfdbf_l3.png\" height=\"39\" width=\"106\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91;&#83;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#32;&#45;&#32;&#120;&#94;&#123;&#110;&#43;&#49;&#125;&#125;&#123;&#49;&#45;&#120;&#125;&#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p>\n<\/p>\n<p style=\"text-align: center;\">Section 11: Logic<\/p>\n<p>It&#8217;s just common sense that anybody working with math should know to think straight. It&#8217;s not directly used anywhere in basic signal processing classes. But I&#8217;d be concerned if you can survive any kind of engineering if you don&#8217;t at least know it.<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_2237\" class=\"pvc_stats all  \" data-element-id=\"2237\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I have saved a very concise primer written by Dr. Sebald who taught in University of Wisconsin &#8211; Madison after I have graduated:\u00a0Basic Math for Signal Processing (Dr. Sebald) There are 11 sections there and some of them I think &hellip; <a href=\"https:\/\/wonghoi.humgar.com\/blog\/oversimplified-signals-and-systems-3-5-prereq-basic-math\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_2237\" class=\"pvc_stats all  \" data-element-id=\"2237\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-2237","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/pages\/2237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/comments?post=2237"}],"version-history":[{"count":11,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/pages\/2237\/revisions"}],"predecessor-version":[{"id":2265,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/pages\/2237\/revisions\/2265"}],"wp:attachment":[{"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/media?parent=2237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}