New answers tagged simplifying-expressions
8
votes
Accepted
7
votes
Accepted
Automatic identification and substitution of fundamental mathematical constants
How can I computationally force or convert or express results to be
expressed in mathematical constants, if possible?
For the GoldenRatio, it shows up as $\phi$ only in TraditionalForm. So it is not ...
1
vote
How can I reduce this complex exponent expression to real expression?
The last two terms can be simplified to real as follows
FullSimplify[-(c - d I) E^((a + b I) t) - (c + d I) E^((a - b I) t)==-2 E^(a t) (c Cos[b t] + d Sin[b t])]/.
...
1
vote
How can I reduce this complex exponent expression to real expression?
This is a problem created by using machine numbers. These are seldom 100% accurate, they are most of the time an approximation. And if you have an expression like: x - Conjugate[x] it is possible that ...
3
votes
Accepted
How can I reduce this complex exponent expression to real expression?
Rationalize[expr, 0] // Im // ComplexExpand
0.
It means that expr is real.
...
10
votes
Why Mathematica is treating the product of (specified) real variable as complex?
You are probably not using Mathematica correctly. First, you shouldn't put MatrixForm into SingularValueList. Second, the way ...
9
votes
Accepted
How to write an easy Conjugate Function that just replaces i -> -i
Replace acts on the full form of an expression, not the displayed form. The full form of your expression:
expr = I (a + 0.5123 I b - 1.2332 I c);
expr // FullForm
Therefore a complex number is ...
2
votes
Accepted
2
votes
Distribute conjugate and simplify to absolute values
You could define your own "fake" symbolic conjugate that has the properties you want and then use the real Conjugate only when you need it.
...
2
votes
Accepted
Distribute conjugate and simplify to absolute values
Not to make things too complicated, I only use the first part of w for an example:
w = 1/2 (x Conjugate[x] + y Conjugate[y] - a x Conjugate[-a x + a y])
Then ...
2
votes
Factorize in a particular way
A quick way to do that is:
Collect[TestPolynomial,{x1,x2,x3},Simplify]
An inconvenience with the above code is that it also factorizes some of the variables :
...
2
votes
Accepted
Mathematica won't validate Fresnel Integral identity
Here is OP's formula from his Out[40] stored in expression:
...
7
votes
Mathematica won't validate Fresnel Integral identity
Works fine here once I correct the formula:
FresnelC[z] + I FresnelS[z] == (1 + I)/2 Erf[(1 - I)/2 Sqrt[π] z] // FullSimplify
(* True *)
To get the original ...
2
votes
Square root of complex exponenial does not simplify
which should simplify to simple (1+2Nph)
One way to simplify this is to to simplify with side relation
...
2
votes
Accepted
Reduce and FullSimplify don't reduce fully -- how to check if candidate solutions hold
Simplify[
x a^2 + y b^2 + (-x - y) a*b == 0, {a == 1/x, b == 1/y, y > x > 1}]
True.
3
votes
Reduce and FullSimplify don't reduce fully -- how to check if candidate solutions hold
Provide the conditions to FullSimplify too.
...
1
vote
Simplifying DSolve output. Exponentials raised to constant
With the solutions, DSolve gives, you can access all real solutions for real x with real c1.
Substituting E^c1 -> c2 and restricting c2 also to real values, you ...
4
votes
Solve conditional term with mathematica
We consider that a[n]=x^n + y^n. To deduce the recurrence relation we compare with x^(n + 2) + y^(n + 2) and ...
6
votes
Solve conditional term with mathematica
A simpler way is as follows.
Simplify[(x^3 + y^3)/(x^2 + y^2), {x + y == 3, x y == -1}]
36/11
8
votes
Solve conditional term with mathematica
The lazy way to do this is to evaluate
Solve[{z == (x^3 + y^3)/(x^2 + y^2), x + y == 3, x y == -1}, z, {x, y}]
{{z -> 36/11}}
The clever way to do this is ...
Community wiki
2
votes
Solve conditional term with mathematica
One way could be to first solve for $x,y$ using Solve command, and then replace all the solutions into the expression.
Something like
...
3
votes
Accepted
Simple way to express disjunction likes x==a || x==b || x==c ||
Not being an expert in the statistical functions, I'm not sure about this, but would something like this work?
...
Top 50 recent answers are included
Related Tags
simplifying-expressions × 2191equation-solving × 183
complex × 161
assumptions × 159
symbolic × 158
calculus-and-analysis × 147
trigonometry × 133
expression-manipulation × 128
algebraic-manipulation × 126
special-functions × 117
replacement × 83
summation × 69
functions × 67
differential-equations × 63
matrix × 57
polynomials × 57
series-expansion × 50
factorization × 37
list-manipulation × 34
evaluation × 33
inequalities × 33
linear-algebra × 30
pattern-matching × 29
performance-tuning × 28
tensors × 27