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
0answers
22 views

How to find roots of a bi-quadratic equation having symbolic coefficients? [on hold]

I have the following equation with the symbolic coefficients specified using syms which I have been trying to solve in MATLAB ...
0
votes
0answers
18 views

How to use function, NIntegrate, FindRoot together?

Using a function in NIntegrate works fine... ...
2
votes
1answer
62 views

Potential flow over cylinder with FEM: Pressure field is flipped

Much in the fashion of a few problems already answered on Mathematica.SE (1, 2), I am trying to solve the Laplace equation in velocity potential $\phi$ to simulate irrotational, inviscid flow over a ...
0
votes
1answer
54 views

Multivariate Equation solving [on hold]

I have the following equation: r^(1 + Rho) - r^Rho (-1 + Mu) - z Rho == 0 I searched the list but I couldn't come up with a solution. Any help is appreciated. ...
1
vote
0answers
48 views

Find an instance satisfying an inequality involving sums

Good day. I am new to Mathematica and I am looking for advice. Is it possible to solve $$\sum_{k=0}^{n} \frac{p^k}{k!}>0$$ for $n$ where $p$ is a constant parameter? When I do ...
1
vote
0answers
45 views

Use Solve[] with Bessel, gamma, and hypergeometric functions?

I need to find values of {a,b,c} such that the 0th, 2nd, and 4th order moments of f[x]=Exp[-ax^4 - bx^2 - c] will equal respectively {1,2,10}. I didn't really expect this to work, and it didn't: ...
4
votes
2answers
496 views

Order of a pole

Is there a simple way to determine the order of the poles of a rational function? I have a difficult function where I need Mathematica to find the poles. It would be interesting to also know what the ...
0
votes
1answer
30 views

Finding solution of equation with differentials [on hold]

