This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# Boole

 Boole[expr]yields if expr is True and if it is False.
• Boole[expr] is effectively equivalent to If.
• Integrate can be used to integrate f over the region in which pred is True.
Convert a list of truth values to integers:
Find the area of the disc defined by the inequality :
 Out[1]=

Convert a list of truth values to integers:
 Out[1]=

Find the area of the disc defined by the inequality :
 Out[1]=
 Applications   (4)
Find the area of a region defined by an inequality:
Plot the region:
Find the volume of a solid defined by an inequality:
Plot the solid:
Find the area of the intersection of a circle with a parametric radius and a square:
Convert a table of True values to for plotting:
The inverse of Boole:
Use PiecewiseExpand to convert Boole to Piecewise:
Correspondence between logic operations on conditions and arithmetic operations on Boole:
Use Refine, Simplify, and FullSimplify to transform expressions involving Boole:
Reduce equations and optimize functions involving Boole:
Use Boole as a characteristic function for integration problems: