In calculus, undetermined coefficients is a method used to find the particular solution of a nonhomogeneous linear differential equation. It involves assuming that the particular solution can be expressed as a polynomial and then solving for the undetermined coefficients.