---
title: Problem set 2
heading: "Problem set 2: improper integrals and the Laplace integral"
eyebrow: A6 · Problem set 2
type: problems
---

::: hook
These problems use lessons 7 to 9: improper integrals, the Laplace integral and computing integrals to infinity. Decide convergence first, then evaluate. For Laplace transforms, check the condition on $s$ that makes each integral finite.
:::

::: pool
pick: 12

::: check
kind: parts
given: p = 1.5 | 2 | 3; a = 2 | 4

## Decide and evaluate.

::: part
answer: a^(1 - p)/(p - 1)
tolerance: 0.5%

### $\displaystyle\int_{\given{a}}^\infty x^{-\given{p}}\,dx$

::: misses
- [1/(p - 1)] That's from 1. Start at {a}.
- [any] $\left[\frac{x^{1-p}}{1 - p}\right]_a^\infty$.
:::
:::

::: part
answer: a^(1 - 1/p)/(1 - 1/p)
tolerance: 0.5%

### $\displaystyle\int_0^{\given{a}}x^{-1/\given{p}}\,dx$

::: misses
- [any] The power $-1/p$ is above $-1$, so the integral near 0 is finite.
:::
:::
:::

::: check
kind: parts
given: V0 = 5 | 10; R = 50 | 100; tau = 1 | 5

## A voltage $\given{V0}e^{-t/\tau}$ V, with $\tau$ = {tau} ms, appears across {R} Ω from $t = 0$.

::: part
answer: V0^2*tau*1e-3/(2*R)
unit: J
tolerance: 0.5%

### What total energy does the resistor absorb?

::: misses
- [V0^2*tau*1e-3/R] The square decays twice as fast: $e^{-2t/\tau}$.
- [any] $\int_0^\infty\frac{V_0^2e^{-2t/\tau}}{R}dt$.
:::
:::

::: part
answer: tau*ln(2)/2
unit: ms
tolerance: 0.5%

### By when has half of it been absorbed?

::: misses
- [tau*ln(2)] The energy goes as $e^{-2t/\tau}$: half is gone at $\frac{\tau}{2}\ln 2$.
- [any] Solve $1 - e^{-2t/\tau} = \tfrac12$.
:::
:::
:::

::: check
kind: parts
given: a = -2 | 1 | 3; s = 5 | 8

## Laplace transforms at $s$ = {s}.

::: part
answer: 1/(s - a)
tolerance: 0.5%

### $\mathcal L\{e^{\given{a}t}\}$

::: misses
- [1/(s + a)] It's $\frac{1}{s - a}$.
- [any] $\int_0^\infty e^{-(s - a)t}dt$.
:::
:::

::: part
answer: 1/(s - a)^2
tolerance: 0.5%

### $\mathcal L\{te^{\given{a}t}\}$

::: misses
- [any] Shift $\frac{1}{s^2}$ by $a$: $\frac{1}{(s - a)^2}$.
:::
:::
:::

::: check
kind: parts
given: w = 2 | 5; s = 1 | 3

## Laplace transforms of sinusoids at $s$ = {s}.

::: part
answer: w/(s^2 + w^2)
tolerance: 0.5%

### $\mathcal L\{\sin \given{w}t\}$

::: misses
- [s/(s^2 + w^2)] That's the cosine.
- [any] $\frac{\omega}{s^2 + \omega^2}$.
:::
:::

::: part
answer: s/(s^2 + w^2)
tolerance: 0.5%

### $\mathcal L\{\cos \given{w}t\}$

::: misses
- [any] $\frac{s}{s^2 + \omega^2}$.
:::
:::
:::

::: check
kind: parts
given: F = 0.5 | 2; f0 = 1 | 3; s = 2 | 4; d = 1 | 2

## A function has $F(s)$ = {F} at $s$ = {s}, with $f(0)$ = {f0} and $f'(0)$ = {d}.

::: part
answer: s*F - f0
tolerance: 0.5%

### What is the transform of $f'$ at $s$?

::: misses
- [s*F] Subtract $f(0)$.
- [any] $sF(s) - f(0)$.
:::
:::

::: part
answer: s^2*F - s*f0 - d
tolerance: 0.5%

### What is the transform of $f''$?

::: misses
- [s^2*F - f0] Apply the rule twice: $s(sF - f(0)) - f'(0)$.
- [any] $s^2F - sf(0) - f'(0)$.
:::
:::
:::

::: check
kind: parts
given: R = 1 | 10; C = 1 | 10; V = 5 | 12; t = 3 | 20

## An RC circuit ($R$ = {R} kΩ, $C$ = {C} µF) charges from 0 toward {V} V. By Laplace, $V(s) = \frac{V}{s(1 + \tau s)}$.

::: part
answer: V*(1 - exp(-t/(R*C)))
unit: V
tolerance: 0.5%

### What is the voltage at $t$ = {t} ms?

::: misses
- [any] $\frac{1}{s(1 + \tau s)} = \frac1s - \frac{1}{s + 1/\tau}$.
:::
:::

::: part
answer: V/(R*C)
unit: V/ms
tolerance: 0.5%

### What is its initial slope, in V/ms? (It's $\lim_{s\to\infty}s\cdot sV(s)$, or just $V/\tau$.)

::: misses
- [any] $V/\tau$ with $\tau = RC$ in ms.
:::
:::
:::

::: check
kind: parts
given: k = 2..9 int

## Decide whether each converges, and evaluate.

::: part
answer: 1/k^2
tolerance: 0.5%

### $\displaystyle\int_0^\infty te^{-\given{k}t}\,dt$

::: misses
- [1/k] With the factor $t$, it's $1/k^2$.
- [any] By parts, or $\mathcal L\{t\}$ at $s = k$.
:::
:::

