Turn Calculus and Physics PDFs Into Manim Videos
Turn a PDF equation into a checked Manim animation. Work through a secant approaching a tangent and use signed area to verify a physics explanation.
Animate the part of an equation that changes while the reader watches. In calculus, that might be the second point on a secant. In physics, it might be the area accumulating under a velocity graph.
Keep definitions, units and conditions in a stable position. A viewer should be able to pause any frame, calculate what belongs there and tell whether the drawing agrees.

| What the PDF contains | Best visual | What the narrator must explain |
|---|---|---|
| A derivative defined by a limit | A moving point and a fixed point on one graph | Which interval shrinks, which point stays put and which quantity approaches a limit |
| A sign convention or a list of constants | Static text beside labeled axes | What positive means and which units to use |
| A velocity that crosses zero | An accumulating signed area | Why travel can continue as net displacement falls |
| A proof with several conditions | Static numbered lines, optionally revealed one at a time | Where each assumption is used and what fails without it |
| A reference table of measured values | The original table, with the relevant row highlighted | Which observation supports the example and how precise it is |
Translate the printed equation before choosing software
Start with the PDF that students will actually have. Record the section heading and equation number if available. Write the equation in plain text and read it aloud.
An extracted minus sign can disappear, a superscript can move onto the baseline and an italic letter can be mistaken for a digit. Check the printed expression at full size before asking software to animate it.
Write a three-line specification. Name the fixed quantities, name the variable you will change, and name an observable value you can calculate independently.
For a secant, the fixed object might be the point at x equals one. The changing object is a second point at one plus h. The observable value is the slope of the line through the pair.
Manim Community Edition is an open-source Python animation library. You can use a ValueTracker to vary a number and update geometry derived from it. The Community Edition and the version used for 3Blue1Brown have different interfaces.
Follow one set of documentation consistently. For a teacher planning to revise the same demonstration over several semesters, keeping the parameterized source can justify the authoring time. Manim Community FAQ · ValueTracker reference
Worked calculus scene: move the point, check the limit
Take the definition of the derivative and make an original example with f(x) = x² at x = 1. The neighboring point is (1 + h, (1 + h)²).
For nonzero h, the secant slope is ((1 + h)² − 1) / h = 2 + h. The limiting slope is 2. Keep the restriction on h visible on the algebra panel while the dot approaches the fixed point. OpenStax on the derivative
| PDF concept | What appears in the scene | Narration and independent check |
|---|---|---|
| Difference quotient | Show (1, 1) and (2, 4) on axes with equal data units marked | “Rise three units and run one.” The displayed secant slope must be 3 at h = 1. |
| Smaller positive interval | Move the second point to x = 1.1 and hold | Its height is 1.21. A rise of 0.21 over 0.1 gives 2.1. |
| Approach from the left | Put the second point at x = 0.9 | Its height is 0.81. Both differences are negative, and their ratio is 1.9. |
| Limit at the fixed point | Replace the secant with a labeled tangent overlay | The tangent through (1, 1) has equation y = 2x − 1. The original quotient at h = 0 is undefined. |
The narrator should introduce the two points, predict which one moves, name the ratio and give the viewer time to check the arithmetic. Read the actual coordinates as the frame settles.
If the last frame shows a secant label of “0 / 0 = 2,” reject it. Preserve the limiting argument by drawing the tangent as a separate object after the sequence.
Test the narration with the picture paused at h = 0.1. Someone listening should hear “slope is 2.1,” and someone reading the frame should see the same quantity with its label.
If the caption instead says “height is 2.1,” the animation and its mathematics may be fine. Correct the noun in the script and subtitle before showing it to students.
Hold the camera steady while h changes. A simultaneous zoom can make a fixed point appear to move or a decreasing horizontal interval appear constant.
If the physical pixels on the axes have different scales, the visual angle of the line is an unreliable guide to its numerical slope. Keep tick labels and a rise-and-run triangle visible wherever the comparison matters.
Worked physics scene: separate distance and displacement
Use an invented one-dimensional velocity v(t) = 2 − t meters per second, from zero to four seconds. Establish a positive direction and mark the zero crossing at two seconds.
Ask for the sign of the displacement over the final two seconds before adding color to the graph. A still of the formula is enough to calculate it. Animation can show exactly when the accumulator begins to run backward. OpenStax on velocity and displacement
Narrate the first triangular area as one half times two seconds times two meters per second, giving two meters. The second triangle lies below zero and contributes negative two meters.
The final displacement is zero. The total distance traveled is four meters. Showing a path marker returning to its start gives the learner a second way to see why the two final numbers differ.
Inspect a frame between the endpoints. At three seconds the negative triangle has area one half of a square in these axis units, so displacement from the start is still positive 1.5 meters.
A video that displays negative displacement immediately after velocity turns negative confuses a rate with an accumulated quantity. Mark the timestamp and fix that relationship before adjusting colors or narration speed.
Choose a production route and review the PDF again
Use Manim directly when you need explicit coordinates, repeatable rendering or a scene you can modify for another function. In Scholarly, supply the relevant PDF pages, choose Math Lecture, and state the fixed point, test values and sign convention.
A matching topic can use a prepared Manim scene, with a flexible math rendering path for other cases. Inspect the output before assigning it. PDF to Video · Video modes
The design picker includes Math Lecture. Select it when the lesson depends on a changing equation or geometric relationship.

For a December 2026 budget, Manim Community has no software license fee. Authoring, rendering and checking each scene still take time. Scholarly Free includes one lifetime AI Creation Credit and a roughly two-minute video.
A two-minute sample can cover the secant calculation at one positive and one negative value of h. Split off the velocity example if it needs a different axis scale.
Finish with a new case that neither the PDF nor the video has solved for the viewer. Ask for the slope when h = −0.2 and the position of the moving point.
The expected values are 1.8 and (0.8, 0.64). Someone who can recover both, explain why h must stay nonzero and identify the tangent has learned something you can check without replaying the animation.



