Electricity-And-Magnetism · Unit 2 · Video 2 · Interactive Practice

Scalar Fields: Contour, Color and Relief Maps

IKey Formulas

FormulaNameWhat it says
T(r,θ,ϕ)=[T0+T1sin⁡2θ+T2(1+sin⁡ϕ)] e−α(r−R)T(r,\theta,\phi) = \big[T_0 + T_1\sin^2\theta + T_2(1+\sin\phi)\big]\,e^{-\alpha(r-R)}Planet temperature modelrr appears only in the exponential, θ\theta only in sin⁡2θ\sin^2\theta, ϕ\phi only in 1+sin⁡ϕ1+\sin\phi
ϕ(x,y,z)=1x2+(y+d)2+z2−1/3x2+(y−d)2+z2\phi(x,y,z) = \dfrac{1}{\sqrt{x^2+(y+d)^2+z^2}} - \dfrac{1/3}{\sqrt{x^2+(y-d)^2+z^2}}A field given by an equationInfinite at (0,−d,0)(0,-d,0) and (0,d,0)(0,d,0)
ϕ(x,y,0)=c\phi(x,y,0) = cContour of the slice z=0z = 0One curve per constant value cc
f(x,y)=1x2+(y−1)2−1x2+(y+1)2f(x,y) = \dfrac{1}{\sqrt{x^2+(y-1)^2}} - \dfrac{1}{\sqrt{x^2+(y+1)^2}}Dipole reliefPeak at (0,1)(0,1), well at (0,−1)(0,-1), f=0f = 0 on the xx-axis

Key Insight: A contour map, a color map and a relief map of one slice carry the same information: a contour is a line of constant color, and a horizontal cut through the relief surface.

IIThe Planet Model, One Factor at a Time

On the equator, TT depends on rr only through e−α(r−R)e^{-\alpha(r-R)} and on ϕ\phi only through 1+sin⁡ϕ1+\sin\phi.

💡 The panel uses T0=150 KT_0 = 150\ \text{K}, T1=50 KT_1 = 50\ \text{K}, T2=40 KT_2 = 40\ \text{K} and α=1/R\alpha = 1/R; on the equator θ=π/2\theta = \pi/2, so sin⁡2θ=1\sin^2\theta = 1 throughout the slice.

IIIContours and Colors Carry the Same Information

Along each contour of ϕ(x,y,0)\phi(x,y,0) for d=1d = 1, the value of ϕ\phi, and so its color, never changes.

IVRelief Map: Height Is the Value

A horizontal plane at height cc cuts the relief surface exactly along the contour ϕ(x,y,0)=c\phi(x,y,0) = c.

💡 Heights beyond ±2.5\pm 2.5 are cut flat, since each field is infinite at its singular points. The vertical direction is the value of the field, not the coordinate zz, so a three-dimensional field needs a stack of such slices.

VQuiz Questions

Problem 1 · The Point Under the Star

Given: T(r,θ,ϕ)=[T0+T1sin⁡2θ+T2(1+sin⁡ϕ)]e−α(r−R)T(r,\theta,\phi) = \big[T_0 + T_1\sin^2\theta + T_2(1+\sin\phi)\big]e^{-\alpha(r-R)} with T0=150 KT_0 = 150\ \text{K}, T1=50 KT_1 = 50\ \text{K}, T2=40 KT_2 = 40\ \text{K}. Find the ground-level temperature at the point directly under the star, (r,θ,ϕ)=(R,π/2,π/2)(r,\theta,\phi) = (R, \pi/2, \pi/2).

✅ Correct! T0+T1+2T2=150+50+80=280 KT_0 + T_1 + 2T_2 = 150 + 50 + 80 = 280\ \text{K}.
❌ Close, but… at ϕ=π/2\phi = \pi/2 the factor 1+sin⁡ϕ1 + \sin\phi equals 22, not 11, so T2T_2 counts twice.
❌ Not quite. T0+T1=200 KT_0 + T_1 = 200\ \text{K} is the opposite point, ϕ=3π/2\phi = 3\pi/2, where 1+sin⁡ϕ=01 + \sin\phi = 0.
❌ Not quite. 230 K230\ \text{K} drops the T1T_1 term, as at a pole (θ=0\theta = 0); on the equator sin⁡2θ=1\sin^2\theta = 1.
❌ Not quite. Evaluate each factor: sin⁡2(π/2)=1\sin^2(\pi/2) = 1, 1+sin⁡(π/2)=21 + \sin(\pi/2) = 2, e0=1e^{0} = 1.
Show solution

