The Dirichlet boundary condition, also known as the first-type boundary condition, specifies the values that a solution needs to satisfy on the boundary of the domain. In mathematical terms, if we have a function u that we want to solve for, and a domain Ω with boundary ∂Ω, the Dirichlet condition specifies that u = g on ∂Ω, where g is a known function.