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

0
votes
0answers
11 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
29 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
92 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 ...
0
votes
0answers
16 views

Mathematica: Extract the piece that contains x=0 from within a piecewise function [migrated]

In mathematica, I have a piecewise function similar to: Piecewise[{ {x^2 + 2*x - 4, 0 <= x <= 1/4}, {0, true} }] I don't ...
1
vote
0answers
27 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
22 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
54 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
39 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
16 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 ...
0
votes
0answers
6 views

Subscripts and Simple Forumlas giving unexpected answer [migrated]

I trying to do a tensor problem but for simplification I'll only ask for assistance with one simple part. I set my variables using subscripts like so.. $Subscript[y, 1] = - .23556;$ But when I try ...
1
vote
1answer
55 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
30 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, ...
0
votes
0answers
27 views

Non-Homogeneous Heat Equation Programming Question

I was able to write down a scheme that uses backward difference in time and central difference in space for the heat equation $$\frac{d^2u}{dx^2}+\frac{Kr}{pC} = K\frac{du}{dt}$$ which resulted in $ ...
2
votes
1answer
60 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
21 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
59 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
69 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
74 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
47 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
59 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 ...
-1
votes
1answer
287 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
26 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)| ...
1
vote
2answers
43 views

Graphing a function f(x,y) on a restricted set of values for (x,y)

I'm having a hard time with this certain problem. Suppose that $S=\{(x,y): x^2 + y^2\leq 4\}$ and define $f:S\rightarrow\mathbb{R}$ as $f(x,y)=-x-2y-2y^2+cos(x\pi /4)$. How can we produce a (3d) ...
3
votes
1answer
59 views

Why these integrals are evaluated differently? $\cos(x)/(a-b\cos(x))$

In attempt to solve electrostatics problem I came up to this integral that I am trying to integrate: $$\int_0^{2\pi}\frac{\cos(x)}{a-b\cos(x)} \, dx$$ where $a>b$ and both are real numbers. For ...
0
votes
2answers
60 views

How plot $f(x,y) = \frac{x}{1-y}$ with $x^2+y^2<1$?

How do you plot $$f(x,y) = \frac{x}{1-y} \text{with}~ x^2+y^2<1$$ in Mathematica or Maple?
1
vote
1answer
50 views

Mismatching Results - Keno and Probability

In Keno, a player picks from 1 to 70 (at least in this version), 20 of these numbers are drawn, and the payouts are based on the number of matches. What I have tried to do is to check that the Swedish ...
1
vote
2answers
55 views

Newton's Method in Mathematica? [closed]

Which code should I use it for? FindRoot? or Plot? I am actually new to this program... and I would appreciate if you could tell how to mention the precision. Thanks! Solve the nonlinear ...
0
votes
2answers
35 views

Fraction Cross Multiply

Students first learning about fractions are often taught to "cross-multiply" when dealing with fraction with non-like denominators, however, in Mathematica, with the function ...
4
votes
0answers
97 views

How to integrate $\left(1+\ln(x)\right)\sqrt{1+(x\ln(x))^2}$ with Risch algorithm?

How would you integrate $\left(1 + \ln\left(x\right)\right)\, \sqrt{1 + \left(x\ln\left(x\right)\right)^{2}\,}$ using the Risch algorithm? I want to know this because Mathematica is using the Risch ...
2
votes
2answers
175 views

How to fit a sinusoidal function through 2 points with known slopes?

I can define my sinusoidal function as $y(x) = A\sin(B x+c) + D$ or as $y(x) = A \sin(B x) + C \cos(B x) + D$ Now, I have two points with known slopes that I must fit this sine wave to, thus my ...
1
vote
1answer
55 views

Mathematica question

let $S_p$ denote the sum of digits of $p$. A prime $p$ is said to be stubborn if none of $S_n+1$, $S_n$, $S_n-1$, $S_n-2$, or $S_n-3$ is a prime. Write a Mathematica program that finds the smallest ...
0
votes
2answers
98 views

Concerning the general solutions to linear ODEs Y'=AY when A has multiple eigenvalues

Given linear ODES Y'=AY, where Y is a column vector, A is a 6*6 square matrix. Clearly A has 6 eigenvalues, namely r1, r2, r3, r4, r5, r6. Herein we assume r5=r2, r6=r3.That is, r2 and r3 are two ...
0
votes
1answer
27 views

