For questions concerning the popular computational software program published by Wolfram Research. (Note: you are more likely to get quicker and more accurate response if you ask the question on their user forum or on the Mathematica StackExchange site.)

learn more… | top users | synonyms

1
vote
1answer
81 views

Plotting large equation in mathematica

I have this rather large equation which needs to be solved with respect to I1 so that I can plot it against X: -1 - (0.742611 I1 (1/(-(-14 + 16/I2)^2 + (1 - 15/I1 + 16/I2)^2) - ( 30 (1 - 15/I1 + ...
1
vote
1answer
168 views

Master degree require Matlab? [closed]

I'm devon. I'm in second year math integrated computer concentrate in statistic. I love math and I'm very interested in finance. So I'm planning to get the master degree in Financial Mathematic. What ...
2
votes
2answers
62 views

applying plus to sublevels of sparsearray in Wolfram Mathematica converts it to a normal list. How to avoid it?

I have a sparse array of tuples of positive real numbers (in fact a probability distribution) say ...
0
votes
1answer
254 views

Fourier Transform for a Convolution

Alright, so I am using the Convolution property of Fourier Transforms to find a function $f(x)$. So the obvious equation: $h(x) = f(x) \ast g(x)$. Definitions: $$g(x)=Rect\left[\frac x w ...
3
votes
1answer
287 views

Switching from Mathematica to MATLAB: As a text editor?

I have been using Mathematica for almost a year, and the most indispensable feature in Mathematica to me has been the ability to write really nice documents and print them into PDF or TEX files. In ...
3
votes
0answers
42 views

How to visualize a function to aid in optimization?

I am working on minimization of a function with more than two parameters. I want to see variations, local extremes, saddle points, etc. of this function to get some idea of how is this function in ...
0
votes
1answer
48 views

Graphing a function

A function is defined in a article equation 37, $$A(t)= 0.456+\frac{2.58}{(1+0.136 t)^{0.249}}$$ The simulation of the equation is: But I have tried like by this: ...
0
votes
0answers
106 views

Plotting graph For Z versus $\rho$ by applying numerical method and explanation of nodes

I want to draw a simulation for a graph by Mathematica but confused that where I have got struck, The equation I need to plot is, $$\frac{d^2Z}{d \rho^2}+ \frac{D-1}{\rho} \frac{dZ}{d \rho}-Z + 3S^2 ...
4
votes
2answers
287 views

Plotting graphs using numerical/mathematica method

From the author's equation 13, 14 We can write by inserting V''(A)=0, Solving for R we get, $$R= \frac{6^{D/4} \sqrt{D}}{\sqrt{-2^{1+\frac{D}{2}} 3^{D/2}+3 2^{1+D} A-3^{1+\frac{D}{2}} A^2}}$$ Now ...
1
vote
2answers
407 views

What is the area of the shaded region of the square?

To find area of shaded portion in the below figure, the picture generate by following mathematica code. ...
20
votes
1answer
328 views

The positive root of the transcendental equation $\ln x-\sqrt{x-1}+1=0$

I numerically solved the transcendental equation $$\ln x-\sqrt{x-1}+1=0$$ and obtained an approximate value of its positive real root $$x \approx 14.498719188878466465738532142574796767250306535...$$ ...
0
votes
1answer
68 views

Postfix notation in MAPLE

I usually use MATHEMATICA as a computer algebra system and there I heavily employ the postfix notation (achieved by "//" at the end of some command), e.g. ...
0
votes
2answers
96 views

Series expansion with remaining $log n$

I'm studying the asymptotic behavior $(n \rightarrow \infty)$ of the following formula, where $k$ is a given constant. $$ \frac{1}{n^{k(k+1)/(2n)}(2kn−k(1+k) \ln n)^2}$$ I'm trying to do a series ...
0
votes
1answer
534 views

Mathematica vs Wolfram Alpha integration results

When I insert the following integration command in wolframalpha: ...
0
votes
2answers
113 views

WolframAlpha functionality: Computing nested integrals

Can wolframpalpha support the numerical calculation of the following type: $$ \int_{x=0}^\infty f(x) e^{\int_{z=0}^\infty g(x,z)dz} dx $$ Note that the inside integral is in such form where ...
1
vote
0answers
39 views

What are the available libraries or programs for finding extremes of a function with no symbolic definition?

In my current mathematical inquiry, I would like to gain insight on behaviour of a $d$-dimensional continuous function by locating its maximum over the hyperplane $\sum_{i=1}^d x_i = 1$ for $x_i$ ...
1
vote
1answer
84 views

Help calculating variance of a random variable

This is related to this question Average end point of 1-dimensional random walk? Given several discrete random variables such that $p(Z_i=1-2k)=p$, where $k$ is a small real number, and ...
0
votes
1answer
45 views

Is there a closed-form expression that allows me to triangulate a point in 2D?

Please consider the case where I have three points on a 2D plane - $(p_1, p_2, p_3)$ - and a third point, $p_0$, at some unknown position $(x_0,y_0)$. However, I know that $p_0$ is a distance $d_1$ ...
0
votes
1answer
82 views

Is it possible to guess n-th term of given number sequence?

Consider if we have number sequence e.g. $\left\{ 1, 6, 62, 344, ... \right\}$ I'd like to ask if is it possible to compute or estimate form of $n$-th element of this series. Is it possible with ...
6
votes
3answers
426 views

Sum up numbers from 1 to 100000 after removing zeroes

Ok so i have numbers from 1 to 100000.I need to remove the zeroes from all numbers and sum up numbers from 1 to 100000.So if the number is 405 consider it as 45 , if number if 20039 consider it 239. ...
0
votes
0answers
46 views

Symbolic computations in field extensions with Mathematica

In Mathematica I would like to make symbolic computations in field extensions. For example, if $a$ is a root of $x^3+3x-1$, I would like to get $$ a^4 = a-3a^2 $$ if I asked the machine to compute ...
0
votes
1answer
278 views

Finding roots of $e^x\sin^2(x)-\cos(x)=0$ using Mathematica

$$e^x\sin^2(x)-\cos(x)=0$$ I'm trying to find 5 roots of this equation but mathematica keeps giving me back an error saying $\sin^2$ is not a well-formed equation. Thanks, Joe
6
votes
3answers
502 views

Finding good approximation for $x^{1/2.4}$

I would like to a good (8 bits accuracy) approximation for $x^{1/2.4}$ in the range $[0, 1]$. This transform is used for converting linear intensities to SRGB compressed values, so it's important that ...
0
votes
1answer
56 views

Simplifying equation from an aggregate one

I have got the 4th order coefficient of $\epsilon$ from the equation (9) from the paper. I got : $$\phi_4+ \ddot \phi_4+\omega_2 \ddot \phi_2 - \Delta \phi_2+g_2 \phi_2^2+2 \phi_1 \phi_3+ 3g_3 ...
1
vote
1answer
98 views

Mathematica and Vector Representation of Planes

If the vectors $\vec{u}$ and $\vec{v}$ emanate from a point $A$, then its equation is $\hspace{2in}$$x = A + su + tv$, where $s, t \in \mathbb{R}$. I'm wondering how I can display these planes in ...
0
votes
2answers
120 views

Mathematica returns wrong limit

I just started limits as part of my calculus class, and I have a simple limit to evaluate, $\mathop{\lim}\limits_{x \to 1}~f(x)$ . I found the limit to be 2 using the $f(x)=\mathop{\lim}\limits_{h \to ...
0
votes
1answer
321 views

Computation of the minimal polynomial of a matrix in Mathematica

On the wolfram website, the following program is given for computing the minimal polynomial of a square matrix $a$ in the variable $x$: MatrixMinimalPolynomial[a_List?MatrixQ,x_]:=Module[ { ...
1
vote
2answers
42 views

Solving for x. Do I require iterations?

I have the following expression (used in a computer program): $$f(x)=b^{{k}^{ax}}$$ where $k$ is a constant and $a$ and $b$ are given. I need to calculate the distance from this curve to a point $P: ...
1
vote
3answers
190 views

Plot of x^(1/3) has range of 0-inf in Mathematica and R

Just doing a quick plot of the cuberoot of x, but both Mathematica 9 and R 2.15.32 are not plotting it in the negative space. However they both plot x cubed just fine: ...
0
votes
1answer
749 views

WolframAlfa/Mathematica how to find function local maximum on interval

I have a polynomial function and i want to find it's minimum and maximum on a the interval [0, 5] with Wolfram Alphaa but i forgot the proper input. I recall it went something like so: $x^4 + x^3 + ...
-1
votes
1answer
2k views

Matrix equation solver (Mathematica) [closed]

I have matrix $$A = \left( \begin{array}{ccc} -1 & 1 & 1 \\ 2 & 3 & -1 \\ -2 & 3 & 3 \end{array} \right)$$ and matrix $$B = \left( \begin{array}{ccc} -1 & 2 & -1 \\ ...
1
vote
1answer
112 views

Matrix solving problem

Hi there math experts. I have the following matrix: $$ \begin{equation} \begin{pmatrix} -1x & 0y & 0 & 0 & 0.004 & 0\\ -1x & -1y & 0 & 0 & 0.001 & 0 ...
0
votes
1answer
137 views

Relative error plot in mathematica

I was plotting the relative error of the $e^{11/12 -n}n^{n+1/2}$ approximation to the factorial as $n$ gets larger and larger and at after some very large value of $n$ mathematica gives this plot: ...
2
votes
1answer
458 views

Automatic calculation of the intersection of discrete curves

first of all, let me apologize for a poor math-english translation, I'll try my very best. I have the following situation: I have over 16.000 data files which I generated from a biometric ...
1
vote
0answers
302 views

$\int^{\infty}_{0}x^{r +s- 1}(1 + x)^{-s}(1 + x^2)^{-\frac{rm}{2}}dx$

I'm trying to solve the integral $\int^{\infty}_{0}x^{r +s- 1}(1 + x)^{-s}(1 + x^2)^{-\frac{rm}{2}}dx$, where $s$, $r$ and $m$>1 are positive integers. My question is whether a closed form ...
1
vote
2answers
123 views

Unexpected results when integrating definite integral with variable bounds

When I plug something like this into Mathematica: $$\int_0^{x^2-1} k y \, dy$$ I get exactly what I would expect: $$\frac{k}2 (x^2-1)^2 $$ However, when I change my bounds ever so slightly, from ...
1
vote
1answer
132 views

Solve autonomous ODE with Mathematica

I'm given a problem with the ODE y'[x]=y[x]*Sqrt[4-2y[x]] I've tried DSolve[{w'[x] == w[x]*Sqrt[4 - 2*w[x]]}, w[x], x] which gives me {{w[x] -> -2 (-1 + Tanh[1/2 (-2 x - Sqrt[2] C[1])]^2)}} but ...
0
votes
0answers
183 views

A (contour?) integration (even if by using Mathematica!)

I need to be able to calculate integrals of this type where the sum over $R$ is the sum over representations of a Lie group $G$ on whom $dU$ is the Haar measure and $\chi _ R ()$ is the character of ...
-2
votes
5answers
520 views

Cryptography in Maple and Mathematica

Is Maple or Mathematica preffered over the other for Cryptography/Number Theory? What are the advantages for each in terms of this area of mathematics? Also could someone compare and contrast ...
2
votes
3answers
54 views

A way to identify a unique number '$a_1$' has performed operations on '$x$'

The problem I have is bit vague, so I will try to explain as best as I can. Suppose we have a base number '$x$' and a set of unique number $'a_1', 'a_2', 'a_3', 'a_4'$ and so on Now $a_1$ perform ...
1
vote
1answer
805 views

Existence of non-trivial solution of Sylvester equation.

I'm trying to solve a special case of Sylvester equation in my case it looks like $$A*X=X*B$$ so it can be written in form $$A*X+X*(-B)=C$$ where C consist of all 0 items. I tried to solve it in ...
6
votes
3answers
252 views

Computer Algebra Systems which implement Cylindrical Algebraic Decomposition

My understanding is that Mathematica's Reduce function is based on Cylindrical Algebraic Decomposition (CAD). The only other system I've seen which implements CAD ...
3
votes
1answer
580 views

Solution to a second order semilinear elliptic PDE

I am trying to find a solution (if one exists) to this PDE where (r,z) are cylindrical coordinates. $$u_{rr}+u_{zz}+u_{r}/r-u/r^2 = u^2u_{r}/r+u(u_{r})^2+u(u_z)^2$$ u is a dimensionless function ...
0
votes
1answer
141 views

Using a Bivariate Gaussian Distribution to Predict Range of Movement

I am currently attempting to use a bivariate normal distribution to identify the most likely range of movement for a blob in computer vision. This itself is not the problem, however; I do not ...
2
votes
2answers
360 views

Visualization of Cantor set by Mathematica or Maple!

We all know what it is the Cantor set. The Cantor set is created by repeatedly deleting the open middle thirds of a set of line segments. One starts by deleting the open middle third $(\frac{1}{3}, ...
2
votes
1answer
258 views

Closed form with of a series Mathematica

I've these two series, and I would like a closed form: $$ \sum_{k=-\infty}^{\infty} \frac{x+kx_0-h}{|x+kx_0|^3}$$ $$ 3\sum_{k=-\infty}^{\infty} \frac{(x+kx_0-h)(x+kx_0)^2}{|x+kx_0|^5} $$ ...
3
votes
0answers
137 views

Perturbation problem

This is a mathematica exercise that I have to do, where $y(x) = x - \epsilon \sin(2y)$ and it wants me to express the solution $y$ of the equation as a power series in $ \epsilon$.
0
votes
1answer
137 views

Euler's Numerical method help

Consider this differential equation, $dy/dx = x + \sin(y)$ with initial condition $y = 0.5$ when $x = 1.2$: Write down the recurrence relation for Euler's numerical method ...
0
votes
0answers
139 views

How can I show that a given system of differential equations is stiff?

I was writing a program to solve a system of equations with Runge-Kutta method, but it doesn't work well and I decided to check what Mathematica can say about it. It turns out that I have a stiff ...
1
vote
0answers
225 views

(Improved; Kindly assist )CSI Forensic Maths

In a square room with 7 m-long sides, five people have shot at random people. They all had two bullets and killed two people in the crowd. Other people in the room were not hurt. CCTV recordings show ...