At ground level r=Rr = R, so the exponential is e−α⋅0=1e^{-\alpha \cdot 0} = 1. On the equator sin⁡2(π/2)=1\sin^2(\pi/2) = 1, and under the star 1+sin⁡(π/2)=21 + \sin(\pi/2) = 2:

T(R,π2,π2)=T0+T1+2T2=150+50+2(40)=280 K.T(R,\tfrac{\pi}{2},\tfrac{\pi}{2}) = T_0 + T_1 + 2T_2 = 150 + 50 + 2(40) = 280\ \text{K}.

The opposite point has 1+sin⁡(3π/2)=01 + \sin(3\pi/2) = 0, so it sits at T0+T1=200 KT_0 + T_1 = 200\ \text{K}, colder by 2T2=80 K2T_2 = 80\ \text{K}.

Problem 2 · Polar Angle, Not Latitude

Given: the same model and constants. Find the ground-level temperature at polar angle θ=π/6\theta = \pi/6 (measured down from the zz axis) and azimuth ϕ=π\phi = \pi.

✅ Correct! 150+50⋅14+40⋅1=202.5 K150 + 50\cdot\tfrac14 + 40\cdot 1 = 202.5\ \text{K}.
❌ Close, but… that treats π/6\pi/6 as a latitude, giving sin⁡2(π/3)=34\sin^2(\pi/3) = \tfrac34. The polar angle is measured from the zz axis, so sin⁡2(π/6)=14\sin^2(\pi/6) = \tfrac14.
❌ Not quite. The term is sin⁡2θ=(12)2=14\sin^2\theta = (\tfrac12)^2 = \tfrac14, not sin⁡θ=12\sin\theta = \tfrac12.
❌ Not quite. The model uses 1+sin⁡ϕ1 + \sin\phi, and sin⁡π=0\sin\pi = 0, so this factor is 11, not 1+cos⁡π=01 + \cos\pi = 0.
❌ Not quite. Evaluate sin⁡2(π/6)\sin^2(\pi/6) and 1+sin⁡π1 + \sin\pi separately, with r=Rr = R.
Show solution

Ground level: r=Rr = R, so the exponential factor is 11. Polar angle: sin⁡(π/6)=12\sin(\pi/6) = \tfrac12, so sin⁡2θ=14\sin^2\theta = \tfrac14. Azimuth: 1+sin⁡π=1+0=11 + \sin\pi = 1 + 0 = 1.

T=150+50⋅14+40⋅1=150+12.5+40=202.5 K.T = 150 + 50\cdot\tfrac14 + 40\cdot 1 = 150 + 12.5 + 40 = 202.5\ \text{K}.

The point is 30°30\degree from the pole, close to it, so the T1T_1 term contributes only a quarter of its equatorial value.

Problem 3 · The Zero Contour

Given: ϕ(x,y,0)=1x2+(y+1)2−1/3x2+(y−1)2\phi(x,y,0) = \dfrac{1}{\sqrt{x^2+(y+1)^2}} - \dfrac{1/3}{\sqrt{x^2+(y-1)^2}} (so d=1d = 1). Find where the contour ϕ=0\phi = 0 crosses the yy-axis.

Crossing between the two points (−1<y<1-1 < y < 1)

Crossing above the upper point (y>1y > 1)

✅ Correct! The zero contour is the circle through y=12y = \tfrac12 and y=2y = 2: centre (0,54)(0, \tfrac54), radius 34\tfrac34.
❌ Close, but… at the origin ϕ=1−13=23≠0\phi = 1 - \tfrac13 = \tfrac23 \ne 0. The weights are unequal, so the zero is not at the midpoint.
❌ Not quite. That solves r1=13r2r_1 = \tfrac13 r_2. Setting ϕ=0\phi = 0 gives 1r1=13r2\tfrac{1}{r_1} = \tfrac{1}{3r_2}, i.e. r1=3r2r_1 = 3r_2: the far point is three times as distant.
❌ Close, but… (0,54)(0, \tfrac54) is the centre of the zero circle, not a point on it: there r1=94r_1 = \tfrac94 and r2=14r_2 = \tfrac14, so ϕ=49−43≠0\phi = \tfrac49 - \tfrac43 \ne 0.
❌ Check the first crossing. On the axis between the points, r1=y+1r_1 = y + 1 and r2=1−yr_2 = 1 - y; solve r1=3r2r_1 = 3r_2.
❌ Check the second crossing. Above y=1y = 1, r1=y+1r_1 = y + 1 and r2=y−1r_2 = y - 1; solve r1=3r2r_1 = 3r_2.
Show solution

