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
1answer
66 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 = ...
1
vote
1answer
154 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
157 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
244 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
39 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 ...
3
votes
1answer
124 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
150 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
98 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
135 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, ...
21
votes
8answers
3k views

LaTeX/TeX Vs. Mathematica for Typesetting [closed]

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
vote
3answers
5k 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 ...
1
vote
1answer
35 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
158 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
73 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
75 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
155 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
139 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
71 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
174 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
508 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
75 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
231 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
79 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
57 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: ...
-1
votes
1answer
196 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
46 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
2answers
315 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
74 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
382 views

Newton backward interpolation in Mathematica

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
52 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
69 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
137 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
63 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
119 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 ...
3
votes
1answer
102 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
394 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: ...
0
votes
1answer
112 views

Trouble in proving that $\|x\|_p = \max|x_j|$

We define p-norm in this way: $\|x\|_p = \{\sum ^N_j=_1|x_j|^p\}^ {1\over p}$ We know that It change to $\|x\|_p = \max|x_j| $ when $ p \to \infty $ How can I prove this ?
1
vote
1answer
179 views

Difference between validity and satisfiability?

I am having problems understanding the difference between validity and satisfiability. Given the following: (i) For all F, F is satisfiable or ~F is satisfiable. (ii) For all F, F is valid or ~F is ...
0
votes
1answer
71 views

What is the meaning of log(0,1)[x] in Mathematica 9.0?

everyone.I want to know the meaning of "log(0,1)[2,x]" in the out[8].What's the difference between log[2,x] and log(0,1)[2,x] in Mathematica?
2
votes
2answers
213 views

Convergence of hypergeometric 2F1 with z=-1

Encountering the hypergeometric function $_2F_1(4n+3,\ m+1;\ m+3;\ -1)$ where $n\in\textbf{N}$ and $m\in\{2,4,6,\ldots,4n-2\}$ I'm a bit confused about its convergence. According to Erdélyi's ...
0
votes
1answer
78 views

Understanding the Wolfram Demonstration “Distance of a Point to a Polygon”

I've recently came across a neat Wolfram Demonstration script by Jaime Rangel-Mondragon that calculates the minimum distance from a point to an arbitrary convex or non-convex polygon: ...
1
vote
2answers
117 views

Bessel function to $\sin(kr)$

$J_{\frac{1}{2}}(kr)=\frac{\sqrt{\frac{2}{\pi }} \text{Sin}[\text{kr}]}{\sqrt{\text{kr}}})$ This can be easily obtained by Mathematica, How to do the details?
0
votes
2answers
81 views

simple question: the eigenvectors of a matrix.

\begin{align*}A=\left(\begin{array}{cccc} 1 & 2 & 3 & 4 \\ 0 & 1 & 2 & 3 \\ 0 & 0 & 1 & 2 \\ 0 & 0 & 0 & 1 \\\end{array}\right);\end{align*} The ...
2
votes
2answers
774 views

What does Mathematica do that Wolfram Alpha can't?

It isn't clear to me what Mathematica does that Wolfram Alpha can't do. (Obviously I have never used Mathematica.) Here (http://www.wolframalpha.com/faqs4.html) it says that Wolfram Alpha "has ...
0
votes
4answers
114 views

Statistics independence question

A newly-minted sixteen year old takes the written and road drivers's license test repeatedly until he passes them. It is given that the probability he passes the written test is 0.9, that he passes ...
2
votes
0answers
79 views

Solution of nonlinear waves( breathers)

The sine-Gordon equation is known as $$\frac{\partial^2 u}{\partial t^2} - \frac{\partial^2 u}{\partial x^2} + \sin u = 0,$$ Can you please derive the equation which is known as breather equation ...
6
votes
2answers
227 views

Finding the largest circle that contains a single point in a set (and no other point)

Given a bounded $A \times B$ rectangle with a set of chosen coordinates, generated for example with the command: ...
-1
votes
1answer
281 views

Finding out the nodes from spherical symmetric equation for mathematica and then plotting it in gnu-plot

What I want to do is to draw a curve for the spherical partial differential equation for S at rho=0: \begin{equation} \frac{\partial^2S}{\partial \rho^2}+\frac{d-1}{\rho}\,\frac{\partial S}{\partial ...
0
votes
1answer
174 views

Inverse Fourier transform to find out $\hat c_1$

If we have an integration which is need to solve inversely $$a_0 e^{-r^2/R^2} = \int_0^\infty \hat{c}_1(k) \frac{\sin(k r)}{r} dk,$$ If I transform the $\sin(kr)$, then we get imaginary part. Please ...
0
votes
1answer
113 views

How to plot (y vs x) a not invertible function say F(x,y)=const?

I am trying to plot (y vs x) for a not invertible function PolyLogarithm[1.5,y/x]=const. Any Ideas how to do this, say on Mathematica?