f(n)=2*(n-1)+f(n-2)

Simple and best practice solution for f(n)=2*(n-1)+f(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 f(n)=2*(n-1)+f(n-2) equation:


Simplifying
f(n) = 2(n + -1) + f(n + -2)

Multiply f * n
fn = 2(n + -1) + f(n + -2)

Reorder the terms:
fn = 2(-1 + n) + f(n + -2)
fn = (-1 * 2 + n * 2) + f(n + -2)
fn = (-2 + 2n) + f(n + -2)

Reorder the terms:
fn = -2 + 2n + f(-2 + n)
fn = -2 + 2n + (-2 * f + n * f)
fn = -2 + 2n + (-2f + fn)

Reorder the terms:
fn = -2 + -2f + fn + 2n

Add '-1fn' to each side of the equation.
fn + -1fn = -2 + -2f + fn + -1fn + 2n

Combine like terms: fn + -1fn = 0
0 = -2 + -2f + fn + -1fn + 2n

Combine like terms: fn + -1fn = 0
0 = -2 + -2f + 0 + 2n
0 = -2 + -2f + 2n

Solving
0 = -2 + -2f + 2n

Solving for variable 'f'.

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

Add '2f' to each side of the equation.
0 + 2f = -2 + -2f + 2f + 2n
Remove the zero:
2f = -2 + -2f + 2f + 2n

Combine like terms: -2f + 2f = 0
2f = -2 + 0 + 2n
2f = -2 + 2n

Divide each side by '2'.
f = -1 + n

Simplifying
f = -1 + n

See similar equations:

| 12+8-9=2x+2x-12-1 | | n=.1+5.46-97.16-198.6 | | 4c^2-20c-144= | | 48+2w=60+1w | | 5+4(x-1)=4x-1 | | 2b+3=17 | | 3/4=8/9x | | 0.7x-2=0.2x+3 | | 3x-8y=19 | | 10m+72=102 | | -5=-8x-5 | | 65+x=100 | | -1=8x+15 | | 3/2*200=X | | 5-2[4-(4y-3)]= | | -5=-2x-17 | | v+45=32 | | -4(2T-5)+2T=7T-9 | | f(n)=2x(n-1)+f(n-2) | | 2x^2*2x^2=4x^2 | | z+35=60 | | 4=-6x+16 | | m^5+9=6 | | 3x+2i=2i-1 | | 3=8x-13 | | 6(d+5)+2d= | | w^2=218 | | 8/6x=2 | | X^2y^4-x^6=0 | | m+7.28=13.28 | | Log(x-15)=2 | | d^3=14 |

Equations solver categories