Solving a nonlinear equation through interval arithmetic and term consistency

Information

  • Patent Application
  • 20030050947
  • Publication Number
    20030050947
  • Date Filed
    September 13, 2001
    23 years ago
  • Date Published
    March 13, 2003
    21 years ago
Abstract
One embodiment of the present invention provides a system for solving a nonlinear equation through interval arithmetic. During operation, the system receives a representation of the nonlinear equation f(x)=0, as well as a representation of an initial interval, X, wherein this representation of X includes a first floating-point number, XL, for the left endpoint of X, and a second floating-point number, XU, for the right endpoint of X. Next, the system symbolically manipulates the nonlinear equation f(x)=0 to solve for a first term, g1(x), thereby producing a modified equation g1(x)=h1(x), wherein the first term g1(x) can be analytically inverted to produce an inverse function g1−1(x). The system then plugs the initial interval X into the modified equation to produce the equation g1(X′)=h1(X), and solves for X′=g1−1[h1(X)]. Next, the system intersects X′ with the initial interval X to produce a new interval X+, wherein the new interval X+ contains all solutions of the equation f(x)=0 within the initial interval X, and wherein the size of the new interval X+ is less than or equal to the size of the initial interval X.
Description


BACKGROUND

[0001] 1. Field of the Invention


[0002] The present invention relates to performing arithmetic operations on interval operands within a computer system. More specifically, the present invention relates to a method and an apparatus for using a computer system to solve a nonlinear equation through interval arithmetic and term consistency.


[0003] 2. Related Art


[0004] Rapid advances in computing technology make it possible to perform trillions of computational operations each second. This tremendous computational speed makes it practical to perform computationally intensive tasks as diverse as predicting the weather and optimizing the design of an aircraft engine. Such computational tasks are typically performed using machine-representable floating-point numbers to approximate values of real numbers. (For example, see the Institute of Electrical and Electronics Engineers (IEEE) standard 754 for binary floating-point numbers.)


[0005] In spite of their limitations, floating-point numbers are generally used to perform most computational tasks.


[0006] One limitation is that machine-representable floating-point numbers have a fixed-size word length, which limits their accuracy. Note that a floating-point number is typically encoded using a 32, 64 or 128-bit binary number, which means that there are only 232, 264 or 2128 possible symbols that can be used to specify a floating-point number. Hence, most real number values can only be approximated with a corresponding floating-point number. This creates estimation errors that can be magnified through even a few computations, thereby adversely affecting the accuracy of a computation.


[0007] A related limitation is that floating-point numbers contain no information about their accuracy. Most measured data values include some amount of error that arises from the measurement process itself. This error can often be quantified as an accuracy parameter, which can subsequently be used to determine the accuracy of a computation. However, floating-point numbers are not designed to keep track of accuracy information, whether from input data measurement errors or machine rounding errors. Hence, it is not possible to determine the accuracy of a computation by merely examining the floating-point number that results from the computation.


[0008] Interval arithmetic has been developed to solve the above-described problems. Interval arithmetic represents numbers as intervals specified by a first (left) endpoint and a second (right) endpoint. For example, the interval [a, b], where a<b, is a closed, bounded subset of the real numbers, R, which includes a and b as well as all real numbers between a and b. Arithmetic operations on interval operands (interval arithmetic) are defined so that interval results always contain the entire set of possible values. The result is a mathematical system for rigorously bounding numerical errors from all sources, including measurement data errors, machine rounding errors and their interactions. (Note that the first endpoint normally contains the “infimum”, which is the largest number that is less than or equal to each of a given set of real numbers. Similarly, the second endpoint normally contains the “supremum”, which is the smallest number that is greater than or equal to each of the given set of real numbers.)


[0009] One commonly performed computational operation is to find the roots of a nonlinear equation. This can be accomplished using Newton's method. The interval version of Newton's method works in the following manner. From the mean value theorem,




f
(x)−f(x*)=(x−x*)f′(ξ),



