We are searching data for your request:
Upon completion, a link will appear to access the found materials.
Do we clearly know what the living closest relative of the dinosaurs are? And connected to the first question, in scientific manner how do we know these relationship between extinct species and living ones?
In general the answer is always the same: you construct a phylogenetic tree. In order to locate different species on this tree in relation to each other, you use various features to compare which species are more similar to each other than others.
The best way of doing this is by comparing their DNA sequence, especially orthologous genes (i.e. genes common to the species compared).
Unfortunately, genetic sequences usually aren't available for extinct species. You can still compare homologous features though. For instance, the class of mammals are all characterised by the possession of mammary glands. Similarly, all vertebrates have a vertebral column and all aves are feathered, warm-blooded, egg-laying vertebrates.
The collection of many such features from fossile records allows the creation of more or less detailed phylogenies. The Wikipedia explanation mentions several transitional fossil forms which trace the evolution from dinosaurs to modern birds via several intermediates. All of the inferences are based on anatomical resemblance.
This may sound weak evidence but in fact anatomical homology has proved to be sufficiently accurate in constructing other phylogenies, where we have been able to verify the correctness using genome comparison data. So while there is much uncertainty about the precise branching point of birds from dinosaurs (or maybe archosaurs), there is near-certainty that the common ancestor of birds and dinosaurs was, in fact, an archosaur.
Extending Konrad Rudolph's answer, research has been conducted into reconstructing the phylogenetic tree via protein sequence data of the T. rex (one of the latest living dinosaurs):
C. L. Organ et al, Molecular Phylogenetics of Mastodon and Tyrannosaurus rex, Science 320 (2008), p. 499.
They use a variety of standard methods for the phylogenetic analysis. The real challenge was collecting protein sequence data for the T. rex (which has been extinct for ~65 million years). They succeeded in collecting and sequencing collagen α1(I) from Mastodon and T. rex, and compared it to the same protein in extant species.
Despite missing sequence data, the mastodon groups with elephant and the T. rex groups with birds, consistent with predictions based on genetic and morphological data for mastodon and on morphological data for T. rex.
This is an old question, with two highly-upvoted answers (one of which was accepted), but still there is an issue in both answers: both of them fail to explain that birds are not related to dinosaurs. Instead, birds are dinosaurs.
In this cladogram, all organisms from the dinosaurs node up are dinosaurs. Look at the birds in the top right corner.
That's quite well known for anybody familiar with phylogenetic systematics: "Dinosauria" is a monophyletic group that include birds (the purple clade in the image below).
According to University of California (Understanding Evolution):
Another cool thing about phylogenetic classification is that it means that dinosaurs are not entirely extinct. Birds are, in fact, dinosaurs (part of the clade Dinosauria). It's pretty neat to think that you could learn something about T. rex by studying birds!
Thus, technically speaking, the living close relatives to dinosaurs are crocodilians. Birds are not the living close relatives to dinosaurs because birds are dinosaurs.
Are Dinosaurs Reptiles? Dinosaur Evolution & Classification
On this page, we answer the question are dinosaurs reptiles. In order to do so, we’ll need to investigate what makes a reptile a reptile, and we’ll also need to take a look at how dinosaurs evolved.
We might even uncover some surprising facts that suggest dinosaurs are still alive …
- This page is part of a series of dinosaur articles. Become a dinosaur expert – visit our main Dinosaur Facts Page!
Are Birds Really Dinosaurs?
We'll spare you the exhaustive amount of available cladistic studies those alone would make a large book if compiled. Dr. Jacques Gauthier, during his time as a graduate student of Professor Kevin Padian here at Berkeley, did his dissertation research on this subject, creating the first well accepted, detailed phylogeny of the diapsids. His work provided strong, compelling support for the theory that birds are theropod dinosaurs.
If we look back into the history of the issue, it is apparent that many comparative anatomists during the 16th through 19th centuries noticed that birds were very similar to traditional reptiles. In 1860, shortly after the publication of Charles Darwin's influential work On the Origin of Species By Means of Natural Selection, a quarry worker in Germany spotted an unusual fossil in the limestone of the Solnhofen Formation (late Jurassic period). This fossil turned out to be the famous 'London specimen' of Archaeopteryx lithographica. It was a beautiful example of a "transitional form" between two vertebrate groups (traditional reptiles and birds) just what Darwin expected would eventually be found. Archaeopteryx, generally accepted as being the oldest known bird, is an important link between birds and other coelurosaurs that has helped to illuminate the evolutionary history (phylogeny) of the group. It is now widely held to be the ancestor of all living birds this is a common misconception. In fact, recent expeditions in China, Mongolia, Madagascar, Argentina, and elsewhere may uncover dinosaurs that usurp the "urvogel" status of Archaeopteryx.
Many scientists, including Thomas Henry Huxley (a staunch supporter of Darwin), saw incredible similarities between birds and the theropod dinosaurs (especially the coelurosaurs). Others since Huxley also hinted at the striking resemblances. However, birds were still not well accepted as dinosaur descendants such hypotheses as A. Walker's "crocodylomorph" ancestor and G. Heilman's "thecodont" ancestor held sway for most of the 19th and 20th century, or else birds were simply dismissed as originating from some unknown reptile that didn't matter anyway. That would change. Dr. J.H. Ostrom's 1969 description of Deinonychus antirrhopus and its similarities to Archaeopteryx was the major step: his work since the 1970's has provided the impetus for a paradigm shift in paleontologists' visions of the origin of birds and the evolution of flight. Dr. Gauthier's cladistic work in the mid-1980's provided the best analytical systematic support for the theory that birds are the descendants of dinosaurs. Several independent analyses by other scientists have repeatedly upheld Gauthier's results. Today the important issue seems to be specifically which dinosaurs are the closest relatives of birds. The controversy over the dinosaurian status of birds had its heyday in the 1970's, but the coverage of the issue today by the press might make you think it was still a problematic matter. For those that have actually seen the relevant specimens and considered all of the relevant data (which is a basic procedure for any scientist), it is becoming increasingly difficult to draw the line between "bird" and "non-avian dinosaur".
Some researchers today do not agree that dinosaurs gave rise to birds, and are working to falsify this theory, but so far the evidence for the theory has swamped their efforts. If they were to conclusively establish that birds are more likely descended from another group (Crocodylomorpha, the group containing crocodiles, has been suggested), that would be a major upheaval in our knowledge of phylogeny. One single well-preserved fossil bird unequivocably of Triassic age might shed some doubt on the theory of the maniraptoran affinities of birds. That would be a major find. Some bird-like fossils have been presented as Triassic birds, but so far have not held up under peer review. Such is the dynamic nature of science.
So you may be thinking now, what are these striking resemblances between birds and other dinosaurs? The ratite birds, three of which are pictured in this article, are quite similar to theropod dinosaurs. Some of the similarities may be superficial, but others may be too obvious to dismiss, and in any case all available data must be considered. We'll start with the "reptilian" similarities of birds. Like all other reptiles, birds have scales (feathers are produced by tissues similar to those that produce scales, and birds have scales on their feet). Also, birds lay eggs like other reptiles. The soft anatomy (musculature, brain, heart, and other organs) all are fairly similar birds are more derived in some aspects owing partially to their endothermic metabolism and their ability to fly. There are numerous skeletal resemblances between birds and other reptiles these form the basis of the cladistic analyses done by Gauthier and others.
Coelurosaurian dinosaurs are thought to be the closest relatives of birds, in fact, birds are considered to be coelurosaurs. This is based on Gauthier's and others' cladistic analyses of the skeletal morphology of these animals. Bones are used because bones are normally the only features preserved in the fossil record. The first birds shared the following major skeletal characteristics with many coelurosaurian dinosaurs (especially those of their own clade, the Maniraptora, which includes Velociraptor):
- Pubis (one of the three bones making up the vertebrate pelvis) shifted from an anterior to a more posterior orientation (see Saurischia), and bearing a small distal "boot".
- Elongated arms and forelimbs and clawed manus (hands).
- Large orbits (eye openings in the skull).
- Flexible wrist with a semi-lunate carpal (wrist bone).
- Hollow, thin-walled bones.
- 3-fingered opposable grasping manus (hand), 4-toed pes (foot) but supported by 3 main toes.
- Reduced, posteriorly stiffened tail.
- Elongated metatarsals (bones of the feet between the ankle and toes).
- S-shaped curved neck.
- Erect, digitgrade (ankle held well off the ground) stance with feet postitioned directly below the body.
- Similar eggshell microstructure.
- Teeth with a constriction between the root and the crown.
- Functional basis for wing power stroke present in arms and pectoral girdle (during motion, the arms were swung down and forward, then up and backwards, describing a "figure-eight" when viewed laterally).
- Expanded pneumatic sinuses in the skull.
- Five or more vertebrae incorporated into the sacrum (hip).
- Straplike scapula (shoulder blade).
- Clavicles (collarbone) fused to form a furcula (wishbone).
- Hingelike ankle joint, with movement mostly restricted to the fore-aft plane.
- Secondary bony palate (nostrils open posteriorly in throat).
- Possibly feathers. this awaits more study. Small, possibly feathered dinosaurs were recently found in China. It appears that many coelurosaurs were cloaked in an external fibrous covering that could be called "protofeathers."
Objections to the theory of the dinosaurian origin of birds
Some researchers have raised issues that may seem to make the theropod origin of birds difficult to support, but these difficulties are more illusory than substantial. One proposed difficulty is the gap in the fossil record between the first known bird (Late Jurassic) and the dromaeosaurs, probable sister group of birds (Early Cretaceous). This overlooks the blatant fact that other maniraptoran coelurosaurs, such as Ornitholestes, Coelurus, and Compsognathus, are known from strata of Late Jurassic age. If other maniraptorans were there, it logically follows that the ancestors of dromaeosaurs were there. Fragmentary remains of possible dromaeosaurs are also known from the Late Jurassic.
Other arguments, such as the putative differences between theropod and bird finger development, or lung morphology, or ankle bone morphology, all stumble on the lack of relevant data on extinct theropods, misinterpretations of anatomy, simplifying assumptions about developmental flexibility, and/or speculations about convergence, biomechanics, or selective pressures. The opponents of the theropod hypothesis refuse to propose an alternative hypothesis that is falsifiable. This is probably because there are no other suitable candidates for avian ancestors. "Thecodonts" are often promoted as such, but this is an obfuscatory, antiquated term for a hodgepodge of poorly understood and paraphyletic, undiagnosible reptiles. The problems cited by such opponents for theropods are often more serious for the "thecodont" pseudo-hypothesis. Finally, such opponents also refuse to use the methods and evidence normally accepted by comparative evolutionary biologists, such as phylogenetic systematics and parsimony. They rely more on an "intuitive approach," which is not a method at all but just an untestable gestalt impression laden with assumptions about how evolution must work.
The "controversy" remains an interest more of the press than the general scientific community. There are more interesting issues for scientists to explore, such as how flight performance changed in birds, what the earliest function(s) of feathers was(were), when endothermy arose in some archosaurs, which group of theropods was ancestral to birds, how theropod ecology changed with the acquisition of flight, why some bird groups survived the Cretaceous extinction of other dinosaurs, etc.
Without its feathers, Archaeopteryx looks much like a small coelurosaur such as a dromaeosaurid or troodontid.
The facts are resoundingly in support of a maniraptoran origin for birds certainly a theropodan origin at the very least. So when you see a hawk diving to snatch a dove, or an egret darting for fish, or an ostrich dashing across the African savanna, know that you are gaining some insight into what the extinct dinosaurs were like. However, do note that extant (living) birds are quite different from extinct dinosaurs in many ways, so it's not safe to assume that all dinosaurs are the same. For that matter, extant birds are quite different from Jurassic and Cretaceous birds. Time passes, the environment changes. life evolves. Extant birds have been separated evolutionarily from the other coelurosaurian dinosaurs for some 150 million years, so they do look, act, and function quite differently, but science has shown us that they are closely linked by their common evolutionary history.
Yale study finds that dinosaurs were warm-blooded
Despite the outsized role dinosaurs have played in film and our imaginations, their physiology has long eluded scientists.
Earlier this year, a Yale group conducted a study finding groups of dinosaurs were warm-blooded, providing a new basis for the understanding of dinosaur biology. The researchers studied three lineages of dinosaurs — sauropods, ornithischia and therapods — in terms of their internal body temperature compared to the external environmental temperature. The lead author of the paper was Robin Dawson, who conducted the research as a doctoral student in geology and geophysics at Yale, along with Yale paleontologist Pincelli Hull and former Yale researchers Daniel Field and Hagit Affek.
“For as long as we were studying dinosaurs, we were fascinated by them,” said Dawson. “There’s been this question of how similar or different are they to living reptiles in terms of how they maintain their body heat.”
The study was first inspired by a paper attempting to research the temperature of dinosaurs by analyzing teeth, Dawson said. The group chose to use eggshells, however, as they form within the body of a female dinosaur and would therefore be “more representative of the core body temperature.” In the study, they applied a technique called clumped isotope paleothermometry, first developed for paleoclimate studies, to analyze the eggshells.
The group additionally considered the body temperature of the dinosaurs in relation to the external environmental temperature when drawing their conclusions. The comparison allowed them to more definitively state that dinosaurs were likely able to raise their body temperature using their metabolism, as opposed to simply having warmer temperatures as a result of being in a hot environment. This ability to utilize metabolism to control internal body temperature, Dawson stated, is an ancestral trait and “something we can tie back to the common ancestor of all these three groups of dinosaurs.”
“ My research usually uses the same geochemical methods to study climate change, but these methods give us the tool to ask questions about other temperatures too,” Affek wrote in an email to the News. “The idea to understand body temperatures through comparison with environmental temperature is of course related to my climate research.”
The study additionally provides insight into the evolution of the physiology of modern birds and their specialized biological features.
“We discovered that all three of those major lineages of dinosaurs exhibited internal body temperatures that fall within the range of variation of living birds, suggesting that what we think of as the specialized warm-bloodedness of living birds may actually be a truly ancient feature,” said Field.
There are still many questions about these captivating creatures left to answer. In the future, Dawson hopes to “look at more diverse groups” and go “further back in the evolutionary tree to see how far back this capability goes.”
Still, Affek wrote, “Like most curiosity driven basic research, there are no clear direct implications. However, if a study like this one would inspire students to be interested in geochemistry, we have done our job.”
The Great Hall at the Peabody, home to many of the museum’s dinosaur fossils, was opened in the 1930s.
Feathered Dinosaurs: How do we know?
For a long time feathered dinosaurs just looked weird to me. Seeing fuzzy Deinonychus or some other dromeosaur with a splash of plumage never looked quite right and I didn’t understand why in the course of a few years predatory dinosaurs went from being scaly to being covered in down. Most of the books I had seen didn’t explain it beyond “These dinosaurs were closely related to birds,” something I didn’t dispute but was not enough to make me feel comfortable with feathered raptors. Even after I started taking a greater interest in paleontology I still had problems with reconstructions of feathered dromeosaurs when no specimens with feathers had yet been found. As I learned more, however, I came around to the notion that any Deinonychus or Velociraptor that appears without feathers is a naked dinosaur, a growing body of evidence showing that there were probably many more feathered dinosaurs than had previously been suspected.
The notion that birds and dinosaurs are closely related has been around for a very long time, kicked off by the discovery of Archaeopteryx and Compsognathus in the mid-19th century and popularized by T.H. Huxley. (It should be noted, though, that similarity was not always considered to reflect an ancestor-descendant relationship.) Even though the term “dinosaur” had only just been coined by Richard Owen in 1842 by the 1870’s the Solnhofen fossils, trackways, and the bipedal Hadrosaurus and Dryptosaurus spurred the first Dinosaur Renaissance, revealing bipedal (and even bird-like) animals rather than the pachyderm-like creatures Owen brought to life at the Crystal Palace. The smaller dinosaurs like Compsognathus and Hypsilophodon were particularly important as they were considered to be more representative of the form of bird ancestors, flightless birds like rheas and emus being the next step in the hypothetical evolutionary system. Still, it wasn’t until the second Dinosaur Renaissance of the late 20th century that the notion of birds as living dinosaurs began to hatch.
A particular problem plagued the hypothesis that birds evolved from dinosaurs, however no feathered dinosaurs had been found. Archaeopteryx was considered to be a bird, too derived to be comfortably called a feathered dinosaur, and while it became increasingly important as a transitional fossil a transition from what was debated. Eventually the morphological problems that faced the dinosaur hypothesis, like the supposed absence of clavicles, were overcome with new evidence and increased study but more than Archaeopteryx was needed to confirm the predictions being made. Enter Sinosauropteryx prima, described in 1996 (Chen et al 1998). Although there was some skepticism about whether or not the preserved structures were really feathers (Unwin 1998, Thomas & Garner 1998) a flood of feathered dinosaurs coming out of China soon followed and overwhelmingly supported the notion that birds evolved from dinosaurs.
Specimens like “Dave” (a probable Sinornithosaurus, Ji et al 2001, the first specimen of Sinornithosaurus millenii also bearing filamentous feathers [Xu et al 1999]) threw greater weight to the notion that birds had evolved from predatory dinosaurs. (For a fairly recent reviews see Norell & Xu 2005 and Zhou 2004.) Even more surprising, however, was the discovery of Beipiaosaurus inexpectus, a therizinosauroid dinosaur with integumentary feathers. While they are theropods relatively closely related to the raptors therizinosauroid dinosaurs are also very different, having long necks, huge claws on their hands, and perhaps a herbivorous diet. If these dinosaurs had feathers it raises the question of whether other coelurosaurs, which include the ostrich-like ornithomimosaurs and the tyrannosaurs, also had feathers. It is entirely possible that even the terrifying Tyrannosaurus had plumage during at least some stage of its life, perhaps to regulate body temperature when small but shedding the feathers as it quickly became larger, and even the recently described Jurassic tyrannosauroid Guanlong (Xu et al 2006) may have had feathers. This hypothesis has yet to be confirmed but it may be that feathers are not just indicative of dromeosaurs but of coelurosaurs as a group.
Feathers pop up again and again in differing forms and arrangements in coelurosaurs, and if we think about this evolutionarily the prediction that at least all dromeosaurs should be feathered is clear. If feathers were not inherited from a common ancestor then they would have to evolve several times within the coelurosaurs, such large-scale convergence being unlikely. If different groups of coelurosaurs were feathered it is reasonable to assume that most, if not all, were, and any that lacked feathers would have secondarily lost them for one reason or another. This prediction is still being worked out but future studies may help confirm or refute it, especially since there is more than one way to detect the presence of feathers in the fossil record.
The discovery that truly blew me away was revealed in a short note printed in Science last year. Until recently I had assumed that the detection of feathered dinosaurs relied entirely upon exceptional preservation, feathers being so delicate that in most cases they will not be preserved (indeed, Archaeopteryx specimens in which the feathers were not well-preserved were mistaken for Compsognathus and pterodactyls). If the feathers are not preserved we can still make the case that the dinosaur would have been feathered based upon its relationships but confirming the idea would require an exceptionally-preserved specimen, the chances of finding one becoming increasingly less likely with increasing body size. What Turner et al (2007) found, however, were quill knobs on the forearm of Velociraptor, the very same structures seen on living birds with secondary feathers. The terrors of Jurassic Park had more than the sparse mohawks they sported in the third installment they had what would appear to be flight feathers, perhaps being used for display since they certainly could not fly.
Regardless of what they were used for there is now an osteological character that can be observed to see if some dinosaurs had secondary feathers, something that can be useful for large animals unlikely to have their feathers preserved in the fossil record. What’s more, the detection of feathers associated with Shuvuuia suggests that there may be evidence of feathers associated with some theropods in deposits that would not be considered to exhibit “exceptional preservation.” The potential that feathers may surround some dinosaurs in non-lagerstatten deposits requires greater care and attention to detail while excavating. In such situations where the presence of feathers might be ambiguous chemical tests can help resolve the issue, the presence of feathers on Shuvuuia (Schweitzer et al 1999) confirmed when tests turned up beta-keratin. This simultaneously placed Shuvuuia close to birds and illustrated that proteins may survive much longer than expected in the fossil record.
As Mark Norell once explained to me when I asked him about this question we can be as confident that dromeosaurs had feathers as we are that Australopithecus was covered in hair (a statement similar to one attributed to him in Science in 1999). Reconstructions of feathered dinosaurs may sometimes look silly, yes, but our aesthetic preferences should not dictate whether we accept or reject a scientific reality. Dromeosaurs, and possibly most coelurosaurs, had feathers, and that is one of the most exciting notions to come out of paleontology in recent years. There are still plenty of questions about how birds evolved even if their familial relationships have become better understood, though, and I have tried to focus on the presence of feathers here rather than their origin. Interdisciplinary studies, particularly of development (Wagner 2005, Vargas & Fallon 2005), have become more important to understanding the origin of birds and old dichotomies have come into question as research continues (Glen & Bennett 2007). As Richard Prum wrote in a 2002 review, “ornithology is extant dinosaur biology,” and the origin & evolution of birds will likely be a hot area of research for years to come.
How Birds and Reptiles are Related
Here at the zoo, we specialize in reptiles and amphibians, and that includes exhibits with emus and parakeets. Because of this, we often hear feedback from visitors wondering why on earth we have birds at a reptile zoo. Well, the short answer is…birds are reptiles! However, that wasn’t always the case. Let us explain.
There are four major groups of reptiles living today: turtles/tortoises, lizards/snakes, crocodilians, and dinosaurs. The last two groups are archosaurs, a very specialized group of reptiles that have been around for 225 million years! Archosaurs are the living reptiles that birds are most closely related to.
Here’s a more detailed explanation from Arizona State University’s Ask a Biologist:
Birds are most closely related to crocodiles. To understand this, we should look at some history. The first groups of reptiles evolved about 300 million years ago. About 40 million years later, (very quickly by geologic standards), a group of reptiles called therapsids branched off, which eventually became modern mammals. Other groups of reptiles split off over the next 120 million years, and one branch called the dinosaurs were very successful. These dinosaurs were only distantly related to modern snakes, lizards, and turtles, groups that had split off at different times. But 65 million years ago there was a massive extinction event, and all dinosaurs were killed except for a single group of feathered dinosaurs. These evolved over the next 65 million years into modern birds. So birds aren’t just closely related to dinosaurs, they really are dinosaurs!
How do we know that Dinosaurs were reptilian? (not mammals)
Is there evidence in the fossils? Or other evidence from that period?
Or are we even 100% sure they weren't mammals?
Yes, there's quite a bit of evidence. One thing that very clearly makes them reptiles is their skulls. Fairly early in the evolution of amniotes (the group that includes both mammals and reptiles), you can split them into two groups based on the number of openings in their skulls. Therapsids had one opening on each side of the head, not counting their eye sockets and nostrils. Although early therapsids looked fairly reptilian, this group eventually gave rise to mammals. You can still find your one opening as the zygomatic arch in front of your ear, which your jaw muscle passes through. The other group of amniotes were the sauropsids. They had two openings in their skulls. You can see this in dinosaurs, as well as in modern lizards and other reptiles (besides turtles, because their openings closed up).
We've also found scaly skin impressions, which also tell us they are reptiles and not mammals, as the only scaled mammal I know of is the pangolin whose scales are just modified hairs.
Glad that you specified turtles' openings closed up, and didn't classify them as Anapsids. Recent fossil evidence supports them being derived Diapsids, and genetics supports them being related to Archosaurs (either an Archsauriform or Archosaurimorph, I always get mixed up as to which it is).
It's worth adding that dinosaurs and therapsids are distinct groups. Dinosaurs are closer to birds and therapsids to mammals (although since reptiles are non-phyletic, this doesn't rule them out from being classed as reptiles). However, some therapsids are commonly misidentified as dinosaurs, which adds to the confusion.
What was the use of those openings? Did they serve a purpose?
Did the Therapsids lay eggs?
So we actually have found evidence of scales? That's pretty cool. Like scale prints in dirt somewhere?
Well we know that mammals evolved from a different branch of the evolutionary tree, with mammals being synapsids and reptiles/birds/dinosaurs being in sauropsids. While this seems like a tautological response to your question, there are a great deal of anatomical characteristics from fossilized remains that are very similar to extant reptilians.
Dinosaurs have no placental connection to newborns, rather they lay eggs (although some incubate eggs internally) and these eggs aren't like mammal eggs because developing dinosaur young are nourished by yolk in the eggs. Many types of dinosaur bones are hollow like birds or have holes in them. Dinosaur skulls are lighter than youɽ expect and have multiple fossa, another characteristic common in birds and reptiles but not really mammals.
But I don't know if Iɽ call dinosaurs reptiles either. because both humans and dinosaurs both evolved from an ancestral amniote reptile, but I wouldn't call humans reptiles. Dinosaurs are between ancient reptiles and birds in terms of evolution.
I find that an appropriately specific - and widely used in the literature - definition of a "reptile" is Sauropsida, which excludes synapsids (incl. humans) and includes dinosaurs (incl. birds).
Then again, kind of moot, since the popular definition of "reptile" is paraphyletic.
Most systematists, when they even use 'reptile' - in formal publications other more specific clade names are used - mean squamates (lizards, snakes, amphisbaenids), tuatara, crocodilians, turtles, and birds. This includes dinosaurs. This use of "reptile" is as monophyletic clade which is what systematics works with. This groups organisms by evolutionary history not by shared traits. Shared traits are still important, but as evidence of evolutionary relationships not as intrinsic category markers. So something that was once a reptile can never evolve to not be a reptile. Conversely, no matter how much a mammal ancestor resembled what we think of as a reptile (scaly skin, egg laying, "cold blooded", sprawling gait) it was not a reptile.
Another proposal for how to redefine 'reptile' as a monophyletic group is to exclude archosaurs (birds and crocodiles - because they are more closely related to each other than to snakes etc). However, now that turtles seem to be more closely related to archosaurs than the rest, that just leaves squamates + tuatara as the modern reptiles and we already have a name for that clade (Lepidosauria). I haven't really seen this scheme in actual use although it was officially adopted by the CNAH for a time.
As a aside about intuiting a monophyletic clade for those who tend to think spatially: If you picture an evolutionary tree, imagine grabbing somewhere along the tree. From that point and everything ➫ove' that (forward in time) is a monophyletic clade. Any group that you can't make in this way is not monophyletic.
Study presents new species of bizarre, extinct lizard previously misidentified as a bird
Oculudentavis naga, as depicted in this artist's reconstruction, was a bizarre lizard that researchers initially struggled to categorize. They are still unsure of its exact position in the lizard family tree. Credit: Stephanie Abramowicz/Peretti Museum Foundation/Current Biology
An international research team has described a new species of Oculudentavis, providing further evidence that the animal first identified as a hummingbird-sized dinosaur was actually a lizard.
The new species, named Oculudentavis naga in honor of the Naga people of Myanmar and India, is represented by a partial skeleton that includes a complete skull, exquisitely preserved in amber with visible scales and soft tissue. The specimen is in the same genus as Oculudentavis khaungraae, whose original description as the smallest known bird was retracted last year. The two fossils were found in the same area and are about 99 million years old.
Researchers published their findings in Current Biology today.
The team, led by Arnau Bolet of Barcelona's Institut Català de Paleontologia Miquel Crusafont,used CT scans to separate, analyze and compare each bone in the two species digitally, uncovering a number of physical characteristics that earmark the small animals as lizards. Oculudentavis is so strange, however, it was difficult to categorize without close examination of its features, Bolet said.
"The specimen puzzled all of us at first because if it was a lizard, it was a highly unusual one," he said in an institutional press release.
Bolet and fellow lizard experts from around the world first noted the specimen while studying a collection of amber fossils acquired from Myanmar by gemologist Adolf Peretti. (Note: The mining and sale of Burmese amber are often entangled with human rights abuses. Peretti purchased the fossil legally prior to the conflict in 2017. More details appear in an ethics statement at the end of this story).
Herpetologist Juan Diego Daza examined the small, unusual skull, preserved with a short portion of the spine and shoulder bones. He, too, was confused by its odd array of features: Could it be some kind of pterodactyl or possibly an ancient relative of monitor lizards?
"From the moment we uploaded the first CT scan, everyone was brainstorming what it could be," said Daza, assistant professor of biological sciences at Sam Houston State University. "In the end, a closer look and our analyses help us clarify its position."
Major clues that the mystery animal was a lizard included the presence of scales teeth attached directly to its jawbone, rather than nestled in sockets, as dinosaur teeth were lizard-like eye structures and shoulder bones and a hockey stick-shaped skull bone that is universally shared among scaled reptiles, also known as squamates.Oculudentavis naga, top, is in the same genus as Oculudentavis khaungraae, bottom, a specimen whose controversial identification as an early bird was retracted last year. Both specimens' skulls deformed during preservation, emphasizing lizardlike features in one and birdlike features in the other. Credit: Edward Stanley of the Florida Museum of Natural History/Peretti Museum Foundation/Current Biology
The team also determined both species' skulls had deformed during preservation. Oculudentavis khaungraae's snout was squeezed into a narrower, more beaklike profile while O. naga's braincase—the part of the skull that encloses the brain—was compressed. The distortions highlighted birdlike features in one skull and lizard-like features in the other, said study co-author Edward Stanley, director of the Florida Museum of Natural History's Digital Discovery and Dissemination Laboratory.
"Imagine taking a lizard and pinching its nose into a triangular shape," Stanley said. "It would look a lot more like a bird."
Oculudentavis' birdlike skull proportions, however, do not indicate that it was related to birds, said study co-author Susan Evans, professor of vertebrate morphology and paleontology at University College London.
"Despite presenting a vaulted cranium and a long and tapering snout, it does not present meaningful physical characters that can be used to sustain a close relationship to birds, and all of its features indicate that it is a lizard," she said.
While the two species' skulls do not closely resemble one another at first glance, their shared characteristics became clearer as the researchers digitally isolated each bone and compared them with each other. The differences were minimized when the original shape of both fossils was reconstructed through a painstaking process known as retrodeformation, conducted by Marta Vidal-García from the University of Calgary in Canada.
"We concluded that both specimens are similar enough to belong to the same genus, Oculudentavis, but a number of differences suggest that they represent separate species," Bolet said.
In the better-preserved O. naga specimen, the team was also able to identify a raised crest running down the top of the snout and a flap of loose skin under the chin that may have been inflated in display, Evans said. However, the researchers came up short in their attempts to find Oculudentavis' exact position in the lizard family tree.
"It's a really weird animal. It's unlike any other lizard we have today," Daza said. "We think it represents a group of squamates we were not aware of."
The Cretaceous Period, 145.5 to 66 million years ago, gave rise to many lizard and snake groups on the planet today, but tracing fossils from this era to their closest living relatives can be difficult, Daza said.Amber can exquisitely preserve small forest animals that would have otherwise decomposed. CT scans of this fossilized Oculudentavis naga showcase the specimen's scales, skin and soft tissue. Credit: Adolf Peretti/Peretti Museum Foundation/Current Biology
"We estimate that many lizards originated during this time, but they still hadn't evolved their modern appearance," he said. "That's why they can trick us. They may have characteristics of this group or that one, but in reality, they don't match perfectly."
The majority of the study was conducted with CT data created at the Australian Centre for Neutron Scattering and the High-Resolution X-ray Computed Tomography Facility at the University of Texas at Austin. O. naga is now available digitally to anyone with Internet access, which allows the team's findings to be reassessed and opens up the possibility of new discoveries, Stanley said.
"With paleontology, you often have one specimen of a species to work with, which makes that individual very important. Researchers can therefore be quite protective of it, but our mindset is 'Let's put it out there,'" Stanley said. "The important thing is that the research gets done, not necessarily that we do the research. We feel that's the way it should be."
While Myanmar's amber deposits are a treasure trove of fossil lizards found nowhere else in the world, Daza said the consensus among paleontologists is that acquiring Burmese amber ethically has become increasingly difficult, especially after the military seized control in February.
"As scientists we feel it is our job to unveil these priceless traces of life, so the whole world can know more about the past. But we have to be extremely careful that during the process, we don't benefit a group of people committing crimes against humanity," he said. "In the end, the credit should go to the miners who risk their lives to recover these amazing amber fossils."
Other study co-authors are J. Salvador Arias of Argentina's National Scientific and Technical Research Council (CONICET—Miguel Lillo Foundation) Andrej Cernansky of Comenius University in Bratislava, Slovakia Aaron Bauer of Villanova University Joseph Bevitt of the Australian Nuclear Science and Technology Organisation and Adolf Peretti of the Peretti Museum Foundation in Switzerland.
A 3D digitized specimen of O. naga is available online via MorphoSource. The O. naga fossil is housed at the Peretti Museum Foundation in Switzerland, and the O. khaungraae specimen is at the Hupoge Amber Museum in China.
The specimen was acquired following the ethical guidelines for the use of Burmese amber set forth by the Society for Vertebrate Paleontology. The specimen was purchased from authorized companies that are independent from military groups. These companies export amber pieces legally from Myanmar, following an ethical code that ensures no violations of human rights were committed during mining and commercialization and that money derived from sales did not support armed conflict. The fossil has an authenticated paper trail, including export permits from Myanmar. All documentation is available from the Peretti Museum Foundation upon request.
Early interpretations of dinosaurs: 1820s to early 1900s Edit
The study of dinosaurs began in the 1820s in England. Pioneers in the field, such as William Buckland, Gideon Mantell, and Richard Owen, interpreted the first, very fragmentary remains as belonging to large quadrupedal beasts.  Their early work can be seen today in the Crystal Palace Dinosaurs, constructed in the 1850s, which present known dinosaurs as elephantine lizard-like reptiles.  Despite these reptilian appearances, Owen speculated that dinosaur heart and respiratory systems were more similar to that of a mammal than a reptile. 
Changing views and the dinosaur renaissance Edit
In the late 1960s, similar ideas reappeared, beginning with John Ostrom's work on Deinonychus and bird evolution.  His student, Bob Bakker, popularized the changing thought in a series of papers beginning with The superiority of dinosaurs in 1968.  In these publications, he argued strenuously that dinosaurs were warm-blooded and active animals, capable of sustained periods of high activity. In most of his writings Bakker framed his arguments as new evidence leading to a revival of ideas popular in the late 19th century, frequently referring to an ongoing dinosaur renaissance. He used a variety of anatomical and statistical arguments to defend his case,   the methodology of which was fiercely debated among scientists. 
These debates sparked interest in new methods for ascertaining the palaeobiology of extinct animals, such as bone histology, which have been successfully applied to determining the growth-rates of many dinosaurs.
Today, it is generally thought that many or perhaps all dinosaurs had higher metabolic rates than living reptiles, but also that the situation is more complex and varied than Bakker originally proposed. For example, while smaller dinosaurs may have been true endotherms, the larger forms could have been inertial homeotherms,   or that many dinosaurs could have had intermediate metabolic rates. 
The earliest dinosaurs were almost certainly predators, and shared several predatory features with their nearest non-dinosaur relatives like Lagosuchus, including: relatively large, curved, blade-like teeth in large, wide-opening jaws that closed like scissors relatively small abdomens, as carnivores do not require large digestive systems. Later dinosaurs regarded as predators sometimes grew much larger, but retained the same set of features. Instead of chewing their food, these predators swallowed it whole. 
The feeding habits of ornithomimosaurs and oviraptorosaurs are a mystery: although they evolved from a predatory theropod lineage, they have small jaws and lack the blade-like teeth of typical predators, but there is no evidence of their diet or how they ate and digested it. 
Features of other groups of dinosaurs indicate they were herbivores. These features include:
- Jaws that only slightly opened and closed so that all the teeth met at the same time
- Large abdomens that could accommodate large amounts of vegetation and store it for the long time it takes to digest vegetation
- Guts that likely contained endosymbiotic micro-organisms that digest cellulose, as no known animal can digest this tough material directly 
Sauropods, which were herbivores, did not chew their food, as their teeth and jaws appear suitable only for stripping leaves off plants. Ornithischians, also herbivores, show a variety of approaches. The armored ankylosaurs and stegosaurs had small heads and weak jaws and teeth, and are thought to have fed in much the same way as sauropods. The pachycephalosaurs had small heads and weak jaws and teeth, but their lack of large digestive systems suggests a different diet, possibly fruits, seeds, or young shoots, which would have been more nutritious to them than leaves. 
On the other hand, ornithopods such as Hypsilophodon, Iguanodon and various hadrosaurs had horny beaks for snipping off vegetation and jaws and teeth that were well-adapted for chewing. The horned ceratopsians had similar mechanisms. 
It has often been suggested that at least some dinosaurs used swallowed stones, known as gastroliths, to aid digestion by grinding their food in muscular gizzards, and that this was a feature they shared with birds. In 2007 Oliver Wings reviewed references to gastroliths in scientific literature and found considerable confusion, starting with the lack of an agreed and objective definition of "gastrolith". He found that swallowed hard stones or grit can assist digestion in birds that mainly feed on grain but may not be essential—and that birds that eat insects in summer and grain in winter usually get rid of the stones and grit in summer. Gastroliths have often been described as important for sauropod dinosaurs, whose diet of vegetation required very thorough digestion, but Wings concluded that this idea was incorrect: gastroliths are found with only a small percentage of sauropod fossils where they have been found, the amounts are too small and in many cases the stones are too soft to have been effective in grinding food most of these gastroliths are highly polished, but gastroliths used by modern animals to grind food are roughened by wear and corroded by stomach acids hence the sauropod gastroliths were probably swallowed accidentally. On the other hand, he concluded that gastroliths found with fossils of advanced theropod dinosaurs such as Sinornithomimus and Caudipteryx resemble those of birds, and that the use of gastroliths for grinding food may have appeared early in the group of dinosaurs from which these dinosaurs and birds both evolved.  
When laying eggs, female birds grow a special type of bone in their limbs between the hard outer bone and the marrow.  This medullary bone, which is rich in calcium, is used to make eggshells, and the birds that produced it absorb it when they have finished laying eggs.  Medullary bone has been found in fossils of the theropods Tyrannosaurus and Allosaurus and of the ornithopod Tenontosaurus.  
Because the line of dinosaurs that includes Allosaurus and Tyrannosaurus diverged from the line that led to Tenontosaurus very early in the evolution of dinosaurs, the presence of medullary bone in both groups suggests that dinosaurs in general produced medullary tissue. On the other hand, crocodilians, which are dinosaurs' second closest extant relatives after birds, do not produce medullary bone. This tissue may have first appeared in ornithodires, the Triassic archosaur group from which dinosaurs are thought to have evolved. 
Medullary bone has been found in specimens of sub-adult size, which suggests that dinosaurs reached sexual maturity before they were full-grown. Sexual maturity at sub-adult size is also found in reptiles and in medium- to large-sized mammals, but birds and small mammals reach sexual maturity only after they are full-grown—which happens within their first year. Early sexual maturity is also associated with specific features of animals' life cycles: the young are born relatively well-developed rather than helpless and the death-rate among adults is high. 
Air sacs Edit
From about 1870 onwards scientists have generally agreed that the post-cranial skeletons of many dinosaurs contained many air-filled cavities (postcranial skeletal pneumaticity, especially in the vertebrae. Pneumatization of the skull (such as paranasal sinuses) is found in both synapsids and archosaurs, but postcranial pneumatization is found only in birds, non-avian saurischian dinosaurs, and pterosaurs.
For a long time these cavities were regarded simply as weight-saving devices, but Bakker proposed that they were connected to air sacs like those that make birds' respiratory systems the most efficient of all animals'. 
John Ruben et al. (1997, 1999, 2003, 2004) disputed this and suggested that dinosaurs had a "tidal" respiratory system (in and out) powered by a crocodile-like hepatic piston mechanism – muscles attached mainly to the pubis pull the liver backwards, which makes the lungs expand to inhale when these muscles relax, the lungs return to their previous size and shape, and the animal exhales. They also presented this as a reason for doubting that birds descended from dinosaurs.     
Critics have claimed that, without avian air sacs, modest improvements in a few aspects of a modern reptile's circulatory and respiratory systems would enable the reptile to achieve 50% to 70% of the oxygen flow of a mammal of similar size,  and that lack of avian air sacs would not prevent the development of endothermy.  Very few formal rebuttals have been published in scientific journals of Ruben et al.'s claim that dinosaurs could not have had avian-style air sacs but one points out that the Sinosauropteryx fossil on which they based much of their argument was severely flattened and therefore it was impossible to tell whether the liver was the right shape to act as part of a hepatic piston mechanism.  Some recent papers simply note without further comment that Ruben et al. argued against the presence of air sacs in dinosaurs. 
Researchers have presented evidence and arguments for air sacs in sauropods, "prosauropods", coelurosaurs, ceratosaurs, and the theropods Aerosteon and Coelophysis.
In advanced sauropods ("neosauropods") the vertebrae of the lower back and hip regions show signs of air sacs. In early sauropods only the cervical (neck) vertebrae show these features. If the developmental sequence found in bird embryos is a guide, air sacs actually evolved before the channels in the skeleton that accommodate them in later forms.  
Evidence of air sacs has also been found in theropods. Studies indicate that fossils of coelurosaurs,  ceratosaurs,  and the theropods Coelophysis and Aerosteon exhibit evidence of air sacs. Coelophysis, from the late Triassic, is one of the earliest dinosaurs whose fossils show evidence of channels for air sacs.  Aerosteon, a Late Cretaceous allosaur, had the most bird-like air sacs found so far. 
Early sauropodomorphs, including the group traditionally called "prosauropods", may also have had air sacs. Although possible pneumatic indentations have been found in Plateosaurus and Thecodontosaurus, the indentations are very small. One study in 2007 concluded that prosauropods likely had abdominal and cervical air sacs, based on the evidence for them in sister taxa (theropods and sauropods). The study concluded that it was impossible to determine whether prosauropods had a bird-like flow-through lung, but that the air sacs were almost certainly present.  A further indication for the presence of air sacs and their use in lung ventilation comes from a reconstruction of the air exchange volume (the volume of air exchanged with each breath) of Plateosaurus, which when expressed as a ratio of air volume per body weight at 29 ml/kg is similar to values of geese and other birds, and much higher than typical mammalian values. 
So far no evidence of air sacs has been found in ornithischian dinosaurs. But this does not imply that ornithischians could not have had metabolic rates comparable to those of mammals, since mammals also do not have air sacs. 
Three explanations have been suggested for the development of air sacs in dinosaurs: 
- Increase in respiratory capacity. This is probably the most common hypothesis, and fits well with the idea that many dinosaurs had fairly high metabolic rates.
- Improving balance and maneuvrability by lowering the center of gravity and reducing rotational inertia. However this does not explain the expansion of air sacs in the quadrupedal sauropods.
- As a cooling mechanism. It seems that air sacs and feathers evolved at about the same time in coelurosaurs. If feathers retained heat, their owners would have required a means of dissipating excess heat. This idea is plausible but needs further empirical support.
Calculations of the volumes of various parts of the sauropod Apatosaurus ' respiratory system support the evidence of bird-like air sacs in sauropods:
- Assuming that Apatosaurus, like dinosaurs' nearest surviving relatives crocodilians and birds, did not have a diaphragm, the dead-space volume of a 30-ton specimen would be about 184 liters. This is the total volume of the mouth, trachea and air tubes. If the animal exhales less than this, stale air is not expelled and is sucked back into the lungs on the following inhalation.
- Estimates of its tidal volume – the amount of air moved into or out of the lungs in a single breath – depend on the type of respiratory system the animal had: 904 liters if avian 225 liters if mammalian 19 liters if reptilian.
On this basis, Apatosaurus could not have had a reptilian respiratory system, as its tidal volume would have been less than its dead-space volume, so that stale air was not expelled but was sucked back into the lungs. Likewise, a mammalian system would only provide to the lungs about 225 − 184 = 41 liters of fresh, oxygenated air on each breath. Apatosaurus must therefore have had either a system unknown in the modern world or one like birds', with multiple air sacs and a flow-through lung. Furthermore, an avian system would only need a lung volume of about 600 liters while a mammalian one would have required about 2,950 liters, which would exceed the estimated 1,700 liters of space available in a 30-ton Apatosaurus′ chest. 
Dinosaur respiratory systems with bird-like air sacs may have been capable of sustaining higher activity levels than mammals of similar size and build can sustain. In addition to providing a very efficient supply of oxygen, the rapid airflow would have been an effective cooling mechanism, which is essential for animals that are active but too large to get rid of all the excess heat through their skins. 
The palaeontologist Peter Ward has argued that the evolution of the air sac system, which first appears in the very earliest dinosaurs, may have been in response to the very low (11%) atmospheric oxygen of the Carnian and Norian ages of the Triassic Period. 
Uncinate processes on the ribs Edit
Birds have spurs called "uncinate processes" on the rear edges of their ribs, and these give the chest muscles more leverage when pumping the chest to improve oxygen supply. The size of the uncinate processes is related to the bird's lifestyle and oxygen requirements: they are shortest in walking birds and longest in diving birds, which need to replenish their oxygen reserves quickly when they surface. Non-avian maniraptoran dinosaurs also had these uncinate processes, and they were proportionately as long as in modern diving birds, which indicates that maniraptorans needed a high-capacity oxygen supply.  
Plates that may have functioned the same way as uncinate processes have been observed in fossils of the ornithischian dinosaur Thescelosaurus, and have been interpreted as evidence of high oxygen consumption and therefore high metabolic rate. 
Nasal turbinates Edit
Nasal turbinates are convoluted structures of thin bone in the nasal cavity. In most mammals and birds these are present and lined with mucous membranes that perform two functions. They improve the sense of smell by increasing the area available to absorb airborne chemicals, and they warm and moisten inhaled air, and extract heat and moisture from exhaled air to prevent desiccation of the lungs.
John Ruben and others have argued that no evidence of nasal turbinates has been found in dinosaurs. All the dinosaurs they examined had nasal passages that were too narrow and short to accommodate nasal turbinates, so dinosaurs could not have sustained the breathing rate required for a mammal-like or bird-like metabolic rate while at rest, because their lungs would have dried out.     However, objections have been raised against this argument. Nasal turbinates are absent or very small in some birds (e.g. ratites, Procellariiformes and Falconiformes) and mammals (e.g. whales, anteaters, bats, elephants, and most primates), although these animals are fully endothermic and in some cases very active.     Other studies conclude that nasal turbinates are fragile and seldom found in fossils. In particular none have been found in fossil birds. 
In 2014 Jason Bourke and others in Anatomical Record reported finding nasal turbinates in pachycephalosaurs. 
In principle one would expect dinosaurs to have had two-part circulations driven by four-chambered hearts, since many would have needed high blood pressure to deliver blood to their heads, which were high off the ground, but vertebrate lungs can only tolerate fairly low blood pressure.  In 2000, a skeleton of Thescelosaurus, now on display at the North Carolina Museum of Natural Sciences, was described as including the remnants of a four-chambered heart and an aorta. The authors interpreted the structure of the heart as indicating an elevated metabolic rate for Thescelosaurus, not reptilian cold-bloodedness.  Their conclusions have been disputed other researchers published a paper where they assert that the heart is really a concretion of entirely mineral "cement". As they note: the anatomy given for the object is incorrect, for example the alleged "aorta" is narrowest where it meets the "heart" and lacks arteries branching from it the "heart" partially engulfs one of the ribs and has an internal structure of concentric layers in some places and another concretion is preserved behind the right leg.  The original authors defended their position they agreed that the chest did contain a type of concretion, but one that had formed around and partially preserved the more muscular portions of the heart and aorta. 
Regardless of the object's identity, it may have little relevance to dinosaurs' internal anatomy and metabolic rate. Both modern crocodilians and birds, the closest living relatives of dinosaurs, have four-chambered hearts, although modified in crocodilians, and so dinosaurs probably had them as well. However such hearts are not necessarily tied to metabolic rate. 
No dinosaur egg has been found that is larger than a basketball and embryos of large dinosaurs have been found in relatively small eggs, e.g. Maiasaura.  Like mammals, dinosaurs stopped growing when they reached the typical adult size of their species, while mature reptiles continued to grow slowly if they had enough food. Dinosaurs of all sizes grew faster than similarly sized modern reptiles but the results of comparisons with similarly sized "warm-blooded" modern animals depend on their sizes:  
|Weight (kg)||Comparative growth rate of dinosaurs||Modern animals in this size range|
|0.22||Slower than marsupials||Rat|
|1 – 20||Similar to marsupials, slower than precocial birds (those that are born capable of running)||From guinea pig to Andean condor|
|100 – 1000||Faster than marsupials, similar to precocial birds, slower than placental mammals||From red kangaroo to polar bear|
|1500 – 3500||Similar to most placental mammals||From American bison to rhinoceros|
|25000 and over||Very fast, similar to modern whales but about half that of a scaled-up altricial bird (one that is born helpless) – if one could scale up a bird to 25,000 kilograms (25 long tons 28 short tons)||Whales|
Tyrannosaurus rex showed a "teenage growth spurt":  
- ½ ton at age 10
- very rapid growth to around 2 tons in the mid-teens (about ½ ton per year).
- negligible growth after the second decade.
A 2008 study of one skeleton of the hadrosaur Hypacrosaurus concluded that this dinosaur grew even faster, reaching its full size at the age of about 15 the main evidence was the number and spacing of growth rings in its bones. The authors found this consistent with a life-cycle theory that prey species should grow faster than their predators if they lose a lot of juveniles to predators and the local environment provides enough resources for rapid growth. 
It appears that individual dinosaurs were rather short-lived, e.g. the oldest (at death) Tyrannosaurus found so far was 28 and the oldest sauropod was 38.  Predation was probably responsible for the high death rate of very young dinosaurs and sexual competition for the high death rate of sexually mature dinosaurs. 
Scientific opinion about the life-style, metabolism and temperature regulation of dinosaurs has varied over time since the discovery of dinosaurs in the mid-19th century. The activity of metabolic enzymes varies with temperature, so temperature control is vital for any organism, whether endothermic or ectothermic. Organisms can be categorized as poikilotherms (poikilo – changing), which are tolerant of internal temperature fluctuations, and homeotherms (homeo – same), which must maintain a constant core temperature. Animals can be further categorized as endotherms, which regulate their temperature internally, and ectotherms, which regulate temperature by the use of external heat sources.
What the debate is about Edit
"Warm-bloodedness" is a complex and rather ambiguous term, because it includes some or all of:
- Homeothermy, i.e. maintaining a fairly constant body temperature. Modern endotherms maintain a variety of temperatures: 28 °C (82 °F) to 30 °C (86 °F) in monotremes and sloths 33 °C (91 °F) to 36 °C (97 °F) in marsupials 36 °C (97 °F) to 38 °C (100 °F) in most placentals and around 41 °C (106 °F) in birds. 
- Tachymetabolism, i.e. maintaining a high metabolic rate, particularly when at rest. This requires a fairly high and stable body temperature, since biochemical processes run about half as fast if an animal's temperature drops by 10C° most enzymes have an optimum operating temperature and their efficiency drops rapidly outside the preferred range. 
- Endothermy, i.e. the ability to generate heat internally, for example by "burning" fat, rather than via behaviors such as basking or muscular activity. Although endothermy is in principle the most reliable way to maintain a fairly constant temperature, it is expensive for example modern mammals need 10 to 13 times as much food as modern reptiles. 
Large dinosaurs may also have maintained their temperatures by inertial homeothermy, also known as "bulk homeothermy" or "mass homeothermy". In other words, the thermal capacity of such large animals was so high that it would take two days or more for their temperatures to change significantly, and this would have smoothed out variations caused by daily temperature cycles. This smoothing effect has been observed in large turtles and crocodilians, but Plateosaurus, which weighed about 700 kilograms (1,500 lb), may have been the smallest dinosaur in which it would have been effective. Inertial homeothermy would not have been possible for small species nor for the young of larger species.  Vegetation fermenting in the guts of large herbivores can also produce considerable heat, but this method of maintaining a high and stable temperature would not have been possible for carnivores or for small herbivores or the young of larger herbivores. 
Since the internal mechanisms of extinct creatures are unknowable, most discussion focuses on homeothermy and tachymetabolism.
Assessment of metabolic rates is complicated by the distinction between the rates while resting and while active. In all modern reptiles and most mammals and birds the maximum rates during all-out activity are 10 to 20 times higher than minimum rates while at rest. However, in a few mammals these rates differ by a factor of 70. Theoretically it would be possible for a land vertebrate to have a reptilian metabolic rate at rest and a bird-like rate while working flat out. However, an animal with such a low resting rate would be unable to grow quickly. The huge herbivorous sauropods may have been on the move so constantly in search of food that their energy expenditure would have been much the same irrespective of whether their resting metabolic rates were high or low. 
Metabolic options Edit
The main possibilities are that: 
- Dinosaurs were cold-blooded, like modern reptiles, except that the large size of many would have stabilized their body temperatures.
- They were warm-blooded, more like modern mammals or birds than modern reptiles.
- They were neither cold-blooded nor warm-blooded in modern terms, but had metabolisms that were different from and in some ways intermediate between those of modern cold-blooded and warm-blooded animals.
- They included animals with two or three of these types of metabolism.
Dinosaurs were around for about 150 million years, so it is very likely that different groups evolved different metabolisms and thermoregulatory regimes, and that some developed different physiologies from the first dinosaurs.
If all or some dinosaurs had intermediate metabolisms, they may have had the following features: 
- Low resting metabolic rates—which would reduce the amount of food they needed and allow them to use more of that food for growth than do animals with high resting metabolic rates.
- Inertial homeothermy
- The ability to control heat loss by expanding and contracting blood vessels just under the skin, as many modern reptiles do.
- Two-part circulations driven by four-chambered hearts.
- High aerobic capacity, allowing sustained activity.
Robert Reid has suggested that such animals could be regarded as "failed endotherms". He envisaged both dinosaurs and the Triassic ancestors of mammals passing through a stage with these features. Mammals were forced to become smaller as archosaurs came to dominate ecological niches for medium to large animals. Their decreasing size made them more vulnerable to heat loss because it increased their ratios of surface area to mass, and thus forced them to increase internal heat generation and thus become full endotherms. On the other hand, dinosaurs became medium to very large animals and thus were able to retain the "intermediate" type of metabolism. 
Bone structure Edit
Armand de Ricqlès discovered Haversian canals in dinosaur bones, and argued that there was evidence of endothermy in dinosaurs. These canals are common in "warm-blooded" animals and are associated with fast growth and an active life style because they help to recycle bone to facilitate rapid growth and repair damage caused by stress or injuries.  Dense secondary Haversian bone, which is formed during remodeling, is found in many living endotherms as well as dinosaurs, pterosaurs and therapsids. Secondary Haversian canals are correlated with size and age, mechanical stress and nutrient turnover. The presence of secondary Haversian canals suggests comparable bone growth and lifespans in mammals and dinosaurs.  Bakker argued that the presence of fibrolamellar bone (produced quickly and having a fibrous, woven appearance) in dinosaur fossils was evidence of endothermy. 
However, as a result of other, mainly later research, bone structure is not considered a reliable indicator of metabolism in dinosaurs, mammals or reptiles:
- Dinosaur bones often contain lines of arrested growth (LAGs), formed by alternating periods of slow and fast growth in fact many studies count growth rings to estimate the ages of dinosaurs.  The formation of growth rings is usually driven by seasonal changes in temperature, and this seasonal influence has sometimes been regarded as a sign of slow metabolism and ectothermy. But growth rings are found in polar bears and in mammals that hibernate.  The relationship between LAGs and seasonal growth dependency remains unresolved. 
- Fibrolamellar bone is fairly common in young crocodilians and sometimes found in adults. 
- Haversian bone has been found in turtles, crocodilians and tortoises,  but is often absent in small birds, bats, shrews and rodents. 
Nevertheless, de Ricqlès persevered with studies of the bone structure of dinosaurs and archosaurs. In mid-2008 he co-authored a paper that examined bone samples from a wide range of archosaurs, including early dinosaurs, and concluded that: 
- Even the earliest archosauriforms may have been capable of very fast growth, which suggests they had fairly high metabolic rates. Although drawing conclusions about the earliest archosauriformes from later forms is tricky, because species-specific variations in bone structure and growth rate are very likely, there are research strategies than can minimize the risk that such factors will cause errors in the analysis.
- Archosaurs split into three main groups in the Triassic: ornithodirans, from which dinosaurs evolved, remained committed to rapid growth crocodilians' ancestors adopted more typical "reptilian" slow growth rates and most other Triassic archosaurs had intermediate growth rates.
An osteohistological analysis of vascular density and density, shape and area of osteocytes concluded non-avian dinosaurs and the majority of archosauriforms (except Proterosuchus, crocodilians and phytosaurs) retained heat and had resting metabolic rates similar to those of extant mammals and birds. 
Metabolic rate, blood pressure and flow Edit
Endotherms rely highly on aerobic metabolism and have high rates of oxygen consumption during activity and rest. The oxygen required by the tissues is carried by the blood, and consequently blood flow rates and blood pressures at the heart of warm-blooded endotherms are considerably higher than those of cold-blooded ectotherms.  It is possible to measure the minimum blood pressures of dinosaurs by estimating the vertical distance between the heart and the top of the head, because this column of blood must have a pressure at the bottom equal to the hydrostatic pressure derived from the density of blood and gravity. Added to this pressure is that required to move the blood through the circulatory system. It was pointed out in 1976 that, because of their height, many dinosaurs had minimum blood pressures within the endothermic range, and that they must have had four-chambered hearts to separate the high pressure circuit to the body from the low pressure circuit to the lungs.  It was not clear whether these dinosaurs had high blood pressure simply to support the blood column or to support the high blood flow rates required by endothermy or both.
However, recent analysis of the tiny holes in fossil leg bones of dinosaurs provides a gauge for blood flow rate and hence metabolic rate.  The holes are called nutrient foramina, and the nutrient artery is the major blood vessel passing through to the interior of the bone, where it branches into tiny vessels of the Haversian canal system. This system is responsible for replacing old bone with new bone, thereby repairing microbreaks that occur naturally during locomotion. Without this repair, microbreaks would build up, leading to stress fractures and ultimately catastrophic bone failure. The size of the nutrient foramen provides an index of blood flow through it, according to the Hagen-Poiseuille equation. The size is also related to the body size of animal, of course, so this effect is removed by analysis of allometry. Blood flow index of the nutrient foramen of the femurs in living mammals increases in direct proportion to the animals' maximum metabolic rates, as measured during maximum sustained locomotion. Mammalian blood flow index is about 10 times greater than in ectothermic reptiles. Ten species of fossil dinosaurs from five taxonomic groups reveal indices even higher than in mammals, when body size is accounted for, indicating that they were highly active, aerobic animals. Thus high blood flow rate, high blood pressure, a four-chambered heart and sustained aerobic metabolism are all consistent with endothermy.
Growth rates Edit
Dinosaurs grew from small eggs to several tons in weight relatively quickly. A natural interpretation of this is that dinosaurs converted food into body weight very quickly, which requires a fairly fast metabolism both to forage actively and to assimilate the food quickly.  Developing bone found in juveniles is distinctly porous, which has been linked to vascularization and bone deposition rate, all suggesting growth rates close to those observed in modern birds.
But a preliminary study of the relationship between adult size, growth rate, and body temperature concluded that larger dinosaurs had higher body temperatures than smaller ones had Apatosaurus, the largest dinosaur in the sample, was estimated to have a body temperature exceeding 41 °C (106 °F), whereas smaller dinosaurs were estimated to have body temperatures around 25 °C (77 °F)  – for comparison, normal human body temperature is about 37 °C (99 °F).   Based on these estimations, the study concluded that large dinosaurs were inertial homeotherms (their temperatures were stabilized by their sheer bulk) and that dinosaurs were ectothermic (in colloquial terms, "cold-blooded", because they did not generate as much heat as mammals when not moving or digesting food).  These results are consistent with the relationship between dinosaurs' sizes and growth rates (described above).   Studies of the sauropodomorph Massospondylus and early theropod Syntarsus (Megapnosaurus) reveal growth rates of 3 kg/year and 17 kg/year, respectively, much slower than those estimated of Maiasaura and observed in modern birds. 
Oxygen isotope ratios in bone Edit
The ratio of the isotopes 16 O and 18 O in bone depends on the temperature the bone formed at: the higher the temperature, the more 16 O. Barrick and Showers (1999) analyzed the isotope ratios in two theropods that lived in temperate regions with seasonal variation in temperature, Tyrannosaurus (USA) and Giganotosaurus (Argentina): 
- dorsal vertebrae from both dinosaurs showed no sign of seasonal variation, indicating that both maintained a constant core temperature despite seasonal variations in air temperature.
- ribs and leg bones from both dinosaurs showed greater variability in temperature and a lower average temperature as the distance from the vertebrae increased.
Barrick and Showers concluded that both dinosaurs were endothermic but at lower metabolic levels than modern mammals, and that inertial homeothermy was an important part of their temperature regulation as adults. Their similar analysis of some Late Cretaceous ornithischians in 1996 concluded that these animals showed a similar pattern. 
However this view has been challenged. The evidence indicates homeothermy, but by itself cannot prove endothermy. Secondly, the production of bone may not have been continuous in areas near the extremities of limbs – in allosaur skeketons lines of arrested growth ("LAGs" rather like growth rings) are sparse or absent in large limb bones but common in the fingers and toes. While there is no absolute proof that LAGs are temperature-related, they could mark times when the extremities were so cool that the bones ceased to grow. If so, the data about oxygen isotope ratios would be incomplete, especially for times when the extremities were coolest. Oxygen isotope ratios may be an unreliable method of estimating temperatures if it cannot be shown that bone growth was equally continuous in all parts of the animal. 
Predator–prey ratios Edit
- cold-blooded predators need much less food than warm-blooded ones, so a given mass of prey can support far more cold-blooded predators than warm-blooded ones.
- the ratio of the total mass of predators to prey in dinosaur communities was much more like that of modern and recent warm-blooded communities than that of recent or fossil cold-blooded communities.
- hence predatory dinosaurs were warm-blooded. And since the earliest dinosaurs (e.g. Staurikosaurus, Herrerasaurus) were predators, all dinosaurs must have been warm-blooded.
This argument was criticized on several grounds and is no longer taken seriously (the following list of criticisms is far from exhaustive):  
- Estimates of dinosaur weights vary widely, and even a small variation can make a large difference to the calculated predator–prey ratio.
- His sample may not have been representative. Bakker obtained his numbers by counting museum specimens, but these have a bias towards rare or especially well-preserved specimens, and do not represent what exists in fossil beds. Even fossil beds may not accurately represent the actual populations, for example smaller and younger animals have less robust bones and are therefore less likely to be preserved.
- There are no published predator–prey ratios for large ectothermic predators, because such predators are very rare and mostly occur only on fairly small islands. Large ectothermic herbivores are equally rare. So Bakker was forced to compare mammalian predator–prey ratios with those of fish and invertebrate communities, where life expectancies are much shorter and other differences also distort the comparison.
- The concept assumes that predator populations are limited only by the availability of prey. However other factors such as shortage of nesting sites, cannibalism or predation of one predator on another can hold predator populations below the limit imposed by prey biomass, and this would misleadingly reduce the predator–prey ratio.
- Ecological factors can misleadingly reduce the predator–prey ratio, for example: a predator might prey on only some of the "prey" species present disease, parasites and starvation might kill some of the prey animals before the predators get a chance to hunt them.
- It is very difficult to state precisely what preys on what. For example, the young of herbivores may be preyed upon by lizards and snakes while the adults are preyed on by mammals. Conversely the young of many predators live largely on invertebrates and switch to vertebrates as they grow.
Posture and gait Edit
Dinosaurs' limbs were erect and held under their bodies, rather than sprawling out to the sides like those of lizards and newts. The evidence for this is the angles of the joint surfaces and the locations of muscle and tendon attachments on the bones. Attempts to represent dinosaurs with sprawling limbs result in creatures with dislocated hips, knees, shoulders and elbows. 
Carrier's constraint states that air-breathing vertebrates with two lungs that flex their bodies sideways during locomotion find it difficult to move and breathe at the same time. This severely limits stamina, and forces them to spend more time resting than moving. 
Sprawling limbs require sideways flexing during locomotion (except for tortoises and turtles, which are very slow and whose armor keeps their bodies fairly rigid). However, despite Carrier's constraint, sprawling limbs are efficient for creatures that spend most of their time resting on their bellies and only move for a few seconds at a time—because this arrangement minimizes the energy costs of getting up and lying down.
Erect limbs increase the costs of getting up and lying down, but avoid Carrier's constraint. This indicates that dinosaurs were active animals because natural selection would have favored the retention of sprawling limbs if dinosaurs had been sluggish and spent most of their waking time resting. An active lifestyle requires a metabolism that quickly regenerates energy supplies and breaks down waste products which cause fatigue, i.e., it requires a fairly fast metabolism and a considerable degree of homeothermy.
Additionally, an erect posture demands precise balance, the result of a rapidly functioning neuromuscular system. This suggests endothermic metabolism, because an ectothermic animal would be unable to walk or run, and thus to evade predators, when its core temperature was lowered. Other evidence for endothermy includes limb length (many dinosaurs possessed comparatively long limbs) and bipedalism, both found today only in endotherms.  Many bipedal dinosaurs possessed gracile leg bones with a short thigh relative to calf length. This is generally an adaptation to frequent sustained running, characteristic of endotherms which, unlike ectotherms, are capable of producing sufficient energy to stave off the onset of anaerobic metabolism in the muscle. 
Bakker and Ostrom both pointed out that all dinosaurs had erect hindlimbs and that all quadrupedal dinosaurs had erect forelimbs and that among living animals only the endothermic ("warm-blooded") mammals and birds have erect limbs (Ostrom acknowledged that crocodilians' occasional "high walk" was a partial exception). Bakker claimed this was clear evidence of endothermy in dinosaurs, while Ostrom regarded it as persuasive but not conclusive.  
A 2009 study supported the hypothesis that endothermy was widespread in at least larger non-avian dinosaurs, and that It was plausibly ancestral for all dinosauriforms, based on the biomechanics of running,  though it has also been suggested that endothermy appeared much earlier in archosauromorph evolution, perhaps even preceding the origin of Archosauriformes. 
There is now no doubt that many theropod dinosaur species had feathers, including Shuvuuia, Sinosauropteryx and Dilong (an early tyrannosaur).    These have been interpreted as insulation and therefore evidence of warm-bloodedness.
But direct, unambiguous impressions of feathers have only been found in coelurosaurs (which include the birds and tyrannosaurs, among others), so at present feathers give us no information about the metabolisms of the other major dinosaur groups, e.g. coelophysids, ceratosaurs, carnosaurs, or sauropods. Filamentous integument was also present in at least some ornithischians, such as Tianyulong, Kulindadromeus and Psittacosaurus, not only indicating endothermy in this group, but also that feathers were already present in the first ornithodiran (the last common ancestor of dinosaurs and pterosaurs). Their absence in certain groups like Ankylosauria could be the result of suppression of feather genes. 
The fossilised skin of Carnotaurus (an abelisaurid and therefore not a coelurosaur) shows an unfeathered, reptile-like skin with rows of bumps,  but the conclusion that Carnotaurus was necessarily featherless has been criticized as the impressions do not cover the whole body, being found only in the lateral region but not the dorsum.  An adult Carnotaurus weighed about 2 tonnes,  and mammals of this size and larger have either very short, sparse hair or naked skins, so perhaps the skin of Carnotaurus tells us nothing about whether smaller non-coelurosaurian theropods had feathers. The tyrannosauroid Yutyrannus is known to have possessed feathers and weighed 1.1 tonne. 
Skin-impressions of Pelorosaurus and other sauropods (dinosaurs with elephantine bodies and long necks) reveal large hexagonal scales, and some sauropods, such as Saltasaurus, had bony plates in their skin.  The skin of ceratopsians consisted of large polygonal scales, sometimes with scattered circular plates.  "Mummified" remains and skin impressions of hadrosaurids reveal pebbly scales. It is unlikely that the ankylosaurids, such as Euoplocephalus, had insulation, as most of their surface area was covered in bony knobs and plates.  Likewise there is no evidence of insulation in the stegosaurs. Thus insulation, and the elevated metabolic rate behind evolving them, may have been limited to the theropods, or even just a subset of theropods. [ citation needed ] Lack of feathers or other sort of insulation does not indicate ectothermy or low metabolisms, as observed in the relative hairlessness of mammalian megafauna, pigs, human children and the hairless bat being compatible with endothermy. 
Polar dinosaurs Edit
Dinosaur fossils have been found in regions that were close to the poles at the relevant times, notably in southeastern Australia, Antarctica and the North Slope of Alaska. There is no evidence of major changes in the angle of the Earth's axis, so polar dinosaurs and the rest of these ecosystems would have had to cope with the same extreme variation of day length through the year that occurs at similar latitudes today (up to a full day with no darkness in summer, and a full day with no sunlight in winter). 
Studies of fossilized vegetation suggest that the Alaska North Slope had a maximum temperature of 13 °C (55 °F) and a minimum temperature of 2 °C (36 °F) to 8 °C (46 °F) in the last 35 million years of the Cretaceous (slightly cooler than Portland, Oregon but slightly warmer than Calgary, Alberta). Even so, the Alaska North Slope has no fossils of large cold-blooded animals such as lizards and crocodilians, which were common at the same time in Alberta, Montana, and Wyoming. This suggests that at least some non-avian dinosaurs were warm-blooded.  It has been proposed that North American polar dinosaurs may have migrated to warmer regions as winter approached, which would allow them to inhabit Alaska during the summers even if they were cold-blooded.  But a round trip between there and Montana would probably have used more energy than a cold-blooded land vertebrate produces in a year in other words the Alaskan dinosaurs would have to be warm-blooded, irrespective of whether they migrated or stayed for the winter.  A 2008 paper on dinosaur migration by Phil R. Bell and Eric Snively proposed that most polar dinosaurs, including theropods, sauropods, ankylosaurians, and hypsilophodonts, probably overwintered, although hadrosaurids like Edmontosaurus were probably capable of annual 2,600 km (1,600 mi) round trips.  
It is more difficult to determine the climate of southeastern Australia when the dinosaur fossil beds were laid down 115 to 105 million years ago , towards the end of the Early Cretaceous: these deposits contain evidence of permafrost, ice wedges, and hummocky ground formed by the movement of subterranean ice, which suggests mean annual temperatures ranged between −6 °C (21 °F) and 5 °C (41 °F) oxygen isotope studies of these deposits give a mean annual temperature of 1.5 °C (34.7 °F) to 2.5 °C (36.5 °F). However the diversity of fossil vegetation and the large size of some of fossil trees exceed what is found in such cold environments today, and no-one has explained how such vegetation could have survived in the cold temperatures suggested by the physical indicators – for comparison Fairbanks, Alaska presently has a mean annual temperature of 2.9 °C (37.2 °F).  An annual migration from and to southeastern Australia would have been very difficult for fairly small dinosaurs in such as Leaellynasaura, a herbivore about 60 centimetres (2.0 ft) to 90 centimetres (3.0 ft) long, because seaways to the north blocked the passage to warmer latitudes.  Bone samples from Leaellynasaura and Timimus, an ornithomimid about 3.5 metres (11 ft) long and 1.5 metres (4.9 ft) high at the hip, suggested these two dinosaurs had different ways of surviving the cold, dark winters: the Timimus sample had lines of arrested growth (LAGs for short similar to growth rings), and it may have hibernated but the Leaellynasaura sample showed no signs of LAGs, so it may have remained active throughout the winter.  A 2011 study focusing on hypsilophodont and theropod bones also concluded that these dinosaurs did not hibernate through the winter, but stayed active. 
Evidence for behavioral thermoregulation Edit
Some dinosaurs, e.g. Spinosaurus and Ouranosaurus, had on their backs "sails" supported by spines growing up from the vertebrae. (This was also true, incidentally, for the synapsid Dimetrodon.) Such dinosaurs could have used these sails to:
- take in heat by basking with the "sails" at right angles to the sun's rays.
- to lose heat by using the "sails" as radiators while standing in the shade or while facing directly towards or away from the sun.
But these were a very small minority of known dinosaur species. One common interpretation of the plates on stegosaurs' backs is as heat exchangers for thermoregulation, as the plates are filled with blood vessels, which, theoretically, could absorb and dissipate heat. 
This might have worked for a stegosaur with large plates, such as Stegosaurus, but other stegosaurs, such as Wuerhosaurus, Tuojiangosaurus and Kentrosaurus possessed much smaller plates with a surface area of doubtful value for thermo-regulation. However, the idea of stegosaurian plates as heat exchangers has recently been questioned. 
Other evidence Edit
Endothermy demands frequent respiration, which can result in water loss. In living birds and mammals, water loss is limited by pulling moisture out of exhaled air with mucous-covered respiratory turbinates, tissue-covered bony sheets in the nasal cavity. Several dinosaurs have olfactory turbinates, used for smell, but none have yet been identified with respiratory turbinates. 
Because endothermy allows refined neuromuscular control, and because brain matter requires large amounts of energy to sustain, some speculate that increased brain size indicates increased activity and, thus, endothermy. The encephalization quotient (EQ) of dinosaurs, a measure of brain size calculated using brain endocasts, varies on a spectrum from bird-like to reptile-like. Using EQ alone, coelurosaurs appear to have been as active as living mammals, while theropods and ornithopods fall somewhere between mammals and reptiles, and other dinosaurs resemble reptiles. 
A study published by Roger Seymour in 2013 added more support to the idea that dinosaurs were endothermic. After studying saltwater crocodiles, Seymour found that even if their large sizes could provide stable and high body temperatures, during activity the crocodile's ectothermic metabolism provided less aerobic abilities and generate only 14% of the total muscle power of a similar sized endothermic mammal before full fatigue. Seymour reasoned that dinosaurs would have needed to be endothermic since they would have needed better aerobic abilities and higher power generation to compete with and dominate over mammals as active land animals throughout the Mesozoic era. 
The crocodilian puzzle and early archosaur metabolism Edit
It appears that the earliest dinosaurs had the features that form the basis for arguments for warm-blooded dinosaurs—especially erect limbs. This raises the question "How did dinosaurs become warm-blooded?" The most obvious possible answers are:
- "Their immediate ancestors (archosaurs) were cold-blooded, and dinosaurs began developing warm-bloodedness very early in their evolution." This implies that dinosaurs developed a significant degree of warm-bloodedness in a very short time, possibly less than 20M years. But in mammals' ancestors the evolution of warm-bloodedness seems to have taken much longer, starting with the beginnings of a secondary palate around the beginning of the mid-Permian and going on possibly until the appearance of hair about 164M years ago in the mid Jurassic ).
- "Dinosaurs' immediate ancestors (archosaurs) were at least fairly warm-blooded, and dinosaurs evolved further in that direction." This answer raises 2 problems: (A) The early evolution of archosaurs is still very poorly understood – large numbers of individuals and species are found from the start of the Triassic but only 2 species are known from the very late Permian (Archosaurus rossicus and Protorosaurus speneri) (B) Crocodilians evolved shortly before dinosaurs and are closely related to them, but are cold-blooded (see below).
Crocodilians present some puzzles if one regards dinosaurs as active animals with fairly constant body temperatures. Crocodilians evolved shortly before dinosaurs and, second to birds, are dinosaurs' closest living relatives – but modern crocodilians are cold-blooded. This raises some questions:
- If dinosaurs were to a large extent "warm-blooded", when and how fast did warm-bloodedness evolve in their lineage?
- Modern crocodilians are cold-blooded but have several features associated with warm-bloodedness. How did they acquire these features?
Modern crocodilians are cold-blooded but can move with their limbs erect, and have several features normally associated with warm-bloodedness because they improve the animal's oxygen supply: 
- 4-chambered hearts. Mammals and birds have four-chambered hearts. Non-crocodilian reptiles have three-chambered hearts, which are less efficient because they allow oxygenated and de-oxygenated blood to mix and therefore send some de-oxygenated blood out to the body instead of to the lungs. Modern crocodilians' hearts are four-chambered, but are smaller relative to body size and run at lower pressure than those of modern mammals and birds. They also have a bypass that makes them functionally three-chambered when under water, conserving oxygen. 
- a diaphragm, which aids breathing.
- a secondary palate, which allows the animal to eat and breathe at the same time.
- a hepatic piston mechanism for pumping the lungs. This is different from the lung-pumping mechanisms of mammals and birds but similar to what some researchers claim to have found in some dinosaurs. 
So why did natural selection favor these features, which are important for active warm-blooded creatures but of little apparent use to cold-blooded aquatic ambush predators that spend most of their time floating in water or lying on river banks?
It was suggested in the late 1980s that crocodilians were originally active, warm-blooded predators and that their archosaur ancestors were warm-blooded.   More recently, developmental studies indicate that crocodilian embryos develop fully four-chambered hearts first—then develop the modifications that make their hearts function as three-chambered under water. Using the principle that ontogeny recapitulates phylogeny, the researchers concluded that the original crocodilians had fully 4-chambered hearts and were therefore warm-blooded and that later crocodilians developed the bypass as they reverted to being cold-blooded aquatic ambush predators.  
More recent research on archosaur bone structures and their implications for growth rates also suggests that early archosaurs had fairly high metabolic rates and that the Triassic ancestors of crocodilians dropped back to more typically "reptilian" metabolic rates. 
If this view is correct, the development of warm-bloodedness in archosaurs (reaching its peak in dinosaurs) and in mammals would have taken more similar amounts of time. It would also be consistent with the fossil evidence: