We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
FindInstance[expr,vars]
finds an instance of vars that makes the statement expr be True.
Details and OptionsFind a solution instance of a system of equations:
Find a real solution instance of a system of equations and inequalities:
Find an integer solution instance:
Find Boolean values of variables that satisfy a formula:
Find a point in a geometric region:
Scope (57) Complex Domain (11)A univariate polynomial equation:
Five roots of a polynomial of a high degree:
A multivariate polynomial equation:
Systems of polynomial equations and inequations:
This gives three solution instances:
If there are no solutions FindInstance returns an empty list:
If there are fewer solutions than the requested number, FindInstance returns all solutions:
Five out of a trillion roots of a polynomial system:
In this case there is no solution:
A solution in terms of transcendental Root objects:
Five roots of an unrestricted equation:
Systems of transcendental equations:
Three roots of a transcendental system:
Real Domain (13)A univariate polynomial equation:
A univariate polynomial inequality:
A multivariate polynomial equation:
A multivariate polynomial inequality:
Systems of polynomial equations and inequalities:
If there are no solutions FindInstance returns an empty list:
If there are fewer solutions than the requested number, FindInstance returns all solutions:
A quantified polynomial system:
A solution in terms of transcendental Root objects:
Integer Domain (12)A linear system of equations and inequalities:
A univariate polynomial equation:
A univariate polynomial inequality:
If there are fewer solutions than the requested number, FindInstance returns all solutions:
A bounded system of equations and inequalities:
A high-degree system with no solution:
Transcendental Diophantine systems:
A polynomial system of congruences:
Modular Domains (5)A univariate polynomial equation:
A multivariate polynomial equation:
A system of polynomial equations and inequations:
A quantified polynomial system:
Finite Field Domains (4)Systems of polynomial equations:
Systems involving quantifiers:
Mixed Domains (3)Mixed real and complex variables:
Find a real value of and a complex value of for which is real and less than :
An inequality involving Abs[z]:
Geometric Regions (9)Find instances in basic geometric regions in 2D:
Find instances in basic geometric regions in 3D:
Find a point in the projection of a region:
A parametrically defined region:
Regions dependent on parameters:
Find values of parameters , , and for which the circles contain the given points:
Use to specify that is a vector in :
Options (3) Modulus (1)Find a solution over the integers modulo 9:
RandomSeeding (1)Finding instances often involves random choice from large solution sets:
By default, FindInstance chooses the same solutions each time:
Use RandomSeedingAutomatic to generate potentially new instances each time:
Applications (11) Geometric Problems (6)The region ℛ is a subset of if is empty. Show that Disk[{0,0},{2,1}] is a subset of Rectangle[{-2,-1},{2,1}]:
Show that Rectangle[] is a not a subset of Disk[{0,0},7/5]:
Show that Cylinder[]⊆Ball[{0,0,0},2]:
Show that Cylinder[]⊈Ball[{0,0,0},7/5]:
Find a point in the intersection of two regions:
Find a counterexample to a geometric conjecture:
Prove the conjecture using stronger assumptions:
Boolean Problems (2)Prove that a statement is a tautology:
This can be proven with TautologyQ as well:
Show that a statement is not a tautology; get a counterexample:
This can be done with SatisfiabilityInstances as well:
Integer Problems (3)Find Pythagorean triples when they exist:
Two instances are now found when :
Find Pythagorean quadruples and visualize the result:
Generate all solutions for and visualize the result:
Show that there are no 2×2 magic squares with all numbers unequal:
Properties & Relations (10)Solution instances satisfy the input system:
Use RootReduce to prove that algebraic numbers satisfy equations:
When there are no solutions, FindInstance returns an empty list:
If there are fewer solutions than the requested number, FindInstance returns all solutions:
To get a complete description of the solution set use Reduce:
To get a generic solution of a system of complex equations use Solve:
Solving a sum of squares representation problem:
Use SquaresR to find the number of solutions to sum of squares problems:
Solving a sum of powers representation problem:
Use PowersRepresentations to enumerate all solutions:
Find instances satisfying a Boolean statement:
Use SatisfiabilityInstances to obtain solutions represented as Boolean vectors:
FindInstance shows that the polynomial is non-negative:
Use PolynomialSumOfSquaresList to represent as a sum of squares:
The Motzkin polynomial is non-negative, but is not a sum of squares:
Neat Examples (1)Integer solutions for a Thue equation:
Wolfram Research (2003), FindInstance, Wolfram Language function, https://reference.wolfram.com/language/ref/FindInstance.html (updated 2024). TextWolfram Research (2003), FindInstance, Wolfram Language function, https://reference.wolfram.com/language/ref/FindInstance.html (updated 2024).
CMSWolfram Language. 2003. "FindInstance." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/FindInstance.html.
APAWolfram Language. (2003). FindInstance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FindInstance.html
BibTeX@misc{reference.wolfram_2025_findinstance, author="Wolfram Research", title="{FindInstance}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/FindInstance.html}", note=[Accessed: 12-July-2025 ]}
BibLaTeX@online{reference.wolfram_2025_findinstance, organization={Wolfram Research}, title={FindInstance}, year={2024}, url={https://reference.wolfram.com/language/ref/FindInstance.html}, note=[Accessed: 12-July-2025 ]}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4