Math animation maker
How to use it
- Pick an example or type your own two functions of x.
- Choose where x starts and ends. You can type
pi/2or2pi. - Press Play to preview, then Download video. Recording takes as long as the video itself.
- Post it, and add a sound in TikTok, Reels or Shorts.
What you can type
Numbers, x, + − * / ^, brackets, pi, e, and these functions: sin cos tan sec csc cot, asin acos atan, sinh cosh tanh, exp ln log sqrt abs. You can skip the multiplication sign: 2x, x sin(x).
Why sec x and tan x never touch
The difference between the two is sec x − tan x = cos x / (1 + sin x). As x approaches π/2, cos x goes to 0 while 1 + sin x goes to 2, so the gap shrinks to 0. But both functions are undefined at π/2 itself, so the curves rise together without ever meeting. The number at the bottom of the video is that gap.
Ideas that look good
- Curves that approach each other:
sqrt(x^2+1)andx, or1/xand0. - Curves that cross again and again:
sin(x)andcos(x). - A race:
x^2against2^x. One of them wins twice.