I have some bad news to tell you.
Read wiki: http://en.wikipedia.org/wiki/Nvidia_Optimus
Nvidia itself has no plans to support Optimus on GNU/Linux.
is not working using an official driver on anything except Windows 7 because of lacking architectural infrastructure of other operating systems.
So, don't even try to install official nvidia driver on linux with nvidia optimus card, it is not supposed to work.
Optimus technology is fully supported only on Windows 7 for now ( 7 and only on 7 - even vista and xp is not supported !!!).
For now, in my opinion, the best option to run nvidia optimus on linux is Bumblebee project.
For fedora 16/17 there is the only tutorial that worked for me (i have dell inspiron Q17r with nvidia optimus 525m) here
(click on the first displayed link - this is very strange, I cannot paste the oryginal link here, because this forum is claiming that this link contains forbidden words
I recommend you to install a fresh copy of fedora, because this tutorial would probably not work if you have tried to install propietrary drivers from nvidia.
But even Bumblebee does not support HDMI output for now - as the say on their wiki they are working hard on this:
I have tried various tutorials found on the net to make hdmi working on linux, but had little success (managed to make display working, but keyboard and mouse were not responding), and finnaly I installed Windows 7 and I am using it when I need hdmi output