# Integral exam practice

Source: https://cca.twango.dev/AP-Calculus-AB/exams/practice/Practice-Integrals

# Integral exam practice

Reviewed against all four original pages. [[../../assets/Practice-Integrals.pdf|Printable worksheet and original work]]. Related: [[Practice-FTC|Fundamental theorem practice]]. Assignment questions and original student work are separated; substantive corrections are labeled.

## Questions

1. $\displaystyle\int_1^4\frac{x^2-x+1}{\sqrt x}\,dx$.
2. $\displaystyle\int\frac{\cos(\ln x)}x\,dx$.
3. $\displaystyle\int\sin x\cos(\cos x)\,dx$.
4. $\displaystyle\int(1-x)\sqrt{2x-x^2}\,dx$.
5. $\displaystyle\int_1^2\frac1{2-3x}\,dx$.
6. $\displaystyle\int\frac{e^x}{(e^x+1)\ln(e^x+1)}\,dx$.
7. $\displaystyle\int_0^{\pi/4}(1+\tan t)^3\sec^2t\,dt$.
8. $\displaystyle\int_1^e\frac{\ln x}x\,dx$.
9. $\displaystyle\int_1^4\frac1{x^2}\sqrt{1+\frac1x}\,dx$.
10. $\displaystyle\int_0^4\frac1{(x-2)^3}\,dx$.
11. $\displaystyle\int_0^4x^2(x^3+8)^2\,dx$.
12. $\displaystyle\int_{-3}^2x\sqrt{9-x^2}\,dx$.
13. $\displaystyle\int_0^{\pi/4}\sin4t\,dt$.
14. $\displaystyle\int\cot8x\,dx$.
15. Show $\tfrac13<\ln1.5<\tfrac5{12}$ by comparing areas.
16. Find the derivative of $\displaystyle y=\int_0^{2x^2}e^{t^2}\,dt$.

## Original work and reviewed corrections

### 1. Rewrite with fractional powers

$$
\int_1^4(x^{3/2}-x^{1/2}+x^{-1/2})\,dx
=\left[\frac25x^{5/2}-\frac23x^{3/2}+2\sqrt x\right]_1^4
=\frac{146}{15}.
$$

### 2. Logarithm substitution

Let $u=\ln x$, so $du=dx/x$. Original answer:

$$
\int\cos u\,du=\sin u+C=\sin(\ln x)+C.
$$

### 3. Cosine substitution

The student sets $u=\cos x$, $du=-\sin x\,dx$, then records the answer $\sin(\cos x)+C$.

> [!correction] Lost minus sign
> The substitution gives $-\int\cos u\,du$, so the corrected answer is $-\sin(\cos x)+C$. Differentiation verifies the sign.

### 4. Substitution into a square root

$u=2x-x^2$, $du=2(1-x)\,dx$. The original work becomes $\tfrac12\int\sqrt u\,du$, with answer

$$
\frac13(2x-x^2)^{3/2}+C.
$$

### 5. Logarithmic antiderivative

$u=2-3x$, $du=-3\,dx$. The final work uses

$$
\left[-\frac13\ln|2-3x|\right]_1^2=-\frac{2\ln2}3.
$$

A preceding scratch line drops the minus sign; the final answer restores it.

### 6. Two substitutions

First $u=e^x+1$, $du=e^x\,dx$; then $w=\ln u$, $dw=du/u$. The original answer is

$$
\int\frac{dw}w=\ln w+C=\ln[\ln(e^x+1)]+C.
$$

Here $\ln(e^x+1)>0$, so the final logarithm is defined for every real $x$.

### 7. Tangent substitution

$u=1+\tan t$, $du=\sec^2t\,dt$. The student's antiderivative is $u^4/4$ and evaluation is

$$
\left[\frac14(1+\tan t)^4\right]_0^{\pi/4}=\frac{15}4.
$$

### 8. Logarithm substitution with bounds

$u=\ln x$, $du=dx/x$. Original answer:

$$
\left[\frac12(\ln x)^2\right]_1^e=\frac12.
$$

> [!note] Bounds must match the variable
> The scratch integral writes the original $x$-bounds 1 and $e$ next to $\int u\,du$. In $u$, the bounds are 0 and 1. Returning to $x$ for evaluation gives the recorded correct answer.

### 9. Reciprocal substitution

$u=1+1/x$, $du=-dx/x^2$. The original final answer is

$$
\frac{4\sqrt2}3-\frac{5\sqrt5}{12}.
$$

The corresponding antiderivative is $-\tfrac23(1+1/x)^{3/2}$; the endpoints in $u$ are 2 and $5/4$. The student's scratch retains the old bounds beside a $u$ integral.

### 10. Interior singularity

Original answer: “DNE. $f(x)$ must be cont. within interval.”

> [!note] Improper-integral justification
> Splitting at $x=2$, the left integral diverges to $-\infty$ and the right to $+\infty$. They cannot cancel to define an ordinary improper integral. A singularity requires examining the one-sided integrals; continuity everywhere is sufficient for ordinary FTC but is not necessary for every convergent improper integral.

### 11. Cubic substitution

$u=x^3+8$, $du=3x^2\,dx$. Original work evaluates

$$
\left[\frac19(x^3+8)^3\right]_0^4=\frac{372736}9.
$$

The scratch integral uses the old bounds next to $u^2/3$; the final evaluation correctly returns to $x$.

### 12. Semicircle expression

$u=9-x^2$, $du=-2x\,dx$. The original antiderivative and answer are

$$
\left[-\frac13(9-x^2)^{3/2}\right]_{-3}^2=-\frac{5^{3/2}}3.
$$

### 13. Sine integral

$$
\left[-\frac14\cos4t\right]_0^{\pi/4}=\frac12.
$$

### 14. Cotangent integral

The student sets $u=\sin8x$ and records $(1/8)\ln(\sin8x)+C$.

> [!correction] Absolute value
> On any interval where $\sin8x\ne0$, the antiderivative is $\tfrac18\ln|\sin8x|+C$. The absolute value includes intervals on which the sine is negative. The substitution uses $du=8\cos8x\,dx$.

### 15. Comparing areas

The original sketch compares the decreasing curve $1/x$ with a lower rectangle and an upper trapezoid on $[1,3/2]$. The comparison is regenerated below:

![[../../assets/diagrams/ab-exam-2-log-area-bounds.svg|Rectangle and trapezoid bounds for the logarithm integral]]

Generated from $y=1/x$ on $[1,3/2]$. The two panels isolate the lower rectangle and upper secant trapezoid, with areas $1/3$ and $5/12$.

The written inequality is

$$
\frac13<\ln1.5<\frac12\left(\frac12+\frac13\right)=\frac5{12}.
$$

The lower rectangle has width $1/2$ and height $2/3$, so area $1/3$. The upper trapezoid has endpoint heights 1 and $2/3$, so area $(1/2)(1+2/3)/2=5/12$. The convex curve lies below its secant, making the upper bound strict.

### 16. FTC and the chain rule

The original derivative is

$$
y'=e^{(2x^2)^2}(4x)=4xe^{4x^4}.
$$
