# Questions tagged [expression-form]

The tag has no usage guidance.

29 questions
Filter by
Sorted by
Tagged with
51 views

### How to convert RowBoxes into list of math expressions?

I have following RowBox which represents Step By Step solution of undefined integral ...
184 views

### How to convert the string "A^0" into the expression Superscript[A,0]?

I'm looking for a procedural way to define a symbol for a variable, based on a string. For instance, ToExpression["A^B"] gives us ...
• 622
1 vote
78 views

### Conjugate symbol

Is there a way to make mathematica display Conjugate[z] as z* or something like that? It gets very verbose when there are multiple conjugates in an expression, it becomes hard to read.
• 1,273
101 views

### Apply ReplaceAll to a whole notebook

I'm an avid tauist (tauday.com) and I don't like the fact that Mathematica displays equations with $\pi$ instead of $\tau=2\pi$. I know that I can "force" it to display $\tau$ by e.g. ...
• 167
1 vote
36 views

### PlotLegends parameter with subscript and multiple of other parameter in Mathematica

PlotLegends -> LineLegend[{Style[Subscript[ω, i] t == 0, Black]] When I use this command in Mathematica 13.2, I get ...
91 views

### Showing Real and Imaginary parts of a Complex expression without reordering

I know Mathematica has a strong tendency to reordering expressions, but this is too much and there must be a way. So I'll give you an extremely simple example. I define this ...
1 vote
94 views

### What does Sin[2. x] mean? [closed]

I am working with a particularly long function that, when I want to evaluate it at a certain $x$, shows: As you can see there are expressions herein of the form Sin[2. x] or Cos[2. x]. What do these ...
163 views

### How to simplify complex Trigonometric expression in mathematica? [closed]

The expression which I need to simplify in mathematica into simplest form ...
• 135
179 views

### How to Simplify safely

Mathematica often writes simplied expressions with -1 first followed by any variables (eg. -1+x). However I want to write it as ...
• 1,897
46 views

### Rationalizing only specific terms in an expression

How can I change an expression like A = (-1. a)/(x + y) - (2.1 b)/(x + y) + 4.1 + 2. x + (3. r s)/(x + y) so that -1. a becomes ...
• 445
1 vote
40 views

### InputField and TreeForm problem

I want to use the expression enter by the user and form the Tree, so I did TreeForm[test] as the picture show but it's not working. But if I do it manually, it works. Can anyone explain to me why ...
• 93
97 views

### Fullsimplify not working perfectly [closed]

Here I am using the below code for a simplification. ...
• 1,245
101 views

### Converting an equation to the form $ax+by=c$

I have a linear equation that comes as a result of applying orthogonality on a non-homogeneous boundary condition with two unknowns $C_1$ and $C_2$. Can someone help me to express this equation in the ...
• 297
1 vote
47 views

### Canonical order for expressions that applied in Sort? [duplicate]

Sort[list] sorts the elements of list into canonical order. As an example for sorting expressions: Sort[{y, x^2, x + y, y^3}] ...
• 641
1 vote
184 views

### ToExpression["string",TeXForm] doesn't work

I want to convert LaTeX equation to Mathematica code. I want to use ToExpression["x", TeXForm] to input some equation in Mathematica. However, my mathemtica doesn't ...
• 23
645 views

### How can I obtain a complete list of the kinds of atomic expressions in the Wolfram Language using only the language itself?

I mean, Wolfram is a language--it's words are infinitely combinable. According to answers to my last question, the only way I can find out if an expression is atomic is actually use the expression. ...
194 views

### What's the difference between 56 and Integer[56]? [duplicate]

I'm trying to grasp how to Wolfram Language uses symbolic expressions for everything. The concept of doing so makes sense to me, but the language doesn't behave how I predict. I understand how ...
123 views

### Find the number of true's in a TrueQ expression

How can I find how many times the code: Table[TrueQ[FractionalPart[Sqrt[n]] == 0], {n, 1, m, 1}] Gives the value True back for a variable $m$? So, we know that ...
• 23
487 views

### How to simplify an expression by substitution?

Sometime Solve and DSolve give a finial form of the solution, which is fine in may applications. However, in some cases, one may ...
• 1,229
1 vote
113 views

### How do I force a fractional coefficient to exclude non-numeric symbols?

Short version of question: Suppose I have an expression: expression = a+3b; When I divide by 2, I get: expression/2 It is ...
• 2,307
123 views

### SubsuperscriptBox and SuperStar

I have a notational reason (using the Notations package) to have some symbols display as C*60 (with the 60 lined up under the *). Internally, this is represented in Mathematica as: ...
• 2,307
58 views

### How to get a logical expression instead of a value [closed]

Suppose I want to write out the terms of the binomial distribution: Sum[ Binomial[n, k] q^k (1 - q)^(n - k), {k, 0, n} ] This obviously gives me 1, however I ...
• 123
1 vote
71 views

### Make two expressions look alike OR check that they are the same

I would like to compare my Mathematica calulations with the results from a paper. I get: ...
• 3,093
1 vote
381 views

### How can Mathematica take a prefactor in front of the relation

I have the following term in an expression $$\frac{q_B' \sin2q_B}{P_B Q_B^2}(2 Q_B P_B - \sin^2 q_B \Pi_B) q_1 q_1'$$ the prime denotes differentiation w.r.t a coordinate. Some additional ...
1 vote
108 views

### How to send Map[Plus[1, #] &, {1, 2, 3}] to Mathematica from C# via IKernelLink?

Here is a piece of my code ...
• 11
234 views

### Determine whether some expression contains a symbol doing nothing?

I have expression like this: expr = xuyz; then Head[expr] = xuyz But I wanted the product of four factors, so it should ...
42 views

### How to derive closed-form expression for a variable in an equation? [duplicate]

I have an equation $q = \frac{f + 2 f^2 + 3 f^3}{1 + 2 f + 3 f^2 + 4 f^3}$ and want Mathematica to derive a closed-form expression for real solution to $f$. I've tried running the following code: <...
756 views

...
• 195