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

learn more… | top users | synonyms (4)

6
votes
3answers
47 views

Minimizing a function with a constant $l > 0$

I'm VERY new to Mathematica and would like some help with minimizing a function. $$f(x) = \frac{1}{2} \sqrt{\frac{\left(l^4+x^4\right)^2}{l^4 x^2}}$$ I want to find which $x-value$ (probably ...
0
votes
0answers
34 views

Plotting the real positive solution to a parametric equation [duplicate]

I have the following parametric equation $$ x^2-a=0 $$ where $a$ is a given parameter. I would like to plot the nonnegative real root ($\sqrt{a}$) using NSolve as $a$ varies from $0$ to $1$. Can ...
0
votes
0answers
36 views

How to assign equation solutions to variables [duplicate]

I have 12x12 Matrix with which I have to solve the equation below: ...
0
votes
1answer
47 views

Searching in parameter space for a given number of solutions

I have this problem : I have some function g[a,b;x], where a,b are parameters and x is a variable. I know (graphically) that an equation g[a,b;x]=0 has zero, one or two solutions. I want to keep 'a' ...
0
votes
0answers
66 views

Solving a set of equations

I have x = {1, ..., 10} and y = {11.33, 12.63, 12.08, 11.17, 10.24, 9.41, 8.67, 8.02, 7.45, 6.96}. I am trying to fit a model ...
1
vote
0answers
72 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
75 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
37 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
36 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
42 views

Apart for complex roots?

Let p[x] be a polynomial in x and consider the partial fraction decomposition of 1/p[x]. ...
-4
votes
1answer
47 views

Intersecting Point of Paraboloid and Plane [closed]

Find the intersecting curve/points of the paraboloid $z=\ e^{-x^2}(y^2+1)$ with the palne $12y+z=1$
0
votes
0answers
36 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
74 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
32 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
134 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
43 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
88 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
68 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
73 views

Numerical solution of two equations in two functions

I would like to obtain a solution to the following two equations ...
0
votes
1answer
69 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
38 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
34 views

Solve fails when another term added to an equation

These equations take 2 minutes for my computer to solve: ...
4
votes
1answer
172 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
47 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
71 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
104 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
114 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
98 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
76 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
108 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
64 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
63 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
83 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
64 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
179 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
117 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
114 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
55 views
1
vote
0answers
33 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
40 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
148 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
65 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
87 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
47 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
63 views

Trouble representing an equation

I'm having trouble representing the following as an equation ...
0
votes
1answer
117 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
108 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
229 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] ...