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

Matrix iteration failing after second step

I am calculating 11x6 matrix using different logics as in below code. Problem is in Do loop in below code where I have two different criteria to update matrix "fd". I am expecting logic in IF which ...
0
votes
1answer
78 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
1answer
114 views

Formatting an equation: X^Y to pow(X,Y)

I am trying to solve for the intersection of two circles with arbitrary centers and arbitrary radii. ...
0
votes
0answers
48 views

I made my own equation, how do I know if it already exists? [on hold]

I made my own equation after playing around with some numbers. So I started to look for the equation to be sure I made it first. I googled and searched for it almost everywhere but couldn't find it. ...
0
votes
0answers
19 views

Convert the output of solve into equality [duplicate]

I know this is has been asked before but seriously, none of the ones I checked helped because they referred to a single variable assignation. Apologies if this is a duplicate. I have many variables ...
0
votes
1answer
60 views

numerically solving

I am trying to solve for [Lambda] as a function of a (unknown) from this expression ...
1
vote
3answers
78 views

Finding roots of transcendental equation and collecting into a list

I am working on a physics reserach project for school and I have run into some troubles working Mathematica. I am a fairly inexperienced mathematica user so any help would very much be appreciated. I ...
3
votes
3answers
102 views

Reduce gives wrong solutions

Given the follwing system of equations eqs = { x/(x - 2) - 4/y == 1, x/(2 + 1/y) == y/(3 - 1/x) } Although the domain of this system does not contain ...
6
votes
2answers
163 views

How to reverse irreversible function in Mathematica?

How to reverse formula $y(x)=x (\frac{1}{sin \frac{\pi x}{2}})^\alpha$ i.e. express it as $x = x(y)$ in Mathematica? I did this way ...
0
votes
1answer
43 views

Setting the solutions of an equation as a variables [on hold]

This is probably a simple question, but i couldn't find a solid answer. So i have an equation Solve[{F[x, y] == 0, G[x, y] == 0}, {x, y}] but i want to use the ...
1
vote
2answers
48 views

RegionPlot after Reduce

I have a problem in this form To solve this I have tried this f1[y_] := 2 - (y - 1)^2; f2[x_, y_] := x + 1 - (y - 2)^2; f[x_, y_] := Max[f1[y], f2[x, y]]; The ...
2
votes
2answers
572 views

How to make a Dynamic Calculator to solve a quadratic equation?

Taking my first steps in the world of Mathematica Programming. The aim of my program was to modify Wolfram's dynamic calculator (which performs an addition subtraction and a product - in response ...
0
votes
0answers
58 views

ODE using Mathematica [on hold]

A man throws a pebble straight up. Its height $y(t)$ satisfies the differential equation $y"+\gamma y'=-g$, where $g$ is the acceleration of gravity and $\gamma$ is the damping rate due to frictional ...
-2
votes
1answer
50 views

Solving fifth order polynomial equation [on hold]

I am trying to solve this equation: 1/s^3 + 3s^2 + 4s + 1 But I am not able to solve it. A little help would be appreciated. P.S: I am new to Mathematica and I ...
2
votes
1answer
61 views

Faster variant of Reduce for finding zeros of holomorphic functions in a region

I'm currently using Reduce to find zeros of a function in a region on a complex plane: ...
1
vote
1answer
108 views

Approaches to solving non-linear systems of equation with assumptions

The specific type of system looks as follows: \begin{align} (r-r')x+4d_1 x^3+4d_{12}xy^2 &= 0 \\ (r+r')y+4d_2 y^3+4d_{12}yx^2 &= 0 \\ \end{align} Where $r,r',d_1, d_2, d_{12}$ are all real ...
-1
votes
0answers
44 views

What is this syntax, [[1, 1, 2]]? [closed]

Ndsol = Solve[{D[y[z, n], n] == w, w == we(1 - (p - pe))}, {we, w, n}] nd[z_, we_, p_, pe_] = Ndsol[[1, 1, 2]] The what do the ...
4
votes
1answer
50 views

Sequential System of Equations

I’m trying to set up this system of equations that sequential feeds into itself. I have these 2 equations I’m running. I’m new to Mathematica so I have no idea how to even start this. The basic idea ...
0
votes
1answer
50 views

Roots of a transcendental equation

I need to find the 50 first roots of a transcendental equation. I use Table and FindRoot, so I find repeated positives and negatives values in a list, but I want only the 50 first positives and ...
0
votes
0answers
127 views

Solve doesn't solve my transcendental equation

I want to solve a geometry problem. To do this, I need get formula for "d" in the equation: ...
0
votes
0answers
64 views

What does it mean when FindInstance returns unevaluated?

According to the documentation, FindInstance[] return the empty set when it does not find a solution and one of the examples claims that this is proof that no solution exists. So if FindInstance[] ...
0
votes
0answers
61 views

First Order Conditions

I am new to Mathematica so I am not sure if this is correct. I have setup up a Lagrangian and I am trying to get the FOCs of this problem. However, it does not seem to work. Any help would be much ...
1
vote
1answer
72 views

Improving Performance - Finding Polynomial Roots [duplicate]

I'm fairly new to Mathematica. In the past, my usage has mostly been limited to solving the occasional equation, making some plots, and working with small scaled statistics. None of these have been ...
0
votes
1answer
105 views

Time evolution of a wave packet from the time-independent Schroedinger equation [duplicate]

Starting off with the time-independent Schroedinger equation (TISE) $\quad \quad -\frac{\hbar^2}{2m} \nabla^2 \psi + V(r, \theta) \psi = E\, \psi,$ I would like to study the time evolution of an ...
-1
votes
0answers
24 views

