Tagged Questions

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)

0
votes
0answers
8 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: ...
-2
votes
0answers
22 views

Question on L'hopital Rule [on hold]

Find 1) limit of ( tanx / secx) when x goes to pi/2 from right 2) limit of (1+×)to the power x when x goes to zero And how ?
0
votes
0answers
41 views

Product of Logarithme in Mathematica [on hold]

Hi I am trying to find a good estimation of Product[Log (k), {k, 1, n}] in terms of $log(n)$. So I wrote ...
0
votes
0answers
25 views

How do print the limit value? [on hold]

I'm completely new to Mathematica and trying to compute the following limit: $$Limit[((2+sqrt[3])^x)-IntegerPart[((2+sqrt[3])^x)],x->Infinity]$$ Unfortunately instead of getting a numerical ...
1
vote
0answers
65 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
41 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 ...
0
votes
1answer
36 views

Differentiation Help [closed]

I am having some trouble on my math assignment. The question has three parts, and I think have the correct answer on the first two parts, but the last one, I'm having trouble with. It says to ...
0
votes
1answer
95 views

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

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}]] ...
6
votes
2answers
202 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 ...
2
votes
1answer
99 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} ...
0
votes
0answers
43 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 ...
0
votes
2answers
44 views

How to calculate improper integral [closed]

Hello, How to calculate the "r" (limit) of this improper integral ?
5
votes
1answer
181 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, ...
3
votes
1answer
70 views

Integrate[] does not work when the function has an antiderivative function

This function (1 + (1 + 1/(2*Sqrt[x]))/(2*Sqrt[Sqrt[x] + x]))/(2*Sqrt[x + Sqrt[Sqrt[x] + x]]) has the antiderivative function, since ...
0
votes
1answer
43 views

Computing a binomial series

