{ "query": { "display": "20 nCr 2", "symbolab_question": "#20 nCr 2" }, "solution": { "level": "PERFORMED", "subject": "Statistics", "topic": "nCr", "subTopic": "Other", "default": "190" }, "steps": { "type": "interim", "title": "$$20\\:nCr\\:2:{\\quad}190$$", "steps": [ { "type": "definition", "title": "n choose r", "text": "Gives the number of subsets of r elements, out of n elements<br/>$$nCr=\\frac{n!}{r!\\left(n-r\\right)!}$$" }, { "type": "step", "result": "=\\frac{n!}{r!\\left(n-r\\right)!}" }, { "type": "step", "primary": "Plug in $$n=20,\\:r=2$$", "result": "=\\frac{20!}{2!\\left(20-2\\right)!}" }, { "type": "interim", "title": "$$\\frac{20!}{2!\\left(20-2\\right)!}=190$$", "input": "\\frac{20!}{2!\\left(20-2\\right)!}", "result": "=190", "steps": [ { "type": "step", "primary": "Subtract the numbers: $$20-2=18$$", "result": "=\\frac{20!}{2!\\cdot\\:18!}" }, { "type": "step", "primary": "Cancel the factorials: $$\\frac{n!}{\\left(n-m\\right)!}=n\\cdot\\left(n-1\\right)\\cdots\\left(n-m+1\\right),\\:n>m$$", "secondary": [ "$$\\frac{20!}{18!}=20\\cdot\\:19$$" ], "result": "=\\frac{20\\cdot\\:19}{2!}" }, { "type": "step", "primary": "Refine", "result": "=\\frac{380}{2!}" }, { "type": "interim", "title": "$$2!=2$$", "input": "2!", "steps": [ { "type": "step", "primary": "Apply factorial rule: $$n!=1\\cdot2\\cdot3\\cdot\\ldots\\cdot\\:n$$", "secondary": [ "$$2!=1\\cdot\\:2$$" ], "result": "=1\\cdot\\:2" }, { "type": "step", "primary": "Multiply the numbers: $$1\\cdot\\:2=2$$", "result": "=2" } ], "meta": { "solvingClass": "Solver" } }, { "type": "step", "result": "=\\frac{380}{2}" }, { "type": "step", "primary": "Divide the numbers: $$\\frac{380}{2}=190$$", "result": "=190" } ], "meta": { "solvingClass": "Solver" } } ] } }