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
votes
1answer
23 views

poisitive definite matrix imply matrix of full rank? [on hold]

Is a positive definite matrix always of full rank? while is given that the characteristic roots are pisitive
0
votes
0answers
20 views

How do I Convert A Binomial Distribution to a Smooth Histogram in a Manipulate? [closed]

isManipulate[BarChart[Table[PDF[BinomialDistribution[n, p], i], {i, 0, 20}],PlotRange -> {{-.5, 21.5}, {-.1, 1}},Epilog -> {PointSize[0.03], RGBColor[1, 0, 0], Point[{n*p + 1, 0}]}, ImageSize -> {450, ...
1
vote
1answer
21 views

Conversion of Hypergeometric functions from Maple to Mathematica

After a calculation I found in Maple an expression of the kind: $$f(x)=hypergeom\left(\left[\dfrac{a}{b},1\right],\left[c,d\right],h\right)$$ What is the equivalent notation in Mathematica which I ...
0
votes
0answers
31 views

Solving partial differential equation with mathematica.

I am trying to solve the heat equation in cylindrical coordinate. The object of inspection is a thick ring with height $\{z_0,z_L\}$ and radii $\{r_1,r_2\}$ within a heat generating environment. I ...
0
votes
0answers
33 views

complex ordinary differential equation of a real variable

reading a paper i have found the following differential equation: f''[z] - (q^2)*f[z] == i*DiracDelta[z] here f[z] is a complex function of the real variable z ...
0
votes
0answers
25 views

How to interpolate and obtain this graph?

I was interpolating with software mathematica v9, but how can I obtain a curve similar to this?, in a easy way
2
votes
4answers
72 views

indefinite integral computation $dx/(e^{-x}-x)$

Hi i'm trying to carry out the following indefinite integral: $$\int \frac{1}{e^{-q} - q} \, dq$$ mathematica is not helping me, and i think it is not solvable by substitution method. any idea on ...
0
votes
0answers
24 views

Splitting a list into two lists, depending on a condition.

So I have this list of n real numbers called A, which is sorted least to greatest. Let B be a list of n real numbers with NormalDistribution[]. IF A+B = Sort[A+B], then we keep it, and if A+B != ...
0
votes
0answers
57 views

Mathematica Integrate gives back the integrand

i'm trying to Integrate the following function: (q (1 + q) - E^-q Sinh[q])/(-q + Cosh[q] Sinh[q]) - ( 2 q Tanh[q])/(-q + Cosh[q] Sinh[q]) I already solved ...
1
vote
1answer
24 views

Reduced Residue System in Mathematica

How can I create the standard reduced residue system modulo $m$ in Mathematica for a given positive integer $m$? For example, if I input $10$, I would like it to give me the list $\{1,3,7,9\}$. ...
2
votes
1answer
41 views

Fourier series of oscillation in form $\cos(2 \pi \frac{k}{T}+\phi)$

I would like to calculate the fourier coefficients of $\cos(2 \pi \frac{k}{T}+\phi)$ where $T \in \mathbb{N}$ is the period and is arbitrary but fixed, $k \in [1, N-1]$ is the number of oscillations ...
2
votes
0answers
32 views

Using Mathematica to find a Derivative [migrated]

I am given a system first order differential equations: $x'=y$ and $y'=6x^2-a/2$, where $a$ is a constant and $'$ denotes $t$-derivatives. I then make the substitution $(x,y)=(x_1y_1,y_1)$. This ...
1
vote
0answers
34 views

Use Mathematica to teach calculus [migrated]

I am interested in coming up with a few lectures from first-semester calculus that I can incorporate Mathematica into in a natural way. I have already written some code for a lecture on the ...
3
votes
7answers
172 views

Best Math Plotting Software for Electrical Engineering

I am an electrical engineering undergrad. I would like to learn a math plotting software which would be helpful in visualizing topics in advanced calculus (my immediate need). It would also be helpful ...
1
vote
0answers
17 views

Can nodes of Gaussian quadrature shift range?

I used my Python program to generate Gaussian's nodes and their weights. My python program could generate nodes as default in rage of (-1, 1). And my friend used Mathematica to generate them also but ...
0
votes
1answer
17 views

Filling between two curves in Mathematica [closed]

I want to fill region between 2 curves, but in mathematica 8.0 FilledListPlot[list1, list2, Fills -> {RGBColor[f, f, f]}] doesn't work. can someone help me? Thx
6
votes
1answer
149 views

Odd Mathematica series result

I asked Mathematica to evaluate $$\sum_{i=1}^{\infty} \cos(i a)\cos(i b)$$ where $a$ and $b$ are unspecified real numbers, and it told me the answer was simply $-\frac{1}{2}$. This is clearly wrong, ...
2
votes
0answers
17 views

Algorithm for FindSequenceFunction

What algorithm might Mathematica be using to compute FindSequenceFunction? Does anybody know if there is any online material on this topic?
3
votes
5answers
147 views

A limit question (JEE $2014$)

The following is a JEE (A national level entrance test) question: Find the largest value of the non-negative integer ( a ) for which: $$ \displaystyle \lim_{x \to 1} \left( \dfrac{-ax + \sin(x-1) + ...
0
votes
0answers
32 views

list of all irreducible polynomials of degree at most n over the field Z/PZ.

I am trying to write a mathematica coding to give me the list of all irreducible polynomials of degree at most n over the field Z/PZ. I started by defining univariate polynomials of the form p = a_0 + ...
1
vote
0answers
20 views

Two factor ANOVA discrepancy with Mathematica

I have a set of two factor data I am doing ANOVA analysis on, both with Mathematica's package and manually (because learning!) Using one set of example data (found here 1) both my manual calculation ...
0
votes
2answers
182 views

Is this computation erroneous?

The solution to $\lim_{n\to\infty}\frac{n^{100}}{2^{n/100}}$ should be $\infty$ because $n^{100}$ grows much faster than $2^{n/100}$ But if you input ...
4
votes
1answer
56 views

Finding the period of the solution to $y'(x) = y(x) \cdot cos(x + y(x))$ with Fourier transform; how to interpret complex result?

A question elsewhere on this site asks about detecting the frequency of oscillations in a system defined by differential equations. The equation is $y'(x) = y(x) \cdot cos(x + y(x))$. The solution ...
1
vote
0answers
32 views

How to evaluate Bessel functions $K_{i x+\frac{9}{4}}(2\pi)+K_{i x-\frac{9}{4}}(2\pi)$ with $x>1.5*10^8$ in Mathematica 7?

I am trying to evaluate Bessel functions $K_{i x+\frac{9}{4}}(2\pi)+K_{i x-\frac{9}{4}}(2\pi)$ with $x>1.5*10^8$ in Mathematica 7. This function is the first Polya approximation to Riemann ...
0
votes
1answer
61 views

Partition a set into n subsets with elements with sum equal to m

For example, given the set $a_n = \frac{n}{20}$ for $\,n \in \{1,\,2,\,\dots,\,19\}$, I would like to get all possible partitions of this set in 4 subsets such that the sum of their elements is always ...
1
vote
0answers
37 views

Plotting in Mathematica

I'm new to mathematica. How would I plot the following functions in the polar complex plane? $$ \phi={-k\over 2\pi r}\cos(\theta_0-\theta) $$ and $$ \psi={-k\over 2\pi r}\sin(\theta_0-\theta) $$ ...
0
votes
0answers
44 views

In Maple or Mathematica, syntax : Finding the fundamental sol. of the Heat eq., with Dirac-Delta initial condition

I use this question as a case example for later solving more complex equations of this type : When trying to find the fundamental solution of the Heat equation using Maple (software) , I get the ...
1
vote
0answers
72 views

What is the Fourier series of $e^{\mu\cos\theta}$?

Motivation: I want to solve this convolution problem on the circle: find $f$, given $g$ and $$ g(\theta) = \int_{S^1} e^{\mu\cos(\theta-\phi)}g(\phi)\ d\phi. $$ To do this, I want to find the Fourier ...
0
votes
3answers
65 views

Plotting a region in $3D$ space

I would like to know if someone knows of a software where I can plot the following region $$ D = \{ (x,y,z) \in \mathbb{R}^3: 0 \leq x \leq 1 , \; x^2 \leq y \leq x, \; \; 0 \leq z \leq x \} $$ ...
1
vote
0answers
27 views

Roots and Weights

I use a Mathematica package to compute roots and weights (and other things) but the package gives me only the expression of the roots in $\omega$-basis (basis of fundamental weights) and in the ...
2
votes
1answer
38 views

How does the base of a group determine the “sort” of the elements in the group

I'm trying to study groups in Mathematica, and I've asked a question on Mathematica.SE that perhaps only someone from Math.SE could answer. Related: How does ...
5
votes
3answers
112 views

Find min of $\frac{\left( \sum kx_k \right) \left( \sum x^2_k \right)}{\left( \sum x_k \right)^3}$

With $n \ge 2$ and $x_1,\ x_2,\ \dots,\ x_n > 0$. Find the minimum of: $$ M = \frac{(x_1 + 2 x_2 + ...+ nx_n)( x^2_1 + x^2_2 +...+x^2_n)} {\left( x_1 + x_2 +...+ x_n \right)^3}$$ For specific ...
1
vote
0answers
58 views

Which symbolic programming language for manipulation of nonlinear equations?

I have a set of (multivariate, nonlinear) equations which I want wo modify according to my own rules, i.e. not in a standard ways such as matlab's simplify function. I am looking for a mathematical ...
1
vote
1answer
27 views

Mathematica DSolve input

I'm trying to solve this differetial eqation. dy/dx=3y^(2/3). This is my input: DSolve[{y'[x] = 3 y[x]^(2/3), y[2] = 0}, y[x], x] This is my output: DSolve::deqn: "Equation or list of equations ...
0
votes
2answers
58 views

Difficulty finding Expectation of a special function

I have a special function given as: $${\rm f}\left(r\right) ={1 \over \beta\lambda}\,2^{r/\beta} \exp\left({\left[2^{r/\beta} - 1\right]K \over \lambda}\right)$$ I should find the Expectation of ...
0
votes
1answer
44 views

Mathematica Homework Question

I had a mathematica assignment the other day that was fairly simple. I thought I did it correctly, but I guess not. Question: Write a single Mathematica Command which will display (plot) both $y = ...
0
votes
0answers
15 views

Mathematica question about value of a function

I wrote this on Mathematica. *f[x_] := Prime[x + 1] - 1 g[x_] := (6 - (f[x]*f[x]) - f[x])/(2*log[f[x]]) + 2* ExpIntegralEi[2*log[f[x]]] + LogIntegral[f[x]] - (2*x*x) - (2*x) N[g[1200]]* I pressed ...
0
votes
0answers
25 views

Condition number of covariance matrix

I am interested in generating a covariance matrix of dimension say 100. I managed to get a correlation matrix with finite condition number. To construct a covariance matrix I need to have standard ...
1
vote
1answer
88 views

Good software package to help Maths learning

I'm a mature student enrolling at a Maths degree course soon at the university. I'd like to be able to use some software package to help me visualize equations, graphs, play around with variables with ...
0
votes
1answer
50 views

How to Expand $f(x) = \sqrt{x^2-y^2}$ about $x=y$

How would one go about expanding $f(x) = \sqrt{x^2-y^2}$ about $x=y$? You can't do a Taylor series, because $f'(x=y)$ diverges. I tried a few other things, but to no avail. Interestingly enough, ...
2
votes
1answer
89 views

Can wolfram alpha compute symbolic vector derivatives

Can Wolfram alpha be used to find out say $$\nabla_x\left(\|y-Ax\|_2\right)$$ What command do I use? I tried some obvious ways, and googled a bit, but didn't find anything.
0
votes
1answer
28 views

fourier transforms with Woflram Alpha

I'm studying Fourier transform at the moment and I've noticed some weird irregularities between my textbook and Wolfram Alpha's answers. Say I ask Wolfram the following: fourier transform ...
-1
votes
3answers
77 views

How to solve that kind of equation using Wolfram Mathematica? [closed]

I need to find all variables $$A, B, C, D$$ for given equation with independent variable $$s$$ How can Mathematica solve that? Example, not working: UPDATE: One Two Three Four ...
3
votes
1answer
96 views

Fourier series for $e^x$

I'm trying to teach myself partial differential equations from Strauss' book. I have run into a very bizarre problem - I cannot figure out what is the Fourier series of $e^x$! And not even Google has ...
0
votes
1answer
84 views

Solving an ODE with Mathematica, using Lagrangian mechanics

Question: The velocity of light above a hot surface decreases with the height from that surface. The velocity is given by $v=v_0(\frac{1-y}{\alpha})$ where $y$ is the vertical distance above the ...
0
votes
1answer
69 views

Using Mathematica to know the number primes that are contained in a given interval

So I want to know basically how to determine how many prime numbers (integers that can only be divided by 1 and themselves) are contained in a given interval. Thank you.
0
votes
1answer
82 views

Solving a nonlinear system of differential equations in MATLAB or Mathematica

Is it possible to solve the system $$\dot{W}=A\left(k-\frac{M}{W}\right)$$ $$\dot{M}=B\left(k-\frac{M}{W}\right)$$ with initial conditions $$W(0)=w_0$$ $$M(0)=m_0$$ in MATLAB or Mathematica? If so, ...
20
votes
7answers
2k views

LaTeX/TeX Vs. Mathematica for Typesetting

I know Mathematica like the back of my hand, but I do not know a speck of $\LaTeX$ or $\TeX$. With regards to mathematical typesetting, is there something significant I can do in $\LaTeX$/$\TeX$ that ...
0
votes
2answers
1k views

How to plot a phase portrait for this system of differential equations?

I beg your help.. I'd like the phase portrait for this system. I don't know how to use Mathematica/Matlab ... :( If anyone can make this portrait and post a print screen here, I would thank you ...
0
votes
1answer
27 views

inequality, complex number [closed]

let $b>0$, $y:[0,b]\rightarrow\mathbb{C}$ and $y(0)=0$, where $\mathbb{C}$ denotes the space of complex numbers. Is the following inequality true or not? $$|y(x)|\le \max_{\tau\in[0,b]} |y'(\tau)| ...