{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe argue by [[induction from the base case $n = 1$|0GF6AJEBZ0]].\n\n1. Let $F_m$ be the [[Fibonacci numbers|0GA9K57A39]], with $F_0 = 0$, $F_1 = 1$ and $F_{m+2} = F_{m+1} + F_m$. For $n \\ge 1$, let $P(n)$ be the claim $F_{n-1} F_{n+1} - F_n^2 = (-1)^n$.\n2. Base case. $F_2 = F_1 + F_0 = 1$, so $F_0 F_2 - F_1^2 = 0 - 1 = -1 = (-1)^1$. Thus $P(1)$ holds.\n3. Induction step. Let $n \\ge 1$ and assume $P(n)$.\n4. By the recurrence, $F_{n+2} = F_{n+1} + F_n$. So $F_n F_{n+2} - F_{n+1}^2 = F_n F_{n+1} + F_n^2 - F_{n+1}^2$.\n5. Rearranging, this equals $F_n^2 - F_{n+1}(F_{n+1} - F_n)$.\n6. Since $n \\ge 1$, the recurrence gives $F_{n+1} = F_n + F_{n-1}$, so $F_{n+1} - F_n = F_{n-1}$.\n7. Hence $F_n F_{n+2} - F_{n+1}^2 = F_n^2 - F_{n-1} F_{n+1} = -(F_{n-1} F_{n+1} - F_n^2)$.\n8. By $P(n)$, this equals $-(-1)^n = (-1)^{n+1}$. This is $P(n + 1)$.\n9. By induction, $F_{n-1} F_{n+1} - F_n^2 = (-1)^n$ for every positive integer $n$.\n\n## Idea\n\nReplace $F_{n+2}$ by $F_{n+1} + F_n$ in the next instance of the identity. After one more use of the recurrence, the expression becomes the previous one with the opposite sign. So the sign alternates, starting from $-1$ at $n = 1$.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "11B39"
    ],
    "name": "Proof of Cassini's identity by induction",
    "proves": "01WQZK97Z5",
    "sources": [
      {
        "locator": "Proof 1",
        "url": "https://proofwiki.org/wiki/Cassini's_Identity"
      }
    ],
    "tag": "MHZXDEBH6F",
    "uses": [
      "0GA9K57A39",
      "0GF6AJEBZ0"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/MHZXDEBH6F/",
  "links": [
    {
      "field": "proves",
      "target": "01WQZK97Z5"
    },
    {
      "field": "uses",
      "target": "0GA9K57A39"
    },
    {
      "field": "uses",
      "target": "0GF6AJEBZ0"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/MHZXDEBH6F.md",
  "msc": [
    "11B39"
  ],
  "name": "Proof of Cassini's identity by induction",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/MHZ/MHZXDEBH6F.md",
  "status": null,
  "tag": "MHZXDEBH6F",
  "uri": "m2://MHZXDEBH6F",
  "url": "https://math2.tamnd.com/wiki/proof-of-cassinis-identity-by-induction/",
  "writing": {
    "tag": "MHZXDEBH6F",
    "kind": "proof",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
