Skip to content

Smartmath.online

Word problems made simple

01.005 Perimeter of a Square Inscribed in a Right Triangle with Legs a and b

Posted on 20 May 20252 July 2025 By SmartMath

Problem

A square is inscribed in a right-angled triangle such that one of the square’s vertices coincides with the right angle vertex of the triangle. The legs (or cathetus) of the right triangle are of lengths a and b. Find the perimeter of the inscribed square.

Solution

Let’s denote the side length of the square as x (see the figure).

Consider the similar triangles \triangle ACB and \triangle FEB. (Assuming C is the right angle, A and B are the other vertices, and the square’s vertices are F, E, C, and a point on AB).

Due to similarity, we can set up the proportion:
\frac{a}{x} = \frac{b}{b-x}.

Now, we solve for x:
a(b-x) = bx
ab - ax = bx
ab = ax + bx
ab = x(a+b)
x = \frac{ab}{a+b}.

The perimeter of the square, P, is 4 times its side length:
P = 4x = \frac{4ab}{a+b}.

Answer:

The perimeter of the square is \frac{4ab}{a+b}.

Geometry

Post navigation

Previous Post: 01.004 The height of a rhombus drawn from the vertex of an obtuse angle divides its side into segments of length m and n
Next Post: 01.006 Finding the distance for externally tangent circles (R=3, r=1)

Related Posts

From point A, not lying on the circle, a tangent Geometry
10.009 In an isosceles triangle, the base is 16, and a side is 10 Geometry
01.011. We have an isosceles triangle. Its base is 4√2 cm, and the median to a lateral side is 5 Geometry
01.008 In an isosceles triangle, a median is drawn to a side equal to 4 Geometry
01.006 Finding the distance for externally tangent circles (R=3, r=1) Geometry
01.002 In an isosceles trapezoid with bases 20 and 12, find the diagonal and the leg Geometry

Copyright © 2026 Smartmath.online.

Powered by PressBook Grid Blogs theme