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

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


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

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

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

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

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

Combine like terms: -2f + -2f = -4f
fn = -4f + 2fn + fn

Combine like terms: 2fn + fn = 3fn
fn = -4f + 3fn

Solving
fn = -4f + 3fn

Solving for variable 'f'.

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

Add '4f' to each side of the equation.
4f + fn = -4f + 4f + 3fn

Combine like terms: -4f + 4f = 0
4f + fn = 0 + 3fn
4f + fn = 3fn

Add '-3fn' to each side of the equation.
4f + fn + -3fn = 3fn + -3fn

Combine like terms: fn + -3fn = -2fn
4f + -2fn = 3fn + -3fn

Combine like terms: 3fn + -3fn = 0
4f + -2fn = 0

Factor out the Greatest Common Factor (GCF), '2f'.
2f(2 + -1n) = 0

Ignore the factor 2.

Subproblem 1

Set the factor 'f' equal to zero and attempt to solve: Simplifying f = 0 Solving f = 0 Move all terms containing f to the left, all other terms to the right. Simplifying f = 0

Subproblem 2

Set the factor '(2 + -1n)' equal to zero and attempt to solve: Simplifying 2 + -1n = 0 Solving 2 + -1n = 0 Move all terms containing f to the left, all other terms to the right. Add '-2' to each side of the equation. 2 + -2 + -1n = 0 + -2 Combine like terms: 2 + -2 = 0 0 + -1n = 0 + -2 -1n = 0 + -2 Combine like terms: 0 + -2 = -2 -1n = -2 Add 'n' to each side of the equation. -1n + n = -2 + n Combine like terms: -1n + n = 0 0 = -2 + n Simplifying 0 = -2 + n The solution to this equation could not be determined. This subproblem is being ignored because a solution could not be determined.

Solution

f = {0}

See similar equations:

| 25=12+b | | 3+3*6-2= | | -7nx-7n= | | -7+k=-21 | | 3(-3)+15=4(-3)+12 | | 3h-4= | | 2x^2+4x+104=0 | | senx=4 | | 12-p=11 | | 15.9-8v=3.1 | | -4+2n=0 | | 3*(3+10)= | | 19r=-95 | | 4x^2+9t+5=0 | | 2(4x+5)=39 | | -3.7-9.4= | | 4(x-1)+2x=14 | | 5(x+2)-1=39 | | 6x+8=-24 | | 2=-18+x | | 4(x-2)-2=-30 | | -4(2t+9)=-44 | | 4(x-2)-2=30 | | c+5+c+5= | | 2(f-3)=-6 | | -2(2x+6)=-8 | | 5.5(p)-6.8=15.2 | | 3+5(x+1)=37 | | 11x-5=10x+6 | | 10(s-8)=-138 | | s^2+2+10=0 | | -29=5(u-5)-7 |

Equations solver categories