The values of m,n for which the system of equationsx+y+z=4, 2x+5y+5z=17, x+2y+mz=n has infinitely many solutions, satisfy the equation: [2024]
(3)
Since the system of equations has infinitely many solutions
∴ Δ=0 and Δ3=0
⇒|11125512m|=0 and |114251712n|=0
⇒(5m-10)-(2m-5)+(-1)=0 and (5n-34)-(2n-17)+4(-1)=0
⇒3m-6=0 and 3n-21=0
⇒m=2 and n=7
Clearly m2+n2-mn=4+49-14=39