[0010] where ξ is some generally unknown point between x and x*. If x* is a zero of f, then f(x*)=0 and, from the previous equation,




x*x−f
(x)/f′(ξ).



[0011] Let X be an interval containing both x and x*. Since ξ is between x and x*, it follows that ξεX. Moreover, from basic properties of interval analysis it follows that f′(ξ)εf′(X). Hence, x*ε N(x, X) where




N
(x, X)=x−f(x)/f′(X).



[0012] Temporarily assume 0 ∉f′(X) so that N(x, X) is a finite interval. Since any zero of f in X is also in N(x, X), the zero is in the intersection X∩ N(x, X). Using this fact, we define an algorithm for finding zero x*. Let X0 be an interval containing x*. For n=0, 1, 2, . . . , define




X


n


=m
(Xn)





N
(xn,Xn)=xn−f(xn)/f′(Xn)





X


n+1


=X


n


∩N
(xn,Xn),



[0013] wherein m(X) is the midpoint of the interval X. We call xn the point of expansion for the Newton method. It is not necessary to choose xn to be the midpoint of Xn. The only requirement is that xnεXn to assure that x*εN(xn, Xn). However, it is convenient and efficient to choose xn=m(Xn). Note that the roots of an interval equation can be intervals rather than points when the equation contains nondegenerate interval constants or parameters.


[0014] One problem in using the interval version of Newton's method is that performing each interval Newton step requires a large number of computational operations. Furthermore, the interval version of Newton's method typically does not converge rapidly when the initial interval X0 is wide.


[0015] What is needed is a method and an apparatus that efficiently finds the roots of a nonlinear equation without the above-described problems of using Newton's method.



SUMMARY

[0016] One embodiment of the present invention provides a system for solving a nonlinear equation through interval arithmetic. During operation, the system receives a representation of the nonlinear equation f(x)=0, as well as a representation of an initial interval, X, wherein this representation of X includes a first floating-point number, XL, for the left endpoint of X and a second floating-point number, XU, for the right endpoint of X. Next, the system symbolically manipulates the nonlinear equation f(x)=0 to solve for a first term, g1(x), thereby producing a modified equation g1(x)−h1(x), such that g1(x)−h1(x)=0 is analytically equivalent to f(x)=0, wherein the first term g1(x) can be analytically inverted to produce an inverse function g1−1(x). The system then plugs the initial interval X into the modified equation to produce the equation g1(X′)=h1(X), and solves for X′=g1−1[h1(X)]. Next, the system intersects X′ with the initial interval X to produce a new interval X+, wherein the new interval X+ contains all solutions of the equation f(x)=0 within the initial interval X, and wherein the size of the new interval X+ is less than or equal to the size of the initial interval X.


[0017] In one embodiment of the present invention, the system additionally sets X=X+, and repeats the process of symbolically manipulating, plugging, solving and intersecting to produce a new interval X+ for a second term g2(x)=h2(x), wherein the second term g2(x) can be analytically inverted to produce an inverse function g2−1.


[0018] In one embodiment of the present invention, for each term, g1(x), that can be analytically inverted within the equation f(x)=0, the system sets X=X+, and repeats the process of symbolically manipulating, plugging, solving and intersecting to produce a new interval X+.


[0019] In one embodiment of the present invention, the system additionally performs an interval Newton step on the function f(x)=0 and the initial interval X to narrow the set of interval solutions to the equation f(x)=0.


[0020] In one embodiment of the present invention, symbolically manipulating the nonlinear equation f(x)=0 involves first selecting the invertible term, g1(x), as the term that dominates the function f(x)=0 within the interval X.


[0021] In one embodiment of the present invention, receiving the representation of the nonlinear equation f(x)=0 involves symbolically manipulating an inequality to produce the nonlinear equation f(x)=0.


[0022] In one embodiment of the present invention, the system is part of an optimization system.







BRIEF DESCRIPTION OF THE FIGURES

[0023]
FIG. 1 illustrates a computer system in accordance with an embodiment of the present invention.


