# Q: How to use circuit analysis on a circuit ideal diodes with ideal op-amps

I have been practicing how to analyze op-amps with diodes as I never really learnt them and thought it would be a handy skill to finally learn.

I have been attempting a question on here that I found, but I am getting stuck.

Here's is the schematic simulate this circuit – Schematic created using CircuitLab

I am doing a case where the diode is off (assuming ideal). Where I need to find the drop of the diode to be < 0, however I have no idea what is the output voltage of the op-amp. Any hints or suggestions will be helpful!

EDIT: I tried doing the negative input and it looks like the diode is both on and off? simulate this circuit

• This unity gain voltage follower only works for positive inputs. Diode drop is irrelevant since the differential input must be 0V – Tony Stewart Sunnyskyguy EE75 Jul 15 '18 at 2:06
• Ill re-edit the question to a more difficult one then. Edited. – Pllsz Jul 15 '18 at 2:07
• Now you have the opposite inverting negative peak detector. But because there is no load to gnd it is less reliable. – Tony Stewart Sunnyskyguy EE75 Jul 15 '18 at 2:52
• Hint: consider the op-amp is also a non-linear circuit with more than one operating mode. – The Photon Jul 15 '18 at 3:04
• @copper.hat, yes but when I suggested OP should consider that, they told me they want to use an ideal op-amp model. – The Photon Jul 15 '18 at 3:28

The node marked "????" is at $-\infty$ V because the ideal op-amp has infinite gain.