Questions on the analytic and numeric equation solving functions of Mathematica (Solve, Reduce, NSolve, FindRoot, DSolve, RSolve, etc.).

learn more… | top users | synonyms (4)

4
votes
3answers
479 views

Inverting a Spline-Function (Bezier or BSpline)

I would like to use a Spline-Function to describe a transformation from one range of reals to another, that is I would like to have a function which maps a value $y$ on $x$ and for simplicity let us ...
0
votes
1answer
141 views

Constraining solution's sign with NSolve

I am solving some equations in 4 variables, however, there are many solutions which are basically the same but changing relative signs of each other ... i.e. {x->-1,y->1} and {x->1,y->-1}. ...
1
vote
3answers
297 views

How can i get the solution of complicated equation?

This is the equation about zeta. NSolve[eq] could not solve this equation. (I think it is too complex to solve by NSolve.) I ...
5
votes
0answers
79 views

Faster way to perform SameQ[Reduce[…], Reduce[…]]

I'm have some expressions that I need to confirm the equality of. SameQ[Reduce[...], Reduce[...]] works like a charm for the more simple expressions, however when ...
5
votes
1answer
206 views

Solving an inequality that contains Log expressions

How can I solve the following inequality: Log[1/2 + c^2] > (1.4) (30^5) 2^(4.5) 9 (0.6) (2.8) (1 + Log[3]) (1 +Log[ Log[c + 1]]) ? I tried ...
1
vote
1answer
267 views

How to get a solution set of a nonlinear system of equations?

I'm trying to find the solution set of {x, y} variables for the following system of equations: ...
3
votes
1answer
146 views

Cannot solve system of linear equation sums?

I cannot get mathematica to solve: The problematic code: ...
5
votes
2answers
612 views

Find all the integer numbers $a$, $b$, $c$, $d$, $e$, $f$, $k$ to this equation have three integer different solutions?

How to find all integer numbers $a$, $b$, $c$, $d$, $e$, $f$, $k$ that belong to interval $[-10,10]$, so that the equation $$\sqrt[3]{a x + b} +\sqrt[3]{c x + d} + \sqrt[3]{e x + f} =k$$ has three ...
9
votes
1answer
260 views

Efficient way to solve equal sums $x_1^k+x_2^k+\dots+x_5^k=y_1^k+y_2^k+\dots+y_5^k$ with Mathematica?

I need to solve the system of equations, call it $S_1$, in the integers $$x_1x_2x_3x_4x_5 = y_1y_2y_3y_4y_5$$ $$x_1^k+x_2^k+\dots+x_5^k=y_1^k+y_2^k+\dots+y_5^k,\;\; k= 2,4,6$$ I used a very ...
2
votes
2answers
162 views

Bounds on random number

I have a Markov Chain Monte Carlo code that uses a chi squared function to fit some data. I am running into an issue now with getting unrealistic values for some of the free parameters in the code. ...
17
votes
1answer
852 views

The Orbit and Perigee of the Flamsteed comet

Historical context This year we have the 330-th anniversary of the Battle of Vienna - one of the great formative events of European history, it took place on September 12, 1683. Kara Mustafa, Grand ...
5
votes
2answers
329 views

Reducing exponential inequalities fails

I am quite stumped by this problem : Reduce[ N^(x-y) <1 && N > 0 , x, Reals] gives the expected result ...
-1
votes
1answer
154 views

Solving for variables in a series of nonlinear equations [closed]

I have a nonlinear expression in five variables. I want to use Mathematica to solve for three of the variables. I have a series of points giving values of x an y and I am trying to solve for a,b, and ...
4
votes
2answers
242 views

find where 3 inequalities are simultaneously greater than zero

I have 3 functions: f11[l], f12[l] and f13[l], and I would like to know for which values of ...
1
vote
1answer
260 views

Prandtl-Meyer function

I'm trying to solve for Mach number based on the given Prandtl-Meyer function, however I keep getting odd error. Here is my code: ...
2
votes
0answers
252 views

I can't solve this set of equations

I am having trouble solving a set of equations in mathematica. I do not get any errors, but i don't get any answers as well. I have some restrictions on my parameters and variables in the equations ...
5
votes
3answers
366 views

Solve for the intersection point of 3 surfaces

Basically, I have three 2-torus (tilted) in 3-dimensional Euclidean space. They are expressed by parametric equations: ...
1
vote
2answers
261 views

Count and plot the number of solutions in an interval

I have equations depending on one or more parameters and I want to find and plot regions in the parameter space in which there is a specific number of solutions. For definiteness let's consider a ...
1
vote
1answer
398 views

solving a cubic equation

I need to find the minimum $r$ and the maximum $k$ of the following cubic equation for which there does not exist three distinct real roots. $rx^3-rkx^2+(r+k)x-rk=0$. Is it possible to find such $r$ ...
0
votes
1answer
541 views

How can I solve this nonlinear system with 3 equations and 3 unknown? [closed]

I have this system with 3 equations and 3 unknowns: ...
0
votes
0answers
298 views

Solve equations real and imaginary part separately

For my system of equations, the procedure described in Solving complex equations of using Reduce works no more. How can I separate the real and imaginary part of ...
2
votes
1answer
327 views

Error/warning when using NSolve for simple equation

I am using NSolve to solve an equation, as shown here: ...
2
votes
1answer
94 views

Finding the root of a nested function with small values

