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

learn more… | top users | synonyms (4)

1
vote
0answers
89 views

Equation Solving

As I stated in this question I want to solve a series of equations while setting some rules such as q[2]->1 or q[2]->3*10^-4. However, what should I do if I want to set another rules to my input? I ...
0
votes
1answer
78 views

Non Linear Equation Solving with Matrices

Suppose I have the following matrix equalities: A=X, B=Y where the left-hand side matrices are numeric and the right hand side contains non-linear combinations of unknowns. Since I have quite a few ...
1
vote
0answers
51 views

NDSolve: Equation with interpolating function [closed]

I have a question regarding DSolve and NDSolve functions in Mathematica 10. For instance, I'd like to solve an ODE: ...
0
votes
1answer
41 views

Finding a solution when there are two piecewise functions at play

The goal is to mathematically figure out where is the point when the both of the diagrams are the same distance to the Y-axis. The solution to such a problem can be obtain quite easily by just ...
1
vote
0answers
56 views

Apart for complex roots?

Let p[x] be a polynomial in x and consider the partial fraction decomposition of 1/p[x]. ...
0
votes
0answers
39 views

Use Solve on a column vector while taking the derivative

I have the vector Y defined below. I would like to solve for $\frac{\partial Y}{\partial cd} = 0$. If I execute Solve[D[Y,cd]==0,cd], Mathematica runs for a long ...
0
votes
1answer
76 views

Solving A Series of Equations

I want to find the solutions of a series of equations as I stated in this question before. I understood how to solve the equations by maximizing the value of a variable but now I want to find the ...
0
votes
0answers
35 views

Order of evaluation when using Solve and Minimize

