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)

3
votes
0answers
80 views

Derivative of generating function (Example from documentation)

In the documentation for GeneratingFunction, the following example is given under Examples -> Properties & Relations -> Derivative: ...
3
votes
1answer
82 views

Why does Mathematica list the variables in a double integral backwards? [closed]

I am an advanced novice Mathematica user and have done a fair amount of single-variable calculus things with it. This semester I am using Mathematica for multi-variate calculus and when I tried to ...
1
vote
2answers
99 views

Using Mathematica to derive the PDF of the normal distribution

I am trying to use Mathematica, in this case in a well known and rather simple list of equations, but I get stuck whit Mathematica. Since I am just starting to use Mathematica for mathematical ...
0
votes
1answer
55 views

NIntegrate and NumericQ [closed]

I need to do numerical integration --> differentiation --> numerical integration. I tried to apply the technique described in the accepted answer to a similar question: ...
0
votes
0answers
30 views

Is it possible to obtain vector differentiation results in terms of vectors rather than components? [duplicate]

When doing certain operations on vectors in Mathematica it is quite desirable to convert the results back into coordinate-free notation. Unfortunately, after going through the Documentation Center and ...
1
vote
1answer
222 views

How do I get all possible solutions in an underdetermined system? [duplicate]

I have two problems which I'd like to solve with Mathematica. If I have a system of two equations with three unknowns, how can I get to list all possible solutions for the unknowns? Here is what I ...
6
votes
0answers
149 views

Incorrect evaluation for Thue-Morse signed harmonic series

I would like to evaluate $$s = 1 - \frac{1}{2} - \frac{1}{3} + \frac{1}{4} - \frac{1}{5} + \frac{1}{6}+\frac{1}{7}-\frac{1}{8} - ... + \frac{(-1)^{\textrm{binary digit sum}(n-1)}}{n} + ... $$ where ...
6
votes
1answer
363 views

What is the mathematical meaning behind D[f]?

y = a + b x; I can understand this output of the ordinary differentiation of y w.r.t. x ...
0
votes
0answers
81 views

Numerical Differentiation of an interpolated list.

I have a synthetic spectrum with a wavelength range of .3 to .7 microns. I have interpolated this spectrum for re-sampling purposes. However, I am also attempting to calculate the first and second ...
0
votes
1answer
76 views

How to evaluate an integral involving normal distribution [closed]

I want to compute the following integral, in which 5 can be replaced by any natural number. But I found Mathematica keep running forever and cannot evaluate it. I want to ask for some help. ...
1
vote
3answers
111 views

Area enclosed by two functions

i want to calculate the area percentage of a function in a certain regime above a constant threshold. For example: f[x] = sin[x] x² from 0 to 2 with a threshold ...
0
votes
1answer
140 views

Revolve A Function Around the Y axis? [duplicate]

I am seeking to revolve the are between the functions function $d(x) = Exp(x)$ and $e(x) = 4 - x^2$ around the line $x = 2$. I am using RevolutionPlot3D, so I ...
0
votes
0answers
46 views

Errors while computing some terms of the Euler–Maclaurin formula

Here is an issue I came across while I was applying one of the well-known versions of Euler–Maclaurin formula. I try to realize why Mathematica goes wrong with this code below ...
2
votes
1answer
413 views

Time derivative of unit vector in spherical coordinates

Is it possible to take a time derivative of a vector given in some curvelinear coordinate system (i.e. spherical)? Mathematica would need to take into account the time dependence of the basis vectors. ...
0
votes
1answer
95 views

Evaluate integral of a series

I want to evaluate this integral, but it won't work. Does anyone knows why? ...
1
vote
2answers
82 views

A possible error related to the evaluation of a double integral

According to the Mathematica, the integral below NIntegrate[ Log[Log[1/(x y )]] Log[1/(x y )]^(-0.5 - 1), {x, 0, 1}, {y, 0,1}] might possibly evaluate to ...
4
votes
1answer
202 views

