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

Eliminating parameter from parametric equation

In Mathematica Online I tried: Eliminate[{x == t + t^3, y == t - t^3, z == 1 + t^4}, {t}] ...
0
votes
0answers
43 views

Any way of solving this system of nonlinear equations with non integer powers?

I have a system of four nonlinear equations. Some of the exponents are fractions. I was wondering if this is what is causing NSolve to run for hours without giving ...
0
votes
1answer
60 views

Solving a single-variable equation mixed with exponential and algebraic

Trying to solve for x Solve[((a - 1) (1 + d x^2))/(a (Exp[b x + c] - 1)) - e == 0, x] in terms of the constants a,b,c,d, and e. Mathematica says "This ...
1
vote
2answers
112 views

Solving for the limits of an integral

I am trying to get Mathematica to solve for the symmetric limits of an integral of a Square Wave. ...
2
votes
2answers
93 views

Only one root at specific interval

I need a help to find k here: $f(x)=-k^x + x^2$ It is not too simple. I have interest to find the single value of "k" where, inside interval {x,2,3}, the function have only one value to x when f(x) ...
2
votes
0answers
52 views

Simplify large fractions

Hi i'm quite new with Mathematica and i'm experiencing some problems with Simplify and FullSimplify. I'm dealing with a sistem ...
0
votes
2answers
45 views

How do I simplify an algebraic equation with respect to a specific variable? [closed]

I have the following equation -- which is all in terms of d: ...
0
votes
1answer
45 views

NSolve taking too long to solve system of polynomial equations

I am trying to solve a system of polynomial equations (10 variables and 10 equations) using NSolve in an attempt to find all solutions. ...
-3
votes
2answers
95 views

Solving the symbolic quadratic equation ax2 + bx + c = 0 [closed]

I need to ask Mathematica to solve the symbolic quadratic equation ax2 + bx + c = 0. Does it give you the right answer?
0
votes
0answers
53 views

Is it possible to find $n$ from the sum forming a polynomial? [migrated]

How does one solve for $n$ in: $100000 = \sum\limits_{x=1}^n 1020.2065\ x^{-0.3431}$
0
votes
1answer
83 views

How to solve a linear system of 9 equations with 9 unknowns? [closed]

This is my current code and i'm not sure why it's not working. I am new to Mathematica, though. ...
1
vote
1answer
46 views

Error using NSolve function please help

I have tried to use nsolve to solve this transcendental equation for the bound state of a finite well.. For some reason mathematica is just returning my exact input back to me any ideas on how to ...
2
votes
1answer
103 views

Solving for flow speed?

I'd like to use Mathematica to verify the results of a Matlab code that iteratively solves for a flow velocity, u, given some fluid properties and a pressure drop. Ideally, I would like solve the ...
1
vote
2answers
112 views

Why does this expression take a long time to evaluate?

I was just wondering whether there's an easy to see reason for this expression to take a very long time to evaluate: ...
0
votes
1answer
50 views

NDSolve emitting dvnoarg error [closed]

I'm trying to solve this simple system of ODEs, but it gives me the error "The function v1 appears with no arguments". I've attached a screenshot of the code. I hope someone could help me, I really ...
3
votes
1answer
162 views

Very slow mathematica finite differences

I have a simple code which solves an equation by an explicit method (FTCS). It takes mathematica several minutes (mathematica 10.0.2) to finish the calculation while the same code in Fortran runs less ...
1
vote
1answer
63 views

Optimizing matrix inequalities over trace

I need to solve the following problem. Given $n \times n$ Hermitian matrices $A\geq 0$ and $B_1, ~ B_2$ (need not be positive semidefinite), with $Tr(AB_1)<0~,Tr(AB_2)<0$ construct a ...
1
vote
1answer
79 views

Iteration convergence of Newton approximations

I am trying to determine for which initial values Newton's approximation of specific functions (EX: f(x)=x^2 -1)converge and to what numbers it will converge to. *Where Newton's approximations are ...
0
votes
0answers
57 views

Solve Lagrange-multliplier with arrow-security prices with nonlinear (exp) utility function

at the moment I have successfully solved the Demand function for securities in the following model: t=0 current time, 2 uncertain states with same probability in period 2 indexed with i=1 and i=2. ...
1
vote
1answer
179 views

Why won't mathematica solve my two simultaneous equations? [closed]

I'm trying to solve for two unknowns with two equations as follows; ...
1
vote
1answer
101 views

Quantum Physics question [closed]

I'm not sure if anyone here would be able to help me. But if you know a more appropriate place where I could ask for help, please let me know. So here's the question: And here's my attempt at ...
1
vote
0answers
69 views

Using Solve without introducing extra variables

First post here. I've tried searching for an answer for this for a few days now, but it seems the search terms (solve, slot, etc) are too generic to be helpful. I'm struggling with understanding how ...
0
votes
3answers
99 views

Delay difference equation

How can I correctly specify and solve a system of delay difference equations in mathematica similar to NDSolve with regard to delay differential equations? For example if I want to "see" the values ...
0
votes
1answer
47 views

