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
1answer
83 views

NSolve for complicated equation involving double cross product

I have the following issue. I am trying to solve a 3-vector equation for the vector slx, sly, and ...
2
votes
1answer
126 views

Double integral changing the limits

This integral does not evaluate: Integrate[ Integrate[1/(E^((a - c)^2 + (b - c)^2) ), {c, 0, 1}], {b, -Infinity, Infinity}] However, reversing the integrals ...
2
votes
0answers
118 views

Solving a system of two nonlinear equations with many symbolic parameters

I have two nonlinear equations with two unknowns, $x$ and $y$, and many symbolic parameters, $a, b, c, d$. They look someting like: $\frac{1}{x}(1+x)^a (1-b)(cx+dy)=0$ ...
2
votes
1answer
109 views

How to figure out whether a nonlinear inequality holds or not

I have an inequality consisted only of seven parameters as follows: $(1 + g)^{-(m+w)}\big[\big\{a+(1-a)(1 + g)^m\big\}(1 + p q)Q - (1 + g)^w \big\{(1 + g)^m (1 + q)-(1-p)q\big\} Q\big] < 0$ ...
2
votes
1answer
66 views

Find constants in a function? [closed]

Let's say I have a function f[x] with n constants, e.g. f[x] = c1 * x + c2*x^2 + ... + cn *x^n I also have n conditions to find those constants, e.g ...
0
votes
1answer
83 views

How can I resolve the insufficient memory to complete the computation problem for solving function with iterated variables?

I am trying to solve for a value x in a function where the variables varies with iterations of K. Also, there is one variable called "rvsum" which is updated with a certain formula as well. I have ...
0
votes
2answers
89 views

Replace $z$ with interpolated function and plotting

I start off with this equation $z(x,y) = sin(xy)$. I create an interpolation from $0 < x < 5$ and $0 < y < 5$. I then use this interpolation on a simple function $w(x,y) = x + y + z(x,y)$ ...
4
votes
2answers
360 views
8
votes
2answers
267 views

How can I only draw outer common tangent to two circles?

