Mathematica seems to be missing a function for this, or I can't find it anyway.

The `Series`

function can do expansion in succession for multiple variables, but it doesn't seem capable of doing a full multivariate expansion.

Does anyone know how to do this?

Thanks

This question is not clear to me. Do you mean something like this, where you get terms up to some specified total degree?

```
f[x_, y_] := Sin[x*y^2] + x^4*y - 3*x*Cos[y] - x^2*y^3
Normal[Series[f[x*t, y*t], {t, 0, 5}]] /. t -> 1
(*
-> -3*x + x^4*y + (5*x*y^2)/2 - x^2*y^3 - (x*y^4)/8
*)
```

Daniel Lichtblau

Similar Questions

I am new to Mathematica and am trying to understand patterns and rules. So I tried the following: A = {1, 2, 3, 4} A //. {x_?EvenQ -> x/2, x_?OddQ -> 3 x + 1} This is based on: http://en.wikip

Let's say we have the following multivariate time series A=zoo(data.frame(x=100:101,y=200:201,z=300:301),1:2) Everything is fine with colnames(A) here. The function gives [1] x y z Now select

I am looking to make a nice demo of the problem I mentioned in Integration in Mathematica but it is very slow yet and the Manipulate is not smooth at all. Considering the below, is there means by whic

I just spent a couple of hours trying to convert some old code that uses Mathematica 7's GraphPlot to use the new Mathematica 8 Graph functions. It seemed sensible since the new graph drawing is much

I'm currently reading the Mathematica Guidebooks for Programming and I was trying to work out one of the very first program of the book. Basically, when I run the following program: Plot3D[{Re[Exp[1/(

How can I calculate the multivariate normal density function in C++ (for an arbitrary dimension) in a numerically stable way, and ideally with minimum number of dependencies? To be precise I am after

How can I repeat a shell command using brace expansion (or another simple method), adjusting certain parameters for each iteration of the command? Here's a simple example of what I'd like to do (but w

This is the code I have so far, which is a little messy since I am still trying to figure out how to set it up, but I cannot figure out how to get the output. This code is supposed to take a Taylor Se

I have used mathematica mostly as a mathematics workbench and for writing relatively small ad-hoc programs. I am however designing a system which I intend to program in Mathematica. I need to store da

I've just read in PostgreSQL manual that it provide full-text search functions including parsing, indexing and searching on documents text. My question is: it is possible to obtain a query expansion m

I'm trying to figure out how to use Mathematica to solve systems of equations where some of the variables and coefficients are vectors. A simple example would be something like where I know A, V, and

If I have some multivariate irregular time series, such as zoo or xts objects with: > clicks user item 2003-01-02 a i 2003-01-03 a i 2003-01-08 b i 2003-01-09 a j 2003-01-09 c j 2003-01-10 b j >

Could anyone point out why this is not working in Mathematica 8: DynamicModule[{x = Pink}, Row[ {Style[Hello, x], Mouseover[ x = Green; World, x = Blue; World]}]] What I expect is to see the co

I want to write in Maple Taylor series for cosinus function. Here's my code: better_cos := proc (x) options operator, arrow; sum((-1)^n*x^(2*n)/factorial(2*n), n = 0 .. 20) end proc; better_cos(0) re

I am using concept of Android Expansion which helps us to remove obstacle of 50mb limitation of Apk. Following all the steps http://developer.android.com/guide/market/expansion-files.html I understo

I create developing app in android which have about 500 mb video i use for uploading apk expansion files method i upload expansion and download it but now i cant play videos from it http://blogmobile.

I am working on APK Expansion files, i have looked into these links: 1) Steps to create APK expansion file 2)http://ankitthakkar90.blogspot.in/2013/01/apk-expansion-files-in-android-with.html i have i

I have a ListDensityPlot of a temperature in a can in Mathematica. I am animating its development over time, but the ColorFunction always sets the highest temperature of the current step to correspond

Consider the following: for i in 1 2 3; do echo $(( j += 1 ))& done According to (my reading of) the sh language spec, section 2.3 paragraph 5, the arithmetic expansion of j += 1 should take plac

