{"id":971,"date":"2024-06-10T16:31:23","date_gmt":"2024-06-10T16:31:23","guid":{"rendered":"https:\/\/neilfoxman.com\/?page_id=971"},"modified":"2024-06-22T04:23:17","modified_gmt":"2024-06-22T04:23:17","slug":"sinc-function","status":"publish","type":"page","link":"https:\/\/neilfoxman.com\/?page_id=971","title":{"rendered":"Sinc Function"},"content":{"rendered":"\n<p>Parking space for various notes about the sinc function and slow motion step by step proof of value at $x=0$<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Value_at_x0_Proof\"><\/span>Value at $x=0$ Proof<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Extreme_Value_Theorem\"><\/span>Extreme Value Theorem<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>If $f$ maps to an ordered set such as $\\mathbb{R}$ or $\\mathbb{Z}$ and is continuous on closed interval $[a,b]$, then<\/p>\n\n\n\n<p>$$<br>\\boxed{<br>\\begin{align}<br>&amp;\\exists c \\in [a,b] : \\forall x \\in [a,b], f(c) \\geq f(x) \\\\<br>&amp;\\exists d \\in [a,b] : \\forall x \\in [a,b], f(d) \\leq f(x) \\\\<br>\\end{align}<br>}<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Rolles_Theorem\"><\/span>Rolle&#8217;s Theorem<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>For a function $f$ that is continuous on interval $[a,b]$ and differentiable on $(a,b)$ and points $a$ and $b$ satisfy $f(a) = f(b)$, then only three possible cases exist of which $f$ must satisfy at least one:<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>&amp;\\text{Case 1: } f \\text{ is constant on } [a,b] \\\\<br>&amp;\\implies \\\\<br>&amp;\\exists k \\in \\mathbb{R} : \\forall x \\in [a,b], f(x) = k  \\\\<br>&amp;\\implies \\\\<br>&amp;\\forall x \\in (a,b), f'(x) = 0 \\\\<br>\\\\<br>&amp;\\text{Case 2: } f \\text{ has a maximum on } (a,b) \\\\<br>&amp;\\implies \\\\<br>&amp;\\exists c \\in (a,b) : f(c) = \\max(f) \\text{ on } [a,b] &amp;&amp;\\text{ Extreme Value Theorem} \\\\<br>&amp;\\implies \\\\<br>&amp;f'(c) = 0 \\\\<br>\\\\<br>&amp;\\text{Case 3: } f \\text{ has a minimum on } (a,b) \\\\<br>&amp;\\implies \\\\<br>&amp;\\exists c \\in (a,b) : f(c) = \\min(f) \\text{ on } [a,b] &amp;&amp;\\text{ Extreme Value Theorem} \\\\<br>&amp;\\implies \\\\<br>&amp;f'(c) = 0 \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>The result of which is the conclusion that<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>&amp;f \\text{ is continuous on } [a,b] \\land \\\\<br>&amp;f \\text{ is differentiable on } (a,b) \\land \\\\<br>&amp;f(a) = f(b) \\\\<br>&amp;\\implies \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>$$<br>\\boxed{<br>\\exists c \\in (a,b) : f'(c) = 0 \\\\<br>}<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Mean_Value_Theorem\"><\/span>Mean Value Theorem<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The MVT starts with a very similar premise as Rolle&#8217;s theorem, but widens the scope and applicability.<\/p>\n\n\n\n<p>For a function $f$ that is continuous on interval $[a,b]$ and differentiable on $(a,b)$, we can create an auxiliary function used for this proof defined as<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>g(x) &amp;= f(x) &#8211; \\left( \\frac{f(b) &#8211; f(a)}{b &#8211; a} \\right) (x &#8211; a) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Because $g$ is a linear combination of $f$ and $x$, we also know that $g$ is continuous on interval $[a,b]$ and differentiable on $(a,b)$. (TBD how this is proven).<\/p>\n\n\n\n<p>Note also that this helper function achieves all the conditions for Rolle&#8217;s Theorem, namely<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>g(a) &amp;= f(a) \\\\<br>\\\\<br>g(b) &amp;= f(b) &#8211; \\left( \\frac{f(b) &#8211; f(a)}{b &#8211; a} \\right) (b &#8211; a) \\\\<br>g(b) &amp;= f(b) &#8211; [f(b) &#8211; f(a)] \\\\<br>g(b) &amp;= f(a) \\\\<br>\\\\<br>&amp;\\implies g(a) = g(b) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>From Rolle&#8217;s Theorem, $\\exists c \\in (a,b) : g'(c) = 0$.  From differentiating our helper function $g$ we also can find that<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>g'(x) &amp;= f'(x) &#8211; \\left( \\frac{f(b) &#8211; f(a)}{b &#8211; a} \\right) \\\\<br>g'(c) &amp;= f'(c) &#8211; \\left( \\frac{f(b) &#8211; f(a)}{b &#8211; a} \\right) \\\\<br>0 &amp;= f'(c) &#8211; \\left( \\frac{f(b) &#8211; f(a)}{b &#8211; a} \\right) \\\\<br>f'(c) &amp;= \\frac{f(b) &#8211; f(a)}{b &#8211; a} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>In conclusion,<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>&amp;f \\text{ is continuous on } [a,b] \\land \\\\<br>&amp;f \\text{ is differentiable on } (a,b) \\\\<br>&amp;\\implies \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>$$<br>\\boxed{<br>\\exists c \\in (a,b) : f'(c) = \\frac{f(b) &#8211; f(a)}{b &#8211; a} \\\\<br>}<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Cauchy_Mean_Value_Theorem\"><\/span>Cauchy Mean Value Theorem<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Cauchy Mean Value Theorem further generalizes the learnings of Rolle&#8217;s Theorem and the MVT for use with two functions.<\/p>\n\n\n\n<p>With two functions $f$ and $g$ that are both continuous on interval $[a,b]$ and differentiable on $(a,b)$ and $\\forall x \\in [a,b], g'(x) \\neq 0$, we again use an auxiliary function<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>h(x) &amp;= f(x) &#8211; \\lambda g(x) &amp;&amp;\\lambda \\in \\mathbb{R} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>At interval endpoints we have<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>h(a) &amp;= f(a) &#8211; \\lambda g(a) \\\\<br>h(b) &amp;= f(b) &#8211; \\lambda g(b) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Again, $h$ is a linear combination of continuous differentiable functions, so it is expected to also be continuous and differentiable.  We achieve the final criteria of Rolle&#8217;s Theorem by using a specific $\\lambda$ such that<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>h(a) &amp;= h(b) \\\\<br>f(a) &#8211; \\lambda g(a) &amp;= f(b) &#8211; \\lambda g(b) \\\\<br>f(b) &#8211; f(a) &amp;= \\lambda [g(b) &#8211; g(a)] \\\\<br>\\lambda &amp;= \\frac{f(b) &#8211; f(a)}{g(b) &#8211; g(a)} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Using this specific $\\lambda$ to more explicitly define our auxiliary function we have<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>h(x) &amp;= f(x) &#8211; \\frac{f(b) &#8211; f(a)}{g(b) &#8211; g(a)} g(x) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Now we can now say from Rolle&#8217;s Theorem that<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>\\exists c \\in (a,b) : h'(c) = 0 &amp;\\implies \\\\<br>h'(x) &amp;= f'(x) &#8211; \\frac{f(b) &#8211; f(a)}{g(b) &#8211; g(a)} g'(x) \\\\<br>h'(c) &amp;= f'(c) &#8211; \\frac{f(b) &#8211; f(a)}{g(b) &#8211; g(a)} g'(c) \\\\<br>0 &amp;= f'(c) &#8211; \\frac{f(b) &#8211; f(a)}{g(b) &#8211; g(a)} g'(c) \\\\<br>f'(c) &amp;= \\frac{f(b) &#8211; f(a)}{g(b) &#8211; g(a)} g'(c) \\\\<br>\\frac{f'(c)}{g'(c)} &amp;= \\frac{f(b) &#8211; f(a)}{g(b) &#8211; g(a)} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>In conclusion,<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>&amp;f, g \\text{ are continuous on } [a,b] \\land \\\\<br>&amp;f, g \\text{ are differentiable on } (a,b) \\land \\\\<br>&amp;\\forall x \\in [a,b], g'(x) \\neq 0 \\\\<br>&amp;\\implies \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>$$<br>\\boxed{<br>\\exists c \\in (a,b) : \\frac{f'(c)}{g'(c)} = \\frac{f(b) &#8211; f(a)}{g(b) &#8211; g(a)} \\\\<br>}<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"LHopitals_Rule\"><\/span>L&#8217;H\u00f4pital&#8217;s Rule<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>L&#8217;H\u00f4pital&#8217;s Rule is used in cases where we want to find a limit when the functions in both the denominator and the numerator approach 0.  More explicitly, if we want to find<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>\\lim_{x \\to c} \\frac{f(x)}{g(x)} \\\\<br>\\\\<br>f(c) = 0 \\\\<br>g(c) = 0 \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>In this case, we do not use the generic interval $[a,b]$ and instead inspect the interval used in the limit, $[x,c]$. Otherwise, we use a similar premise as above where functions $f$ and $g$ are both continuous on interval $[x,c]$ and differentiable on $(x,c)$ and $g'(c) \\neq 0$.<\/p>\n\n\n\n<p>Now we define a new variable $\\xi$ between the input variable $x$ and the limit point $c$.<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>\\xi \\in (x, c) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>From CMVT<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>\\exists \\xi \\in (x,c) : \\frac{f'(\\xi)}{g'(\\xi)} = \\frac{f(c) &#8211; f(x)}{g(c) &#8211; g(x)} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Since this approach is used in cases where $f(c) = g(c) = 0$, this is simplified to<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>\\exists \\xi \\in (x,c) : \\frac{f'(\\xi)}{g'(\\xi)} = \\frac{- f(x)}{- g(x)} &amp;&amp;f(c) = g(c) = 0 \\\\<br>\\exists \\xi \\in (x,c) : \\frac{f'(\\xi)}{g'(\\xi)} = \\frac{f(x)}{g(x)} &amp;&amp;f(c) = g(c) = 0 \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>As we don&#8217;t know what $\\xi$ is, this finding is not yet that helpful.  However, note that as $x \\to c$, we also have $\\xi \\to c$ i.e. because the limit point is the same in both cases, it does not matter which input variable is used, so we may rewrite this as<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>\\lim_{x \\to c} \\frac{f'(\\xi)}{g'(\\xi)} = \\lim_{x \\to c} \\frac{f(x)}{g(x)} &amp;&amp;f(c) = g(c) = 0 \\\\<br>\\lim_{x \\to c} \\frac{f'(x)}{g'(x)} = \\lim_{x \\to c} \\frac{f(x)}{g(x)} &amp;&amp;f(c) = g(c) = 0 \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>So in summary<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>&amp;f, g \\text{ are continuous around limit point } c \\land \\\\<br>&amp;f, g \\text{ are differentiable around limit point } c \\land \\\\<br>&amp;\\forall x \\text{ around limit point c}, g'(x) \\neq 0 \\land \\\\<br>&amp;f(c) = g(c) = 0 \\\\<br>&amp;\\implies \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>$$<br>\\boxed{<br>\\lim_{x \\to c} \\frac{f(x)}{g(x)} = \\lim_{x \\to c} \\frac{f'(x)}{g'(x)}<br>}<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Sinc_Function\"><\/span>Sinc Function<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The $\\text{sinc}$ function is defined as<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>\\text{sinc}(x) &amp;= \\frac{\\sin(x)}{x} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Note that in the case where $x=0$, the $\\text{sinc}$ function cannot be directly determined due to the denominator approaching 0, so instead we use L&#8217;H\u00f4pital&#8217;s Rule to determine $\\text{sinc}(0)$<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>\\lim_{x \\to c} \\frac{f(x)}{g(x)} &amp;= \\lim_{x \\to c} \\frac{f'(x)}{g'(x)} \\\\<br>\\\\<br>f(x) &amp;= \\sin(x) \\\\<br>f'(x) &amp;= \\cos(x) \\\\<br>g(x) &amp;= x \\\\<br>g'(x) &amp;= 1 \\\\<br>\\\\<br>\\lim_{x \\to c} \\frac{\\sin(x)}{x} &amp;= \\lim_{x \\to c} \\frac{\\cos(x)}{1} \\\\<br>\\lim_{x \\to c} \\frac{\\sin(x)}{x} &amp;= \\cos(c) \\\\<br>\\lim_{x \\to 0} \\frac{\\sin(x)}{x} &amp;= \\cos(0) \\\\<br>\\lim_{x \\to 0} \\frac{\\sin(x)}{x} &amp;= 1 \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Frequency_Response_Approximations\"><\/span>Frequency Response Approximations<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>When the sinc function describes a signal amplitude spectrum, the power in the spectrum may also be estimated as a constant 1 at &#8220;low values&#8221; and then $1\/x$ for &#8220;higher values&#8221;.  These two functions then converge at $1 = 1\/x$ or $x = 1$.<\/p>\n\n\n\n<p>$$<br>\\begin{array}{ll}<br>\tP_{sinc}(x) \\approx \\cases{<br>\t\\begin{array}{ll}<br>\t\t1 \t\t\t&amp;|x| &lt; 1 \\\\<br>\t\t\\frac{1}{x}\t&amp;|x| \\geq 1 \\\\<br>\t\\end{array}<br>\t} \\\\<br>\t<br>\tP_{sinc,dB}(x) \\approx \\cases{<br>\t\\begin{array}{ll}<br>\t\t20 log_{10}(1) \t\t\t\t&amp;|x| &lt; 1 \\\\<br>\t\t20 log_{10}(\\frac{1}{x})\t&amp;|x| \\geq 1 \\\\<br>\t\\end{array}<br>\t} \\\\<br><br>\tP_{sinc,dB}(x) \\approx \\cases{<br>\t\\begin{array}{ll}<br>\t\t0 \t\t\t\t&amp;|x| &lt; 1 \\\\<br>\t\t-20 log_{10}(x)\t&amp;|x| \\geq 1 \\\\<br>\t\\end{array}<br>\t} \\\\<br>\\end{array}<br>$$<\/p>\n\n\n\n<p>On a magnitude plot, this looks like a flat line until $x = 1$, then a downward slope of 20 dB\/decade.  Similarly for a $sinc^2$ plot<\/p>\n\n\n\n<p>$$<br>\\begin{array}{ll}<br>\tP_{sinc^2}(x) \\approx \\cases{<br>\t\\begin{array}{ll}<br>\t\t1 \t\t\t&amp;|x| &lt; 1 \\\\<br>\t\t\\frac{1}{x^2}\t&amp;|x| \\geq 1 \\\\<br>\t\\end{array}<br>\t} \\\\<br><br>\tP_{sinc,dB}(x) \\approx \\cases{<br>\t\\begin{array}{ll}<br>\t\t0 \t\t\t\t&amp;|x| &lt; 1 \\\\<br>\t\t-40 log_{10}(x)\t&amp;|x| \\geq 1 \\\\<br>\t\\end{array}<br>\t} \\\\<br>\\end{array}<br>$$<\/p>\n\n\n\n<p>This plot would have the same inflection point, but a steeper slope (40 dB\/decade)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Parking space for various notes about the sinc function and slow motion step by step proof of value at $x=0$ Value at $x=0$ Proof Extreme Value Theorem If $f$ maps to an ordered set such as $\\mathbb{R}$ or $\\mathbb{Z}$ and is continuous on closed interval $[a,b]$, then $$\\boxed{\\begin{align}&amp;\\exists c \\in [a,b] : \\forall x \\in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":736,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-971","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/pages\/971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/neilfoxman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=971"}],"version-history":[{"count":62,"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/pages\/971\/revisions"}],"predecessor-version":[{"id":1128,"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/pages\/971\/revisions\/1128"}],"up":[{"embeddable":true,"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/pages\/736"}],"wp:attachment":[{"href":"https:\/\/neilfoxman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}