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

How to obtain all minima? [duplicate]

If you Solve an equation, you obtain all solutions. But If you NMinimize a function, you only get one minimum. The question ...
1
vote
1answer
114 views

Solving Heat equation [closed]

I want to compute the exact solution of the heat equation but I got an error. u(x,t) (equation of transmition of heat) is the solution of this differential equation: $$du/dt - \alpha d^2u/dx^2 = 0$$ ...
1
vote
2answers
90 views

Mathematica can't minimize a function

Mathematica seems not to be able to minimize this univariate function over integer arguments, $r>2, r \in \mathbb{Z}$. ...
0
votes
1answer
77 views

A question about using Reduce [closed]

Can someone help decipher what is the meaning of this computation that Mathematica has done? ...
2
votes
2answers
215 views

Intersection of Osculating Circle with a Parametric Curve

I have the following Parametric plot Generated from the following: ...
0
votes
1answer
68 views

Numerical Methods - minimum of a function

Problem: The length of the longest ladder that can negotiate the corner depicted in Figure 2 can be determined by computing the value of theta that minimizes the following function: ...
0
votes
1answer
62 views

Trying to solve a transcendental equation involving bessel functions

I've never used Mathematica before and am trying to numerically solve equation (12) from this paper: http://arxiv.org/abs/hep-ph/9907218v2. Ideally I'd be able to find the smallest value of $x_{n\nu}$ ...
1
vote
0answers
52 views

What are the hidden specifications for FindRoot

