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

learn more… | top users | synonyms (4)

0
votes
0answers
38 views

Symbolically solving a system of nonlinear equations

I am trying to solve the following system of equations and did the following ...
0
votes
1answer
58 views

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

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

Searching for roots of complex function

I'm searching for roots of complex function $$ 2\imath q \ln(-2\imath k)+\imath\pi-2\imath \Im(\ln(\Gamma(1+2\imath q)))+\ln(\frac{\Gamma(1+\imath q-\imath q x/k)}{\Gamma(1-\imath q-\imath q ...
-2
votes
0answers
42 views

Help with NDSolveValue

I have a small problem solving Schrödinger equation. Here's setup: ...
0
votes
1answer
263 views

Solve non linear system of equations

I am trying to solve a system of two equations with two unknowns. In these equations I have, a part from constants: Unknown nr 1, $$D_{\perp}$$ Unknown nr 2, $$\omega_C$$ Known function of r: ...
0
votes
1answer
65 views

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

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

Mathematica takes too long to solve this

I have the following system of equations: ...
1
vote
2answers
1k views

Tricks for solving (lots of) coupled nonlinear equations numerically?

I have a system of 6 non-linear (quadratic) coupled equations with 6 complex unknowns \begin{align*} |x_1|^2 + |x_2|^2 + |x_3|^2 &= a\\ x_1 x_4^* + x_3 x_5^* &= b + c i\\ x_1 ...
0
votes
0answers
52 views

What is the meaning of a result of {{}}? [closed]

What does an output of {{}} mean in Mathematica after solving a system such as: $e^{x}=e^{x}$ for $x$?
0
votes
0answers
42 views

Extract the minimum positive root from a quintic [closed]

I need to compute the values of ϵϵ and x2 from the following sytem: ...
3
votes
3answers
94 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
59 views

Why does Mathematica have trouble with this simple set of simultaneous equations? [closed]

The code in question is: Solve[{x == r*Cos[\[Theta]], y == r*Sin[\[Theta]]}, {r, \[Theta]}]. I'm a newbie so this might be fairly basic, but shouldn't this work? ...
0
votes
0answers
71 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
55 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 ...
0
votes
1answer
170 views

Minimize: How to work with specific numeric types

This is a question about the use of symbols in Minimize and how to persuade Mathematica to treat them in a specific way (as integers or rationals) that I have not ...
4
votes
1answer
149 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
88 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{ ...
4
votes
0answers
93 views

Is there a relatively quick way to solve my integer-valued equation?

This is a very simple problem. It can be solved by nested Forloops that exhaustively test every possible case, throwing out all non-solutions. Find all the ...
7
votes
1answer
129 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
51 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 ...
0
votes
0answers
55 views

How to find roots of a general 4th order polynomial equation [closed]

I have a fourth degree equation with 3<b<4 (if that helps): ...
5
votes
1answer
94 views
0
votes
0answers
53 views

What methods does Solve use?

Could you tell me which method that Solve applies to solve linear and polynomials equations?
7
votes
1answer
165 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? ...
2
votes
0answers
52 views

How to solve for exponents in an infinite product?

Say I have a power series, $f(x,y) \in 1 + x\mathbb{Z}[[x,y]]$ Then it admits a unique expansion $$f(x,y) = \prod_{i=1}^\infty \prod_{j=0}^\infty (1 - x^i y^j)^{n_{i,j}}$$ for some integers, $i, ...
6
votes
2answers
225 views

Using NSolve in the complex plane

I am trying to find numerical values for $\Im\ e^{\frac{1}{2} +i\ y} = \Im\ \zeta(\frac{1}{2} +i\ y)$ for a given range. I have tried: ...
3
votes
1answer
145 views

Issue in ParallelTable after evaluating another function using NDSolve and FindRoot. What is wrong with this inverse?

I am trying to find the inverse of a function which is defined through NDSolve and NIntegrate. The question is pretty similar ...
0
votes
2answers
101 views

Find Root Iteration

I have an iterative sum from $k=0$ to $k=n$ where the resulting sum is a polynomial of degree $n$. I want to find the numerical root of this polynomial using FindRoot, starting from $x_0$ where the ...
5
votes
3answers
216 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) ...
4
votes
2answers
80 views

Can't solve equation having complex coefficients

Why can't Mathematica solve $\quad\quad\frac{1-i}{\sqrt{2}}=e^{i \alpha } \tan \left(\frac{\beta }{2}\right)$ with the restrictions $\alpha \in [0, 2 \, \pi)$ and $\beta \in [0,\pi]$: ...
4
votes
3answers
132 views

