# Questions tagged [algebra]

Abstract manipulation of symbols. Transforming an algebraic expression into the desired form.

235 questions
Filter by
Sorted by
Tagged with
46 views

### Exponentes not multiplying as it should? [closed]

I have this code: xo = 0.00105; lambda = 0.2063; Bcgc = 5.5; x = 10^-5; Qs = (xo/x)^(lambda)*E^(-b^2/(2*Bcgc)); Output = 2.61199 E^(-0.0909091 b^2) And I want to ...
185 views

### Tropical Operation Conversions: Multiple Operations

I apologize if my syntax is bad. I looked around, but didn't see anything on this in the stack exchange. I would like to be able to transform a classical real-valued polynomial to a tropical ...
102 views

1 vote
77 views

### Empty output {} for matrix solutions which I know graphically exist [closed]

I am new to Mathematica, so there's a good chance that I am missing something critical here but I tried to check the documentation and am still stuck. ...
46 views

### Factorize expression by specific term [closed]

I am new to Mathematica but I would like to know how to force Mathematica to factorize an expression by a specific term. Exemple, imagine I have a term like this: And I have an expression like this: ...
1 vote
75 views

### Mathematica doesn't simplify 1. x

I'm debugging a program that uses polynomials with numerical coefficients and it turns out that mathematica does not simplify 1. x^2 x^2 to ...
72 views

### How to get exact solution for determinant in mathematica? [closed]

I am currently trying to program in mathematica, my issue is that the program is not solving for the exact value of the determinant in comparison to matlab. Code given below, where a and x are ...
27 views

### handling roots in mathematica [duplicate]

I am looking for the solution of: $\text{Solve}\left[-\frac{\alpha }{\sqrt{1-L}}-\frac{L t}{2}=-\alpha -2,L,Reals,\text{Assumptions}\to 0\leq \alpha \&\& 0<t\right]$ Mathematica is giving ...
296 views

### How to find constant term of binomial

There is supposed to be a command or set of commands to find the constant term of a binomial expression like $$\left(-2x^4 + \dfrac{-5}{x}\right)^{25}$$ ...
35 views

### Spotting and condensing expressions in output

