Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ Manim Public

This project uses Manim, a Python library for animations, to show a visual explanation of the inequality.

Notifications You must be signed in to change notification settings

twoChar/Manim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

πŸ“ Visualizing an Inequality with Manim

This project uses Manim, a Python library for animations, to show a visual explanation of the inequality:

[ x + \frac{1}{x} \geq 2 \quad \text{(for all } x > 0\text{)} ]


🎬 What the Animation Shows

  1. It starts with a math assumption:
    ( x > 0 ) and ( x \geq \frac{1}{x} )

  2. Then it draws a right triangle:

    • The base is 2 units long
    • The height is ( x - \frac{1}{x} )
    • The hypotenuse is calculated using the Pythagorean Theorem
  3. The hypotenuse is transformed into a straight line showing ( x + \frac{1}{x} )

  4. Finally, it compares that to 2, showing that the inequality is true.

It's like a visual proof using geometry, not just algebra.


▢️ How to Run This

Make sure you have Manim installed. You can install it using pip:

pip install manim
manim -pql animate_proof.py AnimateText

About

This project uses Manim, a Python library for animations, to show a visual explanation of the inequality.

Topics

Resources

Stars

Watchers

Forks

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /