One leg of a right angled triangle exceeds the other leg by 2 inches. The hypotenuse is 10 inches. The length of the shorter leg of the triangle is
Let the length of the legs of the triangle be x and (x+2) inches.
Applying Pythagoras theorem,
x2+(x+2)2=(10)2
x2+x2+4x+4=100
2x2+4x−96=0
x2+2x−48=0
x2+8x−6x−48=0
x (x+8)−6 (x+8)=0
(x+8) (x−6)=0
∴x=−8,6
Since length can't be negative, hence
x=6 inches