::: part
answer: 2/k^3
tolerance: 0.5%

### $\displaystyle\int_0^\infty t^2e^{-\given{k}t}\,dt$

::: misses
- [any] $\frac{n!}{k^{n+1}}$ with $n = 2$.
:::
:::
:::

::: check
kind: parts
given: m = 2 | 10 | 50

## A component's lifetime has density $\frac{1}{\given{m}}e^{-t/\given{m}}$ (years).

::: part
answer: m
unit: years
tolerance: 0.5%

### What is its mean lifetime?

::: misses
- [any] $\int_0^\infty t\frac1me^{-t/m}dt$.
:::
:::

::: part
answer: exp(-1)
tolerance: 0.5%

### What fraction survive past the mean?

::: misses
- [0.5] The median is less than the mean for an exponential; only $1/e$ outlast the mean.
- [any] $\int_m^\infty\frac1me^{-t/m}dt$.
:::
:::
:::

::: check
kind: parts
given: L = 10 | 100 | 1000

## How much of each integral lies beyond $x$ = {L}?

::: part
answer: pi/2 - atan(L)
tolerance: 0.5%

### $\displaystyle\int_0^\infty\frac{dx}{1 + x^2}$

::: misses
- [any] $\frac\pi2 - \tan^{-1}L$.
:::
:::

::: part
answer: exp(-L/10)
tolerance: 0.5%

### $\displaystyle\int_0^\infty\frac{1}{10}e^{-x/10}\,dx$

::: misses
- [any] $e^{-L/10}$.
:::
:::
:::

::: check
kind: parts
given: s = 1 | 2 | 5; tol = 0.000001 | 0.000000001

## A numerical Laplace transform at $s$ = {s} stops where $e^{-st}$ falls below {tol}.

::: part
answer: ln(1/tol)/s
tolerance: 0.5%

### At what $t$ does it stop?

::: misses
- [log(1/tol)/s] Use the natural log.
- [any] Solve $e^{-sT}$ = tol.
:::
:::

::: part
answer: tol/s
tolerance: 0.5%

### For $f = 1$, what tail does it leave out?

::: misses
- [any] $\int_T^\infty e^{-st}dt = e^{-sT}/s$.
:::
:::
:::

::: check
kind: parts
given: p = 0.5 | 0.8; q = 1.2 | 2

## Evaluate these: each converges.

::: part
answer: 1/(1 - p)
tolerance: 0.5%

### $\displaystyle\int_0^1 x^{-\given{p}}\,dx$

::: misses
- [any] Converges near 0 when the power is above $-1$: $\frac{1}{1 - p}$.
:::
:::

::: part
answer: 1/(q - 1)
tolerance: 0.5%

### $\displaystyle\int_1^\infty x^{-\given{q}}\,dx$

::: misses
- [any] Converges at infinity when the power is below $-1$.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 2; w = 3 | 4

## Evaluate a decaying oscillation's integrals.

::: part
answer: w/(a^2 + w^2)
tolerance: 0.5%

### $\displaystyle\int_0^\infty e^{-\given{a}t}\sin \given{w}t\,dt$

::: misses
- [a/(a^2 + w^2)] That's the cosine version.
- [any] $\mathcal L\{\sin\omega t\}$ at $s = a$.
:::
:::

::: part
answer: a/(a^2 + w^2)
tolerance: 0.5%

### $\displaystyle\int_0^\infty e^{-\given{a}t}\cos \given{w}t\,dt$

::: misses
- [any] $\mathcal L\{\cos\omega t\}$ at $s = a$.
:::
:::
:::

::: check
kind: parts
given: N = 10 | 50; p = 2 | 3

## Bracket the tail of $\sum\frac{1}{n^{\given{p}}}$ after {N} terms with integrals.

::: part
answer: (N + 1)^(1 - p)/(p - 1)
tolerance: 0.5%

### Lower bound?

::: misses
- [any] $\int_{N+1}^\infty x^{-p}dx$.
:::
:::

::: part
answer: N^(1 - p)/(p - 1)
tolerance: 0.5%

### Upper bound?

::: misses
- [any] $\int_N^\infty x^{-p}dx$.
:::
:::
:::

::: check
kind: parts
given: V0 = 10 | 20; R = 100 | 1000; a = 1000 | 2000; f = 500 | 1000

## A pulse $\given{V0}e^{-\given{a}t/2}\sin(2\pi \cdot \given{f}\,t)$ V appears across {R} Ω.

::: part
answer: V0^2/(2*R)*(1/a - a/(a^2 + 4*(2*pi*f)^2))
unit: J
tolerance: 0.5%

### What energy does it deliver? (Use $\sin^2 = \tfrac12(1 - \cos 2\omega t)$.)

::: misses
- [V0^2/(2*R*a)] Include the cosine term's transform, $\frac{a}{a^2 + 4\omega^2}$.
- [any] $\frac{V_0^2}{2R}\left(\frac1a - \frac{a}{a^2 + 4\omega^2}\right)$.
:::
:::
:::

::: check
kind: parts
given: k = 2 | 3; b = 2 | 3

## Evaluate these improper integrals.

::: part
answer: 1/(k - 1)*b^(1 - k)
tolerance: 0.5%

### $\displaystyle\int_{\given{b}}^\infty\frac{dx}{x^{\given{k}}}$

::: misses
- [any] $\frac{b^{1-k}}{k - 1}$.
:::
:::

::: part
answer: pi/(2*b)
tolerance: 0.5%

### $\displaystyle\int_0^\infty\frac{dx}{x^2 + \given{b}^2}$

::: misses
- [pi/2] Substituting $x = bu$ brings out $\frac1b$.
- [any] $\frac1b\tan^{-1}\frac xb$ from 0 to $\infty$.
:::
:::
:::
:::
