PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
SEARCH MATHEMATICA 8 DOCUMENTATION
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
Mathematica
>
Mathematics and Algorithms
>
Formula Manipulation
>
Assumptions and Domains
>
Built-in
Mathematica
Symbol
Using Assumptions
Tutorials »
|
Refine
Reduce
Simplify
Assumptions
$Assumptions
Block
Module
See Also »
|
Assumptions and Domains
Formula Manipulation
Series Expansions
More About »
Assuming
Assuming
[
assum
,
expr
]
evaluates
expr
with
assum
appended to
$Assumptions
, so that
assum
is included in the default assumptions used by functions such as
Refine
,
Simplify
and
Integrate
.
MORE INFORMATION
Assuming
affects the default assumptions for all functions that have an
Assumptions
option.
The assumptions can be equations, inequalities or domain specifications, or lists or logical combinations of these.
Assumptions from nested invocations of
Assuming
are combined.
Assuming
[
assum
,
expr
]
is effectively equivalent to
Block
[{
$Assumptions
=
$Assumptions
&&
assum
},
expr
]
.
Assuming
converts lists of assumptions
{
a
1
,
a
2
,
...
}
to
a
1
&&
a
2
&&
...
.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Give the same assumptions to
Refine
and
Integrate
:
Specify the same assumptions for several
Refine
calls:
Give the same assumptions to
Refine
and
Integrate
:
In[1]:=
Out[1]=
Specify the same assumptions for several
Refine
calls:
In[1]:=
Out[1]=
Scope
(3)
Specify assumptions for simplifiers:
Specify assumptions for
Integrate
and in integral transforms:
Specify assumptions for
Limit
and
Series
:
Applications
(1)
Write code that uses assumptions; find the number of real roots of
a
x
2
+
b
x
+
c
:
Properties & Relations
(5)
Assuming
locally sets the value of
$Assumptions
:
Assumptions from nested invocations of
Assuming
are combined:
Block
can also be used to locally set the value of
$Assumptions
:
Here the assumptions from
Assuming
are not used inside
Block
:
This is equivalent to using nested
Assuming
:
Assuming
affects functions using the
Assumptions
:>
$Assumptions
option setting:
For some functions assumptions can be given both as an argument and as an option value:
Possible Issues
(1)
When
Assumptions
option is set directly, assumptions specified with
Assuming
are not used:
SEE ALSO
Refine
Reduce
Simplify
Assumptions
$Assumptions
Block
Module
TUTORIALS
Using Assumptions
MORE ABOUT
Assumptions and Domains
Formula Manipulation
Series Expansions
New in 5