I am trying to find the point of maximum exponential curvature, where the exponent equation is: y = 0.2e^(0.4x) I know the equation for this point is: k = y'' / [(1+y')²]^(3/2) How can I code this ...
0
votes
1answer
28 views

How do I assign the solutions of an equation to separate variables? [duplicate]

I'm a beginner to Mathematica. Here's my question. I'd like to store the output(s) of a Solve command to variable(s) that can be manipulated later. For example, I would like x1 and x2 to be the two ...
2
votes
1answer
66 views

Exclusions found but Solve and Reduce don't find exclusions

I have the following from Stan Wagons Mathematica in Action. ...
2
votes
1answer
34 views

“Reduce” an expression in terms of a sub-expression

Newbie here. I've been trying to use Reduce to solve a rather long equation. The evaluation has been running for more than hour now, but still hasn't stopped. I've got an inkling that if I were to ...
0
votes
0answers
67 views

Numerical solution to integral equation [duplicate]

I have an integral equation where one factor $f(t)$ in the integrand is defined in terms of an integral equation where it is again a factor. $\quad \quad y[t]=\int _0^tf[\tau ]g[t-\tau ]d\tau + ...
4
votes
1answer
119 views

Dealing with 6 VERY large equations. Am I doing this correctly, and can I expect a solution?

I'm new to Mathematica, but so far, everything seems straight forward and intuitive, which is really nice. However, I've come to use this software since I have to show a rather nasty 3x3 matrix is ...
0
votes
1answer
61 views

Why does this evaluate to {}?

I'm stuck with what seems to be an extremely simple issue, still, I just can't seem to find the solution or even the cause of the problem. So my issue is that I have the following surfaces: ...
5
votes
2answers
82 views

How to stop solving after one solution is found?

With[{P = 12}, Solve[{a^2 + b^2 == c^2, a + b + c == P, 0 < b <= a, c > 0}, {a, b, c}, Integers]] {{a -> 4, b -> 3, c -> 5}} ...
3
votes
1answer
64 views

Solve: Changing parameters breaks the solution

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

Solving an NODE in series

How can I solve this NODE in series y''[x]^2 + (1/2)*y'[x] + (1/2) y[x] == p x + q. `p` and `q` are constant. But do not know how to actually solve it with ...
2
votes
0answers
45 views

Is FindRoot wrong about its WorkingPrecision?

I noticed an odd mismatch between the behaviors of NDSolve and FindRoot. If you give NDSolve an equation of a certain precision, say 20, and tell it to use a higher WorkingPrecision, say 30, it will ...
0
votes
1answer
49 views

Solving a differential equation with multiple coefficients [closed]

I have a syntax problem solving a differential equation in Mathematica (10th version). The input for the equation I need to solve is as follows: ...
0
votes
0answers
43 views

Optimal way to search for Fibonacci $≡−1 \pmod {p^2}$ [closed]

I came upon this question, and see a few people brute force searching for a prime $p>3$ such that the Fibonacci number $F_{np}≡−1 \pmod {p^2}$ for some natural number $n$ I was wondering how ...
4
votes
1answer
271 views

How can I tell why Mathematica returns no solution to this system of nonlinear equations?

I'm trying to solve a system of 12 equations and 12 unknowns with the code below. ...
0
votes
1answer
49 views

how to simplify -1 to shared power (produced by Solve)

I want a real solution to look real. But this solution does not: ...
3
votes
1answer
70 views

Solve problem: Inconsistent or redundant transcendental equation

I would like to mechanically Solve[a y == (1 - a) x && u0 == x^a y^(1 - a),{x,y}], given 1>a>0 and u0>0. The emphasis is on mechanically: I know it is ...
-1
votes
0answers
61 views

Solving a general equilibrium model gives blank output [closed]

I'm trying to solve a general equilibrium model on Mathematica 10 but the output I get is just a blank "{}". I would welcome any feedback on whether I am doing something wrong. At the moment its just ...
5
votes
2answers
122 views

How to find an estimated root efficiently with binary stochastic estimation of the function?

I am trying to construct certain nice geometric patterns, and one particular feature I'm trying to optimize is the balance of black and white corresponding to point being inside, or outside a ...
-2
votes
1answer
42 views

Generic approaches for multivariable polynomials across different domains [closed]

Mathematica newbie here. So I don't have a lot of time to read through the whole library of functions and language rules. So I'm trying to settle in on generic ways of doing the math that I'm going to ...
4
votes
2answers
262 views

Can I solve a certain equation?

Neither Mathematica nor Wolfram|Alpha can resolve the following. How else can I reach a solution? Reduce[(1 + x)^(2/m) - (1 - x)^(2/m) == (1 - x^2)^(1/m), x]
2
votes
1answer
62 views

How to solve an equation given certain parameters?

I am new to Mathematica so please bear with me. I have an equation that has around 7 parameters and one unknown. I was able to use FindRoot to solve it; however, I ...
4
votes
2answers
81 views

Plotting results from Findroot

I know this has been asked, but I cannot seem to understand the solutions. What I need to know, because I have my first domiciliary test this Monday, is how to plot the output from ...
1
vote
1answer
56 views
0
votes
1answer
70 views

Find all degenerate eigenvalues of a cubic equation

I have an equation that is cubic in w. The three solutions correspond to bands in a bandstructure, and are a function of wavevector ...
1
vote
1answer
84 views

solving system of non-homogeneous advection equation using mathematica?

This question is followed up from this question How to solve a certain coupled first order PDE system Here I consider the non-homogeneous advection system \begin{equation} ...
6
votes
2answers
128 views

NSolve erroneously gives no solution to a polynomial system

I have a polynomial system with three equations in three unknowns, the maximum degree is 26. Two equations are symmetric, i.e. eq1(x,y,z)=eq2(y,x,z). If I search ...
1
vote
1answer
93 views

How to solve a certain coupled first order PDE system

I would like to find the solution $(U,V)\equiv (U(x,t),V(x,t))$ of the following system. \begin{equation} \displaystyle\left\{\begin{array}{l} \frac{\partial U}{\partial t}+(a+b x)\frac{\partial ...
0
votes
2answers
62 views
0
votes
0answers
24 views

Find Multi-variable intervals with given constraints in complicated expressions

I am working on finding variables' intervals that satisfy some conditions and subject to some relations. At first, these variables have intervals pre-defined as follows: $$0 < \alpha, \beta, ...
1
vote
3answers
151 views

Solve a transcendental equation in Mathemathica

I believe it is called a "transcendental equation", and I would like to find the best possible sollution. I tried to use Solve: ...
3
votes
1answer
153 views

Finding closest point to implicitly defined curve

I'm facing the following problem: Given an implicit curve given by $f(x,y)=0$ and an initial guess $(x_0,y_0)$ which is hopefully close to the curve, I want to find the point $(x,y)$ on the curve ...
-1
votes
0answers
8 views

Create formula to get a value [migrated]

I have clients whichs pay a monthly fee. I would like to know the accumulative total for a given quantity of month for a given fee. Plus I get 2 new clients every month. Let's say a client pays ...
1
vote
1answer
68 views

Solving a transcendental equation

I want to solve the a transcendental equation, e.g. NSolve[-(1-x)*Log[1-x] - x*Log[x] == 0.5, x] Mathematica is not able to solve, wheres WolframAlpha -- is able ...
1
vote
1answer
64 views

Reduce Inequality

How can I reduce the inequality in terms of modulus of alpha. ...
1
vote
0answers
55 views

How to solve a nonlinear overdetermined system of equations

i'm trying to solve a nonlinear overdetermined system of equations (124 equations, 123 variables) i tried this procedure (newton raphson) ...
2
votes
1answer
83 views

Implicit derivatives in one line. How do I do it?

I have this little script to derive implicitly $PrePrint = # /. {D[y_, x_, NonConstants -> {y_}] :> y'[x]} &; Example: ...
0
votes
2answers
84 views

Significantly different results between Mathematica and Wolfram Alpha with large radicals and small numbers [closed]

I have some code which involves tiny numbers being put to the power of very large numbers. The function I'm looking at is $\varphi = \omega(T) \left(1 - (1 - \epsilon)^{n_{e}(T)} \right)$ when ...
5
votes
3answers
184 views

Finding the conditions for degenerate solutions to a cubic equation

I have a cubic equation (corresponding to the band structure of a physical system) given by w in the code below. ...
0
votes
1answer
73 views
2
votes
2answers
144 views

Solving a system of weird equations

I'm trying to have Mathematica solve a system of equations for a friend's work in Computer Vision. I'm essentially going in blind to this and am not very familiar with Mathematica syntax, so would ...
0
votes
1answer
60 views

Removing imaginary and negative results from Solve

I have been trying to solve a series of equations that I know have real positive values for the unknowns (they all have real world analogues and they are not linked to a frequency domain) but despite ...