[0024]
FIG. 2 illustrates the process of compiling and using code for interval computations in accordance with an embodiment of the present invention.


[0025]
FIG. 3 illustrates an arithmetic unit for interval computations in accordance with an embodiment of the present invention.


[0026]
FIG. 4 is a flow chart illustrating the process of performing an interval computation in accordance with an embodiment of the present invention.


[0027]
FIG. 5 illustrates four different interval operations in accordance with an embodiment of the present invention.


[0028]
FIG. 6 is a flow chart illustrating the process of finding an interval solution to a nonlinear equation using term consistency in accordance with an embodiment of the present invention.







DETAILED DESCRIPTION

[0029] The following description is presented to enable any person skilled in the art to make and use the invention, and is provided in the context of a particular application and its requirements. Various modifications to the disclosed embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present invention. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.


[0030] The data structures and code described in this detailed description are typically stored on a computer readable storage medium, which may be any device or medium that can store code and/or data for use by a computer system. This includes, but is not limited to, magnetic and optical storage devices such as disk drives, magnetic tape, CDs (compact discs) and DVDs (digital versatile discs or digital video discs), and computer instruction signals embodied in a transmission medium (with or without a carrier wave upon which the signals are modulated). For example, the transmission medium may include a communications network, such as the Internet.


[0031] Computer System


[0032]
FIG. 1 illustrates a computer system 100 in accordance with an embodiment of the present invention. As illustrated in FIG. 1, computer system 100 includes processor 102, which is coupled to a memory 112 and a to peripheral bus 110 through bridge 106. Bridge 106 can generally include any type of circuitry for coupling components of computer system 100 together.


[0033] Processor 102 can include any type of processor, including, but not limited to, a microprocessor, a mainframe computer, a digital signal processor, a personal organizer, a device controller and a computational engine within an appliance. Processor 102 includes an arithmetic unit 104, which is capable of performing computational operations using floating-point numbers.


[0034] Processor 102 communicates with storage device 108 through bridge 106 and peripheral bus 110. Storage device 108 can include any type of non-volatile storage device that can be coupled to a computer system. This includes, but is not limited to, magnetic, optical, and magneto-optical storage devices, as well as storage devices based on flash memory and/or battery-backed up memory.


[0035] Processor 102 communicates with memory 112 through bridge 106. Memory 112 can include any type of memory that can store code and data for execution by processor 102. As illustrated in FIG. 1, memory 112 contains computational code for intervals 114. Computational code 114 contains instructions for the interval operations to be performed on individual operands, or interval values 115, which are also stored within memory 112. This computational code 114 and these interval values 115 are described in more detail below with reference to FIGS. 2-5.


[0036] Note that although the present invention is described in the context of computer system 100 illustrated in FIG. 1, the present invention can generally operate on any type of computing device that can perform computations involving floating-point numbers. Hence, the present invention is not limited to the computer system 100 illustrated in FIG. 1.


[0037] Compiling and Using Interval Code


[0038]
FIG. 2 illustrates the process of compiling and using code for interval computations in accordance with an embodiment of the present invention. The system starts with source code 202, which specifies a number of computational operations involving intervals. Source code 202 passes through compiler 204, which converts source code 202 into executable code form 206 for interval computations. Processor 102 retrieves executable code 206 and uses it to control the operation of arithmetic unit 104.


[0039] Processor 102 also retrieves interval values 115 from memory 112 and passes these interval values 115 through arithmetic unit 104 to produce results 212. Results 212 can also include interval values.


[0040] Note that the term “compilation” as used in this specification is to be construed broadly to include pre-compilation and just-in-time compilation, as well as use of an interpreter that interprets instructions at run-time. Hence, the term “compiler” as used in the specification and the claims refers to pre-compilers, just-in-time compilers and interpreters.


[0041] Arithmetic Unit for Intervals


