2: Gọi phương trình (d) cần tìm là y=ax+b(a<>0)
Thay x=1 và y=5 vào (d), ta được:
\(a\cdot1+b=5\)
=>a+b=5(1)
Thay x=2 và y=8 vào (d), ta được:
\(a\cdot2+b=8\)
=>2a+b=8(2)
Từ (1),(2) ta có hệ phương trình:
\(\left\{{}\begin{matrix}2a+b=8\\a+b=5\end{matrix}\right.\)
=>\(\left\{{}\begin{matrix}2a+b-a-b=8-5\\a+b=5\end{matrix}\right.\)
=>\(\left\{{}\begin{matrix}a=3\\b=5-a=5-3=2\end{matrix}\right.\)(nhận)
Vậy: (d): y=3x+2
Câu 3:
1: \(x^2-7x+10=0\)
=>\(\left(x-2\right)\left(x-5\right)=0\)
=>\(\left[{}\begin{matrix}x-2=0\\x-5=0\end{matrix}\right.\)
=>\(\left[{}\begin{matrix}x=2\\x=5\end{matrix}\right.\)