I am running some symbolic scripts to generate a model problem. One of my outputs is This is generated by the Mathematica code or, in Mathematica format (owing to the fancy lettering and formatting ...
36 views

### Take a specific part of a matrix, excluding the external brackets [duplicate]

I have a little manipulation problem. I have the following matrix: ...
1 vote
51 views

### How to use only real values in a notebook?

I am wondering how to make Mathematica only evaluate real numbers by creating an initialization line in the beginning of a notebook. I would like to prevent the following: complex trigonometric ...
100 views

### Algorithms or Mathematica definition for functions ideals of polynomial Rings

This question was well posed four years ago without answer at Operations on ideals of polynomial rings. I asked again in Nov 2021 and posted possible function defininitions. Lichtblau commented ...
54 views

### Checking the consistency of a variable change

This question may have a simple solution. I did a change of variables and I'd like to check it; what do you recommend?. Altough I believed there's a way to compare term-by-term doing ...
54 views

### apply a change of variable to an expression

What would be the simplest way in which we can write y[x1_, x2_, x3_] = x1 + x2*x3 then x4 = x2*x3; to get to the form: ...
77 views

### Mathematica package for computing Macdonald polynomials

I want to implement computation of Macdonald polynomials in mathematica. A similar question was raised in another question 5 years ago (Macdonald-Koornwinder polynomials?), but received no clear ...
1 vote
109 views

### How to apply this function? [closed]

I have defined functions f[x], g[x]. How can I let them act on variable x (I want to put the ...
67 views

### Inverse/Division in finite field?

Think of multiplictavie group of finite field F[p,n], where p is a prime number and n is a positive integer. The whole elements of F[p,n] can be represented as p^n-p^(n-1) positive integers in the ...
71 views

### How can I multiply two 2-dim. matrices? [closed]

If I have the given below matrix d1[7,7], how can I multiply d1 by d1 to get the square matrix d2=d1.d1 ? ...
65 views

### Simplify simple symbolic expression with KroneckerDelta

In short, my question is about finding a method for performing an automatic substitution f[a]/.{a->b}, where b depends on the ...
84 views

### No solution to the equation even though it has one

I was trying out Mathematica with a simple equation. I tried this one out, but it outputted nothing and when I went on WolframAlpha to test it, there was a result (c = 3 btw). Please let me know if ...
1 vote
60 views

### generate quadratic functions to evaluate membership of points

How can I make a printable list with different quadratic functions and with points that belong or not to them so that a young person can check whether or not the point belongs to the parabola? my code ...
1 vote
230 views

### Simplifying quantum operators (ladder operators with multiple modes)

Similar to this question, I am interested in working with an implementation of quantum ladder operators. I've been trying to use this "Quantum Mathematica Package" to solve some lengthy ...
124 views

227 views

### How to solve these algebraic identities?

I need help in finding/solving these types of algebraic equations using Mathematica. here is the problem/code. I tried using 'With' command but no use. Thanks in advance. ...
50 views

### Solving from previous results

I require in this program to use only all the value of “p” form “solution 1” in “solution 2”. Instead of copy and paste each value of “p” individually in solution 2, I am trying to write a function to ...
100 views

### How to generate multiplication tables up to nxn?

I'm doing a simple multiplication table and I have this that I'm having a hard time with. I imagine that there must be a shorter way to do it, what I can't get is that it paints black the first column ...
108 views

### Simplifying cross product expressions

Suppose I want to calculate: Cross[A1 + B1, A2 - B2] + Cross[A1 - B1, A2 + B2] which is equal to 2 A1xA2 - 2 B1xB2 Using ...
115 views

### Check if polynomial is in factored form, without factoring

I have a large list list of integer polynomials, all of which are the output of Factor. So my list looks something like this: <...
52 views

### Sorting terms in a huge equation by grouping specific products

I have a boundary condition for a problem, which contains around 100 terms! I have no trouble getting Mathematica to compute it, but the terms are sorted in a seemingly random order and I would like ...
79 views

### Can I implement a constant in such a way that every function of it gets redirected?

Basically, I want to implement split-complex numbers and tessarines. They can be easily implemented as 2x2 matrices with complex elements. But I want them to work in general expressions. So I want a ...
38 views

### Perform Eliminate, Solve and Format at once in Mathematica

I have a series of equations where I use eliminate to get a new equation with desired variables. This equation is then solved for a specific variable and then the result is presented in a specific ...
1 vote
32 views

### rule generalization-NCA algebra [duplicate]

How can I generalize the rule ...
1 vote
92 views

### numerical values of coefficients

Consider the following output: x= (Sqrt[3/(2 (1 + Sqrt/4))] b[0, π/3] - (1 + Sqrt[7/3]) b[(2 π)/3, (2 π)/3])/(4 Sqrt 7^(1/4) Sqrt[1 + Sqrt/4]) If i do <...
76 views

### Expression conversion to a sum of base-N

I have: 1/(2^(1/2) - 2^(1/3)) And would like to dissolve the denominator and convert it to sum of numbers in the form 2^q where q is Rational. Does Mathematica ...
1 vote
81 views

### dot product of vectors with noncommutative elements

I came upon an interesting problem. Suppose you have three vectors $\psi=(a, b)$, $\phi=(c,d)$ such that their components do not commute: $ac\neq ca$, $bd \neq db$ etc. (in general the vectors may ...
30 views

### Obtain real roots [duplicate]

I'm evaluating polynomials that are solvables by radicals in their algebraic solutions but it allways return complex values. Apparently the main issue is with the radicals e.g. N[(-1)^(1/3)] returns 0....
74 views

### simplifying indefinite sums containing Kronecker Deltas

I want to simplify indefinite sums containing KroneckerDeltas, e.g: $\sum_{k,k1,q} \beta(q) \beta(k+k1+q) \delta(k1+q)= \sum_{k,q} \beta(k)\beta(q)$ where $k,k1,q \;\epsilon \; \mathrm{R}$ ...
1 vote
47 views

I define: ...