[0042]
FIG. 3 illustrates arithmetic unit 104 for interval computations in more detail accordance with an embodiment of the present invention. Details regarding the construction of such an arithmetic unit are well known in the art. For example, see U.S. Pat. Nos. 5,687,106 and 6,044,454, which are hereby incorporated by reference in order to provide details on the construction of such an arithmetic unit. Arithmetic unit 104 receives intervals 302 and 312 as inputs and produces interval 322 as an output.


[0043] In the embodiment illustrated in FIG. 3, interval 302 includes a first floating-point number 304 representing a first endpoint of interval 302, and a second floating-point number 306 representing a second endpoint of interval 302. Similarly, interval 312 includes a first floating-point number 314 representing a first endpoint of interval 312, and a second floating-point number 316 representing a second endpoint of interval 312. Also, the resulting interval 322 includes a first floating-point number 324 representing a first endpoint of interval 322, and a second floating-point number 326 representing a second endpoint of interval 322.


[0044] Note that arithmetic unit 104 includes circuitry for performing the interval operations that are outlined in FIG. 5. This circuitry enables the interval operations to be performed efficiently.


[0045] However, note that the present invention can also be applied to computing devices that do not include special-purpose hardware for performing interval operations. In such computing devices, compiler 204 converts interval operations into a executable code that can be executed using standard computational hardware that is not specially designed for interval operations.


[0046]
FIG. 4 is a flow chart illustrating the process of performing an interval computation in accordance with an embodiment of the present invention. The system starts by receiving a representation of an interval, such as first floating-point number 304 and second floating-point number 306 (step 402). Next, the system performs an arithmetic operation using the representation of the interval to produce a result (step 404). The possibilities for this arithmetic operation are described in more detail below with reference to FIG. 5.


[0047] Interval Operations


[0048]
FIG. 5 illustrates four different interval operations in accordance with an embodiment of the present invention. These interval operations operate on the intervals X and Y. The interval X includes two endpoints,


[0049]

x
denotes the lower bound of X, and


[0050] {overscore (x)} denotes the upper bound of X.


[0051] The interval X is a closed subset of the extended (including −∞ and +∞) real numbers R* (see line 1 of FIG. 5). Similarly the interval Y also has two endpoints and is a closed subset of the extended real numbers R* (see line 2 of FIG. 5).


[0052] Note that an interval is a point or degenerate interval if X=[x, x]. Also note that the left endpoint of an interior interval is always less than or equal to the right endpoint. The set of extended real numbers, R* is the set of real numbers, R, extended with the two ideal points negative infinity and positive infinity:




R*=R ∪{−∞}∪{+∞}.




[0053] In the equations that appear in FIG. 5, the up arrows and down arrows indicate the direction of rounding in the next and subsequent operations. Directed rounding (up or down) is applied if the result of a floating-point operation is not machine-representable.


[0054] The addition operation X+Y adds the left endpoint of X to the left endpoint of Y and if necessary rounds down to the nearest floating-point number to produce a resulting left endpoint, and adds the right endpoint of X to the right endpoint of Y and if necessary rounds up to the nearest floating-point number to produce a resulting right endpoint.


[0055] Similarly, the subtraction operation X−Y subtracts the right endpoint of Y from the left endpoint of X and if necessary rounds down to produce a resulting left endpoint, and subtracts the left endpoint of Y from the right endpoint of X and if necessary rounds up to produce a resulting right endpoint.


[0056] The multiplication operation selects the minimum value of four different terms (rounded down) to produce the resulting left endpoint. These terms are: the left endpoint of X multiplied by the left endpoint of Y; the left endpoint of X multiplied by the right endpoint of Y; the right endpoint of X multiplied by the left endpoint of Y; and the right endpoint of X multiplied by the right endpoint of Y. This multiplication operation additionally selects the maximum of the same four terms (rounded up) to produce the resulting right endpoint.


