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)

4
votes
1answer
554 views

Multi-dimensional integral in the complex plane with poles and essential singularity

I've passed the last week searching a way to numerically integrate this multi-dimensional integral in the complex plane at the poles and avoiding the singularity at z=0: $$ \oint_{C}\oint_{C\ auound\ ...
4
votes
2answers
348 views

Integral returns function of variable that was integrated over

Bug introduced in 8 and fixed in 10 When I enter ...
4
votes
1answer
150 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 ...
4
votes
2answers
151 views

Strange behavior of Integrate

I'm trying to calculate the following integral using Mathematica 9.0.1.0 a11=Integrate[Abs[Sin[b+x]],{x,0,2*\[Pi]}] This should be a simple problem; however, it ...
4
votes
1answer
107 views

How to collect terms with z-derivative?

my equations are very long (several pages). Here I will provide simple example: ...
4
votes
1answer
159 views

Bad performance of Integrate (and WolframAlpha) for an Integral of Bessel function of the first kind

The following returns unevaluated in WolframAlpha. Also in my machine Mathematica needs quite a lot of time to compute it. ...
4
votes
1answer
101 views

Formal Differentiation

I'm trying to formally differentiate an expression. (I am aware of how to differentiate formally?, but am unable to generalize the idea) For example: ...
4
votes
2answers
133 views

Imaginary terms in the derivative of Jacobi theta function (2) on the real line

I am trying to calculate/plot the derivative of the second Jacobi theta function $d\theta_2(0, e^{-\pi t} )/dt$. Calculating or plotting the function itself works fine: ...
4
votes
2answers
121 views

Adding assumptions changes the result of Integrate

When I try to calculate the following integral: ...
4
votes
1answer
296 views

Derivatives of functions with arbitrary number of variables?

I am trying to define a function f[x1,x2,...,xn] with n integer but not specified. And then I would like this funktion to behave ...
4
votes
0answers
106 views

Exploring formal limit definition

I found a few demonstrations on the Wolfram Demonstration Project site that help users to explore the formal definition of a limit. That is, $$\lim_{x\to a}f(x)=L$$ if and only if for every ...
4
votes
0answers
116 views

Puzzled by Assumptions [duplicate]

I don't know if this has already been discussed. Integrate[BesselJ[2 m + 1, x], {x, 0, ∞}, Assumptions -> m ϵ Integers] ...
4
votes
0answers
109 views

Integral of DiracDelta giving an unusual answer

I have been getting a number of seemingly inconsistent solutions to integrals of Dirac delta functions in which the integrand evaluates to DiracDelta[0] at one of ...
4
votes
0answers
58 views

How to take the second derivative of a complicated function using limits [closed]

I have a very complicated function of one variable consisting of exponential and error functions combined in various ways. Mathematica can't take the derivative of this function in the usual way ...
4
votes
0answers
117 views

DiracDelta and version 10.0.0 [duplicate]

Note: This issue seems to affect version 10.0.0 only and is fixed in 10.0.1, 10.0.2, 10.1 and 10.2 When evaluating the following two inputs: ...
4
votes
0answers
94 views

MacDonald formula for Modified Bessel Functions

How can I make Mathematica understand these two integrals? $$\int_0^{\infty} e^{-x \cosh{\xi}} d\xi = K_0(x)$$ $$\int_0^{\infty} e^{-\frac{1}{2} \Big( \frac{x y}{u} + u \frac{x^2+y^2}{x y} \Big) } ...
4
votes
0answers
87 views

Integrate yields complex value, while after variable transformation the result is real. Bug?

I have the follwoing integral: Integrate[1/Sqrt[0.7 + 0.3*(1 + z)^3], {z, 0, Infinity}, Assumptions -> z \[Element] Reals] >> -3.36354 - 3.85013 I the ...
4
votes
0answers
237 views

Strange behaviour of MMA in derivatives of some standard functions

There are some peculiar things to be discovered in derivatives of some standard functions in MMA: Strange behaviour Example 1: Abs We have ...
4
votes
0answers
128 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 ...
4
votes
0answers
317 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 ...
4
votes
0answers
157 views

Version 8.0 integrates but Version 9.0.1 doesn't

I am trying to run the following integral in version 9.0, but it fails: ...
3
votes
6answers
2k views

Compute Triple Integral on spherical coords

I need to compute: $\int \int \int z dxdydz$ over the domain: $\{x^2+y^2+z^2\leqslant 16,z\geqslant 0\}$ Im trying to use spherical coords as: $$\int_{0}^{2\pi} \int_{0}^{\frac{\pi}{2}} ...
3
votes
3answers
185 views

Limit n->Infinity of recursive sequence

I have defined a recursive sequence a[0] := 1 a[n_] := Sqrt[3] + 1/2 a[n - 1] because I want to calculate the Limit for this ...
3
votes
2answers
295 views

Integral converging in M9 but not in M10

Background: Mac OSX 10.9.4, Mathematica 9.0.1 vs. Mathematica 10.0 (both versions are Student Editions). I have a notebook. It used to evaluate fine in Mathematica 9. I upgraded to 10 and, without ...
3
votes
3answers
188 views

Plotting the region bounded by parallel lines

I am working on the integral $$\int\int_D (2x+y)^2 e^{x-y}dA,$$ where $D$ is the region bounded by $2x+y=1$, $2x+y=4$, $x-y=-1$, and $x-y=1$. I need to shade the region bounded by these lines, so I ...
3
votes
2answers
389 views

