# Questions tagged [difference-equations]

Tag for the usage of RSolve, RecurrenceTable, DifferenceRoot, and other functions related to difference equations.

55 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
311 views

### How to solve this multivariate recurrence with Mathematica?

I would like to solve this recurrence relation: $a_{m,n}=a_{m-1,n}+a_{m,n-1}$ with $a_{0,0}=0, a_{m,0}=1, a_{0,n}=1$ for all $m\neq0$ and $n\neq0$ That's resembles the Tartaglia/Pascal's triangle, ...
159 views

### Generating Functions with multiple arguments

I want to solve the recurrence of Ackermann function using Generating Function in Mathematica. ...
72 views

### Compute the sum given a recursion for each summand

I have a system of two recursive equations with two unknowns A[n] and B[n] which apparently Mathematica can't solve RSolve not ...
29 views

### RSolve produces a solution which is not complete?

Consider the following solution of a recurrence relation in two variables RSolve[f[x + 1, y] == f[x, y + 1], f[x, y], {x, y}] {{f[x, y] -> C[x + y]}} It ...
164 views

### Coupled parabolic differential equations with time delay

Is it possible for NDSolve to solve delay partial differential equations with simple Neumann boundary conditions? An example I have is as below: ...
289 views

### Find RSolve solution reflecting special structure of DifferenceRoot[Function[{\[FormalY], \[FormalN]}

RSolve yields a large (multi-page) solution (LeafCount=25891) containing a number of 7F6 (and higher) hypergeometric functions when applied to ...
340 views

### Lyapunov Exponent as a function of parameter

I am working at Rossler system and I would like to ask you for some help. This system is described by equations: \begin{array}{ll} \dot{x} = -y - z \\ \dot{y} = x + 0.2y \\ \label{eq:UkladRosSP} \dot{...
106 views

### How to combine DifferenceRoot objects for odd and even-indexed terms

I'm trying to analyze a certain infinite sequence $S$, indexed by positive integers starting from $1$. It can be split into two subsequences: $S^{odd}$ by removing all even-indexed elements and ...
147 views

### A recurrence equation that can be solved in version 7 but not in version 8

Backslide introduced in 8.0, fixed at least in 9.0.1. A friend of mine showed me this code sample: ...
37 views

### RecurrenceTable doesn't evaluate with constant right-hand side

One of my functions automatically generates systems for RecurrenceTable. Usually works fine, but today I encountered a problem. If the right-hand side is a ...
140 views

### DSolve analytical solution of the system equation with two variable

I have a difficulty to solve this system equations: ...
434 views

### Quasinormal modes with Mathematica

I want to compute the quasi-normal modes for the Kerr-AdS black hole, so basically after decoupling the angular and the radial equation, I have troubles to compute the separation constant and also the ...
195 views

### RSolve and incomplete gamma function

I am interested in how Mathematica uses the incomplete gamma function to solve difference equations. For example, if we have this inhomogeneous, 2nd order equation and use ...
37 views

### Solving a difference equation involving summation expressions-Implicit output

I am trying to solve a difference equation involving summation expression with the following code: ...
38 views

### How to study convergence of recurrence relations?

Is there a way to test the convergence of a recurrence relation in Mathematica? For example does this relation converge: $$a_{n+1}=a_n \dfrac{n-\dfrac{1}{4}+c^2}{-5+5c^2}$$ for some values of the ...
38 views

### General question about RSolveValue and general programming

If I have the following code: ...
79 views

### Plot a stable 4-periodic orbit

I have a question guys In Mathematica how I can plot a stable 4-periodic orbit in the logistic map with giving the four x values for the orbit and find the a value for which it goes through a period ...
70 views

### Dirac Operator in de Sitter background

I am attempting to write the Dirac operator in a curved background, and eventually solve the equation as a second order PDE, since I am attempting to bring it into Klein-Gordon form. Essentially what ...
56 views

### plot discrete system by mathematica

if I have a discrete system x(n+1)= 0+y , y(n+1)= -0.5x +0 The fixed point (0,0) is center by Jacobian., I do not know how Plot this by using Mathematica code to get center. I am thankful if any one ...
36 views

### How to apply RecurrenceTable or Array in two dimensions

This question relates to 104959. How can I solve the following (akward) code by using RecurrenceTable or Array? ...
40 views

### RSolve not evaluating when given my system of recurrence equations

I am trying to solve the following system of recurrences with RSolve: ...
25 views

### Issue plotting a system of recurrence equations

Mathematica noob issues here. So I've got a system of recurrence equations, and following suggestions in other posts,(Plotting two recursive functions) I have the following: ...
57 views

### Problems with the parametric Recurrence Table

I am trying to construct a minimization program where I have to minimize a function with respect to a matrix. This matrix enters into the optimization program in a convoluted manner together with data....
126 views

### Solving a recurrence relation with variable coefficients

I am trying to solve this recurrence inequality for $a_n$, hopefully in terms of $a_0，a_1，c$ and $x$, $$(1-x)a_{n+1} \le xa_n + (1+x)a_{n-1} + c\quad\forall\ n\ge1$$ What I tried: RSolve. But ...
45 views

### Why does RSolve not give what I expect?

I have a model based on a digraph G. I construct a system of difference equations, modelFull, as seen below. ...
81 views

### Zeros of a rational fraction sequence

This is a follow-up of the question Finding a function/differential equation from a 2nd order recurrence relation, I asked yesterday. The reason why I didn't edit the original question was that in ...
47 views

### How to interpret RSolve solution with negative factorial?

I'm having trouble interpreting the following result of RSolve to this difference equation: ...
110 views

### Solving recurrence equation depending on a parameter

I have a recurrence relation which depends on a parameter $t$ and I am trying to solve it using RSolve. This is what I typed: ...
533 views

### How to derive finite-difference scheme automatically on a quite general stencil

Info This question is a generalization of the following one Derivation of numerical scheme for linear transport equation on a variable stencil. Statement of a problem Linear scalar hyperbolic (...
91 views

### RSolve with simple initial condition

Suppose we have the following equation: $$g_ma_m=r_ma_{m-1}$$ with initial condition $a_L=d$ and $L$ might be negative. The following command ...
45 views

...