Tagged Questions

For questions concerning the popular computational software program published by Wolfram Research. (Note: you are more likely to get quicker and more accurate response if you ask the question on their user forum or on the Mathematica StackExchange site.)

1k views

Choosing the branch of a logarithm

The problem: I am integrating complex logarithms over an angle $\phi$ over $[0,2\pi]$. It is quite complex (pun not intended) and I called Mathematica in to aid me. I am calculating an energy of a ...
57 views

Algorithm for FindSequenceFunction

What algorithm might Mathematica be using to compute FindSequenceFunction? Does anybody know if there is any online material on this topic?
193 views

How to integrate $\left(1+\ln(x)\right)\sqrt{1+(x\ln(x))^2}$ with Risch algorithm?

How would you integrate $\left(1 + \ln\left(x\right)\right)\, \sqrt{1 + \left(x\ln\left(x\right)\right)^{2}\,}$ using the Risch algorithm? I want to know this because Mathematica is using the Risch ...
61 views

Approximate equation for tapered cycloid offset curve without cusps

Is it possible to create parametric equations to approximate a tapered cycloid offset curve without cusps, that does not require manual adjustment of values when the primary curve parameters are ...
130 views

The mathematics of anaglyph images

Note: I'm not quite sure whether this question properly belongs to the Mathematica or to the mathematics Stack Exchange. But because my question mainly concerns general mathematical principles rather ...
126 views

Algorithm to find the “optimal” path in a given graph

Assume that $G=(V,E)$ is an undirected connected graph and that $H: V \to \mathbb R$ is a function that assign at each vertex $v \in V$ its height $H(v)$. Think of the pair $(G,H)$ as an energy ...
377 views

SAGE vs. Mathematica for Lie algebras / groups?

What math software is better for working with Lie algebras and Lie groups, SAGE or Mathematica?
50 views

How to visualize a function to aid in optimization?

I am working on minimization of a function with more than two parameters. I want to see variations, local extremes, saddle points, etc. of this function to get some idea of how is this function in ...
145 views

Perturbation problem

This is a mathematica exercise that I have to do, where $y(x) = x - \epsilon \sin(2y)$ and it wants me to express the solution $y$ of the equation as a power series in $\epsilon$.
49 views

Is this system of inequalities (and equality) tractable?

I have some real parameters here. The $\mu_i$ - for $i=1,2,3,4,5$ - are 'convex coefficents' in that $\mu_i\geq 0$ and $\sum_{i}\mu_i=1$. The $x$ and $z$ are such that $x^2+z^2\leq 1$. The ...
32 views

Finding feasible solution of inequalities in math software

I have a Math problem where I have some true statements, and I want to know if there is a feasible solution to an equation. I would like to know how to do that in either Matlab or Mathematica. The ...
89 views

Solution of nonlinear waves( breathers)

The sine-Gordon equation is known as $$\frac{\partial^2 u}{\partial t^2} - \frac{\partial^2 u}{\partial x^2} + \sin u = 0,$$ Can you please derive the equation which is known as breather equation ...
318 views

$\int^{\infty}_{0}x^{r +s- 1}(1 + x)^{-s}(1 + x^2)^{-\frac{rm}{2}}dx$

I'm trying to solve the integral $\int^{\infty}_{0}x^{r +s- 1}(1 + x)^{-s}(1 + x^2)^{-\frac{rm}{2}}dx$, where $s$, $r$ and $m$>1 are positive integers. My question is whether a closed form ...
511 views

Calculate periodicity in 1-dimensional array with noise

I have a 1-dimensional array with some integers, which are periodically increasing. Something like this (1 period here): ...
21 views

Symbolic Constrained Optimization in Matlab or Mathematica

I hope you are having a nice day. I am learning MATLAB at the moment and the best way for me to learn is to use it to tackle some of my problems. I am currently trying to solve the following problem ...
19 views

33 views

21 views

How to obtain an analytic approximation of this wavelet-looking function?

I would like the approximating function to be infinitely differentiable. I have tried fitting (1) a polynomial and (2) a combination of sin, cos, and exp functions to approximate the function shown ...
I want to fit a straight line model of the form $y_i = a+ b\ x_i$ to the list of $(x, y)$ pairs given below. How can I plot the data with error bars in both coordinates? ...
I want to evaluate $$\int_{a+b-c}^s\,\text{d}x\, \frac{(-x+ab/c)^{\epsilon}}{(x+c-a-b)^{\epsilon+1} (a-x)},$$ where $a,b,c,\epsilon$ are real numbers, and to be treated as constants in the integration....