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

learn more… | top users | synonyms (4)

4
votes
2answers
111 views

Specifying and solving a PDE on an L-shaped domain

I wish to solve Laplace's equation with Dirchlet boundary conditions on an L-shaped domain as described here http://www.inf.ethz.ch/personal/tulink/FEM14/Ch1_ElmanSyvesterWathen_Ox05.pdf I know how ...
6
votes
4answers
106 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 ...
11
votes
3answers
3k views

Solving a time-dependent Schroedinger equation

I want to solve the time-dependent Schroedinger equation: $$ i\partial_t \psi(t) = H(t)\psi(t) $$ for matrix, time-dependent $H(t)$ and vector $\psi$. What is an efficient way of doing this so ...
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
38 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
48 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 ...
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
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: ...
2
votes
3answers
127 views

Is there a way to specify custom domains?

I want to solve for all solutions to the system of equations $a_1 a_2 a_3 b_4 + a_1 a_2 b_3 + a_1 b_2 + b_1 = 0$ and $a_1 a_2 a_3 a_4 = 1$ where the $a_i$'s and $b_i$'s take on values from $\{-1,1\}$. ...
1
vote
3answers
97 views

Can I find constants in a function?

Let's say, I have a function with a constant, e.g. $y(x)=x+c$, and a condition $y(0) = 5$. I want to type in something like Solve[{y[x]=x+c, y[0] =5}, {c}] and get ...
0
votes
1answer
37 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]. ...
6
votes
0answers
127 views

FindRoot kills kernel

Bug introduced in 7.0.1 or earlier. Persists through at least 10.0.2 I'm having problems with FindRoot killing the kernel. In my real application, I want to FindRoot on a black-box function ...
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 ...
1
vote
2answers
135 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
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 ...
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
0
votes
1answer
229 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. ...
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<= ...
0
votes
1answer
81 views

NSolve super slow for a parameter scan

I am using NSolve to solve two equations for two variables while scanning through several values of angles. The strange thing is that when I manual enter a value for the angle and Nsolve the answer is ...
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, ...
4
votes
1answer
173 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 ...
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
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: ...
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 ...
13
votes
5answers
587 views

Solve symbolically a transcendental trigonometric equation and plot its solutions

I currently have the equation below for a beam with a hinge at various locations, the variable a can vary between 0 and 0.5. $$ Tan\left( {a\sqrt \alpha } \right) + Tan\left\{ {\left( {1 - a} ...
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 ...
0
votes
1answer
375 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: ...
1
vote
1answer
106 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: ...
1
vote
1answer
265 views

Why my differential equations become True?

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
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 ...
3
votes
1answer
180 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 ...
7
votes
1answer
641 views

Getting an InterpolatingFunction from a ContourPlot

I have a function, say minimizeme[Ω_][β_][ϵ_] = ϵ^2 Ω - Log[2 (Cosh[2 β] + Cosh[2 β ϵ])]/(2 β); I want to find its critical points in $\epsilon$ for a given ...
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 ...
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))$$ ...
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. ...
0
votes
1answer
220 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 ...
1
vote
1answer
50 views

RSolve works slow and does not give an analytical solution for solving high order linear difference equations

RSolve@@{{a[n]-a[n-10]==101}~Join~Table[a[i+1]==101+10i,{i,0,9}],a[n],n} I want to get the exact form of general formulas, but ...
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 ...
4
votes
0answers
213 views

What is the algorithm behind Mathematicas Reduce in this equation?

Mathematica can use Reduce to arrive at an answer in this equation ...
1
vote
3answers
106 views

Applying Reduce[] to a table [duplicate]

I have a table for example: t = Table[k,{k,5}] which returns {1,2,3,4,5} and for every element in this table I want to check when it is $\leq 1 + a$. I ...