Questions tagged [calculus-and-analysis]
Questions related to the calculus and analysis branches of Mathematica, including, but not limited to, limits, derivatives, integrals, series, and residues.
5,116
questions
0
votes
1
answer
43
views
Finding an increasing or decreasing function
I have a problem where I am given the derivative of a function, asked to graph it, then state where it is increasing or decreasing using Mathematica.
f'(x)=(x^2-3^x)/2x 0<x<4
I've tried the line ...
2
votes
2
answers
136
views
Confused about the output of `CosIntegral`
I am interested in the properties of the cosine integral function, in this case the anti-derivative of Cos[Pi*x]/x, which Mathematica evaluates to ...
0
votes
1
answer
46
views
Checking the sign value of the derivatives of a complicated function
Consider the following function:
...
0
votes
2
answers
77
views
Integration with respect to functions
I observe some strange behaviour of Mathematica when pulling functions into the integrator. I know that Mathematica's capabilities are limited when computing Stieltje or Lebesgue Integrals. But even ...
3
votes
2
answers
171
views
How is the result of this integral obtained by the function `Integrate`?
When I use Mathematica to calculate
$$
\int_0^{+\infty } \frac{\log (1-\mathrm i x)}{1+x^2} \, \mathrm dx ,
$$
I get different results using functions NIntegrate ...
2
votes
2
answers
84
views
Partial Derivative after Numerical Integration of a Complicated Expression with Singularity at Zero
I want to generate Fig no. 2,3,4 from https://arxiv.org/pdf/2212.08237
with the help of the following equations. In Fig 3 t_(opt) is the time Q_T reaches its max value Q_T(opt) for each T.
Here is ...
0
votes
0
answers
56
views
Why does Mathematica not find that integral depending on a parameter?
Integrate[(Log[1+a*x]/a)*Exp[-(Log[1+a*x]/a)^{2}]/1+a*x,{x,-Infinity,+Infinity}]
I don't know what I'm doing wrong. I've already done integrals similar to this one ...
1
vote
1
answer
60
views
StreamPlot3d for the magnetic field of a loop
I am trying to go beyond StreamPlot in the case of a current loop that produces a magnetic field. My code works for StreamPlot, but does not end when I use the same field expressions with StreamPlot3D....
3
votes
3
answers
338
views
Integration of the product of two exponential functions
How can I find the value of this integral?
Integrate[E^((-b)*t^a - k*t), {t, 0, Infinity}]
0
votes
1
answer
41
views
Integrate diverges for convergent integral, and returns unnecessary condition
I'm trying to solve an infinite integral using Mathematica. For some reason, Mathematica claims the integral diverges although when solving to a finite limit L and ...
2
votes
1
answer
34
views
Describing the region of integration $\mathbb{R}_+^n$ for arbitrary $n$
Let $f_n:\mathbb{R}^n \to \mathbb{R}$. I would like to know an elegant way of writing the integral
$$ I_n = \int_{\mathbb{R}^n_+} f_n(x)~\mathrm{d}x $$
in Mathematica.
For fixed $n$, the best I could ...
0
votes
5
answers
365
views
Possible bug in partial derivative [closed]
In 14.0 on Windows 10 let us consider
D[Min[x, y], x]
Piecewise[{{1, x - y <= 0}}, 0]
As I understand it, the result is ...
9
votes
7
answers
711
views
Numerical approximation of the integral by using data
I want to use the numerical approximation of the integral of a function given a list of data:
$$\int_a^bf(x)dx\approx\sum_{k=1}^N\frac{f(x_{k})+f(x_{k-1})}{2}(x_{k}-x_{k-1}),$$
where $f(x_0)=f(a)$ and ...
5
votes
5
answers
244
views
Integration involving Piecewise function and DiracDelta function
I want to calculate an integration, which reads
where $\delta\left(q_{23}^{01}\right)=\delta\left(1+q_1-q_2-q_3\right)$ and $\mathrm{min}(1,q_1,q_2,q_3)$ means the minimum of $(1,q_1,q_2,q_3)$.
What ...
1
vote
1
answer
58
views
Checking the formula for solving the Poisson equation with an integral over all of space
EDIT: According to 2.2.3 Rigorous derivation, if we find the integral $u(x,y) = \int \int G(x,y,m,n)f(m,n) dm dn$ then we obtain a function that satisfies the Poisson equation $\nabla^2u(x,y)=f(x,y)$. ...