In the framework of this work, we used the isogeometric method to solve the least squares problem in one dimension, on a curve of R d , d = 1, 2, including a semicircle. For this purpose, we presented the isogeometric method and the tools necessary for the description of this method, namely, the b splines basis, the parameterization of the R d , d = 1, 2 curve. We formulated the least squares problem which is a minimization problem. This problem was solved by using the Discontinuous Galerkin (DG) and the b splines basis as the approximation basis. The numerical method was validated by evaluating the error. For this purpose, an inverse inequality was therefore used.