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

learn more… | top users | synonyms (5)

0
votes
1answer
70 views

Problem in solving non linear set of equation?

I am trying to solve a set of non linear equation but using the function nsolve but mathematica is not giving me proper answer. The code is given below. ...
0
votes
2answers
47 views

Exporting and Importing solution sets from NSolve

I have a rather large data set that I need to solve for, then save to my hard disk and import in the same format at a later time. This proves to be tricky. I use ...
1
vote
1answer
49 views

Solve for a variable using expression involving sum of quantities

I am trying to solve for h1 using function solve as in below code, Expression in solve equates sum of two expression. Both left hand and right hand side of expression is the sum of four quantities ...
5
votes
2answers
257 views

DSolve returns a “wrong” solution

This wrong solution exists from mma9 to mma10.1: ...
0
votes
0answers
38 views

How to solve a system of equations which includes vectors? [duplicate]

I'm starting to wonder if this is something that mathematica just can't do? I thought something like this might work: ...
6
votes
2answers
175 views

Solving a two variable two equation trig expression

I am trying to use Solve to get what two angles (A and B) are in a problem I have. ...
1
vote
1answer
42 views

Reducing a system of vector equations

I'm trying to solve a system of vector equations. I know this is solvable since I've done it myself by hand (I reduced it to solving the root of a quartic anyway). I'm trying to do it in Mathematica ...
3
votes
0answers
81 views

Stability analysis of transcendental equation (stability crossing curves)

I am working with a non-linear delay system with three scalar delays. After taking the Laplace transform of the linearized system, the characteristic function is a transcendental equation with three ...
0
votes
2answers
116 views

Solving an equation takes too long

I am trying to solve the following equation func[a, b, c, d, e] == 0 where ...
0
votes
0answers
60 views

Solving a Transcendental Function of two variables numerically

I have a transcendental function F of two variables, i.e. F(x,y). The function F contains ...
0
votes
1answer
37 views

Defining a function in terms of a solution returned by Solve

The title is a little ambiguous, but I didn't know how else to put it. What I'm trying to do is solve a system of equations ...
0
votes
1answer
66 views

Use FindRoot to get the root with minimum imaginary part

For example, define test[z_] := Cosh[0.5132928614530164 z] + 0.5934823341977118 Sinh[0.5132928614530164 z] And ...
0
votes
1answer
51 views

List manipulation performance or how to make independent list copy

