A teenage whiz kid (Justin Long) locks himself in a bathroom for three months to solve math equations and find solace from his overbearing mother (Wendy Malick).