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)

1
vote
1answer
26 views
0
votes
0answers
43 views

Bug (?) in Mathematica in Derivative of function with Abs

I encountered a weird problem with Derivatives in Mathematica, see the following code: ...
3
votes
2answers
191 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 ...
1
vote
1answer
43 views

Numerical integral speed

I have the following code to calculate a numerical integral for any given a, however it takes a very long time, even with adaptivemontecarlo, which is not accurate enough: ...
3
votes
0answers
93 views

Wrong Limit in Mathematica 10.0.0

Limit[(Log[(3+Sqrt[5])/2]/(2*Log[(1+Sqrt[5])/2]))^(-1-2*n), n -> Infinity] Mathematica (wrong) output: 0 But this is ...
2
votes
1answer
67 views

Missing zero in the CoefficientList

The following list has a length only 10 (not 11) CoefficientList[Series[ArcTan[x]/(1-x^2),{x,0,10}],x] {0, 1, 0, 2/3, 0, 13/15, 0, 76/105, 0, 263/315} Should be ...
13
votes
4answers
427 views

A bug in Integrate

Integrate[(1 + 16 Tan[2 x - y]^2)/(1 + 4 Tan[2 x - y]^2), {x, 0, 2 π}] Mathematica (wrong) output is (tested under versions 8 and 10.0, took ~ 1 minute of CPU ...
19
votes
2answers
1k views

Why does Mathematica give the wrong answer when integrating?

I integrate Integrate[Exp[I Cos[b - c]] Cos[b], {b, 0, 2 Pi}] Mathematica gives: 2 I Pi BesselJ[1, 1] Which is indepedent ...
5
votes
0answers
118 views

Why don't products of Dirac deltas integrate correctly?

The integral $\int \int \ \delta(x) \delta(y) \ dx dy=1$ evaluates to 0 in Mathematica ...
0
votes
0answers
60 views

convergence problem - triple integral

I have a problem in convergence ... for i=j=5 is enough to calculate what i want. But for os11[100,5,5]=1.59 ( 1.58 is the real ...
2
votes
0answers
46 views

Wrong Limit with LaguerreL

Limit[(n! LaguerreL[n,-1]/(n^(n+1/4)/Sqrt[2]/E^(n-2 Sqrt[n]+1/2))-1) Sqrt[n], n->∞] Mathematica (wrong) output ...
4
votes
2answers
115 views

definite integration very slow

I have to perform definite integration of function of this kind : ...
5
votes
0answers
58 views

LogisticSigmoid residue bug?

On version 10.0 for arm: Residue[LogisticSigmoid[z],{z,I Pi}] gives 0 not 1. Can anyone reproduce this?
7
votes
2answers
199 views

Why does Mathematica say $\int_0^1\int_0^1\int_0^1\frac{1.0}{xyz}\,dz\,dy\,dx=0$?

Mathematica 9 says that $\int_0^1\int_0^1\int_0^1\frac{1.0}{xyz}\,dz\,dy\,dx=0$ and $\int_0^1\int_0^1\int_0^1\frac{1}{xyz}\,dz\,dy\,dx=0$. ...
2
votes
1answer
147 views

How to speed up a symbolic integration

I have a question about an integral. I wanna integrate this: ...
5
votes
1answer
178 views

Find exponential generating function from the first few terms

The function FindGeneratingFunction computes the ordinary generating function of a sequence, given a sufficient number of initial terms. I have two questions in ...
13
votes
4answers
692 views

How to make a Line[] with no end?

I'm trying to do this: In this graph, the secant points are aproximated in order to become the tangent, it seems I need some kind of function which plots a line based on two points and it's points ...
0
votes
1answer
45 views

Problem with 'time dependent' functions [on hold]

I'm just trying to make $\frac{dx}{dt}$ where $x= \rho \cos\theta \sin\phi$ where $\theta, \phi $ and $\rho$ are time dependent functions. ...
4
votes
4answers
1k views

Numerical differentiation methods

Is it possible to write code in Mathematica that implements various differentiation methods (like forward, central, extrapolated, etc.)?
0
votes
0answers
40 views

Multidimensional integration does not work

I am trying to solve an integral over Cubic Birillioun Zone, but after taking a long time Mathematica give nothing in return and just repeating the integral form, here is my integral, ...
0
votes
1answer
34 views

Plotting partial sums of Taylor Function

I need to plot the partial function: $T_f(x)=\log 2+\sum_{k=1}^{\infty}\frac{(-1)^{k+1}}{2^kk}(x-2)^k$ for $n=2$,$n=4$ and $n=6$ on the same plot over the interval $[-\frac{1}{2},4]$ and also the ...
2
votes
1answer
156 views

How can I evaluate surface integral in Mathematica?

$$\iint_{S^+}x^3dydz $$where $S$ bottom part of $$ \frac{x^2}{a^2}+\frac{y^2}{b^2}+\frac{z^2}{c^2}=1$$ $S^+$ - outer side of $S$ $$\iint_{S^+}P(x,y,z)dydz = \iint_{S}P\cos\alpha dS,\ \; normal : ...
12
votes
3answers
340 views

How can I obtain an asymptotic integral expansion at infinity?

I want to find the asymptotic expansion at $x \to \infty$ of the following function: $$ I(x) \equiv \int_0^{\pi/2} e^{-xt^3 \cos(t)} dt.$$ To do this I defined ...
-2
votes
1answer
44 views

Need help to solve this math question when x reach 0 [on hold]

My son can home and ask me to help him with this equation: lim ((x-2)/(2x-1))^(1/x) x→0 I try to use /www.symbolab.com but its too complicated to solve this. Thanks with the help
0
votes
0answers
27 views

How to refine the approximate solution of an implicit function? [on hold]

I have an equation of the form exp(A(C-x))-1-exp(x-B(C-x)^(2/3))=0 Here A,B and C are constants, x is the unknown, I want to find, but approximate value of x is known. so, the problem is how to get ...
0
votes
1answer
96 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 ...
1
vote
1answer
89 views

Strange timings of integrals involving Hermite's polynomials

I have used Mathematica to calculate tunneling for quantum harmonic oscillator. The code is simple: ...
5
votes
1answer
234 views

Lagrange Multiplier

We are asked to maximize and minimize $f(x,y)=4xy$, given the constraint $4x^2+y^2=8$, using the Lagrange Multiplier method. First, I enter the functions f and g. ...
2
votes
1answer
97 views

Double integral over normal pdf gives inconsistent answer

I am using Integrate function to do the following double integral ...
0
votes
0answers
33 views

Series Expansion of Differential Operators [duplicate]

We know about the possibility of series expansion of a function in Mathematica. Same as below, where a function f[a x] is expanded around zero up to 5th order. ...
3
votes
3answers
93 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 ...
0
votes
0answers
42 views
0
votes
2answers
59 views

Continuity of function-example

I'd like to examine the continuity of the following function: f[x_] := Limit[(n^x - n^(-x) ) / (n^x + n^(-x) ), n -> Infinity] I know that this function isn't ...
3
votes
0answers
40 views

Indeterminate expression 0(I*Infinity]) on indefinite integrals on first use only

I do not know if this is new or not, I googled before. Windows 7, 10.1 64 bit: Integrals generate this error message The strange thing also is that the message shows up the first time the command ...
4
votes
2answers
65 views

Inconsistent Integration involving DiracDelta at boundaries

I'm working on integrals involving DiracDelta functions at the boundary of the integrals. I'm confused by the output Mathematica v10.1.0 gives me in this case: ...
5
votes
1answer
56 views

Integrate gives Simplify::infd “simplified to Indeterminate” message

Using version 10.1 on windows 7 Integrate gives this Simplify::infd Kernel message. What causes it, is this a bug? ...
7
votes
1answer
141 views

Curious solutions of x' = Sqrt(x), x(0)=4

Consider the solution of $x'=\sqrt{x}$, $x(0)=4$ using DSolve. ...
2
votes
1answer
89 views

Calculate exact Probability of product of normal random variables

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

Plotting a function based of a complicated integral

I would like to have help in making a plot of a complicated function based a definite integral. - desired graph My calculation: ...
3
votes
0answers
79 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
184 views
0
votes
2answers
83 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
53 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
43 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 ...
1
vote
3answers
78 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
76 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
714 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, ...
2
votes
1answer
61 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: ...