<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OJAppS</journal-id><journal-title-group><journal-title>Open Journal of Applied Sciences</journal-title></journal-title-group><issn pub-type="epub">2165-3917</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ojapps.2022.1211132</article-id><article-id pub-id-type="publisher-id">OJAppS-121448</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Biomedical&amp;Life Sciences</subject><subject> Chemistry&amp;Materials Science</subject><subject> Computer Science&amp;Communications</subject><subject> Engineering</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Solve the Polynomial Functions Conditional Extreme by Applying the Groebner Basis Method
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Junyu</surname><given-names>Luo</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Shengzhen</surname><given-names>Ding</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Mathematics, Science and Statistics, Zhaoqing University, Zhaoqing, China</addr-line></aff><pub-date pub-type="epub"><day>28</day><month>10</month><year>2022</year></pub-date><volume>12</volume><issue>11</issue><fpage>1915</fpage><lpage>1921</lpage><history><date date-type="received"><day>25,</day>	<month>October</month>	<year>2022</year></date><date date-type="rev-recd"><day>22,</day>	<month>November</month>	<year>2022</year>	</date><date date-type="accepted"><day>25,</day>	<month>November</month>	<year>2022</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution-NonCommercial International License (CC BY-NC).http://creativecommons.org/licenses/by-nc/4.0/</license-p></license></permissions><abstract><p>
 
 
  In this paper, an algebraic method which is based on the groebner bases
   theory is proposed to solve the polynomial functions conditional extreme. Firstly, we describe how to solve conditional extreme value problems by establishing Lagrange functions and calculating the differential equations derived from the Lagrange functions. Then, by solving the single variable polynomials in the groebner basis, the solution of polynomial equations could be derived successively. We overcome the high number of variables and constraints in the extreme value problem. Finally, this paper illustrates the calculation process of this method through the general procedures and examples in solving questions of conditional extremum of polynomial function.
 
