Single-Variable-Calculus ¡ Unit 19 ¡ Video 2 ¡ Interactive Practice

Weighted Averages: The Cauldron's Average Temperature

IKey Formulas

FormulaMeaningWhat you need
∫abf(x) w(x) dx∫abw(x) dx\displaystyle \frac{\int_a^b f(x)\,w(x)\,dx}{\int_a^b w(x)\,dx}Weighted average of ff with weight wwTwo integrals: ff times the weight on top, the total weight below
∫abc w(x) dx∫abw(x) dx=c\displaystyle \frac{\int_a^b c\,w(x)\,dx}{\int_a^b w(x)\,dx} = cA constant averages to itself, for any weightThe constant factors out and the two integrals cancel
∫01(100−30y) πy dy=40π\displaystyle \int_0^1 (100 - 30y)\,\pi y\,dy = 40\piEnergy to heat the cauldron, in ∘C⋅m3^\circ\text{C} \cdot \text{m}^3Horizontal disks: volume πx2 dy=πy dy\pi x^2\,dy = \pi y\,dy, temperature T(y)T(y)
40π∫01πy dy=40ππ/2=80\displaystyle \frac{40\pi}{\int_0^1 \pi y\,dy} = \frac{40\pi}{\pi/2} = 80Volume-weighted average temperature, 80∘C80^\circ\text{C}Weight w(y)=πyw(y) = \pi y; the plain average over height is 85∘C85^\circ\text{C}

Key Insight: The weight says how much each part counts. The cauldron is wide at the cool top and narrow at the hot bottom, so weighting each level by its volume pulls the average below the 85∘C85^\circ\text{C} that counts every level equally.

IIVisualization 1 — Average Price of Shares

Shares bought at $10, $20 and $30 average to the price where the share counts balance.

IIIVisualization 2 — Slicing the Cauldron into Disks

Weighting each level by its disk volume πy dy\pi y\,dy gives 80∘C80^\circ\text{C}; counting every level equally gives 85∘C85^\circ\text{C}.

IVVisualization 3 — Where the Two Averages Fall

For any linear temperature in this cauldron, the volume-weighted average is 13Tbottom+23Ttop\tfrac13 T_{\text{bottom}} + \tfrac23 T_{\text{top}}.

VQuiz Questions

Problem 1 ¡ A Weight That Grows with x

Given: f(x)=xf(x) = x on 0≤x≤10 \le x \le 1 with weight w(x)=xw(x) = x — find the weighted average of ff.

✅ Correct! ∫01x⋅x dx∫01x dx=1/31/2=23\dfrac{\int_0^1 x \cdot x\,dx}{\int_0^1 x\,dx} = \dfrac{1/3}{1/2} = \dfrac23: large xx counts more, so the average moves above 12\tfrac12.
❌ That is the numerator alone. ∫01x2 dx=13\int_0^1 x^2\,dx = \tfrac13 still has to be divided by the total weight ∫01x dx=12\int_0^1 x\,dx = \tfrac12.
❌ That is the plain average, with w=1w = 1. The weight w(x)=xw(x) = x makes values near x=1x = 1 count more than values near 00.
❌ The fraction is upside down. The integral of fwf w goes on top and the total weight below; an average of values in [0,1][0, 1] cannot exceed 11.
❌ Not quite. Compute ∫01fw dx\int_0^1 f w\,dx and ∫01w dx\int_0^1 w\,dx, then divide.
Show solution
∫01x⋅x dx∫01x dx=[x33]01[x22]01=1/31/2=23.\frac{\int_0^1 x \cdot x\,dx}{\int_0^1 x\,dx} = \frac{\left[\tfrac{x^3}{3}\right]_0^1}{\left[\tfrac{x^2}{2}\right]_0^1} = \frac{1/3}{1/2} = \frac23.

Problem 2 ¡ Two Purchases

Given: you buy 100100 shares at $10 and later 300300 shares at $30 — find your average price per share.

✅ Correct! Total spent 1000+9000=10,0001000 + 9000 = 10{,}000 dollars over 400400 shares: $25 per share.
❌ That treats both purchases as equal. The plain average of the two prices ignores that three times as many shares were bought at the higher price.
❌ The weights are swapped. 300⋅10+100⋅30400=15\tfrac{300 \cdot 10 + 100 \cdot 30}{400} = 15 puts the large count on the low price.
❌ That is the total spent. Divide by the total weight, the 400400 shares.
❌ Not quite. Weighted average = total spent divided by the total number of shares.
Show solution