I have a simple question: how to compute the following series? Sqrt[1000000]/4^1000000 NSum[Binomial[2*1000000 - 1, 1000000 - k]/((2 k - 1)^2 + Pi^2), {k, 1, ...
1
vote
0answers
32 views

MacDonald formula for Modified Bessel Functions

Mathematica seems to not know these two integrals: $$\int_0^{\infty} e^{-x \cosh{\xi}} d\xi = K_0(x)$$ $$\int_0^{\infty} e^{-\frac{1}{2} \Big( \frac{x y}{u} + u \frac{x^2+y^2}{x y} \Big) } K_{i t}(u) ...
5
votes
1answer
265 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 ...
4
votes
4answers
498 views

Visualizing Line Integrals

I have a plane curve $C$ described by parametric equations $x(t)$ and $y(t)$ and a function $f: \mathbb{R}^2 \rightarrow \mathbb{R}$. The line integral of $f$ along $C$ is the area of the "fence" ...
1
vote
0answers
64 views

integral with Re[] function, need help [closed]

I tried to compute with Wolfram Mathematica the following integral The code is ...
-2
votes
0answers
19 views

Defining an ORIGINAL derivative function? [duplicate]

NOTE: I do not want to use the Derivative or D functions. – I want to define an original function. I began with this definition of the derivative , which resulted in: Limit[ #, h -> 0] & /@ { ...
0
votes
0answers
46 views

Can Mathematica do this integral over $\mathbb{R}^n$?

I have the following function: $$\phi_{k,n,r}: \mathbb{R}^n \rightarrow \mathbb{R}, (x_1,…,x_n)\mapsto (1-r^{n-k}e^{\sum_{i<k}x_i})e^{\sum_{i<j}x_i-x_j}e^{(2-n)\sum_i x_i}$$. Is there any way ...
5
votes
2answers
524 views

Mathematica 10 cannot solve definite integral

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

Integrate over piecewise function defined using /;

f[x_] := x /; x<0 f[x_] := x^2 /; x>=0 Integrate[f[x],{x,-1,1}] The above does not work (Mathematica returns it unevaluated), but the below does. ...
3
votes
1answer
164 views

How to numerically integrate this integral

I am unable to do this definite integral in Mathematica 9. Is there any command so that I can get the numerical value of the above integration? Code: ...
0
votes
2answers
51 views

Derivative in function form

I have a function in mathematica defined as b[n_, x_] := x^n/n!/\!\(\*UnderoverscriptBox[\(\[Sum]\), \(k = n\), \(\[Infinity]\)]\*FractionBox[\(x^k\), \(k!\)]\) ...
0
votes
0answers
4 views

The Chain Rule: Estimate the rate at which $θ$ is changing at that instant [migrated]

Let $a$ and $b$ denote two sides of a triangle and let $θ$ denote the included angle. Suppose that $a$, $b$, and $θ$ vary with time in such a way that the area of the triangle remains constant. At a ...
2
votes
1answer
61 views

Using Integrate to define a function

I'd like to define a function by way of the output of a definite integral with symbolic bounds. For instance, F[m_,k_] := Integrate[x,{x,m,k}] would define ...
0
votes
1answer
111 views

Tough Calculation, novice mathematica user

I have an equation, that I've been calling $b_N(x)$ that satisfies the following identity: $$-Nb_N(x)^2=(x-N)b_N(x)+xb_N'(x)$$ where $b_N'(x)$ is the first derivative. I take the derivative then of ...
0
votes
1answer
48 views

Multidimensional NIntegrate problem of the function decaying as 1/x^2

The function I am trying to integrate is more complicated but I can simply write the function as (I had made a typo error, sorry. The '+' sign in front of the r should be '-'): $f(\omega ) = \int ...
0
votes
1answer
38 views

Negative Infinity limit [closed]

As a beginner I am trying various functions of mathematica to practice. I am at the limit function. I am trying this ...
0
votes
1answer
87 views

Integrating elements from matrix

oI'm kinda new at using Mathematica. What I'm trying to do is create a matrix with elements inside. ...
1
vote
1answer
79 views

Why Abs[Infinity] is an element of the real numbers

Element[Abs[Infinity], Complexes] returns False, that's right. But ...
2
votes
1answer
68 views

Hilbert transform of density of states [closed]

I am trying to evaluate analytical integration over density of states, for example G(Z)=int[f(x)/z-x,{x,x1,x2}] , where ...
4
votes
1answer
124 views

Problem on limit involving complex numbers

I have $${\frac{(6 k+1)^{k}}{(2 k+5)^{k}}}*(z-2 i)^k$$ and I need to find it's limit for $k$ approaching infinity. ...
14
votes
1answer
237 views

Why do big-O terms disappear in definite integrals since Mathematica 9?

In Mathematica 8, when I computed the following input: Integrate[Series[Cos[x], {x, 0, 2}], {x, 0, a}] Mathematica returned an expression that had a O[a^4] in ...
1
vote
0answers
39 views

Order of integration resolves “Indeterminate expression encountered.”

Bug introduced in 10.0.0 and fixed in 10.0.1 Today I came across the following integral: ...
1
vote
2answers
75 views

Integration over a (non-parametric) curve defined by indicator function

I want to integrate the real function myFun defined on a 2D plane over the line locus, defined as the solution of a set of ...
5
votes
2answers
172 views

Unexpected Integration Constant [closed]

Why does this integration Integrate[15-30x+6x^2-1/(x+5),x] return 700 as integration constant? If we make a slight modification ...
0
votes
0answers
25 views

Solving/simplifying a trig expression [migrated]

My problem sheet says that $\tan a= 5/12$ and $a \in {\rm Q\,III}$ ($a$'s in quadrant III). Using this information, I am to solve/simplify the expression $\quad \quad \cos\left(\frac{1}{2}a\right)$ ...
0
votes
0answers
36 views

Mathematica Integrate implicit assumptions returns a function not defined in some points while NIntegrate performs integration safely

Hi guys i'm performing a standard integration with mathematica routine Integrate, the function i'm integrating is the following: ...
2
votes
4answers
139 views

Problem in finding the numerical maximum

I need to find the numerical maxima of the function $$i(s)=\bigg[ \frac{\sin{50\pi (\cos s+1)}}{\sin{10\pi (\cos s+1)}} \bigg] ^2$$ Or in the mathematica input form: ...
4
votes
2answers
212 views

Limit not giving expected result

I am taking the limit Limit[Sin[π Sqrt[4 n^2 + n]], n -> ∞] the returned answer is Interval[{-1, 1}] I think the right ...
3
votes
1answer
91 views

Problem with series expansion and integrate

I have the following very simple code. A power series in a-parameter, function f[x], is integrated with respect to x, and the ...
0
votes
1answer
77 views

Functions in functions

I have three functions f(x,y) , g(t) , and h(t) and somehow I have to find (d/dt)f(g(t),h(t)) where t = 0. How would I go about writing this in Mathematica? In this equation g(t) is taking place of x ...
1
vote
1answer
78 views

Derivative of an expression containing a symbolic sum [duplicate]

Is there a general pattern for working with symbolic sums in Mathematica? For example here's a derivative I want to compute: ...
5
votes
0answers
144 views

Integrate wrong for absolute value of trig function

I was trying to get $\int_0^1 \lvert \cos(2 \pi k x) \rvert \,\mathrm{d}x$ for $k \in \mathbb{Z}$, and was surprised by the result (using Mathematica 10.0.1.0): ...
2
votes
2answers
71 views

Providing wrong answer on integral $\int_{-\frac{2}{3}}^{\frac{2}{3}} \left(\text{Ln}\left(\cos ^4(x)\right)+1\right) \, dx$ [closed]

I tried to evaluate the following in mathematica $\int_{-\frac{2}{3}}^{\frac{2}{3}}{1+\ln \left( \cos ^{4}\left( x \right) \right)}dx$ and got the answer as $0.91905 - 3.94746*10^{-16} I$. However, ...
3
votes
0answers
54 views

Integrate yields complex value, while after variable transformation the result is real. Bug?

I have the follwoing integral: Integrate[1/Sqrt[0.7 + 0.3*(1 + z)^3], {z, 0, Infinity}, Assumptions -> z \[Element] Reals] >> -3.36354 - 3.85013 I the ...
0
votes
0answers
30 views

Plot3D and NIntegrate issues

f[x_, y_] := 2*x - y Plot3D[f[x, y], {x, -1*Sqrt[4 - y^2], Sqrt[4 - y^2]}, {y, -2, 2}] NIntegrate[f[x, y], {x, -1*Sqrt[4 - y^2], Sqrt[4 - y^2]}, {y, -2, 2}] I ...
0
votes
2answers
54 views

Taking derivatives

This is my code: X := g[P] P = a*t R = t*X FOC = Dt[R, t] This is what I get for the last line: ...