{ "hash": "f40d25adf1250182379cf1569145cb47", "result": { "markdown": "# Improper Integrals\n\n\n\nThis section uses these add-on packages:\n\n``` {.julia .cell-code}\nusing CalculusWithJulia\nusing Plots\nusing SymPy\nusing QuadGK\n```\n\n\n\n\n---\n\n\nA function $f(x)$ is Riemann integrable over an interval $[a,b]$ if some limit involving Riemann sums exists. This limit will fail to exist if $f(x) = \\infty$ in $[a,b]$. As well, the Riemann sum idea is undefined if either $a$ or $b$ (or both) are infinite, so the limit won't exist in this case.\n\n\nTo define integrals with either functions having singularities or infinite domains, the idea of an improper integral is introduced with definitions to handle the two cases above.\n\n::: {.cell cache='true' hold='true' execution_count=4}\n\n::: {.cell-output .cell-output-display execution_count=5}\n```{=html}\n
Area under \\(1/\\sqrt{x}\\) over \\([a,b]\\) increases as \\(a\\) gets closer to \\(0\\). Will it grow unbounded or have a limit?
\n