# Questions tagged [symbolic]

For questions about symbolic computation, as opposed to numerical computations.

953 questions
Filter by
Sorted by
Tagged with
1answer
43 views

### Simplifying symbolic expression with Heaviside step function

When inputing Integrate[HeavisideTheta[s - t], {s, 0, 1}, Assumptions -> {t > 0}] Mathematica correctly simplifies if to -(-1 + t) HeavisideTheta[1 - ...
2answers
45 views

### Limit of an infinite summation

The above is from Maple 2019.1. Is there a way to achieve the same result from MMA12? Tried Limit[Sum[Sqrt[1 + k^2/n^3] - 1, {k, 1, n}], {n -> Infinity}] ...
1answer
110 views

### Solving infinite coupled equations

I need to solve symbolically an infinite system of coupled algebraic equations that I tried to do analytically but I could not. Solutions of these equations, $V_l^m$, define the coefficients of a some ...
1answer
46 views

### Get Mathematica to factor constants out of definite integral [duplicate]

Say we have Integrate[a f[x],{x,-Infinity,Infinity}] And want Mathmatica to factor out a to get ...
0answers
105 views

### Need help with symbolic integration

I have f[x_] := g[x]/g'[x] FullSimplify[Integrate[f[x], x]] I'm trying to get F[x] in terms of ...
3answers
378 views

### Symbolic Discrete Fourier Transform (DFT), using FFT?

Is there an implementation of a symbolic FFT in Mathematica? I've looked around, but I can't find any; Fourier seems to only give numerical results.
1answer
38 views

### Symbolic equation pair with two unknowns [on hold]

I am a beginner with Mathematica, so hopefully my problem is clearly presented. My problem is solving two unknowns from equation pair with five symbolic parameters. Baghdadi et al. (2016) created ...
2answers
415 views

### Factor a polynomial Root into Roots of smallest possible degree

Suppose I have a polynomial Root representing an algebraic number. I want to represent it as a product of several polynomial Root...
1answer
68 views

### Matrix of functions

I want to create a matrix of functions. As explained in this question, I can create a matrix of variables: ...
1answer
53 views

### find a maximum parameter for a range of target eigenvalues as a function of matrix dimension

I have a symbolic tridiagonal matrix of this form ...
1answer
4k views

### Analogue for Maple's dchange - change of variables in differential expressions

Maple owns an interesting function called dchange which can change the variables of differential equations, but there seems to be no such function in Mathematica. ...
1answer
89 views

### Replacing one of the integrals in the multiple integral with an analytical solution

Problem consist in simplifying complicated multiple numerical integral, where I know analytical solution for a subset of them. Integrand is of the form ...
2answers
44 views

### How to obtain a variable in terms of another variable?

I'm new to Mathematica and would like to ask a question about equation systems. I have a linear equation system given in the link. I would like to obtain kappa1 in terms of psi1, kappa2 in terms of ...
2answers
898 views

### Does anyone have experience with performing symbolic regression using Mathematica?

I understand that there is at least one Mathematica package, DataModeler commercially available for symbolic regression. I'm seeking any observations with this or any other similar tool. I'm ...
1answer
91 views

### Small error on symbolic eigenvalue of $2\times2$ matrix

I have some computation where I specifically define a 2x2 matrix to have a specific eigenvector v associated with an eigenvalue g, and a second eigenvalue l : ...
1answer
28 views

0answers
59 views

### Reduce, Solve, RSolve for symbolic equations? Neither seems to work for my problem [closed]

I want to solve the followiwng system of equations: Through substitution I get: I want to solve this equation for P_t I tried the following: ...
3answers
93 views

### How can I calculate the expected value of the sum of “n” i.i.d. variables with any distribution?

Particulary, I would like to find the expected value of the sum of $n$ variables distributed like ParetoDistribution[1,1.14]. For example, this works for the sum of two vars with Gamma distribution: <...
0answers
59 views

### Trace function did not show the steps to the final answer

Trace[ FullSimplify[ 1/4 Sec[20 °] + Sin[10 °] + 2 Sin[10 °]^2 ] ] Mathematica gave the correct answer 1/2, but it did not show the final steps to arrive at 1/...
2answers
90 views

### Coefficient of power $p$ in polynomial expansion : Mathematica doesn't answer me

I would like to compute the coefficient in front of $n^p$ for a polynomial expansion. I wrote the following code: ...
2answers
372 views

### Turning arguments into exponents

I'd like to replace every instance of L[stuff], e.g., L[-1,-2,-2] in an expression with ...
2answers
112 views

### Is there a way to know which symbolic expression Mathematica used?

Take the following symbolic sum: Sum[(-1)^n/Factorial[2*n]*(Pi/2)^(2*n)*n, {n, 1, Infinity}] Mathematica answers me: $- \frac{\pi}{4}$ It is great, I have an ...
1answer
130 views

### Changing operator precedence

Is there a way to change operator precedence for built-in symbols? I'd like \[TensorProduct] (which I redefine to ...
1answer
76 views

### How to pass lists as arguments in NMinimize or FindMinimum?

The following code runs in Mathematica 12. But, I have two problems that I would like to solve: (1) How to pass a list as an argument to the function g in such a way that it can be used seamlessly ...
1answer
28 views

### TensorReduce causes “inhomogeneous dimensions” error

I want to use TensorReduce to realize the following property of wedge: ...
1answer
43 views

### Reducing or solving a simple linear equation problem

I have the following equations ...
0answers
67 views

### Limiting solution space for symbolic algebra problems

I have a system of 12 quadratic equations with 12 variables (x11, x12, x21, x22, x23, x33, p1, p2, p3, ϕ, μ, τ) and several positive constants,w, q1, q2. ... > 0<...
2answers
544 views

### Make symbols atomic, without losing their type

So, I'd like to define a matrix M, that does not decompose into it's constituents when I do things like Tr[M], but I also want it's type to be retained. (By type, ...
0answers
42 views

### Symbolic formula from GeometricScene?

I'm trying to solve the following problem with GeometricScene What is the shortest circular arc of which the altitude above its chord is one? I have the following code: ...
1answer
92 views

### Triggering WhenEvent as a result of WhenEvent

I'm attempting to solve a dead-simple differential equation with events: ...
1answer
102 views

### Problem when solving differential equation [closed]

Can anyone tell me why do I have errors when I try the code below ? ...
3answers
71 views

### Expand and Simplify do not work for NonCommutativeMultiply

Expand and Simplify do not work for NonCommutativeMultiply[] then how do we expand an expression like (a+b)**(a-b) ?
1answer
45 views

### Is there a method to preserve order when matrix multiplying in Mathematica?

I know that commutativity can be preserved in Mathematica by using ** i.e. a*b can get printed as b a but if I use a**b then it will always be printed as a b. However, I am not able to implement ...
2answers
599 views

### Symbolic Integration along contour: branch cut problem?

Context Following this question on path integrals in the complex plane, having defined again a numerical and symbolic integrator along a path as ...
1answer
50 views

### Symbolic derivation of LU

I've been needing to derive some LU factorizations by hand, analytically, and i was wondering if anyone knew if it were possible to get Mathematica to do this symbolically so that I may be able to ...
1answer
40 views

### I am asserting a variable in Mathematica as Real yet it is not implementing it!

Element[\[Theta], Reals]; Ga = g; Gb = g*Exp[I*\[Theta]]; {{Conjugate[Gb], Ga}, {Ga, Gb}} I have a code as such for a matrix as given above. as ...
1answer
42 views

### Symbolic Resultant Too Slow/Keeps Running

Evalutation of the following cell, which includes the symbolic resultant, of two univariate polynomials in $x$, with parameters $a,b,c$ for the first polynomial (of degree 4) and parameters $d,e,f,g$ ...
1answer
36 views

### Construction of symmetric function / matching function argument patterns

[Edited for clarification after comment] Suppose that the function f is defined as the linear combination of several translated/reflected functions starting from the primitive f0[x,y,z] ...
2answers
120 views

### Solving symbolic equation for fraction of variables

Suppose there is an equation like this (overly simplified example): eqn1 = ui - ua r1 / (r1 + r2) == 0 How can I get Mathematica to "solve" the equation in terms ...
1answer
28 views

### How to change the form of the answer? [duplicate]

Reduce[x^2 + y^3 == z && x + 2 y == 3 z + 1 && x y z != 0, {x, y, z}] you get ...