Asymptotic expansion

I wanted to expand a function of $x$ about $x=\infty$ and see its coefficients as a function of the parameters $m,n,q,y$ and I wrote this - but it didn't work! It gave me back a very complicated ...
0
votes
0answers
59 views

An error message with NIntegrate and inability to plot the integrand

I took a function of x which depended on parameters on m,n,a,y and then first summed up the n from -Infinity to Infinity and then I set the other parameters to some random values and then I asked it ...
0
votes
1answer
43 views

Integral not being evaluated

I'm trying to do the following integral, but Mathematica won't evaluate it - it just spits out the actual symbollic integral (sorry I'm not sure how to copy the output into this post so it appears as ...
1
vote
0answers
96 views

Limit of sequence

I tried to calculate the following limit $$\lim_{n\to\infty}n\sin(2\pi en!)$$ Mathematica gets ...
1
vote
1answer
55 views

Extension of harmonic number to the real domain

What is exactly the domain of validity of the identity: Sum[1/(k + j - 1), {j, 1, i}] == HarmonicNumber[k - 1 + i] - HarmonicNumber[k - 1] when ...
3
votes
1answer
167 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 ...
1
vote
1answer
139 views

Can ParametricNDsolve be used for coupled PDEs with 5 parameters?

I have a system of coupled PDEs with five parameters that I only know ranges for rather than explicit values, and I was wondering if I could define a parametric equation with ParametricNDSolve and ...
0
votes
2answers
135 views

How to numerically integrate this integral?

I want to integrate the function funcin (spherical coordinates). ...
18
votes
0answers
213 views

Are greek symbols causing different evaluation?

I've updated today to Mathematica 9.0.1.0 from version 8 and found something that absolutely confuses me. Let us define a piecewise function: ...
1
vote
1answer
78 views

Poor performance when evaluating double integral of hat functions

I am trying to evaluate a double integral but am having performance issues. First a bit of math I am using a Galerkin like scheme to discretize operators in an equation I am working with. The ...
3
votes
1answer
84 views

How to calculate the residue of $1/f(z)$ at a numerical approximation to a root of $f(z)$?

The input Residue[1/DirichletL[19,10,s],{s,s0}] gives 0 even when s0 is a root. For ...
0
votes
3answers
268 views

Solving an Integral Numerically

I have been trying to solve the integral equation below, but cant seem to find a way out of this. Can someone please help me out with suggestion? $f(t)=\int_0^{\infty}\frac{K_1a(t)}{a(t)+K_2}\,dt$ ...
1
vote
1answer
74 views

About an elementary limit

Here we have an elementary limit that Mathematica simply doesn't want to compute it. What solutions might I have to fix that? Could you help here? As you can easily guess, the limit is precisely $0$. ...
3
votes
2answers
168 views

How to find the maximum of this function on the positive real line?

I need to maximize this function on the positive real line: $$ \frac{1}{\Gamma(x)^{14}}\cdot\frac{1}{{\frac{323.6}{14x}}^{14x}}\cdot(1.22578*10^{19})^{x-1}e^{-14x} $$ the correct answer should be ...
0
votes
1answer
89 views

Mathematica does not solve this integral [closed]

I want to compute the integral of a polynomial in t, which I know an analitical solution exist. But Mathematica give me as result the input, not the result of the integral: I already know this ...
4
votes
2answers
109 views

Inconsistent results for equivalent converging symbolic integrals

I have looked at previous questions and I'm aware that this seems to be a known bug: Mathematica giving inconsistent results for symbolic integrals done in different ways. The origins for the bugs ...
6
votes
2answers
150 views

Fundamental Theorem of Calculus for definite integrals… assume continuity?

So here's the problem: I can evaluate the indefinite integral: Integrate[D[u[x], x], x] u[x] However, I'd like to ...
0
votes
1answer
48 views

Excluding an interval of parameters from Integrate [duplicate]

I'd like to compute an integral that depends on a parameter, but I'd like to exclude an interval from the computation. For concreteness, say I want to compute ...
3
votes
2answers
107 views

About the wrong evaluation of an integral

Here is an integral I've been studying in my research and I've just realized that Mathematica $8.0$ is unable to correctly compute it. I have 2 simple questions to ask: $1)$. Is my code below ...
5
votes
1answer
167 views

