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
52 views

Problem with solving coupled differential equations

The following code seem to produce an output that appears to be independent of the parameter "fg". It is possible that the way the code is written might be causing it, but how can one fix this ...
0
votes
0answers
42 views

Trying to find parameters for a system of inequalities

So I have a system of 4-dimensional system of ODEs and I'm trying to find any values of parameters that satisfy properties I need. In this picture, I want two basins of attraction, one of which the ...
25
votes
1answer
285 views

Solve slower in versions 9 and 10

With some systems of equations, Solve is much slower in versions 9 and 10 than in earlier versions, apparently because it is doing more simplification of the ...
4
votes
2answers
50 views

Inputting values into the variables without having to input the matrix all over again

I'm practicing using LU decomposition on Mathematica. I am able to find the L & U matrices, specifically the variables. However, i find it tedious having to input the newly found values and form ...
0
votes
0answers
26 views

How to use function, NIntegrate, FindRoot together? [duplicate]

Using a function in NIntegrate works fine... ...
2
votes
1answer
88 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
63 views

Multivariate Equation solving [closed]

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. ...
2
votes
1answer
99 views

Solve an inequality involving a sum with a parameter

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 parameter? When I do ...
1
vote
0answers
52 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
528 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
32 views

Finding solution of equation with differentials [closed]

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
33 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
76 views

Exclusions found but Solve and Reduce don't find exclusions

I have the following from Stan Wagons Mathematica in Action. ...
2
votes
1answer
38 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 ...
1
vote
0answers
127 views

Numerical solution to integral equation

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
130 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
62 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
89 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
67 views

Solve: Changing parameters breaks the solution

I have the following code: ...
0
votes
1answer
67 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
56 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 ...
4
votes
1answer
279 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
55 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 ...
5
votes
2answers
130 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
45 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
266 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
63 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
93 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
61 views
0
votes
1answer
71 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
90 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
132 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
101 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
2
votes
3answers
172 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 ...
2
votes
1answer
71 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
65 views

Reduce Inequality

How can I reduce the inequality in terms of modulus of alpha. ...
1
vote
0answers
63 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
85 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
85 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
191 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
74 views
2
votes
2answers
147 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
61 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 ...
1
vote
0answers
38 views

DSolve -> no results

I am trying to solve a system of differential equations. ...
0
votes
2answers
56 views

NSolve not solving [closed]

I've been working on a Newton Cooling equation problem for my diff equ class and cannot get NSolve to solve this equation. I've plugged it into Wolfram Alpha and my ...