I'm probably being a little dense but I'm not very mathsy and can't seem to understand the covariance element of creating multivariate data. I'm after two columns of random data (representing two corr

I am new with Mathematica and I have one more task to figure out, but I can't find the answer. I have two lists of numbers (b,u): b = {8.734059001373602`, 8.330508824111284`, 5.620669156438947`, 1

I am trying to plot a few points on the following picture in Mathematica: ParametricPlot3D[ {{u, v, (Cos[u] + Cos[v])/3}, {u, -1, (Cos[u] + Cos[0])/3}, {5, v, (Cos[4] + Cos[v])/3}}, {u, -4, 4}, {v, 0,

It is helpful to use physical constants included in mathematica. Unfortunately they all include units. This provides errors when trying to integrate numerically. Is there a way just to get the value o

Is it possible in python/scipy/numpy to zero the intercept of a multivariate regression? I couldn't find it in the OLS recipe (http://www.scipy.org/Cookbook/OLS). I'd prefer not to have to use RPytho

I am looking for a good way to manipulate multivariate polynomials in Matlab. The purpose of this question is very global. Currently, I am manipulating some matrices of polynomials in MATLAB (with cur

I am trying to find out what keyboard functionalities Mathematica has. Would appreciate anyone to give some help. Specifically, I want to: 1) How to implement something like press any key to continue

I want a rule to match everything but blanks: [^ \t\n\r\f\v] {} But I want to use an expansion for that: BLANK [ \t\n\r\f\v] %% [^{BLANK}] {} But the expansion fails. I could do [^[:space:]], but I

This is part one of my attempt to find an answer to my question wireframes in Mathematica. Given a set of line segments how does one join two segments that are connected AND lie on the same line. For

I have created this using the mathematica bezier curves. I just want to know how could I fill these fonts with colour using some mathematica routines. Thanks

How do I escape a wildcard expansion in a variable name? CP=lib/* COMMAND=java $VARIABLES -cp $CP SomeClass echo $COMMAND Echoing the command always causes wildcard expansion.

How would I implement expansion packs on the market? Like if I wanted users to be able to purchase more images, how would I do that and also have the main app recognize and load those images? Are ther

I was trying to program the algorithm for the cdf for the multivariate t-distribution following Genz and Bretz, The reference package in R is mvtnorm. When I was testing my function, I found that my n

How can I plot multivariate polynomial such as f(x,y) = 2 + x + x*y^2 + 3*x^3*y^2 in R ? For univariate polynomial, polynom package does it, but I haven't found multivariate counterpart.

I can sample from a normal distribution using Boost in c++. I have now a simple question: How can i sample from a multivariate normal distribution (n>2) using Boost functions (normal distribution,

I am writing my end term report on Mathematica. Can anyone explain or point me to a website/article on Related Work to Mathematica? I am asking in this forum because i can find that information nowh

I want to rank a set of variables every day (starting with a zoo series). Here's an example: set.seed(1) x <- zoo(matrix(rnorm(9), nrow=3), as.Date(2010-01-01) + 0:2) colnames(x) <- letters[1

> eq1 := taylor(exp((1/2)*lambda*gamma*B), lambda = 0, 3); print(`output redirected...`); # input placeholder 1 1 2 2 2 / 3\ 1 + - gamma B lambda + - gamma B lambda + O\lambda / 2 8 > eq2 := tay

Are there any library or function that performs a bash-like glob expansion for emacs lisp? For example: (directory-files-glob ~/Desktop/*) > (/home/user/Desktop/file1 /home/user/Desktop/file2

I find the Wolfram Workbench a nice environment for Mathematica development. However, as I program in Mathematica, I need to navigate the Help System very often. The Workbench provides a tooltip tool

I am trying to solve a differential equation in Mathematica, and I don't really understand it very well. I will show the equation, my attempt and the error message below: equation: dp(t)/dt=rb(1-p(t)

Mathematica notebooks are, of course, plaintext files -- it seems reasonable to expect that they should play nice with a version-control system (git in my case, although I doubt the specific system ma

I have to implement this algorithm in Mathematica: My problem is that I don't really understand the Mathematica syntax because there aren't a lot of useful examples out there. What I have done: (* In

Consider Expression Below: Where Gamma and k given (user input).depending on Gamma value,number of Multiple series may change.any ideas how can I put this on mathematica?I Can't Use Nested Loop

I figured since my app is 114 megs I should use an expansion apk. If I throw all these vids into the raw folder of my project it reaches that size. With an expansion APK could I get it to download all

I'm wondering what's the best option to store (and process) a multivariate (in particular matrixvalued) time-series in R. I have a large data frame which stores all the data as well as the time variab

How do you put additional information into a Mathematica package file, like parameter specification doctests/example usage? Up to now, I only found the ::usage string and some information on how to

I have to port a lot of files from Mathematica to Octave. I found a Lisp Mathematica parser from ~1991 but I am not really familiar with Lisp, so I was wondering if anyone has any experience with port

I am new to Mathematica, and using a Module to perform a procedure, then return a value. However, Mathematica seems to be evaluating and returning symbolic values instead of the numerical value I want

I have bumped into this problem several times on the type of input data declarations mathematica understands for functions. It Seems Mathematica understands the following types declarations: _Integer,

A lot univariate decision tree learner implementations (C4.5 etc) do exist, but does actually someone know multivariate decision tree learner algorithms?