{"id":4068,"date":"2022-09-22T13:21:40","date_gmt":"2022-09-22T05:21:40","guid":{"rendered":"https:\/\/fanyuzhao.com\/?p=4068"},"modified":"2022-09-28T16:00:23","modified_gmt":"2022-09-28T08:00:23","slug":"review-of-maths","status":"publish","type":"post","link":"https:\/\/fanyuzhao.com\/?p=4068","title":{"rendered":"Calculus"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">For the preparation of Quants<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Functions Definition<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">1.1 Each <span class=\"katex math inline\">x<\/span> has only one <span class=\"katex math inline\">y<\/span><\/h4>\n\n\n\n<p>A function denoted <span class=\"katex math inline\">f (x)<\/span> of a single variable <span class=\"katex math inline\">x<\/span> is a rule that assigns <strong>each<\/strong> element of a set <span class=\"katex math inline\">X<\/span> ( written <span class=\"katex math inline\">x \\in X<\/span> ) to <strong>exactly one element <span class=\"katex math inline\">y<\/span><\/strong> of a set Y ( <span class=\"katex math inline\">y\\in Y<\/span>) :<br>$$<br>y=f(x)\\quad or \\quad x\\rightarrow f(x)<br>$$<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1.2 Domain of <span class=\"katex math inline\">f<\/span><\/h4>\n\n\n\n<p>$Dom f$ Domain of Function<\/p>\n\n\n\n<p>$Im f$ Image of Function<\/p>\n\n\n\n<p>For a given value of <span class=\"katex math inline\">x<\/span>, there should be <strong>at most one value<\/strong> of <span class=\"katex math inline\">y<\/span>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1.3 Implicit Form <span class=\"katex math inline\">f(x,y)=0<\/span><\/h4>\n\n\n\n<p>For example,<br>$$<br>4y^4-2y^2x^2-yx^2+x^2+3=0<br>$$<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1.4 Polynomials<\/h4>\n\n\n\n<p>$$<br>y=f(x)=a_0+a_1x+a_2x^2+\u2026+a_nx^n<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Implicit Differentiation<\/h3>\n\n\n\n<p>For example,<br>$$<br>y=a^x<br>$$<br>Mainly two ways to take derivatives,<br>$$<br>ln(y)=ln(a^x)=xln(a) \\<br>\\frac{1}{y}\\frac{dy}{dx}=ln(a)\\quad\\text{by taking derivatives to <span class=\"katex math inline\">x<\/span>}\\<br>\\Rightarrow \\frac{dy}{dx}=y\\cdot ln(a) \\<br>$$<br>and plug <span class=\"katex math inline\">y=a^x<\/span> inside<br>$$<br>\\frac{dy}{dx}=a^x\\cdot ln(a)<br>$$<br>Or, simply we apply the exponential transformation, and take deriviatives later.<br>$$<br>y=e^{ln(a^x)}=e^{x\\cdot ln(a)}<br>$$<br>However, for a polynomial, we normally have to do the implicit differentiation.<br>$$<br>4y^4-2y^2x^2-yx^2+x^2+3=0 \\\\<br>16y^3y&#8217;-(4y&#8217;yx^2+4y^2x)-(y&#8217;x^2+2yx)+2x=0 $$<br>$$(16y^3-2yx^2-x^2)y&#8217;=-2x+4y^2x+2xy \\\\<br>\\Rightarrow y&#8217;=\\frac{-2x+4y^2x+2xy}{16y^3-2yx^2-x^2}<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. L &#8216;Hospital&#8217;s Rule &amp; Limitations<\/h3>\n\n\n\n<p>If there is a limitation (, which is called as the <em>inderterminate form<\/em>),<br>$$<br>\\lim_{x \\rightarrow a} \\frac{f(x)}{g(x)}\\equiv \\frac{0}{0} \\ or \\ \\frac{\\infty}{\\infty}<br>$$<br>then, it could be calculated as,<br>$$<br>\\lim_{x \\rightarrow a} \\frac{f(x)}{g(x)}=\\lim_{x \\rightarrow a} \\frac{f'(x)}{g'(x)}=\\lim_{x \\rightarrow a} \\frac{f&#8221;(x)}{g&#8221;(x)}=\u2026=\\lim_{x \\rightarrow a} \\frac{f^{(n)}(x)}{g^{(n)}(x)}<br>$$<br>For example, <span class=\"katex math inline\">\\frac{sin(x)}{x}<\/span>, at <span class=\"katex math inline\">x \\rightarrow 0<\/span>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. Taylor Series<\/h3>\n\n\n\n<p>Approximate a function a certain point, by a series of terms.(detailing explaination sees <a href=\"https:\/\/fanyuzhao.com\/?p=1717\">Blog Section 6<\/a> )<\/p>\n\n\n\n<p>We use the 1st, 2nd, 3rd, 4th, \u2026 n^th derivatives, etc, to approximate the function at a certain value.<br>$$<br>f(x)\\approx f(x_0)+(x-x_0)f'(x)|_{x=x_0}+\\frac{1}{2}(x-x_0)f&#8221;(x)|_{x=x_0}+\u2026+\\frac{1}{n!}f^{(n)}(x)|_{x=x_0}(x-x_0)^n<br>$$<\/p>\n\n\n\n<p>For example, <span class=\"katex math inline\">e^x<\/span> at <span class=\"katex math inline\">x=0<\/span>.<br>$$<br>e^x=1+x+\\frac{x^2}{2!}+\\frac{x^3}{3!}+\u2026+\\frac{x^n}{n!}<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5. Integration<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">5.1 Intergration by Parts<\/h4>\n\n\n\n<p>$$<br>y=u(x)v(x) \\<br>y&#8217;=u&#8217;\\cdot v +u\\cdot v&#8217; \\<br>u&#8217;v=y&#8217;-uv&#8217; \\<br>$$<\/p>\n\n\n\n<p>and then integrate from both sides,<br>$$<br>\\int u&#8217;v dx=\\int y&#8217; dx-\\int uv&#8217; dx<br>$$<br>as <span class=\"katex math inline\">\\int y&#8217; dx = y+C<\/span>, so we would get,<br>$$<br>\\int u&#8217;v\\cdot dx=\\int v\\cdot du=y-\\int u\\cdot dv +C<br>$$<br>For example,<br>$$<br>\\int xe^x\\cdot dx=\\int x\\cdot de^x \\<br>=xe^x-\\int e^x\\cdot dx +(C) \\<br>=xe^x-e^x+(C)<br>$$<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">5.2 Reduction Formula<\/h4>\n\n\n\n<p>We define a integral, (<span class=\"katex math inline\">I_n<\/span> is called <em>Gamma Function<\/em>)<br>$$<br>\\int_0^{\\infty}e^{-t}t^n\\cdot dt= I_n<br>$$<br>$n$ is determined as the subscript of $I_n$, and could be treated as a constant in that integral.<\/p>\n\n\n\n<p>We integrate that formula, and would get,<br>$$<br>n\\int_0^{\\infty}e^{-t}t^{n-1}dt=I_n \\<br>n\\cdot I_{n-1}=I_n<br>$$<br>If we keep doing that, we would get,<br>$$<br>I_n= n\\cdot I_{n-1}=n(n-1)I_{n-2}=\u2026=n!\\cdot I_0<br>$$<br>where,<br>$$<br>I_0=\\int_0^{\\infty}e^{-t}\\cdot dt=1<br>$$<br>so we get,<br>$$<br>I_n=n!\\cdot I_0=n!<br>$$<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">5.3 Other Tips<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">5.3.1 <span class=\"katex math inline\">ln|f(x)|<\/span><\/h5>\n\n\n\n<p>$$<br>\\int \\frac{f'(x)}{f(x)}=ln|x|+C<br>$$<\/p>\n\n\n\n<p>For example,<br>$$<br>\\int \\frac{x}{1+x^2}dx\\<br>=\\frac{1}{2}\\int\\frac{1}{1+x^2}dx^2=\\frac{1}{2}\\int\\frac{1}{1+x^2}d(1+x^2) \\<br>=\\frac{1}{2}ln|1+x^2|+C<br>$$<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">5.3.2 Decompose the Fraction &#8211; Factorisation<\/h5>\n\n\n\n<p>For example,<br>$$<br>\\frac{1}{(x-2)(x+3)}=\\frac{A}{x-2}+\\frac{B}{x+3}\\<br>A=\\frac{1}{5},\\quad B=-\\frac{1}{5}<br>$$<br>The further implication is that.<\/p>\n\n\n\n<p>Any rational expression <span class=\"katex math inline\">\\frac{f(x)}{g(x)}<\/span>, ( with degree of <span class=\"katex math inline\">f(x)<\/span> &lt; degree of <span class=\"katex math inline\">g(x)<\/span>), could be rewritten as.<br>$$<br>\\frac{f(x)}{g(x)}\\equiv F_1+F_2 +\u2026+F_k<br>$$<br>, where each <span class=\"katex math inline\">F_i<\/span> Is,<br>$$<br>F_i=\\frac{A}{(px+q)^m}\\quad or\\quad \\frac{Ax+B}{(px+q)^m}<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6. Complex Number &#8211; <span class=\"katex math inline\">i<\/span><\/h3>\n\n\n\n<h5 class=\"wp-block-heading\">6.1 Definition<\/h5>\n\n\n\n<p>$$<br>z=x+iy\\<br>i=\\sqrt{-i}\\quad, i^2=-1<br>$$<\/p>\n\n\n\n<p>and <span class=\"katex math inline\">z<\/span> could be expressed in polar co-ordinate form as,<br>$$<br>z=r(cos \\theta+i\\ sin\\theta)<br>$$<br>, where<br>$$<br>x=r\\ cos\\theta \\quad, y=r\\ sin\\theta<br>$$<br>The set of all complex numbers is denoted <span class=\"katex math inline\">\\mathbb{C}<\/span>; and for any complex number <span class=\"katex math inline\">z<\/span>, we could write <span class=\"katex math inline\">z \\in \\mathbb{C}<\/span>. ( <span class=\"katex math inline\">\\mathbb{R} \\subset \\mathbb{C}<\/span> ).<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">6.2 Modulus<\/h5>\n\n\n\n<p>The <em>modulus<\/em> of <span class=\"katex math inline\">z<\/span> donates <span class=\"katex math inline\">|z|<\/span> is defined as,<br>$$<br>|z|=r=\\sqrt{x^2+y^2}<br>$$<br><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-thumbnail is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/fanyuzhao.com\/wp-content\/uploads\/2022\/09\/Screenshot-2022-09-22-at-12.39.55-150x150.png\" alt=\"\" class=\"wp-image-4075\" width=\"150\" height=\"150\"\/><figcaption>Modulus<\/figcaption><\/figure><\/div>\n\n\n<h5 class=\"wp-block-heading\">6.3 Complex Conjugate<\/h5>\n\n\n\n<p>$$<br>\\bar{z}=x-iy<br>$$<\/p>\n\n\n\n<p>For example, if <span class=\"katex math inline\">z=x+iy<\/span>, then <span class=\"katex math inline\">\\bar{z}=x-iy<\/span>.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">6.4 Polar Form<\/h5>\n\n\n\n<p>$$<br>z=r(cos\\ \\theta+i\\ sin \\ \\theta)=re^{i\\theta}<br>$$<\/p>\n\n\n\n<p>by <strong><em>Euler&#8217;s Identity<\/em><\/strong>,<br>$$<br>e^{i\\theta}=cos\\ \\theta+i\\ \\sin\\ \\theta \\<br>e^{-i\\theta}=cos\\ \\theta-i\\ \\sin\\ \\theta \\<br>|z|=r,\\quad arg\\ z=\\theta<br>$$<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">6.5 Euler&#8217;s Formula<\/h5>\n\n\n\n<p>The <em>Euler&#8217;s Identity<\/em> is shown as, by applying <em>Taylor&#8217;s Expansion<\/em> and by <span class=\"katex math inline\">i^2=-1<\/span>,<br>$$<br>e^{i\\theta}=1+i\\theta+\\frac{(i\\theta)^2}{2!}+\u2026+\\frac{(i\\theta)^n}{n!}\\<br>=(1-\\frac{\\theta^2}{2}+\\frac{\\theta^4}{4!}+\u2026)+i\\times(\\theta-\\frac{theta^3}{3!}+\\frac{\\theta^5}{5!}+\u2026) $$<br>$$=cos\\ \\theta +i\\ \\sin\\ \\theta$$<br>Plug \\(\\theta = \\pi\\) into Euler&#8217;s Formula,<br>$$<br>e^{i\\pi}=cos\\ \\pi+ sin\\ \\pi\\<br>e^{i\\pi}=-1<br>$$<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">7.Higher Derivatives<\/h4>\n\n\n\n<p>$$<br>\\frac{\\partial^2 f}{\\partial x^2}=f_{xx}=\\frac{\\partial}{\\partial x}(\\frac{\\partial f}{\\partial x}) \\ \\<br>\\frac{\\partial^2 f}{\\partial x \\partial y}=f_{xy}=\\frac{\\partial}{\\partial y}(\\frac{\\partial f}{\\partial x}), $$<br>\\(f_{xy}=f_{yx}\\) Sequence no matters if 2nd derivatives exist and continuous.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Reference<\/h3>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-bb5a3d01-afed-45d8-b4de-a7bdfa4be417\" href=\"https:\/\/fanyuzhao.com\/wp-content\/uploads\/2022\/09\/Pre-Calculus.html\">HTML &#8211; Pre-Calculus<\/a><a href=\"https:\/\/fanyuzhao.com\/wp-content\/uploads\/2022\/09\/Pre-Calculus.html\" class=\"wp-block-file__button\" download aria-describedby=\"wp-block-file--media-bb5a3d01-afed-45d8-b4de-a7bdfa4be417\">Download<\/a><\/div>\n\n\n\n<div data-wp-interactive=\"\" class=\"wp-block-file\"><object data-wp-bind--hidden=\"!selectors.core.file.hasPdfPreview\" hidden class=\"wp-block-file__embed\" data=\"https:\/\/fanyuzhao.com\/wp-content\/uploads\/2022\/09\/CQF_2022_Calculus_Primer_Blank.pdf\" type=\"application\/pdf\" style=\"width:100%;height:600px\" aria-label=\"Embed of Embed of CQF_2022_Calculus_Primer_Blank..\"><\/object><a id=\"wp-block-file--media-118f18a3-e5f9-471a-a33b-64f7a12f0893\" href=\"https:\/\/fanyuzhao.com\/wp-content\/uploads\/2022\/09\/CQF_2022_Calculus_Primer_Blank.pdf\">CQF_2022_Calculus_Primer_Blank<\/a><a href=\"https:\/\/fanyuzhao.com\/wp-content\/uploads\/2022\/09\/CQF_2022_Calculus_Primer_Blank.pdf\" class=\"wp-block-file__button\" download aria-describedby=\"wp-block-file--media-118f18a3-e5f9-471a-a33b-64f7a12f0893\">Download<\/a><\/div>\n\n\n\n<div data-wp-interactive=\"\" class=\"wp-block-file\"><object data-wp-bind--hidden=\"!selectors.core.file.hasPdfPreview\" hidden class=\"wp-block-file__embed\" data=\"https:\/\/fanyuzhao.com\/wp-content\/uploads\/2022\/09\/Calculus_Notes.pdf\" type=\"application\/pdf\" style=\"width:100%;height:600px\" aria-label=\"Embed of Embed of Cam_Calculus_Notes..\"><\/object><a id=\"wp-block-file--media-c24a42b4-12e8-47b6-8a17-9f57f85199ad\" href=\"https:\/\/fanyuzhao.com\/wp-content\/uploads\/2022\/09\/Calculus_Notes.pdf\">Cam_Calculus_Notes<\/a><a href=\"https:\/\/fanyuzhao.com\/wp-content\/uploads\/2022\/09\/Calculus_Notes.pdf\" class=\"wp-block-file__button\" download aria-describedby=\"wp-block-file--media-c24a42b4-12e8-47b6-8a17-9f57f85199ad\">Download<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>For the preparation of Quants 1. Functions Definition 1.1 Each x has only one y A function denoted f (x) of a single variable x is a rule that assigns each element of a set X ( written x \\in X ) to exactly one element y of a set Y ( y\\in Y) :$$y=f(x)\\quad &hellip; <a href=\"https:\/\/fanyuzhao.com\/?p=4068\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Calculus<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,18],"tags":[],"_links":{"self":[{"href":"https:\/\/fanyuzhao.com\/index.php?rest_route=\/wp\/v2\/posts\/4068"}],"collection":[{"href":"https:\/\/fanyuzhao.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fanyuzhao.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fanyuzhao.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fanyuzhao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4068"}],"version-history":[{"count":22,"href":"https:\/\/fanyuzhao.com\/index.php?rest_route=\/wp\/v2\/posts\/4068\/revisions"}],"predecessor-version":[{"id":4215,"href":"https:\/\/fanyuzhao.com\/index.php?rest_route=\/wp\/v2\/posts\/4068\/revisions\/4215"}],"wp:attachment":[{"href":"https:\/\/fanyuzhao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fanyuzhao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fanyuzhao.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}