{"id":2471,"date":"2008-04-07T11:17:43","date_gmt":"2008-04-07T11:17:43","guid":{"rendered":"http:\/\/scienceblogs.com\/principles\/2008\/04\/07\/nuclear-magnetic-resonance\/"},"modified":"2008-04-07T11:17:43","modified_gmt":"2008-04-07T11:17:43","slug":"nuclear-magnetic-resonance","status":"publish","type":"post","link":"http:\/\/chadorzel.com\/principles\/2008\/04\/07\/nuclear-magnetic-resonance\/","title":{"rendered":"Nuclear Magnetic Resonance"},"content":{"rendered":"<p>Having brought in a huge new audience at the end of last week&#8211; partly through the &#8220;framing&#8221;\/&#8221;screechy monkeys&#8221; things, but mostly because my <a href=\"http:\/\/scienceblogs.com\/principles\/2008\/03\/what_everyone_should_know_abou.php\">What Everyone Should Know About Science<\/a> post hit the front page on Reddit&#8211; I figured I should take this opportunity to&#8230; Well, drive them all right the hell away again with a peer-reviewed physics post.<\/p>\n<p>Unfortunately, I seem to have misplaced the papers I was going to write about, on experiments with qubits in diamond. They&#8217;re probably on my desk at work, doing me no good at all. That&#8217;s OK, though, because it would probably benefit from a little bit of background. So let me first write about Nuclear Magnetic Resonance (NMR), which is the &#8220;M&#8221; and the &#8220;R&#8221; in &#8220;Magnetic Resonance Imaging&#8221;&#8211; they ditched the &#8220;N&#8221; because &#8220;nuclear&#8221; is scaaaary, and doctors are wusses.<\/p>\n<p>NMR is somewhat unusual, in that the basic physics can be explained almost entirely in classical terms, which is how it&#8217;s introduced to most physicists. You can even buy a <a href=\"http:\/\/www.teachspin.com\/instruments\/magnetic_torque\/index.shtml\">demonstration apparatus<\/a> that will let you simulate NMR using a billiard ball with a magnet in it. It&#8217;s a great  explanation, and provides a lot of the language we use to talk about resonant interactions more generally.<\/p>\n<p>Unfortunately, while it provides a clear picture for physicists and physics majors, it requires you to be familiar with angular momentum and torque and some properties of magnetic fields, and thus, is not terribly illuminating to the general public. Ironically, it&#8217;s actually easier to understand NMR if you just start with quantum ideas. <\/p>\n<p><!--more--><\/p>\n<p>The whole foundation of NMR is that the nuclei of atoms are made up of protons and neutrons, which have a property called &#8220;spin.&#8221; The name is a little unfortunate, in that they&#8217;re not <strong>really<\/strong> spinning balls of charge (you can easily calculate how fast they would need to be spinning for that to be the case, and it&#8217;s not remotely realistic), but in many respects they do behave as if they were spinning balls of charge. They have angular momentum, and they have a &#8220;magnetic moment,&#8221; which means they interact with magnetic fields as if they were little loops of current.<\/p>\n<p>When you put a proton or neutron in a magnetic field, it will act like any other sort of magnet, and want to align with the field. Because these are quantum particles, though, they have to have discrete states, so a particle can either have its magnetic moment aligned with the magnetic field, or opposite the magnetic field. If you put a bunch of protons and neutrons together to make a nucleus, things get a little more complicated, as they tend to pair up in oppositely orientations, cancelling the field out, but in very rough sense, if you have an odd number of protons and neutrons, the nucleus as a whole will have a magnetic moment that behaves in the same way that a single particle does&#8211; it can be aligned with the field, or opposite to the field.<\/p>\n<p>This means that such a nucleus has two distinct possible internal states. The energies for these states differ by a tiny amount, and the energy difference depends on the strength of the magnetic field that the nucleus is in&#8211; the higher the field, the larger the difference. And any time you have distinct states separated by some energy, you can use light to drive transitions between those states. In the case of NMR, the &#8220;light&#8221; you use is in the radio frequency range&#8211; a few megahertz to hundreds of megahertz.<\/p>\n<p>So, the essence of NMR is that you take a bunch of atoms, put them in a big magnetic field, and apply a RF field to them and see if you can make them flip their nuclei between the two possible energy states. You can detect when they do by using an antenna to monitor the strength of the RF field&#8211; when you hit the right frequency, the nuclei will absorb energy, and change states, and you can pick that up.<\/p>\n<p>This may not seem like a terribly interesting thing to do, but it&#8217;s an extremely useful tool because the energy difference between the states depends very sensitively on the local conditions. A hydrogen atom all by itself will flip its spin at one frequency, but a hydrogen atoms bound to a carbon atom will flip at a different frequency, and one bound to an oxygen atom at yet another frequency. Given a sample of organic molecules, you can use NMR spectroscopy to determine the arrangement of atoms by looking at the different frequencies at which the hydrogen atoms flip their nuclear spins back and forth. Any synthetic chemistry talk will almost certainly include a couple of NMR spectra of whatever it is they&#8217;re supposed to be making&#8211; these are readily identifiable by the fact that they work very hard to make them look like chart recorder traces.<\/p>\n<p>This works for lots of different atoms. Hydrogen is the easiest, but any atoms whose nucleus has a magnetic moment can, in principle, be used for NMR spectroscopy. Of course, most of these aren&#8217;t really much use, but there are a few other atoms that are important. Carbon-13 is used quite a bit for NMR studies&#8211; it&#8217;s not all that common, but there&#8217;s enough of it around that a macroscopic quantitity of some compound will happen to contain large numbers of molecules with carbon-13 in place of the usual carbon-12 in each of the places where you would normally find a carbon atom. Chemists can use carbon-13 NMR to deduce the arrangement of carbon atoms, which provides another important tool for figuring out molecular structure.<\/p>\n<p>How does this lead to big, noisy, claustrophobia-inducing machines that make pretty pictures of your insides? Well, an MRI machine is basically just an apparatus for doing NMR spectroscopy of hydrogen, which it basically uses to detect water. The difference between the research NMR machines that chemists use to determine molecular structure and the MRI machines that doctors use to diagnose knee injuries is that the imaging machines deliberately change the resonance frequency at different positions, rather than relying on natural processes to shift the frequency.<\/p>\n<p>They do this by applying a magnetic field gradient. Rather than applying a uniform magnetic field across the whole sample (say, the inured knee of an athlete), they put on a field that&#8217;s larger on one side of the sample than the other. That means that the hydrogen atoms in a water molecule on one side of the kneecap will flip its spin at a different frequency than a hydrogen atom in a water molecule on the other side of the kneecap.  If you know the field very well, you know exactly what frequency will resonate at each position, so you can get a cross-section of how many water molecules are at different positions just by varying the RF frequency across the whole range of possible frequencies, and looking at how much the power changes.<\/p>\n<p>You can turn this into a three-dimensional picture of the distribution of water molecules in your sample by rotating the field gradient and repeating the scan. For example, first you set the field so it&#8217;s higher on the left than on the right, which gives you the distribution of water from left to right. Then you shift the field so that it&#8217;s greater on the top than on the bottom, and do the scan again, which gives you the distribution from top to bottom. Putting those two scans together gives you a crude two-dimensional picture&#8211; if there&#8217;s a big spike in the signal at the frequency corresponding to 2cm from the left edge in the first scan, and a big spike at 3cm down from the top in the second, you can be pretty sure that there&#8217;s a high concentration of water at a point 2cm from the left and 3cm from the top.<\/p>\n<p>You can repeat this many times for many different gradients, and build up a picture of the distribution of water in three dimensions, with very good resolution. Because different types of tissues in the body contain different amounts of water, this allows you to make pictures showing the internal structure of the body in detail.<\/p>\n<p>This has a number of advantages over other imaging techniques, chief among them being that it doesn&#8217;t require blasting a patient with X-rays that can do damage to tissues. It also has a number of disadvantages, chief among them being that it requires a whopping huge magnetic field, which is why NMR machines are big and bulky and confining.<\/p>\n<p>The high field requirement is not actually intinsic to the NMR process, but is a problem resulting from statistical mechanics. In a very rough sense, the problem is that in order to measure the flipping of nuclear spins, you need to know where you start&#8211; if the nuclei start in the low-energy state, and move to the high-energy state, that gives a different signal than nuclei that start in a high-energy state and move to the low-energy state. In a naturally occurring sample, you tend to get nearly equal numbers of high- and low-energy nuclei, and those signals tend to cancel each other out.<\/p>\n<p>The numbers aren&#8217;t <strong>exactly<\/strong> equal, though&#8211; the fact that the higher energy state is, well, higher in energy means that there will be slightly fewer nuclei in that state, and slightly more in the low-energy state. That &#8220;polarization&#8221; gives you just enough of an excess signal that you can do the detection you need to do. The signal you get out is greatly reduced, though&#8211; it&#8217;s as if the only atoms you had were the tiny excess fraction in the low-energy state, so rather than dealing with 10<sup>23<\/sup> water molecules, you&#8217;re dealing with 10<sup>18<\/sup> of them (or whatever).<\/p>\n<p>The population difference between high- and low-energy states depends on the energy difference, so you maximize the excess population by using a really huge field. Which means big magnets, which means cramped and noisy NMR machines.<\/p>\n<p>There is another solution to this, which is to polarize the sample ahead of time. This is a little tricky to do with the water in your body, but there are a number of research groups who have demonstrated the use of polarized gases (xenon or helium, usually) to do MRI with low fields&#8211; see, for example, the <a href=\"http:\/\/cfa-www.harvard.edu\/Walsworth\/Activities\/Low%20field%20MRI\/low-field-mri.html\">Walsworth group at Harvard<\/a>. The idea there is that you use some other process to make a sample of gas with a very large fraction of the nuclei in one of the two possible states. Then you put this gas into your system, say by having a patient breathe it, and do your MRI looking for that gas. Because you start with a huge difference in populations between the two states, you don&#8217;t need a big magnetic field to get a good signal&#8211; the Walsworth group page I linked shows good images using a field of just 21 gauss, instead of the 50,000 of a standard system for looking at water.<\/p>\n<p>This technique has been used to produce <a href=\"http:\/\/www2.slac.stanford.edu\/tip\/2003\/mar07\/noble.htm\">high-resolution MRI images of lungs<\/a>, and has some promise as a research tool. It&#8217;s not going to see commercial application any time soon, for annoying reasons having to do with patents and profits, but it&#8217;s an extremely cool trick.<\/p>\n<p>This problem of signal size is one that applies to NMR experiments outside the medical imaging field, as well. It is possible to do single-molecule NMR (<a href=\"http:\/\/www.google.com\/search?q=single+molecule+nmr\">just ask Google<\/a>), but it&#8217;s very hard to get good signals from samples involving small numbers of spins. Which is the problem that leads to the research paper I&#8217;m going to write about, as soon as I find where I left it&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Having brought in a huge new audience at the end of last week&#8211; partly through the &#8220;framing&#8221;\/&#8221;screechy monkeys&#8221; things, but mostly because my What Everyone Should Know About Science post hit the front page on Reddit&#8211; I figured I should take this opportunity to&#8230; Well, drive them all right the hell away again with a&hellip; <a class=\"more-link\" href=\"http:\/\/chadorzel.com\/principles\/2008\/04\/07\/nuclear-magnetic-resonance\/\">Continue reading <span class=\"screen-reader-text\">Nuclear Magnetic Resonance<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"1","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,7,11],"tags":[],"class_list":["post-2471","post","type-post","status-publish","format-standard","hentry","category-experiment","category-physics","category-science","entry"],"_links":{"self":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/posts\/2471","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/comments?post=2471"}],"version-history":[{"count":0,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/posts\/2471\/revisions"}],"wp:attachment":[{"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/media?parent=2471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/categories?post=2471"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/chadorzel.com\/principles\/wp-json\/wp\/v2\/tags?post=2471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}