{
  "aliases": [
    "necessary-condition",
    "sufficient-condition"
  ],
  "backlinks": null,
  "body": "\n## Summary\n\nWhen the [[implication|0ZNX6DQ3EJ]] $p \\to q$ is true, $p$ is a sufficient condition for $q$, and $q$ is a necessary condition for $p$.\nA condition $p$ is necessary and sufficient for $q$ when $p \\to q$ and $q \\to p$ are both true, that is, when $p \\leftrightarrow q$ is true.\n\n## Remarks\n\n\"$p$ only if $q$\" means $p \\to q$, and \"$p$ if $q$\" means $q \\to p$.\n\"Necessary and sufficient\" is another way to say \"if and only if\". See [[biconditional|0V6GAWTBYW]].\nFor an integer $n$, \"$n$ is divisible by $4$\" is sufficient but not necessary for \"$n$ is even\".\n\n## Explanations\n\n### L1 human\n\nA sufficient condition is enough to get the result.\nA necessary condition is one that you cannot do without.\nTo have a driving licence is necessary to drive legally, but it is not sufficient: you also need a car.\n",
  "commit": "545acf83a9b75c8ddc375ef8b23d2ae101a4d7e4",
  "front": {
    "aliases": [
      "necessary-condition",
      "sufficient-condition"
    ],
    "kind": "concept",
    "msc": [
      "03B05"
    ],
    "name": "Necessary and sufficient conditions",
    "same_as": {
      "wikidata": "Q875267",
      "wikipedia": "Necessity and sufficiency"
    },
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Necessity_and_sufficiency"
      }
    ],
    "tag": "09BJQQB3VS",
    "uses": [
      "0ZNX6DQ3EJ",
      "0V6GAWTBYW"
    ]
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/09BJQQB3VS/",
  "links": [
    {
      "field": "uses",
      "target": "0ZNX6DQ3EJ"
    },
    {
      "field": "uses",
      "target": "0V6GAWTBYW"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/09BJQQB3VS.md",
  "msc": [
    "03B05"
  ],
  "name": "Necessary and sufficient conditions",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/09B/09BJQQB3VS.md",
  "status": null,
  "tag": "09BJQQB3VS",
  "uri": "m2://09BJQQB3VS",
  "url": "https://math2.tamnd.com/wiki/necessary-and-sufficient-conditions/",
  "writing": {
    "tag": "09BJQQB3VS",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
