I used a tl084 as a unity gain buffer at the output of an incremental encoder which has an output of a 5V pulse. The pulse is 0 to 5V. The signal is connected to the tl084 input through a 47k resistor. The tl084 has a single supply of 12V. I tried with a load of 10k + 47pF in series to ground at the output of the tl084. I also tried open circuit at the output. In both situations I expected the signal to be as the input but the output was 5 to 12V with a 2Vpp oscillatory signal on the top of the pulse signal. Also the output signal is square wave at low frequencies but as frequency goes up it gets smaller in amplitude and turns into some other shape like triangular. I could not comprehend what is going on. What am I missing and what should I look for? Thanks.