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

Why can't Mathematica simplify this expression involving conjugate of complex expression?

In theory it should recognise that all terms are real, and drop the Conjugate attribute. Any clues why this might be so?
0
votes
1answer
73 views
-3
votes
0answers
34 views

integral-equation of Wentzel–Kramers–Brillouin [on hold]

I need a code that can help me to solve the WKB equation for the eigenenergies for any given potential
2
votes
2answers
143 views

How to solve this two algebraic equation simultaneously for u and H ?(all real number)

I want to find the non-zero value of H when beta is changing(especially what value of beta when increasing will there be a non-zero H value). H is between [0,100]. This is actually the calculation ...
1
vote
3answers
112 views

Differentiation help [on hold]

I am new in Mathematica. I want to differentiate ...
0
votes
1answer
104 views

Integrate does not work on my expression

I am trying to integrate a simple equation. The code is as follows ...
3
votes
1answer
37 views

In NMinimize, how can I efficiently handle NIntegrate errors for non-integrable functions?

I am using NMinimize to find parameters that minimise the integral of a function in the least squares sense: ...
0
votes
1answer
68 views

Integrate works but NIntegrate doesn't

I have a complicated integral function that I'm trying to evaluate, which will have to be done numerically. I wanted to try a simpler one first, one that has an analytic form, because I could check ...
0
votes
0answers
73 views

Evaluating a derivative at a specific point [closed]

