randomTriangleAngles.triangle() 5 + random() * 2 randRange( 0, 1 ) === 1 ? true : false IS_B ? MAIN : randomTriangleAngles.triangle() IS_B ? MAIN_SIZE : 2 + random() * 2 IS_B ? "Yes" : "No" [ 0, 1, 2 ] A_ANGLES [ 0, 1, 2 ] A_SIDES function(){ var t = new Triangle( [ 3, -2 ], MAIN, MAIN_SIZE, {} ); t.labels = { "name": "A", "angles" : clearArray( t.niceAngles, A_ANGLES ), "sides" : clearArray( t.niceSideLengths, A_SIDES ) }; return t; }() function(){ var t = new Triangle( [ 7, -6 ], B, B_SIZE, {} ); t.labels = { "name": "B", "angles" : clearArray( t.niceAngles, B_ANGLES ), "sides" : clearArray( t.niceSideLengths, B_SIDES ) }; return t; }()

Triangles are congruent when all corresponding sides and interior angles are congruent.

However, we do not need to know all the values in order to determine whether two triangles are congruent.

The rules we use for determining congruency are SSS, ASA, SAS and AAS

Are these two triangles congruent?
TR_A.rotate( randRange( 0, 360 ) ); TR_B.rotate( randRange( 0, 360 ) ); var aBounding = TR_A.boundingRange(1); var bBounding = TR_B.boundingRange(1); var minX = Math.min(aBounding[0][0], bBounding[0][0]); var maxX = Math.max(aBounding[0][1], bBounding[0][1]); var minY = Math.min(aBounding[1][0], bBounding[1][0]); var maxY = Math.max(aBounding[1][1], bBounding[1][1]); init({ range: [ [minX, maxX ], [ minY, maxY ] ] }) TR_A.draw(); TR_A.drawLabels(); TR_B.draw(); TR_B.drawLabels();
ANSWER
[] [ 0, 1, 2 ]

In this problem we are given the sides of the triangles, so we can compare them easily.

Triangle B has 3 sides the same as triangle A, so they are congruent.

Because the sides do not match, triangle B is not congruent with triangle A.

[ 1 ] [ 0, 1 ]

In this problem we are given two sides and an angle between them, so we can use the SAS rule.

Triangle B has those two sides and the angle the same as triangle A, so they are congruent.

Because the sides and the angle do not match, triangle A is not congruent with triangle B.

[ 0, 1 ] [ 1 ]

In this problem we are given two angles and as side between them, so we can use the ASA rule.

Triangle B has those two angles and the side the same as triangle A, so they are congruent.

Because the angles and the side do not match, triangle A is not congruent with triangle B.

[ 0, 1 ] randRange( 0, 1 ) === 1 ? [ 2 ] : [ 1 ]

In this problem we are given two angles and another side so we can use the AAS rule.

Triangle B has those two angles and the side the same as triangle A, so they are congruent.

Because the angles and the side do not match, triangle A is not congruent with triangle B.

[ 0, 1, 2 ] [ ] IS_B ? "There is not enough information to say" : "No"

In this problem we know all three triangle angles.

However, having all three angles the same is not a property we can use to conclude that two triangles are congruent. We can only say that they are similar. They are not congruent because they might be different size, yet have same angles.

Because the angles do not match, triangle A is not congruent with triangle B.