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)

8
votes
3answers
503 views
7
votes
3answers
307 views

Generating a polynomial that's accurate to within an error of no more than 1/10^5

I'm currently stuck on a question for class that asks... "Find a polynomial p[x] that you can use to calculate 6 ArcTan[x] to ...
0
votes
1answer
56 views

Derivatives of overscript variables

If we have an expression with terms of some variable and terms of the same variable with some overscript, the differentiation of this expression does not entirely function. The problem is that ...
0
votes
1answer
136 views

Mathematica does not solve this integral [closed]

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

Integration of a Rational Function returns RootSum[]

I am trying to solve an integral given below: Integrate[r^2/(-α r^3 + r^2 - 2 m r + Q^2), r] but since coefficients of this cubic polynomial are as parameters, ...
7
votes
2answers
265 views

Definite integral incorrectly giving a nonreal value

In Mathematica 10.0, when I enter N[Integrate[Sqrt[1+x^3],{x,-1,3}]] , I get a nonreal value. (I.e., the imaginary part is nonzero.) Why? This arose when I ...
6
votes
0answers
150 views

Suspected bug in Integrate

Bug introduced in 9.0.1 or earlier and persisting through 10.0.2 or later In version 10.0: ...
0
votes
2answers
79 views

A simple integral operation

Evaluating the following expression results in a non-zero output FullSimplify[Integrate[2 f[x], {x,0,1}] - 2 Integrate[f[x], {x,0,1}]] I think the output should ...
1
vote
1answer
114 views

Partial differentiation mixes up variables