[0057] Similarly, the division operation selects the minimum of four different terms (rounded down) to produce the resulting left endpoint. These terms are: the left endpoint of X divided by the left endpoint of Y; the left endpoint of X divided by the right endpoint of Y; the right endpoint of X divided by the left endpoint of Y; and the right endpoint of X divided by the right endpoint of Y. This division operation additionally selects the maximum of the same four terms (rounded up) to produce the resulting right endpoint. For the special case where the interval Y includes zero, X/Y is an exterior interval that is nevertheless contained in the interval R*.


[0058] Note that the result of any of these interval operations is the empty interval if either of the intervals, X or Y, are the empty interval. Also note, that in one embodiment of the present invention, extended interval operations never cause undefined outcomes, which are referred to as “exceptions” in the IEEE 754 standard.


[0059] Term Consistency


[0060]
FIG. 6 is a flow chart illustrating the process of solving a nonlinear equation through interval arithmetic and term consistency in accordance with an embodiment of the present invention. The system starts by receiving a representation of a nonlinear equation f(x)=0 (step 602), as well as a representation of an initial interval X (step 604). Next, the system symbolically manipulates the equation f(x)=0 to solve for a term g(x)=h(x), wherein the term g(x) can be analytically inverted to produce and inverse function g−1 (step 606).


[0061] Next, the system plugs the initial interval X into h(x) to produce the equation g(X′)=h(X) (step 608). The system then solves for X′=g−1[h(X)] (step 610). The resulting interval X′ is then intersected with the initial interval X to produce a new interval X+ (step 612).


[0062] At this point, the system can terminate. Otherwise, the system can perform further processing. This further processing involves setting X=X+ (step 614) and then either returning to step 606 to for another iteration of term consistency on another term of f(x), or by performing an interval Newton step on f(x) and X to produce a new interval X+ (step 616).



Examples

[0063] For example, suppose we seek a solution of x4+x−2=0 in the interval X =[−100,100]. Solving for X4 and replacing x in the remaining terms by the interval X, we obtain (X′)4=2−[−100,100]=[−98,102]. Since (X′)4 must be non-negative, we replace this equation by (X′)4=[0,102] and conclude that X′=[−3,18,3.18], approximately. This is a substantial reduction of the initial interval.


[0064] In another example, suppose f(x)−x2−x+6 and we define g(x)=x2 and h(x)=x−6. Let X=[−10,10]. The procedural step is (X′)2=X−6=[−16,4]. Since (X′)2 must be non-negative, we replace this interval by [0,4]. Solving for X′, we obtain X′=±[0,2]. In replacing the range of h(x) (i.e., [−16,4]) by non-negative values, we have excluded that part of the range h(x) that is not in the domain of g(x)=x2.


[0065] Suppose that we reverse the roles of g and h and use the iterative step h(X′)=g(X). That is X′−6=X2. We obtain X′=[6,106]. Intersecting this result with the interval [−10,10], of interest, we obtain [6,10]. This interval excludes the set of values for which the range of g(X) is not in the intersection of the domain of h(X) with X.


[0066] Combining these results, we conclude that any solution of g(X)−h(X)=0 that occurs in X=[−10,10] must be in both [−2,2] and [6,10]. Since these intervals are disjoint, there can be no solution in [−10,10].


[0067] In practice, if we already reduced the interval from [−10,10] to [−2,2] by solving for g, we use the narrower interval as input when solving for h.


[0068] This example illustrates the fact that it can be advantageous to solve a given equation for more than one of its terms. The order in which terms are chosen affects the efficiency. Unfortunately, it can be difficult to choose the best order.


[0069] Also note that there can be many choices for g(x). For example, suppose we use term consistency to narrow the interval bound X on a solution of f(x)=ax4+bx+c=0. We can let g(x)=bx and compute X′=−(aX4+c)/b or we can let g(x)=ax4 and compute X′=±[−(bX+c)/a]¼. We can also separate x4 into x2* x2 and solve for one of the factors X′=±[−(bX+c)/(aX2)]½.


