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

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


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

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

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

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

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

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

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

Solving
fn = -5f + 3fn

Solving for variable 'f'.

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

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

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

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

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

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

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

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 '(5 + -2n)' equal to zero and attempt to solve: Simplifying 5 + -2n = 0 Solving 5 + -2n = 0 Move all terms containing f to the left, all other terms to the right. Add '-5' to each side of the equation. 5 + -5 + -2n = 0 + -5 Combine like terms: 5 + -5 = 0 0 + -2n = 0 + -5 -2n = 0 + -5 Combine like terms: 0 + -5 = -5 -2n = -5 Add '2n' to each side of the equation. -2n + 2n = -5 + 2n Combine like terms: -2n + 2n = 0 0 = -5 + 2n Simplifying 0 = -5 + 2n 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:

| Sen^2-2senx-3=0 | | 2(x-5)=3x+2 | | 2x+35=3x+2x-7 | | 7(9-5)= | | 2(2z-3)-2(2-2z)=4 | | 3-tanx=0 | | 7(x-2)=3x-26 | | 2x+24=6+8 | | 7(x-2)=3x+26 | | 7x-2=3x-26 | | x+5=9whatisx | | 6x^2+16x+8=1 | | 16(a-2)+3(1-a)= | | 16+3(14+y)-11=90 | | (7x-4)+(6x-4)+(5x+8)=360 | | 63(-1/9) | | -1/9(-9x) | | x(x+3)-x(x-4)=9x-16 | | 2x+5x=6 | | 18x-(17x-9)=-140 | | 3x+x-1=50 | | h(a)=12/a | | 1/3x1= | | j(7)=2*7+9 | | P=80-4/5x | | (3x+2)(5x+7)-6x-4=0 | | Ln(a)+5=15 | | 4-7x-5x+6= | | 7X^2+(-12X^2)= | | -2+2a+7=8 | | 6.1h=9.4-3.2h | | 6.1h=9.3-2.3h |

Equations solver categories