Write r1=x2+(y+1)2r_1 = \sqrt{x^2+(y+1)^2} and r2=x2+(y−1)2r_2 = \sqrt{x^2+(y-1)^2}. Then ϕ=0\phi = 0 means

1r1=13r2⟺r1=3r2.\frac{1}{r_1} = \frac{1}{3r_2} \quad\Longleftrightarrow\quad r_1 = 3r_2.

Between the points (−1<y<1-1 < y < 1, x=0x = 0): r1=y+1r_1 = y + 1, r2=1−yr_2 = 1 - y.

y+1=3(1−y)  ⇒  4y=2  ⇒  y=12.y + 1 = 3(1 - y) \;\Rightarrow\; 4y = 2 \;\Rightarrow\; y = \tfrac12.

Above the upper point (y>1y > 1): r1=y+1r_1 = y + 1, r2=y−1r_2 = y - 1.

y+1=3(y−1)  ⇒  2y=4  ⇒  y=2.y + 1 = 3(y - 1) \;\Rightarrow\; 2y = 4 \;\Rightarrow\; y = 2.

Check: at y=2y = 2, ϕ=13−1/31=0\phi = \tfrac13 - \tfrac{1/3}{1} = 0. The whole zero contour is the circle with these two crossings as a diameter, centre (0,54)(0, \tfrac54) and radius 34\tfrac34, enclosing the point (0,1)(0, 1) where ϕ\phi is negative.

Problem 4 · Reading the Dipole Relief

Given: the dipole relief f(x,y)=1x2+(y−1)2−1x2+(y+1)2f(x,y) = \dfrac{1}{\sqrt{x^2+(y-1)^2}} - \dfrac{1}{\sqrt{x^2+(y+1)^2}}. Find the height of the surface above (0,2)(0, 2), and the curve that the horizontal plane at height 00 cuts from it.

Height above (0,2)(0, 2)

The cut at height 00

✅ Correct! f(0,2)=1−13=23f(0,2) = 1 - \tfrac13 = \tfrac23, and f=0f = 0 wherever the two distances are equal: the whole xx-axis.
❌ Not quite. (0,2)(0,2) is nearer the positive term's point (0,1)(0,1), so the first term wins and f>0f > 0.
❌ Not quite. The two terms are subtracted: 1−131 - \tfrac13, not 1+131 + \tfrac13.
❌ Not quite. That holds for 1/r1/r, which is positive everywhere. The dipole has a peak and a well, so between them it passes through 00.
❌ Check the height. From (0,2)(0,2) the distances are 11 to (0,1)(0,1) and 33 to (0,−1)(0,-1).
❌ Check the cut. f=0f = 0 requires x2+(y−1)2=x2+(y+1)2\sqrt{x^2+(y-1)^2} = \sqrt{x^2+(y+1)^2}; square both sides.
Show solution

Height. From (0,2)(0,2): distance to (0,1)(0,1) is 11, distance to (0,−1)(0,-1) is 33, so

f(0,2)=11−13=23.f(0,2) = \frac11 - \frac13 = \frac23.

Cut at height 0. f=0f = 0 means the two distances are equal:

x2+(y−1)2=x2+(y+1)2  ⇒  −2y=2y  ⇒  y=0.x^2 + (y-1)^2 = x^2 + (y+1)^2 \;\Rightarrow\; -2y = 2y \;\Rightarrow\; y = 0.

The plane at height 00 meets the surface along the entire xx-axis, the contour f=0f = 0 of the base map. Compare the two-point field of Problem 3, whose unequal weights bend the zero contour into a circle.

Solved: 0 / 4