text
stringlengths
9
2.4k
The presentation aspects of this (such as indents, line breaks, color highlighting, and so on) are often handled by the source code editor, but the content aspects reflect the programmer's talent and skills. Various visual programming languages have also been developed with the intent to resolve readability concerns by adopting non-traditional approaches to code structure and display. Integrated development environments (IDEs) aim to integrate all such help. Techniques like Code refactoring can enhance readability. Algorithmic complexity. The academic field and the engineering practice of computer programming are concerned with discovering and implementing the most efficient algorithms for a given class of problems. For this purpose, algorithms are classified into "orders" using Big O notation, which expresses resource use—such as execution time or memory consumption—in terms of the size of an input. Expert programmers are familiar with a variety of well-established algorithms and their respective complexities and use this knowledge to choose algorithms that are best suited to the circumstances.
Methodologies. The first step in most formal software development processes is requirements analysis, followed by testing to determine value modeling, implementation, and failure elimination (debugging). There exist a lot of different approaches for each of those tasks. One approach popular for requirements analysis is Use Case analysis. Many programmers use forms of Agile software development where the various stages of formal software development are more integrated together into short cycles that take a few weeks rather than years. There are many approaches to the Software development process. Popular modeling techniques include Object-Oriented Analysis and Design (OOAD) and Model-Driven Architecture (MDA). The Unified Modeling Language (UML) is a notation used for both the OOAD and MDA. A similar technique used for database design is Entity-Relationship Modeling (ER Modeling). Implementation techniques include imperative languages (object-oriented or procedural), functional languages, and logic programming languages.
Measuring language usage. It is very difficult to determine what are the most popular modern programming languages. Methods of measuring programming language popularity include: counting the number of job advertisements that mention the language, the number of books sold and courses teaching the language (this overestimates the importance of newer languages), and estimates of the number of existing lines of code written in the language (this underestimates the number of users of business languages such as COBOL). Some languages are very popular for particular kinds of applications, while some languages are regularly used to write many different kinds of applications. For example, COBOL is still strong in corporate data centers often on large mainframe computers, Fortran in engineering applications, scripting languages in Web development, and C in embedded software. Many applications use a mix of several languages in their construction and use. New languages are generally designed around the syntax of a prior language with new functionality added, (for example C++ adds object-orientation to C, and Java adds memory management and bytecode to C++, but as a result, loses efficiency and the ability for low-level manipulation).
Debugging. Debugging is a very important task in the software development process since having defects in a program can have significant consequences for its users. Some languages are more prone to some kinds of faults because their specification does not require compilers to perform as much checking as other languages. Use of a static code analysis tool can help detect some possible problems. Normally the first step in debugging is to attempt to reproduce the problem. This can be a non-trivial task, for example as with parallel processes or some unusual software bugs. Also, specific user environment and usage history can make it difficult to reproduce the problem. After the bug is reproduced, the input of the program may need to be simplified to make it easier to debug. For example, when a bug in a compiler can make it crash when parsing some large source file, a simplification of the test case that results in only few lines from the original source file can be sufficient to reproduce the same crash. Trial-and-error/divide-and-conquer is needed: the programmer will try to remove some parts of the original test case and check if the problem still exists. When debugging the problem in a GUI, the programmer can try to skip some user interaction from the original problem description and check if the remaining actions are sufficient for bugs to appear. Scripting and breakpointing are also part of this process.
Debugging is often done with IDEs. Standalone debuggers like GDB are also used, and these often provide less of a visual environment, usually using a command line. Some text editors such as Emacs allow GDB to be invoked through them, to provide a visual environment. Programming languages. Different programming languages support different styles of programming (called "programming paradigms"). The choice of language used is subject to many considerations, such as company policy, suitability to task, availability of third-party packages, or individual preference. Ideally, the programming language best suited for the task at hand will be selected. Trade-offs from this ideal involve finding enough programmers who know the language to build a team, the availability of compilers for that language, and the efficiency with which programs written in a given language execute. Languages form an approximate spectrum from "low-level" to "high-level"; "low-level" languages are typically more machine-oriented and faster to execute, whereas "high-level" languages are more abstract and easier to use but execute less quickly. It is usually easier to code in "high-level" languages than in "low-level" ones.
Programming languages are essential for software development. They are the building blocks for all software, from the simplest applications to the most sophisticated ones. Allen Downey, in his book "How To Think Like A Computer Scientist", writes: Many computer languages provide a mechanism to call functions provided by shared libraries. Provided the functions in a library follow the appropriate run-time conventions (e.g., method of passing arguments), then these functions may be written in any other language. Learning to program. Learning to program has a long history related to professional standards and practices, academic initiatives and curriculum, and commercial books and materials for students, self-taught learners, hobbyists, and others who desire to create or customize software for personal use. Since the 1960s, learning to program has taken on the characteristics of a "popular movement", with the rise of academic disciplines, inspirational leaders, collective identities, and strategies to grow the movement and make institutionalize change. Through these social ideals and educational agendas, learning to code has become important not just for scientists and engineers, but for millions of citizens who have come to believe that creating software is beneficial to society and its members.
Context. In 1957, there were approximately 15,000 computer programmers employed in the U.S., a figure that accounts for 80% of the world's active developers. In 2014, there were approximately 18.5 million professional programmers in the world, of which 11 million can be considered professional and 7.5 million student or hobbyists. Before the rise of the commercial Internet in the mid-1990s, most programmers learned about software construction through books, magazines, user groups, and informal instruction methods, with academic coursework and corporate training playing important roles for professional workers. The first book containing specific instructions about how to program a computer may have been Maurice Wilkes, David Wheeler, and Stanley Gill's "Preparation of Programs for an Electronic Digital Computer" (1951). The book offered a selection of common subroutines for handling basic operations on the EDSAC, one of the world's first stored-program computers. When high-level languages arrived, they were introduced by numerous books and materials that explained language keywords, managing program flow, working with data, and other concepts. These languages included FLOW-MATIC, COBOL, FORTRAN, ALGOL, Pascal, BASIC, and C. An example of an early programming primer from these years is Marshal H. Wrubel's "A Primer of Programming for Digital Computers" (1959), which included step-by-step instructions for filling out coding sheets, creating punched cards, and using the keywords in IBM's early FORTRAN system. Daniel McCracken's "A Guide to FORTRAN Programming" (1961) presented FORTRAN to a larger audience, including students and office workers.
In 1961, Alan Perlis suggested that all university freshmen at Carnegie Technical Institute take a course in computer programming. His advice was published in the popular technical journal "Computers and Automation", which became a regular source of information for professional programmers. Programmers soon had a range of learning texts at their disposal. "Programmer's references" listed keywords and functions related to a language, often in alphabetical order, as well as technical information about compilers and related systems. An early example was IBM's "Programmers' Reference Manual: the FORTRAN Automatic Coding System for the IBM 704 EDPM" (1956). Over time, the genre of "programmer's guides" emerged, which presented the features of a language in tutorial or step by step format. Many early primers started with a program known as “Hello, World”, which presented the shortest program a developer could create in a given system. Programmer's guides then went on to discuss core topics like declaring variables, data types, formulas, flow control, user-defined functions, manipulating data, and other topics.
Early and influential programmer's guides included John G. Kemeny and Thomas E. Kurtz's "BASIC Programming" (1967), Kathleen Jensen and Niklaus Wirth's "The Pascal User Manual and Report" (1971), and Brian Kernighan and Dennis Ritchie's "The C Programming Language" (1978). Similar books for popular audiences (but with a much lighter tone) included Bob Albrecht's "My Computer Loves Me When I Speak BASIC" (1972), Al Kelley and Ira Pohl's "A Book on C" (1984), and Dan Gookin's "C for Dummies" (1994). Beyond language-specific primers, there were numerous books and academic journals that introduced professional programming practices. Many were designed for university courses in computer science, software engineering, or related disciplines. Donald Knuth's "The Art of Computer Programming" (1968 and later), presented hundreds of computational algorithms and their analysis. "The Elements of Programming Style" (1974), by Brian W. Kernighan and P. J. Plauger, concerned itself with programming "style", the idea that programs should be written not only to satisfy the compiler but human readers. Jon Bentley's "Programming Pearls" (1986) offered practical advice about the art and craft of programming in professional and academic contexts. Texts specifically designed for students included Doug Cooper and Michael Clancy's "Oh Pascal!" (1982), Alfred Aho's "Data Structures and Algorithms" (1983), and Daniel Watt's "Learning with Logo" (1983).
Technical publishers. As personal computers became mass-market products, thousands of trade books and magazines sought to teach professional, hobbyist, and casual users to write computer programs. A sample of these learning resources includes "BASIC Computer Games, Microcomputer Edition" (1978), by David Ahl; "Programming the Z80" (1979), by Rodnay Zaks; "Programmer's CP/M Handbook" (1983), by Andy Johnson-Laird; "C Primer Plus" (1984), by Mitchell Waite and The Waite Group; "The Peter Norton Programmer's Guide to the IBM PC" (1985), by Peter Norton; "Advanced MS-DOS" (1986), by Ray Duncan; "Learn BASIC Now" (1989), by Michael Halvorson and David Rygymr; "Programming Windows" (1992 and later), by Charles Petzold; "Code Complete: A Practical Handbook for Software Construction" (1993), by Steve McConnell; and "Tricks of the Game-Programming Gurus" (1994), by André LaMothe. The PC software industry spurred the creation of numerous book publishers that offered programming primers and tutorials, as well as books for advanced software developers. These publishers included Addison-Wesley, IDG, Macmillan Inc., McGraw-Hill, Microsoft Press, O'Reilly Media, Prentice Hall, Sybex, Ventana Press, Waite Group Press, Wiley, Wrox Press, and Ziff-Davis.
Computer magazines and journals also provided learning content for professional and hobbyist programmers. A partial list of these resources includes "Amiga World", "Byte (magazine)", "Communications of the ACM", "Computer (magazine)", "Compute!", "Computer Language (magazine)", "Computers and Electronics", "Dr. Dobb's Journal", "IEEE Software", "Macworld", "PC Magazine", "PC/Computing", and "UnixWorld". Digital learning / online resources. Between 2000 and 2010, computer book and magazine publishers declined significantly as providers of programming instruction, as programmers moved to Internet resources to expand their access to information. This shift brought forward new digital products and mechanisms to learn programming skills. During the transition, digital books from publishers transferred information that had traditionally been delivered in print to new and expanding audiences. Important Internet resources for learning to code included blogs, wikis, videos, online databases, subscription sites, and custom websites focused on coding skills. New commercial resources included YouTube videos, Lynda.com tutorials (later LinkedIn Learning), Khan Academy, Codecademy, GitHub, W3Schools, and numerous coding bootcamps.
Most software development systems and game engines included rich online help resources, including integrated development environments (IDEs), context-sensitive help, APIs, and other digital resources. Commercial software development kits (SDKs) also provided a collection of software development tools and documentation in one installable package. Commercial and non-profit organizations published learning websites for developers, created blogs, and established newsfeeds and social media resources about programming. Corporations like Apple, Microsoft, Oracle, Google, and Amazon built corporate websites providing support for programmers, including resources like the Microsoft Developer Network (MSDN). Contemporary movements like Hour of Code (Code.org) show how learning to program has become associated with digital learning strategies, education agendas, and corporate philanthropy. Programmers. Computer programmers are those who write computer software. Their jobs usually involve: Although programming has been presented in the media as a somewhat mathematical subject, some research shows that good programmers have strong skills in natural human languages, and that learning to code is similar to learning a foreign language.
On the Consolation of Philosophy On the Consolation of Philosophy (), often titled as The Consolation of Philosophy or simply the Consolation, is a philosophical work by the Roman philosopher Boethius. Written in 523 while he was imprisoned and awaiting execution by the Ostrogothic King Theodoric, it is often described as the last great Western work of the Classical Period. Boethius' "Consolation" heavily influenced the philosophy of late antiquity, as well as Medieval and early Renaissance Christianity. Description. "On the Consolation of Philosophy" was written in AD 523 during a one-year imprisonment Boethius served while awaiting trial—and eventual execution—for the alleged crime of treason under the Ostrogothic King Theodoric the Great. Boethius was at the very heights of power in Rome, holding the prestigious office of "magister officiorum", and was brought down by treachery. This experience inspired the text, which reflects on how evil can exist in a world governed by God (an example of theodicy), and how happiness is still attainable amidst fickle fortune, while also considering the nature of happiness and God. In 1891, the academic Hugh Fraser Stewart described the work as "by far the most interesting example of prison literature the world has ever seen."
Boethius writes the book as a conversation between himself and a female personification of philosophy, referred to as "Lady Philosophy". Philosophy consoles Boethius by discussing the transitory nature of wealth, fame, and power ("no man can ever truly be secure until he has been forsaken by Fortune"), and the ultimate superiority of things of the mind, which she calls the "one true good". She contends that happiness comes from within, and that virtue is all that one truly has because it is not imperiled by the vicissitudes of fortune. Boethius engages with the nature of predestination and free will, the problem of evil and the "problem of desert", human nature, virtue, and justice. He speaks about the nature of free will and determinism when he asks whether God knows and sees all, or does man have free will. On human nature, Boethius says that humans are essentially good, and only when they give in to "wickedness" do they "sink to the level of being an animal." On justice, he says criminals are not to be abused, but rather treated with sympathy and respect, using the analogy of doctor and patient to illustrate the ideal relationship between prosecutor and criminal.
Outline. "On the Consolation of Philosophy" is laid out as follows: Interpretation. In the "Consolation", Boethius answered religious questions without reference to Christianity, relying solely on natural philosophy and the Classical Greek tradition. He believed in the correspondence between faith and reason. The truths found in Christianity would be no different from the truths found in philosophy. In the words of Henry Chadwick, "If the "Consolation" contains nothing distinctively Christian, it is also relevant that it contains nothing specifically pagan either...[it] is a work written by a Platonist who is also a Christian." Boethius repeats the Macrobius model of the Earth in the center of a spherical cosmos. The philosophical message of the book fits well with the religious piety of the Middle Ages. Boethius encouraged readers not to pursue worldly goods such as money and power, but to seek internalized virtues. Evil had a purpose, to provide a lesson to help change for good; while suffering from evil was seen as virtuous. Because God ruled the universe through Love, prayer to God and the application of Love would lead to true happiness. The Middle Ages, with their vivid sense of an overruling fate, found in Boethius an interpretation of life closely akin to the spirit of Christianity. The "Consolation" stands, by its note of fatalism and its affinities with the Christian doctrine of humility, midway between the pagan philosophy of Seneca the Younger and the later Christian philosophy of consolation represented by Thomas à Kempis.
The book is heavily influenced by Plato and his dialogues (as was Boethius himself). Its popularity can in part be explained by its Neoplatonic and Christian ethical messages, although current scholarly research is still far from clear exactly why and how the work became so vastly popular in the Middle Ages. Influence. From the Carolingian epoch to the end of the Middle Ages and beyond, "The Consolation of Philosophy" was one of the most popular and influential philosophical works, read by statesmen, poets, historians, philosophers, and theologians. It is through Boethius that much of the thought of the Classical period was made available to the Western Medieval world. It has often been said Boethius was the "last of the Romans and the first of the Scholastics". Translations into the vernacular were done by famous notables, including King Alfred (Old English), Jean de Meun (Old French), Geoffrey Chaucer (Middle English), Queen Elizabeth I (Early Modern English), Richard Graham, 1st Viscount Preston (English, 1695-1696), and Notker Labeo (Old High German). Other English translators include George Colville (1556), Henry Rosher (H. J.) James (1897), Walter John (W. J.) Sedgefield (1899), and Richard H. Green (1962). Boethius's "Consolation of Philosophy" was translated into Italian by Alberto della Piagentina (1332), Anselmo Tanso (Milan, 1520), Lodovico Domenichi (Florence, 1550), Benedetto Varchi (Florence, 1551), Cosimo Bartoli (Florence, 1551) and Tommaso Tamburini (Palermo, 1657).
Found within the "Consolation" are themes that have echoed throughout the Western canon: the female figure of wisdom that informs Dante, the ascent through the layered universe that is shared with Milton, the reconciliation of opposing forces that find their way into Chaucer in "The Knight's Tale", and the Wheel of Fortune so popular throughout the Middle Ages. Citations from it occur frequently in Dante's "Divina Commedia". Of Boethius, Dante remarked: "The blessed soul who exposes the deceptive world to anyone who gives ear to him." Boethian influence can be found nearly everywhere in Geoffrey Chaucer's poetry, e.g. in "Troilus and Criseyde", "The Knight's Tale", "The Clerk's Tale", "The Franklin's Tale", "The Parson's Tale" and "The Tale of Melibee", in the character of Lady Nature in "The Parliament of Fowls" and some of the shorter poems, such as "Truth", "The Former Age" and "Lak of Stedfastnesse". Chaucer translated the work in his "Boece". The Italian composer Luigi Dallapiccola used some of the text in his choral work "Canti di prigionia" (1938). The Australian composer Peter Sculthorpe quoted parts of it in his opera or music theatre work "Rites of Passage" (1972–73), which was commissioned for the opening of the Sydney Opera House but was not ready in time.
Tom Shippey in "The Road to Middle-earth" says how "Boethian" much of the treatment of evil is in Tolkien's "The Lord of the Rings". Shippey says that Tolkien knew well the translation of Boethius that was made by King Alfred and he quotes some "Boethian" remarks from Frodo, Treebeard, and Elrond. Boethius and "Consolatio Philosophiae" are cited frequently by the main character Ignatius J. Reilly in the Pulitzer Prize-winning "A Confederacy of Dunces" (1980). It is a prosimetrical text, meaning that it is written in alternating sections of prose and metered verse. In the course of the text, Boethius displays a virtuosic command of the forms of Latin poetry. It is classified as a Menippean satire, a fusion of allegorical tale, platonic dialogue, and lyrical poetry. Edward Gibbon described the work as "a golden volume not unworthy of the leisure of Plato or Tully." In the 20th century, there were close to four hundred manuscripts still surviving, a testament to its popularity. Of the work, C. S. Lewis wrote: "To acquire a taste for it is almost to become naturalised in the Middle Ages."
In 2024, under the high patronage of the European Parliament, the Italian composer Mirco De Stefani published "Cori di Boezio", for twelve male voices a cappella, on seven poems from "De Consolatione Philosophiae", in the 15th centenary of the work. Reconstruction of lost songs. Hundreds of Latin songs were recorded in neumes from the ninth century through to the thirteenth century, including settings of the poetic passages from Boethius's "The Consolation of Philosophy". The music of this song repertory had long been considered irretrievably lost because the notational signs indicated only melodic outlines, relying on now-lapsed oral traditions to fill in the missing details. However, research conducted by Sam Barrett at the University of Cambridge, extended in collaboration with Medieval music ensemble Sequentia, has shown that principles of musical setting for this period can be identified, providing crucial information to enable modern realisations. Sequentia performed the world premiere of the reconstructed songs from Boethius's "The Consolation of Philosophy" at Pembroke College, Cambridge, in April 2016, bringing to life music not heard in over 1,000 years; a number of the songs were subsequently recorded on the CD "Boethius: Songs of Consolation. Metra from 11th-Century Canterbury" (Glossa, 2018). The detective story behind the recovery of these lost songs is told in a documentary film, and a website launched by the University of Cambridge in 2018 provides further details of the reconstruction process, bringing together manuscripts, reconstructions, and video resources.
Crouching Tiger, Hidden Dragon Crouching Tiger, Hidden Dragon is a 2000 wuxia martial arts film directed by Ang Lee and written for the screen by Wang Hui-ling, James Schamus, and Tsai Kuo-jung. The film stars Chow Yun-fat, Michelle Yeoh, Zhang Ziyi, and Chang Chen. It is based on the Chinese novel of the same name, serialized between 1941 and 1942 by Wang Dulu, the fourth part of his "Crane-Iron Series". Set in 19th-century Imperial China, the plot follows two master warriors, Li Mu Bai (Chow) and Yu Shu Lien (Yeoh), who are faced with their greatest challenge when the treasured Green Destiny sword is stolen by the mysterious thief Jen Yu (Zhang). A multinational venture, the film was made on a US$17 million budget, and was produced by Edko Films and Zoom Hunt Productions in collaboration with China Film Co-productions Corporation and Asian Union Film & Entertainment for Columbia Pictures Film Production Asia in association with Good Machine International. The film premiered at the Cannes Film Festival on 18 May 2000, and was theatrically released in the United States on 8 December. With dialogue in Standard Chinese, subtitled for various markets, "Crouching Tiger, Hidden Dragon" became a surprise international success, grossing $213.5 million worldwide. It grossed US$128 million in the United States, becoming the highest-grossing foreign produced Mandarin-language film in American history. The film was the first non-English language film to break the $100 million mark in the United States.
Universally acclaimed by critics, "Crouching Tiger, Hidden Dragon" won over 40 awards and was nominated for 10 Academy Awards in 2001, including Best Picture, and won Best Foreign Language Film, Best Art Direction, Best Original Score, and Best Cinematography, receiving the most nominations ever for a non-English-language film at the time, the record was later tied by "Roma", and broken by "Emilia Pérez". The film also won four BAFTAs and two Golden Globe Awards, each of them for Best Foreign Film. For retrospective years, "Crouching Tiger" is often cited as one of the finest wuxia films ever made and has been widely regarded as one of the greatest films of the 21st century. Plot. In Qing dynasty China, Li Mu Bai is a renowned Wudang swordsman, and his friend Yu Shu Lien, a warrior, heads a private security company. Shu Lien and Mu Bai have long had feelings for each other, but because Shu Lien had been engaged to Mu Bai's close friend, Meng Sizhao before his death, Shu Lien and Mu Bai feel bound by loyalty to Meng Sizhao and have not revealed their feelings to each other. Mu Bai, choosing to retire from the life of a swordsman, asks Shu Lien to give his fabled 400-year-old jian sword "Green Destiny" to their benefactor Sir Te in Beijing. Long ago, Mu Bai's teacher was killed by Jade Fox, a woman who sought to learn Wudang secrets. While at Sir Te's place, Shu Lien meets Yu Jiaolong, or Jen, who is the daughter of the rich and powerful Governor Yu and is about to get married.
One evening, a masked thief sneaks into Sir Te's estate and steals the Green Destiny. Sir Te's servant Master Bo and Shu Lien trace the theft to Governor Yu's compound, where Jade Fox had been posing as Jen's governess for many years. Soon after, Mu Bai arrives in Beijing and discusses the theft with Shu Lien. Master Bo makes the acquaintance of Inspector Tsai from the local police, and his daughter May, who have come to Beijing in pursuit of Fox. Fox challenges the pair and Master Bo to a showdown that night. Following a protracted battle, the group is on the verge of defeat when Mu Bai arrives and outmaneuvers Fox. She reveals that she killed Mu Bai's teacher because he would sleep with her, but refuse to take a woman as a disciple, and she felt it poetic justice for him to die at a woman's hand. Just as Mu Bai is about to kill her, the masked thief reappears and helps Fox. Fox kills Tsai before fleeing with the thief (who is revealed to be Jen). After seeing Jen fight Mu Bai, Fox realizes Jen had been secretly studying the Wudang manual. Fox is illiterate and could only follow the diagrams, whereas Jen's ability to read the manual allowed her to surpass her teacher in martial arts.
At night, a bandit named Lo breaks into Jen's bedroom and asks her to leave with him. In the past, when Governor Yu and his family were traveling in the western deserts of Xinjiang, Lo and his bandits raided Jen's caravan and Lo stole her comb. She pursued him to his desert cave to retrieve her comb. However, the pair soon fell in love. Lo eventually convinced Jen to return to her family, though not before telling her a legend of a man who jumped off a mountain to make his wishes come true. Because the man's heart was pure, his wish was granted and he was unharmed, but flew away never to be seen again. Lo has come now to Beijing to persuade Jen not to go through with her arranged marriage. However, Jen refuses to leave with him. Later, Lo interrupts Jen's wedding procession, begging her to leave with him. Shu Lien and Mu Bai convince Lo to wait for Jen at Mount Wudang, where he will be safe from Jen's family, who are furious with him. Jen runs away from her husband on their wedding night before the marriage can be consummated. Disguised in men's clothing, she is accosted at an inn by a large group of warriors; armed with the Green Destiny and her own superior combat skills, she emerges victorious.
Jen visits Shu Lien, who tells her that Lo is waiting for her at Mount Wudang. After an angry exchange, the two women engage in a duel. Shu Lien is the superior fighter, but Jen wields the Green Destiny and is able to destroy each weapon that Shu Lien wields, until Shu Lien finally manages to defeat Jen with a broken sword. When Shu Lien shows mercy, Jen wounds Shu Lien in the arm. Mu Bai arrives and pursues Jen into a bamboo forest, where he offers to take her as his student. Jen agrees if he can take Green Destiny from her in three moves. Mu Bai is able to take the sword in only one move, but Jen reneges on her promise, and Mu Bai throws the sword over a waterfall. Jen dives after the sword and is rescued by Fox. Fox puts Jen into a drugged sleep and places her in a cavern, where Mu Bai and Shu Lien discover her. Fox suddenly attacks them with poisoned needles. Mu Bai mortally wounds Fox, only to realize that one of the needles has hit him in the neck. Before dying, Fox confesses that her goal had been to kill Jen because Jen had hidden the secrets of Wudang's fighting techniques from her.
Contrite, Jen leaves to prepare an antidote for the poisoned dart. With his last breath, Mu Bai finally confesses his love for Shu Lien. He dies in her arms as Jen returns. Shu Lien forgives Jen, telling her to go to Lo and always be true to herself. The Green Destiny is returned to Sir Te. Jen goes to Mount Wudang and spends the night with Lo. The next morning, Lo finds Jen standing on a bridge overlooking the edge of the mountain. In an echo of the legend that they spoke about in the desert, she asks him to make a wish. Lo wishes for them to be together again, back in the desert. Jen leaps from the bridge, falling into the mists below. Cast. Credits from British Film Institute: Themes and interpretations. Title. The title "Crouching Tiger, Hidden Dragon" is a literal translation of the Chinese idiom "臥虎藏龍" which describes a place or situation that is full of unnoticed masters. It is from a poem of the ancient Chinese poet Yu Xin (513–581) that reads "暗石疑藏虎,盤根似臥龍", which means "behind the rock in the dark probably hides a tiger, and the coiling giant root resembles a crouching dragon". The title also has several other layers of meaning. On one level, the Chinese characters in the title connect to the narrative that the last character in Xiaohu and Jiaolong's names mean "tiger" and "dragon", respectively. On another level, the Chinese idiomatic phrase is an expression referring to the undercurrents of emotion, passion, and secret desire that lie beneath the surface of polite society and civil behavior, which alludes to the film's storyline.
Gender roles. The success of the Disney animated feature "Mulan" (1998) popularized the image of the Chinese woman warrior in the west. The storyline of "Crouching Tiger, Hidden Dragon" is mostly driven by the three female characters. In particular, Jen is driven by her desire to be free from the gender role imposed on her, while Shu Lien, herself oppressed by the gender role, tries to lead Jen back into the role deemed appropriate for her. Some prominent martial arts disciplines are traditionally held to have been originated by women, e.g., Wing Chun. The film's title refers to masters one does not notice, which necessarily includes mostly women, and therefore suggests the advantage of a female bodyguard. Poison. Poison is also a significant theme in the film. The Chinese word "毒" ("dú") means not only physical poison but also cruelty and sinfulness. In the world of martial arts, the use of poison is considered an act of one who is too cowardly and dishonorable to fight; and indeed, the only character who explicitly fits these characteristics is Jade Fox. The poison is a weapon of her bitterness and quest for vengeance: she poisons the master of Wudang, attempts to poison Jen, and succeeds in killing Mu Bai using a poisoned needle. In further play on this theme by the director, Jade Fox, as she dies, refers to the poison from a young child, "the deceit of an eight-year-old girl", referring to what she considers her own spiritual poisoning by her young apprentice Jen. Li Mu Bai himself warns that, without guidance, Jen could become a "poison dragon".
China of the imagination. The story is set during the Qing dynasty (1644–1912), but it does not specify an exact time. Lee sought to present a "China of the imagination" rather than an accurate vision of Chinese history. At the same time, Lee also wanted to make a film that Western audiences would want to see. Thus, the film is shot for a balance between Eastern and Western aesthetics. There are some scenes showing uncommon artistry for the typical martial arts film such as an airborne battle among wispy bamboo plants. Production. The film was adapted from the novel "Crouching Tiger, Hidden Dragon" by Wang Dulu, serialized between 1941 and 1942 in "Qingdao Xinmin News". The novel is the fourth in a sequence of five. In the contract reached between Columbia Pictures and Ang Lee and Hsu Li-kong, they agreed to invest US$6 million in filming, but the stipulated recovery amount must be more than six times before the two parties will start to pay dividends. Casting. Shu Qi was Ang Lee's first choice for the role of Jen, but she turned it down.
Filming. Although its Academy Award for Best Foreign Language Film was presented to Taiwan, "Crouching Tiger, Hidden Dragon" was in fact an international co-production between companies in four regions: the Chinese company China Film Co-production Corporation, the American companies Columbia Pictures Film Production Asia, Sony Pictures Classics, and Good Machine, the Hong Kong company Edko Films, and the Taiwanese Zoom Hunt Productions, as well as the unspecified United China Vision and Asia Union Film & Entertainment, created solely for this film. The film was made in Beijing, with location shooting in Urumchi, Western Provinces, Taklamakan Plateau, Shanghai and Anji of China. The first phase of shooting was in the Gobi Desert where it consistently rained. Director Ang Lee noted: "I didn't take one break in eight months, not even for half a day. I was miserable—I just didn't have the extra energy to be happy. Near the end, I could hardly breathe. I thought I was about to have a stroke." The stunt work was mostly performed by the actors themselves and Ang Lee stated in an interview that computers were used "only to remove the safety wires that held the actors" aloft. "Most of the time you can see their faces," he added. "That's really them in the trees."
Another compounding issue was the difference between accents of the four lead actors: Chow Yun-fat is from Hong Kong and speaks Cantonese natively; Michelle Yeoh is from Malaysia and grew up speaking English and Malay, so she learned the Standard Chinese lines phonetically; Chang Chen is from Taiwan and he speaks Standard Chinese in a Taiwanese accent. Only Zhang Ziyi spoke with a native Mandarin accent that Ang Lee wanted. Chow Yun Fat said, on "the first day [of shooting], I had to do 28 takes just because of the language. That's never happened before in my life." The film specifically targeted Western audiences rather than the domestic audiences who were already used to Wuxia films. As a result, high-quality English subtitles were needed. Ang Lee, who was educated in the West, personally edited the subtitles to ensure they were satisfactory for Western audiences. Soundtrack. The score was composed by Dun Tan in 1999. It was played for the movie by the Shanghai Symphony Orchestra, the Shanghai National Orchestra and the Shanghai Percussion Ensemble. It features solo passages for cello played by Yo-Yo Ma. The "last track" ("A Love Before Time") features Coco Lee, who later sang it at the Academy Awards. The composer Chen Yuanlin also collaborated in the project. The music for the entire film was produced in two weeks. Tan the next year (2000) adapted his filmscore as a cello concerto called simply "Crouching Tiger."
Release. Marketing. The film was adapted into a video game and a series of comics, and it led to the original novel being adapted into a 34-episode Taiwanese television series. The latter was released in 2004 as "New Crouching Tiger, Hidden Dragon" for Northern American release. Home media. The film was released on VHS and DVD on 5 June 2001 by Columbia TriStar Home Entertainment. It was also released on UMD on 26 June 2005. In the United Kingdom, it was watched by viewers on television in 2004, making it the year's most-watched foreign-language film on television. Restoration. The film was re-released in a 4K restoration by Sony Pictures Classics in 2023. Reception. Box office. The film premiered in cinemas on 8 December 2000, in limited release within the United States. During its opening weekend, the film opened in 15th place, grossing $663,205 in business, showing at 16 locations. On 12 January 2001, "Crouching Tiger, Hidden Dragon" premiered in cinemas in wide release throughout the U.S., grossing $8,647,295 in business, ranking in sixth place. The film "Save the Last Dance" came in first place during that weekend, grossing $23,444,930. The film's revenue dropped by almost 30% in its second week of release, earning $6,080,357. For that particular weekend, the film fell to eighth place, screening in 837 theaters. "Save the Last Dance" remained unchanged in first place, grossing $15,366,047 in box-office revenue. During its final week in release, "Crouching Tiger, Hidden Dragon" opened in a distant 50th place with $37,233 in revenue. The film went on to top out domestically at $128,078,872 in total ticket sales through a 31-week theatrical run. Internationally, the film took in an additional $85,446,864 in box-office business for a combined worldwide total of $213,525,736. For 2000 as a whole, the film cumulatively ranked at a worldwide box-office performance position of 19.
Critical response. "Crouching Tiger, Hidden Dragon" was widely acclaimed in the Western world, receiving numerous awards. On Rotten Tomatoes, the film holds an approval rating of 98% based on 168 reviews, with an average rating of 8.6/10. The site's critical consensus states: "The movie that catapulted Ang Lee into the ranks of upper echelon Hollywood filmmakers, "Crouching Tiger, Hidden Dragon" features a deft mix of amazing martial arts battles, beautiful scenery, and tasteful drama." Metacritic reported the film had an average score of 94 out of 100, based on 32 reviews, indicating "universal acclaim". Some Chinese-speaking viewers were bothered by the accents of the leading actors. Neither Chow (a native Cantonese speaker) nor Yeoh (who was born and raised in Malaysia) spoke Mandarin Chinese as a mother tongue. All four main actors spoke Standard Chinese with vastly different accents: Chow speaks with a Cantonese accent, Yeoh with a Malaysian accent, Chang Chen with a Taiwanese accent, and Zhang Ziyi with a Beijing accent. Yeoh responded to this complaint in a 28 December 2000, interview with "Cinescape". She argued: "My character lived outside of Beijing, and so I didn't have to do the Beijing accent." When the interviewer, Craig Reid, remarked: "My mother-in-law has this strange Sichuan-Mandarin accent that's hard for me to understand," Yeoh responded: "Yes, provinces all have their very own strong accents. When we first started the movie, Cheng Pei Pei was going to have her accent, and Chang Zhen was going to have his accent, and this person would have that accent. And in the end nobody could understand what they were saying. Forget about us, even the crew from Beijing thought this was all weird."
The film led to a boost in popularity of Chinese wuxia films in the western world, where they were previously little known, and led to films such as "Hero" and "House of Flying Daggers", both directed by Zhang Yimou, being marketed towards Western audiences. The film also provided the breakthrough role for Zhang Ziyi's career, who noted: "Film Journal" noted that "Crouching Tiger, Hidden Dragon" "pulled off the rare trifecta of critical acclaim, boffo box-office and gestalt shift", in reference to its ground-breaking success for a subtitled film in the American market. Its success spawned a series of imitations to the basic formula in Greater China, with similar titles and variations in period and location. Producers of these imitators denied claims that their movie was an emulation of "Crouching Tiger"; while Columbia's manager for Asia compared the copycats to a volcano disaster movie spawning three imitations to cash in. Accolades. Garnering widespread critical acclaim at the Toronto and New York film festivals, the film also became a favorite when Academy Awards nominations were announced in 2001. The film was screened out of competition at the 2000 Cannes Film Festival. The film received ten Academy Award nominations, which was the highest ever for a non-English language film, up until it was tied by "Roma" (2018).
The film is ranked at number 497 on "Empire"'s 2008 list of the 500 greatest movies of all time. and at number 66 in the magazine's 100 Best Films of World Cinema, published in 2010. In 2010, the Independent Film & Television Alliance selected the film as one of the 30 Most Significant Independent Films of the last 30 years. In 2016, it was voted the 35th-best film of the 21st century as picked by 177 film critics from around the world in a poll conducted by BBC. The film was included in BBC's 2018 list of The 100 greatest foreign language films ranked by 209 critics from 43 countries around the world. In 2019, "The Guardian" ranked the film 51st in its 100 best films of the 21st century list. The February 2020 issue of "New York Magazine" lists "Crouching Tiger, Hidden Dragon" as among "The Best Movies That Lost Best Picture at the Oscars." In 2024, "Looper" ranked it number 12 on its list of the "50 Best PG-13 Movies of All Time," writing "It's rare for a movie to conjure up the word "sweeping," but that's just what "Crouching Tiger, Hidden Dragon" does. Whether it's the sight of human beings flying through the sky or the absorbing human drama that drives the plot, Ang Lee's 2000 wuxia feature is a remarkable movie that makes one's jaw drop as often as it makes your heart soar."
Sequel. In 2001, it was reported that director Ang Lee was planning to make a sequel to the film. "", was released in 2016. It was directed by Yuen Wo-ping, who was the action choreographer for the first film. It is a co-production between Pegasus Media, China Film Group Corporation, and the Weinstein Company. Unlike the original film, the sequel was filmed in English for international release and dubbed into Chinese for Chinese releases. "Sword of Destiny" is based on "Iron Knight, Silver Vase", the next (and last) novel in the "Crane-Iron_Series". It features a mostly new cast, headed by Donnie Yen. Michelle Yeoh reprised her role from the original. Zhang Ziyi was also approached to appear in "Sword of Destiny" but refused, stating that she would only appear in a sequel if Ang Lee were directing it. In the West, the sequel was for the most part not shown in theaters, instead being distributed direct-to-video by the streaming service Netflix. In popular culture. The names of the pterosaur genus "Kryptodrakon" and the ceratopsian genus "Yinlong" (both meaning "hidden dragon" in Greek and Chinese respectively) allude to the film. The character of Lo, or "Dark Cloud" the desert bandit, influenced the development of the protagonist of the "Prince of Persia" series of video games.
Charlemagne Charlemagne ( ; 2 April 748 – 28 January 814) was King of the Franks from 768, King of the Lombards from 774, and Emperor of what is now known as the Carolingian Empire from 800, holding these titles until his death in 814. He united most of Western and Central Europe, and was the first recognised emperor to rule from the west after the fall of the Western Roman Empire approximately three centuries earlier. Charlemagne's reign was marked by political and social changes that had lasting influence on Europe throughout the Middle Ages. A member of the Frankish Carolingian dynasty, Charlemagne was the eldest son of Pepin the Short and Bertrada of Laon. With his brother, Carloman I, he became king of the Franks in 768 following Pepin's death and became the sole ruler three years later. Charlemagne continued his father's policy of protecting the papacy and became its chief defender, removing the Lombards from power in northern Italy in 774. His reign saw a period of expansion that led to the conquests of Bavaria, Saxony, and northern Spain, as well as other campaigns that led Charlemagne to extend his rule over a large part of Europe. Charlemagne spread Christianity to his new conquests (often by force), as seen at the Massacre of Verden against the Saxons. He also sent envoys and initiated diplomatic contact with the Abbasid caliph Harun al-Rashid in the 790s, due to their mutual interest in Iberian affairs.
In 800, Charlemagne was crowned emperor in Rome by Pope Leo III. Although historians debate the coronation's significance, the title represented the height of his prestige and authority. Charlemagne's position as the first emperor in the West in over 300 years brought him into conflict with the Eastern Roman Empire in Constantinople. Through his assumption of the imperial title, he is considered the forerunner to the line of Holy Roman Emperors, which persisted into the nineteenth century. As king and emperor, Charlemagne engaged in a number of reforms in administration, law, education, military organisation, and religion, which shaped Europe for centuries. The stability of his reign began a period of cultural activity known as the Carolingian Renaissance. Charlemagne died in 814 and was buried at Aachen Cathedral in Aachen, his imperial capital city. He was succeeded by his only surviving legitimate son, Louis the Pious. After Louis, the Frankish kingdom was divided and eventually coalesced into West and East Francia, which later became France and Germany, respectively. Charlemagne's profound influence on the Middle Ages and influence on the territory he ruled has led him to be called the "Father of Europe" by many historians. He is seen as a founding figure by multiple European states and a number of historical royal houses of Europe trace their lineage back to him. Charlemagne has been the subject of artworks, monuments and literature during and after the medieval period.
Name. Several languages were spoken in Charlemagne's world, and he was known to contemporaries as in the Old High German he spoke; as to Early Old French (or Proto-Romance) speakers; and as (or ) in Medieval Latin, the formal language of writing and diplomacy. "Charles" is the modern English form of these names. The name , as the emperor is normally known in English, comes from the French ('Charles the Great'). In modern German and Dutch, he is known as and respectively. The Latin epithet ('great') may have been associated with him during his lifetime, but this is not certain. The contemporary "Royal Frankish Annals" routinely call him ("Charles the great king"). That epithet is attested in the works of the Poeta Saxo around 900, and it had become commonly applied to him by 1000. Charlemagne was named after his grandfather, Charles Martel. That name, and its derivatives, are unattested before their use by Charles Martel and Charlemagne. "Karolus" was adapted by Slavic languages as their word for "king" (, and ) through Charlemagne's influence or that of his great-grandson, Charles the Fat.
Early life and rise to power. Political background and ancestry. By the sixth century, the western Germanic tribe of the Franks had been Christianised; this was due in considerable measure to the conversion of their king, Clovis I, to Catholicism. The Franks had established a kingdom in Gaul in the wake of the Fall of the Western Roman Empire. This kingdom, Francia, grew to encompass nearly all of present-day France and Switzerland, along with parts of modern Germany and the Low Countries under the rule of the Merovingian dynasty. Francia was often divided under different Merovingian kings, due to the partible inheritance practised by the Franks. The late seventh century saw a period of war and instability following the murder of King Childeric II, which led to factional struggles among the Frankish aristocrats. Pepin of Herstal, mayor of the palace of Austrasia, ended the strife between various kings and their mayors with his 687 victory at the Battle of Tertry. Pepin was the grandson of two important figures of Austrasia: Arnulf of Metz and Pepin of Landen. The mayors of the palace had gained influence as the Merovingian kings' power waned due to divisions of the kingdom and several succession crises. Pepin was eventually succeeded by his son Charles, later known as Charles Martel. Charles did not support a Merovingian successor upon the death of King Theuderic IV in 737, leaving the throne vacant. He made plans to divide the kingdom between his sons, Carloman and Pepin the Short, who succeeded him after his death in 741. The brothers placed the Merovingian Childeric III on the throne in 743. Pepin married Bertrada, a member of an influential Austrasian noble family, in 744. In 747, Carloman abdicated and entered a monastery in Rome. He had at least two sons; the elder, Drogo, took his place.
Birth. Charlemagne's year of birth is uncertain, although it was most likely in 748. An older tradition based on three sources, however, gives a birth year of 742. The ninth-century biographer Einhard reports Charlemagne as being 72 years old at the time of his death; the "Royal Frankish Annals" imprecisely gives his age at death as about 71, and his original epitaph called him a septuagenarian. Einhard said that he did not know much about Charlemagne's early life; some modern scholars believe that, not knowing the emperor's true age, he still sought to present an exact date in keeping with the Roman imperial biographies of Suetonius, which he used as a model. All three sources may have been influenced by Psalm 90: "The days of our years are threescore years and ten". Historian Karl Ferdinand Werner challenged the acceptance of 742 as the Frankish king's birth year, citing an addition to the "Annales Petaviani" which records Charlemagne's birth in 747. Lorsch Abbey commemorated Charlemagne's date of birth as 2 April from the mid-ninth century, and this date is likely to be genuine. Matthias Becher built on Werner's work and showed that 2 April in the year recorded would have actually been in 748, since the annalists recorded the start of the year from Easter rather than 1 January. Presently, most scholars accept April 748 for Charlemagne's birth. Charlemagne's place of birth is unknown. The Frankish palaces in Vaires-sur-Marne and Quierzy are among the places suggested by scholars. Pepin the Short held an assembly in Düren in 748, but it cannot be proved that it took place in April or if Bertrada was with him.
Language and education. The ("native tongue") that Einhard refers to with regard to Charlemagne, was a Germanic language. Due to the prevalence in Francia of "rustic Roman", he was probably functionally bilingual in Germanic and Romance dialects at an early age. Charlemagne also spoke Latin and, according to Einhard, could understand and (perhaps) speak some Greek. Some 19th century historians tried to use the Oaths of Strasbourg (842) to determine Charlemagne's native language. They assumed that the text's copyist, Nithard, being a grandson of Charlemagne, would have spoken the same dialect as his grandfather, giving rise to the assumption that Charlemagne would have spoken language closely related to the one used in the oath, which is a form of Old High German ancestral to the modern Rhenish Franconian dialects. Other authors have instead taken the place of Charlemagne's education and main residence (Aachen), to postulate that Charlemagne most likely spoke a form of Moselle- or Ripuarian Franconian. In any case, all three dialects would have been closely related, mutually intelligible and, while classified as Old High German, none of the dialects involved can be considered typical of Old High German, showing varying degrees of participation in the High German consonant shift as well as certain similarities with Old Dutch, the presumed language of the previous Merovingian dynasty, mirroring the linguistic diversity still typical of the region today.
Charlemagne's father Pepin had been educated at the abbey of Saint-Denis, although the extent of Charlemagne's formal education is unknown. He almost certainly was trained in military matters as a youth in Pepin's court, which was itinerant. Charlemagne also asserted his own education in the liberal arts in encouraging their study by his children and others, although it is unknown whether his study was as a child or at court during his later life. The question of Charlemagne's literacy is debated, with little direct evidence from contemporary sources. He normally had texts read aloud to him and dictated responses and decrees, but this was not unusual even for a literate ruler at the time. Historian Johannes Fried considers it likely that Charlemagne would have been able to read, but the medievalist Paul Dutton writes that "the evidence for his ability to read is circumstantial and inferential at best" and concludes that it is likely that he never properly mastered the skill. Einhard makes no direct mention of Charlemagne reading, and recorded that he only attempted to learn to write later in life.
Accession and reign with Carloman. There are only occasional references to Charlemagne in the Frankish annals during his father's lifetime. By 751 or 752, Pepin had deposed Childeric and replaced him as king. Early Carolingian-influenced sources claim that Pepin's seizure of the throne was sanctioned beforehand by Pope Stephen II, but modern historians dispute this. It is possible that papal approval came only when Stephen travelled to Francia in 754 (apparently to request Pepin's aid against the Lombards), and on this trip anointed Pepin as king; this legitimised his rule. Charlemagne was sent to greet and escort the Pope, and he and his younger brother Carloman were anointed with their father. Pepin sidelined Drogo around the same time, sending him and his brother to a monastery. Charlemagne began issuing charters in his own name in 760. The following year, he joined his father's campaign against Aquitaine. Aquitaine, led by Dukes Hunald and Waiofar, was constantly in rebellion during Pepin's reign. Pepin fell ill on campaign there and died on 24 September 768, and Charlemagne and Carloman succeeded their father. They had separate coronations, Charlemagne at Noyon and Carloman at Soissons, on 9 October. The brothers maintained separate palaces and spheres of influence, although they were considered joint rulers of a single Frankish kingdom. The "Royal Frankish Annals" report that Charlemagne ruled Austrasia and Carloman ruled Burgundy, Provence, Aquitaine, and Alamannia, with no mention made of which brother received Neustria. The immediate concern of the brothers was the ongoing uprising in Aquitaine. They marched into Aquitaine together, but Carloman returned to Francia for unknown reasons and Charlemagne completed the campaign on his own. Charlemagne's capture of Duke Hunald marked the end of ten years of war that had been waged in the attempt to bring Aquitaine into line.
Carloman's refusal to participate in the war against Aquitaine led to a rift between the kings. It is uncertain why Carloman abandoned the campaign; the brothers may have disagreed about control of the territory, or Carloman was focused on securing his rule in the north of Francia. Regardless of the strife between the kings, they maintained a joint rule for practical reasons. Charlemagne and Carloman worked to obtain the support of the clergy and local elites to solidify their positions. Pope Stephen III was elected in 768, but was briefly deposed by Antipope Constantine II before being restored to Rome. Stephen's papacy experienced continuing factional struggles, so he sought support from the Frankish kings. Both brothers sent troops to Rome, each hoping to exert his own influence. The Lombard king Desiderius also had interests in Roman affairs, and Charlemagne attempted to enlist him as an ally. Desiderius already had alliances with Bavaria and Benevento through the marriages of his daughters to their dukes, and an alliance with Charlemagne would add to his influence. Charlemagne's mother, Bertrada, went on his behalf to Lombardy in 770 and brokered a marriage alliance before returning to Francia with his new bride. Desiderius's daughter is traditionally known as Desiderata, although she may have been named Gerperga. Anxious about the prospect of a Frankish–Lombard alliance, Pope Stephen sent a letter to both Frankish kings decrying the marriage and separately sought closer ties with Carloman.
Charlemagne had already had a relationship with the Frankish noblewoman Himiltrude, and they had a son in 769 named Pepin. Paul the Deacon wrote in his 784 that Pepin was born "before legal marriage", but does not say whether Charles and Himiltrude ever married, were joined in a non-canonical marriage (), or married after Pepin was born. Pope Stephen's letter described the relationship as a legitimate marriage, but he had a vested interest in preventing Charlemagne from marrying Desiderius's daughter. Carloman died suddenly on 4 December 771, leaving Charlemagne sole king of the Franks. He moved immediately to secure his hold on his brother's territory, forcing Carloman's widow Gerberga to flee to Desiderius's court in Lombardy with their children. Charlemagne ended his marriage to Desiderius's daughter and married Hildegard, daughter of count Gerold, a powerful magnate in Carloman's kingdom. This was a reaction to Desiderius's sheltering of Carloman's family and a move to secure Gerold's support. King of the Franks and the Lombards.
Annexation of the Lombard Kingdom. Charlemagne's first campaigning season as sole king of the Franks was spent on the eastern frontier in his first war against the Saxons, who had been engaging in border raids on the Frankish kingdom when Charlemagne responded by destroying the pagan Irminsul at Eresburg and seizing their gold and silver. The success of the war helped secure Charlemagne's reputation among his brother's former supporters and funded further military action. The campaign was the beginning of over thirty years of nearly-continuous warfare against the Saxons by Charlemagne. Pope Adrian I succeeded Stephen III in 772, and sought the return of papal control of cities that had been captured by Desiderius. Unsuccessful in dealing with the Lombard king directly, Adrian sent emissaries to Charlemagne to gain his support for recovering papal territory. Charlemagne, in response to this appeal and the dynastic threat of Carloman's sons in the Lombard court, gathered his forces to intervene. He first sought a diplomatic solution, offering gold to Desiderius in exchange for the return of the papal territories and his nephews. This overture was rejected, and Charlemagne's army (commanded by himself and his uncle, Bernard) crossed the Alps to besiege the Lombard capital of Pavia in late 773.
Charlemagne's second son (also named Charles) was born in 772, and Charlemagne brought the child and his wife to the camp at Pavia. Hildegard was pregnant, and gave birth to a daughter named Adelhaid. The baby was sent back to Francia, but died on the way. Charlemagne left Bernard to maintain the siege at Pavia while he took a force to capture Verona, where Desiderius's son Adalgis had taken Carloman's sons. Charlemagne captured the city; no further record exists of his nephews or of Carloman's wife, and their fate is unknown. Recent biographer, Janet Nelson compares them to the Princes in the Tower in the Wars of the Roses. Fried suggests that the boys were forced into a monastery (a common solution of dynastic issues), or "an act of murder smooth[ed] Charlemagne's ascent to power." Adalgis was not captured by Charlemagne, and fled to Constantinople. Charlemagne left the siege in April 774 to celebrate Easter in Rome. Pope Adrian arranged a formal welcome for the Frankish king, and they swore oaths to each other over the relics of St. Peter. Adrian presented a copy of the agreement between Pepin and Stephen III outlining the papal lands and rights Pepin had agreed to protect and restore. It is unclear which lands and rights the agreement involved, which remained a point of dispute for centuries. Charlemagne placed a copy of the agreement in the chapel above St. Peter's tomb as a symbol of his commitment, and left Rome to continue the siege.
Disease struck the Lombards shortly after his return to Pavia, and they surrendered the city by June 774. Charlemagne deposed Desiderius and took the title of King of the Lombards. The takeover of one kingdom by another was "extraordinary", and the authors of "The Carolingian World" call it "without parallel". Charlemagne secured the support of the Lombard nobles and Italian urban elites to seize power in a mainly-peaceful annexation. Historian Rosamond McKitterick suggests that the elective nature of the Lombard monarchy eased Charlemagne's takeover, and Roger Collins attributes the easy conquest to the Lombard elite's "presupposition that rightful authority was in the hands of the one powerful enough to seize it". Charlemagne soon returned to Francia with the Lombard royal treasury and with Desiderius and his family, who would be confined to a monastery for the rest of their lives. Frontier wars in Saxony and Spain. The Saxons took advantage of Charlemagne's absence in Italy to raid the Frankish borderlands, leading to a Frankish counter-raid in the autumn of 774 and a reprisal campaign the following year. Charlemagne was soon drawn back to Italy as Duke Hrodgaud of Friuli rebelled against him. He quickly crushed the rebellion, distributing Hrodgaud's lands to the Franks to consolidate his rule in Lombardy. Charlemagne wintered in Italy, consolidating his power by issuing charters and legislation and taking Lombard hostages. Amid the 775 Saxon and Friulian campaigns, his daughter Rotrude was born in Francia.
Returning north, Charlemagne waged another brief, destructive campaign against the Saxons in 776. This led to the submission of many Saxons, who turned over captives and lands and submitted to baptism. In 777, Charlemagne held an assembly at Paderborn with Frankish and Saxon men; many more Saxons came under his rule, but the Saxon magnate Widukind fled to Denmark to prepare for a new rebellion. Also at the Paderborn assembly were representatives of dissident factions from al-Andalus (Muslim Spain). They included the son and son-in-law of Yusuf ibn Abd al-Rahman al-Fihri, the former governor of Córdoba ousted by Caliph Abd al-Rahman in 756, who sought Charlemagne's support for al-Fihri's restoration. Also present was Sulayman al-Arabi, governor of Barcelona and Girona, who wanted to become part of the Frankish kingdom and receive Charlemagne's protection rather than remain under the rule of Córdoba. Charlemagne, seeing an opportunity to strengthen the security of the kingdom's southern frontier and extend his influence, agreed to intervene. Crossing the Pyrenees, his army found little resistance until an ambush by Basque forces in 778 at the Battle of Roncevaux Pass. The Franks, defeated in the battle, withdrew with most of their army intact.
Building the dynasty. Charlemagne returned to Francia to greet his newborn twin sons, Louis and Lothair, who were born while he was in Spain; Lothair died in infancy. Again, Saxons had seized on the king's absence to raid. Charlemagne sent an army to Saxony in 779 while he held assemblies, legislated, and addressed a famine in Francia. Hildegard gave birth to another daughter, Bertha. Charlemagne returned to Saxony in 780, holding assemblies at which he received hostages from Saxon nobles and oversaw their baptism. He and Hildegard travelled with their four younger children to Rome in the spring of 781, leaving Pepin and Charles at Worms, to make a journey first requested by Adrian in 775. Adrian baptised Carloman and renamed him Pepin, a name he shared with his half-brother. Louis and the newly renamed Pepin were then anointed and crowned. Pepin was appointed king of the Lombards, and Louis king of Aquitaine. This act was not nominal, since the young kings were sent to live in their kingdoms under the care of regents and advisers. A delegation from the Byzantine Empire, the remnant of the Roman Empire in the East, met Charlemagne during his stay in Rome; Charlemagne agreed to betroth his daughter Rotrude to Empress Irene's son, Emperor Constantine VI.
Hildegard gave birth to her eighth child, Gisela, during this trip to Italy. After the royal family's return to Francia, she had her final pregnancy and died from its complications on 30 April 783. The child, named after her, died shortly thereafter. Charlemagne commissioned epitaphs for his wife and daughter, and arranged for a Mass to be said daily at Hildegard's tomb. Charlemagne's mother Bertrada died shortly after Hildegard, on 12 July 783. Charlemagne was remarried to Fastrada, daughter of the East Frankish count Radolf, by the end of the year. Saxon resistance and reprisal. In summer 782, Widukind returned from Denmark to attack the Frankish positions in Saxony. He defeated a Frankish army, possibly due to rivalry among the Frankish counts leading it. Charlemagne came to Verden after learning of the defeat, but Widukind fled before his arrival. Charlemagne summoned the Saxon magnates to an assembly and compelled them to turn prisoners over to him, since he regarded their previous acts as treachery. The annals record that Charlemagne had 4,500 Saxon prisoners beheaded in the massacre of Verden. Fried writes, "Although this figure may be exaggerated, the basic truth of the event is not in doubt", and Alessandro Barbero calls it "perhaps the greatest stain on his reputation." Charlemagne issued the "Capitulatio de partibus Saxoniae", probably in the immediate aftermath of (or as a precursor of) the massacre. With a harsh set of laws which included the death penalty for pagan practices, the "Capitulatio" "constituted a program for the forced conversion of the Saxons" and was "aimed ... at suppressing Saxon identity".
Charlemagne's focus for the next several years would be on his attempt to complete the subjugation of the Saxons. Concentrating first in Westphalia in 783, he pushed into Thuringia in 784 as his son Charles the Younger continued operations in the west. At each stage of the campaigns, the Frankish armies seized wealth and carried Saxon captives into slavery. Unusually, Charlemagne campaigned through the winter instead of resting his army. By 785, he had suppressed the Saxon resistance and completely commanded Westphalia. That summer, he met Widukind and persuaded him to end his resistance. Widukind agreed to be baptised with Charlemagne as his godfather, ending this phase of the Saxon Wars. Benevento, Bavaria, and Pepin's revolt. Charlemagne travelled to Italy in 786, arriving by Christmas. Aiming to extend his influence further into southern Italy, he marched into the Duchy of Benevento. Duke Arechis fled to a fortified position at Salerno before offering Charlemagne his fealty. Charlemagne accepted his submission and hostages, who included Arechis's son Grimoald. In Italy, Charlemagne also met with envoys from Constantinople. Empress Irene had called the 787 Second Council of Nicaea, but did not inform Charlemagne or invite any Frankish bishops. Charlemagne, probably in reaction to the perceived slight of the exclusion, broke the betrothal of his daughter Rotrude and Constantine VI.
After Charlemagne left Italy, Arechis sent envoys to Irene to offer an alliance; he suggested that she send a Byzantine army with Adalgis, the exiled son of Desiderus, to remove the Franks from power in Lombardy. Before his plans could be finalised, Aldechis and his elder son Romuald died of illness within weeks of each other. Charlemagne sent Grimoald back to Benevento to serve as duke and return it to Frankish suzerainty. The Byzantine army invaded, but were repulsed by the Frankish and Lombard forces. As affairs were being settled in Italy, Charlemagne turned his attention to Bavaria. Bavaria was ruled by Duke Tassilo, Charlemagne's first cousin, who had been installed by Pepin the Short in 748. Tassilo's sons were also grandsons of Desiderius, and a potential threat to Charlemagne's rule in Lombardy. The neighbouring rulers had a growing rivalry throughout their reigns, but had sworn oaths of peace to each other in 781. In 784, Rotpert (Charlemagne's viceroy in Italy) accused Tassilo of conspiring with Widukind in Saxony and unsuccessfully attacked the Bavarian city of Bolzano. Charlemagne gathered his forces to prepare for an invasion of Bavaria in 787. Dividing the army, the Franks launched a three-pronged attack. Quickly realizing his poor position, Tassilo agreed to surrender and recognise Charlemagne as his overlord. The following year, Tassilo was accused of plotting with the Avars to attack Charlemagne. He was deposed and sent to a monastery, and Charlemagne absorbed Bavaria into his kingdom. Charlemagne spent the next few years based in Regensburg, largely focused on consolidating his rule of Bavaria and warring against the Avars. Successful campaigns against them were launched from Bavaria and Italy in 788, and Charlemagne led campaigns in 791 and 792.
Charlemagne gave Charles the Younger rule of Maine in Neustria in 789, leaving Pepin the Hunchback his only son without lands. His relationship with Himiltrude was now apparently seen as illegitimate at his court, and Pepin was sidelined from the succession. In 792, as his father and brothers were gathered in Regensburg, Pepin conspired with Bavarian nobles to assassinate them and install himself as king. The plot was discovered and revealed to Charlemagne before it could proceed; Pepin was sent to a monastery, and many of his co-conspirators were executed. The early 790s saw a marked focus on ecclesiastical affairs by Charlemagne. He summoned a council in Regensburg in 792 to address the theological controversy over the adoptionism doctrine in the Spanish church and formulate a response to the Second Council of Nicea. The council condemned adoptionism as heresy and led to the production of the "Libri Carolini", a detailed argument against Nicea's canons. In 794, Charlemagne called another council in Frankfurt. The council confirmed Regensburg's positions on adoptionism and Nicea, recognised the deposition of Tassilo, set grain prices, reformed Frankish coinage, forbade abbesses from blessing men, and endorsed prayer in vernacular languages. Soon after the council, Fastrada fell ill and died; Charlemagne married the Alamannian noblewoman Luitgard shortly afterwards.
Continued wars with the Saxons and Avars. Charlemagne gathered an army after the council of Frankfurt as Saxon resistance continued, beginning a series of annual campaigns which lasted through 799. The campaigns of the 790s were even more destructive than those of earlier decades, with the annal writers frequently noting Charlemagne "burning", "ravaging", "devastating", and "laying waste" the Saxon lands. Charlemagne forcibly removed a large number of Saxons to Francia, installing Frankish elites and soldiers in their place. His extended wars in Saxony led to his establishing his court in Aachen, which had easy access to the frontier. He built a large palace there, including a chapel which is now part of the Aachen Cathedral. Einhard joined the court at that time. Pepin of Italy (Carloman) engaged in further wars against the Avars in the south, which led to the collapse of their kingdom and the eastward expansion of Frankish rule.
Reign as emperor. Coronation. After Leo III became pope in 795, he faced political opposition. His enemies accused him of a number of crimes and physically attacked him in April 799, attempting to remove his eyes and tongue. Leo escaped and fled north to seek Charlemagne's help. Charlemagne continued his campaign against the Saxons before breaking off to meet Leo at Paderborn in September. Hearing evidence from the pope and his enemies, he sent Leo back to Rome with royal legates who were instructed to reinstate the pope and conduct a further investigation. In August of the following year, Charlemagne made plans to go to Rome after an extensive tour of his lands in Neustria. Charlemagne met Leo in November near Mentana at the twelfth milestone outside Rome, the traditional location where Roman emperors began their formal entry into the city. Charlemagne presided over an assembly to hear the charges, but believed that no one could sit in judgement of the pope. Leo swore an oath on 23 December, declaring his innocence of all charges. At mass in St. Peter's Basilica on Christmas Day 800, Leo proclaimed Charlemagne "emperor of the Romans" ("Imperator Romanorum") and crowned him. Charlemagne was the first reigning emperor in the west since the deposition of Romulus Augustulus in 476. His son, Charles the Younger, was anointed king by Leo at the same time.
Historians differ about the intentions of the imperial coronation, the extent to which Charlemagne was aware of it or participated in its planning, and the significance of the events for those present and for Charlemagne's reign. Contemporary Frankish and papal sources differ in their emphasis on, and representation of, events. Einhard writes that Charlemagne would not have entered the church if he knew about the pope's plan; modern historians have regarded his report as truthful or rejected it as a literary device demonstrating Charlemagne's humility. Collins says that the actions surrounding the coronation indicate that it was planned by Charlemagne as early as his meeting with Leo in 799, and Fried writes that Charlemagne planned to adopt the title of emperor by 798 "at the latest." During the years before the coronation, Charlemagne's courtier Alcuin referred to his realm as an "Imperium Christianum" ("Christian Empire") in which "just as the inhabitants of the Roman Empire had been united by a common Roman citizenship", the new empire would be united by a common Christian faith. This is the view of Henri Pirenne, who says that "Charles was the Emperor of the "ecclesia" as the Pope conceived it, of the Roman Church, regarded as the universal Church".
The Eastern Roman (Byzantine) Empire remained a significant contemporary power in European politics for Leo and Charlemagne, especially in Italy. The Byzantines continued to hold a substantial portion of Italy, with their borders not far south of Rome. Empress Irene had seized the throne from her son Constantine VI in 797, deposing and blinding him. Irene, the first Byzantine empress, faced opposition in Constantinople because of her gender and her means of accession. One of the earliest narrative sources for the coronation, the "Annals of Lorsch", presented a female ruler in Constantinople as a vacancy in the imperial title which justified Leo's coronation of Charlemagne. Pirenne disagrees, saying that the coronation "was not in any sense explained by the fact that at this moment a woman was reigning in Constantinople." Leo's main motivations may have been the desire to increase his standing after his political difficulties, placing himself as a power broker and securing Charlemagne as a powerful ally and protector. The Byzantine Empire's lack of ability to influence events in Italy and support the papacy were also important to Leo's position. According to the "Royal Frankish Annals", Leo prostrated himself before Charlemagne after crowning him (an act of submission standard in Roman coronation rituals from the time of Diocletian). This account presents Leo not as Charlemagne's superior, but as the agent of the Roman people who acclaimed Charlemagne as emperor.
Historian Henry Mayr-Harting claims that the assumption of the imperial title by Charlemagne was an effort to incorporate the Saxons into the Frankish realm, since they did not have a native tradition of kingship. However, Costambeys "et al." note in "The Carolingian World" that "since Saxony had not been in the Roman empire it is hard to see on what basis an emperor would have been any more welcomed." These authors write that the decision to take the title of emperor was aimed at furthering Charlemagne's influence in Italy, as an appeal to traditional authority recognised by Italian elites within and (especially) outside his control. Collins also writes that becoming emperor gave Charlemagne "the right to try to impose his rule over the whole of [Italy]", considering this a motivation for the coronation. He notes the "element of political and military risk" inherent in the affair due to the opposition of the Byzantine Empire and potential opposition from the Frankish elite, as the imperial title could draw him further into Mediterranean politics. Collins sees several of Charlemagne's actions as attempts to ensure that his new title had a distinctly-Frankish context.
Charlemagne's coronation led to a centuries-long ideological conflict between his successors and Constantinople known as the problem of two emperors, which could be seen as a rejection or usurpation of the Byzantine emperors' claim to be the universal, preeminent rulers of Christendom. Historian James Muldoon writes that Charlemagne may have had a more limited view of his role, seeing the title as representing dominion over lands he already ruled. However, the title of emperor gave Charlemagne enhanced prestige and ideological authority. He immediately incorporated his new title into documents he issued, adopting the formula "Charles, most serene augustus, crowned by God, great peaceful emperor governing the Roman empire, and who is by the mercy of God king of the Franks and the Lombards" instead of the earlier form "Charles, by the grace of God king of the Franks and Lombards and patrician of the Romans." Leo acclaimed Charlemagne as "emperor of the Romans" during the coronation, but Charlemagne never used this title. The avoidance of the specific claim of being a "Roman emperor", as opposed to the more-neutral "emperor governing the Roman empire", may have been to improve relations with the Byzantines. This formulation (with the continuation of his earlier royal titles) may also represent a view of his role as emperor as being the ruler of the people of the city of Rome, as he was of the Franks and the Lombards.
Governing the empire. Charlemagne left Italy in the summer of 801 after adjudicating several ecclesiastical disputes in Rome and experiencing an earthquake in Spoleto. He never returned to the city. Continuing trends and a ruling style established in the 790s, Charlemagne's reign from 801 onward is a "distinct phase" characterised by more sedentary rule from Aachen. Although conflict continued until the end of his reign, the relative peace of the imperial period allowed for attention on internal governance. The Franks continued to wage war, though these wars were defending and securing the empire's frontiers, and Charlemagne rarely led armies personally. A significant expansion of the Spanish March was achieved with a series of campaigns by Louis against the Emirate of Cordoba, culminating in the 801 capture of Barcelona. The 802 "Capitulare missorum generale" was an expansive piece of legislation, with provisions governing the conduct of royal officials and requiring that all free men take an oath of loyalty to Charlemagne. The capitulary reformed the institution of the , officials who would now be assigned in pairs (a cleric and a lay aristocrat) to administer justice and oversee governance in defined territories. The emperor also ordered the revision of the Lombard and Frankish legal codes.
In addition to the , Charlemagne also ruled parts of the empire with his sons as sub-kings. Although Pepin and Louis had some authority as kings in Italy and Aquitaine, Charlemagne had the ultimate authority and directly intervened. Charles, their elder brother, had been given lands in Neustria in 789 or 790 and made a king in 800. The 806 charter ("Division of the Realm") set the terms of Charlemagne's succession. Charles, as his eldest son in good favour, was given the largest share of the inheritance: rule of Francia, Saxony, Nordgau, and parts of Alemannia. The two younger sons were confirmed in their kingdoms and gained additional territories; most of Bavaria and Alemmannia was given to Pepin, and Provence, Septimania, and parts of Burgundy were given to Louis. Charlemagne did not address the inheritance of the imperial title. The also provided that if any of the brothers predeceased Charlemagne, their sons would inherit their share; peace was urged among his descendants. Conflict and diplomacy with the east.
After his coronation, Charlemagne sought recognition of his imperial title from Constantinople. Several delegations were exchanged between Charlemagne and Irene in 802 and 803. According to the contemporary Byzantine chronicler Thophanes, Charlemagne made an offer of marriage to Irene which she was close to accepting. Irene was deposed and replaced by Nikephoros I, who was unwilling to recognise Charlemagne as emperor. The two empires conflicted over control of the Adriatic Sea (especially Istria and Veneto) several times during Nikephoros' reign. Charlemagne sent envoys to Constantinople in 810 to make peace, giving up his claims to Veneto. Nikephoros died in battle before the envoys could leave Constantinople but his son-in-law and successor Michael I confirmed the peace, sending his own envoys to Aachen to recognise Charlemagne as emperor. Charlemagne soon issued the first Frankish coins bearing his imperial title, although papal coins minted in Rome had used the title as early as 800. He sent envoys and initiated diplomatic contact with the Abbasid caliph Harun al-Rashid during the 790s, due to their mutual interest in Spanish affairs. As an early sign of friendship, Charlemagne requested an elephant as a gift from Harun. Harun later provided an elephant named Abul-Abbas, which arrived at Aachen in 802. Harun also sought to undermine Charlemagne's relations with the Byzantines, with whom he was at war. As part of his outreach, Harun gave Charlemagne nominal rule of the Church of the Holy Sepulchre in Jerusalem and other gifts. According to Einhard, Charlemagne "zealously strove to make friendships with kings beyond the seas" in order "that he might get some help and relief to the Christians living under their rule." A surviving administrative document, the Basel roll, shows the work done by his agents in Palestine in furtherance of this goal.
Harun's death lead to a succession crisis and, under his successors, churches and synagogues were destroyed in the caliphate. Unable to intervene directly, Charlemagne sent specially-minted coins and arms to the eastern Christians to defend and restore their churches and monasteries. The coins with their inscriptions were also an important tool of imperial propaganda. Johannes Fried writes that deteriorating relations with Baghdad after Harun's death may have been the impetus for renewed negotiations with Constantinople which led to Charlemagne's peace with Michael in 811. As emperor, Charlemagne became involved in a religious dispute between Eastern and Western Christians over the recitation of the Niceno-Constantinopolitan Creed, the fundamental statement of orthodox Christian belief. The original text of the creed, adopted at the Council of Constantinople, professed that the Holy Spirit proceeded from the Father. A tradition developed in Western Europe that the Holy Spirit proceeded from the Father "and the Son", inserting the Latin term into the creed. The difference did not cause significant conflict until 807, when Frankish monks in Bethlehem were denounced as heretics by a Greek monk for using the form. The Frankish monks appealed the dispute to Rome, where Pope Leo affirmed the text of the creed omitting the phrase and passed the report on to Charlemagne. Charlemagne summoned a council at Aachen in 809 which defended the use of , and sent the decision to Rome. Leo said that the Franks could maintain their tradition, but asserted that the canonical creed did not include . He commissioned two silver shields with the creed in Latin and Greek (omitting the ), which he hung in St. Peter's Basilica. Another product of the 809 Aachen council was the "Handbook of 809", an illustrated calendrical and astronomical compendium.
Wars with the Danes. Scandinavia had been brought into contact with the Frankish world through Charlemagne's wars with the Saxons. Raids on Charlemagne's lands by the Danes began around 800. Charlemagne engaged in his final campaign in Saxony in 804, seizing Saxon territory east of the Elbe, removing its Saxon population, and giving the land to his Obotrite allies. The Danish king Gudfred, uneasy at the extension of Frankish power, offered to meet with Charlemagne to arrange peace and (possibly) hand over Saxons who had fled to him; the talks were unsuccessful. The northern frontier was quiet until 808, when Gudfred and some allied Slavic tribes led an incursion into the Obotrite lands and extracted tribute from over half the territory. Charles the Younger led an army across the Elbe in response, but only attacked some of Gudfred's Slavic allies. Gudfred again attempted diplomatic overtures in 809, but no peace was apparently made. Danish pirates raided Frisia in 810, although it is uncertain if they were connected to Gudfred. Charlemagne sent an army to secure Frisia while he led a force against Gudfred, who had reportedly challenged the emperor to face him in battle. The battle never took place, since Gudfred was murdered by two of his own men before Charlemagne's arrival. Gudfred's nephew and successor Hemming immediately sued for peace, and a commission led by Charlemagne's cousin Wala reached a settlement with the Danes in 811. The Danes did not pose a threat for the remainder of Charlemagne's reign, but the effects of this war and their earlier expansion in Saxony helped set the stage for the intense Viking raids across Europe later in the ninth century.
Final years and death. The Carolingian dynasty experienced a number of losses in 810 and 811, when Charlemagne's sister Gisela, his daughter Rotrude, and his sons Pepin the Hunchback, Pepin of Italy, and Charles the Younger died. The deaths of Charles and Pepin of Italy left Charlemagne's earlier plans for succession in disarray. He declared Pepin of Italy's son Bernard ruler of Italy and made his own only surviving son, Louis, heir to the rest of the empire. Charlemagne also made a new will detailing the disposal of his property at his death, with bequests to the church, his children, and his grandchildren. Einhard (possibly relying on tropes from Suetonius's "The Twelve Caesars") says that Charlemagne viewed the deaths of his family members, his fall from a horse, astronomical phenomena, and the collapse of part of the palace in his last years as signs of his impending death. Charlemagne continued to govern with energy during his final year, ordering bishops to assemble in five ecclesiastical councils. These culminated in a large assembly at Aachen, where Charlemagne crowned Louis as his co-emperor and Bernard as king in a ceremony on 11 September 813.
Charlemagne became ill in the autumn of 813 and spent his last months praying, fasting, and studying the gospels. He developed pleurisy, and was bedridden for seven days before dying on the morning of 28 January 814. Thegan, a biographer of Louis, records the emperor's last words as "Into your hands, Lord, I commend my spirit" (quoting from ). Charlemagne's body was prepared and buried in the chapel at Aachen by his daughters and palace officials that day. Louis arrived at Aachen thirty days after his father's death, making a formal and taking charge of the palace and the empire. Charlemagne's remains were exhumed by Holy Roman Emperor Frederick Barbarossa in 1165, and reinterred in a new casket by Frederick II in 1215. Legacy. Political legacy. The stability and peace of Charlemagne's reign did not long outlive him. Louis' reign was marked by strife, including a number of rebellions by his sons. After Louis' death, the empire was divided among his sons into West, East, and Middle Francia by the Treaty of Verdun. Middle Francia was divided several more times over the course of subsequent generations. Carolingians would rulewith some interruptionsin East Francia (later the Kingdom of Germany) until 911, and in West Francia (which would become France) until 987. After 887, the imperial title was held sporadically by a series of non-dynastic Italian rulers before it lapsed in 924. The East Frankish king Otto the Great conquered Italy, and was crowned emperor in 962. By this time, the eastern and western parts of Charlemagne's former empire had already developed distinct languages and cultures. Otto founded (or re-established) the Holy Roman Empire, which would last until its dissolution in 1806, during the Napoleonic Wars.
According to historian Jennifer Davis, Charlemagne "invented medieval rulership" and his influence can be seen at least into the nineteenth century. Charlemagne is often known as "the father of Europe" because of the influence of his reign and the legacy he left across the large area of the continent. The political structures he established remained in place through his Carolingian successors, and continued to exert influence into the eleventh century. Charlemagne was an ancestor of several European ruling houses, including the Capetian dynasty, the Ottonian dynasty, the House of Luxembourg, and the House of Ivrea. The Ottonians and Capetians, direct successors of the Carolingans, drew on the legacy of Charlemagne to bolster their legitimacy and prestige; the Ottonians and their successors held their German coronations in Aachen through the Middle Ages. The marriage of Philip II of France to Isabella of Hainault (a direct descendant of Charlemagne) was seen as a sign of increased legitimacy for their son, Louis VIII, and the French kings' association with Charlemagne's legacy was stressed until the monarchy's end. German and French rulers, such as Frederick Barbarossa and Napoleon, cited the influence of Charlemagne and associated themselves with him. Both German and French monarchs considered themselves as successors of Charlemagne, enumerating him as "Charles I" in their regnal lists.
The city of Aachen has, since 1949, awarded an international prize (the Karlspreis der Stadt Aachen) in honour of Charlemagne. It is awarded annually to those who promote European unity. Recipients of the prize include Richard von Coudenhove-Kalergi (founder of the pan-European movement), Alcide De Gasperi, and Winston Churchill. Carolingian Renaissance. Contacts with the wider Mediterranean world through Spain and Italy, the influx of foreign scholars at court, and the relative stability and length of Charlemagne's reign led to a cultural revival known as the Carolingian Renaissance. Although the beginnings of this revival can be seen under his predecessors, Charles Martel and Pepin, Charlemagne took an active and direct role in shaping intellectual life which led to the revival's zenith. Charlemagne promoted learning as a matter of policy and direct patronage, with the aim of creating a more effective clergy. The "Admonitio generalis" and "Epistola de litteris colendis" outlined his policies and aims for education.
Intellectual life at court was dominated by Irish, Anglo-Saxon, Visigothic and Italian scholars, including Dungal of Bobbio, Alcuin of York, Theodulf of Orléans, and Peter of Pisa; Franks such as Einhard and Angelbert also made substantial contributions. Aside from the intellectual activity at the palace, Charlemagne promoted ecclesiastical schools and publicly funded schools for the children of the elite and future clergy. Students learned basic Latin literacy and grammar, arithmetic, and other subjects of the medieval liberal arts. From their education, it was expected that even rural priests could provide their parishioners with basic instruction in religious matters and (possibly) the literacy required for worship. Latin was standardised and its use brought into territories well beyond the former Roman Empire, forming a second language community of speakers and writers and sustaining Latin creativity in the Middle Ages. Carolingian authors produced extensive works, including legal treatises, histories, poetry, and religious texts. Scriptoria in monasteries and cathedrals focused on copying new and old works, producing an estimated 90,000 manuscripts during the ninth century. The Carolingian minuscule script was developed and popularised in medieval copying, influencing Renaissance and modern typefaces. Scholar John J. Contreni considers the educational and learning revival under Charlemagne and his successors "one of the most durable and resilient elements of the Carolingian legacy".
Memory and historiography. Charlemagne was a frequent subject of, and inspiration for, medieval writers after his death. Einhard's "Vita Karoli Magni", according to Johannes Fired, "can be said to have revived the defunct literary genre of the secular biography." Einhard drew on classical sources, such as Suetonius' "The Twelve Caesars", the orations of Cicero, and Tacitus' "Agricola" to frame his work's structure and style. The Carolingian period also saw a revival of the mirrors for princes genre. The author of the Latin poem "Visio Karoli Magni", written , uses facts (apparently from Einhard) and his own observations on the decline of Charlemagne's family after their civil wars later in the ninth century as the bases of a visionary tale about Charles meeting a prophetic spectre in a dream. Notker's "Gesta Karoli Magni", written for Charlemagne's great-grandson Charles the Fat, presents moral anecdotes ("exempla") to highlight the emperor's qualities as a ruler.
Attention to Charlemagne became more scholarly in the early modern period as Eindhard's "Vita" and other sources began to be published. Political philosophers debated his legacy; Montesquieu viewed him as the first constitutional monarch and protector of freemen, but Voltaire saw him as a despotic ruler and representative of the medieval period as a Dark Age. As early as the sixteenth century, debate between German and French writers began about Charlemagne's "nationality". These contrasting portraits—a French Charlemagne versus a German "Karl der Große"—became especially pronounced during the nineteenth century with Napoleon's use of Charlemagne's legacy and the rise of German nationalism. German historiography and popular perception focused on the Massacre of Verden, emphasised with Charlemagne as the "butcher" of the Germanic Saxons or downplayed as an unfortunate part of the legacy of a great German ruler. Propaganda in Nazi Germany initially portrayed Charlemagne as an enemy of Germany, a French ruler who worked to take away the freedom and native religion of the German people. This quickly shifted as Adolf Hitler endorsed a portrait of Charlemagne as a great unifier of disparate German tribes into a common nation, allowing Hitler to co-opt Charlemagne's legacy as an ideological model for his expansionist policies.
Historiography after World War II focused on Charlemagne as "the father of Europe" rather than a nationalistic figure, a view first advanced during the nineteenth century by German romantic philosopher Friedrich Schlegel. This view has led to Charlemagne's adoption as a political symbol of European integration. Modern historians increasingly place Charlemagne in the context of the wider Mediterranean world, following the work of Henri Pirenne. Religious influence and veneration. Charlemagne gave much attention to religious and ecclesiastical affairs, holding 23 synods during his reign. His synods were called to address specific issues at particular times, but generally dealt with church administration and organisation, education of the clergy, and the proper forms of liturgy and worship. Charlemagne used the Christian faith as a unifying factor in the realm and, in turn, worked to impose unity on the church. He implemented an edited version of the "Dionysio-Hadriana" book of canon law acquired from Pope Adrian, required use of the Rule of St. Benedict in monasteries throughout the empire, and promoted a standardised liturgy adapted from the rites of the Roman Church to conform with Frankish practices. Carolingian policies promoting unity did not eliminate the diverse practices throughout the empire, but created a shared ecclesiastical identity—according to Rosamond McKitterick, "unison, not unity."
The condition of all his subjects as a "Christian people" was an important concern. Charlemagne's policies encouraged preaching to the laity, particularly in vernacular languages they would understand. He believed it essential to be able to recite the Lord's Prayer and the Apostles' Creed, and made efforts to ensure that the clergy taught them and other basics of Christian morality. ThomasF.X.Noble writes that the efforts of Charlemagne and his successors to standardise Christian doctrine and practices and harmonise Frankish practices were essential steps in the development of Christianity in Europe, and the Roman Catholic or Latin Church "as a historical phenomenon, not as a theological or ecclesiological one, is a Carolingian construction." He says that the medieval European concept of Christendom as an overarching community of Western Christians, rather than a collection of local traditions, is the result of Carolingian policies and ideology. Charlemagne's doctrinal policies promoting the use of and opposing the Second Council of Nicea were key steps in the growing divide between Western and Eastern Christianity.
Emperor Otto III attempted to have Charlemagne canonised in 1000. In 1165, Frederick Barbarossa persuaded Antipope Paschal III to elevate Charlemagne to sainthood. Since Paschal's acts were not considered valid, Charlemagne was not recognised as a saint by the Holy See. Despite this lack of official recognition, his cult was observed in Aachen, Reims, Frankfurt, Zurich and Regensburg, and he has been venerated in France since the reign of Charles V. Charlemagne also drew attention from figures of the Protestant Reformation, with Martin Luther criticising his apparent subjugation to the papacy by accepting his coronation from Leo. John Calvin and other Protestant thinkers viewed him as a forerunner of the Reformation, however, noting the "Libri Carolini" condemnation of the worship of images and relics and conflicts by Charlemagne and his successors with the temporal power of the popes. Wives, concubines, and children. Wives and their children Concubines and their children Charlemagne had at least twenty children with his wives and other partners. After the death of his wife Luitgard in 800, he did not remarry, but had children with unmarried partners. He was determined that all his children, including his daughters, should receive an education in the liberal arts. His children were taught in accordance with their aristocratic status, which included training in riding and weaponry for his sons, and embroidery, spinning and weaving for his daughters.
Rosamond McKitterick writes that Charlemagne exercised "a remarkable degree of patriarchal control ... over his progeny," noting that only a handful of his children and grandchildren were raised outside his court. Pepin of Italy and Louis reigned as kings from childhood and lived at their courts. Careers in the church were arranged for his illegitimate sons. His daughters were resident at court or at Chelles Abbey (where Charlemagne's sister was abbess), and those at court may have fulfilled the duties of queen after 800. Louis and Pepin of Italy married and had children during their father's lifetime, and Charlemagne brought Pepin's daughters into his household after Pepin's death. Rotrude had been betrothed to Emperor Constantine VI, but the betrothal was ended. None of Charlemagne's daughters married, although several had children with unmarried partners. Bertha had two sons, Nithard and Hartnid, with Charlemagne's courtier Angilbert; Rotrude had a son named Louis, possibly with Count Rorgon; and Hiltrude had a son named Richbod, possibly with a count named Richwin. The issued by Charlemagne in 806 provided that his legitimate daughters be allowed to marry or become nuns after his death. Theodrada entered a convent, but the decisions of his other daughters are unknown.
Appearance and iconography. Einhard gives a first-hand description of Charlemagne's appearance later in life: Charlemagne's tomb was opened in 1861 by scientists who reconstructed his skeleton and measured it at in length, roughly equivalent to Einhard's seven feet. A 2010 estimate of his height from an X-ray and CT scan of his tibia was ; this puts him in the 99th percentile of height for his period, given that average male height of his time was . The width of the bone suggested that he was slim. Charlemagne wore his hair short, abandoning the Merovingian tradition of long-haired monarchs. He had a moustache (possibly imitating the Ostrogothic king Theoderic the Great), in contrast with the bearded Merovingian kings; future Carolingian monarchs would adopt this style. Paul Dutton notes the ubiquitous crown in portraits of Charlemagne and other Carolingian rulers, replacing the earlier Merovingian long hair. A ninth-century statuette depicts Charlemagne or his grandson, Charles the Bald and shows the subject as moustachioed with short hair; this also appears on contemporary coinage. By the twelfth century, Charlemagne was described as bearded rather than moustachioed in literary sources such as the "Song of Roland", the "Pseudo-Turpin Chronicle", and other works in Latin, French, and German. The "Pseudo-Turpin" uniquely says that his hair was brown. Later art and iconography of Charlemagne followed suit, generally depicting him in a later medieval style as bearded with longer hair.
Character encodings in HTML While Hypertext Markup Language (HTML) has been in use since 1991, HTML 4.0 from December 1997 was the first standardized version where international characters were given reasonably complete treatment. When an HTML document includes special characters outside the range of seven-bit ASCII, two goals are worth considering: the information's integrity, and universal browser display. Specifying the document's character encoding. There are two general ways to specify which character encoding is used in the document. First, the web server can include the character encoding or "codice_1" in the Hypertext Transfer Protocol (HTTP) codice_2 header, which would typically look like this: Content-Type: text/html; charset=utf-8 This method gives the HTTP server a convenient way to alter document's encoding according to content negotiation; certain HTTP server software can do it, for example Apache with the module codice_3. Second, a declaration can be included within the document itself. For HTML it is possible to include this information inside the codice_4 element near the top of the document:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> HTML5 also allows the following syntax to mean exactly the same: <meta charset="utf-8"> XHTML documents have a third option: to express the character encoding via XML declaration, as follows: <?xml version="1.0" encoding="utf-8"?> With this second approach, because the character encoding cannot be known until the declaration is parsed, there is a problem knowing which character encoding is used in the document up to and including the declaration itself. If the character encoding is an ASCII extension then the content up to and including the declaration itself should be pure ASCII and this will work correctly. For character encodings that are not ASCII extensions (i.e. not a superset of ASCII), such as UTF-16BE and UTF-16LE, a processor of HTML, such as a web browser, should be able to parse the declaration in some cases through the use of heuristics. Encoding detection algorithm. As of HTML5 the recommended charset is UTF-8. An "encoding sniffing algorithm" is defined in the specification to determine the character encoding of the document based on multiple sources of input, including:
Characters outside of the printable ASCII range (32 to 126) usually appear incorrectly. This presents few problems for English-speaking users, but other languages regularly—in some cases, always—require characters outside that range. In Chinese, Japanese, and Korean (CJK) language environments where there are several different multi-byte encodings in use, auto-detection is also often employed. Finally, browsers usually permit the user to override "incorrect" charset label manually as well. It is increasingly common for multilingual websites and websites in non-Western languages to use UTF-8, which allows use of the same encoding for all languages. UTF-16 or UTF-32, which can be used for all languages as well, are less widely used because they can be harder to handle in programming languages that assume a byte-oriented ASCII superset encoding, and they are less efficient for text with a high frequency of ASCII characters, which is usually the case for HTML documents. Successful viewing of a page is not necessarily an indication that its encoding is specified correctly. If the page's creator and reader are both assuming some platform-specific character encoding, and the server does not send any identifying information, then the reader will nonetheless see the page as the creator intended, but other readers on different platforms or with different native languages will not see the page as intended.
Permitted encodings. The WHATWG Encoding Standard, referenced by recent HTML standards (the current WHATWG HTML Living Standard, as well as the formerly competing W3C HTML 5.0 and 5.1) specifies a list of encodings which browsers must support. The HTML standards forbid support of other encodings. The Encoding Standard further stipulates that new formats, new protocols (even when existing formats are used) and authors of new documents are required to use UTF-8 exclusively. Besides UTF-8, the following encodings are explicitly listed in the HTML standard itself, with reference to the Encoding Standard: The following additional encodings are listed in the Encoding Standard, and support for them is therefore also required: The following encodings are listed as explicit examples of forbidden encodings: The standard also defines a "replacement" decoder, which maps all content labelled as certain encodings to the replacement character (�), refusing to process it at all. This is intended to prevent attacks (e.g. cross site scripting) which may exploit a difference between the client and server in what encodings are supported in order to mask malicious content. Although the same security concern applies to ISO-2022-JP and UTF-16, which also allow sequences of ASCII bytes to be interpreted differently, this approach was not seen as feasible for them since they are comparatively more frequently used in deployed content. The following encodings receive this treatment:
Character references. In addition to native character encodings, characters can also be encoded as "character references", which can be "numeric character references" (decimal or hexadecimal) or "character entity references". Character entity references are also sometimes referred to as "named entities", or "HTML entities" for HTML. HTML's usage of character references derives from SGML. HTML character references. A "numeric character reference" in HTML refers to a character by its Universal Character Set/Unicode "code point", and uses the format or where "nnnn" is the code point in decimal form, and "hhhh" is the code point in hexadecimal form. The "x" must be lowercase in XML documents. The "nnnn" or "hhhh" may be any number of digits and may include leading zeros. The "hhhh" may mix uppercase and lowercase, though uppercase is the usual style. Not all web browsers or email clients used by receivers of HTML documents, or text editors used by authors of HTML documents, will be able to render all HTML characters. Most modern software is able to display most or all of the characters for the user's language, and will draw a box or other clear indicator for characters they cannot render.
For codes from 0 to 127, the original 7-bit ASCII standard set, most of these characters can be used without a character reference. Codes from 160 to 255 can all be created using character entity names. Only a few higher-numbered codes can be created using entity names, but all can be created by decimal number character reference. Character entity references can also have the format codice_7 where "name" is a case-sensitive alphanumeric string. For example, "λ" can also be encoded as codice_8 in an HTML document. The character entity references codice_9, codice_10, codice_11 and codice_12 are predefined in HTML and SGML, because codice_13, codice_14, codice_15 and codice_16 are already used to delimit markup. This notably did not include XML's codice_17 (') entity prior to HTML5. For a list of all named HTML character entity references along with the versions in which they were introduced, see List of XML and HTML character entity references. Unnecessary use of HTML character references may significantly reduce HTML readability. If the character encoding for a web page is chosen appropriately, then HTML character references are usually only required for markup delimiting characters as mentioned above, and for a few special characters (or none at all if a native Unicode encoding like UTF-8 is used). Incorrect HTML entity escaping may also open up security vulnerabilities for injection attacks such as cross-site scripting. If HTML attributes are left unquoted, certain characters, most importantly whitespace, such as space and tab, must be escaped using entities. Other languages related to HTML have their own methods of escaping characters.
XML character references. Unlike traditional HTML with its large range of character entity references, in XML there are only five predefined character entity references. These are used to escape characters that are markup sensitive in certain contexts: All other character entity references have to be defined before they can be used. For example, use of codice_18 (which gives é, Latin lower-case E with acute accent, U+00E9 in Unicode) in an XML document will generate an error unless the entity has already been defined. XML also requires that the codice_19 in hexadecimal numeric references be in lowercase: for example codice_20 rather than codice_21. XHTML, which is an XML application, supports the HTML entity set, along with XML's predefined entities.
Carbon nanotube A carbon nanotube (CNT) is a tube made of carbon with a diameter in the nanometre range (nanoscale). They are one of the allotropes of carbon. Two broad classes of carbon nanotubes are recognized: Carbon nanotubes can exhibit remarkable properties, such as exceptional tensile strength and thermal conductivity because of their nanostructure and strength of the bonds between carbon atoms. Some SWCNT structures exhibit high electrical conductivity while others are semiconductors. In addition, carbon nanotubes can be chemically modified. These properties are expected to be valuable in many areas of technology, such as electronics, optics, composite materials (replacing or complementing carbon fibres), nanotechnology (including nanomedicine), and other applications of materials science. The predicted properties for SWCNTs were tantalising, but a path to synthesising them was lacking until 1993, when Iijima and Ichihashi at NEC, and Bethune and others at IBM independently discovered that co-vaporising carbon and transition metals such as iron and cobalt could specifically catalyse SWCNT formation. These discoveries triggered research that succeeded in greatly increasing the efficiency of the catalytic production technique, and led to an explosion of work to characterise and find applications for SWCNTs.
History. The true identity of the discoverers of carbon nanotubes is a subject of some controversy. A 2006 editorial written by Marc Monthioux and Vladimir Kuznetsov in the journal "Carbon" described the origin of the carbon nanotube. A large percentage of academic and popular literature attributes the discovery of hollow, nanometre-size tubes composed of graphitic carbon to Sumio Iijima of NEC in 1991. His paper initiated a flurry of excitement and could be credited with inspiring the many scientists now studying applications of carbon nanotubes. Though Iijima has been given much of the credit for discovering carbon nanotubes, it turns out that the timeline of carbon nanotubes goes back much further than 1991. In 1952, L. V. Radushkevich and V. M. Lukyanovich published clear images of 50-nanometre diameter tubes made of carbon in the "Journal of Physical Chemistry Of Russia". This discovery was largely unnoticed, as the article was published in Russian, and Western scientists' access to Soviet press was limited during the Cold War. Monthioux and Kuznetsov mentioned in their "Carbon" editorial:
In 1976, Morinobu Endo of CNRS observed hollow tubes of rolled up graphite sheets synthesised by a chemical vapour-growth technique. The first specimens observed would later come to be known as single-walled carbon nanotubes (SWNTs). Endo, in his early review of vapor-phase-grown carbon fibers (VPCF), also reminded us that he had observed a hollow tube, linearly extended with parallel carbon layer faces near the fiber core. This appears to be the observation of multi-walled carbon nanotubes at the center of the fiber. The mass-produced MWCNTs today are strongly related to the VPGCF developed by Endo. In fact, they call it the "Endo process", out of respect for his early work and patents. In 1979, John Abrahamson presented evidence of carbon nanotubes at the 14th Biennial Conference of Carbon at Pennsylvania State University. The conference paper described carbon nanotubes as carbon fibers that were produced on carbon anodes during arc discharge. A characterization of these fibers was given, as well as hypotheses for their growth in a nitrogen atmosphere at low pressures.
In 1981, a group of Soviet scientists published the results of chemical and structural characterization of carbon nanoparticles produced by a thermocatalytic disproportionation of carbon monoxide. Using TEM images and XRD patterns, the authors suggested that their "carbon multi-layer tubular crystals" were formed by rolling graphene layers into cylinders. They speculated that via this rolling, many different arrangements of graphene hexagonal nets are possible. They suggested two such possible arrangements: a circular arrangement (armchair nanotube); and a spiral, helical arrangement (chiral tube). In 1987, Howard G. Tennent of Hyperion Catalysis was issued a U.S. patent for the production of "cylindrical discrete carbon fibrils" with a "constant diameter between about 3.5 and about 70 nanometers..., length 102 times the diameter, and an outer region of multiple essentially continuous layers of ordered carbon atoms and a distinct inner core..."
In 2020, during an archaeological excavation of Keezhadi in Tamil Nadu, India, ~2600-year-old pottery was discovered whose coatings appear to contain carbon nanotubes. The robust mechanical properties of the nanotubes are partially why the coatings have lasted for so many years, say the scientists. Structure of SWCNTs. Basic details. The structure of an ideal (infinitely long) single-walled carbon nanotube is that of a regular hexagonal lattice drawn on an infinite cylindrical surface, whose vertices are the positions of the carbon atoms. Since the length of the carbon-carbon bonds is fairly fixed, there are constraints on the diameter of the cylinder and the arrangement of the atoms on it. In the study of nanotubes, one defines a zigzag path on a graphene-like lattice as a path that turns 60 degrees, alternating left and right, after stepping through each bond. It is also conventional to define an armchair path as one that makes two left turns of 60 degrees followed by two right turns every four steps. On some carbon nanotubes, there is a closed zigzag path that goes around the tube. One says that the tube is of the zigzag type or configuration, or simply is a zigzag nanotube. If the tube is instead encircled by a closed armchair path, it is said to be of the armchair type, or an armchair nanotube. An infinite nanotube that is of one type consists entirely of closed paths of that type, connected to each other.
The zigzag and armchair configurations are not the only structures that a single-walled nanotube can have. To describe the structure of a general infinitely long tube, one should imagine it being sliced open by a cut parallel to its axis, that goes through some atom "A", and then unrolled flat on the plane, so that its atoms and bonds coincide with those of an imaginary graphene sheet—more precisely, with an infinitely long strip of that sheet. The two halves of the atom "A" will end up on opposite edges of the strip, over two atoms "A1" and "A2" of the graphene. The line from "A1" to "A2" will correspond to the circumference of the cylinder that went through the atom "A", and will be perpendicular to the edges of the strip. In the graphene lattice, the atoms can be split into two classes, depending on the directions of their three bonds. Half the atoms have their three bonds directed the same way, and half have their three bonds rotated 180 degrees relative to the first half. The atoms "A1" and "A2", which correspond to the same atom "A" on the cylinder, must be in the same class. It follows that the circumference of the tube and the angle of the strip are not arbitrary, because they are constrained to the lengths and directions of the lines that connect pairs of graphene atoms in the same class.
Let u and v be two linearly independent vectors that connect the graphene atom "A1" to two of its nearest atoms with the same bond directions. That is, if one numbers consecutive carbons around a graphene cell with C1 to C6, then u can be the vector from C1 to C3, and v be the vector from C1 to C5. Then, for any other atom "A2" with same class as "A1", the vector from "A1" to "A2" can be written as a linear combination "n" u + "m" v, where "n" and "m" are integers. And, conversely, each pair of integers ("n","m") defines a possible position for "A2". Given "n" and "m", one can reverse this theoretical operation by drawing the vector w on the graphene lattice, cutting a strip of the latter along lines perpendicular to w through its endpoints "A1" and "A2", and rolling the strip into a cylinder so as to bring those two points together. If this construction is applied to a pair ("k",0), the result is a zigzag nanotube, with closed zigzag paths of 2"k" atoms. If it is applied to a pair ("k","k"), one obtains an armchair tube, with closed armchair paths of 4"k" atoms.
Types. The structure of the nanotube is not changed if the strip is rotated by 60 degrees clockwise around "A1" before applying the hypothetical reconstruction above. Such a rotation changes the corresponding pair ("n","m") to the pair (−2"m","n"+"m"). It follows that many possible positions of "A2" relative to "A1" — that is, many pairs ("n","m") — correspond to the same arrangement of atoms on the nanotube. That is the case, for example, of the six pairs (1,2), (−2,3), (−3,1), (−1,−2), (2,−3), and (3,−1). In particular, the pairs ("k",0) and (0,"k") describe the same nanotube geometry. These redundancies can be avoided by considering only pairs ("n","m") such that "n" > 0 and "m" ≥ 0; that is, where the direction of the vector w lies between those of u (inclusive) and v (exclusive). It can be verified that every nanotube has exactly one pair ("n","m") that satisfies those conditions, which is called the tube's type. Conversely, for every type there is a hypothetical nanotube. In fact, two nanotubes have the same type if and only if one can be conceptually rotated and translated so as to match the other exactly. Instead of the type ("n","m"), the structure of a carbon nanotube can be specified by giving the length of the vector w (that is, the circumference of the nanotube), and the angle "α" between the directions of u and w,
may range from 0 (inclusive) to 60 degrees clockwise (exclusive). If the diagram is drawn with u horizontal, the latter is the tilt of the strip away from the vertical. Chirality and mirror symmetry. A nanotube is chiral if it has type ("n","m"), with "m" > 0 and "m" ≠ "n"; then its enantiomer (mirror image) has type ("m","n"), which is different from ("n","m"). This operation corresponds to mirroring the unrolled strip about the line "L" through "A1" that makes an angle of 30 degrees clockwise from the direction of the u vector (that is, with the direction of the vector u+v). The only types of nanotubes that are achiral are the ("k",0) "zigzag" tubes and the ("k","k") "armchair" tubes. If two enantiomers are to be considered the same structure, then one may consider only types ("n","m") with 0 ≤ "m" ≤ "n" and "n" > 0. Then the angle "α" between u and w, which may range from 0 to 30 degrees (inclusive both), is called the "chiral angle" of the nanotube. Circumference and diameter. From "n" and "m" one can also compute the circumference "c", which is the length of the vector w, which turns out to be:
in picometres. The diameter formula_2 of the tube is then formula_3, that is also in picometres. (These formulas are only approximate, especially for small "n" and "m" where the bonds are strained; and they do not take into account the thickness of the wall.) The tilt angle "α" between u and w and the circumference "c" are related to the type indices "n" and "m" by: where arg("x","y") is the clockwise angle between the "X"-axis and the vector ("x","y"); a function that is available in many programming languages as codice_1("y","x"). Conversely, given "c" and "α", one can get the type ("n","m") by the formulas: which must evaluate to integers. Physical limits. Narrowest examples. If "n" and "m" are too small, the structure described by the pair ("n","m") will describe a molecule that cannot be reasonably called a "tube", and may not even be stable. For example, the structure theoretically described by the pair (1,0) (the limiting "zigzag" type) would be just a chain of carbons. That is a real molecule, the carbyne; which has some characteristics of nanotubes (such as orbital hybridization, high tensile strength, etc.) — but has no hollow space, and may not be obtainable as a condensed phase. The pair (2,0) would theoretically yield a chain of fused 4-cycles; and (1,1), the limiting "armchair" structure, would yield a chain of bi-connected 4-rings. These structures may not be realizable.
The thinnest carbon nanotube proper is the armchair structure with type (2,2), which has a diameter of 0.3 nm. This nanotube was grown inside a multi-walled carbon nanotube. Assigning of the carbon nanotube type was done by a combination of high-resolution transmission electron microscopy (HRTEM), Raman spectroscopy, and density functional theory (DFT) calculations. The thinnest "freestanding" single-walled carbon nanotube is about 0.43 nm in diameter. Researchers suggested that it can be either (5,1) or (4,2) SWCNT, but the exact type of the carbon nanotube remains questionable. (3,3), (4,3), and (5,1) carbon nanotubes (all about 0.4 nm in diameter) were unambiguously identified using aberration-corrected high-resolution transmission electron microscopy inside double-walled CNTs. Length. The observation of the "longest" carbon nanotubes grown so far, around 0.5 metre (550 mm) long, was reported in 2013. These nanotubes were grown on silicon substrates using an improved chemical vapor deposition (CVD) method and represent electrically uniform arrays of single-walled carbon nanotubes.
The "shortest" carbon nanotube can be considered to be the organic compound cycloparaphenylene, which was synthesized in 2008 by Ramesh Jasti. Other small molecule carbon nanotubes have been synthesized since. Density. The "highest density" of CNTs was achieved in 2013, grown on a conductive titanium-coated copper surface that was coated with co-catalysts cobalt and molybdenum at lower than typical temperatures of 450 °C. The tubes averaged a height of 380 nm and a mass density of 1.6 g cm−3. The material showed ohmic conductivity (lowest resistance ~22 kΩ). Variants. There is no consensus on some terms describing carbon nanotubes in the scientific literature: both "-wall" and "-walled" are being used in combination with "single", "double", "triple", or "multi", and the letter C is often omitted in the abbreviation, for example, multi-walled carbon nanotube (MWNT). The International Standards Organization typically uses "single-walled carbon nanotube (SWCNT)" or "multi-walled carbon nanotube (MWCNT)" in its documents.
Multi-walled. Multi-walled nanotubes (MWNTs) consist of multiple rolled layers (concentric tubes) of graphene. There are two models that can be used to describe the structures of multi-walled nanotubes. In the "Russian Doll" model, sheets of graphite are arranged in concentric cylinders, e.g., a (0,8) single-walled nanotube (SWNT) within a larger (0,17) single-walled nanotube. In the "Parchment" model, a single sheet of graphite is rolled in around itself, resembling a scroll of parchment or a rolled newspaper. The interlayer distance in multi-walled nanotubes is close to the distance between graphene layers in graphite, approximately 3.4 Å. The Russian Doll structure is observed more commonly. Its individual shells can be described as SWNTs, which can be metallic or semiconducting. Because of statistical probability and restrictions on the relative diameters of the individual tubes, one of the shells, and thus the whole MWNT, is usually a zero-gap metal. Double-walled carbon nanotubes (DWNTs) form a special class of nanotubes because their morphology and properties are similar to those of SWNTs but they are more resistant to attacks by chemicals. This is especially important when it is necessary to graft chemical functions to the surface of the nanotubes (functionalization) to add properties to the CNT. Covalent functionalization of SWNTs will break some C=C double bonds, leaving "holes" in the structure on the nanotube and thus modifying both its mechanical and electrical properties. In the case of DWNTs, only the outer wall is modified. DWNT synthesis on the gram-scale by the CCVD technique was first proposed in 2003 from the selective reduction of oxide solutions in methane and hydrogen.
The telescopic motion ability of inner shells, allowing them to act as low-friction, low-wear nanobearings and nanosprings, may make them a desirable material in nanoelectromechanical systems (NEMS) . The retraction force that occurs to telescopic motion is caused by the Lennard-Jones interaction between shells, and its value is about 1.5 nN. Junctions and crosslinking. Junctions between two or more nanotubes have been widely discussed theoretically. Such junctions are quite frequently observed in samples prepared by arc discharge as well as by chemical vapor deposition. The electronic properties of such junctions were first considered theoretically by Lambin et al., who pointed out that a connection between a metallic tube and a semiconducting one would represent a nanoscale heterojunction. Such a junction could therefore form a component of a nanotube-based electronic circuit. The adjacent image shows a junction between two multiwalled nanotubes. Junctions between nanotubes and graphene have been considered theoretically and studied experimentally. Nanotube-graphene junctions form the basis of pillared graphene, in which parallel graphene sheets are separated by short nanotubes. Pillared graphene represents a class of three-dimensional carbon nanotube architectures.
Recently, several studies have highlighted the prospect of using carbon nanotubes as building blocks to fabricate three-dimensional macroscopic (>100 nm in all three dimensions) all-carbon devices. Lalwani et al. have reported a novel radical-initiated thermal crosslinking method to fabricate macroscopic, free-standing, porous, all-carbon scaffolds using single- and multi-walled carbon nanotubes as building blocks. These scaffolds possess macro-, micro-, and nano-structured pores, and the porosity can be tailored for specific applications. These 3D all-carbon scaffolds/architectures may be used for the fabrication of the next generation of energy storage, supercapacitors, field emission transistors, high-performance catalysis, photovoltaics, and biomedical devices, implants, and sensors. Other morphologies. Carbon nanobuds are a newly created material combining two previously discovered allotropes of carbon: carbon nanotubes and fullerenes. In this new material, fullerene-like "buds" are covalently bonded to the outer sidewalls of the underlying carbon nanotube. This hybrid material has useful properties of both fullerenes and carbon nanotubes. In particular, they have been found to be exceptionally good field emitters. In composite materials, the attached fullerene molecules may function as molecular anchors preventing slipping of the nanotubes, thus improving the composite's mechanical properties.
A carbon peapod is a novel hybrid carbon material which traps fullerene inside a carbon nanotube. It can possess interesting magnetic properties with heating and irradiation. It can also be applied as an oscillator during theoretical investigations and predictions. In theory, a nanotorus is a carbon nanotube bent into a torus (doughnut shape). Nanotori are predicted to have many unique properties, such as magnetic moments 1000 times larger than that previously expected for certain specific radii. Properties such as magnetic moment, thermal stability, etc. vary widely depending on the radius of the torus and the radius of the tube. Graphenated carbon nanotubes are a relatively new hybrid that combines graphitic foliates grown along the sidewalls of multiwalled or bamboo-style CNTs. The foliate density can vary as a function of deposition conditions (e.g., temperature and time) with their structure ranging from a few layers of graphene (< 10) to thicker, more graphite-like. The fundamental advantage of an integrated graphene-CNT structure is the high surface area three-dimensional framework of the CNTs coupled with the high edge density of graphene. Depositing a high density of graphene foliates along the length of aligned CNTs can significantly increase the total charge capacity per unit of nominal area as compared to other carbon nanostructures.
Cup-stacked carbon nanotubes (CSCNTs) differ from other quasi-1D carbon structures, which normally behave as quasi-metallic conductors of electrons. CSCNTs exhibit semiconducting behavior because of the stacking microstructure of graphene layers. Properties. Many properties of single-walled carbon nanotubes depend significantly on the ("n","m") type, and this dependence is non-monotonic (see Kataura plot). In particular, the band gap can vary from zero to about 2 eV and the electrical conductivity can show metallic or semiconducting behavior. Mechanical. Carbon nanotubes are the strongest and stiffest materials yet discovered in terms of tensile strength and elastic modulus. This strength results from the covalent sp2 bonds formed between the individual carbon atoms. In 2000, a multiwalled carbon nanotube was tested to have a tensile strength of . (For illustration, this translates into the ability to endure tension of a weight equivalent to on a cable with cross-section of ). Further studies, such as one conducted in 2008, revealed that individual CNT shells have strengths of up to ≈, which is in agreement with quantum/atomistic models. Because carbon nanotubes have a low density for a solid of 1.3 to 1.4 g/cm3, its specific strength of up to 48,000 kN·m/kg is the best of known materials, compared to high-carbon steel's 154 kN·m/kg.