Let the hypotenuse of the right angled triangle be x and the height be y
Hence its base=√x2−y2 by pythagoras theorem
Hence its area=12×base×height
=12×√x2−y2×y
But it is given that x+y=p(say)
Substituting this in the area we get
Area=12×√(p−y)2−y2×y
=y2×√p2+y2−2py−y2
=y2×√p2−2py
Squaring on both the sides we get
A2=y24(p2−2py) where A is the area of the given triangle.
⇒A2=y2p24−py32
For maximum or minimum area dAdy=0
Hence A2=y2p24−py32
Differentiating both sides w.r.t y we get
⇒2AdAdy=2yp24−p23y2
⇒2yp24−p23y2=0
⇒p2y−3py2=0
⇒py(p−3y)=0
⇒y=0,y=p3
When y=p3⇒x+y=p
⇒x=p−y=p−p3=2p3
⇒cosθ=yx=p32p3=12
⇒θ=π3=60∘
Hence the area is maximum if the angle between the hypotenuse and the side is 60∘