Questions tagged [findinstance]
The findinstance tag has no summary.
83 questions
4
votes
3
answers
215
views
FindInstance returns no solution when solving for odd integers
In a question on Mathematics SE, a comment observes that Mathematica 14.3 reports non-solvability of (a relaxation of) the given problem
Is there an odd $a \neq 1$ s.t. $2^k + 1 | a^k - 1$ for all $k ...
5
votes
1
answer
168
views
For this 2x2 matrix, how to find real parameters such that its determinant and trace vanish simultaneously?
I have a matrix
M = {{-num11/(2*den), num12/den}, {num12/den, num22/(2*den)}};
with
...
5
votes
1
answer
170
views
Finding real solutions for a complex rational expression with constraints in Mathematica
I have a rather large rational expression exp involving real variables $x_1, x_2, \dots, x_{10}$. The expression is of the following form
...
1
vote
2
answers
195
views
FindInstance with Exists and ForAll
I am doing a research into magic and quasimagic squares and I want to get instances with the function FindInstance. This is a template of the command used for the 4x4 square:
...
3
votes
4
answers
278
views
FindInstance has difficulty computing more than one solution to a certain type of trigonometric inequality
FindInstance has difficulty computing more than one solution to this type of trigonometric inequality:
$$\arccos(\cos(\theta_1 - \theta_2)) + \arccos(\cos(\theta_2 -...
3
votes
3
answers
277
views
FindInstance and Integers option
I am looking for integer solutions of
$$a^3 + b + 1 = (b^2 - c^2)^2$$
Some solutions are
$$(a, b, c) = (6,8,7); (46,7,19);(665, 8575, 8584)$$
I tried this with the FindInstance command as
...
0
votes
1
answer
108
views
FindInstance Not Stopping
I am trying to use FindInstance to find a solution to a system of equations. It does not return the empty set, but instead continues to run. Does this mean that there is no solution? Or perhaps I am ...
4
votes
3
answers
463
views
FindInstance is not able to find a solution that can be found easily by random substitution
Why is FindInstance not able to find any instance when random substitution finds them very quickly.
...
1
vote
2
answers
231
views
Improve FindInstance, or better yet just Solve!
This one is seemingly not that complex, yet I am not getting Mathematica to return a solution in a timely manner: (I have 2 variables, t - an angle and k a length)
...
8
votes
3
answers
749
views
How to improve code finding x+y+z+w=40 to generate numbers 1 through 40?
Edit: Appended work to find generators for any number as per azerbajdzan and ubpdqn. See below
Ran into this problem and was wondering if there is a more elegant and concise way of coding this if ...
2
votes
5
answers
448
views
Why doesn't `FindInstance` work in finding Heronian triangle?
I was trying to find a triangle whose side lengths are all positive integers and area is rational number (similar to Heronian triangle) with FindInstance, but it ...
1
vote
1
answer
104
views
FindInstance for Reals
I am trying to find the total number of solutions to: Floor[x]*Ceiling[x]=x^2 between 0 and 100
Now when we do this for Integers, it's just fine with a 100 result:
...
3
votes
2
answers
350
views
FindInstance taking very long
Trying to solve this equation:
...
1
vote
1
answer
167
views
Why FindInstance does not find this solution?
Do you think FindInstance should have found this solution?
...
0
votes
0
answers
80
views
Checking Positivity
This is my matrix:
H = {{2*a1*p4, -p5*a2, p3*a1, 0},{-p5*a2, 2*a2*w1, -p2, -p1},{p3*a1, -p2, 2*a3*w2, 0},{0, -p1*a4, 0, 2*a4*w3}}
Where a1,a2,a3,a4 are non-...