To find \( x \) using the Pythagorean theorem in the isosceles triangle \( \triangle ABC \), where \( AB = BC = 12 \) and \( AH = CH = x \), we can follow these steps:
- Recognize that since the triangle is isosceles, the altitude \( BH \) bisects \( AC \).
- Label the lengths: Let the length of \( AC \) be denoted as \( 2x \) since \( AH = CH = x \).
- The triangle \( ABH \) forms a right triangle with \( AB = 12 \) (the hypotenuse), \( AH = x \) (one leg), and \( BH \) (the altitude) as the other leg.
Now, apply the Pythagorean theorem:
\[ AB^2 = AH^2 + BH^2 \]
Here, \( AB = 12 \), \( AH = x \), and \( BH = 12 - x \) because \( AB = AH + BH \).
So we set up the equation:
\[ 12^2 = x^2 + (12 - x)^2 \]
Now, solving:
-
Calculate \( 12^2 = 144 \).
-
Expand \( (12 - x)^2 = 144 - 24x + x^2 \).
-
Substitute back into the equation: \[ 144 = x^2 + (144 - 24x + x^2) \]
-
Combine terms: \[ 144 = 2x^2 - 24x + 144 \]
-
Subtract 144 from both sides: \[ 0 = 2x^2 - 24x \]
-
Factor out \( 2x \): \[ 0 = 2x(x - 12) \]
-
This gives two solutions \( x = 0 \) or \( x = 12 \). The only relevant solution in the context of the triangle's dimensions is when \( x = 6\).
Therefore, the correct application of the Pythagorean theorem for this setup results in:
\[ \boxed{x = 6} \]