---
title: Problem set 1
heading: "Problem set 1: integration techniques"
eyebrow: A6 · Problem set 1
type: problems
---

::: hook
These problems use lessons 1 to 5: integration by parts, trigonometric integrals, trigonometric substitution and partial fractions. Part of each problem is choosing the technique, so work on paper first. Each problem has your own numbers.
:::

::: pool
pick: 12

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

## Integrate by parts.

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

### $\displaystyle\int_0^{\given{b}}x\,e^{\given{k}x}\,dx$

::: misses
- [b*exp(k*b)/k] Subtract the remaining integral, $\frac{1}{k}\int e^{kx}dx$.
- [any] $u = x$, $dv = e^{kx}dx$.
:::
:::

::: part
answer: c^2*ln(c)/2 - c^2/4 + 1/4
tolerance: 0.5%

### $\displaystyle\int_1^{\given{c}}x\ln x\,dx$

::: misses
- [any] $u = \ln x$, $dv = x\,dx$.
:::
:::
:::

::: check
kind: parts
given: I0 = 2 | 5; tau = 1 | 4

## A current pulse is $i(t) = \given{I0}\left(\frac{t}{\tau}\right)^2e^{-t/\tau}$ mA with $\tau$ = {tau} ms.

::: part
answer: 2*I0*tau
unit: µC

### How much charge does it deliver in all, in µC?

::: misses
- [I0*tau] $\int_0^\infty u^2e^{-u}du = 2$, by parts twice.
- [any] Substitute $u = t/\tau$, then use $\int_0^\infty u^2e^{-u}du = 2$.
:::
:::

::: part
answer: 2*tau
unit: ms

### At what time, in ms, is the current largest?

::: misses
- [tau] Differentiate $u^2e^{-u}$: zero at $u = 2$.
- [any] Set the derivative of $u^2e^{-u}$ to zero.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 2; b = 3 | 5

## A damped oscillation $e^{-\given{a}t}\cos(\given{b}t)$ starts at $t = 0$.

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

### Evaluate $\displaystyle\int_0^\infty e^{-\given{a}t}\cos(\given{b}t)\,dt$.

::: misses
- [b/(a^2 + b^2)] That's the sine version.
- [1/a] That ignores the oscillation.
- [any] Parts twice, then solve for the integral.
:::
:::

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

### Evaluate $\displaystyle\int_0^\infty e^{-\given{a}t}\sin(\given{b}t)\,dt$.

::: misses
- [any] The same boomerang, with the sine.
:::
:::
:::

::: check
kind: parts
given: A = 2 | 4; R = 10 | 100

## A current $\given{A}\sin(\omega t) + 1\sin(3\omega t)$ A flows through {R} Ω.

::: part
answer: (A^2 + 1)*R/2
unit: W

### What is the average power?

::: misses
- [(A + 1)^2*R/2] The cross term averages to zero: the two frequencies are orthogonal.
- [(A^2 + 1)*R] Each $\sin^2$ averages to a half.
- [any] Square, then average each term over a cycle.
:::
:::

::: part
answer: sqrt((A^2 + 1)/2)
unit: A

### What is the RMS current?

::: misses
- [any] $\sqrt{\overline{i^2}}$, with the cross term gone.
:::
:::
:::

::: check
kind: parts
given: k = 2 | 3; A = 2 | 5

## Evaluate these trigonometric integrals.

::: part
answer: A*pi
tolerance: 0.5%

### $\displaystyle\int_0^{2\pi}\given{A}\sin^2(\given{k}x)\,dx$

::: misses
- [2*A*pi] $\sin^2$ averages to a half.
- [any] $\sin^2 u = \frac{1}{2}(1 - \cos 2u)$.
:::
:::

::: part
answer: 4*A/3
tolerance: 0.5%

### $\displaystyle\int_0^{\pi}\given{A}\sin^3 x\,dx$

::: misses
- [2*A] That's $\int_0^\pi A\sin x\,dx$. Use $\sin^3 = (1 - \cos^2)\sin$.
- [any] Substitute $u = \cos x$ after splitting off one sine.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 2; L = 2 | 5

## A charged line runs from $x = -\given{L}$ to $x = \given{L}$, and you're at distance {a} from its middle.

::: part
answer: 2*L/(a*sqrt(a^2 + L^2))
tolerance: 0.5%

### Evaluate $\displaystyle\int_{-\given{L}}^{\given{L}}\frac{\given{a}\,dx}{(\given{a}^2 + x^2)^{3/2}}$.

::: misses
- [2/a] That's the infinite line.
- [any] Substitute $x = a\tan\theta$.
:::
:::

::: part
answer: 100*(1 - L/sqrt(a^2 + L^2))
tolerance: 0.5%

### By what percent does it fall short of the infinite line's value, $2/a$?

::: misses
- [any] Compare $\frac{2L}{a\sqrt{a^2 + L^2}}$ with $\frac{2}{a}$.
:::
:::
:::

