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)

2
votes
2answers
187 views

Finding extremums of Abs[complex function]

We have a function same as f[x_]=Cos[x] Cos[2 x] + I Sin[x] Sin[2 x] The final objective is to find all extremums of Abs[f[x]] in [0,2 pi]. But in the first ...
7
votes
3answers
358 views

Limit of a real function

Evaluating Limit[2^x Log[x], x -> 0, Direction -> -1] (right limit) gives correctly the answer -∞ but the ...
1
vote
1answer
73 views

Differentiate functions

I have two functions: F1[t_, g_] := a1*t + a2*g F2[t_, g_] := b1*t + b2*g I want to evaluate $(dt/dF1)_{F2}$; i.e., differentiate $t$ over $F1$ when $F2$ is ...
4
votes
4answers
165 views

Implicit function theorem to higher order

Consider f[x_, y_] := Csc[0.482` y] Sin[0.963` x - 0.482` y] + 3.247` Csc[0.333` y] Sin[0.667` x - 0.333` y] + 5.049` Csc[0.119 y] Sin[0.238 x - 0.119 y] ...
1
vote
0answers
59 views

Continuous integration of a tensor function using discrete density values

Hei, I am wondering is it possible to implement continuous integration using Integrate() of a fourth order tensor with discrete density values. ...
3
votes
2answers
205 views

Slightly increasing complexity of function increases calculation time by magnitudes

I am trying to calculate an impedance value from voltage and current functions. The calculation method is based on how an actual measurement device performs it. I have two different current function, ...
5
votes
3answers
126 views

Differentiate a numerically defined function

My function is f[a_, b_] := NIntegrate[Sqrt[(Cos[t] - a)^2 + b^2], {t, 0, Pi}] I want to calculate g[1,1] where ...
4
votes
1answer
208 views

How to make Mathematica express an equation in terms of previously defined functions

I was given a problem for my physics class, and perhaps I have taken it too far, but I wish to finish what I started. I have a function (i warn you that this does not look pretty) ...
0
votes
3answers
246 views

Residue theorem and multiple poles in contour integral

I had a query on multiples poles in [Contour Integral][1] using the [Residue Theorem][2]. I had an integral which I wanted to solve using the Residue Theorem. By the help of mathematica experts i ...
4
votes
3answers
115 views

How to express and take symbolic derivative of expression with finite sum

I have the expression: $$ p_i = \frac{e^{x_i}}{\sum_{j=1}^{n} e^{x_j}} $$ which I defined with the following Mathematica code: ...
2
votes
2answers
93 views

Integration procedure with real parameters

The output of the following integration appear to produce imaginary terms, even though the parameters {a,b} have been specified to be real. My question: Is there a way to perform this integration ...
3
votes
0answers
95 views

Using NIntegrate and DiscretePlot to visualize pseudodifferential operators

In harmonic analysis, pseudodifferential operators are a way to generalize the notions of derivatives, through the use of Fourier transforms. The basic idea being, Let ...
0
votes
1answer
126 views

Integrating 2d exponential function symbolically with polynomials of 2nd order running for days

I'm trying to integrate this function by Mathematica ...
1
vote
2answers
174 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
124 views

Differentiation help [closed]

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

Integrate does not work on my expression

I am trying to integrate a simple equation. The code is as follows ...
3
votes
1answer
73 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
82 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
2answers
207 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?
17
votes
1answer
325 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
188 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
135 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
310 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
160 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
157 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
59 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
903 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 ...
3
votes
1answer
189 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 ...
-1
votes
1answer
83 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
58 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
24 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
111 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
167 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
125 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 ...
7
votes
1answer
197 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 ...
1
vote
1answer
133 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
71 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
23 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
281 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
119 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
64 views

Integrate complains about incompatible quantities in integration limits

When I run the following code, Integrate throws ...
1
vote
1answer
76 views
1
vote
1answer
76 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
105 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
56 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
145 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
78 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] ...
5
votes
2answers
288 views

Module inside of Manipulate Example

Here is a very nice example from The Student's Introduction to MATHEMATICA. ...
5
votes
2answers
596 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
61 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 ...