I have to solve numerically an integral, that ends up being more or less as follows: Solve[f[x]==a*Sum[Sin[x-i]*(f[i]-f[i-1]),{i,1,x}],f[x]] (not actual ...
1
vote
2answers
176 views

How to obtain all solutions for Cos[x] Cosh[x] == 1?

Both analytical solutions or all numerical solutions are good enough. FindRoot may be a possible solution, any better solution? ...
0
votes
0answers
50 views

when DSolve fails

I am doing this mathematical problem $c*G_{vv}+ d*G_{u} + e*G_{v} +f*G=0$, where $c, d, e$ and $f$- are constant coefficients. I already know that this is second order PDE and we classify it by ...
1
vote
1answer
94 views

strictly positive solution to $Ax=b$

How to find in mathematica one real strictly positive solution, if any, of $Ax=b$. A is rectangular matrix. Thanks
2
votes
1answer
147 views

Seeking simple function in interval

I am a bit rusty, and struggling to solve this problem. Looking for a simple, well behaved parametric function f[t], from [0,1] to [0,1] such that: f[0] = f0; f[1] = f1; f'[1] = ff1; where -1<= ...
1
vote
2answers
76 views

How to find roots of a system of equation when number of equations and variables don't match?

I'm trying to check if a system of equations has a solution around a given point, the problem is that I'm using FindRoots and doesn't work when there are a different number of equations and variables, ...
1
vote
1answer
81 views

Numerical solution of two equations in two functions

I would like to obtain a solution to the following two equations ...
0
votes
1answer
74 views

Mathematica answers `Solve[Integrate[f, x] == x^4, f]` wrong [closed]

The input Solve[Integrate[f, x] == x^4, f] ouputs {{f -> x^3}} Why?
0
votes
1answer
48 views

In which condition releated to thee coefficients some equation has a solution

Please excuse me if the question seems to commonplace. Can Mathematica give a response to this question: In which condition related to the coefficients $c>0, \, n\geq 2, 0<p<1,\, a>c$ ...
0
votes
0answers
39 views

Solve fails when another term added to an equation

These equations take 2 minutes for my computer to solve: ...
4
votes
1answer
191 views

How to solve this Integral equation

D[x[t] - x[t - 1]/(2 E), {t, 3}] + Integrate[E^(-δ)*x[t - δ]/5^t, {δ, 2, 2.5}] == 0 I found solve this problem is hard with Mathematica. I also find a article ...
0
votes
1answer
53 views

How to put constraints on NDSolve[] solution

Assumed the following example of double pendulum by Thison (Answered by Jens): Animation of double pendulum Imagine that in the given animation(i.e. http://i.stack.imgur.com/p4TgL.gif ), the second ...
-1
votes
1answer
74 views

How to “Control” the Type of Solutions Mathematica Produces Using the Solve Function

Given multiple fractions I am using the Solve function to find the values of the variables $x[1],\ldots,x[7]$ such that the numerator and denominator of each fraction are both 0. I usually have ...
1
vote
1answer
144 views

This system cannot be solved with the methods available to solve

I know questions about this warning have been posted a thousand times over. But I really couldn't find any solution that worked in my case. It's quite simple: ...
0
votes
2answers
62 views

NSolve gives {{ x -> #}}, How do I make x = #; I need to use the x value again later

I want to use: demand = {1.92, 2.07, 2.37, 2.72, 2.87}*10^6; NSolve[SetV == demand[[1]]/(Cpf (1 - χ)), χ] I want to make a vector of solutions ...
0
votes
2answers
117 views

Systems of equations

As I stated in this question I am trying to find the roots of a set of equations. I followed the instructions that the answer gave me and Mathematica gave me the solutions. 1- However whenever I try ...
2
votes
0answers
103 views

What are the steps using boolean algebra for transforming one equation into another?

I have a special case where I have two equations, which I have solved in a better and quicker way, but I need to solve with Boolean algebra. Using the laws of Boolean algebra, I have to prove that ...
1
vote
1answer
81 views

How To Replace $\rightarrow$ by $==$ in Mathematica's Output when using Solve

I want to create equations out of the output (solutions) produced by Mathematica when using the Solve functions. For argument's sake, consider the following. ...
2
votes
0answers
116 views

Volterra integral equation

I have to find an approximate numerical solution for the equation $$ F(x) - \lambda \int\limits_1^{x} \text{d}s \;s^2 F(s) Z(x-s) = G(x) $$ $$Z(s) = (\psi''(1-2\ h\ i\ s)- 0.5 \psi''(1-2\ h\ i\ s))$$ ...
2
votes
1answer
73 views

Multiple dynamic equations for plotting?

Say I have a bunch of equations between variables e.g. h=bcd, i=hce, j=ihbd, ...
1
vote
1answer
69 views

Non-linear system of equations with a parameter

I want to solve k*x-(x-y)*y^2==0 and y+(x-y)*y^2-(1-x-y)==0 for -10 < k <10 How ...
3
votes
1answer
87 views

Solving simultaneous systems of linear equations

I have several systems of linear equations in matrix form, and I would like to find the $\vec{x}$ that simultaneously solves them: $$A_1\vec{x} = b_1$$ $$\vdots$$ $$A_n\vec{x} = b_n$$ Is there a ...
2
votes
0answers
70 views

How does Mathematica resolve symbolic systems of inequalities?

Before getting into my (probably annoying) question, let me provide some context: I recently started using Mathematica to automatically perform stability analyses that I previously did by hand. A ...
3
votes
1answer
184 views

Solving a large system of nonlinear equations

I have a system of 80 nonlinear equations with 64 variables to solve in Mathematica but it takes a lot of time (about two hours) and then it return "no more memory available" knowing that I have 8GB ...
2
votes
1answer
123 views

Catastrophic loss of precision

while I am trying to solve the double integral in the range of 0 to Infinity (for both the integral) it give me the error Catastrophic loss of precision in the global error estimate due to ...
2
votes
2answers
124 views

cycloid parametric [closed]

How do I enter 3 parametric equations for cycloids corresponding to circles with radii 1, 2, and 4. I have tried ...
0
votes
1answer
60 views

How to re-express solution to system of equations after truncating the solution at a given order to give an exact answer

I have a simple enough system of two equations that need to be inverted: ...
1
vote
0answers
36 views

Resolve not accepting equations involving factorial

If I take , Resolve[ForAll[x,x!>=0],Integers] True But if I make slight modification, ...
0
votes
1answer
47 views

How to find the Nth zero of a function

It's an almost same question with "a multiple roots finding" but, the order of roots is important in my case. Basically, I'm trying to find Nth crossing point of the following graph: ...
2
votes
2answers
150 views

How to Map each cell in a matrix to another and solve the system?

tab1 = {{a1, a1 + a2}, {b1, b2*b2}} tab2 = {{2, 5}, {5, 2}} I want to map like this ...
0
votes
1answer
70 views

Plotting and Analysing derivatives of solution of differential equation [closed]

Using NDSolve I found the solution for the differential equation that governs the dynamics of a simple pendulum. How do I plot the derivatives of the solution? Also, I would like to find the ...
0
votes
2answers
89 views

Finding an idiomatic way to express a system of linear equations

I have an $n$ x $n$ matrix $T$, where $t_{ij}$ is the element at the $i\,$th row and $j\,$th column, and unknowns $x_i$, $1\leq i \leq n$, where $$x_{n} = 1$$ $$x_{n-1} = 0$$ $$x_i = \sum_{1\leq j ...
1
vote
1answer
49 views

Missing solutions for complex equation system

I am currently working on a game-theoretic paper and trying to match two complex best response functions. The equation system includes two decision variables x and ...
0
votes
2answers
65 views

Trouble representing an equation

I'm having trouble representing the following as an equation ...
0
votes
2answers
195 views

Simplify trigonometric equation knowing that $\sin(a)=n \sin(b)$

I was working on a problem involving trigonometry. I used Mathematica to help me in solving it. I ended up with this formula: ...
1
vote
1answer
113 views

Why is ((v k)^-n (k v^n - v k^n))/(n - 1) == b so hard for Mathematica to solve (for v)?

I've tried using both Solve and Reduce. For something that takes maybe 3 minutes to solve with paper and pencil, I'm very ...
5
votes
3answers
243 views

Equation is solved quickly using Solve but takes too long using NSolve

I have the following simple command to solve for h in an equation: Solve[(1 - 2.25577*^-5*h)^5.25588 == 0.9644952131579817, h] ...
1
vote
1answer
62 views

Plotting the results of NSolve as Horizontal Lines

Suppose I use NSolve to find the Real approximations to the intersections of two separate functions over some specified range: ...
0
votes
0answers
76 views

simulate a 32-bit signed integer overflow in a recurrence function

Considering the following recurring equation: which is this factorial function: I want to find the value of x where f(x) = 0. Actually, the solution is impossible with Mathematica, and it's ...
1
vote
1answer
75 views

solve recursive factorial function [closed]

Is there a way to solve this recursive factorial function? a[n + 1] = (n+1)*a[n], a[10]=10 I am looking for the value of a[n] ...
0
votes
1answer
63 views

How large can be the dimension of a complex matrix which Mathematica can handle to find its eigenalues?

I have been working with 12 cross 12 complex matrix in Mathematica , I need to work with bigger size matrix of the dimension of the order of hundreds , I was wondering if Mathematica can handle ...
4
votes
1answer
86 views

Solve or preferable Reduce equation

I am new to mathematica and trying to solve and reduce the following: Solve[1 - (1 - p^y)^(u (1 - p)) == a, y] or ...
1
vote
1answer
81 views

Solve for values which produce negative real Eigenvalues?

Given an n x n matrix "A", with one or more unknown parameters, I'd like to show a plot of which values produce stability (negative Eigenvalues). For example, say you have a simple mass-spring-damper ...