I need to use RSolve in mathematica to solve recurrence relations [closed]

I need to use the RSolve command in mathematica to solve recurrence relations and then find a9. I looked at documentations and try for about 2 hours no matter what my answer is not coming out right. ...
1
vote
0answers
41 views

Learning Resources: Mathematica Notebooks

A while ago, I stumbled upon someone's list of Mathematica notebooks for learning various topics. I've since lost the link, but I'm wondering now if I could find notebooks again. So my question is: ...
0
votes
1answer
64 views

How do you set the range for ListPlot (mathematica)

I have a large set (about 2050 values) of data that I would like to make a graph out of. The data is in two columns in Excel. I copied the first column and made the list x={0, 3.6, 7.1, 10.7...} and ...
0
votes
1answer
32 views

Why the lower limit of this integral is 1?

I solve this differential equation using Mathematica. But I don't understand the solution. Why the lower limit of this integral is 1? I run: $$\text{DSolve}\left[y'(x)+y(x)=Q(x),y(x),x\right]$$ the ...
0
votes
1answer
102 views

Graeffe's root finding method

What are the practical applications of Graeffe's root finding method?I searched a lot but couldn't find.I found that it is used in aerodynamics and electric circuit analysis.But don't know much about ...
4
votes
1answer
60 views

Notation for derivatives at a certain point

Is the notation for values of a derivative at some point that I used in this question commonly accepted and understandable? Is there a more preferred one? For those who familiar with Mathematica ...
1
vote
1answer
217 views

Wolfram Mathematica - Newton Backward Interpolation?

I have the following task: Create a function (in Wolfram Mathematica), called $\mathrm{NewtonBackward}$[n_,x0_,h_,f_] which interpolates backwards the function $f(x)$ with nodes {x_i = x_0 + ...
0
votes
1answer
48 views

Problem with a loop in Mathematica

I am trying to create a loop in Mathamtica, where i get all $i$'s (with a certain bound, of course) for which the following expression holds: $7^{41\ast i}\equiv 3^{41}\, mod\, p$, where $p$ is just ...
1
vote
0answers
63 views

Functions generating prime numbers in math packages

Does anyone have an idea on how prime number generating functions such as Prime[n] in Mathematica generate the $n^{th}$ prime number?
1
vote
1answer
48 views

Can we effectively solve a system of polynomial equations (numerically).

It is known, and simple, that roots of a one polynomial in one variable $f(x)$ can be found numerically. If we restrict to the reals, one can readily give an explicit bound for any zero of $f$ in ...
1
vote
0answers
47 views

Vector calculus: Finding a model fit from a 2D grid

First of all, I am a biologist. My knowledge of math is very limited. Therefore, I come here for help, but please take into consideration that I may not be very good at asking the question in a good ...
0
votes
1answer
75 views

Write a Mathematica program to find the four known factorions

so i have come up with code that will find the four factorion numbers. I have a bunch of ideas of how it needs to be done theoretically but its still not quite clicking for me not too mention i am new ...
0
votes
0answers
20 views

Is it possible to find an exact expression for system for recursion of non linear equations?

I have a system of N non-linear equations of N unknowns $\phi_i, i \in 1,2,... N$. By specifying the middle two unknowns as $\phi_{N/2} = 0, \phi_{N/2+1} = X$, I get that: \begin{align*} ...
0
votes
0answers
35 views

Malliavin Derivative with Mathematica is it possible?

Note: This question was originally posted on mathematica.SE. Please check there before answering to ensure that it has not already been satisfactorily answered. Is it possible to define a ...
3
votes
1answer
70 views

solving the $ \varepsilon_{ijk}\varepsilon_{lmn}$(Levi Civita)

How can I solve this : $ \varepsilon_{ijk}\varepsilon_{lmn}=??$ I know that It can be solve with 2 determinants but I don't know how.and I don't what are the determinants!
0
votes
1answer
81 views

Solve 4 A (L^(3/4)) - wL (((24 - L) w)^(-3/4)) = -(((24 - L) w)^(1/4)) for L? Using Mathematica

I'm trying to solve $$4 A (L^{3/4}) - wL (((24 - L) w)^{-3/4}) = -(((24 - L) w)^{1/4})$$ for $L$ using Mathematica, and it spits the following out: ...