Questions tagged [algebra]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
34 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
0answers
47 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 ...
0
votes
1answer
35 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 ...
0
votes
0answers
50 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: ...
2
votes
0answers
63 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
1answer
104 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 ...
1
vote
1answer
53 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 ...
0
votes
0answers
52 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 ...
0
votes
0answers
63 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 ...
0
votes
1answer
119 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 ...
0
votes
2answers
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 ? ...
0
votes
1answer
79 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 ...
2
votes
0answers
64 views

Using Curl and Grad in cylindrical coordinates gives different result than in Cartesian

I am doing a quite elementary calculation to verify $$ \vec \nabla\cdot V = \vec\nabla \times \vec A $$ Where $V$ is just some scalar function in $\rho$, $\phi$ and $z$ and $A$ is defined as $$ ...
0
votes
3answers
127 views

How to solve these type : If $a + b + c + d = 63$ then find the Maximum of $(a b+ b c+ c d)$

If a + b + c + d == 63 then find the Maximum of a b + b c + c d. I tried using If, ...
0
votes
1answer
38 views

Substitution of sequences to derive recursive mean

I would have the following derivation to calculate the recursive moving average and I'd like to follow it as closely as possible in Mathematica. For the sequence where $y(i)$ is considered as an ...
5
votes
2answers
63 views

Group terms in a large expression based on their minimum variable dependencies

Suppose I have a very large expression, myEq[x1,x2,x3,x4] in four variables, x1, x2, ...
0
votes
1answer
57 views

How to simplify for a ratio of two variables

Say I have an equation like $$2 z \ln[\frac{a v_{2}^{2}}{b_{2}}]+(v_{1}-2v_{2}) - z \ln[\frac{a v_{1}^{2}}{b_{1}}]\geq0$$ ...
3
votes
3answers
219 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. ...
0
votes
1answer
46 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 ...
0
votes
2answers
59 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 ...
2
votes
1answer
100 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 ...
0
votes
2answers
68 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 ...
5
votes
1answer
106 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: <...
0
votes
1answer
48 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 ...
1
vote
2answers
93 views

Extracting subexpressions

This is a recurrent topic: replacing subexpressions. See for instance: ...
0
votes
1answer
33 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
0answers
31 views

rule generalization-NCA algebra [duplicate]

How can I generalize the rule ...
1
vote
4answers
90 views

numerical values of coefficients

Consider the following output: x= (Sqrt[3/(2 (1 + Sqrt[11]/4))] b[0, π/3] - (1 + Sqrt[7/3]) b[(2 π)/3, (2 π)/3])/(4 Sqrt[2] 7^(1/4) Sqrt[1 + Sqrt[7]/4]) If i do <...
2
votes
1answer
75 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
0answers
48 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 ...
0
votes
1answer
68 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}$ ...
0
votes
0answers
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....
1
vote
1answer
40 views

NonCommutativeMultiply syntax question

I define: ...
2
votes
1answer
45 views

NonCommutativeMultiply question- syntax question

if I define id as: id /: NonCommutativeMultiply[id, x_] := x id /: NonCommutativeMultiply[y_, id] := y then ...
2
votes
2answers
67 views

Solve for two variables but output second variable in terms of first variable

Here are some equations for illustration: Format[Solve[{4*r1^3 == r2^2*(3*h), t*r2^2*(h - d) == r2^2*(h + d)}, #] & /@ {{h, d}}, InputForm] Here is their ...
4
votes
2answers
179 views

Using Manipulate[] to manipulate Plot[] min and max values

I have code: Plot[y = -3*x + 2, {x, -10, 10}, AspectRatio -> Automatic, PlotRange -> {{-20, 20}, {-20, 20}}] output: Now I want to use ...
1
vote
1answer
70 views

normal ordering of Bose operators

Suppose I have lot of product terms of Bose operators, e.g: ...
2
votes
1answer
54 views

grouping common powers of Bose operators

I compute a product of Bose operators and turn it into normal ordering using Boson commutation relations, e.g: ...
1
vote
1answer
50 views

How to find the norm of an imaginary exponential expresion?

I need to find the norm of the following expression $$ |1+e^{-i2\pi w}+e^{-i4\pi w}|^2$$ With w real number. For doing this I coded: ...
0
votes
1answer
103 views

Define commutator of operators, to do computations

I'm actually new to Mathematica I have been using sympy and sometimes cadabra to do calculations for a while though, I was wondering if there is an easy way to compute arbitrary expressions simplified ...
0
votes
1answer
39 views

Algebraic simplification of elements in a matrix

The matrix is defined as: ...
1
vote
1answer
45 views
2
votes
1answer
65 views

Find values of n for which expression is integer

I have an expression for which I want ot find values of n that will make it an integer. Here is the expression: (n^(3/2) - n)^(1/3) or n^(1/2) - n^(1/3) I want to ...
1
vote
2answers
102 views

Generates first degree exponential equations

I try to generate a list of first degree exponential equations in the real ones and that the solution is in logarithm in base 10 as simplified as possible, for example x= log(7) , where log is in base ...
0
votes
1answer
75 views

Solve equations for multiple variables at same time

Here is an example equation: Solve[{a*x + b*y == c}, {a}] It gives me: a -> (c - b*y)/x To solve the same equation for <...
8
votes
2answers
231 views

Given x ⊕ x =5,x ⊕ (y ⊕ z) = (x ⊕ y)+z-5 what is 2009 ⊕ 1949

There is an operation "⊕" that satisfies $x ⊕ x =5$ $x ⊕ (y ⊕ z) = (x ⊕ y)+z-5$ what is 2009 ⊕ 1949? I think it is feasible to solve with Mathematica, but my code doesn't give a useful ...
6
votes
1answer
262 views

Constructible numbers

Can Mathematica detect constructible numbers? I know it has MinimalPolynomial, but for degrees higher than 4 it's not obvious whether a given polynomial yields a ...
0
votes
1answer
75 views

How to neglect the terms containing second and higher powers of parameter in a function

I want to neglect the terms containing second and higher powers of a from some equations. Since the equations are lengthy expressions, I was using Mathematica to ...
0
votes
2answers
56 views

Solve the system using elimination What are a, b, and c in the quadratic equation, ax^2+bx+c=y given the [closed]

Solve the system using elimination What are a, b, and c in the quadratic equation, ax^2+bx+c=y given the points: (2,17), (-2,9), and (1,6), please solve the question using steps e.g. (step 1, step 2)?
1
vote
1answer
40 views

Changing initial conditions in a recursive polynomial family definition. Then, finding the generation function for this family

I'm following a paper trying to find a way to repeat the done computations using Mathematica. I'm beginner using Mathematica and I already read that: I could define functions by recursion; I could ...

1
2 3 4 5