Questions related to the calculus and analysis branches of Mathematica, including, but not limited to, limits, derivatives, integrals, series, and residues.

learn more… | top users | synonyms (3)

5
votes
1answer
193 views

A triple sum related question

I'm trying to compute the triple sum Sum[ 1/(i! j! k! ), {i, 1, Infinity}, {j, i + 1, Infinity}, {k, j + 1, Infinity}] but Mathematica doesn't return any value. ...
2
votes
5answers
303 views

Simplify an integral involving trigonometric functions

We were doing variation of parameters in differential equations tonight and had to do the following integral, the result given by hand calculations. $$\int \cos t\tan^2 t\,dt=\ln|\sec t+\tan t|-\sin ...
2
votes
0answers
211 views

About calculating Integrals

I am trying to Integrate the following Integral (all of the variables are reals) $$\int Exp(-(\cos^{-1}\left[\frac{\text{n}_0 (\text{v}_0-\text{x}_0)+\text{n}_1 (\text{v}_1-\text{x}_1)+\text{n}_2 (u ...
2
votes
1answer
96 views

Two different results for same symbolic integral

I am trying to compute the following integral $\int_0^\infty dk \frac{e^{i k a}}{k^2}[\sin(kb)-kb\cos(kb)]$ When computing it as-is, i.e, with the code ...
7
votes
2answers
336 views

How much time should one give Mathematica for an integral evaluation?

Sometimes when I do integrals in Mathematica (M), it keeps thinking and thinking and I have no idea what is going on inside M. For how long should one wait or how does one know whether M has not got ...
3
votes
3answers
82 views
1
vote
1answer
84 views

How to show steps of Integrate[Exp[-(I*(s*t))]/(Sqrt[2*Pi]*Sqrt[s]), {s, 0, Infinity}]? [duplicate]

I am trying to use Wolfram Alpha in Mathematica 10.2 to show me the steps for calculating the integral in the title, i.e I have written the following command: show steps of ...
5
votes
1answer
59 views

When is RegionMeasure[ImplicitRegion[…]] faster than (N)Integrate[Boole[…]]?

I wanted to use Mathematica to compute areas and volumes of various implicitly defined regions, so I ran a simple test case using the unit circle: ...
0
votes
1answer
66 views

Integral Bounds and RegionPlot3D

We a tough problem in class today preparing for the final exam next Monday. $$\int_0^{\pi^{1/4}}\int_0^z\int_y^z 12y^2z^3\sin(x^4)\,dx\,dy\,dz$$ I was extremely surprised that I could simply type in ...
0
votes
0answers
56 views

Solving this equation with NDSolve

I'm trying to solve a differential equation numerically. I've written this code but it is leading to some errors "initial history needs to be specified for all variables for delay-differential ...
0
votes
2answers
53 views

Why i cannot get a numerical result? [closed]

I have tried following code: Limit[((sinx)^6)/(cosx - e^(-(x^(2))/2) + (x^(4))/12), x -> 0] Following is the image representing what I have tried to ...
2
votes
3answers
103 views

How to typeset and evaluate $u \big|_a^b$

Sometimes I need to evaluate an expression at the end points. e.g. the right hand side of $\int_a^bf(x)\textrm{d}x=F(x)\big|_a^b$. $F(x)$ could be complex at the right hand side so I can't just ...
3
votes
1answer
77 views

Evaluate Limit only if both directions(sides) are equal?Ex: $\lim _{x\to 0}\left(\frac{1}{x}\right)=DNE$

I want the limit of a function to only evaluate if both the left and right hand side are equal. For example $\lim _{x\to 0}\left(\frac{1}{x}\right)$ doesn't exist(two sided limit). However, the right ...
0
votes
2answers
58 views

Using Mathematica to find the areas described by polar curves

I am working on a project and I need to find the area of the surface inside the polar-curve $r=2cos(\theta)$ and outside the polar-curve $r=1$. The graph is pretty straightforward: just two identical ...
5
votes
1answer
438 views

Linearized Einstein Equations with Mathematica

I need to compute the linearised Einstein Equations around a fixed metric $g_{\mu \nu}$ which is not the flat metric. Someone knows any Mathematica package or a review that can help me?
4
votes
0answers
122 views

Linearised Einstein equations

I need to compute the linearised Einstein Equations around a fixed metric $$g_{μν}=\text{Minkowski metric} + h_{μν}$$ which is not the flat metric. Does anyone know a Mathematica package or a ...
5
votes
1answer
226 views

Strange result from evaluating a Limit expression

Bug introduced in 9.0 and fixed in 10.0 When I evaluate the limit of (1-Cos[x]) Sin[1/x] at x = 0 in Mathematica 9, I ...
0
votes
1answer
164 views

Plotting singular integral

I need to plot the following singular double integration $u(x,t)$ for $t=0, t=0.2, t=0.4, t=1$ and $t=2$ in one figure as a line. That is, I need $u$-coordinate vertically and $x$-coordinate ...
4
votes
2answers
81 views

Defining arbitary Derivatives of functions

If I have two functions like these f[a_,b_] and g[a_,b_]. Lets say ...
2
votes
1answer
86 views

How to evaluate the limit of a function consists of Range

I would like to evaluate the limit: $$ \sqrt{1+\sqrt{2+\sqrt{3+\sqrt{4+\sqrt{5+\cdots}}}}} $$ Therefore, I write the following function of n: ...
1
vote
1answer
41 views

Apply Grad and Mod to Matrix

Let f:=x^3+y*x*z+z^3; Let mat = {{2, 2, 2}, {3, 1, 7}, {1, 6, 3},{4, 5, 1},{0,4,9}}; be a list of points . I want to compute ...
2
votes
2answers
68 views

How to fix internal error “too much recursion” when trying to compute a definite integral

I'm completely new to Mathematica. I got a 14 day free trial and I'm using the online version. I'm trying to use it to check the results of an integration I performed by hand. But I'm not getting any ...
0
votes
2answers
103 views

How can I calculate the following integral?

I tried to calculate Integrate[(9.07 - 5.60 Cos[.87 t] - 2.71 I Sin[.87 t] + 2.14 Cos[1.74 t] + 2.70 I Sin[1.74 t] )^0.5, {t, 0, T}] but the output is the ...
5
votes
4answers
207 views

Limit of partial sums involving inverse squares

Consider the finite sum rs[x_, n_] := x/n Sum[n^2/(i + (n - i) x)^2, {i, 1, n}] Is there a way to bring Mathematica to calculate the limit for ...
3
votes
1answer
117 views

How do I color Riemann integral rectangles using conditionals?

I'm building a function to visualize the Riemann integration process for any function using rectangles. Everything is fine, except that I need the color of the rectangles to change if they're under ...
1
vote
1answer
81 views

Evaluation of this definite integral

I want to obtain the symbollic expression for this integral: $\int^\infty_{-\infty} \, dx \, \left(\frac{y - x}{R^2 + (y-x)^2}\right)\, e^{-\frac{(x - \mu)^2}{4 s^2} - \frac{i k (y - x)^2}{2 R}}$, ...
5
votes
2answers
87 views

Infinite sum not evaluated unless split into even and odd terms

This sum s = Sum[Gamma[k/2]/(2 k!), {k, 1, ∞}] $\sum _{k=1}^{\infty } \frac{\Gamma \left(\frac{k}{2}\right)}{2 k!}$ is returned unevaluated (version 10.1.0). ...
0
votes
1answer
76 views

Calculate overlap coefficient between two functions

I have two functions and I want to calculate the overlap coefficients between those two functions. A similar question has been answered for Python and R, however, I couldn't find an answer for ...
15
votes
1answer
224 views

Integrate returns imaginary answer for smooth, real function

Bug introduced in 7 or earlier and persisting through 10.3 I'm trying to evaluate the integral: $$\int_0^{\infty} \frac{1}{4 b \sqrt{\pi} r} e^{-(b-r)^2}(e^{4 b r} - 1) \mathrm{d}r$$ with ...
2
votes
3answers
98 views

Adding more specific assumptions to Integrate

Let's say I would like to find a symbolic form for the integral $$\int_0^{2\pi}\sin^nx\,\mathrm{d}x$$with the added condition that $n$ is not only an integer, but an even one at that. Can this be ...
3
votes
3answers
172 views

Symbolic derivatives of special functions yield incorrect results

When I evaluate with Mathematica this expression D[ Abs[ Zeta[x + I y]], {x, 2}] + D[ Abs[ Zeta[x + I y]], {y, 2}] 0 the ...
4
votes
0answers
304 views

Spherical harmonic derivative

Consider the following substitution Derivative[2, 0][S][th, ph] /. S -> Function[{th, ph}, SphericalHarmonicY[3, 0, th, ph]] which gives correct answer. While ...
2
votes
2answers
459 views

Limit of sequence

I tried to calculate the following limit $$\lim_{n\to\infty}n\sin(2\pi en!)$$ Mathematica gets ...
2
votes
0answers
67 views

How to Mellin transform a complicated Log integrand?

I got a question concerning an integral. I need to know the analytical expression. I have to Mellin transforn a function and the integral is then sth. like this: $$ \int x^{N-1} \frac{Ln(a -x)}{1-x} ...
6
votes
1answer
165 views

Symbolic integration of elliptic functions

Is there a clever way to integrate products of elliptic functions like $\wp(z;g_2,g_3)$ or $\zeta(z;g_2,g_3)$ in Mathematica? Mathematica seems to be able to integrate functions like ...
4
votes
1answer
103 views

Mathematica shuts down when calculating this limit

Bug introduced in 9.0.0 and fixed in 9.0.1 I'm trying to compute this limit: Limit[E^-(r^2)^(2*n)*r*2*Pi, n -> Infinity] But, when I run the code above, ...
1
vote
0answers
57 views

Good coding for integral substituions

This question is aimed at improving both my coding and my understanding of MMa's capabilities. A lot of my code is still hacks and workarounds for things I don't know how to do properly. I want to ...
4
votes
1answer
146 views

Generalization of a rule to N arguments

I am trying to apply a series expansion on a function x[t1,t2,...tn], with an expansion parameter a. For ...
18
votes
2answers
283 views

Derivative of a pure function with SlotSequence

I can live with this but I can't figure out why the following is 0: Derivative[1][f[##] &][x] 0 From documentation ...
0
votes
1answer
95 views

Reflective and Constant Flux Boundary Conditions

Can anyone tell me how I can use NDSolveValue to model reflective and constant heat flux boundary conditions. I am solving the heat equation. Essentially I have a ...
0
votes
1answer
101 views

Operator product

I have this problem: I define the gradient operator as: gradiente = {D[#, x] &, D[#, y] &, D[#, z] &} Now, if I want to apply the operator on a ...
0
votes
0answers
106 views

Why does this integral have a complex result

I wanted to find the normalization of distribution F2 . ...
3
votes
1answer
70 views

Numerical integration with parameter and plot

I'm working on this function: (0.0027 Sin[phi])/(1.05*Exp[-241w]+ Exp[239w]-Cos[phi]) I'd want NIntegrate this function on ...
0
votes
0answers
37 views

Possibility of an output for this integral

Any clues as to whether an output exists for this expression where t and f are positive real numbers that can be treated as constants ...
1
vote
0answers
131 views

A triple integral involving Abs over an ellipsoidal region

I'm a newbie and I'm trying to calculate a triple integral. But Mathematica doesn't output for half an hour and the CPU occupancy rate of my Wolfram doesn't changed when it's calculating. Here is the ...
7
votes
3answers
900 views

Region bounded by x^2+y^2=1, y=z, x=0, z=0, in first octant

I need to draw (pencil and paper) the region bounded by $x^2+y^2=1$, $y=z$, $x=0$, and $z=0$ in the first octant. So the first assistance I asked of Mathematica is: ...
1
vote
1answer
50 views

Integrating the product of two imaginary error functions

I am trying to evaluate the following integral: Integrate[Erfi[y] Erfi[z + y] , {y, -L, L}] which simply returns the input. How could I force ...
0
votes
1answer
54 views

Getting numerical values from integrated interpolating function [duplicate]

I have a list of data. I integrate them with interpolation. Lets say is the following: InterpolatingFunction[{{0.01, 4.82}}, <>][x] However, is that ...