The prices are the values and the share counts are the weights:

10⋅100+30⋅300100+300=10,000400=25.\frac{10 \cdot 100 + 30 \cdot 300}{100 + 300} = \frac{10{,}000}{400} = 25.

The average is $25 per share, three quarters of the way from $10 to $30, because three quarters of the shares were bought at $30.

Problem 3 ¡ A Colder Cauldron

Given: the same cauldron, the region between y=x2y = x^2 and y=1y = 1 revolved about the yy-axis, now with temperature T(y)=90−60yT(y) = 90 - 60y — find the average temperature of the water, weighted by volume.

✅ Correct! ∫01(90−60y) πy dy∫01πy dy=25ππ/2=50\dfrac{\int_0^1 (90 - 60y)\,\pi y\,dy}{\int_0^1 \pi y\,dy} = \dfrac{25\pi}{\pi/2} = 50 degrees.
❌ That counts every level equally. 90+302=60\tfrac{90 + 30}{2} = 60 is the average over height; the wide, cool top holds more water.
❌ That is the energy integral alone. ∫01(90−60y) πy dy=25π\int_0^1 (90 - 60y)\,\pi y\,dy = 25\pi; divide by the volume π2\tfrac{\pi}{2}.
❌ The denominator is the volume π2\tfrac{\pi}{2}, not π\pi. Dividing 25π25\pi by π\pi leaves out the 12\tfrac12 from ∫01y dy\int_0^1 y\,dy.
❌ Not quite. Use the disk weight w(y)=πyw(y) = \pi y for both integrals.
Show solution

The disk at height yy has radius x=yx = \sqrt{y}, so its volume is πy dy\pi y\,dy and the weight is w(y)=πyw(y) = \pi y.

∫01(90−60y) πy dy=π[45y2−20y3]01=25π,∫01πy dy=π2.\int_0^1 (90 - 60y)\,\pi y\,dy = \pi\left[45y^2 - 20y^3\right]_0^1 = 25\pi, \qquad \int_0^1 \pi y\,dy = \frac{\pi}{2}. Average=25ππ/2=50.\text{Average} = \frac{25\pi}{\pi/2} = 50.

Check with 13Tbottom+23Ttop=13⋅90+23⋅30=50\tfrac13 T_{\text{bottom}} + \tfrac23 T_{\text{top}} = \tfrac13 \cdot 90 + \tfrac23 \cdot 30 = 50.

Problem 4 ¡ Temperature That Depends on the Radius

Given: the same cauldron, but now heated from the side, so its temperature depends only on the distance xx from the axis — which slicing puts each slice at a single temperature, and what is its weight?

✅ Correct! A shell is the set of points at one distance xx from the axis, so it has one temperature; its volume is 2πx(1−x2) dx2\pi x(1 - x^2)\,dx.
❌ A disk spans every radius from 00 to its edge. If TT depends on xx, the temperature changes across each disk, so a disk is no longer at a single temperature.
❌ The weight must be the shell's volume. A shell at radius xx runs from y=x2y = x^2 up to y=1y = 1, so its height 1−x21 - x^2 belongs in the weight.
❌ The slicing follows the temperature. Slice along the level sets of TT: here they are cylinders around the axis, so only shells work without a second averaging.
❌ Not quite. Ask which slices keep the distance from the axis fixed.
Show solution

Choose slices on which TT is constant. If TT depends only on xx, those are cylinders of radius xx: the shells. The shell at radius xx has circumference 2πx2\pi x, height 1−x21 - x^2 and thickness dxdx, so

w(x)=2πx(1−x2),Average=∫01T(x) 2πx(1−x2) dx∫012πx(1−x2) dx.w(x) = 2\pi x(1 - x^2), \qquad \text{Average} = \frac{\int_0^1 T(x)\,2\pi x(1 - x^2)\,dx}{\int_0^1 2\pi x(1 - x^2)\,dx}.

The denominator is the cauldron's volume again, π2\tfrac{\pi}{2}.

Solved: 0 / 4