ArticleslgStudy

computer science

Xkcd

Xkcd is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Xkcd rather than just read about it. In short: xkcd (sometimes styled XKCD) is a serial webcomic created in 2005 by American author Randall Munroe. The comic's tagline describes it as "a webcomic of romance, sarcasm, math, and language".

Xkcd — main illustration
Xkcd — illustration

Key takeaways

  • Xkcd belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Xkcd to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Xkcd from memory before moving on to harder problems.

Reference excerpt

xkcd (sometimes styled XKCD) is a serial webcomic created in 2005 by American author Randall Munroe. The comic's tagline describes it as "a webcomic of romance, sarcasm, math, and language". Munroe states on the comic's website that the name of the comic is not an acronym but "just a word with no phonetic pronunciation". The subject matter of the comic varies from statements on life and love to mathematical, programming, and scientific in-jokes. Some strips feature simple humor or pop-culture references. It has a cast of stick figures, and the comic occasionally features landscapes, graphs, charts, and intricate mathematical patterns such as fractals. New cartoons are added on Mondays, Wednesdays, and Fridays every week, with few exceptions. Munroe has released six spinoff books from the comic. The first book, published in 2010 and titled xkcd: volume 0, was a series of selected comics from his website. His 2014 book What If? is based on his blog of the same name that answers unusual science questions from readers in a light-hearted way that is scientifically grounded. The What If? column on the site is updated with new articles from time to time. His 2015 book Thing Explainer explains scientific concepts using only the one thousand most commonly used words in English. A fourth book, How To, which is described as "a profoundly unhelpful self-help book", was released on September 3, 2019. A fifth book, What If? 2, was released on September 13, 2022. A revised edition of What If?, titled What If? 10th Anniversary Edition, was released on November 26, 2024. On August 31, 2023, a spinoff YouTube channel named xkcd's What If? was created, dedicated to adapting the What If? books into video format, narrated by Munroe and produced by Neptune Studios LLC. It started posting videos on November 29, 2023.

History

As a student, Munroe often drew charts, maps, and "stick figure battles" in the margins of his school notebooks, besides solving mathematical problems unrelated to his classes. By the time he graduated from college, Munroe's "piles of notebooks" became too large and he started scanning the images he thought were "funny or pretty". xkcd began in September 2005, when Munroe decided to scan his doodles and put them on his personal website. According to Munroe, the comic's name has no particular significance and is simply a four-letter word without a phonetic pronunciation, something he describes as "a treasured and carefully guarded point in the space of four-character strings". In January 2006, the comic was split off into its own website, created in collaboration with Derek Radtke. In May 2007, the comic garnered widespread attention by depicting online communities in geographic form. Various websites were drawn as continents, each sized according to their relative popularity and located according to their general subject matter. This put xkcd at number two on the Syracuse Post-Standard's "The new hotness" list. By 2008, xkcd was able to financially support Munroe and Radtke "reasonably well" through the sale of thousands of T-shirts per month. Munroe recalled that the comic's success was so great he decided to leave NASA. On September 19, 2012, "Click and Drag" was published, which featured a panel which can be explored via clicking and dragging its contents. It immediately triggered positive response on social websites and forums. The large image nested in the panel measures 165,888 pixels wide by 79,872 pixels high. Munroe later described it as "probably the most popular one I ever put on the Internet" and considered it one of his own favorites. "Time" began publication at midnight EDT on March 25, 2013, with the comic's image updating every 30 minutes until March 30, when they began to change every hour, lasting for over four months. The images constitute time lapse frames of a story, with the title text originally reading "Wait for it.", later changed to "RUN." and changed again to "The end." on July 26. The story began with a male and female character building a sandcastle complex on a beach who then embark on an adventure to learn the secrets of the sea. On July 26, the comic superimposed a frame (3094) with the phrase "The End". Tasha Robinson of The A.V. Club wrote of the comic: "[...] the kind of nifty experiment that keeps people coming back to XKCD, which at its best isn't a strip comic so much as an idea factory and a shared experience". Cory Doctorow mentioned "Time" in a brief article on Boing Boing on April 7, saying the comic was "coming along nicely". The 3,099-panel "Time" comic ended on July 26, 2013, and was followed by a blog post summarizing the journey. In 2014, it won the Hugo Award for Best Graphic Story. Around 2007, Munroe drew all the comics on paper, then scanned and processed them on a tablet computer (a Fujitsu Lifebook). In 2014, he was using a Cintiq graphics tablet for drawing (like many other cartoonists), alongside a laptop for coding tasks.

Influences Munroe has been a fan of newspaper comic strips since childhood, describing xkcd as an "heir" to Charles M. Schulz's Peanuts. Despite this influence, xkcd's quirky and technical humor would have been difficult to syndicate. In webcomics, Munroe has said that "one can draw something that appeals to 1 percent of the audience—1 percent of United States, that is three million people, that is more readers than small cartoons can have". Munroe cited the lack of a need for editorial control due to the low bar of access to the Internet as "a salvation".

Recurring themes

While there is no specific storyline to the webcomic, there are some recurring themes and characters. Recurring themes of xkcd include "technology, science, mathematics and relationships". xkcd frequently features jokes related to popular culture, such as Guitar Hero, Facebook, Vanilla Ice, Linux, and Wikipedia. There are many strips opening with the words "My Hobby:", usually depicting the nondescript narrator character describing some type of humorous or quirky behavior. However, not all strips are intended to be humorous. Romance and relationships are frequent themes, and other xkcd strips consist of complex depictions of landscapes. Many xkcd strips refer to Munroe's "obsession" with potential Velociraptor attacks.

… excerpt ends here. Continue reading the full article.

Illustrations

Xkcd illustration
Xkcd: Randall Munroe in 2016
Randall Munroe in 2016
Xkcd: "Malamanteau", with the title text "The article has twenty-three citations, one of which is an obscure manuscript from the 1490s and the other twenty-two are arguments on Language Log."[‡ 12]
"Malamanteau", with the title text "The article has twenty-three citations, one of which is an obscure manuscript from the 1490s and the other twenty-two are arguments on Language Log."[‡ 12]
Xkcd: "Wikipedian Protester", with title text "SEMI-PROTECT THE CONSTITUTION"[‡ 13]
"Wikipedian Protester", with title text "SEMI-PROTECT THE CONSTITUTION"[‡ 13]
Xkcd: Hoax attack on Richard Stallman by students dressed as ninjas. Inspired by "Open Source"[‡ 20]
Hoax attack on Richard Stallman by students dressed as ninjas. Inspired by "Open Source"[‡ 20]

Worked examples

Example 1 — a first encounter with Xkcd

Start with the simplest possible case. Write down what Xkcd claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Xkcd before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Xkcd ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Xkcd

In research
Xkcd appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Xkcd in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Xkcd is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2000s webcomics, 2005 webcomic debuts, 2010s webcomics, so understanding it makes those chapters shorter.
In everyday life
Look for Xkcd outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Xkcd” →

How to study Xkcd in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Xkcd means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Xkcd out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Xkcd in simple terms?

xkcd (sometimes styled XKCD) is a serial webcomic created in 2005 by American author Randall Munroe. The comic's tagline describes it as "a webcomic of romance, sarcasm, math, and language".

Why does Xkcd matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Xkcd?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Xkcd.

Tags

  • 2000s webcomics
  • 2005 webcomic debuts
  • 2010s webcomics
  • 2020s webcomics
  • American comedy webcomics
  • Computer humour
  • Creative Commons-licensed comics
  • Hacker culture
  • Infinite canvas webcomics
  • Nerd culture
  • Randall Munroe
  • Short form webcomics

Keep exploring