Questions tagged [equation-solving]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
43 views

Use Solve solutions as Function when there are multiple solutions on distinct domains

First, I'm sorry if this question is a duplicate. I am very new to wolfram, and I have tried many solutions found here without success. For the context, I have at hand a method to produce successive ...
  • 101
0 votes
4 answers
103 views

Solve conditional term with mathematica [duplicate]

Solve mathematical conditional expressions with Mathematica, e.g if $x+y=3$ and $xy=-1$ , what is result $\frac{x^3+y^3}{x^2+y^2}$
2 votes
1 answer
164 views

The root of the trinomial equation z^n+2*z-t written in terms of FoxH

From documentation, the roots of the general trinomial: $$z^n-z-t=0$$ are written in terms of FoxH special function; ...
3 votes
2 answers
294 views

Solving hyperbolic equation with parallelization in python by elucidating Mathematica algorithm [closed]

So! I have what seems like a rather basic hyperbolic equation to be solved written in Mathematica, with an integer input ‘n’, for which I am seeking the First {x,y} Integer solution to satisfy the ...
0 votes
1 answer
82 views

Solving a particular transcendental equation

I am trying to find the chemical potential as a function of number density, the equation of which is \begin{equation} \frac{n}{2\pi l_{B}^2} = \int_{-\Delta}^{\Delta}d\epsilon \frac{e^{-\epsilon^2/w^2}...
  • 415
2 votes
1 answer
77 views

Inequality cannot be solved using Reduce (no transcendental functions) [closed]

I have these assumptions: ...
  • 137
1 vote
1 answer
92 views

Find the all cases that satisfy an equality

I want to find which cases the following equality is satisfied. ...
  • 513
1 vote
0 answers
27 views

Syntax of wolfram alpha solution entry (using #1 and &) [duplicate]

I try to understand the solution that solves the following equation https://www.wolframalpha.com/input?i=argmin+%28f%28x%29%3D%28x%2F%28a-x%29%29%5E2*b%2Ba-x%29+for+a%3E%3Dx%3E%3D0 It is written that ...
3 votes
3 answers
88 views

Converting solutions back to equations (inverse of ToRules)

If I solve an equation (or a system of equations), I get output like {{a -> 5, b -> 4}, {a -> 2, b -> 3}} I would like to convert this a statment, like ...
1 vote
1 answer
51 views

Symbolic Solution to Rational Equation [closed]

I have the following equation, which I would like to solve for a in terms of x, y, and ...
1 vote
1 answer
112 views

Why Reduce command dosn't work in my below code? [closed]

I have tried to solve the following equation as shown in the code using Reduce command, but I can't solve for the values of a, <...
5 votes
2 answers
361 views

Is there a Mathematica equivalent of Eq() in sympy

In sympy, the Eq() function could help to visualize a system of equation like below, I am wondering is there an equivalent of Eq() in Mathematica? Thanks!
1 vote
0 answers
91 views

Paclet specialized for circular statistics?

I recently came across "answering biological questions using circular data and analysis in R". Is there a similar Mathematica Paclet for circular statistics analysis -- that includes ...
0 votes
1 answer
51 views

How to plot an implicit function with real and complex solutions, different line styles/colours, and a double y-axis?

I am new to Mathematica and trying to reproduce the following figure using ContourPlot: (From: https://iopscience.iop.org/article/10.1088/1402-4896/abb2e0/meta) My ...
's user avatar
0 votes
2 answers
86 views

How to print the function of $f[n]==f[n]$?

The funciton is as follow,and n can be 1,2,3... f[n_] := n + n^2 + n*a + (2*n + 1)*b; f[1] f[2] ...
  • 19
4 votes
2 answers
1k views

Inverse function of y = x + (0.022 - x) ^ 1.414?

I'm a software engineer with math classes through differential equations about 15 years in my past, and I've gotten stuck trying to invert an equation. The equation: $y = x + (0.022 - x)^{1.414}$. In ...
0 votes
0 answers
49 views

RSolve[] gives error RSolve::litarg when solving demo equations from the official documentation

The official documentation of RSolve[] (specifically, in the fifth paragraph of the seciton "Details and Options") states that: The specification a∈Vectors[m] or a∈Matrices[{m,p}] can be ...
  • 443
0 votes
2 answers
120 views

NONLINEAR EQUATIONS cannot get the solution

I have simplified the equations and decrease the variables to 5, and changed the parameters' value as I think the equations in enter link description here is because of the improper parameters' value. ...
  • 19
1 vote
2 answers
106 views

FindRoot::jsing: Encountered a singular Jacobian at the point when solving NONLINEAR EQUATIONS

I have tried many methods to solve the following nonlinear equations. ...
  • 19
0 votes
0 answers
76 views

Bug in RootSearch

I ran into a problem with Ted Ersek's RootSearch (https://library.wolfram.com/infocenter/Demos/4482/) while solving the problem described here. ...
5 votes
1 answer
262 views

How to solve for composition function?

If $ f(x)=x+6, h(x) = 6x-2$ and $g\circ f = h$, how can I solve for $g(x)$? I know how to do it on paper, but I wonder if Mathematica can do it in a general way. This doesn't work: ...
  • 2,484
1 vote
0 answers
45 views

How to run RootSearch with increased WorkingPrecision?

I have a Sturm-Liouville problem on a finite interval $0\leq z \leq 1$. I integrate the one-dimensional ordinary differential equation of the second order (the LoDestro equation) by the shooting ...
1 vote
0 answers
32 views

answers Solving puzzles with Mathematica [closed]

Hi, I want to calculate the values of these numbers a, b and c. The only information I have: a = √((b-c)²) b = a * c c = (a+b)/2 Anyone knows where to begin?
1 vote
1 answer
38 views

Change domain of kinetic functions in order to fit with ParametricNDSolve

I'm trying to solve kinetic differential equation depended on time with three parameters: preexponential factor a, reaction order ...
  • 105
0 votes
1 answer
56 views

How to avoid Mathematica output the simplified the squared root term by factoring some coefficient

When I use Mathematica to calculate some roots of an quadratic equation, it will output the simplified answer like $\frac{-w \sqrt{-h} \sqrt{4 \theta ^2 p-4 \theta p-h}+h w+2 \theta p w}{2 \theta ( ...
  • 3
0 votes
1 answer
125 views

Mathematica gives different zeros of polynomials

I have defined the Jacobi polynomials in terms of hypergeometric functions in two ways. While calculating the zeros of Jacobi polynomials, Mathematica shows different values of first few zeros. I am ...
0 votes
2 answers
43 views

Additional line in the Plotting

I'm trying to plot a function, the problem is that the plot contains additional lines which originate from the solution itself, but at the same time removing the solutions will delete a whole portion ...
1 vote
0 answers
63 views

NDSolve does not go past initialisation stage when attempting to solve for Fluid System

BACKGROUND INFO Following my attempt to solve a fluid system here (I am very much indebted to xzczd for his gracious help), I realised that a few of my equations are physically incorrect since they ...
  • 173
1 vote
1 answer
90 views

How to use Solve

I have three quite complicated equations: (-11+4t2-2t2^2-8t1t2(-1+[Lambda])+28[Lambda]+4t2[Lambda]+8t2^2[Lambda]+4t1(-2+(4+2t1t2+t2)[Lambda])/(2(1+t1)^3))==0 (-1+t2+(2+6t1+4t1^2)[Lambda]-4t2[Lambda])/(...
4 votes
1 answer
79 views

How can I have Mathematica solve the curve equation when nested functions are involved?

In the context of Quantum Computing, I am investigating curves that illustrate an error propagation during qubit rotations on a Blochsphere (I asked a related question in the same context here and ...
1 vote
2 answers
90 views

Reduce for a difficult case

I have to see the x for this case how should be?! ...
9 votes
5 answers
771 views

Solving a Simple 'Sum and Product' Problem

I am trying to solve a simple 'sum and product' problem. Basically, the sum of four prices and the product of those four prices are numerically equal (you must, of course, disregard the units). The ...
  • 151
2 votes
0 answers
148 views

Problem with a DAE and DiscreteVariables (II)

I continue with a DAE problem similar to another one posted here some days ago. @bbgodfrey offered a solution for the DiscreteVariables problem but now I have a ...
  • 145
1 vote
3 answers
117 views

Solution at a particular point

I have an equation y[a, b, x] = a^2 b x^-2 (Exp[b/x] - 1)^-1 and when I plot, it gives the expected curve as shown in the image attached. I need to find the value ...
  • 107
0 votes
1 answer
54 views

Real valued solution

I want to obtain the critical points or if you like a real solution for the first derivative of the function set to zero, and the second derivative also vanishes of the function : ...
2 votes
1 answer
171 views

ContourPlot U^2+W^2=V^2 -> V(U), where U, V solutions of equation from special functions [closed]

CountourPlot W(U) I have this following code of it: ...
  • 31
1 vote
1 answer
89 views

Solving system of equations including numerical integrals over region

I am dealing with the resolution of a concrete beam. Simply put, it is an equilibrium of horizontal forces and moments. Let's first define some parameters : ...
1 vote
0 answers
86 views

Solve 2x2 complex unitary matrix with constains using Solve does not work

I have a 2x2 complex-valued matrix, $U=\pmatrix{U_{1,1}e^{i\theta_{1,1}}&U_{1,2}e^{i\theta_{1,2}}\\ U_{2,1}e^{i\theta_{2,1}}&U_{2,2}e^{i\theta_{2,2}}}$ which I must impose two ...
4 votes
3 answers
439 views

How to find integer solution of this equation?

I am trying to find pairs of integers $(x,y)$ $(x >0, y >0)$ satisfying $$(x + y) (5 x + y)^3 + x y^3 = (5 x + y)^3 + x^2 y^3 + x y^4 $$ I tried ...
0 votes
1 answer
38 views

Discontinuous plot problem while plotting after using NSolve

My problem is when I try to numerically solve an equation, and then substitute the solution in my function (i.e substituting y in the x's in my function), the plot appears to be discontinuous (it ...
1 vote
0 answers
66 views

Thue equations solving with Reduce

Could somebody tell me whether Reduce assumes (or not) the GRH when solving Thue equations? Given its performances (related to timing) compared to PARI/GP when the "GRH assumed" flag is set ...
2 votes
2 answers
77 views

Rewriting an expression while using another parameter

I wish to rewrite V and M with the given A. I have provided what the end result is supposed to look like. Here is V ...
0 votes
0 answers
57 views

General solution of a differential equation with exponantial terms

How can I get a general solution to the following ode? dsolve command in Wolfram Mathematica and Maple don't return any result ...
  • 41
1 vote
2 answers
188 views

How to use FindRoot to solve Hypergeometric1F1 imaginary number solution?

I want to use FindRoot to solve Hypergeometric1F1 imaginary number solution. First of all, I try to use ...
  • 177
2 votes
3 answers
85 views

Solve and equation containing $\sinh$ and $\cosh$

I want to know how I can solve this or plot a versus b ? Solve[ Sqrt[a] Cosh[1.2 Log[1.65 Sqrt[1/a]]] == Sqrt[-b] Sinh[1.2 Log[1.65 Sqrt[-(1/b)]]], b] Thanks
6 votes
3 answers
371 views

Linear ODEs with NDSolve

I am trying to solve some first order linear odes. My code is below: ...
1 vote
2 answers
44 views

Find min value of a complex Root function [closed]

Could someone tell me how to obtain the min value of this function when lambda is between 0 and 1: ...
  • 11
8 votes
2 answers
116 views

Constructing a RootSum object changes existing internal syntax

Bug introduced in 9.0 or earlier and persisting through 13.0.1 or later I noticed that initially valid syntax becomes invalid within nested RootSum objects. ...
  • 2,979
1 vote
0 answers
46 views

How to simplify a function imposing that it is equal to zero?

I have a function calculated by Mathematica given by $F=\frac{1}{2r^3}sin[\theta]Y^{(1,0)}[\theta, \phi]((-4m+L(1+L)r)h0[t,r]+r(-2m+r)(-rh0^{(0,2)}[t,r]+2h1^{(1,0)}[t,r]+rh1^{(1,1)}[t,r]))$ and I want ...
0 votes
0 answers
57 views

Solving second order non-linear DE with boundary condition

I was trying to get some result from this equation but I can't find the solution. please see what is wrong with it??!! thanks f, s are positive and k will be negative or positive. ...