</p></abstract><kwd-group><kwd>Groebner Basis</kwd><kwd> Polynomial Equations</kwd><kwd> Conditional Extremum</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>In real life, we will encounter additional conditions of the multivariate function of the most problem, that the function of the independent variable in addition to meeting the conditions in the domain of definition also needs to meet the corresponding conditions of a certain. For example: the volume of a certain rectangular box of material saving problem. Let the rectangular body of the length, width and height of the three variables x , y , h , respectively, the volume V must determine the length, width and height of the rectangular body, so that in the case of a certain volumeV surface area S = 2 x y + 2 x h + 2 y h material most economical [<xref ref-type="bibr" rid="scirp.121448-ref1">1</xref>]. Such additionally conditioned extremes are called conditional extremes.</p><p>There are usually two methods of conditional extremes: the first: converting the conditional extrema into unconditional extrema, which we can find in [<xref ref-type="bibr" rid="scirp.121448-ref2">2</xref>]. In many cases, however, the conversion of a conditional extreme value into an unconditional extreme value is not so simple. We can see this in [<xref ref-type="bibr" rid="scirp.121448-ref3">3</xref>]. Second, the Lagrange multiplier method. This method does not need to convert the conditional extrema into unconditional extrema. Since the Lagrange multiplier method is necessary for the existence of conditional extrema, the point we find is the point where the extrema may exist, and then we have to continue to rely on the definite. We then continue to determine whether or not the point is a conditional extreme value point based on the definite or actual meaning. When there are many variables and constraints in an extreme value problem, this often makes the calculation difficult.</p><p>In this paper, the polynomial equations are converted to an equivalent triangular form by computing the reduced groebner bases under the pure lexicographic monomial order, then, the triangular equations can be solved by a successive back-substitution manner just like the elimination theory. By this way, the computational effort of solving systems of differential equations is reduced. Finally, we give a concrete example to illustrate the calculation.</p></sec><sec id="s2"><title>2. Preliminaries</title><p>To find the possible extreme value points of the function z = f ( x 1 , x 2 , ⋯ , x n ) under the additional conditional polynomial equations:</p><p>{ φ 1 ( x 1 , ⋯ , x n ) = 0 ,                   ⋮ φ m ( x 1 , ⋯ , x n ) = 0. (1)</p><p>We first make the Lagrange function [<xref ref-type="bibr" rid="scirp.121448-ref4">4</xref>]:</p><p>L ( x 1 , x 2 , ⋯ , x n ) = f ( x 1 , x 2 , ⋯ , x n ) + ∑ i = 1 n λ i ⋅ φ i ( x 1 , x 2 , ⋯ , x n ) ,</p><p>Where λ i ( i = 1 , 2 , ⋯ , m ) is the parameter, and then find the first order partial derivatives of the Lagrange function for x i ( i = 1 , 2 , ⋯ , n ) respectively, and make them zero. The following sets of polynomial differential equations are obtained.</p><p>{ ∂ f ( x 1 , ⋯ , x n ) ∂ x 1 + ∑ i = 1 m λ i ⋅ ∂ φ i ( x 1 , ⋯ , x n ) ∂ x 1 = 0                     ⋮ ∂ f ( x 1 , ⋯ , x n ) ∂ x n + ∑ i = 1 m λ i ⋅ ∂ φ i ( x 1 , ⋯ , x n ) ∂ x n = 0 φ 1 ( x 1 , ⋯ , x n ) = 0                     ⋮ φ m ( x 1 , ⋯ , x n ) = 0 , (2)</p><p>Finally, solve Equation (2) to obtain x i , i = 1 , 2 , ⋯ , n and λ i , i = 1 , 2 , ⋯ , m , so that each x i is the possible extreme value of the function z under the additional condition polynomial Equations (1), and then determine whether it is extreme according to the actual problem. Therefore, the key to solving polynomial function conditional extreme value problems is to find the solution to the system of polynomial Equations (2), and the application of groebner’s method for its solution, to bring a great deal of convenience to the calculation.</p></sec><sec id="s3"><title>3. The Groebner Basis Theory and Solving Polynomials with Conditional Extrema</title><p>The groebner bases theory was proposed by Austria mathematician Bruno Buchberg in his 1965 doctoral thesis [<xref ref-type="bibr" rid="scirp.121448-ref5">5</xref>]. He used the division algorithm to systematically study the problem of ideal generators of multivariate polynomial rings over a number field. The more abstract groebner basis theory was developed by L.R. Obbian in 1986 [<xref ref-type="bibr" rid="scirp.121448-ref6">6</xref>]. Prof. Mulan Liu et al. used the groebner basis theory to study linear recursive Lie algebras over rings and to inscribe the structure of linear recursive Lie algebras. In recent years, groebner basis theory has been rapidly developed in the fields of algebraic equation solving, polynomial factoring and so on [<xref ref-type="bibr" rid="scirp.121448-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.121448-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.121448-ref9">9</xref>].</p><sec id="s3_1"><title>3.1. Groebner Basis</title><p>K [ Χ ] is the polynomials which are defined on the field K with variables Χ = ( x 1 , x 2 , ⋯ , x n ) .</p><p>Theorem 1(Hilbert’s basis theorem) [<xref ref-type="bibr" rid="scirp.121448-ref10">10</xref>]: Denote I ⊂ K [ Χ ] as an ideal, each ideal I ⊂ K [ Χ ] is finitely generated, there exists g 1 , g 2 , ⋯ , g l ∈ I ,</p><p>I = { ∑ i = 1 l h i g i : h 1 , ⋯ , h l ∈ K [ Χ ] } . And where I = 〈 g 1 , g 2 , ⋯ , g l 〉 .</p><p>Definition 1: Let G = { g 1 , g 2 , ⋯ , g n } denotes a groebner base of I under a mono mial order, if ∀ f ∈ K [ Χ ] , then</p><p>L t [ f ] = c ⋅ L t [ g i ] , i = 1 , 2 , ⋯ , n , ( i &lt; n ) .</p><p>where g i is a nonzero polynomial, L t [ f ] and L t [ g i ] denote the first terms of f and g i respectively, c is an arbitrary constant.</p><p>According to the theorem 1, there is a groebner bases consisting of finitely many polynomials for the ideal I. Generally speaking, the groebner basis depends on the choice of monomial order, in other words, different monomial order generate varying groebner bases. The basic concept of monomial order can be found in [<xref ref-type="bibr" rid="scirp.121448-ref11">11</xref>], here we will just introduce another definition and theorem which are necessary.</p><p>Definition 2 [<xref ref-type="bibr" rid="scirp.121448-ref12">12</xref>]: Denote I ⊂ K [ Χ ] as an ideal, V [ I ] represents the set as following:</p><p>V [ I ] = { x ∈ K n : ∀ f i ∈ I , f i ( x ) = 0 } .</p><p>where x = ( x 1 , x 2 , ⋯ , x n ) . It easy to see that V [ I ] is the zero set of the ideal I. For a non-zero ideal, although it contains infinite different polynomials, the zero set V [ I ] is determined by finite polynomial equations.</p><p>Theorem 2: I ⊂ K [ Χ ] is an ideal, G = { g 1 , g 2 , ⋯ , g l } is the reduced groebner bases of I under the pure lexicographical monomial order, where x 1 &gt; x 2 &gt; ⋯ &gt; x n . For any 0 ≤ l ≤ n − 1 , the set G l = G ∩ K [ x l + 1 , x l + 2 , ⋯ , x n ] is the groebner basis of the elimination ideal I l .</p><p>Proof. Obviously, G ∩ K [ x 1 , x 2 , ⋯ , x n ] ⊆ I ∩ K [ x 1 , x 2 , ⋯ , x n ] . Assuming that there is f ( x 1 , x 2 , ⋯ , x n ) ∈ I ∩ K [ x 1 , x 2 , ⋯ , x n ] holds. Due to G is the groebner bases ofI, ∃ g i , 1 ≤ i ≤ l , L t ( g i ) | L t ( f ) . Under the pure lexicographical monomial order, we can get the result of g i ∈ G ∩ K [ x 1 , x 2 , ⋯ , x n ] . And finally, according to Hilbert’s basis theorem, G ∩ K [ x 1 , x 2 , ⋯ , x n ] is the groebner bases of I ∩ K [ x 1 , x 2 , ⋯ , x n ] .</p><p>Theorem 3: I = 〈 f 1 , f 2 , ⋯ , f s 〉 ⊂ C [ x 1 , x 2 , ⋯ , x n ] and I 1 is the first elimination ideal. For any 1 ≤ i ≤ s , f i = g i ( x 1 , x 2 , ⋯ , x n ) x 1 N i . Where N i ≥ 0 , g i ∈ C [ x 1 , x 2 , ⋯ , x n ] , g i ≠ 0 . Assuming that we have a partial solution ( a 2 , ⋯ , a n ) ∉ V ( g 1 , g 2 , ⋯ , g s ) , then there exists a 1 ∈ C , ( a 2 , ⋯ , a n ) ∈ V ( I ) .</p><p>Proof. The ideal I in the polynomial ring K [ x 1 , ⋯ , x n ] is generated by the polynomial f , g , i.e. I = 〈 f , g 〉 . Where</p><p>f = a 0 x 1 l + ⋯ + a l , g = b 0 x 1 m + ⋯ + b m , a 0 ≠ 0 , b 0 ≠ 0 , a i , b i ∈ K [ x 2 , ⋯ , x n ] .</p><p>Denote I 1 = I ∩ K [ x 2 , ⋯ , x n ] be the first eliminative ideal of I. We let c be a vector such that c → = ( c 2 , ⋯ , c n ) ∈ V [ I 1 ] . If a 0 ( c → ) and b 0 ( c → ) are not at the same time zero, then there exists c 1 ∈ K , such that ( c 1 , c 2 , ⋯ , c n ) ∈ V [ I ] . Clearly there is 〈 f , g + x 1 N f 〉 ⊆ 〈 f , g 〉 holds.</p><p>Another aspect, g = ( ( g + x 1 N f ) − x 1 N f ) ∈ 〈 f , g + x 1 N f 〉 , so we can obtain that 〈 f , g 〉 = 〈 f , g + x 1 N f 〉 , N ∈ Z + holds. When taking N to be sufficiently large, there is deg x 1 ( g + x 1 N f ) &gt; deg x 1 g holds. Therefore L c ( g + x 1 N f ) = a 0 , a 0 ( c → ) ≠ 0 , where L c ( g + x 1 N f ) denotes the first coefficient of the polynomial g + x 1 N f . Then, ∃ c 1 ∈ K , f ( c 1 , c → ) = 0 , g ( c 1 , c → ) + c 1 N f ( c 1 , c → ) = 0 .</p><p>Hence g ( c 1 , c → ) = 0 .</p><p>Theorem 2 and 3 are also known as the elimination theorems. It guarantees the continuous separation of variables ( x 1 , x 2 , ⋯ , x n ) . In other words, in the monomial order of a pure dictionary, the reduced groebner bases G under is always in the following triangular form:</p><p>G = { g 1 = g 1 ( x 1 , x 2 , ⋯ , x n ) g 2 = g 2 ( x 2 , ⋯ , x n )           ⋮ g n = g n ( x n )</p><p>Thus, the process of solving a polynomial equation generated by Lagrange functions can be divided into two steps: first, to calculate the groebner basis of a differential equation under the pure lexicographical monomial order of x 1 &gt; x 2 &gt; ⋯ &gt; x n ; and second, to solve the triangular polynomial equations by solving the last and acquiring its solution, then to replace each polynomial equation with the penultimate polynomial equation and repeat the process until the first one is solved. In this way, we could ultimately obtain all the possible solutions of the differential equations.</p></sec><sec id="s3_2"><title>3.2. Example of Demonstration Solving Process</title><p>Therefore, the key to solving the conditional extreme value problem of polynomial function is to find the solution of polynomial Equation (2), and the application of groebner method for its solution provides a great deal of computational convenience. An Example is given below.</p><p>Consider the standard equation of the ellipsoidal surface:</p><p>x 2 a 2 + y 2 b 2 + z 2 c 2 = 1 ,     ( a &gt; 0 , b &gt; 0 , c &gt; 0 ) .</p><p>where variables x , y , z denote the horizontal, vertical and vertical axes of the ellipsoidal system of right angles in space separately, and a , b , c are arbitrary positive constants. Find the largest volume of the rectangular body that is internally connected to the ellipsoidal plane. Let V = x ⋅ y ⋅ z , ( x &gt; 0 , y &gt; 0 , z &gt; 0 ) represent the size of rectangular box [<xref ref-type="bibr" rid="scirp.121448-ref13">13</xref>].</p><p>Make a Lagrange function:</p><p>L ( x , y , z ) = x y z + λ ( x 2 a 2 + y 2 b 2 + z 2 c 2 − 1 ) .</p><p>where λ is the parameter. The system of polynomial differential equations is obtained by finding its partial derivatives with respect to x , y , z and making them zero:</p><p>{ ∂ L ∂ x = y z + 2 λ x a 2 = 0 ∂ L ∂ y = x z + 2 λ y b 2 = 0 ∂ L ∂ z = x y + 2 λ z c 2 = 0 (3)</p><p>We now consider to solve polynomial Equation (3) using the groebner based approach:</p><p>{ y ⋅ z + 2 λ x a 2 = 0 x ⋅ z + 2 λ y b 2 = 0 x ⋅ y + 2 λ z c 2 = 0 x 2 a 2 + y 2 b 2 + z 2 c 2 − 1 = 0</p><p>The above system of equations has only a limited number of solutions and the ideal can be calculated:</p><p>〈 y ⋅ z + 2 λ x a 2 , x ⋅ z + 2 λ y b 2 , x ⋅ y + 2 λ z c 2 , x 2 a 2 + y 2 b 2 + z 2 c 2 − 1 〉</p><p>In the pure lexicographical monomial order, the symbol computing software Maple or Mathematic can calculate the reduced groebner bases as follows :</p><p>G = [ − 1 + 12 a 2 b 2 c 2 λ 2 , 1 a x + 2 a b c λ , 1 b y + 2 a b c λ , 1 c z + 2 a b c λ ]</p><p>Solve from equation − 1 + 12 a 2 b 2 c 2 λ 2 = 0 to obtain λ = &#177; a b c 2 3 .</p><p>Then substitute λ to the equation of (3),and abandoning solutions that do not satisfy the constraint that x , y and z are all variables greater than zero, there are three solutions:</p><p>x = a 3 , y = b 3 , z = c 3 .</p><p>Thus, the volume of a rectangular body with length a 3 , width b 3 and height c 3 is the largest among the rectangular bodies connected internally to the ellipsoidal plane, and its value is V = 8 a b c 3 3 .</p></sec></sec><sec id="s4"><title>4. Conclusions</title><p>In this paper, a groebner bases based method has been proposed to solve the polynomial functions conditional extreme. Comparing with the traditional direct method of solving systems of differential equations, this method has the following two main advantages:</p><p>1) No need to determine directly whether the system of polynomial differential equations has solutions or not;</p><p>2) All the solutions can be found with significant savings in computational effort to solve especially when there are many variables and constraints in the conditional extreme value problem.</p></sec><sec id="s5"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s6"><title>Cite this paper</title><p>Luo, J.Y. and Ding, S.Z. (2022) Solve the Polynomial Functions Conditional Extreme by Applying the Groebner Basis Method. Open Journal of Applied Sciences, 12, 1915-1921. https://doi.org/10.4236/ojapps.2022.1211132</p></sec></body><back><ref-list><title>References</title><ref id="scirp.121448-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Shnurkov, P.V. (2016) Solution of the Unconditional Extremum Problem for a Linear-Fractional Integral Functional on a Set of Probability Measures. Doklady Mathematics, 94, 550-554. https://doi.org/10.1134/S1064562416050161</mixed-citation></ref><ref id="scirp.121448-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Chionh, E.W., Zhang, M. and Goldman, R.N. (2002) Fast Computation of the Bezout and Dixon Resultant Matrices. Symbolic Computation, 33, 13-29. https://doi.org/10.1006/jsco.2001.0462</mixed-citation></ref><ref id="scirp.121448-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Cox, D., Little, J. and Oshea, D. (2006) Ideals, Varieties, and Algorithms: An Introduction to Computational Algebraic Geometry and Commutative Algebra. 3rd Edition, Springer, New York.</mixed-citation></ref><ref id="scirp.121448-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Márquez-Campos, G., Ojeda, I. and Tornero, J.M. (2015) On the Computation of the Apéry Set of Numerical Monoids and Affine Semigroups. Semigroup Forum, 91, 139-158. https://doi.org/10.1007/s00233-014-9631-y</mixed-citation></ref><ref id="scirp.121448-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Dong, R.N. and Wang, D.M. (2019) Computing Strong Regular Characteristic Pairs with Groebner Bases. Journal of Symbolic Computation, 104, 312-327.</mixed-citation></ref><ref id="scirp.121448-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Huang, Z.Y., England, M., Davenport, J.H. and Paulson, L.C. (2016) Using Machine Learning to Decide When to Precondition Cylindrical Algebraic Decomposition with Groebner Bases. 2016 18th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC), Timisoara, 24-27 September 2016. https://doi.org/10.1109/SYNASC.2016.020</mixed-citation></ref><ref id="scirp.121448-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Zhou, N., Wu, J.Z. and Gao, X.Y. (2013) Algebraic Verification Method for SEREs Properties via Groebner Bases Approaches. Journal of Applied Mathematics, 2013, Article ID: 272781. https://doi.org/10.1155/2013/272781</mixed-citation></ref><ref id="scirp.121448-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Grolet, A. and Thouverez, F. (2015) Computing Multiple Periodic Solutions of Nonlinear Vibration Problems Using the Harmonic Balance Method and Groebner Bases. Mechanical Systems and Signal Processing, 52-53, 529-547. https://doi.org/10.1016/j.ymssp.2014.07.015</mixed-citation></ref><ref id="scirp.121448-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Moore, R.E. and Yang, C.T. (1959) Interval Analysis I. Technical Document LMSD-285875.</mixed-citation></ref><ref id="scirp.121448-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Arnon, D.S. and Collins, G.E. (1983) Cylindrical Algerbraic Decomposition I: The Basic Algorithm. SIAM Journal on Computing, 13. https://doi.org/10.1137/0213054</mixed-citation></ref><ref id="scirp.121448-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Kearfott, R.B. (1990) Preconditioners for the Interval Gauss-Seidel Method. SIAM Journal on Numerical Analysis, 27, 809-822. https://doi.org/10.1137/0727047</mixed-citation></ref><ref id="scirp.121448-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Hentenryck, P., Van Mc Allester, D. and Kapur, D. (1997) Solving Polynomial Systems Using a Branch and Prune Approach. SIAM Journal on Numerical Analysis, 34, 797-927. https://doi.org/10.1137/S0036142995281504</mixed-citation></ref><ref id="scirp.121448-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Yang, K.H., Yuan, Z.B., Wei, W., Yuan, R.Y. and Yu, W.S. (2015) Solve the Selective Harmonic Elimination Problem with Groebner Bases Theory. 2015 34th Chinese Control Conference (CCC), Hangzhou, 28-30 July 2015. https://doi.org/10.1109/ChiCC.2015.7260897</mixed-citation></ref></ref-list></back></article>