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

learn more… | top users | synonyms (5)

1
vote
2answers
75 views

Using solve on conditional functions

I know that the code is pretty long, but most of it is just defintion. Do you see why the Solve gives me "his system cannot be solved with the methods available to Solve" back? ...
3
votes
1answer
89 views

Precision of FindRoot

Consider the following code: ...
1
vote
1answer
80 views

How can I solve a set of equations with variables and eliminate a few variables at the same time?

I just started learning Mathematica since I needed for my current research. I'm trying to solve a set of equations with different variables, eliminate a few variables in the set, and express one ...
0
votes
0answers
66 views

Avoiding divide by zero to simplify an expression enough to solve

I have a very complicated expression that I'm trying to set to zero and solve. I simplify by substituting in variables, but Mathematica isn't fully simplifying it -- my guess is because it thinks it ...
9
votes
2answers
278 views

How can I get the solutions of $x^n-x-t=0$ in hypergeometric form?

$x^3-x-t=0$ has three roots that can be expressed in hypergeometric form, for example $$x_1=-1-\frac{t}{2}{_2F_1\left(\frac{1}{3},\frac{2}{3};\frac{3}{2};\frac{27t^2}{4} \right)}+\frac{3t^2}{8} {...
0
votes
0answers
63 views

Why can't Mathematica solve this complex equation?

So I want to find the complex part of Rthev,equate it to zero and solve for ω but it won't let me. Is it because it thinks ...
1
vote
1answer
105 views

Evaluate an integral with parameters

I already asked this on stack overflow but was redirected here. I am trying to solve the (highly non-linear) following system of equations : with and $g_0$, $\Lambda$ are positive constants ...
1
vote
2answers
86 views

Determining the value at which a function becomes non-real or undefined

If I have a function $f(x)$ that I only know numerically and that returns a real value for some range of values $-\infty < x \leq a$ and complex values for $a < x < \infty$, how can I ...
1
vote
0answers
48 views

List within a Do loop, I can't get any values [duplicate]

I am having the following problem. I am trying to get some values from solving an equation and apply them into a list but in the output I get nothing but the symbol of the variable... The code is as ...
1
vote
1answer
44 views

Solve matrix equation for matrix

Is there any function like Solve but designed to deal with matrix equations? Something like: ...
0
votes
0answers
40 views

What is the default method used by NSolve

I have a system of 6 polynomial equations of the form aijk xi xj + bik xi = ck (k=1,2,...,6; summation convention on i & j) I am using NSolve[{eq1,eq2,...,eq6},{x1,x2,...,x6},Reals] What ...
0
votes
1answer
148 views

loops and data file

I have solved a set of equations for a specific given data point and restricted my solutions to 100. then I did TrimmedMean to have the mean value of all 100 ...
3
votes
1answer
342 views

Problems with NDSolve and partial differential equations of several variables

Suppose we have the following partial differential equation: $$ 0 = \frac{ \partial w }{ \partial \tau } + \left( w + \sqrt{ h + \beta } \right) \frac{ \partial h }{ \partial \chi } $$ where $w$ = $w(\...
2
votes
2answers
71 views

solve system including piecewise function

I've read posts about how to do this in a direct way, but the method doesn't work for my simple system? -- see code: ...
0
votes
1answer
1k views
0
votes
2answers
38 views

How to solve equations involving binomial and summation expressions

Mathematica is taking forever to solve the following equation. Is there any other way t solve this equation for x? ...
0
votes
0answers
48 views

Why does NSolve not solve this system of equations on a bounded domain? [duplicate]

I have three functions $E1,E2,E3$ of $t1$ and $t2$. The expressions are slightly complicated and involve trigonometric functions. For clarity purpose, they are given at the end of the question. I wan'...
2
votes
1answer
86 views

Way to simplify an inequality with many variables

my problem is the following: I have three inequalities in five variables $x,u,a,b,c\in \mathbb{R},x>0 $: ...
1
vote
1answer
40 views

Determine parameter from which on there is no more root for a given function

Let $\gamma>0$ be a real number and $\Phi(r)=\frac{1}{r}-\frac{\pi}{4}\left(H_0(r/2)-Y_0(r/2)\right)$ defined on $[0,\infty)$, where $H_0$ is the Struve function of order zero and $Y_0$ is the ...
0
votes
2answers
166 views

Solving Boolean equations

@Artes suggested this code to me to solve this system of equations: ...
0
votes
1answer
64 views

Do not understand the result I'm getting from Solve [closed]

I did Solve[k2 Cos[x] - k1 Sin[x] == 0,x] Since tangent is sin over cos, the solution must be arctan(k2/k1) But ...
1
vote
1answer
52 views

How to solve an iterative integral equation for a function in Mathematica 8.0?

I would like to solve the following iterative integral equation in order to find the functional form of $P_{0}(k)$ numerically and then use it subsequently for the rest of my code: ...
2
votes
1answer
132 views

Undershoot/Overshoot Method for this differential equation?

I have tried to solve this equation for some weeks and I am not capable. I have read in articles that it is easy with an undershoot/overshoot method, but I don't know how to do it. $y''+\frac{3}{x}y'-...
1
vote
0answers
49 views

diophantine linear equation with condition on the sum of coefficients [closed]

I am trying to solve the following diophantine equation x*a + y*b == c where a,b,c are integers and the absolute value of their sums is, for instance, 4. Then I ...
0
votes
1answer
31 views

FindRoot outputs a lot of nlum and ReplaceAll errors before outputting (close) root

I'm trying to find the root of the root function when some other variable is subtracted. I.e. FindRoot[root[theta, r, h]-H, theta] Whenever I do this, FindRoot ...
0
votes
1answer
44 views

Evaluating Root forms in a Table [closed]

When I put a Root form in table, the parameters of the Root form don't evaluate. I don't know how I can indexed values substituted into root form in the table to get have numeric output. ...
1
vote
2answers
135 views

Solving system of equations with (nested) Bessel Functions

I'm trying to find solutions to a system of equations which include Bessel functions. It feels like the problem for mathematica is that the arguments of the Bessel functions are functions themselves ...
1
vote
1answer
71 views

Nonlinear Markov chain (numerical simulation)

Suppose you have a linear Markov process, and you can write it as x(t+1) = Ax(t). Here x is the vector of values, and A is the transition matrix. Since this is linear, it can be solved analytically, ...
1
vote
0answers
86 views

Solve equations with Monte Carlo [closed]

I am dealing with a complicated problem. I will use a simple problem to explain it. I have two variables x and y, and two equations: x+y=A 2x+y=B The value of A and B is determined by measurement, ...
0
votes
1answer
68 views

Stopping NDSolve when encountering stiffness

I am solving a differential equation for different initial conditions using ParametricNDSolveValue. I need to look at the value of the solution at some later point, ...
-1
votes
1answer
115 views

Solve an equation in several variables

I'm new to Mathematica, so my question may be quite trivial, but I need help. Let $F(x,y,a,b,c,d):\mathbb{R}^6\rightarrow \mathbb{R}$ be a function in 6 variables. I need to find conditions for $x$ ...
0
votes
1answer
22 views

build absolute value equations know solution [closed]

We have absolute value equations with unknown coefficients: |x + a| = b and we know solutions: x = 11 and x = 5 We need ...
2
votes
1answer
52 views

Finding an Integer, Unimodular Matrix that connects two given matrices

I have two symmetric, integer matrices, $K$ and $K_2$ which have the same determinant and the same signature (number of positive - number of negative eigenvalues). I want to find an integer valued ...
0
votes
1answer
59 views

Solution of Coupled second-order ODEs and plot the diagram

We have two second-order Coupled differential equations as the followings: $$\left\{\begin{array}{lr} \displaystyle \frac{{{d^2}{y_1}}}{{d{x^2}}} = \{ \frac{{\sqrt {\frac{{1 - {\varepsilon ^2}}}{{{{(...
0
votes
0answers
52 views

The ` in Solve results [duplicate]

I assign the result of a Solve to the variable eq8. Then I attempt to use this result in the definition of a function as follows: ...
1
vote
2answers
84 views

FindRoot with Grad

I want to find a numeric solution using Grad. With Solve, I get ...
3
votes
1answer
227 views

Is there a package to find ALL exact roots of a polynomial, if they exist?

There are polynomials with roots not expressible with radicals but expressible as trigonometric or other functions, for which Solve[] only returns ...
1
vote
1answer
45 views

REAL Roots of a 2 variable Polynomial

I am looking to plot the real zeros of polynomials of two variables in Mathematica, but I have encountered an issue. To accomplish this task I have been using ContourPlot to plot the polynonial f(x,y)=...
0
votes
1answer
63 views

Solve homogeneous system [closed]

Let x^2*y + x^2*z + x*y^2 + y^2*z + xz^2 + yz^2+ xyz =0 x^3-xyz + x^2*y-xyz + x^2*z-xyz + xy^2-xyz - xy*z+y^2*z - xyz+xz^2 - xyz+yz^2 =0 x^3+3*xyz+7*yz^2 + xy*z+y^3+9*y*z^2 + x^2*y+6*xyz+4*y*z^2 ...
0
votes
1answer
63 views

Solving for Polynomial roots

This simple Solve gives the roots of a quadratic: Solve[a x^2 + b x + c == 0, x] However, if I factor the polynomial in terms ...
33
votes
8answers
7k views

About multi-root search in Mathematica for transcendental equations

I have some questions for multiroot search for transcendental equations. Is there any clever solution to find all the roots for a transcendental equation in a specific range? Perhaps ...
0
votes
0answers
55 views

Equation cannot be solved with the methods available to Solve [duplicate]

I am a beginner to Mathematica. I am trying to get the solution of such equation as: Solve[-b*M + L*R - a*M*Log10[L*c + (L*d*(1 - M)*S)/R] == 0, R] Constants are ...
0
votes
0answers
40 views

Create a loop for assignment of Solve output [duplicate]

Is there a way to automatically assign the output of solve to a number of symbols? For example, assume that I have the solve statement as follows: ...
2
votes
2answers
53 views

Difficulty finding roots of an interpolation function from NDSolve

I have been trying to find the point at which one of the solutions of a system of two ODEs crosses zero. I used the method suggested in this answer to a previous question, which seemed to be the most ...
4
votes
1answer
91 views

Trying to create an interactive plot (newbie here)

I'm new at Mathematica so please bear with me. I am trying to create an interactive plot that will end up looking like this: I want to input values for certain variables and then plot a curve. This ...