New answers tagged

0 votes

Showing that the difference between two CDF functions is positive when CDFs are symbolic expressions

The documentation clearly says that Positive works only for numbers. This explains the output obtained by you. That you want can be done as follows. ...
user64494's user avatar
  • 23.2k
1 vote
Accepted

Adding symbolic functions and manipulating results of DSolve

$Version (* "13.3.1 for Mac OS X ARM (64-bit) (July 24, 2023)" *) Clear["Global`*"] eqn = y''[x] + w^2 y[x] == A Cos[q x]; Ask for the ...
Bob Hanlon's user avatar
  • 149k
4 votes

How to solve the non-linear over-determined equations symbolically?

Use SolveAlways instead of Solve as follows ...
Alex Trounev's user avatar
  • 41.1k
2 votes

Piecewise integration doesn't evaluate

...
Bob Hanlon's user avatar
  • 149k
4 votes

Function to generate analytic solution of StandardDeviation of a list given sublists

Here is one way to do so. Note that this is a data manipulation exercise and doesn't imply any ability to make inferences with the resulting standard deviation. ...
JimB's user avatar
  • 39.6k
0 votes

Finding the maximum of a symbolic piecewise function

You have to evaluate all parameters. For example, Maximize[{f[x, -2, 1, 1/3, 4, 2], x >= 0}, x] {6, {x -> 0}} It should ...
user64494's user avatar
  • 23.2k
2 votes

Integration involving two DiracDelta with variable limit

Mathematica needs the info t \[Element] Reals ! Using DiracDelta as a limit (see @RolandF's ...
Ulrich Neumann's user avatar
3 votes

Integration involving two DiracDelta with variable limit

Approximate the DiracDelta by the normal distribution Integrate[DiracDelta[z-1 ]/z 1/Sqrt[2 \[Pi] s] E^(-(t-z-1)^2/(2s^2)), {z,0,t-1}] $$\fbox{$\frac{\...
Roland F's user avatar
  • 2,259
3 votes

Integration involving two DiracDelta with variable limit

Workaround: ...
Mariusz Iwaniuk's user avatar
1 vote

Simplify to vectors and matrices

One has to proceed cautiously because Mathematica accepts non-standard algebraic input with vectors and matrices, e.g a.b instead of a.Transpose[{b]] such that dimensions fit for the contraction ...
Roland F's user avatar
  • 2,259
2 votes
Accepted

How to define linear mappings on a vector space spanned by abstract symbols?

Linearity is defined as f[x_+y_]= f[x]+f[y] and f[lam x_] = lam f[x], where lam is a scalar. ...
Daniel Huber's user avatar
  • 45.5k
0 votes

Adding elements to some sublists of unequal length

Another method using GroupBy: ...
E. Chan-López's user avatar
1 vote

Adding elements to some sublists of unequal length

...
Syed's user avatar
  • 38.1k
1 vote

Adding elements to some sublists of unequal length

From the Association universe: KeyValueMap[Flatten @* List] @ Merge[# &] @ Map[GroupBy[First -> Rest], {a, b}] {{1, 3, 5,...
eldo's user avatar
  • 40.7k

Top 50 recent answers are included