I have reduced an error in my program to this line of code: FindRoot[Nest[# (1 - #) k &, 1/2, 2^4] - 1/2, {k, 3.5}] It works for $2^1, 2^2, 2^3, 2^4,$ but ...
-2
votes
1answer
175 views

Symbolic Simulations

I have 9 nonlinear equations and 10 unknowns. It is not possible to obtain a numeric solution but I do get a parametric solution. It is useful in my case because I want to observe how parameters (p1, ...
3
votes
0answers
279 views

FindRoot gives a wrong solution which obviously should not be there

I got stuck on FindRoot and I didn't see any similar problem posted, so let me explain what I am trying to do and what problem I meet here. I try to find roots of a particular function, which in the ...
2
votes
0answers
126 views

Nest for large value of n

I am working on a problem to find the Feigenbaum constant. In this problem I have to get $f^{2^n}(1/2)$ with $f(x) = kx(1-x)$. I use Nest to get $f^{2^n}(1/2)$ but ...
2
votes
1answer
119 views

Solving a system of equations

Mathematica doesn't want to solve my exact system with 3 equations and 3 variables. ...
7
votes
0answers
359 views

Creating and using an explicit piecewise function in a convenient way

I have a set of data points that define a function in the form curvePts = {data1,data2,...} where ...
-4
votes
1answer
322 views
2
votes
1answer
150 views

A basic problem with Solve

I have this equation: 4b*Cos[2t]-4a*Sin[2t]==4Cos[2t]+8Sin[2t] Which I would like to solve. Without using mathematica, you can pretty easily see that a = -2 and ...
3
votes
2answers
236 views

Mathematica does not understand (R^3)^(1/3) is the same as R [closed]

In the output from a calculation in mathematica stands a/((R^3*c)^(1/3)), with c and a ...
2
votes
0answers
196 views

Conditional statements in intial conditions?

This is potentially a daft question, but I thought I'd ask it; I have some material free to diffuse in a boundary between rn and ro; I've been able to get it working nicely for neumann type boundary ...
0
votes
0answers
159 views

Simultaneous Equation Solving Under Nonnegative and Bounding Conditions

I have nonlinear equations to solve parametrically; ...
11
votes
1answer
154 views

ToNumberField won't recognize Root as an explicit algebraic number

In Mathematica 9.0.1, it appears that ToNumberField will not always recognize a Root object as an explicit algebraic number. ...
0
votes
1answer
175 views

solution of differential equation

I have the following code that gives you a phase portrait of a 2d system and I can't understand what means the 3rd and 4th line (sol1 and sol2). ...
0
votes
1answer
82 views

Define variable relationships and dynamically update variables

I would like to define a relationship between 3 variables first and then later when I have filled two of the variables with a number, I would like to extract the value of the last value. For example: ...
0
votes
1answer
78 views

How to delete duplicate solutions of this system of equations?

I want to find vertices (has integer coordinates) of the triangle $ABC$ with the centorid is $G(1,1)$ and orthocenter is $H(3,3)$. I tried ...
1
vote
1answer
218 views

Solving Intervals

In a recent question I posed, it was noted that by design, Sqrt[ blah] only returns the positive branch, even though we might want to obtain all possible symbolic solutions. So, taking care to avoid ...
6
votes
1answer
136 views

Why is FindInstance failing when I relax a set of constraints?

I'm attempting to use FindInstance to generate coordinate sets for plausible triangles with edge length distance constraints. E.g.: ...
4
votes
1answer
363 views

How to solve this equation with integers as a solution?

I want to solve the equation $$x^y + y = y^x + x$$ with $x$, $y$ are integer numbers. I tried Solve[x^y + y == y^x + x, {x, y}, Integers] How to solve the ...
0
votes
0answers
180 views

DSolve::overdet for system of linear PDEs

I would like to resolve symbolically the following equation: ...
5
votes
2answers
245 views

Using RSolve correctly

I am having problems persuading Mathematica to solve even the simplest recurrence relations. As an example, how would you do the following? ...
0
votes
0answers
143 views

Defining and Solving Systems of Equations Using Matrix Tables

I've defined a system of equations, but I been unable to get Mathematica to solve for the individual variables created by matrix tables. ...
1
vote
2answers
895 views

Using FindRoot with an interpolating function

This question bears resemblance to a few other questions on mathematica.SE about finding points of intersection of crossing curves. I know that the guidebook of numerics has an entry about the whole ...
5
votes
3answers
315 views

Solving a system of equations with conditions related to the number of solutions

The equation below describes a conic with oblique axis: $$9 + 22 x + 9 x^2 + 46 y + 24 x y + 16 y^2=0$$ It is a parabola, as the coefficients in $x^2$, $y^2$, $xy$ form a perfect square. To find the ...
3
votes
1answer
100 views

Find point at which equation stops having roots (if it exists)

I am interested in the roots of this function: f[M_, b_] := 1 - (2 M Gamma[2, 0, (1/M + b M)/Sqrt[b]])/(1/M + b M) for fixed values of b. In particular I want ...
0
votes
0answers
154 views

Finding all roots of the system of two complex equations

I need to find all roots for the system of two complex equations. Obviously I can rewrite them as 4 real however problem remains. I have looked through routines connected with using ContourPlot ...
0
votes
1answer
86 views

Plotting query - same values on Y-axis / viewing data

I'm new to Mathematica, and have numerically solved two similar functions with the following code; ...
0
votes
1answer
182 views

Solving a system of equations using subscripted variables

I want to solve this equation: X(i, j) + C*Y(i, j) = Z(i, j) Where ...
0
votes
1answer
307 views

Upper bound for x

I want to ask a question about Reduce. I have a function, say f[x]. When I use the command ...