Ask your own question, for FREE!
Mathematics 20 Online
OpenStudy (mathmath333):

Number theory / Geometry question.

OpenStudy (mathmath333):

The perimeter of the triangle is \(240\).Find the number of possible distinct triangles.the sides of triangles are in integers.

OpenStudy (thomas5267):

\[ c^2=a^2+b^2-2ab\cos(C) \] So \(\cos(C)\) is an integer?

OpenStudy (thomas5267):

No actually \(\cos(C)\in \mathbb{Q}\land \cos(C)\not\in \mathbb{R} \setminus \mathbb{Q}\).

OpenStudy (rational):

\(a+b+c=240\) from triangle inequality \(c\lt a+b \implies 2c\lt a+b+c\implies c \lt 120\) so each side must be less than \(120\) (not considering deranged triangles)

OpenStudy (thomas5267):

\[ c=240-a-b\\ c^2=57600-480(a+b)+(a+b)^2\\ c^2=57600-480a-480b+a^2+2ab+b^2\\ 57600-480a-480b+a^2+2ab+b^2=a^2+b^2-2ab\cos(C)\\ 57600-480a-480b+2ab=-2ab\cos(C)\\ \] \[ 0<C<\pi\\ \cos\left(\frac{2\pi}{3,4,6}\right)=-\frac{1}{2},0,\frac{1}{2} \] \[ \cos\left(\frac{2\pi}{3}\right)=-\frac{1}{2}\\ 57600-480a-480b+2ab=ab\\ 57600-480a-480b+ab=0 \] \[ \cos\left(\frac{\pi}{2}\right)=0\\ c^2=a^2+b^2\\ 57600-480a-480b+2ab=0\\ \] \[ \cos\left(\frac{2\pi}{3}\right)=-\frac{1}{2}\\ 57600-480a-480b+2ab=-ab\\ 57600-480a-480b+3ab=0 \] Don't know how to solve the equation. The only rational values of \(\cos(\theta)=0,\dfrac{1}{2},-\dfrac{1}{2},1,-1\) as mentioned in here.

OpenStudy (thomas5267):

Actually no. The argument to cosine need not be multiples of pi.

OpenStudy (rational):

yeah there are infinitely many rational values on cosine graph

OpenStudy (rational):

cos(x) = a/b can be solved for all rational numbers a/b such that -1<= a/b <=1

OpenStudy (thomas5267):

The first obvious triangle is 80-80-80.

OpenStudy (thomas5267):

Can a,b,c be any integers such that \(a+b+c=240\) and \(c\leq a+b\)? So\[ \cos(C)=\frac{c^2-a^2-b^2}{2ab}\]

OpenStudy (thomas5267):

*\(c<a+b\)

OpenStudy (thomas5267):

So as long as \(-1\leq\dfrac{c^2-a^2-b^2}{2ab}\leq 1\), the equation has solutions in integers?

OpenStudy (thomas5267):

\[ \begin{align*} \frac{c^2-a^2-b^2}{2ab}&=\frac{(240-a-b)^2-a^2-b^2}{2ab}\\ &=\frac{57600-480a-480b+2ab}{2ab}\\ &=\frac{28800}{ab}-\frac{240}{a}-\frac{240}{b}+1 \end{align*} \] \[ \begin{align*} \frac{28800}{ab}-\frac{240}{a}-\frac{240}{b}+1&\leq1\\ \frac{28800}{ab}-\frac{240}{a}-\frac{240}{b}&\leq0\\ 28800-240b-240a&\leq0\\ 120-a-b&\leq0\\ 120&\leq a+b\leq 239 \end{align*} \] \[ \begin{align*} \frac{28800}{ab}-\frac{240}{a}-\frac{240}{b}+1&\geq -1\\ \frac{28800}{ab}-\frac{240}{a}-\frac{240}{b}&\geq -2\\ \frac{120}{a}+\frac{120}{b}-\frac{14400}{ab}&\leq1\\ 120b+120a-14400&\leq ab\\ 120b+120b-14400-ab&\leq 0\\ ab-120a-120b+14400&\geq 0\\ (a-120)(b-120)&\geq 0\\ a\geq 120 \land b\geq 120 \end{align*} \]

OpenStudy (thomas5267):

I am very tired now so please check my work.

OpenStudy (rational):

last line could be \(a\le 120 \land b\le 120\) also right

OpenStudy (thomas5267):

It cannot be the case that \(a\geq 120 \land b\geq 120\) as \(c>0\)/

OpenStudy (rational):

Yes looks good to me, I think we end up solving below equation in positive integers : \[a+b+c=240\\~\\a\lt 120,~b\lt 120,~c\lt 120\]

OpenStudy (thomas5267):

Can \(a=120\) or \(b=120\)?

OpenStudy (rational):

not possible because, that gives a deranged triangle a = 120 = b+c

OpenStudy (thomas5267):

What is a deranged triangle?

OpenStudy (rational):

when the vertices of triangle are collinear..

OpenStudy (thomas5267):

Couldn't it be the case that a=120, b=119 and c=1?

OpenStudy (rational):

|dw:1432293793721:dw|

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!