The Help page of FindRoot says: "by default, FindRoot uses Newton's method (Newton-Raphson) to solve a nonlinear system" (or a nonlinear equation I ...
1
vote
1answer
78 views

Why does Mathematice dislike my boundary condition in NDSolve?

im trying to solve a PDE-System, with the "periodic boundary condition" c[t,0]==4*c[t,2pi] But mathenmatica says: NDSolve::bcedge: "Boundary condition ...
2
votes
2answers
106 views

Solving simultaneous exponential equations

In[1]: Solve[{(1 + k)^n == 0.6, (1 + k)^(n + 1) == 0.3}, {n, k}] Solve::ifun: Inverse functions are being used by Solve, so some solutions may not be found; ...
2
votes
0answers
69 views

Deciding whether a semi-algebraic set is empty. Which command is best?

[Update] I was able to prove that the "larger" set $ 1\ge x \ge y,w \ge 0$ and $p(x,y,w)>0 $ is empty with another computer algebra system in my slow laptop in few minutes but in Mathematica even ...
0
votes
1answer
64 views

Taking the time derivative of a function with more than one variable depending on t? [closed]

Yeah, I was wondering if it was possible ? I have a function which have different variables depending on time, like: $$\frac{d}{dt}mr^{2}\dot{\phi}$$ In this case both $r$, being a length, depends ...
0
votes
1answer
50 views

inverting this equation [closed]

I'm trying to inverse this equation Z = X + X^2 / 2 but couldn't wrap up my head around it. If anyone can provide a step by step solution to this it will be ...
0
votes
1answer
121 views

Solving a System of four equations (with logs)

I am trying to solve a system of four equations in four variables. I have read a number of threads on similar issues and tried to follow the suggestions. But I think it is a bit messy because of the ...
0
votes
1answer
171 views

How to find the inverse a symbolic matrix that Mathematica thinks might be singular

I have a square matrix depending on a parameter "a". When "a" has a numeric value (eg 2.1 * 10 ^ 8) through the inverse function Inverse[] I can invert the matrix. If I write the matrix as a function ...
0
votes
2answers
193 views

Symbolic solution of irrational equation

Is there any a nice looking solution to the following equation? eq[x_] := 2 x q1 - 2 q2/x^3 - (4 x^3 q3 - 4 q5/x^5)/(4 Sqrt[x^4 q3 + q4 + q5/x^4]) Better than ...
0
votes
2answers
135 views

Why do Solve, NSolve, and FindRoot all fail on this simple, solvable actuarial equation?

If we express conditional mortality as a vector of annual probabilities of death, like so ...
0
votes
1answer
64 views

Having trouble assigning the result of a Solve to a function

Can anyone see what is wrong with my syntax? It looks like I have successfully assigned the result of Solve to a function. I want Mathematica to return me an numeric value of the function ...
1
vote
1answer
42 views

Invariant error plot for an arbitray system of ODE

i try to use InvariantErrorPlot command for a generic system of ODE but i find only example with pre-building equations from Mathematica Packages. This is one of ...
0
votes
0answers
105 views

Mapping the imaginary axis of the complex (s) plane

In this problem is very difficult to analyze the roots s. Firstly I thought that the problem is in precision, but I am not sure. The criterion which I want to obtain is that one of these roots has a ...
0
votes
1answer
136 views

NDSolve example - analytical vs numerical solution. How to specify initial conditions?

So, I have the following equation: y[t]^-3 == w^2 y[t]/t^2 + y''[t] where w^2 = (t0 k0)^2. Analytic solution is easy to ...
1
vote
1answer
114 views

How to solve that kind of partial fraction decomposition equations? [closed]

I need to find all variables $A, B, C, D$ for given equation with independent variable $s$. How can I solve that with Mathematica ? Example, not working: UPDATE: One Two Three Four ...
0
votes
1answer
115 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
74 views

Numerical method for solving a polynomial equation

I am looking for a numerical solution of a equation which contains, in general, one polynomial equation with unknown variable x. I have tried Reduce, ...
0
votes
2answers
75 views

How to get a number from Solve [duplicate]

It's often useful to get just one number from Solve. I use the following construction for acquiring one solution from the expression returned by ...
0
votes
1answer
71 views

How to Solve/NSolve/Reduce this rationalized equation

In this problem I don't know why the system is not solvable. I have just one unknown K0. ...
0
votes
0answers
51 views

Solving for a variable within a definite integral using FindRoot

I want to solve for P in this equation: Integrate[1/((P/(M*V)) - r*g - c*A*(V^2)*p/(2 M)), {V, 0, 26.82}] = s , where all constants are given except P. I've ...
-5
votes
1answer
83 views

Poincaré section for 3BP

I try to plot the Poincaré section for the 3BP i use the following code that works very well: ...
0
votes
0answers
56 views

How to solve an inequality

I am trying to solve the following inequality: Assuming[{R[k] >= 0, R[k + 1] = R[k] - 2^N Y, Y >= 0 && N >= 0}, Refine[Re[R[k + 1] >= 0]] I ...
1
vote
2answers
90 views

intersection between function and plane

I try to solve a ODE system of equations and i want to plot the intersection of the 3D solutions with a costant plane. To do this i use the follow code: ...
0
votes
0answers
31 views

NSolve or Reduce for obtaining the results and connecting roots

Here I have one problem how to solve numerically equation for different values of one parameter x. I used just two digits because of length, but for x=0.57 I should have one real root and for others ...
0
votes
0answers
76 views

Boundary Condition Problem with Green's Function

My temperature distribution looks like: Mean wire temperature is : To[x_] := 2 c1 Cosh[x a1] + a2 And it is continuous at two points. In positive part: ...
1
vote
1answer
98 views

Why Mathematica can't solve this? NSolve or Solve

I want solution of x and y which should be positive real numbers ...
1
vote
1answer
168 views

2d heat conduction equation: Boundary and initial conditions are inconsistent

I have the following code for a 2d heat c equation: ...
0
votes
1answer
42 views

Solve equation with two different sets of replacement rules

I want to solve eqn for c0. I want to do it with both replacement rules. I realize I could just use solve twice, once for subsCoke, and once for subsPepsi. I'm trying to do it in just one Sovle to ...
0
votes
1answer
147 views

Why can't Mathematica solve this system of equations?

I am trying to solve the following system of equations for three unknowns Theta, Nu, and K. All the other parameters are constants. The third argument in Solve, ...
3
votes
1answer
83 views

How to transform an equation so that the coefficient of a certain term becomes 1

Say I have an equation like A + 5 B + 10 C == 0 and I want to have Mathematica write this as (A/5) + B + 2 C == 0 i.e., I ...
1
vote
1answer
143 views
0
votes
0answers
47 views

Solve gives solution with ComplexInfinity -> number

I am trying to solve a cumbersome equation using ...
0
votes
1answer
111 views

2 Equations continuous at a point

I want to get continuous point between two equations. My equations are: ...
0
votes
0answers
30 views

How to Invert a Multivariate Interpolating Function? [duplicate]

I used NSolve on a partial differential equation with boundary conditions to get a numerical solution that Mathematica says is of the form InterpolatingFunction. I then defined a function f(x,y) which ...
2
votes
1answer
183 views

Solve[Tan[theta] == (b*Sin[t])/(a*Cos[t]), theta] breaks when “Reals” is added?

Mathematica solves this equation fine: Solve[ Tan[theta] == (b*Sin[t])/(a*Cos[t]), theta] // InputForm ...
0
votes
1answer
75 views

Finding equation of tangent line at a point [duplicate]

my function is defined as f[x_] = x^1.1 - 2.5 x^.5 I need to find the equation of the tangent line to the curve using the point slope form which would be something like f'[a][x+a]+f[a] a=1 and x=1 ...
4
votes
2answers
159 views

How to set up and minimize a large system of equations to resolve the individual components

I am trying to set up a system of 400*N equations to deconvolute spectral data for four different compounds. I monitored 400 different wavelengths in N solvents (3 solvents in this case). In order ...
0
votes
0answers
23 views

FindRoot gives strange results when used on an interpolating function with vector output [duplicate]

I am currently experiencing a problem when I try to use FindRoot with an interpolating function that outputs a vector. I have constructed a minimal example that ...
1
vote
1answer
109 views

What is most efficient way to convert system of equations to collection of functions?

I have the type of system M.x = b, where M is a known matrix and b is a known vector. M contains many parameters, call the entire parameter set 'a', so M => M[a]. I want to be able to efficiently ...
0
votes
0answers
67 views
5
votes
1answer
115 views

Solving an identity

I am trying to solve this identity using Mathematica: $$3 \sqrt{5 \sqrt[3]{37}-16}=\sqrt[3]{a}-\sqrt[3]{b}-c $$ I know that a, ...
1
vote
1answer
114 views

Calculating derivatives of roots of equation

I am interested in calculating how the roots of an equation change as one of the variables does, when the equation is evaluated numerically rather than symbolically. I have edited this code to be ...
-1
votes
1answer
76 views

Plotting the results of a system of equations

I believe this is a question of more list manipulation than plotting, but I hope you could help me. I solve numerically a system of equations of 3 variables, take only real solutions where one of the ...