I have a task to solve some system of equations with NSolve and print graph of it, depends on parameters. Something like this (maybe it is not a good example and does not always have a solution, but ...
0
votes
1answer
92 views

Solve ${\rm BinomialDistribution}(x;\,n_1,\,p_1) = {\rm BinomialDistribution}(a-x;\,n_2,\,p_2)$ in terms of $x$ [closed]

I'm totally a novice with Wolfram software, so please forgive me if the question is nonsense. I want to solve the following equation in terms of $x$: $\quad \quad {\rm ...
2
votes
1answer
147 views

NDSolve doesn't work for this simple differential equations

I try to use NDSolve to do this partial differential equations, but the result is wrong... The source term is a Gaussian pulse as time and an exponential decay with the depth z. The result should be ...
5
votes
2answers
153 views

Reduce applied to vectors doesn't work right?

Reduce[{x,0}=={0,0}, x] gives x==0 as it should, but Reduce[{x,0}!={0,0}, x] gives False, which indicates no solution ...
1
vote
2answers
67 views

Substituting solution into the equation

I need to solve 6*6 equations over and over and put the coefficient into the equations again. But I don not know how? Can anyone help me? ...
1
vote
3answers
116 views

NSolve returning an empty set

Dear Mathematica experts. I am a chemist looking to use Mathematica to solve a system of equilibrium equations. I have a system of 8 polynomial (I think) equations with 8 unknowns, yet when I use ...
4
votes
1answer
138 views

How to solve a conditional inequality?

I am trying to use Mathematica to solve a conditional inequality. Find all (real) numbers $a$ and $b$ such that $|a| + |b| \ge 2/ \sqrt{3}$ and for any real $x$ the inequality $ |a\sin x + b \sin ...
3
votes
3answers
295 views

Finding intersections of two parametric curves

I am dealing with the root finding of two parametric data curves (data below). I have already checked Parametric Interpolation of 2D data, which I found useful for plotting, though it is not adequate ...
4
votes
0answers
97 views

Synchrotron Radiation and ListDensityPlot

I'm trying to reproduce this plots: For this task i'm following this blog entry: Synchrotron radiation As you can see there, the task is to make a DensityPlot of a vector field essentially. This ...
0
votes
0answers
34 views

NSolve running for ever

I have troubles running NSolve for my physics problem. I am new to Mathematica, which is why I might be missing some key solutions. I have the following function with the variables: ...
1
vote
0answers
70 views

Solution Branch Switching of Quartic

Im using a closed form solution for quartic equation. In the quartic equation, there are parameters that are being varied and therefore the solution changes depending on these parameters. The ...
0
votes
1answer
98 views

Solve seems broken after I installed the package Tomatlab.m

After I downloaded the Mathematica package ToMatlab.m, Solve does not work as before: ...
6
votes
0answers
100 views

Using a Mathematica index as a DiscreteVariable in NDSolve when solving a coupled set of ordinary differential equations

Context Since the explanation below of the problem to be solved is lengthy, let me preamble this by saying that I have code that works to solve the problem, but I don't know whether (1) it's ...
0
votes
2answers
47 views

Selecting the maximum value from the results returned by NSolve

I'm trying to select the maximum value from the answers Mathematica 7.0 is getting from a simple basic NSolve algebric equation : ...
3
votes
3answers
271 views

Solve: Merging two branches of the solution

I have the following code: ...
0
votes
1answer
48 views

using FindRoot to solve 3 simultaneous equations [closed]

I'm trying to solve 3 simultaneous equations derived from an electrical circuit of a common source amplifier. ...
1
vote
0answers
98 views

How can I improve the solution of my PDE?

I want to improve the last code to find a better solution for umi. For now I'm using only MaxStepFraction. Also, when I put no ...
0
votes
1answer
90 views

A question about calculus and Programming

I am a very new user and I would like to know how to calculate the following operations in Mathematica. Honestly this is not a homework. I am an french architect and I would like to be back in Math ...
-2
votes
1answer
63 views

Sign of a symbolic expression as a function of parameter values

I need to know the sign of the following expression for p[t] = z/(1-a), as a function of the parameters {a, b, c, z}: ...
1
vote
1answer
112 views

Hill function (equation) vs a gene

So im trying to make one equation equal another to solve for all physically realistic values of $X$. Hill function is: $$ F(X)=\frac{1}{1+(\frac{X}{K})^n} $$ and Gene Z equation is: $$ Z(X) = ...
1
vote
1answer
68 views

Trying to find solution for system of ordinary differential Equations [closed]

I've got 2 functions: A'[t] = (0.5/(1 + (B/k1)^n)) - 0.2*A B'[t] = (1/(1 + (A/k2)^n)) - 2*B with conditions of ...
0
votes
0answers
15 views

Recurrent equations [duplicate]

I want to make a relation to show the first 7 elements that don't have the number 7 in it. So far i know how to make it to show the first 7 elements with RecurrenceTable[{a[n + 1] == 7 a[n] + a[n], ...
5
votes
1answer
178 views

Solution to $y = x^x (1-x)^{(1-x)}$ for $x$ [closed]

Does anyone have any insight to a symbolic Mathematica solution to this equation for $x$ in terms of y? Symbolic of any sort, just not numeric. $$y = x^x (1-x)^{(1-x)}$$
0
votes
0answers
69 views

How to determine why Solve[] failed?

I don't know what to make of Solve[] failing on this: ...
1
vote
1answer
83 views

How to speed or help Solve[] when it is stuck?

The code below generates a system of equations that I need to Solve[] for {c[5], c[6], c[7], c[8]} in terms of {c[1], c[2], c[3], c[4]}. ...
1
vote
0answers
45 views

NSolve Duration for simultaneous equations solving

At the moment I am asking myself why mathematica gets to point of needing enormous amount of time to solve equations like these when one more "row" or "colum" or both was added in this equations ...
0
votes
2answers
334 views

Does the equation have two roots? [closed]

I want to solve the equation $$-x^2+\sqrt{2-x^2} \left(x^2+2 x-1\right)+2 x+5=0.$$ I tried ...
5
votes
2answers
156 views

Solve for x given an interpolation function, y

Given a list of data, lst={{x1,y2},{x2,y2},...,{xn,yn}} and the interpolation function fun, y=Interpolation[lst] which ...
3
votes
1answer
114 views

Roots of Whittaker W function

I am interested in finding the roots $u$ of the equation $$ W_{1,\imath b}(a)=0, $$ where $W_{\kappa,\mu}(z)$ denotes the Whittaker $W$ function, $a>0$ is a fixed parameter, $\imath=\sqrt{-1}$ and ...
0
votes
1answer
73 views

Problem using NDSolveValue

Good afternoon, fellas. Could anyone here help me solve this problem? ...
6
votes
4answers
185 views

How to eliminate variables when using Solve[]

In certain problems, we need to solve systems of equations and get results in terms of just selected variables. For example, how could we solve eqn==0 below for ...
0
votes
1answer
136 views

How to convert a system of parametric equations?

I have a system of parametric equations (t is a parameter) ...
2
votes
1answer
123 views

Solving an integral equation numerically

my problem is: I get the result of definite integral and now I need to find the upper limit for the same integral but with opposite sign value so f2=-f1. ...
4
votes
1answer
155 views

Does `Reduce` give complete and necessary conditions?

I want to obtain a solution for a system of five inequalities. For instance, ...
1
vote
1answer
78 views

Why can Reduce solve for Integers but not for Reals?

I'm showing as an image, since the question is generic. If we remove $m$ from the inequality we get both solutions. Why doesn't the first inequality work for both domains? Edit here is the code per ...
1
vote
1answer
74 views

using FindRoot with a Module that takes a parameter

Observed an error when calling a Module from FindRoot. I created a module which first solves a differential equation and then returns the value of that differential equation when the independent ...
0
votes
0answers
46 views

Solving a nonlinear equation involving convolution

I consider the following functional : $\psi(u,v)= -u(1-v)(1-\alpha k * v) + \epsilon v (\alpha k * v)$, where $k(x)$ is a smooth kernel with $\int |k| = 1$ and $\int k_+ = \alpha \in ]0,1[$, $u(x), ...
2
votes
2answers
132 views

Plotting the solution of a cubic equation against a coefficient in the equation

I have to plot the solution of the following equation against the coefficient $L$. Since it's a cubic equation, I'd like to filter out the real solution first and plot that then. The equation is $L ...