I'm quite new to Mathematica (and stackexchange) so I'm getting stuck on something simple. I have the expression $$ \phi_{n}(z,s)=q^n\left[-\frac{e^{-sb}z \left((1-q)^{\lfloor \gamma\rfloor} ...
0
votes
1answer
82 views

Singular integral mathematica

A = Integrate[Sin[2 x] / (A1 - B1 Sin[2 x] + C1 Cos[x] - D1 Sin[x]), {x, 0, 2 Pi}] The calculation is taking too much time; not returning any results. Any help?
16
votes
1answer
154 views

How to determine if a function is continuous?

I wish to write code for Riemann Stieltjes integrals in Mathematica. A necessary condition for the theorem to hold is that the function must be continuous. The domain of the function is a closed ...
3
votes
3answers
160 views

Plotting the region bounded by parallel lines

I am working on the integral $$\int\int_D (2x+y)^2 e^{x-y}dA,$$ where $D$ is the region bounded by $2x+y=1$, $2x+y=4$, $x-y=-1$, and $x-y=1$. I need to shade the region bounded by these lines, so I ...
4
votes
2answers
109 views

Symmetrise a complicated expression

I am calculating the derivatives of a symmetric function $F(a_1, a_2)$ and got very complicated expressions, which I'd like to write in a symmetric form with respect to $1 \leftrightarrow 2$ (clearly ...
2
votes
1answer
247 views

How to evaluate this integral?

Why can it not evaluate this integral? Please help. Integrate[Exp[-r^2]* r^2*Log[Exp[-r^2]* r^2*(2.5 - r^2)*(2.5 - r^2)], {r, 0, 10}]
5
votes
1answer
148 views

Visualize transformation used in multiple integration

In class, we will sketch the region $D$ in $R^2$ bounded by the curves $xy=1$, $xy=4$, $y=x$, and $y=x+2$. Then we will use the change of variables given by $u=xy$ and $v=y-x$. We need to show that ...
7
votes
1answer
129 views

Old fashioned region method?

Just stumbled across this idea in http://users.rowan.edu/~hassen/Mathematica/Volume%20III/Chapter%2015.pdf. ...
0
votes
0answers
57 views

The system can not be solved

I'm trying to solve this equation: f[a_][r_]=((a*r/12)*(1+(r/12))^n)/(((1+(r/12))^n) - 1) When I type Solve[f[a][r]==p, a] ...
12
votes
1answer
792 views

1/x integration giving 0 instead of infinity [duplicate]

I stumbled across the fact this integral: Integrate[1/y, {y, 0, 1}, GenerateConditions -> False] returns 0 Anybody ...
2
votes
1answer
44 views

Derivative of conjugate multivariate function

I have a problem with Mathematica, taking the derivative of the conjugate of some function. I know that a similar question has been posed before here, but the solution did not work for multivariate ...
0
votes
0answers
5 views

Problem with Integration using substitution [migrated]

OK, so here is a question from integration that I recently stumbled upon. Evaluate $I =\int\cos^3\theta\sin\theta\,d\theta$ Now here's how I tried to solve it first; $Substitute \cos\theta = t$ ...
-1
votes
1answer
66 views

Wrong condition for the convergence of the integral $\int_0^\infty t^a \exp(-i t^b) dt$

The integral $\int_0^\infty t^a \exp(-i t^b) dt$ converges for $-1 < a < b - 1$ or $b - 1 < a < -1$. However, ...
4
votes
0answers
44 views

How to take the second derivative of a complicated function using limits [closed]

I have a very complicated function of one variable consisting of exponential and error functions combined in various ways. Mathematica can't take the derivative of this function in the usual way ...
0
votes
0answers
22 views

Show[cp1,cp2, …] but PlotLabel in cp2 does not show up [duplicate]

I am visualizing the extrema of $f(x,y)=x^3+3y^2$ constrained to the level curve $g(x,y)=xy=-4$, found by using the Lagrange Multiplier Method. ...
2
votes
1answer
93 views

Why can't Mathematica do this limit?

(Glancing past the fact that one can do this by hand in a second...) Are there any extra conditions I can give Mathematica to make it evaluate limits like this? I'm not sure why it's getting choked ...
2
votes
1answer
151 views

Calculate the limit of an integral

How can I use Mathematica to find the limit:$$\lim_{x\rightarrow 0^{+}}\frac{\int_{1}^{+\infty}\frac{e^{-xy}\quad-1}{y^3}dy}{\ln(1+x)}=?$$ I tried this ...
0
votes
2answers
69 views

How does one define a function that takes vectors as arguments but also derivatives?

Summary: tldr; I just want to implement a version of the following mathematics function: $$ f(a) = c_1 e^{-(a - t_1)^2} + c_2 e^{-(a - t_2)^2} + c_3 e^{-(a - t_3)^2}$$ in mathematica, and be able ...
6
votes
1answer
95 views

Why should the spatial derivative order of the ODE *not* exceed two?

Following this question I came across this strange behaviour. Let me define a 1 D interval implicitely ...
0
votes
0answers
43 views

Partial derivative of recursive exponential $f(x)=\sum^{K_2}_{k_2=1}c_{k_2}\exp(-z^{(2)}_{k2})$ w.r.t. the deepest parameter

I was trying to take the derivative of the following equation (which can be depicted nicely in a tree like structure, look at the end of question for diagram): $$f(x) = f([x_1, ..., x_{N_p}])= ...
1
vote
1answer
117 views

How does one verify the derivative of $ f(x) = \sum^{K_2}_{k_2=1} c_{k_2} \exp\left(- \big(a^{(2)} - t^{(2)}_{k_2}\big)^2\right)$

I wanted to verify the derivative of the following equation: $$ f(x) = \sum^{K_2}_{k_2=1} c_{k_2} \exp\left(- \big(a^{(2)} - t^{(2)}_{k_2}\big)^2\right)$$ for that I wanted to write a symbolic ...
1
vote
1answer
57 views

ND and D yielding strange results

Both of the following codes, using ND and D, differentiates my function Flux[] incorrectly. If the derivatives are plotted, it can be seen that both are the original function multiplied by some ...
0
votes
0answers
21 views

Plotting a dispersion curve with complex wavevectors [duplicate]

I want to reproduce a dispersion curve from P. Zou's thesis found here: http://www.ipd.anl.gov/anlpubs/2001/06/39620.pdf on Pg. 31, Eq. 2.13. The problem is, the code below only gives values for the ...
5
votes
3answers
200 views

Extrema of a function of three variables

To identify and classify the critical points of the function $f(x,y,z)=x^3+xz^2-3x^2+y^2+2z^2$, I used the Hessian matrix method. ...
2
votes
0answers
94 views

Evaluating Real and Imaginary parts in a dispersion equation via ContourPlot [closed]

I want to reproduce a dispersion curve from P. Zou's thesis found here: http://www.ipd.anl.gov/anlpubs/2001/06/39620.pdf on Pg. 31, Eq. 2.13. The problem is, the code below only gives values for the ...
2
votes
1answer
49 views

Integrate complains about incompatible quantities in integration limits

When I run the following code, Integrate throws ...
1
vote
1answer
66 views
0
votes
1answer
50 views

Issue with Differentiation over a tensor

I am new user in Mathematica. I am working with liquid crystal theory, and one of the notation there is the tensor: $ \Pi_{ij} = \frac {\partial {F_{el}}} { \partial ( \partial {n_i} / \partial { ...
1
vote
2answers
92 views

How to get the desired (equivalent) answer from Integrate?

This is the integrand: 1/beta/(2*z)/(1 - beta) // TraditionalForm Integrating with respect to z, gives ...
0
votes
1answer
41 views

Why can not the vector be transposed in integrating over a region? [duplicate]

Clear[x, A]; A = {{2, -1, 0}, {-1, 2, -1}, {0, -1, 1}}; Integrate[Exp[-x.A.{x}\[Transpose]/2], x \[Element] FullRegion[3]] This code raises an error ...
3
votes
2answers
120 views

Help with Integration

I am new to Mathematica, and I need help with integration of the following Reliability expression (from a well-known Reliability Model). $$R(t)=e^{-Ne^{-bt_i}(1-e^{-bt})}, t \geq 0$$ I have ...
2
votes
0answers
57 views

Derivative of vector dot product with respect to a vector

I have the expression: Transpose[gvecI, {2, 1}].x (m[1] + m[2]) gvecI and x are [3x1] ...
4
votes
2answers
115 views

Module inside of Manipulate Example

Here is a very nice example from The Student's Introduction to MATHEMATICA. ...
4
votes
2answers
530 views

Order of a pole

Is there a simple way to determine the order of the poles of a rational function? I have a difficult function where I need Mathematica to find the poles. It would be interesting to also know what the ...
1
vote
1answer
49 views

How to apply Simplify only to elements of list that cause specific Warning

I have a set of replacement rules I use to analytically compute nested integrals of very long symbolic expressions since Integrate literally takes forever. To do ...
5
votes
1answer
78 views

Integrate yielding a ConditionalExpression but I don't think the condition is necessary

Suppose I take the PDF of the LogNormal distribution with parameters m and s evaluated at x. I obviously get an expression involving m. I now want to integrate that expression not with respect to x ...
1
vote
0answers
40 views

Discrepancy between laplace and fourier transform of gaussian

The function in question is Exp[x^2/2] for x>0 Laplace transform should be the same as the fourier transform since the function is absolutely integrable. Fourier: They are indeed the same ...
0
votes
1answer
54 views

Partial derivatives with respect to multiple variables

For any natural number $N$: $$_t k_{mn}^1 = \frac{1}{m!n!}\frac{\partial^{n+m} k_1 (0, 0)}{\partial x^m \partial t^n}, \qquad (m,n=0,1,\ldots, N)$$ where $k_1(x,t)$ is a known function, for example ...
11
votes
2answers
267 views

Why doesn't Mathematica evaluate this simple limit?

I want to evaluate $$\displaystyle\lim_{n\to\infty}\left(n-\sqrt{\sin(n)+10n+n^2}\right)^2$$ I used this code ...
4
votes
2answers
141 views

Finding the equation of a level curve

Is there a way in Mathematica to determine a parametric equation of a level curve in Mathematica. For example, consider: ...
0
votes
2answers
80 views

Easy way to add another parameter to Manipulate

Vector definitions: I'm sorry that I didn't include the Vector definitions. I forgot because I had them in initialization cells. Here they are: ...
0
votes
0answers
57 views

Formally invert a $C^\infty$ diffeomorphism

I'm having a problem with a calculation. Starting with $f: \mathbb R^2 \to \mathbb R^2$ having an invertible gradient, I want to compute $\nabla^2(g \circ f^{-1})$. While I know $f$ and $\nabla f$ ...