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 (2)

0
votes
1answer
90 views

How do I generate arbitrarily many integration bounds? [duplicate]

I have a multiple integral of the following form: $$\int_{-\infty}^\infty \cdots \int_{-\infty}^\infty \exp(-\sum_{i,j=0}^n x_i A_{ij} x_j) dx_1 \cdots dx_n $$ Here, $A$ is a square matrix and $x_1 ...
3
votes
1answer
115 views

Double Integral and Assumptions

I'm afraid this is going to be a really stupid question. Evaluating the following definite integral Integrate[Sqrt[1 - (x^2 + y^2)], {x, -1, 1}, {y, -1, 1}] ...
7
votes
2answers
284 views

Find asymptotics of Sum[2^i*Binomial[n-i-1,2*n/3-1],{i,0,n/3}]

I have an expression 2^n / Sum[ 2^i Binomial[ n - i - 1, 2n/3 - 1], { i, 0, n/3}] ...
10
votes
5answers
465 views

Double series over primes

I'm very curious if the following double series over primes has a closed form: $$\sum_{k \in \mathcal{P}}\sum_{n \in \mathcal{P}}\frac{1}{k\;n(k+n)^2}$$ where $\mathcal{P}$ denotes the set of all ...
6
votes
1answer
409 views

Integral of the Sinc product

Let as consider the following integral $$ B_n = \int_0^\infty \prod_{k=1,3,5,\dots}^n\frac{\sin (x/k)}{x/k}dx $$ By definition, Sinc[x]=Sin[x]/x therefore ...
4
votes
3answers
245 views

Plotting the direction field of a differential equation

I have to sketch the direction field for the following differential equation: $$\frac{dy}{dx}=\frac{-0.02 y +0.00002 xy}{0.08 x-0.001xy}$$ This is the code I used, which gives an incorrect plot: ...
1
vote
1answer
135 views

Minimum value with two factors

Approximate the minimum value of $2e^{x-2}-6x+xe^{x-2}$. Is my input correct? If not can you please correct it? ...
10
votes
1answer
317 views

Why does Mathematica return a Fourier transform for a function for which it is not defined?

The following function $$g(x) = (1 + x^{1/a} )^a $$ should NOT have a Fourier transform, as far as I am aware, for any real values of $a$ since $g(x)$ is not nice in the sense of decays quickly ...
3
votes
5answers
174 views

A double series with divisibility restrictions

How may I restrict $i,j$ such that they run over $\mathbb{N}$ excepting the numbers divisible by $2$ or $3$ or $7$? ...
1
vote
3answers
110 views

How to iteratively integrate a function and sum the result of each iteration

I want to repeatedly integrated a function and add the result of each iteration. Suppose I start a with a function $f(x) = x$ , I want to integrated it, it will be $x^2/2$, and again integrating, it ...
0
votes
2answers
79 views

How to add a condition to a formula so that it will not appear at the result? [duplicate]

Sometimes I have very long and complicated equations, when I evaulate the equations for example taking derivative or integral there will be several conditions with the answer. My question is that; is ...
1
vote
0answers
99 views

How to prevent simplification of hypergeometric functions resulting from integrations?