Simplification of integrals depending on a parameter [duplicate]

Assuming[Element[n, Integers], Integrate[Sin[x]*Sin[n*x],{x,0,Pi}]] returns 0, which is obviously wrong for n=1. ...
4
votes
1answer
499 views

Is it possible to calculate a Lebesgue integral in Mathematica?

As the title says, I wonder if it is possible to calculate a Lebesgue integral in Mathematica, especially when the domain of integration is $\mathbb{R}^N$, or in other words multivatiate Lebesgue ...
3
votes
1answer
79 views

Problem with limit that requires L'Hôpital's rule to compute

Consider the following limit. Limit[(a - Sqrt[a^2 + x])/(a^2 - a*Sqrt[a^2 - x]), x -> 0, Assumptions -> {a > 0}] Mathematica 9.0.1.0 gives ...
1
vote
1answer
154 views

Is it possible to give the closed-form of the stiffness matrix of triangular prism element?

Suppose the vertices of triangular prism are 1, 2, 3 (bottom triangle), 4, 5, 6 (top triangle), the coordinates of the vertices are $$ (x_i, y_i, z_i), i=1,2,3,4,5,6. $$ We can write the stiffness ...
1
vote
1answer
132 views

Numerical saddle point problem of a function of many variables

I want to find the following saddle point of the function of 10 variables: . I am not able to find the stationary points by setting the first derivatives to 0, so I need do optimize the function ...
9
votes
2answers
227 views

How to take derivative of parameterized coordinate?

Suppose I have a vector in $\mathbb{R}^n$ but $n$ is not known in advance. I want to be able to write functions which operate on the components of that vector, and then I'd like to be able to take ...
1
vote
1answer
150 views

I want change gamma function form into beta function form

I want to integrate below form ...
0
votes
1answer
61 views

One more question about Assumptions and Integrate

There are many questions about assumptions here. Many of them are problem specific. That is why I want to ask a question in the most general way. Why does Mathematica solves this ...
4
votes
3answers
247 views

Creating a function with integral zeroes of the 0th, 1st, and 2nd derivatives

I would like to be able to randomly generate functions, each of which satisfies $f : [-10, 10] \rightarrow [-10, 10]$ All the zeroes, critical points, and inflection points have an integral ...
1
vote
1answer
167 views

Error Function Integral (Erf)

Any idea how to solve analytically this integral Integrate[(a Erf[a Sqrt[b/(a^2 + b)] c])/(a^2 + b)^(3/2), a] I tried substitution u=a^2 + b, but it didn't work. ...
-6
votes
1answer
122 views

Alternative closed forms for digamma expressions

What commands should I use such that Mathematica / W|A express $$\psi(1+i)+\psi(1-i)$$ exclusively in terms of trigonometric functions?
0
votes
0answers
65 views

Exponential function Integral

I have tried to solve this integral: Integrate[E^(-((a^2 b c^2)/(a^2 + b)))/(a^2 + b)^2,a] Mathemathica is not able to solve it, I have tried the integration by ...
0
votes
0answers
80 views

Convergence problems with numerical integration of specific functions

I want to numerically integrate two functions that have several poles inside the integration region. These are the functions: ...
1
vote
2answers
73 views

Unknown limit of an array of area integrals

Could someone explain why Mathematica can't finish computing this limit (this is a limit of an array, when n -> Infinity (n ...
1
vote
1answer
100 views

Improper mutiple integral

I would like to solve the following integral: ...