Algebraic equation to represent a triangle.
The lengths of the sides of a triangle are $p, q, r$ respectively. If $p² + q² + r²= pq + qr + pr$, then this triangle is
(A)equilateral triangle
(B)isosceles triangle
(C)right angled triangle
(D) obtuse triangle
My Attempt :$p² + q² + r²= pq + qr + pr \implies (p²-pq) + (q²-qr) +( r²-pr)=0 \implies p(p-q)+q(q-r)+r(r-p)=0$ but I'm unable to connect this information to the given options. Please help me.
Since $p^2+q^2+r^2 \geq pq+qr+rp$ for $p,q,r \in R^{+}$
But given that $p^2+q^2+r^2 = pq+qr+rp$.
Equality holds when $p=q=r$.
Hence equilateral triangle.
NOTE:
$(p-q)^2\geq 0$ , $p^2+q^2\geq 2pq$
$(q-r)^2\geq 0$ , $q^2+r^2\geq 2qr$
$(r-p)^2\geq 0$ , $r^2+p^2\geq 2rp$
then
$p^2+q^2+r^2 \geq pq+qr+rp$ for $p,q,r \in R^{+}$
What you need is just multiply $2$ for left hand and right hand , then you can find that it is $(3\times \text{square}) = 0$ and they must be all zero . so it is a equilateral triangle .