# Homework 12 — Riemann sums and definite integrals

Source: https://cca.twango.dev/AP-Calculus-AB/homework/HW_12

# Homework 12 — Riemann sums and definite integrals

James Ding's handwritten sections 4.9, 5.1, 5.2, and 5.3 practice. [Original three-page homework](../assets/HW_12.pdf). The source contains calculations and sketches, with several external prompts missing.

## Page 1 — section 4.9, 62

$$a(t)=3\cos t-2\sin t,$$

$$v(t)=3\sin t+2\cos t+C,\qquad s(t)=-3\cos t+2\sin t+Ct+D.$$

The work uses $v(0)=4$, $s(0)=0$, yielding $C=2$, $D=3$:

$$s(t)=-3\cos t+2\sin t+2t+3.$$

## Page 1 — section 5.1, 3

The decreasing-curve sketches and reciprocal heights correspond to $1/x$ on $[1,2]$, with four rectangles of width $1/4$.

### (a) — right endpoints

$$R_4=\frac14\left(\frac45+\frac23+\frac47+\frac12\right)=\frac{533}{840}\approx0.6345\ \mathrm{units}^2.$$

Original label: **underestimate**.

### (b) — left endpoints

$$L_4=\frac14\left(1+\frac45+\frac23+\frac47\right)=\frac{319}{420}\approx0.7595\ \mathrm{units}^2.$$

Original label: **overestimate**.

### (c) — midpoints

$$M_4=\frac14\left(\frac89+\frac8{11}+\frac8{13}+\frac8{15}\right)=\frac{4448}{6435}\approx0.69122\ \mathrm{units}^2.$$

Original label: “Overestimate.”

> [!warning] Midpoint correction
> For the convex function $1/x$ on $[1,2]$, this midpoint sum is an **underestimate**. Its value is below the exact area $\ln2\approx0.693147$. The arithmetic in the source is correct.

## Page 2 — section 5.1

### 13 — velocity estimates

Source heights, at the half-second marks $0.5,1,1.5,2,2.5,3$: $6.2,10.8,14.9,18.1,19.4,20.2$.

Original remark: “Note: not actually a precise line (just to give a rough shape of $v(t)$).” The graph starts at the origin.

$$L=\frac12(6.2+10.8+14.9+18.1+19.4)=34.7\ \mathrm{ft},$$

$$U=\frac12(6.2+10.8+14.9+18.1+19.4+20.2)=44.8\ \mathrm{ft}.$$

Original boxed labels: lower estimate $34.7$ ft; upper estimate $44.8$ ft.

### 21 — Riemann-sum setup

The source records the general right-endpoint form

$$\lim_{n\to\infty}\sum_{i=1}^n\frac{b-a}{n}\,f\left(a+\frac{i(b-a)}n\right),$$

then substitutes

$$\lim_{n\to\infty}\sum_{i=1}^n\frac2n\frac{2(1+2i/n)}{(1+2i/n)^2+1}.$$

The source stops at this setup; the corresponding interval is $[1,3]$ and function is $2x/(x^2+1)$.

### 25

$$\int_0^1(x^3-3x^2)dx=\lim_{n\to\infty}\sum_{i=1}^n\left(\frac{i^3}{n^3}-\frac{3i^2}{n^2}\right)\frac1n.$$

Using $\sum i^3=n^2(n+1)^2/4$ and $\sum i^2=n(n+1)(2n+1)/6$, the work arrives at

$$\lim_{n\to\infty}\left[\frac{(n+1)^2}{4n^2}-\frac{(n+1)(2n+1)}{2n^2}\right]=\lim_{n\to\infty}\frac{-(n+1)(3n+1)}{4n^2}=-\frac34.$$

## Page 2 — section 5.2

### 18

$$\lim_{n\to\infty}\sum_{i=1}^nx_i\sqrt{1+x_i^3}\,\Delta x\quad\text{on }[2,5]$$

becomes the original answer

$$\int_2^5x\sqrt{1+x^3}\,dx.$$

### 21

$$\int_2^5(4-2x)dx=\lim_{n\to\infty}\sum_{i=1}^n[4-2(2+3i/n)]\frac3n.$$

$$=\lim_{n\to\infty}\frac{-18}{n^2}\sum_{i=1}^ni=\lim_{n\to\infty}\frac{-9(n+1)}n=-9.$$

