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

Wider Support For Domain Specifications

See What's New in Wolfram Mathematica 6

Mathematica 5 offers enhanced support for domain specifications in many symbolic computations. The new function Refine gives the form of an expression that would be obtained if symbols in it were replaced by explicit numerical expressions satisfying the assumptions. The new function Assuming lets users specify one set of assumptions to use in a whole collection of operations.

More Details PreviousNext

Example: Simplifying a Square Root

e = (x y^2 z^4)^(1/2)

(x y^2 z^4)^(1/2)

The following refines e, assuming that x and y are positive.

Refine[e, x > 0 [And] y > 0]

x^(1/2) y z^4^(1/2)

Example: Using Assumptions in Mathematica Functions

Assumptions are taken into account by many Mathematica functions, and propagate through multiple nesting--often simplifying the answer considerably or even making a close-form solution possible at all.

F = ∫_ (-∞)^y^(-(x - μ)^2/(2 σ^2))/((2 π)^(1/2) σ) x ; Underscript[lim, y∞]  F

Underscript[lim, y∞]  1/((2 π)^(1/2) σ) If[Re(σ^2) >0, & ... 3309;^(-(x - μ)^2/(2 σ^2)), {x, -∞, y}, AssumptionsRe(σ^2) ≤0]]

With the assumption that sigma=0

Assuming[σ>0, F = ∫_ (-∞)^y^(-(x - μ)^2/(2 σ^2))/((2 π)^(1/2) σ) x ; Underscript[lim, y∞]  F]

1


Related Links


Documentation from the Reference Guide Documentation from the Reference Guide
Assuming
Refine



Back to Top PreviousNext



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