Consider $$ U \equiv \dot{\theta} - \theta \ ,$$ where as per usual $\dot{\theta} = \frac {d \theta}{dt}$. We then have $$ \frac {\partial U}{\partial \theta} = -1 \quad , \quad \frac {\partial ...
0
votes
0answers
77 views

Fourier Transformation of a List

As we know the FourierTransform goes a function of t ,for example, f[t] to ...
0
votes
1answer
69 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 ...
2
votes
1answer
98 views

How to check if Integrate solved the integral?

This seems something that must have been asked before, but I am not able to find something. Integrate does not return status nor throw error when it can't find antiderivative. It just returns the ...
0
votes
3answers
73 views

Listing all cubic order derivatives of a function of 4 variables

What would be the best way to list/print all cubic order derivatives of a function of 4 variables? I was thinking about iterating Derivative[i,j,k,l][func][0,0,0,0] ...
20
votes
1answer
278 views

Bug in ArcLength?

With Mathematica 10.0.2: ArcLength[Line[{{0, 0}, {1, 0}, {2, 0}}]] ArcLength[Line[{{0}, {1}, {2}}]] (* 2 *) (* 2 *) However, ...
20
votes
3answers
367 views

Negative probability?

Bug introduced in 9.0.1 and fixed in 10.0.2 I am trying to get the sum of the squares of seven random variables, all uniformly distributed. This is what I tried. ...
5
votes
2answers
637 views

Mathematica 10 cannot solve definite integral

Bug introduced in 10.0.0, solved in 10.0.2 Mathematica 10 fails to solve the following integral, saying that it does not converge. ...
0
votes
1answer
99 views

Graphic solution lagrange multiplier (cant get one)

I need to find the maxima and minim of a function. I did analytically with no problem but now I need to show in a graphic the intersection of the functions. My function is: ...
8
votes
2answers
722 views

Is Mathematica really getting this limit wrong?

I'm trying to calculate: $$ \lim_{\beta \to \infty} \tanh \left( \beta A \right) = \mathrm{sgn} \left( A \right) $$ for $A \in \mathbb{R}$, $\mathrm{sgn} \left( \# \right)$ being the sign function. ...
8
votes
4answers
315 views

Mathematica complaints that convergent integral diverges

Bug introduced in 10.0.0. Fixed in 10.0.2 Trying to do the integral ...
7
votes
1answer
69 views

Inconsistent results for Integrate depending on irrelevant assumptions

I stumbled across this amusing issue today when doing some definite integrals: ...
3
votes
1answer
74 views

How to perform “implicit” integration? [duplicate]

(I wasn't sure what to put for the title, so feel free to improve it if you can think of a better one.) How do I evaluate an integral that contains an unknown function of the integration variable ...
0
votes
0answers
51 views
-3
votes
1answer
107 views

Integration with mathematica? [closed]

I am very new to Mathematica. I am trying to evaluate ∫ (1+lnx)Sqrt(1+(xlnx)^2) using Mathematica. I know a substitution must be done so I have set ...
-1
votes
1answer
66 views

Taking the third derivative of: $f = (ln (x) + e^{4 (x - 1)})^{15}$? [closed]

I am VERY new to Mathematica and struggle to solve this question: Let $f = (ln (x) + e^{4 (x - 1)})^{15}$ and calculate what value $f^{(3)}(1)$ have. How would you go about to solve this in ...
0
votes
1answer
55 views

Finding the limit of powers to infinity [closed]

Limit x -> Infinity (1 - e^-x)^e^x I keep getting that the answer is 1 but according to wolfram alpha it is 1/e. Could someone show me how. Thanks.
-4
votes
1answer
48 views
0
votes
2answers
694 views

How to find volume of an egg [closed]

I am a first time user of mathematica. I've been trying to figure out how to find the volume of a) f(x)=(ax^3 + bx^2 + cx + d)sqrt(1-x^2). I have been scouring the internet for a solution on how to ...
6
votes
1answer
318 views

How to code around known MMa special-case failures?

Fourier Analysis and Signal Processing often require these integrals on functions f[x] that won't be known in advance. ...
1
vote
0answers
62 views

Integrate with Subscript: does this crash your kernel too?

I encountered some strange behaviour running v10.0.1 on a Mac Pro, while working with Integrate and Subscript. Starting from a ...
19
votes
2answers
575 views

Symbolic integration error

I'm running Mathematica 10.0.0 and encountered a disturbing error in the symbolic integration of a rather simple function ...
0
votes
0answers
78 views

Boundary value problem: complicated functionals

I am trying to solve a non-linear boundary value problem where the differential equation is a convoluted function of the variable I am trying to solve for. I have attached the code defining the ...
0
votes
1answer
85 views

How should i correct this error?

Sn = Sum[1/((k + 1)^2), {k, 1, n}] SSn = Sum[Sn*Fibonacci[n], {n, 0, m}] Limit[(1/(Fibonacci[m + 2] - 1))*SSn, m -> Infinity] Limit::ztest1: Unable to ...
4
votes
2answers
208 views

How to force correct answers for Integrals of Cos[mx]*Cos[nx]? [duplicate]

This is a big problem if you do anything with a Fourier Series. This statement: Assuming[Element[{m, n}, Integers], Integrate[Cos[m*x]*Cos[n*x], {x, 0, 2 Pi}]] ...
1
vote
1answer
67 views

How to rotate vectors in vector plot?

I'm writing an exam for my calculus students and am seeking help with using Mathematica on a particular problem. Here's my idea: I want to give a multiple choice problem that has four choices of ...
4
votes
1answer
212 views

How to solve this Integral equation

D[x[t] - x[t - 1]/(2 E), {t, 3}] + Integrate[E^(-δ)*x[t - δ]/5^t, {δ, 2, 2.5}] == 0 I found solve this problem is hard with Mathematica. I also find a article ...
-2
votes
1answer
73 views

How to integrate a table? [closed]

I have the following Table (dy/dx)={24,24.5,25,25.4} How do I proceed to interpolate the table and compute Integrate[Sqrt[1+(dy/dx)^2],{x,65,68}] ?
7
votes
2answers
686 views

Getting an InterpolatingFunction from a ContourPlot

I have a function, say minimizeme[Ω_][β_][ϵ_] = ϵ^2 Ω - Log[2 (Cosh[2 β] + Cosh[2 β ϵ])]/(2 β); I want to find its critical points in $\epsilon$ for a given ...
1
vote
2answers
77 views

Integrate full derivative

I want mathematica to do Integrate[D[f[x],x], {x,0,t}] and achieve the answer f[t]-f[0]. But Mathematica doesn't intergrate ...
0
votes
0answers
41 views

Derivative with respect to a tensor

I am trying to differentiate a tensor with respect to another one in Mathematica, but I can't do it. Down below is the code I am using: ...
8
votes
2answers
486 views

Double integral over a parallelogram

Problem: Evaluate the following double integral $$\int \!\!\! \int_D (14 x^2+61 xy+42 y^2)^{3} \, dxdy$$ where $D$ is a parallelogram between these four lines: $2x+7y=6$, $2x+7 y=-6$, $7x+6 y=6$ and ...
0
votes
3answers
327 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$ ...
2
votes
1answer
104 views

How to get a more compact form of this probability calculation?

Inspired by the probability calculation here, I am trying to solve a little general one: $$\mathbb{P} (\sum_{i=1}^{m-1} A_i + \sum_{i=1}^{m} S_i < L < \sum_{i=1}^{m} A_i + \sum_{i=1}^{m+1} ...
1
vote
0answers
86 views

Where can I learn to use mathematica comprehensively? [duplicate]

I've heard great things about all the wonders and capabilities of mathematica. I've had the software for sometime now, but all I know how to do are simple calculations and stuff shown in the hands on ...
0
votes
1answer
52 views

Mathematica Lattice Reduce Command

I'm going through a very old copy of "Mathematica: A System for Doing Mathematics by Computer" for self practice. I'm on chapter 3, and ran into the LatticeReduce ...
7
votes
2answers
284 views

Negative integral of a positive function

For a parameter $t\in (0,1)$ $Assumptions = t ∈ Reals && t > 0 && t < 1 I define an obviously positive function $f(x)=\left| \Re ...
5
votes
1answer
298 views

How to solve this probability symbolically or numerically?

I am trying to calculate the following probability $$\mathbb{P} \big(\sum_{i=1}^{m} (A_i + S_i) \le L < \sum_{i=1}^{m+1} (A_i + S_i) \big)$$ where, $$A_i \sim \exp(\lambda), \quad S_i \sim ...
5
votes
1answer
218 views

How can I Integrate large trigonometric expressions more efficiently?

I have a requirement to integrate some large symbolic expressions containing products of trigonometric functions. A single integration is averaging 7 minutes, and I have 2628 expressions to integrate, ...
0
votes
0answers
44 views

Find the maximum/ minimum of the function f(x,y,z) = x+2y+3z on the curve of intersection of the plane x-y+z = 1 and the cylinder x^2+y^2 = 1 [duplicate]

How to write the program for: Find the maximum/ minimum of the function f(x,y,z) = x+2y+3z on the curve of intersection of the plane ...