Code

Due Friday September 5 at 5PM
This is ostensibly calculus review, but each problem is a piece of probability in disguise. We will illuminate these connections throughout the semester, and I will refer to Problem Set 0 often. Stay tuned!
Recommend some music for us to listen to while we grade this.
Explain why this is horrific notation:
\[ \int_0^x f(x)\,\textrm{d} x. \]
How should it be fixed?
Simplify this:
\[ \ln\left(e^{a_1}e^{a_2}e^{a_3}\cdots e^{a_n}\right). \]
Assume \(\lambda>0\) is a constant and compute
\[ \sum\limits_{n=0}^\infty n \frac{\lambda^n}{n!}e^{-\lambda} . \]
Here is a very silly function:
\[ h(x) = \exp\left(-\frac{1}{2}\frac{(x-\mu)^2}{\sigma^2}\right) ,\quad -\infty<x<\infty . \]
Treat \(-\infty<\mu<\infty\) and \(\sigma>0\) as constants and compute the value(s) of \(x\) at which \(h\) has inflection points.
Here is an example of what \(h\) might look like in the special case where \(\mu = 1\) and \(\sigma=2\):

Before you start doing any math, can you use the picture to guess what the answer will be?
Here is another inordinately silly function:
\[ \Gamma(x)=\int_0^\infty y^{x-1}e^{-y}\,\textrm{d} y,\quad x>0. \]
Prove that \(\Gamma(x+1)=x\Gamma(x)\).
Start on the left-hand side by writing out \(\Gamma(x+1)\) and evaluating the integral by parts.
Let \(f\) be any function with the following properties:
Assume \(t\) is a constant and compute
\[ \lim_{x\to\infty} xf\left(\frac{t}{\sqrt{x}}\right) . \]
A full credit solution must clearly explain how and why continuity is being used along the way.
Consider this integral:
\[ \int_2^\infty \frac{1}{x(\ln x)^p}\textrm{d} x . \]
R to create a single plot with many lines, each graphing the integrand for a different value of \(p\). Consider \(p\) equal to -2, -1.5, -1, 0, 1, and 5, and make the \(x\)-axis of your plot run from 2 to 15.When taking the limit or evaluating the integral, can you use the same technique for all values of \(p\), or do you need a different technique depending on what \(p\) is?
You are free to compose your solutions for this problem set however you wish (scan or photograph written work, handwriting capture on a tablet device, LaTeX, Quarto, whatever) as long as the final product is a single PDF file. You must upload this to Gradescope and mark the pages associated with each problem.
Do not forget to include the following:
This means that \(f\) and its first two derivatives are all continuous functions at and around zero.↩︎