Solveeit Logo

Question

Question: The number of diagonals and triangles formed in an octagon are A.\(20,56\) B.\(32,58\) C.\(30,...

The number of diagonals and triangles formed in an octagon are
A.20,5620,56
B.32,5832,58
C.30,5830,58
D.32,5632,56

Explanation

Solution

Number of diagonals in nn sided polygon = Total number of lines connected two points – Total number of sides of polygon. Equation to calculate number of lines connected two points is nc2{}^{n}{{c}_{2}}, formula for combination isncr=n!r!(nr)!{}^{n}{{c}_{r}}=\dfrac{n!}{r!\left( n-r \right)!}. After substituting the equation for total number of diagonals in nn sided polygon is d=n(n3)2d=\dfrac{n\left( n-3 \right)}{2}. One triangle is formed by a combination of three points from eight vertices. The equation for calculating the number of triangles is t=8c3t={}^{8}{{c}_{3}}.

Complete step-by-step answer:
Number of diagonals in nn sided polygon = Total number of lines connected two points – Total number of sides of polygon
If we have nn points so total number of lines is
numberoflines=nc2\Rightarrow number\, of\, lines\,={}^{n}{{c}_{2}}
Formula for combination is,
ncr=n!r!(nr)!\Rightarrow {}^{n}{{c}_{r}}=\dfrac{n!}{r!\left( n-r \right)!}
Because we choose 22 from nn points
Total number of sides of polygon is represented as nn
Let the number of diagonals is represented as dd
Formula for finding the number of diagonals in nn sided polygon is
d=n(n1)2n\Rightarrow d=\dfrac{n\left( n-1 \right)}{2}-n
Simplifying the above equation,
d=n(n1)2n2 d=n(n12)2 d=n(n3)2.....(1) \begin{aligned} & \Rightarrow d=\dfrac{n\left( n-1 \right)-2n}{2} \\\ & \Rightarrow d=\dfrac{n\left( n-1-2 \right)}{2} \\\ & \Rightarrow d=\dfrac{n\left( n-3 \right)}{2}.....(1) \\\ \end{aligned}
Here, number of sides of octagon is88
n=8\Rightarrow n=8
Substituting the value of nn in equation (1)
d=8(83)2 d=8×52 d=402 d=20 \begin{aligned} & \Rightarrow d=\dfrac{8\left( 8-3 \right)}{2} \\\ & \Rightarrow d=\dfrac{8\times 5}{2} \\\ & \Rightarrow d=\dfrac{40}{2} \\\ & \Rightarrow d=20 \\\ \end{aligned}
Number of diagonals of octagon is 20
Let v1,v2,.....,v8{{v}_{1}},{{v}_{2}},.....,{{v}_{8}} be the vertices of the octagon. One triangle is formed by three points from these 8 vertices. Therefore, the number of triangles is equal to the number of combinations of three points formed from eight points.
Number of triangles is represented as tt
t=8c3\Rightarrow t={}^{8}{{c}_{3}}
Solving it,
t=8!3!(83)! t=8!3!5! t=8×7×63×2 t=8×7 t=56 \begin{aligned} & \Rightarrow t=\dfrac{8!}{3!\left( 8-3 \right)!} \\\ & \Rightarrow t=\dfrac{8!}{3!5!} \\\ & \Rightarrow t=\dfrac{8\times 7\times 6}{3\times 2} \\\ & \Rightarrow t=8\times 7 \\\ & \Rightarrow t=56 \\\ \end{aligned}
Number of triangles of an octagon is 5656
Therefore, the number of diagonals and triangles formed in an octagon are (A)20,5620,56.

Note: Number of diagonals in nn sided polygon = Total number of lines connected two points – Total number of sides of polygon. Equation to calculate number of lines connected two points is nc2{}^{n}{{c}_{2}}, formula for combination isncr=n!r!(nr)!{}^{n}{{c}_{r}}=\dfrac{n!}{r!\left( n-r \right)!}. After substituting the equation for total number of diagonals in nn sided polygon is d=n(n3)2d=\dfrac{n\left( n-3 \right)}{2}. One triangle is formed by a combination of three points from eight vertices. The equation for calculating the number of triangles ist=8c3t={}^{8}{{c}_{3}}.