y(n)+y(n-1)=x(n-1)+x(n-2)

Simple and best practice solution for y(n)+y(n-1)=x(n-1)+x(n-2) equation. Check how easy it is, and learn it for the future. Our solution is simple, and easy to understand, so don`t hesitate to use it as a solution of your homework.

If it's not what You are looking for type in the equation solver your own equation and let us solve it.

Solution for y(n)+y(n-1)=x(n-1)+x(n-2) equation:


Simplifying
y(n) + y(n + -1) = x(n + -1) + x(n + -2)

Multiply y * n
ny + y(n + -1) = x(n + -1) + x(n + -2)

Reorder the terms:
ny + y(-1 + n) = x(n + -1) + x(n + -2)
ny + (-1 * y + n * y) = x(n + -1) + x(n + -2)

Reorder the terms:
ny + (ny + -1y) = x(n + -1) + x(n + -2)
ny + (ny + -1y) = x(n + -1) + x(n + -2)

Combine like terms: ny + ny = 2ny
2ny + -1y = x(n + -1) + x(n + -2)

Reorder the terms:
2ny + -1y = x(-1 + n) + x(n + -2)
2ny + -1y = (-1 * x + n * x) + x(n + -2)

Reorder the terms:
2ny + -1y = (nx + -1x) + x(n + -2)
2ny + -1y = (nx + -1x) + x(n + -2)

Reorder the terms:
2ny + -1y = nx + -1x + x(-2 + n)
2ny + -1y = nx + -1x + (-2 * x + n * x)

Reorder the terms:
2ny + -1y = nx + -1x + (nx + -2x)
2ny + -1y = nx + -1x + (nx + -2x)

Reorder the terms:
2ny + -1y = nx + nx + -1x + -2x

Combine like terms: nx + nx = 2nx
2ny + -1y = 2nx + -1x + -2x

Combine like terms: -1x + -2x = -3x
2ny + -1y = 2nx + -3x

Solving
2ny + -1y = 2nx + -3x

Solving for variable 'n'.

Move all terms containing n to the left, all other terms to the right.

Add '-2nx' to each side of the equation.
2ny + -2nx + -1y = 2nx + -2nx + -3x

Reorder the terms:
-2nx + 2ny + -1y = 2nx + -2nx + -3x

Combine like terms: 2nx + -2nx = 0
-2nx + 2ny + -1y = 0 + -3x
-2nx + 2ny + -1y = -3x

Add 'y' to each side of the equation.
-2nx + 2ny + -1y + y = -3x + y

Combine like terms: -1y + y = 0
-2nx + 2ny + 0 = -3x + y
-2nx + 2ny = -3x + y

Reorder the terms:
-2nx + 2ny + 3x + -1y = -3x + 3x + y + -1y

Combine like terms: -3x + 3x = 0
-2nx + 2ny + 3x + -1y = 0 + y + -1y
-2nx + 2ny + 3x + -1y = y + -1y

Combine like terms: y + -1y = 0
-2nx + 2ny + 3x + -1y = 0

The solution to this equation could not be determined.

See similar equations:

| 3x^2+4y^2-6x+16y+7=0 | | 100/4200 | | 5y-24=9 | | -4x+y^2=25 | | W^7+w^5= | | (x+120)(x+80)-16500=0 | | 9+a=-3 | | (5x-2)(x+3)(x+6)(x-1)= | | 4x+10=9x+35 | | 1/3h=6 | | 1/3h=7 | | 4p-16=-16+5p | | 5=-0.5(2x-4)-2x | | 5c^2+13c=28 | | -17=0.5c+4 | | x+2/5=2 | | 2m-12=-6+8m | | -x+2(5)=13 | | (3x-2)(x+2)(x+3)(x-2)= | | 1/5x-2=-6 | | 5=0.5(2x-4)-2x | | a^2=44 | | x^4-90x^2-4x+2000=0 | | 4=×/12 | | 5a-3b=c | | -46=26+x | | 2(2x+1)(x-1)=0 | | 0.18y+0.02(y+6000)=920 | | 1/3x3^-2 | | x+30+110=180 | | 5=5w | | 8x-5(-7)=11 |

Equations solver categories