"Mathmagic" is the thirty-second episode of the second season of Star vs. the Forces of Evil.[1]

It premiered on February 13, 2017.[2][3]


When Star refuses to solve a problem in math class, she learns that avoiding her least favorite subject may have cosmic repercussions.[3]


The episode begins in Miss Skullnick's math class, and all of her students (except Marco) look bored and sleepy. At the back of the classroom, Janna tells Star the classic "Why did the chicken cross the road?" joke, causing Star to laugh loudly. Because she caused a disruption during class, Miss Skullnick tells Star to solve the math equation on the chalkboard. Star goes up to the board, but instead of solving the equation, she draws a cat face. Miss Skullnick tells her to solve the equation for real, but Star is so terrible at math that she refuses to try.

Just then, the earth starts to shake, and Star suddenly finds herself back in her seat. Janna, wearing a different hat, tells her chicken joke again, but it has a different punchline. For Star's disruption in class, Miss Skullnick tells her to solve the math equation on the chalkboard. Once again, Star refuses to try, and once again, the earth shakes, and Star is back in her seat. Like before, Janna is wearing a different hat, and her chicken joke has a different punchline. After several repeats of the same events, Star realizes she is stuck in a time loop.

Using Marco's dimensional scissors, Star goes to the Plains of Time dimension to ask Father Time for answers. Father Time runs over Star with the Wheel of Progress, but he continues on his way without listening to her dilemma. As Star grumbles out loud about her problem, she attracts the attention of Omnitraxus Prime, the master of space-time and one of the members of the Magic High Commission. When Star explains that she's caught in a time loop that keeps looping back to a math problem, Omnitraxus tells her to "do the math". But Star is unable to because she never paid attention in class.

To help Star, Omnitraxus takes her within himself to the Crystal Fields of Interwoven Continuum. Here, Star is able to perceive various versions of herself from alternate universes and timelines. In all those alternate universes, the other versions of Star all worked through their problems. Because Star refuses to do the same, her timelines are all colliding with each other, which causes the tremors. If Star doesn't figure out her math problem, her timelines will all shatter. Star asks Omnitraxus to solve the problem for her, but Omnitraxus tells her there are no shortcuts and that she must solve it on her own.

Star returns to the classroom, but her colliding timelines cause all space and time to start to collapse. She reasons that if the infinite versions of herself know how to solve the equation, she herself must know how to solve it as well. Star goes up to the chalkboard and starts solving the equation while space and time collapse all around her. When she finally writes the answer, time and space return to normal, and the time loop is broken. Miss Skullnick tells Star her answer is wrong, but she commends her for at least trying.

Marco comforts Star by saying math is pretty complicated, and Star remarks, "You have NO idea." Miss Skullnick then calls Marco to the chalkboard to try solving the equation.


Major characters

Minor characters

Production notes


Title in other languages

Language Title Translation
Dutch Magiekunde Magic Science
French La Boucle Temporelle The Time Loop
German Mathemagie Mathmagic
Hebrew קסמתמטיקה Mathmagic
Hungarian Matekvarázs Mathmagic
Italian Magimatematica Mathmagic
Japanese 数学の問題 The Math Problem
Polish Matemagia Mathmagic
Portuguese (Brazil) Matemagica Mathmagic
Portuguese (Portugal) A Matemágica Mathmagic
Russian Математика волшебства Math Magic
Spanish Matemagia Mathmagic


View the episode transcript here.


S2E32 Miss Skullnick's complicated math equation
Click here to view the gallery.


  • Carl Weathers, best known for portraying Apollo Creed in the Rocky film series, guest-stars as Omnitraxus Prime.
  • In one of the iterations of Star's time loop, Tom and Boo Fly make a cameo appearance.
    • In another iteration, Miss Skullnick appears in her human form.
  • In one of the iterations of the time loop, Janna says "to get to the other side" in Spanish.
    • In another iteration, she says "to get to the other side" backwards.
  • Party Star's wand resembles the wand from the series' unaired pilot episode.

Revelations and continuity


  • One of the alternate universe versions of Star resembles Link from the Legend of Zelda video game series.
    • Another one of the alternate universe versions of Star resembles Sailor Moon from the anime of the same name.


  • During the time loop's second iteration, Janna wears a blue winter hat instead of her normal olive-colored beanie. Near the end of the iteration, when Star looks at the class from the front of the classroom, Janna briefly appears wearing her normal beanie instead of the blue winter hat.
  • When Star first sees the different iterations of herself, Mina Loveberry Star has purple hair and the same outfit as the original Mina Loveberry, kitty Star is wearing Star's green dress outfit, demon Star has the same colors as the original Star and a bat on her dress, and St. Olga’s disguise princess Star has a blue skirt and headband and purple suspenders.
    • In addition, when Star becomes Mina Loveberry Star, kitty Star, and demon star respectively, Mina Loveberry Star and kitty Star have the same color scheme as the original Star while demon Star's color scheme is similar to that of Tom's.
  • Kitty Star's hearts are smaller when she is writing on the board.
  • Infant Star's dress and pigtails are missing.


  1. Bryan (2017-01-09). “Star vs. The Forces of Evil” Gets Weekday Premieres in February. Nick and More. Retrieved on 2017 March 5.
  2. Star vs. the Forces of Evil : Mathmagic; The Bounce Lounge. Screener. Retrieved on 2017 March 5.
  3. 3.0 3.1 Mathmagic. Disney XD Press. Retrieved on 2017 March 5.

Start a Discussion Discussions about Mathmagic

  • Thoughts on Mathmagic

    5 messages
    • I never been so interested but this episode connected with time machine, logic and e.t.c. (I will call universe dimension as the universe) ...
    • The following was discussed on the SVTFOE Amine. Since I can’t participate there, I’ll bring it here. The equation appears to be t...
  • Genderswap

    7 messages
    • male star? at first I thought it was "tomboy" star XD
    • lol nah fam
Community content is available under CC-BY-SA unless otherwise noted.