Wednesday, October 26, 2011

strange world

so here are a few interesting things to consider that play with ideas in relativity. This is mostly a discussion of things found in feynman's six not so easy pieces, which I of course recommend.

Consider yourself in a room in space, accelerating at a constant rate (you are picking up speed at a consistent pace). At the front and rear end of the room, you place two perfectly synchronized clocks. This clock, at each second, makes a ticking sound and emits a pulse of light toward the other clock. Let's say you are sitting at the back end of the ship and you want to compare the rate of the two clocks. So as you listen to the clock right next to you you are also seeing the light pulses emitted from the front end. Keeping in mind the light always travels at a constant speed, what do you observe? A pulse of light is sent from the clock, travels the distance of the room, and hits your eyes. But during the time between the emission of the pulse and its reception, the ships accelerates by some amount which "shrinks" the distance the light has to travel. By the time of the second pulse, the ship has accelerated even more and therefore the pulse of light has to travel an even shorter distance. In this way every pulse travels a shorter distance than the one before it, thus it arrives more quickly than the 1 second spacing someone in the front of the ship would observe for it. Thus while the clock in the back near you is ticking at some rate, the one in the front is ticking faster, despite the fact that they both were "synchronized". If you did the same experiment but sat in the front you would find the while the front one ticked at some rate, the rear one would tick slower.

Now this all may very well not surprise you, it is somewhat intuitive once you get to thinking about it. But now consider the equivalence principle. There are different versions of this principle, and many different aspects, but at the moment let me just invoke onet. The idea is that gravitation and inertial accelerations are (in some ways) equivalent. By this principle we suggest that everything I just said about clocks in an accelerating room in space is also true for clocks sitting in your house on earth. This is to say that a clock on your first floor runs slower than a clock on your second floor. The effect is small, but it is there. The rate of a clock (and thus the speed of time itself) depends (partially) on the strength of the gravitational field it is in.

Another part of the equivalence principle is that being in a room free-falling in a gravitational field is equivalent to being in a room moving at a constant speed in a straight line. This seems counterintuitive and perhaps isn't completely clear. We are suggesting that there is no experiment that can be done in such a room to determine whether it is free falling or moving at constant velocity in a straight line (or, equivalently, "completely still"). You may think "can't we just put a clock on both end and see if one runs faster than the other?". We can try this, but consider two things (1) the clock on the end that is "closest" to the direction of motion (the front) is the clock that runs faster (2) the clock closer to the gravitating object is the one that runs slower. You can see that during free fall in a gravitational field, these two effects perfectly cancel one another out such that this experiment would give the same result as if it were done in a motionless room.

A widely known law of mechanics is the law of inertia which says something along the lines of "objects naturally move in straight lines at constant velocities unless acted upon by a force". The original explanation for gravity (Newton) explained it as a force that caused objects to accelerate. In general relativity this changed, and gravity become not a "force" but a result of the warping of space-time. To elaborate on this we must first discuss what a "straight line" is. We define a line to be the shortest distance between two points. On a piece of paper, this winds up being what we call a straight line. But if we draw two points on a ball and connect them in the shortest way possible (on the surface), our line will be somewhat curved.

Now what about a line in space-time. A point in space time is called an "event", it is a specific time and place. A line in space-time would be the shortest way to connect two events. This is related to what is called geodesics and proper time. It turns out that an object falling in a gravitational field is moving "in a straight line" in a warped space-time. So the law that bodies naturally move in straight lines was generalized to include gravity's effect, it just became necessary to rethink our ideas on straight lines and space and time.

Another example of this "straight line" business is here. Say you have a ball with a watch strapped to it. The game is to get the ball from point A to point B such that the watch on the ball has the largest mount of time passed compared to a watch on a stationary person. The first thing to consider is that the rate of a watch depends on its velocity, the faster you are moving the slower time passes for you. So our initial answer is to move at a constant speed in a straight line, as any accelerating will cause time to slow down. But now we consider gravity, which says the clocks closwer to the earth run slower. Now it seems reasonable to throw the ball up into the air to some extent in order to take advantage of the fact that time runs faster higher up. But if we throw the ball too high we will have accelerated it so m the speed. So clearly there will be a middle ground that will allow us to maximize the time on the ball. If you do the math of finding this middle you will find that it corresponds to an upside-down parabola; the path which it actually takes. Whenever you throw a ball with a watch on it (or anything for that matter) the path that it takes will always be the one that gives the maximum time on the attached watch, relative to your watch. This "maximum time" is a sort of straight-line idea, a way of connecting two points in a definitive way. Also consider the behavior of light passing stars. A fundamental law of optics is that light always travels in straight lines (macroscopically at least) yet is was found that light from stars behind the sun get bent around it such that we can see them. It isn't that the light is curving its path, its just that now space is bent. It is like drawing a line on a piece of paper and then bending the paper.