[0070] In the multidimensional case, we may solve for a term involving more than one variable. We then have a two-stage process. For example, suppose we solve for the term l/(x+y) from the function f(x,y)=l/(x+y)−h(x,y)=0. Let xεX=[1,2] and yεY=[0.5,2]. Suppose we find that h(X Y)=[0.5,1]. Then l/(x+y)ε[0.5,1] so x|yε[1,2]. Now we replace y by Y=[0.5,2] and obtain the bound [−1,1.5] on X. Intersecting this interval with the given bound X=[1,2] on x, we obtain the new bound X′=[1,1.5].


[0071] We can use X′ to get a new bound on h; but his may require extensive computing if h is a complicated function; so suppose we do not. Suppose that we do, however, use this bound on our intermediate result x+y=[1,2]. Solving for y as [1,2]−X′, we obtain the bound [−0.5,1]. Intersecting this interval with Y, we obtain the new bound Y′=[0.5,1] on y. Thus, we improve the bounds on both x and y by solving for a single term off.


[0072] The foregoing descriptions of embodiments of the present invention have been presented for purposes of illustration and description only. They are not intended to be exhaustive or to limit the present invention to the forms disclosed. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art. Additionally, the above disclosure is not intended to limit the present invention. The scope of the present invention is defined by the appended claims.


