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
86 views

DiracDelta and version 10.0.0

Note: This issue seems to affect version 10.0.0 only and is fixed in 10.0.1, 10.0.2, and 10.1 When evaluating the following two inputs: ...
3
votes
1answer
185 views
0
votes
2answers
85 views

Fix my code to return a table of values

Here is a “procedural” program that we wrote in my class, implementing the rectangle rule of numerical integration: ...
0
votes
1answer
60 views

Using Assumptions in Expressions that Evaluate to be Elliptic Integrals

I have the following integral that I am trying to evaluate in Mathematica: $\int \sqrt{\alpha + m g l \cos(q)} dq$. If $\alpha > m g l$, then the result is a complete elliptic integral of the ...
0
votes
0answers
47 views

Is there a way for me to get Mathematica show its steps? [duplicate]

I have seen similar questions but they were quite dated (3+ years). When performing, say an Integration, it would be beneficial to see the major steps such as variable substitution, change the order ...
0
votes
3answers
90 views

Revolution of two curves around the y-axis

I've looked through the other posts on rotating a function around the x or y axis and haven't had any luck. my question is this how do i rotate the area between the functions $f(x)=x^2+1$, and ...
0
votes
1answer
87 views

How to compute DSolve or NDSolve for kind of piece wise function?

I need to Compute the expression for two functions. q[t] and q1[t] over certain range of time. The code is given below. ...
23
votes
1answer
781 views

Undocumented use of Integrate: Integrating over regions

I have come across a few questions asking about integrating over regions. And while the answers are impressive there should be a better more consistent way. So my question is, are there ways, ...
3
votes
6answers
931 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}} ...
1
vote
1answer
310 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. ...
0
votes
1answer
97 views

Limit of a sum as number of terms approaches ∞

Is it possible to find the limiting value of function at large N? ...
2
votes
1answer
75 views

Computing a Gamma function-Gaussian integral

I would like to compute the following function: Integrate[Gamma[k,0,Exp[-2 e x^2]],x] k is an integer and ...
8
votes
2answers
314 views

About an infinite product

I have a curiosity as regards the infinite product below. I wonder why Mathematica v.8.0. says the limit is $1$. This is not true. ...
3
votes
2answers
141 views

Strange results from evaluating a simple integral

I am trying to do a seemingly simple integral in Mathematica 10 and am getting strange results: ...
2
votes
3answers
153 views

How do I find the area between two polar curves?

More specifically above r=6 and below r=4+4cos(θ) graph of the two curves PolarPlot[{6, 4 + 4 Cos[t]}, {t, 0, 2 Pi}]
5
votes
2answers
170 views

Double improper integral

I am trying to compute the following double integral: Integrate[(r BesselJ[0, r])/( 2 (r^2 + z^2)^(1/2)), {z, -Infinity, Infinity}, {r, 0, Infinity}] Which ...
5
votes
0answers
95 views

Integral formula for the inverse Laplace transform doesn't work?

The direct implementation of the definition of the inverse Laplace transform using Integrate fails in the following case: ...
1
vote
0answers
43 views

Multiplying two sets of data (x,y values, but different x density) followed by integration of the product

I've been trying to do this by myself today, but no luck yet. Please, see attached image. Basically, I do have two data sets A (x1,y1) and ...
7
votes
2answers
483 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
0answers
128 views

Contour Integration along a contour containing two branch points

I need to compute following contour integrations: $$f(u)=\oint_\alpha dz \sqrt{z^3+z+u} \qquad ; \qquad g(u)=\oint_\beta dz \sqrt{z^3+z+u}$$ In which $\alpha$ and $\beta$ are two contours in ...
9
votes
1answer
302 views

solve ODE with divergencies

The solutions of the second order differential equation $$\frac{1}{\eta}\frac{d}{d\eta}\left(\eta \frac{df}{d\eta}\right)+\left(1-\frac{s^2}{\eta^2}\right)f-f^3=0$$ is shown in Fig. 5.2 below, for ...
2
votes
0answers
42 views

How do I numerically integrate over a data set that has uncertainties? [closed]

I have a 1D data set {xi, yi} with no uncertainties in xi and with uncertainties dyi in yi. The resulting discrete function is monotonic and relatively smooth and I would like to integrate the ...
0
votes
2answers
30 views

Integrating expressions with several terms and delta functions

So I want to integrate an expression that looks something like this: Integrate[f[x]+DiracDelta[x-y]g[x],{x,-Infinity,Infinity}] With some more terms added with ...
1
vote
1answer
46 views

Partial derivative of defined function with vector input

Background: Have written a formula for the refractive index for a glass slab (n) that depends on the variables t,a and d. Now I want to calculate for example some sort of error and I'll be needing to ...
0
votes
1answer
39 views
4
votes
3answers
158 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: Is my code below correct? ...
2
votes
1answer
80 views

an Integral that should be doable:

Integrate[Cos[\[Beta]] Exp[I z Cos[\[Beta] - \[Alpha]]], {\[Beta], 0, 2 \[Pi]},Assumptions -> z \[Element] Reals] correct answer is [ I think ]: ...
10
votes
4answers
365 views

Correct way to integrate a certain function