I have code worked for drawing common tangent lines to two circles(http://en.wikipedia.org/wiki/Tangent_lines_to_circles), now I want to delete the inner common tangent lines, how? ...
4
votes
7answers
785 views

What is the equation to plot a vertical line?

Please help. Trying to find area between three curves, e^-x, x = 2, y = 1. Can't find out how to plot x = 2. Don't want to use ...
10
votes
2answers
652 views

Mathematica isn't sure whether a sum of two positives is positive or not

Mathematica is not able to tell whether a summation of two positive expressions is positive or not. Which is very strange. My three symbolic arguments, $x$, $y$, and $z$, are all real numbers bounded ...
-1
votes
1answer
85 views

Is there a change in V10 with Solve and exponents?

I've encountered a strange problem with V10. I can't quite nail it down, but the Solve seems to be unable to solve equations that it could in previous versions. ...
5
votes
2answers
217 views

Counting Real roots

I'm interested on how to count the number of real roots of a random polynomials in an instant, how to put the result in a table and how to plot it in a graph.I generated 1 million random polynomials ...
2
votes
2answers
219 views

How do I feed data points into an equation to solve NUMERICALLY?

I start with this equation and solve it numerically for $z(x,y)$ in the range $1 < x < 5$ and $1 < y < 5$: $$ \frac{3}{xyz} - 2x - 3y - 5z = 0 $$ Then using the data points of $z$ above, ...
0
votes
3answers
99 views

How to manipulate with external data?

I have a .txt file which contains a lot of triples (a, b, c) (one per row) which should be coefficients of my equation ax^2+bx+c=0. I want to include each triple in .nb file and solve each equation. ...
-2
votes
1answer
112 views

How can I produce a list of solutions for a function which is updated with updated variables using for loop?

I need to loop over a set of equations, solving for X and adding the new X value to the old X value at each step. The output I need is a list ...
1
vote
1answer
94 views

How do I link the txt file data sheet to mathematica and extract exact elements that I would like to use in solving for x? [closed]

I am trying to solve for a numerical solution for an equation which contains variables that evolves as index i incrreases. The actual equation that I am using to extract solution for x with an ongoing ...
1
vote
2answers
93 views

Solving a two point boundary problem for a piecewise system of equations

I'm trying to solve a two point boundary value problem with a piecewise system of equations like: ...
2
votes
3answers
114 views

Solve equations within range and plot [duplicate]

Hi I have these pair of equations to solve: $$ 1 - 3 x y = 5 z - 2 x $$ $$ y = 7 x z - \frac{z}{x} $$ I want to eliminate $z$ and plot $y(x)$ within the range $-2 < x < 2$ and $-2 < y ...
1
vote
1answer
111 views

NDSolve fails for certain choices of parameters and solve range

I'm trying to solve a pair of coupled ODEs with NDSolve. I know roughly what the solution should look like (both should give periodic functions, pi/2 out of phase, the amplitude of which damp towards ...
0
votes
0answers
73 views

Solving a linear system in three unknowns [duplicate]

solve[{2 x + ay - z, bx - 4 y + z, -x + y} == {10, -30, 20}] $$ \begin{array}{lcr} 2x + a\,y - z & = & 10 \\ b\,x -4y + z & = &-30 \\ -x + y & = & 20 \end{array} $$ ...
0
votes
2answers
226 views

How to get a solution for the following equation?

When I try to solve this equation using Mathematica: Solve[Exp[b*x]-c*(x^2)-a*x-1 == 0, x] /. {a -> 6.336, b -> 8, c -> 32} I don't get any result and ...
2
votes
2answers
156 views

How to obtain a function from a implicit equation?

I have (60 - r/2) (70 - ca - r/2) - (60 - r/2 - ca + (4/25) (70 - r/2 - ca))*(70 - r/2)==0 Reduce[%, {ca}] But How could I obtain directly a function as ca[r_] ...
0
votes
0answers
31 views

System of Nonlinear equations with Gamma and Incomplete Gamma function

The next two nonlinear equations are cumulative ratios of a production system. The mathematical model includes two essential parameters (n, tau) that can be obtained by solving this system. I'm ...
0
votes
0answers
50 views

Using implicit function theorem to examine the relation between variables

I have an implicit function with seven variables defined as follows: $F(g,a,b,c,d,e,f)=2g^5 (1+g)^{-(2+a+b)} \Big(f(c-1)(e-1)(1+g)^a - (d-1)(1+g)^b \big(1+ef+(c-1)(1+f)(1+g)^a\big)\Big)=0$ All ...
0
votes
1answer
158 views

Finding real roots for an eigth-degree polynomial

The context for this problem is identical to my first question. Unfortunately my previous result for $L$ was inexact since it was a relatively simple approximation. This time I have managed to produce ...
2
votes
2answers
161 views

Find roots of a function involving Bessel functions

I'm trying to find the roots of a function involving Bessel functions. Here is my code ...
7
votes
4answers
446 views

Solving $L=\frac{3}{2} \sqrt{4 \pi ^2 A^2+W^2}-\frac{\sqrt{5 W \sqrt{4 \pi ^2 A^2+W^2}+6 \pi ^2 A^2+3 W^2}}{\sqrt{2}}+\frac{3 W}{2}$ for $W$

When I solve the aforementioned equation for $W$ or $A$ on Mathematica I get a long and ugly equation in return, namely one of the solutions for $W$ is: (attempt to read at your own health) ...
1
vote
1answer
86 views

Fitting composed model to experimental data

I have mathematical model based on equation: $y(x) = 1 - \sum_{b=1}^{\inf} 2c_b \sin(c_b x/L) \exp(ax) $ (1), where $c_b$ are the positive roots of equation: $c_b \cot c_b + aL = 0$ (2). $L$ is a ...
7
votes
1answer
254 views

Why does Mathematica not give simple solutions to simple system of equations with powers

I trt to get Mathematica getting me the simple solutions for x and y from this system of two power equations: $$\text{Eq. 1: } z=x^{m}y^{n}$$ $$\text{Eq. 2: }z=\tau x^{m-1}y^{1-n},$$ The simple ...
2
votes
1answer
130 views

Find solutions of equation involving Bessel functions

I'm new in Mathematica and I'm trying to find the solutions of this equation involving Bessel functions $$\eta \frac{ J_{n+1}(\eta a)}{J_n(\eta a)}+\chi \frac{ I_{n+1}(\chi a)}{I_n(\chi a)}=0$$ ...
2
votes
1answer
70 views

Numerically solving systems of (first order) linear delay differential equations

I was wondering, how to solve such a system with mathematica? I found the NDsolve function, but in the reference is not mentioned if it is possible to solve a system of equations.
1
vote
1answer
123 views

Eliminate z from two equations in x, y, z and plot y as a function of x [closed]

I have this equation to begin with: $$1 - 3 x y = 5 z - 2 x $$ I want to solve this equation for $z(x,y)$, then plug $z(x,y)$ I plug $z$ inside a second equation: $$ y = 7 x z - \frac{z}{x} $$ ...
3
votes
2answers
227 views

What would be the inverse function for the following condition?

I tried the problem but i couldn't take above condition in question in terms of f(x)
2
votes
2answers
77 views

Extract data from NDSolveValue result

Okay this is a very newbie question. I have coded a sample problem that solves the heat diffusion equation on an annulus. Here's what I have: ...
2
votes
0answers
83 views

Solving a system of difference equations in an exponential steady-state growth setting

I have a system of difference equations in an exponential steady-state balanced growth setting; all variables grow at the same steady-state rate, say, $g$. I use the notations as follows: Variable $X$ ...
5
votes
2answers
279 views

How to get $x$ in terms of $y$ and $w$ from $w = a p x^{p-1} \left(a x^p+b y^p\right)^{\frac{1}{p}-1}$

I'm having trouble to solve the following equation for $x$ both manually and in Mathematica: $\quad \quad w = a p x^{p-1} \left(a x^p+b y^p\right)^{\frac{1}{p}-1}$ In Mathematica notation: ...
0
votes
0answers
70 views

Symbolically solving a system of nonlinear equations

I am trying to solve the following system of equations and did the following ...
1
vote
1answer
86 views

Find the solution of A^2+AB+B^2 = f(a,b,c) [closed]

I wanted to ask the following question: I need to find the solutions (a particular one is enough!) A and B of the equation $A^2 + AB + B^2 = (a^2+ab+b^2)(c^2+cd+c^2)$ How can I do it? Thank ...
1
vote
1answer
66 views

m equations and n variables. Reducing using Mathematica

I have six equations and thirteen variables. I would like to reduce it to seven free parameters. I used Reduce to solve it but it is taking really long (one full day and no output yet) and I think ...
2
votes
1answer
134 views

How to solve three equations with four unknowns iteratively?

I have three equations of the form $\quad \eta = f(N1L, N2L)$ $\quad N1L = g(\eta, R)$ $\quad N2L = h(\eta, R)$ I want to eliminate $\eta$, so that I can get $N1L$ and $N2L$ for a range of $R$. I ...
0
votes
1answer
90 views

How to solve two non-linear equations in two variables [closed]

I am a new user of Mathematica. I have the following non-linear equations in two variables: How can I solve this system with Mathematica?
3
votes
1answer
190 views
3
votes
3answers
126 views

Solving determinant of a Kronecker product of matrices gives a numerical error - why?

I am doing the following steps (code at the end of the post): I start with a 2x2 matrix (smatrix), which is a function of a single variable (u2). I want to set the determinant of this matrix ...
0
votes
0answers
78 views

Using one complicated equation to reduce another

(Relative noob here so don't assume much!) I need to use a vector equation (with $N-1$ entries) in the general form $y_j(x_{i,j},x_{i,j+1},x_{i,j-1})=0, i=1...3, j=1...N-1; x_{i,0}=x_{i,N}=0$, ...
0
votes
0answers
64 views

Making a list of terms ordered by product order

I have some expressions f,g,h that are elements of a symmetric tensor algebra. The expressions are generated by a basis ...
4
votes
1answer
219 views

How to find the integer solution number of a linear system with inequalities?

I have the following system with mixed equality and inequalities defined as: ...
3
votes
2answers
98 views

Trying to solve simultaneous equations based on format found on official website [closed]

$\def\1{x_1}\def\2{x_2}\def\3{x_3}\def\f{f(\1,\2,\3)}\def\bs{\bigskip}\def\b{\begin{pmatrix}}\def\e{ ...
7
votes
1answer
181 views

How to find the positive region of this function?

I'm new-ish to Mathematica and I'm using it to learn the basics of derivative trading (for fun not for trading!). I've defined a simple function to calculate the pay off of a trading on a call. I have ...
2
votes
0answers
74 views

Error when using EquationTrekker

I just got to know EquationTrakker because I need to do phase graphs for my classes. When I load it ...