3D Demonstration of Day and Night Length at Various Latitudes on Earth

3D Demonstration of Day and Night Length at Various Latitudes on Earth
Loading the math board and drawing, please wait…
2020-07-22 20:39
This GeoGebra applet constructs a 3D geometric model of the Earth-Sun spatial relationship to demonstrate how day and night lengths vary with latitude and season. Using commands such as Sphere, OrthogonalPlane, IntersectPath, and Rotate, it accurately simulates the terminator line where sunlight meets the Earth's surface and applies trigonometric functions—specifically the cosine function—to calculate the ratio of daylight arc to nighttime arc along each circle of latitude. The model incorporates several key astronomical and mathematical elements: the Earth's rotational axis tilt angle of approximately 23.5 degrees, the orbital path around the Sun, latitude and longitude grid lines, the North and South Poles, and the equator. The terminator—the boundary separating illuminated and dark portions of the planet—is rendered as the intersection curve between a light plane representing parallel solar rays and the spherical Earth. As the user adjusts time parameters through interactive sliders, the model dynamically rotates to simulate Earth's revolution around the Sun throughout the year, revealing how the terminator's position relative to the poles shifts with the seasons. Students can manipulate sliders to vary both the date (controlling the Sun's declination angle) and specific latitudes to observe real-time changes in day length. At the equator, the applet consistently shows nearly equal day and night throughout the year, while polar regions exhibit extreme variations including midnight sun and polar night. The mathematical foundation relies on spherical geometry and trigonometry: the昼弧(day arc)along any given latitude φ satisfies cos(φ) relationships with the solar declination angle δ, allowing precise calculation of daylight duration as a function of both latitude and time of year. The visualization also demonstrates elliptical distortions that occur when circular latitude lines are projected onto different viewing angles, providing a natural introduction to conic sections and projective geometry. This applet serves dual educational purposes: as a teaching tool for earth science courses explaining the causes of seasonal day-length variation, and as a demonstration resource for solid geometry and spatial vector courses covering rotations, plane sections, and coordinate transformations in three-dimensional space. Through direct manipulation and immediate visual feedback, students develop intuitive understanding of abstract concepts relating celestial mechanics to analytic geometry.

GeoGebra Commands & Parameters

  1. Rotate(zAxis, 23.44°, xAxis) → zAxis'
  2. If((tan(γ) * tan(θ)) < -1, (-(90°)), If[(tan(γ) * tan(θ)) > 1, 90°, asind((tan(γ) * tan(θ)))]) → ω
  3. Segment(Core, (0, 0, 0)) → g
  4. OrthogonalPlane(Core, Line[Core, (0, 0)]) → Light
  5. Sphere(Core, ear) → earth
  6. Intersect(g, earth) → A, B
  7. IntersectPath(Light, earth) → LightC
  8. Line(Core, zAxis') → f
  9. Intersect(f, earth) → poleS, poleN
  10. Circle(poleN, A, poleS) → meri
  11. Plane(A, poleN, poleS) → p
  12. OrthogonalLine(Core, p) → raxis
  13. OrthogonalPlane(Core, f) → equp
  14. IntersectPath(equp, earth) → equator
  15. Intersect(meri, equator) → ZERO, ZERO', ,
  16. Rotate(ZERO, γ, raxis) → P_0
  17. Rotate(Rotate[ZERO, γ, raxis], If[syn, ((hour * 2) * π / 24), β], f) → P
  18. Plane(P, equp) → q
  19. IntersectPath(q, earth) → Lat
  20. Sphere((0, 0, 0), sun) → sunball
  21. Circle((0, 0, 0), ser, zAxis) → orbit
  22. Point(f) → north
  23. Point(f) → south
  24. Vector(south, north) → earthaxi
  25. Rotate(meri, If[syn, ((hour * 2) * π / 24), β], f) → meri'
  26. Rotate(Surface[t, (ear * cos(θ)), (ear * sin(θ)), t, 0, ser, θ, 0, (2 * π)], If[syn, ((hour * 2) * π / ((365 * 24))), α], zAxis) → Light3D
  27. Circle((0, 0), (10 * cos(γ))) → Nlat_{night}
  28. Circle((0, 0), 10) → e
  29. CircumcircleArc(Rotate[P_0, (-(ω + 90°)), f], P_0, Rotate[P_0, ω + 90°, f]) → r
  30. CircumcircleArc(P_0, Rotate[P_0, (ω + 90°) / 2, f], Rotate[P_0, ω + 90°, f]) → r_2
  31. CircumcircleArc(Rotate[P_0, (-(ω + 90°)), f], Rotate[P_0, ((-(ω + 90°))) / 2, f], P_0) → r_1
  32. Rotate(HOT, ω + 90°, (0, 0)) → sunset
  33. Line(HOT, (0, 0)) → j
  34. Rotate(HOT, (-(ω + 90°)), (0, 0)) → dawn
  35. CircumcircleArc(HOT, Rotate[HOT, ((-(ω + 90°))) / 2, (0, 0)], Rotate[HOT, (-(ω + 90°)), (0, 0)]) → Nlat_1
  36. CircumcircleArc(HOT, Rotate[HOT, (ω + 90°) / 2, (0, 0)], Rotate[HOT, ω + 90°, (0, 0)]) → Nlat_2
  37. Rotate(CurveCartesian[((10 * sin(θ)) * cos(t)), (10 * sin(t)), t, π / 2, (3 * π / 2)], If[syn, ((hour * 2) * π / ((365 * 24))), α], (0, 0)) → lightEL0
  38. Line(Rotate[HOTEQ, (-(90°)), (0, 0)], j) → LightLine_d
  39. Line(Rotate[HOTEQ, 90°, (0, 0)], j) → LightLine_s
  40. Point(LightLine_d) → LightP_1
  41. OrthogonalLine(LightP_1, LightLine_d) → i
  42. Intersect(i, LightLine_s) → LightP_2
  43. Polygon({Rotate[HOTEQ, (-(90°)), (0, 0)], LightP_1, LightP_2, Rotate[HOTEQ, 90°, (0, 0)]}) → Light2D
  44. Rotate(CurveCartesian[((10 * sin(θ)) * cos(t)), (10 * sin(t)), t, ((-π)) / 2, π / 2], If[syn, ((hour * 2) * π / ((365 * 24))), α], (0, 0)) → lightEL1
  45. Rotate(HOT, If[syn, ((hour * 2) * π / 24), β], (0, 0)) → PP
  46. Rotate(CurveCartesian[((10 * sin(θ)) * cos(t)), (10 * sin(t)), t, ((-π)) / 2, π / 2], If[syn, ((hour * 2) * π / ((365 * 24))), α], (0, 0)) → lightELLight
  47. Rotate(CurveCartesian[((10 * sin(θ)) * cos(t)), (10 * sin(t)), t, ((-π)) / 2, π / 2], If[syn, ((hour * 2) * π / ((365 * 24))), α], (0, 0)) → lightELDark
  48. CircumcircleArc(HOT, Rotate[HOT, ((-(ω + 90°))) / 2, (0, 0)], Rotate[HOT, (-(ω + 90°)), (0, 0)]) → Slat_1
  49. CircumcircleArc(HOT, Rotate[HOT, (ω + 90°) / 2, (0, 0)], Rotate[HOT, ω + 90°, (0, 0)]) → Slat_2
  50. Circle((0, 0), (10 * cos(γ))) → Slat_{night}
  51. Sequence(Mod[(α * 365 / (360°)) + 79, 365] + 1 - If[kk ≟ 1, 0, Sum[month, kk - 1]], kk, 1, 12) → daym

AI Drawing Prompt Reference

Create a 3D Earth model demonstrating the spatial relationship between Earth and Sun, showcasing the variation of day and night lengths at different latitudes and seasons. The model includes Earth, Sun, terminator, latitude lines, longitude lines, North Pole, and South Pole as key objects. The model utilizes light rays and spherical geometry to simulate the position and change of the terminator line.
The prompt above was compiled from the original drawing commands and is for reference only.