::: check
kind: parts
given: r = 2 | 5; h = 1 | 3

## Use $x = r\sin\theta$.

::: part
answer: pi*r^2/2
tolerance: 0.5%

### $\displaystyle\int_{-\given{r}}^{\given{r}}\sqrt{\given{r}^2 - x^2}\,dx$

::: misses
- [pi*r^2] That's the whole circle.
- [any] It's a half-disk.
:::
:::

::: part
answer: asin(h/(2*r))
tolerance: 0.5%

### $\displaystyle\int_0^{\given{h}/2}\frac{dx}{\sqrt{\given{r}^2 - x^2}}$

::: misses
- [asin(h/(2*r))/r] There's no $1/r$ in this one.
- [any] It becomes $\int d\theta$.
:::
:::
:::

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

## Use the arctangent integral.

::: part
answer: atan(b/a)/a
tolerance: 0.5%

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

::: misses
- [atan(b/a)] Divide by $a$.
- [any] $\frac{1}{a}\tan^{-1}\frac{x}{a}$.
:::
:::

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

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

::: misses
- [pi/a] From 0, not from $-\infty$.
- [any] The arctangent goes to $\pi/2$.
:::
:::
:::

::: check
kind: parts
given: p = 2 | 4; q = 9 | 11

## Split $\dfrac{\given{p}s + \given{q}}{(s + 2)(s + 5)} = \dfrac{A}{s + 2} + \dfrac{B}{s + 5}$.

::: part
answer: (q - 2*p)/3

### What is $A$?

::: misses
- [any] Cover up $(s + 2)$ and set $s = -2$.
:::
:::

::: part
answer: (q - 5*p)/(-3)

### What is $B$?

::: misses
- [any] Cover up $(s + 5)$ and set $s = -5$.
:::
:::
:::

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

## Let $f(x) = \dfrac{1}{(x + \given{a})(x + \given{b})}$.

::: part
answer: ln(b/a)/(b - a)
tolerance: 0.5%

### Evaluate $\displaystyle\int_0^\infty f(x)\,dx$.

::: misses
- [any] $\frac{1}{b - a}\ln\frac{x + a}{x + b}$; at ∞ the log is 0.
:::
:::

::: part
answer: ln(b*(1 + a)/(a*(1 + b)))/(b - a)
tolerance: 0.5%

### Evaluate $\displaystyle\int_0^1 f(x)\,dx$.

::: misses
- [any] The same antiderivative, from 0 to 1.
:::
:::
:::

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

## Let $g(x) = \dfrac{x + \given{c}}{(x + 1)^2}$.

::: part
answer: c - 1

### In $g = \frac{A}{x + 1} + \frac{B}{(x + 1)^2}$, what is $B$?

::: misses
- [any] Set $x = -1$ in $x + c = A(x + 1) + B$.
:::
:::

::: part
answer: ln(2) + (c - 1)/2
tolerance: 0.5%

### Evaluate $\displaystyle\int_0^1 g(x)\,dx$.

::: misses
- [any] $\ln(x + 1) - \frac{c - 1}{x + 1}$ from 0 to 1.
:::
:::
:::

::: check
kind: parts
given: k = 1 | 2 | 3

## Complete the square.

::: part
answer: atan(1 + k) - atan(k)
tolerance: 0.5%

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

::: misses
- [any] The denominator is $(x + k)^2 + 1$.
:::
:::

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

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

::: misses
- [any] The arctangent tends to $\pi/2$.
:::
:::
:::

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

## Choose a method and evaluate.

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

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

::: misses
- [any] Substitute $u = x^2 + a$.
:::
:::

::: part
answer: atan(b/sqrt(a))/sqrt(a)
tolerance: 0.5%

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

::: misses
- [any] An arctangent: $\frac{1}{\sqrt a}\tan^{-1}\frac{x}{\sqrt a}$.
:::
:::
:::

::: check
kind: parts
given: n = 3 | 5 | 7 | 9 | 11

## Odd powers of sine.

::: part
answer: (2^((n - 1)/2)*((n - 1)/2)!)^2/n!
tolerance: 0.5%

### $\displaystyle\int_0^{\pi/2}\sin^{\given{n}}x\,dx$

::: misses
- [any] Save one sine; substitute $u = \cos x$.
:::
:::

::: part
answer: 2*(2^((n - 1)/2)*((n - 1)/2)!)^2/n!
tolerance: 0.5%

### $\displaystyle\int_0^{\pi}\sin^{\given{n}}x\,dx$

::: misses
- [any] Twice the half-range, by symmetry.
:::
:::
:::

::: check
kind: parts
given: k = 1 | 2 | 3 | 4 | 6 | 9

## Substitute to remove a root.

::: part
answer: 2*((sqrt(k) - 1)*exp(sqrt(k)) + 1)
tolerance: 0.5%

### $\displaystyle\int_0^{\given{k}}e^{\sqrt x}\,dx$

::: misses
- [any] $u = \sqrt x$, then parts.
:::
:::
:::
:::