Deriving expression for the 'curve-in' condition in an equiangular (log/bernoulli spiral) [closed]

For any 2 pairs of points (xe,ye) & (xs,ys), I can fit various equiangular spiral through those 2 points based on the equation r = ke^(aθ). A typical one is illustrated below: Then, I can vary ...
-2
votes
1answer
44 views

Solve on parametric equation produces inequal results

I have a parametric (parameter t) equation in two dimensions (vectors). s = Solve[pt[t] == qt[t], {a, b}] Both pt and qt are parametric lines using a and b as ...
1
vote
1answer
139 views

How to plot the graph of the equation F[x,y]=0 if y is real number, x is complex? [closed]

I have an equation F(x,y;a,b,c,...)=0, where x and y are variables, a,b,c,... - parameters. y is a real number, x - complex. For every given y I need to solve this equation, i.e. to find Im(x) and ...
0
votes
2answers
33 views

Expand “hierarchical” system of equations

I have a system for equations that is structured hierarchically: - Level 0: these are base variables that I can measure from a process (e.g. a,b,c) - Level 1: these are variables derived from Level 0 ...
0
votes
1answer
23 views

Many NSolves to interpolating function

I have an expression of the form: expr = TerribleNumericalFunction[U[p]] == SimpleFunction[p] The Simple function is a ...
0
votes
0answers
46 views

No solution for a system of equations

I am a newbie in Mathematica and I face a problem in my attempt to solve a system of equations. The system is the following: ...
1
vote
1answer
71 views
0
votes
1answer
32 views

Strange behaviour of Append [closed]

I have the following situation and I completely do not understand why the second system can be solved but the first (of the same equations, as it seems) cannot. How is it possible? ...
0
votes
0answers
26 views

Problem evaluating function

Hey there I am missing the trick in evaluating following problem so that mathematica first solves the derivative of the legendre polynom and just after that it solves the whole thing for value 1 ...
0
votes
0answers
37 views
0
votes
0answers
68 views

Solving symbolically large system of underdetrmined linear equations

I would like to find matrices 3x3, say A, B, C, such that for all symmetric matrices X, with zero trace, one has: $$AX_1+BX_2+CX_3=0, AX_2=BX_1, AX_3=CX_1, BX_3=CX_1$$ where $X_i$ denotes i-th row (or ...
1
vote
1answer
75 views

Complicated equation solving

I want to find the maximum point or optimal value $y$ of Rx1[y_, a_, b_]. ...
0
votes
1answer
46 views

Finding gradient of equiangular (logarithmic) spiral

I encountered a problem in determining the gradient in cartesian coordinates (x,y) of a logarithmic spiral (or equi-angular spiral) profile. The log-spiral definintion is as shown below (similar to a ...
0
votes
1answer
71 views
-4
votes
0answers
71 views

Solve does not work for an equation for which I know a solution exists

I have a simple equation, which I want Mathematica to solve for x in terms of y. The code runs for days. When I assign values to ...
2
votes
1answer
65 views

Stability Boundaries via Routh-Hurwitz Criterion

I'm attempting to determine the stability boundaries of a 2nd order system via Routh-Hurwitz stability criterion. That is to say, I need to compute when a polynomial, which is in terms of variables ...
2
votes
1answer
107 views

Can Mathematica solve this type of recurrence?

I have the following recursively defined equation: ...
0
votes
2answers
60 views

Diophantine and odd

need to resolve this Diophantine equation, but with the condition that a, b, c belong to the set of odd numbers from 1-51, as I write this condition in the code ...
0
votes
0answers
23 views

Some more efficient form to calculate the order value

This takes a long time, any idea how accelerate Reduce[x^(2 x^2 - 2 x) - 1 == x , x] k = x^2 + x^-2 k = ?
0
votes
2answers
78 views

Find smallest integer that satisfy a system [closed]

f[m_,n_]:=-205 m^2-(672m)n+324(n^2) I want to find the smallest positive integer M such that all of the numbers f(m,n), for m=1,2,...,M and n=1,2,...,M are ...
1
vote
3answers
132 views

Find value of x such that x! less than or equal to 1000

I am trying to find the maximum value of $x$ such that $x! \leq 1000$. I tried the following: NSolve[Factorial[x] - 1000 == 0, x] but I got this message: ...
0
votes
0answers
56 views

Solve[..] does not solve the equation? A bug?

I tried to get the values of CosTheta where the expression is zero and store theses in sol. ...
0
votes
1answer
40 views

Finding the intersection of two graphs [duplicate]

I'm having difficulty with finding the intersecting point of two graphs. Here is what I have done so far: Plot[{8*n^2, 64*n*Log2[n]}, {n, 0, 100}] which produces ...
0
votes
1answer
89 views

How to get an analytical solution for this equation set with Abs function in it?

To calculate the solution for the following equation set's unknown variables ${C,V}$ \begin{equation} \begin{aligned} \sum_{i=1}^m Abs[bt_{i} \cdot xt'_{i} - V \cdot bt'_{i}] \cdot c &== C \\ C + ...
0
votes
1answer
71 views

WhenEvent for space variable

Can I use WhenEvent for space variable? For example ...
15
votes
2answers
3k views

How do I work with Root objects?

I want to solve the trigonometric equation : $$(3-\cos 4x )\cdot (\sin x - \cos x ) = 2.$$ I tried Solve[(3 - Cos[4*x])*(Sin[x] - Cos[x]) == 2, x] It returns the ...