Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica Products
-----
 /
Mathematica
*Fast Dense Numerical Linear Algebra
*High-Speed Sparse Linear Algebra
*Large-Scale Linear Systems
*Big-Number Arithmetic
*64-Bit Platform Support
*Faster MathLink
*Numerical Solving of Differential Equations
<Numerical Equation Solving
*Fitting Data
*Numeric Optimization
*DSolve
*RSolve
*Reduce
*Resolve
*FindInstance
*Symbolic Global Optimization
*Wider Support For Domain Specifications
*Connection Technology
*Importing and Exporting
*Statistical Plots
*Collecting Expressions During Evaluation
*New Linear Algebra Functions
*Algebraic Number Objects
*Authoring and Presentation
*Summary of New Features
*Ask about this page

Numerical Equation Solving

See What's New in Wolfram Mathematica 6

The function for solving equations numerically, FindRoot, now supports array and vector variables. Additionally included are new and improved algorithms that lead to speed increases and better handling of large-scale problems on computers with limited memory.



More Details PreviousNext

Example: Solving Matrix Equations

Here is an example of solving a matrix equation--in this case the continuous-time algebraic Riccati equation Q + A^T P + P A - P B R^(-1) B^TP == 0.

Suppose we have the following system and constraints. We can use FindRoot to find a matrix root to the equation.

A = ([row 1] 0 1  [row 2] 0 0) ; B = ([row 1] 0  [row 2] 1) ;

Q = ([row 1] 1 0  [row 2] 0 1 ); R = (1) ;

FindRoot[P . A + A^T . P - P . B . R^(-1) . B^T . P [LongEqual] 
-Q, {P, ([row 1] 10 2  [row 2] 2 10) } ]

{P -> ([row 1] 1.73205  1.  [row 2] 1.  1.73205) }


Related Links


Link from The Mathematica Book Documentation from The Mathematica Book
Numerical Root Finding
  
Documentation from the Reference Guide Documentation from the Reference Guide
FindRoot



Back to Top PreviousNext



 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja]