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
2answers
126 views

How to get special solutions of this system of equations?

I only want to get all the solutions of this system of the solutions with a value of $k$, we have the same values ​​of $m$ ...
0
votes
1answer
251 views

I can't get Compile to work

I've got some problems with my code, and I try to make it faster. Some of you suggested me to split my problem, and I'm here... I post the same function with and without Compile. This is a support ...
0
votes
1answer
168 views

Solve not satisfying simple boundary conditions

I am trying to solve the following equations for the coefficients c1 and c2. ...
0
votes
1answer
137 views

Industrial Level Applications. Recipe for mixed notation of equations set

I am working with large (linear) equations set within Mathematica in numerical notation. For example, set from 4056 eq. is solved for a second, no more. There is no doubt, result is great. But even ...
0
votes
1answer
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
1answer
114 views

Numerical rule evaluation -> {True, False} to deviation of target equation

I solve some equations numerically with FindRoot[] returning a quadruple {1,2,3,4}. Because the solver sometimes do not find any roots depending on parameterization of these equations I select only ...
0
votes
1answer
44 views

Dsolve is not solving equation ( 3 system with 2.order diferantial equations) [on hold]

I added an image of my equations at the bottom. I dont understand why it is not solving. This is 3 systems with 2.order diferantial equations. I also put my initial conditions. But it is not solving. ...
0
votes
1answer
68 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
1answer
61 views

Mathematica Compute Time Is Extremely Long (Integrate simple function with parameter scan)

I was wondering if you can help. I have a set of equations I need to solve for a list of parameters; entering each parameter value and solving anew each time is simply not economical. I found a way ...
0
votes
1answer
100 views

Why mathematica have difficulty solving nonlinear equations? [closed]

I tried to solve this equation via Mathematica: ...
0
votes
1answer
81 views

Solving a system of two equations of third degree