Definite integrals from 0 to Infinity over a product of two hypergeometric (including exponential, trigonometric, hyperbolic, ...
3
votes
2answers
221 views

Integrating special functions

I would like to integrate the following function with Legendre polynomial and Gamma function. I am open to suggestions. ...
1
vote
1answer
412 views

Definite integral using Riemann sums [closed]

I just started learning Mathematica. It seems like a good program to learn. I only know some basics though. I came across this problem online which I want to learn how to solve: Write a ...
3
votes
1answer
109 views

Making time differentials look like the textbook [duplicate]

I need to have time differentials to look like the 'textbook'. My code is Dt[x y^2] /. {Dt[x] -> dx/dt, Dt[y] -> dy/dt} which gives the output ...
8
votes
1answer
292 views

Integral with HeavisideTheta takes too long to evaluate

I tried to compute $$\int_{-1}^1 d x_1 \int_{-1}^1 d x_2 \int_{-1}^1 d y_1 \int_{-1}^1 d y_2 \theta(x_1 x_2 + y_1 y_2)\,$$ where $\theta$ is Heaviside's step function, by using ...
4
votes
1answer
701 views

Is it possible to impose “Assumptions” in DSolve or equivalent? (differential equation solving)

When DSolve tries to solve differential equations, it is sometimes not smart enough to generate conditions according to different possible value of parameters. ...
2
votes
2answers
69 views

ConditionalExpression Limiting Domain

I came across a problem when evaluating the following integral: $\int_0^t \sqrt{9 x^4+1} \, dx$ Now, when I evaluate that, I get ...
1
vote
1answer
319 views
2
votes
1answer
326 views

Volterra integral equation : 'literally match the independent variables' message

I want to solve an Volterra type Integral equation, and as a practice I entered the following code to my mathematica: ...
2
votes
1answer
94 views

Use Mathematica to determine the falling law

We have a one-variable equation $\rho(R)$ where ρ = (14656.4+277.526*R^2)/(45.9225+R^2)^{5/2} + 0.370036/(R*(0.25+R)^3) This equations describes the evolution of ...
17
votes
2answers
443 views

Have I found a bug in Integrate?

The following command gives 0 in Mathematica 9.0.1. ...
1
vote
0answers
141 views

Positive integrand giving negative answer

I'm integrating a positive function f(t) times sin(t) from 0 to pi/5 and get -38. Actually f is slightly negative for a short time (smallest value ~ -0.0005), but far from enough to explain this. ...
7
votes
1answer
205 views

Series expansion for small ratio of variables

I have a messy expression of variables that I would like to simplify under the assumption that certain ratios of the variables are small. For example, consider $\sqrt{x+y}\;$ expanded for small ...
0
votes
1answer
164 views

Pull Constants outside of integrals

I would like Mathematica to pull constants outside of an integral: e.g., $\int_0^t f[t] g[s] dt \to g[s] \int_0^t f[t] dt$ This has previously been discussed at replacement rule to pull independent ...
2
votes
0answers
209 views

Numerical-Symbolical Integration (Calculus)

I created a simple numeric-symbolic integration. Here you can use symbolical and numerical techniques at the same time. You can also interpolate numerical integrals. The problem with my function is ...
0
votes
2answers
74 views

Obtaining a particular form of solution for an integral

When I do: Integrate [E^(-(t/\[Tau])) Cos[\[Omega] t], {t, 0, \[Infinity]}] How could I get the solution in the form: ...
1
vote
3answers
1k views

Find dy/dx given an equation

Here's a homework problem from the Coursera course Calculus: Single Variable by Robert Ghrist Find the derivative $\frac{dy}{dx}$ from the equation $x \tan y - y^2 \ln x=4$ I wanted to check my ...
8
votes
3answers
2k views

How to find the nth derivative?

This question is not the same as my last one. How do you find the $n$-th derivative where $n$ is a variable? For example, you can find the nth derivative for a specific $n = 3$ ...
2
votes
1answer
151 views

A question about derivatives (cubics)

Given an equation: f(z) = a (x + I y)^3 + b (x + I y)^2 + c (x + i y) + d Which can be re-written as: ...
1
vote
2answers
110 views

Is this integration error from a misuse of Mathematica or is it my poor math skills?

I have input this: Integrate[1, f[t]*Exp[(v/V)*t]] That is $\large\int 1*d(f(t)*e^{\frac{v}{V}*t})$ I expected this output: $\large f(t)*e^{\frac{v}{V}*t} + C$ ...
2
votes
0answers
141 views

Using WhenEvent for derivative of discontinuous function

I have a discontinuous function ($u(t)$, a square wave) and I would like WhenEvent to trigger when the signal goes high/low, i.e. when the value of $u(t)$ changes. ...
1
vote
1answer
220 views

Difficulty with computing a limit

I meet some difficulties when trying to compute this limit, ...
1
vote
1answer
308 views

The underlying process of Integrate[] [duplicate]

Integrate[x^4 E^-x^2, {x, 0, +∞}] Output: (3 Sqrt[π])/8 Can someone explain to me the specific calculation process ?
14
votes
2answers
137 views

Symbolic derivatives are being calculated numerically

Just found the following while debugging a problem. Mathematica is calculating the derivative of IntegerPart[x] in some odd way: ...
5
votes
1answer
270 views
6
votes
2answers
161 views

Series resulting in “No more memory available.”

Is there any way to force Mathematica to come up with the closed form to Sum[1/(i^18 (i^2 + j^2)), {i, 1, Infinity}, {j, 1, Infinity}] or ...
-4
votes
1answer
265 views

Symbolic Definite Integration

How do I perform Integrate[Sin[x]^2/(z^2 + R^2 - 2 zRCos[x])^(3/2), {x, 0, Pi}] where z and ...
6
votes
2answers
254 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. ...
1
vote
1answer
314 views

integrating a Green's function for a damped harmonic oscillator

I have the following integrand: int = Sin[Sqrt[-g^2 + omega^2]*(t - tp)]*Exp[-g*(t - tp)]*A*Exp[-(tp - t0)^2/sigma^2]*Cos[Omega*tp]/Sqrt[-g^2 + omega^2] and am ...
3
votes
2answers
263 views

Can I define a function for vectors of arbitrary dimension?

Is it possible to do analytic calculations with Mathematica? For example, I want to compute: $$\partial \frac{\sum_{j=1}^n G_{j} \prod_{k=1}^{j-1} (1 - G_{k})}{\partial G_l}=-\prod_{k\neq l} ...
1
vote
2answers
95 views

Integration leading to logarithms and chosing branch

I m doing this interal with Mathematica Integrate[(((1+b*t)^2)t)^(-1),t,Assumptions->b>0] what I get back is ...
6
votes
1answer
226 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 ...
1
vote
2answers
254 views

Integration and Parallel Computing in Mathematica

In mathematica, how would I use parallel computing (or paralleltable) to compute the integrals of $x^2$, $x$, $3x$ from $x=0$ to $10$ just like in the first answer of ...
4
votes
1answer
157 views

The limit of a product to infinity

What is the difficulty with this question to Mathematica? Is it just a problem with Mathematica v.8.0 or all versions are in trouble with it? Or is something wrong with my input? ...
0
votes
1answer
169 views

Gram-Schmidt process with Hermite functions on [-1, 1]

Denote by $h_n$ the $n$-th Hermite function. $$ h_n(x) = \frac{(-1)^n }{\sqrt{2^n n! \sqrt{\pi}}} \mathrm{e}^{\frac{x^2}{2}} \frac{\mathrm{d}^n}{\mathrm{d} x^n} \mathrm{e}^{-x^2} $$ I am trying to ...
5
votes
1answer
610 views

Calculating volume between two surfaces of revolution

Once again, I'm very new to Mathematica and winging it as I go. I probably don't have the math education at this point to even justify buying it in the first place, but that's off topic. I wanted to ...
2
votes
2answers
451 views

How to integrate a function over a 3D planar polygon?

I am trying to integrate a function over a planar polygon in 3D. In 2D, this is fairly straightforward, using either answer from this question (I use the second answer). If we use an equilateral ...
3
votes
1answer
440 views

Normal and Tangent of Acceleration in 3D

I need to figure out how to find the Normal and Tangent of acceleration. I know the formula for the tangent of acceleration is $((Acceleration . Velocity)/(Velocity.Velocity))*Velocity$ and the normal ...
2
votes
1answer
390 views

How to take the derivative w.r.t. an arbitrary function?

EDIT: The answer posted by @Jens works for built-in functions only. However I'm starting to wonder if this is related to my Mathematica install somehow. I have version 7. Here is an example in the ...