Problem: If three sides of an acute triangle is 3 cm, 4 cm, and $x$ cm. What are the possible values of $x$?
2 of the choices: (A) $1<x<5$, and (B) $0<x<7$
Solution: According to triangle theorems, 2 sides of a triangle is greater than the 3rd side and their difference is less than the 3rd side.
From one of the choices, (ranges $0<x<7$) when $x = 6$:
$3 + 4 > 6$
$6 + 4 > 3$
$3 + 6 > 4$
From the above, it means $6$ is a possible value for $x$, and since choice A doesn't have $6$ in it, I chose B as the correct answer. However that isn't the case, the correct answer according to the book is A, which I don't know why. So how was it $1<x<5$? Any help would be appreciated.
If $a,b,c$ are all lengths of sides of a (non-degenerate) triangle, the triangle inequality implies the following conditions:
$$1.~~~~~a+b>c$$
$$2.~~~~~a+c>b$$
$$3.~~~~~b+c>a$$
Further, if $a,b,c$ are all lengths of sides of an acute triangle, we also learn the following conditions:
$$4.~~~~~a^2+b^2>c^2$$
$$5.~~~~~a^2+c^2>b^2$$
$$6.~~~~~b^2+c^2>a^2$$
Letting $a=3,b=4,c=x$, plugging these values into inequalities 1,2,4 and 5 respectively we transform the above into the following:
$$3+4>x$$
$$3+x>4$$
$$3^2+4^2>x^2$$
$$3^2+x^2>4^2$$
Simplifying arithmetic and moving $x$ to a single side this simplifies further as:
$$7>x$$
$$x>1$$
$$25>x^2$$
$$x^2>7$$
Remembering that $x$ should be positive we can take square roots of each side of the third and fourth inequalities here and recognizing these conditions as being more restrictive than the first two inequalities we learn that
$$5>x$$
$$x>\sqrt{7}\approx 2.64$$
We have therefore the following as the maximal restrictions we can place on the value of $x$ being:
$$\sqrt{7}<x<5$$
Indeed, one can make an acute triangle with sidelengths $3,4,x$ for every value of $x$ from the set $\{x~:~\sqrt{7}<x<5\}$ and no value of $x$ outside of that set makes a valid acute triangle with sidelengths $3,4,x$ either because it would be a right triangle, an obtuse triangle, or not a triangle at all. For example a 2-3-4 triangle is obtuse.