I am trying to solve the following system of two equations for x and y. The solutions for x and y have to be positive and the parameters s and c are positive (to have a coherent interpretation of my ...
0
votes
2answers
85 views

Solving for any one variable in a formula given values for all the others [closed]

Consider the formula for the area of a rectangle. I can write the formula as area[length_, width_] := length*width and plug in numbers for the dimensions and get ...
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
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
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 ...
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, ...
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 ...
0
votes
3answers
124 views

How to find integer solutions?

Following is the equation: Need to solve for integer values of x,y when a,b lies between -1000 and 1000. Problem is to find the number of integer values of pair (x,y) that satisfy it.
0
votes
2answers
56 views

Help needed with Simple equations [closed]

take a simple formula like Ohm's law u=i*r... is it possible to solve for i without values??, something like Solve[u=i*r, i] and expect an output like i=u/r which gives me: Solve::naqs: i r is not ...
0
votes
1answer
109 views

Symbolic matrix simplification and solving

I am trying to expand or solve an equation that contains matrices for a certain matrix, but it is not working: ...
0
votes
2answers
38 views

Application on systems of equations [closed]

Lauren has 20 coins in her piggy bank, all dimes and quarters. The total amount of money is $3.05. How many of each coin does she have?
0
votes
2answers
85 views

Simplify an expression under certain condition

I have a variable A = g / (1 + g R) Actually, if the quantity (g R) >> 1 it is possible to write A as A ≈ 1/R. How can I do this in Mathematica? I tried with Assumptions, Refine, Simplify, but i can ...
0
votes
1answer
74 views

Reduce[] giving incorrect result for equation over $\mathbb{Z}^4$

This is partially in response to a question I posted earlier, although the problem in this case appears to be distinct from the problem there, so I am temporarily filing this as a separate question. ...
0
votes
1answer
81 views

Failure message from Reduce

I am getting the message Reduce::nsmet: This system cannot be solved with the methods available to Reduce. while trying to solve the following equation: ...
0
votes
1answer
131 views

Small problem at equation solving

I have $2$ equations in $2$ parameters which involve integrations. The limits of the integrals can not be defined analytically. They also require equation solving and eventually I couldnt incorporate ...
0
votes
1answer
88 views

Manipulating and using result of DSolve

I have an unsightly looking equation that nonetheless has an analytical solution. The solution is ugly as hell, but exists; I use the following code with the DSolve ...
0
votes
1answer
347 views
0
votes
1answer
59 views

Errors in evalauting an expression

I have the following: Constants: b3b = 2; G = (1/eps^2); a1 = 3; a3 = 4; xc = 0.3; Functions: ...
0
votes
1answer
37 views

Evaluate a list of Expressions from file

I have a list of expressions in a text file. I would like mathematica to evaluate and export the results at the end of the same file or in a new file. The expressions are in seperate lines in the text ...
0
votes
2answers
157 views

Solving numerically system with Mathematica

I'm trying to solve the following system with Mathematica: ...
0
votes
1answer
141 views

Constraining solution's sign with NSolve

I am solving some equations in 4 variables, however, there are many solutions which are basically the same but changing relative signs of each other ... i.e. {x->-1,y->1} and {x->1,y->-1}. ...
0
votes
1answer
82 views

Define variable relationships and dynamically update variables

I would like to define a relationship between 3 variables first and then later when I have filled two of the variables with a number, I would like to extract the value of the last value. For example: ...
0
votes
1answer
78 views

How to delete duplicate solutions of this system of equations?

I want to find vertices (has integer coordinates) of the triangle $ABC$ with the centorid is $G(1,1)$ and orthocenter is $H(3,3)$. I tried ...
0
votes
1answer
726 views

DSolve fails to solve second order PDE

I have a very simple example of a second order PDE: eqn = D[u[x, y], x, y] + u[x, y] == 0; sol = DSolve[eqn, u, {x, y}] and Mathematica cannot solve it! What is ...
0
votes
1answer
185 views

Dynamic boundaries for FindRoot

As documented FindRoot[f[x], {x, xs, min, max}] searches for a solution, stopping the search if x ever gets outside the ...
0
votes
1answer
149 views

Create set of equations by replacing constant values

Say I have an equation: eq = ax + by + c == 0 and I want to run NSolve on a set of equations of this form, for example: ...
0
votes
1answer
185 views

How to solve this equation? [closed]

The numbers real x and y, are solutions of the following equation system : $$ \{x^3 + 3x^2y + 3xy^2 + y^3 2\sqrt2$$ $$ \{x^3 - 3x^2 + 3xy^2 -2y^3=0 $$ . $$ x^2 + y^2$$ How to solve it ?
0
votes
1answer
710 views

how to solve an implicit integral equation? (iterate to a functional fixed point?) [closed]

I reduced a (special case) of my problem to the following code. Even though in this special case all related functions are analytical, DSolve is not the tool for this, though I am indeed looking for a ...
0
votes
1answer
33 views

Help with Reduce, quadratic system of inequalities

I'm trying to obtain an equivalent system of inequalities to the one below but without the variables x and z. Somehow Reduce just repeats the command. ...
0
votes
1answer
64 views

Coefficient of function different than polynomial

My question arise from the problem that Mathematica can't solve the equation $$ \text{Solve}\left[e^{a-x} (0.0299584 a+0.1 b-0.0299584 x-0.152913)-0.9 a+0.9 b+0.9 x+0.18=0.0498614 e^{-x} \left(e^a ...
0
votes
1answer
34 views

Storing solution to x and y [duplicate]

If I do sol=Solve[{2x+2==y,3x+9==y},{x,y}] then Mathematica will tell me {{x -> -7, y -> -12}} But I would like to ...
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? ...
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}$ ...
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
170 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
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
111 views

2 Equations continuous at a point

I want to get continuous point between two equations. My equations are: ...
0
votes
1answer
38 views

Error when solving equations constructed with Table [duplicate]

I have a couple of questions about the problem I am trying to solve ...
0
votes
1answer
40 views

How to ignore terms containing in the summation of multiplications

n=4;L=3; p0[n_Integer]:= Product[ Sum[Subscript[r, k][l, l], {l, L - 1}], {k, n}] // Expand; How to ignore terms containing three or more multiplications of [2, ...