Integrate equation. Variable in terms of another

This might have an easy solution but I am new in Mathematica. I have an equation for which I want to find the solution. My equation goes like: $$\frac{dr}{dx} = ...
0
votes
3answers
104 views

How do I solve for the roots of $\sin(x) - x^2=0$? [duplicate]

I have defined h[x] := Sin[x] - x^2. When I submit Solve[h[x] == 0, x], Mathematica tells me Solve::nsmet: This system ...
0
votes
1answer
68 views

solving PDE with periodic boundary conditions

I want to solve a 2D-PDE that has the form ...
0
votes
0answers
72 views

How can I solve this expression?

I'm trying to solve this expression for A, but I'm not sure how. ...
-1
votes
1answer
46 views

how to write out this equation on Mathematica? [closed]

I have this equation that my manager would like to use on Mathematica, but I've only been learning how to use Mathematica for a few hours. I need to solve for Ax and also plot a graph. Please ...
3
votes
1answer
129 views

How to solve a transcendal equation

I want to get the solution x of this equation a (-(1/(1 + b c + a x)) - Log[b c + a x] + Log[1 + b c + a x]) - d = 0 in ...
2
votes
3answers
98 views

Solving equation containing Erf expressions

Given the equation below, how do I find the value of b so that the function is equal to 21. I tried solve but I keep getting an error message. ...
0
votes
0answers
30 views

NDSolveValue:dsvar error in a system of non linear differential equations generated using a Table

I have a system of 4 non-linear differential equation, that I generate using Table command. On solving, I keep getting a dsvar error that is not going away. I debugged my code and figured it has to do ...
5
votes
2answers
82 views

Initial time as parameter in ParametricNDSolve

I need a help with the function ParametricNDSolve. My goal is solve the equation \begin{array} &&\dot{x}(t) = y(t) \\ &\dot{y}(t) = x(t)-1-\varepsilon Cos(\omega t) \\ &x(t_0) = x_0\\ ...
-2
votes
1answer
31 views

Solver for X - with a function [duplicate]

Sorry but I cant figure this out, Someone gave me some help on here yesterday but they didn't show their working so I could not redo what they did when my equation changed. Can someone please help me ...
-2
votes
1answer
48 views

Solve For X inside arc-cos function (with division) [closed]

Very basic but I've been stuck for more than 12 hours trying to solver this equation 20=360/(arccos(X/3200)*2) Can anyone solve X? and explain what exactly you ...
0
votes
2answers
50 views

Nonlinear matrix equation solving in Mathematica

is it possible to solve below equation in Mathematica? A.X+B.Exp[X]==C A, B are square ...
0
votes
0answers
30 views

FindRoot[rhs==lhs, {x,x1,x2}] Vs FindRoot[rhs==lhs,{x,x1}]

What is the difference between these two commands: FindRoot[rhs==lhs, {x,x1,x2}] and FindRoot[rhs==lhs,{x,x1}] They give ...
0
votes
3answers
48 views

Solving system of equations with complex numbers [closed]

I have two equations and two unknowns. The coefficients are complex. How do I solve them using matrices? Or any other method? Here is an example: Trying to find X and Y ...
2
votes
1answer
65 views

Fixed Points Problem with 2D Mapping

I have been playing with the mapping given by ...
1
vote
0answers
36 views

Trouble using Solve and NSolve with functions involving Erf

I have the following functions: R[k_, x_, t_] := -.5*(k - x)*(1 + Erf[-(k - x)/t]) L[k_, c_, x_, t_] := .5*c*(k - x)*(1 + Erf[(k - x)/t]) I'm interested in ...
0
votes
2answers
65 views

Help Solving A Recusive System: “$RecursionLimit::reclim: Recursion depth of 256 exceeded.”

Was wondering if anyone had any tricks/ideas on solving this system of recursive equations I have. Essentially my goal is to have J2 equal to zero, but to understand how tweaking several parameters ...
2
votes
2answers
74 views

Series expression of a Root object

I was wondering if it is possible to get Mathematica to return a series approximation of a Root object. Example: I want a series representation of x in terms of ...
1
vote
1answer
70 views

Elimination returning true instead of correct answer

I define the following functions: ...
3
votes
2answers
85 views

Numerical root-finding: Find leftmost root in a domain

This is surely a duplicate, but I cannot seem to find a similar question. I use NDSolve to find an InterpolatingFunction y[t] ...
0
votes
1answer
101 views

Solving Integro-Differential equations

I need help solving this equation. Is there a built in function that solves this type of equations? DSolve wouldn't work. Updated equation: ...
1
vote
2answers
96 views

Solving matrix equation

How can I solve the forward equation S[t]=C+A*S[t+1]*(Inverse((I-B*S(t+1)))*A for t=1 to t=10 and ...
0
votes
1answer
49 views

Elements inside arrays seem to be strings rather than signed numbers

When I have code like b = Array[Subscript[be, #] &, {3, 1}] b = b /. {Subscript[be, k_] :> Subscript[-be, k] /; k > 1} I am noticing that Mathematica ...