Given a functional J = ∫ ∫ a b L ( t , y ( t ) , y ′ ( t ) ) d t on C 1 ( [ a , b ] ) with the boundary conditions y ( a ) = A and y ( b ) = B , we proceed by approximating the extremal curve by a polygonal line with n segments and passing to the limit as the number of segments grows arbitrarily large.