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)

-2
votes
1answer
77 views

Help me with sum [closed]

good morning $$ \begin{array}{l} \left\{ \begin{array}{l} u_0 = 1 \\ u_n = 3 - \frac{4}{{1 - v_n }} \\ \end{array} \right.\quad \\ \;v_n = \left( { - 3} \right)^{n + 1} \\ s = v_{1436} ...
4
votes
2answers
262 views

Integral does not converge (when it should)

I was looking at integrals like: Integrate[HermiteH[50, x]*Exp[-x^2], {x, 0, Infinity}] which gave me a "does not converge on $(0,\infty)$" error. On the other ...
0
votes
1answer
70 views
0
votes
1answer
86 views

Integrating spherical harmonics

I am trying to simply check the integration/normalization condition on the SperhicalHarmonic functions that are built into Mathematica. So basically, I just want to check that the following integral ...
2
votes
1answer
116 views

Double integral over normal pdf gives inconsistent answer

I am using Integrate function to do the following double integral ...
1
vote
1answer
66 views

Performance boost for definite integration with symbolic limits

In Mathematica, the symbolic definite integration ...
2
votes
0answers
92 views

How can I do multiple (double) integral with periodic boundary conditions?

I am trying to do a simple double integral $\int_0^l \left[\int_0^l h^3 h_{xxx}dx\right]dx$ with periodic boundary conditions $h[0,\tau]=h[l,\tau]$ $h_x[0,\tau]=h_x[l,\tau]$ ...
0
votes
2answers
69 views

Derivative after numerical Integration

So I have a function that I want to numerically integrate with respect to temperature, so the integral changes depending on the value of temperature being used as it is one of the bounds. After ...
2
votes
1answer
93 views

Limits and transformation rules

I can calculate this limit: Limit[(c^(1 - g) - 1)/(1 - g), g -> 1] and obtain the correct value: Log[c] but if I try ...
0
votes
2answers
126 views

What is the simplest way to plot x^(1/3) on the interval [-3,3]?

My question is: What is the simplest way to plot x^(1/3) on the interval [-3,3]?
4
votes
2answers
110 views

Adding assumptions changes the result of Integrate

When I try to calculate the following integral: ...
2
votes
1answer
93 views

How to avoid complex terms in the results given by Integrate?

As shown by In1, integrating Sqrt[x^2 - 1]/(a + x^2) (1/x) returns a result with a complex terms; however, after I make a ...
2
votes
0answers
97 views

NDSolve is running an extremely long time: how can I save the existing data?

I am trying to solve a PDE by the following code. It takes 1 hour or so to reach t=25.72 but about 20 hours to reach t=25.72404031638060174049337306126853310997. Actually, the time step is extremely ...
0
votes
1answer
115 views

Replacement of terms/Pattern matching involving products of derivatives of a function

In delving into Ramanujan summation, I'm trying to get a hold of the relations of the form $$\sum_{n=0}^\infty f(n)=\dfrac{h\frac{d}{dx}}{{\mathrm{e}^{h\frac{d}{dx}}}-1}\int_{0}^\infty ...
4
votes
3answers
329 views

$L = \lim\limits_{z \to 1} \frac{1-z}{1-z^\ast}$ evaluates incorrectly

I'm about 90% certain this is a Mathematica issue, not me making a silly mistake. I'm trying to evaluate $$L = \lim_{z \to 1} \frac{1-z}{1-z^\ast}.$$ Naively entering ...
0
votes
1answer
116 views

Writing a Code to plot a function that includes a double integral [closed]

I am trying to write a code in Mathematica. Here are my steps: F[u_] = Some nontrivial and long expression in terms of u; Umax[x_, y_] = Some expression in terms of x and y; W[x_, y_] := integral ...
6
votes
1answer
215 views

Incorrect evaluation of integral involving a DiracDelta, whose argument has infinitely many zeros

Let's say $X>0$ is a random variable with probability density $p_X(x)={\rm e}^{-x}$. Define the random variable $Y=\sin(X)$. From the transformation theorem for probabilities we know that its ...
1
vote
1answer
96 views

Strange timings of integrals involving Hermite's polynomials

I have used Mathematica to calculate tunneling for quantum harmonic oscillator. The code is simple: ...
1
vote
2answers
87 views

Integrating a compound expression

I have an integral of the form I[r]=∫(arExp[-r]-brSin[k(r-d)]Exp[-r])BesselJ[0,kr]dr where Besse1J[0,kr] is the modified ...
2
votes
1answer
479 views

Inverse gradient operator

I found a nice paper about inverse vector operators here. I have successfully implemented a Mathematica function for most of them, however I can't figure out how to do inverse gradient (page 7 in the ...
1
vote
1answer
121 views

Mathematica is able to compute an indefinite integral but not the corresponding definite one

I'm trying to compute the following definite integral (μ is a parameter): ...
7
votes
2answers
526 views

Probability: Calculating a multiple integral

Find the value of $P[\Pi_{i=1}^{10}X_i > C]$ for $C=2,5$, where $X_{10\times 1}$ is a random vector with $10$ dimensional Cauchy Distribution having location parameter $\mu_{10\times 1} = ...
5
votes
3answers
390 views

Bug in complicated Limit

The code Limit[Log[2 - Sin[x]*Cos[x]], x -> Infinity] outputs Interval[{0, Log[3]}] in Mathematica 10.0.2.0 . It should ...
3
votes
2answers
540 views

Color a Function by its Derivative

Mathematica's ColorFunction seems to struggle with coloring a function "y" by its derivative D[y,x]. This is a seemingly simple task, but Mathematica can't handle it. While I can certainly evaluate ...
0
votes
1answer
66 views

Integration of an expression yields wrong result

I'm trying to find a general expression for the definite integral of ...
2
votes
2answers
258 views

After definite integration the result is still integration variable dependent!

This integral $\int _{-\infty }^{\infty }\int _{-\infty }^{\infty }\int _{-\infty }^{\infty }\frac{\exp \left(\frac{2}{x^2+y^2+z^2+1}-2\right)}{\left(x^2+y^2+z^2+1\right)^4}dzdydx$ or ...
-4
votes
1answer
67 views

NDSolve a differential equation depending on some parameter

I have to solve the differential equation, to get a plot of T and R, ...
2
votes
1answer
381 views

Calculating the area under a curve

How can I calculate the area under a curve after plotting discrete data as per below? ...
1
vote
3answers
142 views

Speed up NIntegrate, which takes eigenvalues from another function

I have simplified my problem here, in my actual problem the matrix is much bigger which makes it impossible to find eigenvalues analytically. So, I chose standard BCS problem (2x2 matrix) to ...
0
votes
1answer
61 views

Derivatives of overscript variables

If we have an expression with terms of some variable and terms of the same variable with some overscript, the differentiation of this expression does not entirely function. The problem is that ...
-1
votes
1answer
149 views
4
votes
2answers
182 views

Integration of a Rational Function returns RootSum[]

I am trying to solve an integral given below: Integrate[r^2/(-α r^3 + r^2 - 2 m r + Q^2), r] but since coefficients of this cubic polynomial are as parameters, ...
8
votes
4answers
370 views

Definite integral incorrectly giving a nonreal value

fixed in 10.1 (windows and Mac OS X) In Mathematica 10.0, when I enter N[Integrate[Sqrt[1+x^3],{x,-1,3}]] I get a nonreal value (i.e., the imaginary part is ...
0
votes
2answers
83 views

A simple integral operation

Evaluating the following expression results in a non-zero output FullSimplify[Integrate[2 f[x], {x,0,1}] - 2 Integrate[f[x], {x,0,1}]] I think the output should ...
1
vote
1answer
130 views

Partial differentiation mixes up variables

Consider $$ U \equiv \dot{\theta} - \theta \ ,$$ where as per usual $\dot{\theta} = \frac {d \theta}{dt}$. We then have $$ \frac {\partial U}{\partial \theta} = -1 \quad , \quad \frac {\partial ...
0
votes
0answers
95 views

Fourier Transformation of a List

As we know the FourierTransform goes a function of t ,for example, f[t] to ...
1
vote
1answer
131 views

Complex Integration

There are some sequential functions: ...
7
votes
1answer
211 views

Suspected bug in Integrate

Bug introduced in 9.0.1 or earlier and fixed in 10.1.0 In version 10.0: ...
0
votes
1answer
116 views

Get rid of Error Function: How to get rid of sequential appearances of error function?

We have a function as e[t_] :=(E^(-t^2)) Cos[0.1 t] and we must evaluate below integration (However I used the variable x ...
2
votes
1answer
100 views

How to check if Integrate solved the integral?

This seems something that must have been asked before, but I am not able to find something. Integrate does not return status nor throw error when it can't find antiderivative. It just returns the ...
0
votes
3answers
76 views

Listing all cubic order derivatives of a function of 4 variables

What would be the best way to list/print all cubic order derivatives of a function of 4 variables? I was thinking about iterating Derivative[i,j,k,l][func][0,0,0,0] ...
25
votes
2answers
325 views

Bug in ArcLength?

fixed in 10.1 (windows) With Mathematica 10.0.2: ArcLength[Line[{{0, 0}, {1, 0}, {2, 0}}]] ArcLength[Line[{{0}, {1}, {2}}]] (* 2 *) (* 2 *) However, ...
0
votes
1answer
110 views

Graphic solution lagrange multiplier (cant get one)

I need to find the maxima and minim of a function. I did analytically with no problem but now I need to show in a graphic the intersection of the functions. My function is: ...
7
votes
1answer
82 views

Inconsistent results for Integrate depending on irrelevant assumptions

I stumbled across this amusing issue today when doing some definite integrals: ...
3
votes
1answer
105 views

How to perform “implicit” integration? [duplicate]

(I wasn't sure what to put for the title, so feel free to improve it if you can think of a better one.) How do I evaluate an integral that contains an unknown function of the integration variable ...
0
votes
0answers
75 views

Piecewise functions Integration with symbol

I want to integrate one piecewise functions as following, ...
-3
votes
1answer
120 views

Integration with mathematica? [closed]

I am very new to Mathematica. I am trying to evaluate ∫ (1+lnx)Sqrt(1+(xlnx)^2) using Mathematica. I know a substitution must be done so I have set ...
-1
votes
1answer
68 views

Taking the third derivative of: $f = (ln (x) + e^{4 (x - 1)})^{15}$? [closed]

I am VERY new to Mathematica and struggle to solve this question: Let $f = (ln (x) + e^{4 (x - 1)})^{15}$ and calculate what value $f^{(3)}(1)$ have. How would you go about to solve this in ...
0
votes
1answer
68 views

Finding the limit of powers to infinity [closed]

Limit x -> Infinity (1 - e^-x)^e^x I keep getting that the answer is 1 but according to wolfram alpha it is 1/e. Could someone show me how. Thanks.