Solve Recursion Equation: (n-1)*a[n+1] - n*a[n] + 10*n = 0

  • Thread starter Thread starter galois427
  • Start date Start date
  • Tags Tags
    Recursion
galois427
Messages
16
Reaction score
0
how do you solve the recursion equation (n-1)*a[n+1] - n*a[n] + 10*n = 0?
 
Physics news on Phys.org
You seem to have missed the initial conditions.
Apply any good looking transform ... say something like one sided z-transform

-- AI
 


To solve this recursion equation, we need to first understand what it is asking for. A recursion equation is an equation that defines a sequence of values based on previous values in the sequence. In this case, the equation defines the values of a sequence a[n], where n represents the position in the sequence.

To solve this equation, we will use a technique called "unfolding." This involves expanding out the equation by substituting in the previous values of a[n] until we reach a known value. Let's start by expanding out the first few terms:

a[0] = (0-1)*a[1] - 0*a[0] + 10*0
a[1] = (1-1)*a[2] - 1*a[1] + 10*1
a[2] = (2-1)*a[3] - 2*a[2] + 10*2

We can continue this process until we reach a known value, such as a[0] or a[1]. For simplicity, let's start by solving for a[0]:

a[0] = (0-1)*a[1] - 0*a[0] + 10*0
a[0] = -a[1] + 0
a[0] = -a[1]

Now, let's substitute this value into the next equation:

a[1] = (1-1)*a[2] - 1*a[1] + 10*1
a[1] = 0*a[2] - a[1] + 10
a[1] = -a[1] + 10
2a[1] = 10
a[1] = 5

We can continue this process to solve for the rest of the values in the sequence. By substituting in the known values, we can eventually solve for a[n] in terms of n. In this case, we can see that a[n] = 10/n. Therefore, the solution to the recursion equation is a[n] = 10/n.

In summary, to solve a recursion equation, we use the technique of unfolding to expand out the equation and substitute in known values until we reach a solution for a[n] in terms of n.
 
Thread 'Determine whether ##125## is a unit in ##\mathbb{Z_471}##'
This is the question, I understand the concept, in ##\mathbb{Z_n}## an element is a is a unit if and only if gcd( a,n) =1. My understanding of backwards substitution, ... i have using Euclidean algorithm, ##471 = 3⋅121 + 108## ##121 = 1⋅108 + 13## ##108 =8⋅13+4## ##13=3⋅4+1## ##4=4⋅1+0## using back-substitution, ##1=13-3⋅4## ##=(121-1⋅108)-3(108-8⋅13)## ... ##= 121-(471-3⋅121)-3⋅471+9⋅121+24⋅121-24(471-3⋅121## ##=121-471+3⋅121-3⋅471+9⋅121+24⋅121-24⋅471+72⋅121##...
##\textbf{Exercise 10}:## I came across the following solution online: Questions: 1. When the author states in "that ring (not sure if he is referring to ##R## or ##R/\mathfrak{p}##, but I am guessing the later) ##x_n x_{n+1}=0## for all odd $n$ and ##x_{n+1}## is invertible, so that ##x_n=0##" 2. How does ##x_nx_{n+1}=0## implies that ##x_{n+1}## is invertible and ##x_n=0##. I mean if the quotient ring ##R/\mathfrak{p}## is an integral domain, and ##x_{n+1}## is invertible then...
The following are taken from the two sources, 1) from this online page and the book An Introduction to Module Theory by: Ibrahim Assem, Flavio U. Coelho. In the Abelian Categories chapter in the module theory text on page 157, right after presenting IV.2.21 Definition, the authors states "Image and coimage may or may not exist, but if they do, then they are unique up to isomorphism (because so are kernels and cokernels). Also in the reference url page above, the authors present two...
Back
Top