-1/4 is a fraction and -4 is a full answer, of course it will be different. 1/4 is a fourth of something while 4 is a whole number. Although remember about he negative sign there.
-4x is commonly known for being written as -4/1x and therefore is different because the second equation states -1/4x instead. The 2 equations don't relate in many ways other than them being simple equations and are written in a fraction like form