AnimG LogoAnimG

Horizontal Shift of a Parabola

Translation of a Parabola

Overview

An animation that visualizes the horizontal translation of the parabola y=x2y = x^{2} two units to the right, resulting in the function y=(xβˆ’2)2y = (x-2)^{2}. The key visual is the replacement of the variable xx by xβˆ’2x-2 and the corresponding smooth physical movement of the graph across the screen.


Phases

# Phase Name Duration Description
1 Intro ~3s Title fades in at the top. The original graph y=x2y = x^{2} is drawn in the left area, axes appear, and a point (0,0)(0,0) is highlighted.
2 Substitution ~4s The expression β€œreplace xx with xβˆ’2x-2” appears briefly in the bottom area. An arrow animates from the variable xx in the formula to a new placeholder xβˆ’2x-2. Simultaneously, the entire parabola in the left area translates smoothly rightward, moving continuously across the screen for the full duration of this phase.
3 Translation Complete ~3s The translated graph y=(xβˆ’2)2y = (x-2)^{2} is now fully positioned in the right area, overlapping the original for comparison. The original graph fades to a lighter shade. The bottom area now shows the final formula y=(xβˆ’2)2y = (x-2)^{2}.
4 Outro ~2s A brief caption β€œHorizontal shift of 2 units to the right” appears at the bottom, then all elements fade out.

Layout

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                TOP AREA                β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                       β”‚               β”‚
β”‚        LEFT AREA      β”‚   RIGHT AREA  β”‚
β”‚  (Original graph)     β”‚ (Shifted graph)β”‚
β”‚                       β”‚               β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚               BOTTOM AREA              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Area Descriptions

Area Content Notes
Top Title: β€œHorizontal Translation of x2x^{2}” Fades in at start of Intro, stays visible until Outro
Left Axes and the graph of y=x2y = x^{2} (solid blue) with a highlighted origin point Primary focus during Intro and Substitution; graph moves smoothly rightward during Substitution
Right Axes (same scale) and the graph of y=(xβˆ’2)2y = (x-2)^{2} (solid red) Appears during Translation Complete, original graph remains faint for comparison
Bottom Formula manipulation text (e.g., β€œreplace xx with xβˆ’2x-2”) and final caption Appears in Substitution and Outro phases

Notes

  • Use the same coordinate limits for both left and right axes (e.g., x∈[βˆ’4,4]x \in [-4,4], y∈[0,16]y \in [0,16]) to make the shift evident.
  • The original parabola should fade to a light gray (β‰ˆ30β€―% opacity) once the translated graph is fully displayed.
  • Arrow animation for the substitution should be smooth and point from the β€œx” in the formula to the newly created β€œx‑2” term.
  • During the Substitution phase, animate the parabola with a continuous translation (e.g., graph.animate.shift(RIGHT*2)) so the movement is physically observable rather than an instantaneous jump.
  • Keep total runtime under 12β€―seconds to maintain brevity while fully conveying the translation concept.
  • The entire animation fits within a single Manim Scene class.

Created By

Mohit GamerMohit Gamer

Description

The animation shows the graph of y equals x squared moving two units to the right. It starts with the original blue parabola and highlights the origin. Text explains replacing x with x minus 2 while an arrow points to the new term. The graph slides right, the shifted red parabola appears, and the original fades to a light gray. A final caption notes the horizontal shift of two units.

Created At

May 12, 2026, 03:56 AM

Duration

0:12

Tags

calculusfunction-transformationparabola

Status

Completed
AI Model
Auto