I want to integrate $$ \int_{0}^{2\pi} dt_1 \frac{a + b*\cos(t_1 - t_2)}{c + d*\cos(t_1 - t_2)} $$ where $a, b, c, d, t_2$ are real numbers and $c + d > 0$ & $0 \leq t_2 \leq 2\pi$. I used ...
7
votes
6answers
1k views

Trying to prove that $x\sin(\frac{\pi}{x})\ge\pi \cos(\frac{\pi}{x})$ for $x\ge 1$

Consider the function f[x_] := x Sin[Pi/x] I want to prove that this function is increasing for $x\ge 1$. This can be done with the first derivative. We have to ...
27
votes
1answer
377 views

many indefinite integrals do not evaluate in 10.1, looking for the cause

Many integrals no longer evaluate in V 10.1 when they did in 10.0.2 Here are some 23 integrals as an example, that all produced results in V 10.0.2, but now all returns unevaluated! I am hoping ...
2
votes
0answers
62 views

Strange Integrate messages / $RecursionLimit being ignored

Introduced in 10.1.0 The following behavior was observed in Mathematica 10.1 (Windows 64 bit) When attempting to evaluate the following integral, Mathematica outputs several messages which appear ...
4
votes
1answer
135 views
0
votes
1answer
69 views

Can't obtain a closed form expression for an integral

I am trying to find the result of quite a complicated double integral. While the first part (being a Principal value integral) gave no particular problems, the second one is not providing any closed ...
10
votes
4answers
4k views

How can I differentiate Numerically?

Mathematica has two ways to integrate: Integrate and NIntegrate. But what about D? ...
5
votes
1answer
153 views

Integration over a convex combination of a region: $\int_{\Omega} (w_1 z_1 + w_2 z_2)^{1-\sigma} d (z_1, z_2)$ where $\Omega = \{ z_1 + z_2 = 1\}$

Take $w,z\in R^{n}$. I am interested in integrating (as generically if possible) $$\int_{\Omega}(w \cdot z)^{1-\sigma} d z$$ Where the domain of $\Omega$ is $1$ dimension, and includes the convex ...
4
votes
1answer
1k views

Lie-Bracket of two vector fields

I'm new to Mathematica (installed couple of hours ago) and I need to compute a few Lie brackets between two vector fields $f$ and $g$. $$ f\left(\mathbf{x}\right) = \left( \begin{array}{c} ...
0
votes
0answers
43 views

Calculus with Mathematica, books, interesting examples [duplicate]

I'm looking for a book where I could find informations and interesting examples regarding examine functions of one variable like continuity of functions, limits, differentiability in Mathematica. I'd ...
0
votes
0answers
36 views

Computing integral involving derivatives

I want to evaluate an expression $\int_C g(\nabla f)ds$. This is an integration along a curve $C$ in a plane given as a function of some parameter $s$: ...
8
votes
0answers
57 views

Finding simplifying substitutions for an integral involving limits and integrand

[The following is based on a William Lowell Putnam Mathematical Competition problem.] Consider the definite integral: $I = \int\limits_2^4 \frac{\sqrt{\log (9-x)}}{\sqrt{\log (9-x)}+\sqrt{\log ...
2
votes
3answers
148 views

How can I get the exact value minimum of this function?

I want to find min of the function $$\frac{1}{\sqrt{2 x^2+\left(3+\sqrt{3}\right) x+3}}+\frac{1}{\sqrt{2 x^2+\left(3-\sqrt{3}\right) x+3}}+\sqrt{\frac{1}{3} \left(2 x^2+2 ...
0
votes
1answer
79 views

Four integrals, how can I expedite the calculations?

I have to calculate the following multiple integrals (4 integrals) ...
10
votes
2answers
238 views

Mathematica integration failure - new or old?

Bug introduced in 7.0.1 or earlier, persists through 10.1 Consider the following integral: Integrate[Log[a Cos[x]^2 + b Sin[x]^2], {x, 0, 2Pi}] This takes a ...
24
votes
3answers
665 views

Symbolic integration error

fixed in 10.1 (windows) I'm running Mathematica 10.0.0 and encountered a disturbing error in the symbolic integration of a rather simple function ...
7
votes
3answers
319 views

Negative integral of a positive function

fixed in 10.1 (windows) For a parameter $t\in (0,1)$ $Assumptions = t ∈ Reals && t > 0 && t < 1 I define an obviously positive function ...
24
votes
2answers
321 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, ...
5
votes
2answers
373 views

How can I get the inverse of my function?

The original function is $$f=\frac{1}{e^{\frac{\phi }{k t}}-1}-\frac{m+1}{e^{\frac{(m+1) \phi }{k t}}-1}$$ I want to express $e^{\frac{\phi }{k t}}$ about $m$ and $f$, so I tried: ...
0
votes
0answers
48 views

numerical integration with parameter

Now I'm trying to integrate a function numerically. But it shows always an error message. x=y is not a valid limit of integration I know that this function ...
0
votes
1answer
69 views

PDE of real-world system, integral boundary condition

I've stripped all the physical-significance for clarity, but I know that u[x,t] will be everywhere positive and continuous. here are the equations in Mathematica code: ...