m^2=m+1
n^2=n+1
两个式子相减,
m^2-n^2=m+1-(n+1)=m-n
(m+n)(m-n)=m-n
因为m不等于n,
m-n不等于0,
m+n=1
两个式子相加,
m^2+n^2=m+1+(n+1)=m+n+2=3
(m+n)^2=1
mn=[(m+n)^2-(m^2+n^2)]/2=-1.
m^2=m+1
n^2=n+1
两个式子相减,
m^2-n^2=m+1-(n+1)=m-n
(m+n)(m-n)=m-n
因为m不等于n,
m-n不等于0,
m+n=1
两个式子相加,
m^2+n^2=m+1+(n+1)=m+n+2=3
(m+n)^2=1
mn=[(m+n)^2-(m^2+n^2)]/2=-1.