One intermediate handwritten coefficient reads $-16$ instead of $-18$; the final simplification uses the correct $-18$.

## Page 3 — section 5.2

### 34 — areas from a missing graph

Original calculations:

- **(a)** $\int_0^2g(x)dx=\frac12(2)(4)=4$.
- **(b)** $\int_2^6g(x)dx=-\frac12\pi(2)^2=-2\pi$.
- **(c)** $\int_0^7g(x)dx=4-2\pi+\frac12(1)(1)=9/2-2\pi$.

These assume the triangle, negative semicircle, and final triangle described by the arithmetic. The actual $g$ graph is not included.

### 37

Original geometric evaluation: “$1/4$ area of circle with $r=3$ + 3 units,” giving

$$\frac14\pi(9)+3=\frac{9\pi}{4}+3.$$

The integral or full question is absent.

### 54

Original note: “???” followed by

$$m\le f(x)\le M\quad\Longrightarrow\quad m(b-a)\le\int_a^bf(x)dx\le M(b-a).$$

The prompt is absent. This bound applies for $a\le b$ and an integrable $f$ satisfying the stated bounds throughout the interval.

### 57

On $[-1,1]$, the source finds the minimum of $\sqrt{1+x^2}$ to be $1$ and the maximum to be $\sqrt2$, then concludes

$$2<\int_{-1}^1\sqrt{1+x^2}\,dx<2\sqrt2.$$

The strict inequalities are valid here because the function is not constantly either extreme.

### 73

$$\lim_{n\to\infty}\sum_{i=1}^n\frac{i^4}{n^5}=\int_0^1x^4dx.$$

The source stops at the integral representation.

## Page 3 — Luvvet's Problems

The true/false propositions themselves are absent. Preserve the answers and explanations without claiming the missing propositions are established:

1. **True.** “Let $[a,b]$ be a situation where $f(x)$ has the following behaviors.” Sketches show positive, zero, and negative slopes. “No situation has all underest.”
2. **True.** “No height means area = 0.”
3. **False.** “Odd functions can cancel out,” with example $\int_{-1}^1x^3dx=0$ and a shaded sketch.
4. **True.** “This allows for positive slope only, which creates area, or 0, which remains constant.”
5. **??** No answer or prompt is supplied.

Related: [[HW_13.md|FTC and substitution practice]].

## Reconstructed diagrams

The figures below reconstruct the written equations, numerical samples, and explicitly labeled qualitative sketches. The printable PDF remains linked above.

![[../assets/diagrams/ab-home-7-hw12-reciprocal-right.svg|Right endpoints for reciprocal function]]

Generated from $1/x$ with four intervals of width $1/4$.

![[../assets/diagrams/ab-home-7-hw12-reciprocal-mid.svg|Midpoints for reciprocal function]]

Generated from $1/x$ with four intervals of width $1/4$. The source’s “overestimate” label is retained in the text above; the existing correction explains why the full midpoint sum is an underestimate.

![[../assets/diagrams/ab-home-7-hw12-reciprocal-left.svg|Left endpoints for reciprocal function]]

Generated from $1/x$ with four intervals of width $1/4$.

![[../assets/diagrams/ab-home-7-hw12-velocity-rectangles.svg|Lower and upper velocity estimates]]

The seven plotted values are the origin and six recorded half-second samples. Dotted joins are visual guides, not an exact velocity formula. Left and right rectangles reproduce the two written distance estimates.

![[../assets/diagrams/ab-home-7-hw12-luvvet-increasing.svg|Increasing qualitative function sketch]]

Qualitative reconstruction of the original increasing sketch. No formula, numerical scale, or omitted true/false proposition is supplied.

![[../assets/diagrams/ab-home-7-hw12-luvvet-constant.svg|Constant qualitative function sketch]]

Qualitative reconstruction of the original constant sketch. No formula, numerical scale, or omitted true/false proposition is supplied.

![[../assets/diagrams/ab-home-7-hw12-luvvet-decreasing.svg|Decreasing qualitative function sketch]]

Qualitative reconstruction of the original decreasing sketch. No formula, numerical scale, or omitted true/false proposition is supplied.

![[../assets/diagrams/ab-home-7-hw12-odd-cancellation.svg|Equal opposite signed areas under x cubed]]

Generated from the written example $x^3$ on $[-1,1]$. Equal positive and negative signed areas cancel.