Claims
  • 1. A method for using a computer system to solve a nonlinear equation by using interval arithmetic, comprising: receiving a representation of the nonlinear equation f(x)=0 within the computer system; receiving a representation of an initial interval, X, within the computer system, wherein the representation includes a first floating-point number, XL, for the left endpoint of X, and a second floating-point number, XU, for the right endpoint of X; symbolically manipulating the nonlinear equation f(x)=0 within the computer system to solve for a first term, g1(x), thereby producing a modified equation g1(x)=h1(x), wherein the first term g1(x) can be analytically inverted to produce an inverse function g1−1(x); plugging the initial interval X into the modified equation to produce the equation g1(X′)=h1(X); solving for X′=g1−1[h1(X)]; and intersecting X′ with the initial interval X to produce a new interval X+; wherein the new interval X+ contains all solutions of the equation f(x)=0 within the initial interval X, and wherein the size of the new interval X+ is less than or equal to the size of the initial interval X.
  • 2. The method of claim 1, further comprising: setting X=X+; and repeating the process of symbolically manipulating, plugging, solving and intersecting to produce a new interval X+ for a second term g2(x)=h2(x), wherein the second term g2(x) can be analytically inverted to produce an inverse function g2−1.
  • 3. The method of claim 1, wherein for each term, g1(x), that can be analytically inverted within the equation f(x)=0, the method further comprises: setting X=X+; and repeating the process of symbolically manipulating, plugging, solving and intersecting to produce a new interval X+.
  • 4. The method of claim 1, further comprising performing an interval Newton step on the function f(x)=0 and the initial interval X to narrow the set of interval solutions to the equation f(x)=0.
  • 5. The method of claim 1, wherein symbolically manipulating the nonlinear equation f(x)=0 involves first selecting the invertible term, g1(x), as the term that dominates the function f(x)=0 within the interval X.
  • 6. The method of claim 1, wherein receiving the representation of the nonlinear equation f(x)=0 involves symbolically manipulating an inequality to produce the nonlinear equation f(x)=0.
  • 7. The method of claim 1, wherein the method is performed as part of an optimization process.
  • 8. A computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for using a computer system to solve a nonlinear equation by using interval arithmetic, the method comprising: receiving a representation of the nonlinear equation f(x)=0 within the computer system; receiving a representation of an initial interval, X, within the computer system, wherein the representation includes a first floating-point number, XL, for the left endpoint of X, and a second floating-point number, XU, for the right endpoint of X; symbolically manipulating the nonlinear equation f(x)=0 within the computer system to solve for a first term, g1(x), thereby producing a modified equation g1(x)=h1(x), wherein the first term g1(x) can be analytically inverted to produce an inverse function g1−1(x); plugging the initial interval X into the modified equation to produce the equation g1(X′)=h1(X); solving for X′=g1−1[h1(X)]; and intersecting X′ with the initial interval X to produce a new interval X+; wherein the new interval X+ contains all solutions of the equation f(x)=0 within the initial interval X, and wherein the size of the new interval X+ is less than or equal to the size of the initial interval X.
  • 9. The computer-readable storage medium of claim 8, wherein the method further comprises: setting X=X+; and repeating the process of symbolically manipulating, plugging, solving and intersecting to produce a new interval X+ for a second term g2(x)=h2(x), wherein the second term g2(x) can be analytically inverted to produce an inverse function g2−1.
  • 10. The computer-readable storage medium of claim 8, wherein for each term, g1(x), that can be analytically inverted within the equation f(x)=0, the method further comprises: setting X=X+; and repeating the process of symbolically manipulating, plugging, solving and intersecting to produce a new interval X+.
  • 11. The computer-readable storage medium of claim 8, wherein the method further comprises performing an interval Newton step on the function f(x)=0 and the initial interval X to narrow the set of interval solutions to the equation f(x)=0.
  • 12. The computer-readable storage medium of claim 8, wherein symbolically manipulating the nonlinear equation f(x)=0 involves first selecting the invertible term, g1(x), as the term that dominates the function f(x)=0 within the interval X.
  • 13. The computer-readable storage medium of claim 8, wherein receiving the representation of the nonlinear equation f(x)=0 involves symbolically manipulating an inequality to produce the nonlinear equation f(x)=0.
  • 14. The computer-readable storage medium of claim 8, wherein the method is performed as part of an optimization process.
  • 15. An apparatus that solve a nonlinear equation by using interval arithmetic, comprising: a computer system; a receiving mechanism within the computer system that is configured to receive a representation of the nonlinear equation f(x)=0; wherein the receiving mechanism is configured to receive a representation of an initial interval, X, wherein the representation includes a first floating-point number, XL, for the left endpoint of X and a second floating-point number, XU, for the right endpoint of X; a symbolic manipulation mechanism within the computer system that is configured to symbolically manipulate the nonlinear equation f(x)=0 within to solve for a first term, g1(x), thereby producing a modified equation g1(x)=h1(x), wherein the first term g1(x) can be analytically inverted to produce an inverse function g1−1(x); wherein the symbolic manipulation mechanism is additionally configured to, plug the initial interval X into the modified equation to produce the equation g1(X′)=h1(X), solve for X′=g1−1[h1(X)], and to intersect X′ with the initial interval X to produce a new interval X+; wherein the new interval X+ contains all solutions of the equation f(x)=0 within the initial interval X, and wherein the size of the new interval X+ is less than or equal to the size of the initial interval X.
  • 16. The apparatus of claim 15, wherein the symbolic manipulation mechanism is additionally configured to: set X=X+; and to repeat the process of symbolically manipulating, plugging, solving and intersecting to produce a new interval X+ for a second term g2(x)=h2(x), wherein the second term g2(x) can be analytically inverted to produce an inverse function g2−1.
  • 17. The apparatus of claim 15, wherein for each term, g1(x), that can be analytically inverted within the equation f(x)=0, the symbolic manipulation mechanism is additionally configured to: set X=X+; and to repeat the process of symbolically manipulating, plugging, solving and intersecting to produce a new interval X+.
  • 18. The apparatus of claim 15, wherein the symbolic manipulation mechanism is additionally configured to perform an interval Newton step on the function f(x)=0 and the initial interval X to narrow the set of interval solutions to the equation f(x)=0.
  • 19. The apparatus of claim 15, the symbolic manipulation mechanism is configured to first select the invertible term, g1(x), as the term that dominates the function f(x)=0 within the interval X.
  • 20. The apparatus of claim 15, wherein the receiving mechanism is configured to symbolically manipulate an inequality to produce the nonlinear equation f(x)=0.
  • 21. The apparatus of claim 15, wherein the receiving mechanism and the symbolic manipulation mechanism are part of an optimization system.