mathematics-in-real-life
Creating Educational Videos to Demonstrate the Behavior of the Tangent Function Near Asymptotes
Table of Contents
Introduction: Why Visualize Asymptotic Behavior?
Mathematics instructors often find that students struggle with the concept of infinity, especially when it appears in the context of a function's behavior near a vertical asymptote. The tangent function, with its repeating vertical asymptotes at x = π/2 + nπ (where n is an integer), offers a beautiful and accessible example. However, static graphs in textbooks can only show so much. Creating an educational video allows you to animate the approach to these asymptotes, making the abstract idea of unbounded growth tangible. Students can watch the curve steepen, see the output values spike from positive to negative infinity, and grasp why the function is undefined at those exact x-values. This article provides a comprehensive guide to producing such a video, from mathematical foundations to post-production tips.
Mathematical Foundations of the Tangent Function's Asymptotes
Before you open any software, it is essential to frame exactly what you intend to demonstrate. The tangent function is defined as tan(x) = sin(x) / cos(x). Since division by zero is undefined, tangent has vertical asymptotes wherever cos(x) = 0. Solving cos(x) = 0 gives x = π/2 + nπ. The key behavior near these points is that as x approaches π/2 from the left (x → π/2⁻), cos(x) → 0⁺, making sin(x)/cos(x) → +∞. From the right (x → π/2⁺), cos(x) → 0⁻, so tan(x) → –∞. This sudden sign change is a central concept for first-year calculus students learning about one-sided limits and infinite limits.
Your video should make these two distinct directions visually clear. Many textbooks rely on dashed vertical lines and arrows, but an animation can zoom in gradually, showing the function value rising without bound. This is the perfect place to use limit notation and to connect the geometric graph to the algebraic definition. By expanding on the foundational mathematics, you ensure that the video serves both as a review for calculus students and an introduction for precalculus learners.
Planning Your Educational Video
A successful educational video begins long before the recording starts. You need a clear outline, a target audience in mind, and specific learning objectives. For the tangent asymptotes video, typical learning goals might be:
- Students will identify the vertical asymptotes of tan(x) from the unit circle definition.
- Students will describe the behavior of tan(x) as x approaches an asymptote from left and right using limit notation.
- Students will connect the graph's steepness to the rate of change (derivative) of tan(x).
Key Concepts to Cover
In your script, plan to address these points sequentially:
- Periodicity: The tangent function repeats every π, so asymptotes occur with the same period.
- Asymptote lines: Show them as vertical dashed lines labeled with x = π/2 + nπ.
- One-sided behavior: Animate a point tracing the curve from left to right across an asymptote to show the sudden jump.
- Limit notation: Write limx→π/2⁻ tan(x) = +∞ and limx→π/2⁺ tan(x) = –∞.
- Comparison with other trig functions: How does this differ from the behavior near asymptotes of secant or cotangent?
Script and Storyboard
Write a conversational script that explains each step as the animation plays. Do not simply read bullet points; use a narrative voice that anticipates student questions. For example:
"Notice that as we approach π/2 from the left, the y‑values keep climbing—10, 100, 1000. There is no upper bound. But the moment we cross the asymptote, the curve reappears way down at negative numbers. That jump is what mathematicians call an infinite discontinuity."
Storyboard your key frames: an initial wide view of tan(x) over two periods, a zoom into the area around x = π/2, the asymptotic approach animation, and a final summary slide with the limit statements. Keep each segment short (30–60 seconds) to maintain attention.
Technical Tools and Software
Choosing the right tools can dramatically affect both the production quality and the clarity of your demonstration. You have several excellent options, each with its own strengths.
Choosing a Graphing Tool
The core of your video will be an animated graph. Consider these popular choices:
- Manim (Mathematical Animation Engine) – Developed by Grant Sanderson of 3Blue1Brown, Manim gives you total control over mathematical visualizations. You can program precise animations of the tangent curve, add dynamic labels, and smoothly zoom. It requires Python knowledge but produces stunning results. The Manim Community provides documentation and examples.
- GeoGebra – A free, interactive geometry and graphing tool that lets you create dynamic constructions. You can use the "Animation" slider to move a point along the x-axis and watch tan(x) values change live. GeoGebra also allows recording of the screen directly or exporting as interactive HTML. Visit GeoGebra.org to download or use the online version.
- Desmos – Extremely user-friendly and great for quick, clean graphs. You can create a tangent function plot, add vertical dashed lines at asymptotes, and use the list feature to show multiple periods. Desmos also has a beta animation mode. For screen recording, pair it with built-in OS tools or a third-party app. Start with Desmos for rapid prototyping.
Recording and Editing Software
Once you have your animated graph, you need to record your screen and voiceover. Options include:
- OBS Studio – Free, open-source, and reliable. Great for capturing high-quality video of your graphing software. You can also add a webcam overlay if you want to show your face.
- Camtasia – Paid but includes a built-in video editor ideal for adding annotations, captions, and transitions.
- DaVinci Resolve – A professional-grade free editor (with a paid version) that handles complex timelines and color grading. Overkill for simple videos but powerful if you want to add subtle motion graphics.
Step-by-Step Production Process
Let’s walk through the actual production, assuming you have settled on a graphing tool and a recording setup.
Setting Up the Graph
First, plot y = tan(x) over an interval that clearly shows at least two asymptotes, such as [–π, π] or [–2π, 2π]. In Manim, you would use a ParametricFunction; in GeoGebra, simply type tan(x) and adjust the view. Add vertical dashed lines at each asymptote using, for example, x = π/2 and x = –π/2 (and include the next set if you extend the domain). Color the asymptote lines a faint red or gray, and the function curve in bright blue or orange for contrast. Label the asymptotes with their equations using LaTeX notation when possible for mathematical precision.
Animating the Approach
This is the heart of your video. Create an animation that moves a point along the x-axis from left to right, pausing just before the asymptote. As the point gets closer to π/2 from the left, let the corresponding y‑value climb rapidly. You can manually keyframe the growth or use a mathematical slider. In Manim, you would write a loop that increments x by smaller and smaller steps; in GeoGebra, use a slider with a custom speed curve. After reaching a high value (e.g., y = 100), reset the point to just right of the asymptote and show the descent from negative values. Add a subtle audio cue (like a rising pitch) or a visual zoom to emphasize the unbounded behavior.
Adding Explanatory Elements
While the animation plays, overlay text annotations. Use bold for key terms like "vertical asymptote" and "infinite limit." Place a small arrow pointing to the approaching point. If possible, include a live counter that displays the current y‑value (e.g., "y = 57.3, 143.2, ..."). This transforms the abstract infinity into a concrete number progression. At the end of the zoom, freeze the frame and add an orange box around the limit statement: limx→π/2⁻ tan(x) = +∞. Use a contrasting color for the right-hand limit.
Pedagogical Strategies for Maximum Impact
Your video is not just a recording of a graph; it is a teaching tool. Incorporate active-learning elements even within a video format.
Active Learning Prompts
Instead of narrating continuously, pause the animation and ask a question. For example, freeze the point at x = 1.5 (π/2 ≈ 1.5708) and ask: "What do you predict the y‑value will be when x reaches 1.56?" Give students 5 seconds to think, then reveal the answer. This technique, known as "pause-and-predict," has been shown to improve retention. You can achieve this by inserting a blank screen with a text question, or by simply stopping the voiceover and letting the visual speak for itself.
Connecting to Calculus
Once students understand the asymptotic behavior, link it to derivative concepts. The derivative of tan(x) is sec²(x), which also has vertical asymptotes at the same x‑values. Show a second graph of sec²(x) in faded lines over the original, or animate the slope of the tangent line to illustrate why the function grows so steeply. This leads naturally into a discussion of differentiability at points of discontinuity and the fact that tan(x) is not continuous at its asymptotes.
Example Script Snippet and Visualization
To give you a concrete idea, here is a short excerpt of what your video might look like at the one‑minute mark:
Visual: Graph of tan(x) from 0 to π. A moving red dot starts at x = 0.8. A vertical dashed line at x = π/2 is labeled "Asymptote." The dot moves slowly toward the line, and the y‑coordinate reading below the graph climbs: 1.03, 1.56, 3.92, 11.43, 57.29...
Voiceover: "See how the y‑values grow faster and faster? The dot is now at x = 1.56, just 0.01 units from the asymptote. The y‑value has already exceeded 100. As we get even closer, the y‑value will shoot toward infinity. There is no finite bound. But watch what happens if we approach from the right side – the value will be negative infinity. That dramatic flip is unique to tangent and its reciprocal, cotangent."
Conclusion and Further Resources
Creating an educational video that demonstrates the behavior of the tangent function near its asymptotes is a powerful way to make calculus and precalculus concepts accessible. By carefully planning your mathematical narrative, using the right tools, and incorporating active learning strategies, you can produce a resource that students will return to again and again. Remember to keep animations clear, voiceovers concise, and annotations precise.
To deepen your own understanding or to find additional examples, explore these excellent resources: Khan Academy's tangent graph video provides a foundational walkthrough. For advanced animation techniques, see 3Blue1Brown's channel which uses Manim to explain limit behavior. And for interactive graphing, GeoGebra's online graphing calculator lets you experiment with asymptotes in real time. Combine these sources with your own creativity, and you will craft a video that turns a difficult concept into a visual revelation.