Questions on manipulating complicated expressions and making them look simpler using Simplify, FullSimplify and Reduce.

learn more… | top users | synonyms (3)

1
vote
1answer
108 views

Simplify not working for a real part of a complex expression [closed]

When I try to get the real part of a term, for example: $\qquad \Re\left(\frac{e^{-i k} \left(2 k^2+\pi ^2 \left(-1+e^{i k}\right)\right)}{\pi ^2-k^2}\right)$ Mathematica will output the same thing ...
1
vote
1answer
80 views

Extract coefficients from trigonometric polynomial [closed]

Suppose I have: f[r_, ϕ_] = C1 Cos[ϕ]r + C3 Sin[3 ϕ] r + C4 Sin[4 ϕ] r^4; How do I extract the coefficient of a chosen trigonometric term, let's say ...
4
votes
1answer
49 views

Reliable testing of identities (example: modular functions)

Take, for illustration, the following function (bonus points for anyone who identifies where it comes from!), defined on the upper half plane: ...
0
votes
0answers
63 views

How to combine similar terms in a density matrix expression? [Ref: Quantum Computing]

I tried the following : Simplify, FullSimplify, and Expand. Due to this problem, I am not ...
1
vote
0answers
54 views

Running out of memory when doing non-commutative arithmetic

I need to calculate particular coefficients of the composition of two power series in non-commutative variables. The code below which works fine truncates power series in degree $n=5$. For $n=6$ (the ...
1
vote
1answer
181 views

Dealing with indicator functions

I am calculating the integral of two indicator functions with Mathematica. I'm having difficulty in imposing assumptions. What I have done so far: To define an indicator function: ...
11
votes
0answers
79 views

FullSimplify does freaky things with approximate Gaussians [duplicate]

I was playing around with Vitaliy Kaurov's neat answer to this question, and found something a bit unusual: ...
1
vote
0answers
67 views

DiracDelta of a function

If I have, for instance, FunctionExpand[DiracDelta[x^2+x-3]] it evaluates to ...
2
votes
3answers
76 views

Series: two varibles, how to eliminate the (product) higher order

I have a function of $f(x,y)$, where $x,y$ are very small numbers. I want to series expand it to the $3$rd power. However I don't want the terms such that $x^2y^2$, $xy^3$ etc. because I would reckon ...
1
vote
0answers
91 views
1
vote
0answers
39 views

Reduce excess Log[] [closed]

I am trying to solve a differential equation using DSolve: DSolve[y'[t] == t^10 eps^-y[t], y[t], t] And get the following output: ...
3
votes
1answer
177 views

Separate variables in equation

I need to know is there a way to separate the desired variables in the equation at one side of the equality. For instance, the following equation ...
1
vote
1answer
50 views

Need help simplifying final expression [closed]

I was carrying out a function and ended up with the desired answer, but for some reason, Mathematica keeps giving me the answer in a strange numerical form. ...
2
votes
1answer
80 views

How to replace $-x^{}\,y^*-y^{}\,x^*$ by $-(x^{}\,y^*+y^{}\,x^*)$?

Up to now, I have tried some codes like the following: ...
2
votes
0answers
58 views

Simplifying symbolic expressions using TensorExpand

Following my previous question I have this issue using TensorExpand: KroneckerProduct[x, y].(KroneckerProduct[2 z, w]) // TensorExpand results in ...
0
votes
1answer
72 views

How to write an expression in the desired form?

I have the following code: ...
3
votes
0answers
134 views

Is it possible to simplify an expression in vector form, which involves crossproduct and dot product?

I often need to simplify expressions involving cross product and dot product, for example: f = Dot[Cross[Cross[p1 - p, e1], Cross[p2 - p, e2]], Cross[p3 - p, e3]] ...
3
votes
2answers
126 views

Simplification of products of KroneckerDelta[]

What is the reason why the following expression does not simplify to True? ...
9
votes
1answer
83 views

Problem with simplification KroneckerDelta

Bug introduced in 8.0 or earlier and fixed in 9.0 I have: ...
3
votes
1answer
87 views

Simplifying an expression with complex variables

The other day I was trying to simplify the following expression of $w \in \mathbb{C}$ and $|w| < 1$: $$f(w) = \left|\frac{2}{(\frac{w+1}{1-w}+1)^2}\right|^{-\Delta} \cdot \frac{1}{\left|{\rm Re}(\...
4
votes
1answer
93 views

FullSimplify on complex numbers seems inconsistent

FullSimplify[c Conjugate[c]] returns Abs[c]^2 while FullSimplify[2 c Conjugate[c]] ...
5
votes
1answer
92 views

Simplify with a condition

I have an expression, $-a (u + a v)$, and I would like to simplify it using the fact that $a^2 = 1$. I have tried Simplify[Expand[-a (u + a v)], a^2 == 1] but ...
8
votes
1answer
114 views

evaluation of the sum of KroneckerDelta

I need help. I need to know why the next code doesn't simplify in Mathematica 10 but it does in Mathematica 8. I need some similar in version 10. What can I do? ...
2
votes
1answer
85 views

FullSimplify gives wrong answer when operating on HypergeometricPFQ

When I try to simplify this hypergeometric function FullSimplify[HypergeometricPFQ[{1/2 - n/2}, {-(1/2) - n/2}, -a^2]] Mathematica 10.0.1.0 returns ...
1
vote
1answer
39 views

Why doesn't Simplify use my own TransformationFunction?

I define a simple TransformationFunctions via: tfTest[e_] := e /. {x^2 -> Hold[x*x]} and try to use it with ...
2
votes
1answer
110 views
5
votes
0answers
53 views

External and internal Assumptions on `PiecewiseExpand` and `Mod`

After this question I'm intrigued about the different behaviors depending where and how the assumptions are given. ...
1
vote
1answer
45 views

Simplify Mod to subtraction when possible

FullSimplify[Mod[t,10], t>101 && t<109] It's a long shot, but can I get Mathematica to return t-100 or something ...
2
votes
0answers
99 views

General suggestions to accelerate Simplify and FullSimplify

To my understanding, the function Simplify[] and FullSimplify[] work by applying a series of built-in transformation rules to ...
3
votes
2answers
62 views

To simplify an expression further

I have solved the following Eq to get hz: ...
0
votes
0answers
31 views

Solve for parameters to minimize expression complexity?

I have a set of complicated expressions cf[i] with i=1,...,35 that apart from constants depend on parameters ...
0
votes
2answers
100 views

Simplify square root term by taking variable inside root

I want to simplify expression $\frac{\sqrt{1+b+b^2}}{b}$ to$\sqrt{1+\frac{1}{b^2}+\frac{1}{b}}$. How to achieve this?
0
votes
0answers
84 views

Solve Always with Assumptions

How can I use the Solve Always function imposing some assumption on the parameter space of the symbolic variables? Thanks!
0
votes
1answer
48 views

Get dominant terms in asymptotic expansion

I'd like to find the dominant terms of an expression given the conditions $x,y >> 1$: $c_0 y+\frac{y^2 \left(4 c_0^2 y - 12 c_1 c_2^2+y^2\right)}{24 x^2 \left(\text{c1}^2+\text{c2}^2+y\right)}$ ...
1
vote
0answers
66 views

“Reduce” works fine for a non-linear system with 9 equations, but cannot solve it if 10 equations. Any ways to improve the code?

I am trying to solve a class of problems, which are basically about a solution to a system of non-linear equations subject to the constraint that some subset of solutions must be non-decreasing. I ...
2
votes
2answers
195 views

Why doesn't Mathematica pull out common factor when simplifing sums of square roots?

Why can't Mathematica pull out the common factor in the following expression when FullSimplifying, to see that it is zero? ...
3
votes
0answers
33 views

commutative matching

I've been doing some work that results in the creation of hundreds or thousands of equations with the same answer. To prevent them from collapsing to their simple answers, each has been passed through ...
3
votes
1answer
44 views

Simplifying nested KroneckerProducts

Any suggestion how to bring a nested KroneckerProduct form into just one? I mean some how converting ...
6
votes
0answers
47 views

Unexpected behaviour of Simplify

I'm evaluating an expression and to me the result should be True but Mathematica is giving me a different result. ...
3
votes
1answer
53 views

How to get Mathematica to make further simplifications to conditional expressions than it has already made?

I have the following Mathematica result under the assumption that {ax, bx, px, ay, by, py} \[Element] Reals, and after refinement by ...
4
votes
0answers
90 views

Simple arithmetic with Irrationals fails [closed]

While solving a simple puzzle that asked for a few calculations in plane geometry, I ended up with this expression: $-\frac{55}{2}+\frac{\sqrt{27233}}{2}+\frac{1}{2}(55-\sqrt{27233})$ Or, in ...
0
votes
1answer
105 views

Why doesn't mathematica replace $\frac{I_0(\kappa)}{I_0(\kappa)}$ by 1 [closed]

I have a matrix of the form: $$\left( \begin{array}{ccc} 1 & \frac{\delta I_1(\kappa )}{I_0(\kappa )} & 0 \\ \frac{I_1(\kappa ) \delta ^*}{I_0(\kappa )} & \frac{\delta (I_1(\kappa )+\...
1
vote
2answers
103 views
7
votes
1answer
146 views

Why don't 1. (0. + a) or (0. + 1. a) simplify?

I'm handling some mixed-numeric-analytic expressions, and I feel I'm missing some subtleties of how Mathematica handles simplification of such expressions. In particular, I was initially puzzled by ...
0
votes
2answers
167 views

Simplifying complex fractions

How can I simplify a complex fraction in order to get something of the shape (a + I b)/(c + I d)? Note that I would not like Mathematica to further simplify it ...
0
votes
1answer
85 views

How to simplify an expression with assumptions

I have a matrix of the form: Tvol // TraditionalForm $$\left( \begin{array}{ccc} 1 & \frac{\delta I_1(\kappa )}{I_0(\kappa )} & 0 \\ \frac{I_1(\...
4
votes
1answer
424 views
2
votes
2answers
113 views

How does Simplify give two answers when they are the same?

I am trying to get the CDF of a random variable using TransformedDistribution. ...
3
votes
3answers
160 views

How to evaluate $-i e^{\frac{i k}{2}} \sqrt{-e^{-i k}} = 1$?

In my calculation, there exist some expressions like $-i e^{\frac{i k}{2}} \sqrt{-e^{-i k}}$, which are not simplified to be $1$, and makes further calculations rather complicated. I tried to ...
4
votes
1answer
220 views

How to make Mathematica express an equation in terms of previously defined functions

I was given a problem for my physics class, and perhaps I have taken it too far, but I wish to finish what I started. I have a function (i warn you that this does not look pretty) ...