It is interesting to compare Newtons and Einsteins gravitational theories. Newtons is quite simple, the gravitational force between two objects is equal to their mass divided by the square of their distance and multiplied by a constant. It's just a strange mathematical equation that happens to seem explain everyday occurrences of gravity. It doesn't tell us why gravity works, and only in one sense (mathematical) how it works. Further, Newton's theory implies that the force acts instantaneously. If there suddenly appear a mass at some distance from another mass, the gravitation between them instantly appears. Einstein's theory of gravity lifts up the veil and allows one to see the machinery underlying gravity (to an extent). We no longer suggest that gravity is instant but rather can only travel as fast as light. All of these strange effects on space and time caused by gravity are consistent with the idea that mass and energy are able to distort the "fabric" of space and time in a very particular way. Gravity, in this view, is not some mysterious thing without further explanation. It is a consequence of the geometry of space-time. (To give you an idea of the spatial distortion: you probably know that there is a geometric relationship between the radius and surface area of a sphere. If you measured the surface area of the sun ( a pretty massive object), then calculated the radius, and then compared it to the actually measured radius you would find that the measured radius is about half a kilometer longer than it should be (based on the calculation from the surface area). This is because of the bending of space.)

And a final somewhat related idea: gravitational redshift. Here I will first mention matter-energy equivalence. Everbody knows energy is equal to mass times the speed of light squared. Since c^2 is constant, we can forget about it (as it is a matter of units really). So e=m tells us that if the energy increases, the mass must also increase.
Now take an atom near the surface of earth. Lets say it absorbs a photon and rises higher into the air. In order to lift it up higher, we need energy to fight gravity. When the atom absorbed the photon, it became heavier (the photons energy increases the atom's mass by e=mc^2). So we need a certain amount of energy to lift this photon energized atom. Now lets say after this lifting is done that the atom emits the photon and drops down to its original place. Now we release energy as the atom drops, but this energy is less than the energy needed to to go up since the atom is lighter (no photon). Now suppose this same photon is absorbed again: does it give the same energy as it did the first time? It can't, because then energy would not be conserved. As I have already stated, it has taken more energy for us to lift up then we got back on the return descent. The solution to this energy debt is that the photon, after being emitted from the elevated atom, as more energy than it started with. And so when it recombines at the lower point it gives the energy it originally did plus the difference between the ascending and descending trips. The energy of a photon is directly proportional to its frequency (its "color"). As just demonstrated, the position of a photon in a gravitational field effects its energy and thus color. This effect is called the gravitational redshift.

Wednesday, October 5, 2011

Correction/update

Back in january i posted this post about (special) relativity. I've been reading about the subject again, trying to learn general relativity but inevitable am reading a lot about special too because I really don't know that as well as I should to understand general relativity.

Anyway the point of this post is just to say I now know the answer to a question I posed in that post. Towards the end (last image) I talk about causality. I show graphs that have two events (U & V) which, depending on which observer you ask, the order in which they occur is different. I then suggest, what is U caused V (or the other way around). Would the one observer see an effect occur before its cause?...

The answer is... (drum roll)... neither event could have caused the other! Why not? In order for some event to effect another event, some physical process has to connect them. The fastest speed at which a physical process can travel is the speed of light, c. Now if you read that post and remember, on those space-time diagrams I drew light travels at 45 degree angles. Well if you draw 45 degree angles from U or V, you see that these to event could not even be connected to each other by light. In order for one to cause the other the angle between them could be no sharper than 45 degrees. And as it turns out, if the angle is no sharper than 45 degrees then there is no possible observer whose x' axis (line of simultaneity) could see the events in "reverse" order.

I summary I am saying nature is very clever... if two events have the capability of being in a causal relationship then there is no possibility that two obervers could disgree on the order in which they took place. If the two event cannot be connected to each other then there are possible observers who will see one happen first, another see the other happen first, and yet another who sees them happen at the same time. So at least in the world of relativity there are no challenges to causation it seems.

Monday, August 15, 2011

Some thoughts on design

I am curious if all of the information and theories coming out of ID are related to identifying things that are hard to imagine to have evolved... If the general belief is that some aspects of living organisms may be best explained by a creator with intelligence, then what are some of the actual theories? The stuff I can find like "irreducible complexity" aren't really theories as much as just highlighting things that an evolution theory has the hardest time explaining.

A big focus is put on the complexity of the molecular machinery underlying life and how difficult it is to fathom the evolution of these machines and systems without the guidance of an intelligent agent. While not posing to give an answer to this difficult issue, I would like to offer some similar food for thought. There is a stupid saying, "ontogeny recapitulates phylogeny", which is a fancy way to say there are many parallels between the development of a single embryos and the evolution of that embryos species. Thankfully we are past the point (I hope) where God must be invoked to explain how a fertilized egg can become a human being. The process of embryonic development (ontogeny) is a mind-boggling process that is difficult to fathom. Somehow a single cell with only a single copy of its genetic code is able to give rise to a human without the guidance of an intelligent agent. Through a completely natural process involving only molecules and their hum-drum daily activities we can arrive at a person who will win an Olympic medal or become a monk. There is no need for an intelligent designer at this level of things (embryonic development); only but the most extreme I imagine would disagree. If ontogeny is a natural unguided process despite being nearly unfathomable, perhaps the same is true of phylogeny.

Assuming life was designed by an intelligence, it makes one wonder why the designer choose a single, very particular, design for all of life on earth. With DNA & RNA always playing the role of genetic material, with the same amino acids largely conserved across all life forms. There doesn't seem to be any obvious reason why all of life should utilize the same nucleotides and amino acids if all of life is the work of some designer (unless that designer only designed a single organism which is the ancestor to all life on earth).

I would call it flat out strange if there was a designer motivated and intelligent enough to come up with amazing system that constitutes life on earth but had no desire to see what could be realized through alternative molecular machinery.

We humans are now just beginning to put ourselves in the role of intelligent designer, and despite being at the earliest stages of our infancy we already are testing the waters of new genetic systems, novel amino acids, and new approaches to the molecular notion of "life" in general. Since we still do not understand all of the biological world, a prerequisite I imagine to being the creator of it all, what is it that we don't know that our designer does that explains the lack of diversity in natural molecular machinery?

What kind of master chef would make only a single type of dish? Or accomplished poet only write sonnets? How could the universe's wealthiest entity only spend in one place?

Friday, August 12, 2011

Aesthetics

When I attempt to talk about my personal aesthetics with most people, it's like talking to a wall. Most people seem unable to appreciate beauty in things other than those which are "designated" to have beauty. Most often this is art, but then also cliche notions of beauty in our society.

I know that I am not alone in my view. We are just few and far between (sometimes). How does the idea of the integral make you feel? It is brilliant in concept. Given any shape, how can you know the area of that shape? We can take that shape and then do our best to divide it into a bunch of squares (if 2 dimensional). Since we know how to calculate the area of a square/rectangle (base*height) all we have to do is sum all of the areas of the squares. For all of the squares within the boundary, we know that our summation is not an approximation. But at the boundaries an approximation does take place: some parts of a square may fall in the boundary, other parts may fall out. So initially by this technique it would seem we can only arrive at an approximate area for whatever shape. But what controls the degree of approximation: how can we make a better or worst approximation? We do this be changing the size of the squares. The smaller the squares, the better we nestle them into the boundaries. So if we approximate some strange shape with one square, we get a very rough approximation. If we use two, it gets a little better. If we use four, we see further improvement and so on and so forth. Now we come to (one notion of) the integral. What if we could divide the shape into an infinite number of infinitesimally small squares? Then we would no longer have a mere approximation, but rather the actual area of the shape. Further, this idea is possible to carry out in a very precise manner. My description here is very geometric/visual in nature, but this can all take on a more algebraic form. Given some function and boundaries, we can determine the "area under the curve". I find it amazing how logical of an idea this is and how well it works. It gives you a feeling of the sometimes sublime nature of logic. I don't understand why I seem to be in a minority of those who find great beauty in this idea. But I also don't understand all the hype over traditional art. To each their own I guess.

Sunday, July 17, 2011

Lefetamine

Today's discussion: the mythical drug/pharmaceutical Lefetamine, a putative member of both the stimulant and opioid pharmaceutical classes of drugs. It seems highly desirable to some, as such would constitute a molecular speed-ball. Wikipedia says something along the lines of it having effects comparable to both morphine and methylphenidate (ritalin, which works as a DRI, another notable one being cocaine). So how could this be; how does one capture the effects of both morphine and methylphenidate in a single molecule? Is it even possible, and if so, why hasn't it been done more often? Polydrug abuse is very common and apparently dangerous, by creating drugs that are in and of themselves combinations of other drugs, we could eliminate polydrug abuse... anyways lets try to understand whats going on here.



For those who don't memorize structures, morphine is on the left and methamphetamine is on the right. The resemblance between methamphetamine and lefetamine is more obvious, so we will look at that comparison first. One very important thing we must realize is that molecules, like us, are three dimensional entities. As such, I will present to you some 2D images intended to give the illusion of 3D-ness.


With lefetamine on the top right, you can see that it is almost a more bulky version of methamphetamine. Let me mention that often, and defintely in this case, the nitrogen atom and the ring in methamphetamine-like molecules are extremely important in their biological effects. If you move them around or change them or anything you usually end up with something that no longer is a stimulant.
Those points where the stick breaks off into three little points are called methyl groups. You will notice meth has one of these on its nitrogen atom, and actually when people call the drug "meth", whether they know it or not, they are referring to that specific methyl group (its more "proper" name is N-methylamphetamine, where N-methyl means methyl connected to nitrogen). Lefetamine on the other hand has two of these on its nitrogen atom. Also notice that meth has a second methyl group 1 atom away from the nitrogen (the atom that it is connected to is said to be the "alpha" positition, meaning right next to. the "am" part of amphetamine actually comes from "alpha methyl phenyl ethyl amine"). Lefetamine has a much larger benzene (also called phenyl) ring in this position (we could call it N,N-dimethyl-alpha-phenyl phenyl ethyl amine actually). It turns out that adding an extra methyl on the nitrogen to meth makes it a much worse stimulant. If a nitrogen is connected to only one (non-hydrogen) other atom, it is called a primary amine, if two then its called secondary amine, and if three it is called tertiary amine. As I have pointed out (but now we have the words for it) meth is a secondary amine while lefetamine is a tertiary amine. For meth-type stimulants, tertiary amines almost always suck. Primary and secondary amines basically make up that world. Now you might think this is a stike against the legendary status of lefetamine; it has too many methyl groups on the nitrogen. But now what I am going to tell should confuse you if I haven't already. Despite their reasonably close structures, meth is a bad choice to try to compare lefetamine to. This is because there are two types of stimulants, dopamine reuptake inhibitors and dopamine releasers. Meth is basically the latter while I am under the impression that lefetamine (if at all) would belong to the former. This former group includes cocaine, which notably is a tertiary amine.. I choose not to try to align the structure of lefetamine with cocaine however because I simply don't think it would turn out well. I guess it could be worth a try though....

So maybe you thought: why should we leave lefetamine as a tertiary amine... why don't we just take a methyl off of nitrogen and make it a secondary amine? Because lefetamine has two methyl groups for a very important reasons: tertiary nitrogen are the rule when it comes to opioids.



Morphine has the (in this case) fortunate property of being a very rigid molecule. When a molecule is flexible, that means that there are likely at least thousands of different positions it could be in when it binds to a receptor. If the molecule basically has only one position, then you know what it looks like when it binds to a receptor.
Lefetamine is a much more flexible molecule. This in a way might be a good thing for it, it can twist and turn to adopt a shape much similar to morphine, which is different from the shape it must take to interact with stimulant receptors. There is a cost however, in the form of energy. It takes energy for it to get into a shape, especially when that shape is a weird one like morphines. We can almost know for certainty that lefetamine will not bind as well as morphine because it needs to first get some energy and bend into the right shape. Obviously this is some thermodynamics/entropy shit, but I think we've heard enough.

Here is a view from the "bottom" face of morphine:



As you can see one can obtain a very good fit between the two. Putting aside considerations of the energy needed to obtain this morphine-like geometry, lefetamine has other short comings. It turns out that there is more to binding to a receptor than shape; the lock and key analogy only goes so far. There are additional interactions to consider. For example, the -OH group on the top ring of morphine is important in it binding to the receptor. If we block this group with a methyl, we get a much weaker drug called codeine. Codeine itself is actually not even really respsonsible for its effect, once in your body the methyl group can be taken off turning it into morphine which then produces its effects. As you see, lefetamine is lacking this -OH, which you might think is a big strike against it. The thing is, people have made lefetamine-like molecules that do have that -OH in the right place, and IIRC it doesn't necessarily make it bind any better. Not to mention this would likely be the kiss of death for stimulant activity.
Why doesn't the -OH help? I don't know. Thats what makes understanding SAR such a challenge.
But here's a secret: morphine is shaped like a weird T

Friday, June 24, 2011

Why would you want to know the structure of menthol?

A few years ago while hanging out with friends for one reason or another menthol happened to come up as the topic of the conversation. One of my friends, knowing my love for getting to know things at the molecular level, made a comment about how I should look up the structure of menthol. I replied that I already knew its structure (although admittedly I can't remember the stereochemistry of the natural isomer). Another friend said (as best as I can remember), “why the fuck would anyone want to know the structure of menthol”. I think this is a valid question. For those not in science, especially chemistry, such knowledge might seem esoteric and perhaps frivolous. Since my readership, if any, is not particularly well versed in chemistry I think trying to give some answer to this question could be helpful. These are just a few of the things I could think of, in no particular order.

    - toxicity: since menthol is used in a variety of consumer products (vick's, icy hot, menthol cigarettes) issues of toxicity are of course a concern. The chemical structure of a compound can almost always tell us something about the potential toxicity of a compound. There are certain “motifs” that are found in some molecules that are known to often be carcinogenic, for example. In the case of menthol, nothing in particular jumps out at my, although it like a little on the lipophilic side. This doesn't mean it would be toxic though, just possible slow to eliminate from the body.

  • biogenetic origin and metabolic pathways: terpenoids. Where does menthol come from? Everybody (I think) could say “plants” but how does the plant make it? What kind of chemical is it? By knowing the structure of menthol, we can make educated guesses and perform experiments to determine exactly how the plant is making it (i.e. from what chemicals and in how many steps, what types of reactions, etc.) And we can also study what the plant does with it and why it might be that it is being produced by the plant.

  • uses as a chemical intermediate, especially chiral pool: without knowing the structure of menthol, we can't know whether or not it might be helpful to make other useful chemicals like new plastics or life saving drugs. In particular menthol has a property called chirality that makes it potentially particularly useful in developing things like pharmaceuticals.

  • uses as a chemical catalyst (chiral auxiliary): this might be hard for a non chemistry to understand but once again the chirality of menthol could be put to great use. If it is used as a part of a catalytic systems we can take advantage of its chirality to create chirality in the product of chemical reaction where ther wouldn't have been any otherwise.

  • understanding the SAR of olfactory senses: menthol has a distinctive smell. But how is it that it has that smell, or any chemical have a smell for that matter. We already know that the structure of a molecule is important in determining its smell. If we want to gain a better understanding of how the sense of smell works, we will need to understand the system at a molecular level which will include the structure of the chemicals we are able to smell (and even some of the one we can't)

  • understanding the SAR of its cooling effects mediated through TRPM8: if you have ever used icy hot you know that feeling of coldness you get after putting menthol on your skin. This is mediated though a receptor called TRPM8. In order to understand this temperature sensing system of our bodies we will need to know the structures of the chemicals that interact with it.

  • kappa opioid receptor SAR: its turns out menthol is a weak agonist of the kappa opioid receptor. In order to map out the binding domain we need the structure of chemical that bind to it in order to find commonalities between the molecules (called a pharmacophore) that might say something about the receptor.

  • Curiosity: this one is perhaps hardest to understand for those who aren't into science/chemistry. I've attempted to explain this sort of things at great lengths through my blog post so I won't say much. Just know that for some people knowing that something appears as white crystals and has a certain smell and taste is not enough for them to feel like they actually know that thing. The level of knowledge that you need to feel comfortable that you know what something is is not the same as my level. If you can't understand then I can't help you, but just don't criticize what you fail to be able to understand.


I think my main point here is that what may seem pointless or stupid to someone who knows little about the topic may actually have several worthwhile aspects for someone much more informed. I hope it also illustrates the depth of a critical and scientific mind.... something that seems pointless to one person can be used by another to help unlock the secrets of our world.


Wednesday, June 22, 2011

beyond imagination

On scales of time and space that are literally beyond our imagination unfolds the drama of an invisible universe. The dancing and shuffling of its inhabitants give rise to the world we know. Everything you see. Everything you hear. Everything you touch. Everything you taste. Everything you smell. All of the emotions you feel. Every thought that passes through your mind. All of the memories that you hold on to. Everything you know. This is no exaggeration. No metaphor. Just the truth.

This is perhaps the most shocking truth humanity has discovered: the entire world that we know and all of its subtlety, diversity, and beauty comes from a handful of things smaller than we can imagine arranged in uncountable different ways.

This sort of thing seems almost like metaphysical musings or poetic hyperbole. But the most interesting part is its truth: all of this is really happening right now. If you are not amazed by this then you most likely don't grasp it. I think it's something worth understanding.