Same, different: 跟……一样 / 不一样 / 相同 / 不同
比较句 / comparison
Tone colorsā tone 1á tone 2ǎ tone 3à tone 4a neutral
A + 跟/和 + B + 一样 (+ Adj) | A + 跟 + B + 不一样 / 不同
A 跟 B 一样 = "A is the same as B". Add an adjective to be specific: 他跟我一样高 (he's as tall as me).
Negative: A 跟 B 不一样 (negate 一样, not 跟).
More formal: 相同 (identical) / 不同 (different). They also work before a noun: 不同的国家有不同的教育制度.
Examples
中国的大学跟法国的大学不一样。
Zhōngguó de dàxué gēn Fǎguó de dàxué bù yíyàng.Chinese universities aren't like French ones.
我的专业跟我哥哥一样。
Wǒ de zhuānyè gēn wǒ gēge yíyàng.My major is the same as my older brother's.
不同的学生有不同的学习方法。
Bùtóng de xuésheng yǒu bùtóng de xuéxí fāngfǎ.Different students have different ways of learning.
Common mistakes
✗ 我不跟他一样。 → ✓ 我跟他不一样。
✗ 他跟我一样很高。 → no 很. ✓ 他跟我一样高。