Let us plot the graph of this to get a clearer insight.
From the diagram shown above, we have to find the lengths AC, AB, and BC using the distance between two points.
Distance between two points is given by the formula:
![D\text{ = }√((x_2-x_1)^2+(y_2-y_1)^2)](https://img.qammunity.org/2023/formulas/mathematics/college/hxg8iakd6lhu526mksgzwj932xlnvoihjq.png)
Based on the above formula:
![|AC|\text{ = }\sqrt{(2-2)^2+(1-4_{})^2}=√(9)=3](https://img.qammunity.org/2023/formulas/mathematics/college/jo7l5nziugyck6celq4cr3gxkiqah4rbdt.png)
![|AB|\text{ = }√((2-7)^2+(1-1)^2)=√(25)=\text{ 5}](https://img.qammunity.org/2023/formulas/mathematics/college/mq58s7azcwoziy6b8o8dfoij1gf6imfor5.png)
![|BC|\text{ = }√((7-2)^2+(4-1)^2)=√(25+9)=√(34)](https://img.qammunity.org/2023/formulas/mathematics/college/sr258kz8qy1dox2v8spgnu29sas3v3sjsn.png)
For the set of coordinates to form a right angled triangle, the pythagora's theorem must be obeyed, that is:
![|BC|^2=|AB|^2+|AC|^2](https://img.qammunity.org/2023/formulas/mathematics/college/at1rehvzf5bluktobh6w5kuabnbtg11vet.png)
![√(34^2)=5^2+3^2](https://img.qammunity.org/2023/formulas/mathematics/college/8g6r1837sccnc7d5cmj2p2is2kyso3fne1.png)
![34=25+9](https://img.qammunity.org/2023/formulas/mathematics/college/ouyszze1o0hxalm9h4alhjwuxefhkw05g9.png)
![34=34](https://img.qammunity.org/2023/formulas/mathematics/college/96wl1bfv7aoaee4xc74ea6fo43a5iwu0et.png)
Since the Right Hand Side equals the Left Hand Side, Pythagoras theorem is obeyed, and the set of coordinates form a right angled triangle.