IANAL (I am not a liar*) and I’ve never given or taken one, but I believe I know a bit about polygraph tests.
The machine itself is little more than a glorified “Machine that goes PING!” ie heartrate monitor etc. Some of the things which could be usefully measured are, of course, the heart rate, but also respiration, galvanic skin response, and various other stuff. These are bodily functions not normally under conscious control but still controlled by the mind, and hence indicators of the mind’s activity.
Imagine a guilty bad guy hooked up, and a cop asking questions. The cop looks at the bad guy and says “I know you did it, now just confess!”
Unless that bad guy has amazing nerves, at SOME point in there a tiny part in the back of his mind will panic. “OH SHIT! He KNOWS! We’re in trouble now!” This will send adrenaline into the body, etc etc, the classic fight or flight response… heart rate, respiration, everything, will change…
…but just for a second. Then the rational part of his mind will say “Shut up, you! They don’t know nothin’! We just sit here all quiet like and they gotta let us go eventually!” He will calm down, heart rate etc will drop back to normal. If he’s good at it, this will take only a fraction of a second, happening far too quickly to be seen with the naked eye. The cop’s got no idea that, for just a second, the guy was really worried.
But the machine does. It picked up that “BLIP”… if you look at the printout, there are big ol’ squiggly marks. The guy running the polygraph makes a note by them… at such and such moment, after this question was asked, the suspect’s heart rate and respiration jumped to nearly double their normal rate… for just a second.
This is how they know you’re lying. But of course, it’s not perfect. Maybe, just maybe, when they asked him that question… I dunno, a bee flew down his pants. I know that would make MY heart rate jump!
So they ask again. “We said we know you did it, now you’re lying to my face?” BLIP! it goes again. “We have the car.” BLIP “We have the gun.” no blip “We have your friend in the next cell telling us everything that happened.” BLIP
Ahh… now we’ve got something. Blips at he did it, blips at the car, blips at the accomplice… no blip on the gun. We now know, or think we do, what he’s lying about.
But can anybody say for 100% certain which is the lie and which the truth? No. It’s, as stated earlier, an art, even though the methods are science.
So why did they think you were lying about having ‘ulterior motives for applying’? The pause… the various things that fluttered briefly through your head gave readings. These readings may or may not have indicated a lie. Why did they ask you your own name three or four times? Because, while you were thinking about it, the readings went wacko.
What a polygraph should more accurately be named, I think, is a truth detector. When you’re telling the truth, you’re totally relaxed… you don’t have to stop and think about what you’re going to say. That moment of thinking is what the machine detects, as various thoughts run through your subconscious and affect your body. If you don’t think about it, then there are no responses to detect… or perhaps different ones. I dunno. q;}
So to answer the OP, they can’t possibly know what question you are answering. All they can hope to do is gauge your reactions to what you are asked… and no matter how good a liar you are, you ARE going to react to them. That’s why polygraphs work at all.
Extreme cases of insanity (sociopathy etc) are an entirely different matter.