Regarding how to use Reduce

Say for example I am doing the following in Mathematica ...
1
vote
1answer
90 views

Need help solving a system of two 1st order nonlinear differential equations

The original system of equations reads: $\begin{cases} f'(r) + f(r) \left(a(r) - \frac{1}{r}\right) = 0,\\ f^2(r) + a'(r) + \frac{a(r)}{r} - 1 = 0\,, \end{cases}$ with boundary conditions $f(0) = ...
0
votes
1answer
50 views

How to find the value of a solution of an ODE at a particular point [closed]

I'm trying to find the value of $z(y)$ at a particular time, say $y=0.5$. I've solved the differential equation. I tried using z3 = z[3] /. sol, but it's not ...
0
votes
1answer
144 views

Solving System of Nonlinear with Three Differential Equations

I've been trying to solve a system of nonlinear differential equation, but the conditions are a bit weird. Two of the differentials equate to the same equation, but have different boundary ...
0
votes
0answers
35 views

Difficult to solve the equation using FindInstance and not able to solve it numerically

I hope to find the range of a which leads to non-zero solution of H when you are given a specific value of B. And I hope to get ...
3
votes
1answer
89 views

Already solved DE, now I need to rearrange and plot

I have solved for $z(w,x,y)$ in a differential equation: $$ 3\frac{\partial z}{\partial y} = 2(z-1) + (1-wy^2 )x $$ And I obtained the general solution: $z = f(w,x,y)$ Now putting in $x=0$, we have ...
0
votes
1answer
97 views

Solving a Trigonometric parameter

I have a similar case as given before : Solving a Trigonometric function with one parameter Let: m = 1; Dx = 100; ν = 0.25; b = 1; and, ...
1
vote
1answer
45 views

Solved the differential equation, how to rearrange to find solution? [closed]

I have solved for values of $y(x)$ from $1 < x < 2$ and plotted them: ...
0
votes
2answers
66 views

Solve simple differential equation - Error?

I get the error "The function Te appears with no arguments." when running this code. I'm not sure why. Is it because of the $Abs[\Gamma]$ ? ...
0
votes
0answers
61 views

Best way to determine polynomial coefficients in series expansion

I would like to solve the equation $$h'(\boldsymbol{x}_1)\left[B_1\boldsymbol{x}_1+g_1(\boldsymbol{x_1},h(\boldsymbol{x}_1))\right]=B_2h(\boldsymbol{x}_1)+g_2(\boldsymbol{x}_1,h(\boldsymbol{x}_1))$$ ...
0
votes
1answer
137 views

Could not solve a set of equations with available mathematica tools

The problem I described below is an simplified way of expressing it.(Sorry that I still did not figure out a way to copy the code to here.) The actual equation is like What I am trying to find is ...
10
votes
2answers
275 views

Solving the magic backyard puzzle with MMA

I was trying to solve this puzzle using mma It looks like the generalization of the magic square. Anyway here my attempt:- There are four columns $(x,y,z,w)$ and nine rowa which are denoted by the ...
2
votes
0answers
79 views

Quartic equation

After using Solve I am choosing the physical root of my equation and dealing further with this root. However, when I am changing parameters using Manipulate, I clearly see not smooth behaviour. Is ...
0
votes
1answer
112 views

Finding solutions of polynomials system

Let $f_1,...,f_n$ be a set of polynomials in $x_1,...,x_n$ with rational coefficients. I need to check whether a system $$f_1=a_1,...,f_n=a_n$$ has a real solution for large enough count of points. ...
0
votes
0answers
52 views

Using Solve but getting no output

I am trying to solve a model using a constant-elasticity-of-substitution production function, but when I try to solve the first order conditions, I just keep getting back what I typed. ...
0
votes
1answer
161 views

Problem with Plot and ParametricNDSolve

This is my first question on this site, I hope it is written in an understandable way. Let's start. My aim is to plot a certain parametric region, with $x$ and $y$ coordinates given by the following ...
0
votes
1answer
54 views

Solving equations with QuantityVariable

I'm trying to understand how to easily solve equations that use QuantityVariable. Why does this fail? ...
1
vote
4answers
161 views

How to extract only real solutions from the result of Solve

For Example, I have the following polynomial equations: $$ \left\{ \begin{array}{ll} \dfrac{2025 (208 x+5 (y-3446))}{52 (y+90)^2}+\dfrac{300 (8 x-21 y+1920) (y-80)}{7 (x+30)^3}+\frac{300 (80 x-21 ...