Incorrect value of infinite sum

Wolfram Alpha and Mathematica give an incorrect result (numerically) for the following infinite sum: ...
3
votes
2answers
4k views

How to convert a system of parametric equations to a normal equation?

For example, I have a system of parametric equations (R is a constant number) : ...
3
votes
3answers
263 views

Computing the area between two curves

I want to find the area in between the two curves whenever they overlap each other. I've tried multiple different formulas but none of them have been working. I have to find it using the ...
3
votes
2answers
373 views

How I can integrate $\int_0^{a} x e^{-\frac{b^2 x^2}{2 c}} J_0(n x) dx$?

How can I get a solution to the integral given below ? $\quad \quad \int_0^{a} x e^{-\frac{b^2 x^2}{2 c}} J_0(n x) dx$ where $a,\,b,\,c$ and $n$ are constants and $J_0$ is a Bessel function of the ...
3
votes
2answers
559 views

How to numerically integrate this integral

I am unable to do this definite integral in Mathematica 9. Is there any command so that I can get the numerical value of the above integration? Code: ...
3
votes
3answers
202 views

Factoring a scalar function out of a vector

I've taken a first and second derivative: ...
3
votes
5answers
234 views

A double series with divisibility restrictions

How may I restrict $i,j$ such that they run over $\mathbb{N}$ excepting the numbers divisible by $2$ or $3$ or $7$? ...
3
votes
3answers
92 views

Integrate not restricting variable with Assumptions option?

I am integrating g over the region: ...
3
votes
3answers
178 views

Calculating $\lim_{x\to 1} \, \int -\frac{i \text{Li}_2\left(x-x^2\right)}{\sqrt{3} \left(x-\frac{1}{2}-\frac{i \sqrt{3}}{2}\right)} \, dx$

How can we force Mathematica to compute this limit? $$\lim_{x\to 1} \, \int -\frac{i \text{Li}_2\left(x-x^2\right)}{\sqrt{3} \left(x-\frac{1}{2}-\frac{i \sqrt{3}}{2}\right)} \, dx$$ It seems it ...
3
votes
3answers
185 views

When NSolve fails due to a differential situation?

c = 1.1111; y[x_] = x - c Sin[x] NSolve[y[x] == 0, x] The method has procured no result. Successive derivatives were plotted in an attempt to fix the problem. ...
3
votes
3answers
224 views

What is the formula for this numerical series?

I'm developing a questions game. My goal is that the score for each correct answer will increase as the user answers more questions. Initially there are 15 points for each correct answer. Every 4 ...
3
votes
2answers
265 views

Computing the minimum distance in a contour plot

I have the following Mathematica code ...
3
votes
2answers
120 views

Definite integration in mathematica

I tried to integrate the following in Mathematica. $\int\limits_{-\infty}^\infty\cfrac{\text{e}^{\text{i}ax}}{x^2-b^2}\text{d}x$ where $a,b>0$ The analytical result is well known. ...
3
votes
3answers
243 views

Partial derivatives of an implicit equation

Looking for an easy way to find partial derivatives of an implicit equation. For example: Find $\partial z/\partial x$ and $\partial z/\partial y$ if $z$ is defined implicitly as a function of $x$ ...
3
votes
3answers
190 views

Factoring a separable integral with a product of independent integrands

I would like to input someFunction[Integrate[p[x] p[y], {x, -1, 1}, {y, -1, 1}]] and to get the following output ...
3
votes
3answers
176 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 ...
3
votes
3answers
1k views

How to integrate a function over a 3D planar polygon?

I am trying to integrate a function over a planar polygon in 3D. In 2D, this is fairly straightforward, using either answer from this question (I use the second answer). If we use an equilateral ...
3
votes
2answers
142 views

Help with Integration

I am new to Mathematica, and I need help with integration of the following Reliability expression (from a well-known Reliability Model). $$R(t)=e^{-Ne^{-bt_i}(1-e^{-bt})}, t \geq 0$$ I have ...
3
votes
1answer
2k views

Convolution of two distribution functions

I have two functions; f[x_] = (1/k) Exp[-x/k] ; g[x_] = (1/p) Exp[-x/p] ; How I can convolve them? In Mathematica for convolving two functions we have this ...
3
votes
1answer
88 views

Writing a function that finds the difference between two maxima

Suppose i have two functions: $\qquad -2x^2 +5x+3$ and $\qquad -5x^2 +2x+3$ To solve the point where the functions are at maximum i use the command NMaximize ...
3
votes
2answers
205 views

Slightly increasing complexity of function increases calculation time by magnitudes

I am trying to calculate an impedance value from voltage and current functions. The calculation method is based on how an actual measurement device performs it. I have two different current function, ...
3
votes
1answer
152 views
3
votes
3answers
1k views

Implicitly differentiate an equation, then solve the resulting equation

Suppose I have an extremely tedious equation to differentiate and want mathematica to help do the differentiation and solve. Consider a less tedious equation: $$y (x,z) = sin \left(\frac{1}{x} ...
3
votes
1answer
331 views

Convergence in NIntegrate vs Integrate

I am faced with this situation that for a certain integration, $\int _0 ^\infty \frac { \tanh (\pi \sqrt{x} )} {\sqrt{x+10} } dx$ - the command Integrate returns ...
3
votes
1answer
2k views

Laurent series expansion

Can someone share how to find a Laurent series expansion of $$f(z)=\frac{1}{(z^2-1)(z^2-4)}$$ centered at zero on the annular disk $1<|z|<2$?