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,56
B.32,58
C.30,58
D.32,56
Solution
Number of diagonals in n 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, formula for combination isncr=r!(n−r)!n!. After substituting the equation for total number of diagonals in n sided polygon is d=2n(n−3). One triangle is formed by a combination of three points from eight vertices. The equation for calculating the number of triangles is t=8c3.
Complete step-by-step answer:
Number of diagonals in n sided polygon = Total number of lines connected two points – Total number of sides of polygon
If we have n points so total number of lines is
⇒numberoflines=nc2
Formula for combination is,
⇒ncr=r!(n−r)!n!
Because we choose 2 from n points
Total number of sides of polygon is represented as n
Let the number of diagonals is represented as d
Formula for finding the number of diagonals in n sided polygon is
⇒d=2n(n−1)−n
Simplifying the above equation,
⇒d=2n(n−1)−2n⇒d=2n(n−1−2)⇒d=2n(n−3).....(1)
Here, number of sides of octagon is8
⇒n=8
Substituting the value of n in equation (1)
⇒d=28(8−3)⇒d=28×5⇒d=240⇒d=20
Number of diagonals of octagon is 20
Let v1,v2,.....,v8 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 t
⇒t=8c3
Solving it,
⇒t=3!(8−3)!8!⇒t=3!5!8!⇒t=3×28×7×6⇒t=8×7⇒t=56
Number of triangles of an octagon is 56
Therefore, the number of diagonals and triangles formed in an octagon are (A)20,56.
Note: Number of diagonals in n 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, formula for combination isncr=r!(n−r)!n!. After substituting the equation for total number of diagonals in n sided polygon is d=2n(n−3). One triangle is formed by a combination of three points from eight vertices. The equation for calculating the number of triangles ist=8c3.