Sufficiently Analyzed Magic



""Any sufficiently advanced magic is indistinguishable from technology.""

- Larry Niven, riffing on Clarke's Third Law

In his tower, the wizard Istar casts his fortieth fireball today while his apprentice diligently notes the exact qualities of each. On his workbench are piles of fireball spells yet untested, but Istar plans to catalogue them all. Only then can he begin to study what makes one fireball stronger than another.

While gathering herbs, Granny Annick thinks to herself: everyone says horseshoes are lucky, but how lucky are they? Now if I got ten people from the village to roll dice a few times, and gave them a coin for every number facing once with and once without a horseshoe, I'd only have to count the coins.

Sufficiently Analyzed Magic is a philosophy, whenever you find wizards, witches, sorcerers or mages who decide that lore and intuition is not enough: They want to understand how magic works and will do so through empirical evidence and experimentation. You have the beginnings of Sufficiently Analyzed Magic.

For a verse where Magic A Is Magic A, this is an inherently Justified Trope just as long as it makes sense for the culture: Empirical evidence and experimentation are the cornerstone of the scientific method, and there is no reason that it should be any less effective at discovering the details of a self-consistent series of rules just because it's called "magic" rather than "physics".

One of the many sides arguing over Un Equal Rites. Contrast with Magic Versus Science where this attitude belongs only to the scientists, and Flat Earth Atheist, where fans of "science" will loudly deny magic exists rather than accept empirical evidence. Not quite related to Magitek or Post Modern Magik but may show up alongside either or cause them. Compare to Doing in The Wizard, Doing in The Scientist, and Sufficiently Advanced Aliens.

A subtrope of Fantastic Science. Compare and contrast The Spark of Genius. For the sake of general cohesion, anything that more or less works thanks to magic but isn't actually called "magic" by anyone in the work falls under this trope.

Anime & Manga

 * Magical Girl Lyrical Nanoha has got to have set a new standard in that its not just taken and sufficiently analyzed magic, but it's pretty much evolved to the point of understandable science. If Girl Genius is sufficiently analyzed magic in the Victorian Era, then Nanoha is its equivalent in the space age.
 * Most of the alchemists in Baccano were content to discover the secret of alchemy. Szilard and Huey, on the other hand, decided to test everything related to it from, "exactly how fast do I heal from each individual injury?" to "can I combine human and dolphin DNA to create a viable homunculus?"
 * In Code Geass, this is how Lelouch takes to his Geass power after an awkward situation with Kallen where he first realizes it has limitations- namely, that it won't work on the same person more than once. Before making serious use of it again, he conducts several tests on random students to see what other limitations it has.
 * Though most people in Naruto don't bother with the details, there is clearly a pretty strong effort to understand the exact nature of chakra. Most of its basic workings can be found in textbooks.
 * Much of the early part of Death Note consist of Light conducting tests with the Death Note to see what it's capable of -- he takes it to such rigors that he's able to determine restrictions and abilities that even the death god it formerly belonged to didn't realize it had. Light's knowledge of these specific attributes is his key advantage in the mind games he plays with genius detective L.
 * Nasuverse magic users tend to be very scholar-like, studying spells and the workings of mana and magical beings, experimenting to harness the sorceries, and passing their knowledge on to their descendants. This is actually an evolution that occurs within the series. It's noted in Kara no Kyoukai that originally, wizards believed that even explaining how their magic works to someone who doesn't know makes it less effective. In Melty Blood, Sion was originally cast out of her academy for daring to share research on her attempts to cure vampirism with other wizards outside of her academy. The events that occur within both series have apparently brought about a 180 turn, when it has become apparent to the wizards that they really need to know what the hell they're doing. In the Manga, Sion is bemused how they completely ignore how she was ever banished in the first place.
 * In Fullmetal Alchemist, alchemy is studied exactly like a science. Alchemists do research like scientists, and those alchemists employed by the state are required to demonstrate the results of their research once a year in order to continue receiving funding (although the main characters do less research and more fighting with alchemy). They even discuss theories as to where the energy used in alchemy comes from
 * Mahou Sensei Negima treats magic in this manner as well. Spells, more often than not, work with the laws of physics rather than against them (those spells that do break physics are said to be the most advanced and difficult). Negi himself is described as conducting numerous tests and experiments when developing new spells, and he even references scholarly articles in magical research at one point, in much the same way a modern-day physicist would reference another scientist's work.
 * Ghost Hunt is all over this trope. Featuring mystics, psychics, paranormal investigators and exorcists from various religions all working together at once, the show utilizes them and their techniques in a consistently logical fashion and they investigate paranormal activity in a similarly consistent action.
 * In Bleach, the afterlife has an entire research division devoted to studying spiritual powers and coming up with technological applications for them.

Comics

 * Doctor Doom is a pro at this trope. Unlike his contemporary and rival, Reed Richards, Doom has a thorough understanding of not just earthly sciences, but magic as well. He's actually used this advantage on a number of occasions to one-up Reed (and most of the Marvel Universe at various points), although the inherent weaknesses of magic (usually, bartering/stealing the energy from a higher power) typically come to bite Doom in the backside.
 * Doom also blends magic and technology. For example, he use the sensors of his armor to copy the exact hand movements of spells when he sees them cast for the first time, and his gloves can automatically guide his hands through them. Thus allowing him to copy other wizards' spells far more quickly than it would normally take to master them.
 * Hal Jordan in the early Silver Age run of his book did quite a bit of this to discover the exact limits and potential drawbacks of his Green Lantern Ring. And the tests themselves often kicked off the events of a story.
 * In Wild Cards, Water Lily was a subject of such tests.

Fan Works

 * Harry Potter and The Methods of Rationality is all about this.
 * In Dungeon Keeper Ami Ami's main advantage, other than her taking knowledge from her own world, is her scientific approach to magic and all the innovations she can make, especially with teams of research warlocks.

Films -- Live-Action

 * This is a plot point in the Thor movie. Jane Foster, rather than being a paramedic as in the original comics, is an astrophysicist. Thor, on the other hand, comes from Asgard, which seems to be a place of great magic... but as he points out to Jane, "Your ancestors called it magic... but you call it science. I come from a land where they are one and the same."
 * This is also seen in the "tech" Asgard uses. The Destroyer is indistinguishable from any old super-science giant robot with a death ray, and if you took the operational end of the Rainbow Bridge and dropped it in a science-fiction movie, people wouldn't blink twice and simply consider it a teleporter or stargate.
 * Continuing from the above, Captain America the First Avenger introduces us to the Tesseract Cube, the "Jewel of Odin's treasure room". Though most people who encounter it think of it as divine or mystical, the Red Skull merely thinks of it as rapidly advanced science which only his genius can fully unlock.
 * The entire Marvel Cinematic Universe seems to be headed in this direction.

Literature
"It's all very well a potion calling for Love-in-idleness, but which of the thirty-seven common plants called by that name in various parts of the continent was actually meant?
 * Derk's forte in Dark Lord of Derkholm. He magically engineers plants and animals in his spare time, winding up with things like winged pigs, invisible cats, extraordinarily stupid cows and highly intelligent geese, and griffin children, who share the DNA of both him and his wife, along with whatever else he made them out of. (One is part house cat, while another is part actual lion, another has goose DNA, another uses actual eagle, etc.)
 * A Zig Zagging Trope in Discworld: Magic changes its rules randomly in response to scientific study, still the Wizards in the High Energy Magic building have managed to start working out the laws governing how it changes. (Apparently it has something to do with "quantum".)
 * Goodie Whemper ("maysherestinpeace") was a "research witch" who live in Mad Stoat, Lancre. She investigated such things as exactly what species are eligible for the "Eye of Newt". One of her triumphs was discovering the exact breed of apple and type of knife to use in the old "predict your future husband's name with a thrown apple peel" if you wanted it to actually work; otherwise it would inevitably spell SCSSSC. Magrat inherited her cottage after her premature death during an experiment to find out how many bristles you could pull out of a broomstick midflight (not quite that many as it turns out).
 * Magrat followed in her footsteps, as did many of the witches who had lived in the cottage. In Lords and Ladies the advantage of this approach in other areas of witching is noted:

The reason that Granny Weatherwax was a better witch than Magrat was that she knew that in witchcraft it didn't matter a damn which one it was, or even if it was a piece of grass.

The reason that Magrat was a better doctor than Granny was that she thought it did."


 * The ritual that summons Death traditionally required a human sacrifice and lots of eldritch fires, but by the time the books start this has been refined to 3 bits of wood and 4 cubic centimetres of mouse blood. A later book introduced an even more refined version that just needed 2 bits of wood and an egg. "It has to be a fresh egg, though".
 * Of course, none of this is helped by the fact that a lot of it works the way it does because they believe it works that way.
 * The Heralds of Valdemar series has a newly created school of magical theoreticians, who use geometry to work out what the effects of various bits of magic will be. There's some degree of conflict between them and the actual mages, who take a much more intuitive approach. As the Mage Storms series reaches its climax, it's conceded by even the most diehard "intuitionists" that the theoreticians have a point, and that their research works.
 * The Enchanted Forest Chronicles' Telemain did this. The implication being that this was the distinction between "magicians" and other magic-users (or, to put it another way, watch your ass, there's probably a few more like him lurking around Linderwall and the surrounding kingdoms).
 * The entire world of Randall Garrett's Lord Darcy stories is based on sufficiently analyzed magic.
 * Many of the wizards in Doctrine of Labyrinths, notably Felix.
 * In Rick Cook's Wiz Biz fantasy series, the trope standard Summon Everyman Hero spell finds a computer programmer, who proceeds to analyse magic and create a programming language for writing new magic spells. He doesn't understand magic himself, he just finds a few spells equivalent to basic assembler commands and combines them to make entire programming languages.
 * The world he lives in is explicitly one where most spells are nearly impossible to analyze because the more complex the spell is, the more it's changed by multiple random factors. He elegantly gets round this because his assembler spells are very very simple and therefore predictable.
 * The same "make spells using assembly language" idea is used in Gordon R Dickson's novel The Dragon Knight.
 * In Retribution Falls demonologists are basically scientists who build Magitek (more magic than tech) powered by demons, they're not particularly evil either.
 * In Charles Stross's The Laundry Series, magic is a science. Specifically, computer science. Alan Turing discovered how to use technology to contact other dimensions, most of which are full of not-very-nice creatures. It's very much a science, since why bother with all that drawing of sigils when you can just load up an app on your PDA that does the same thing?
 * The protagonist of L. E. Modesitt Jr's The Magic Engineer takes this approach to magic - he takes notes on the logic and mathematical principles by which magic works, and eventually understands the basis of the entire magical system and how the two forms of magic interact with the material world. He then uses this scientific understanding of magic to build Magitek steam-powered warships.
 * In Harry Potter this appears too: there are research departments in the Ministry of Magic, and the Half-Blood-Prince's potions textbook is a prime example of a student improving and perfecting potions making through trial and error, study and observation. Dumbledore's development of the uses of dragons' blood might also fall under this trope.
 * This is a major plot thread in A Star Shall Fall, the third Onyx Court book. It turns out that, while the mortal world operates according to the laws of physics and chemistry, the faerie world operates according to the laws of alchemy.
 * In The Dresden Files, Harry Dresden would spend his time on this, if he had a steady income and the world wasn't always in danger. Early in the series he repeatedly mentions a desire to just "research". The upgrades to his shield bracelet, force rings and summoning circle over the series read like Technology Porn, and he managed to add an anti-tamper mechanism to a magic shield that impressed even his mentor.
 * In general, Harry explores the mechanism of magic a lot, and lays out a fairly consistent system, even extrapolating new ways to do magic based on the rules. Can you use x to power your magic? If it has energy or inspires emotion. Things like fear, anger, love, wall sockets,, etc.
 * Thomas, in his short story, describes his interaction with magic as much more mechanical, more akin to engineering. Make some calculations, perform a spell, get a result. He contrasts it to Harry's use of magic, which he describes as some absurdist science/art hybrid, where cheesy philosophy and Peter Parker actually matter to what Harry can do, where his belief that he can reshape the world actually lets him.
 * Waldo Butters is a medical examiner with absolutely zero magical talent. However, his analytical mindset and ability to remember random half-heard bits of information make him one of the best magical theorists on the planet. In a world where magic makes any technology go kablooie, he figures out a way to connect a spirit of intellect to the internet.
 * Lampshaded in Day Off when Harry is roleplaying with the Alphas and rails against the unrealistic spread of the magical fireball cast by Billy's wizard character.
 * David Weber's The War Gods series does this in the background. Basically it's a parallel universe, and there are different ways for humans to access energy fields resulting in the powers. The old Empire used the order of Wizards for things like construction as well as steel making.
 * While the The Wheel of Time's Aes Sedai can be fairly hidebound and set in what channeling can and can't do, individual research in the organization abounds. Systematic research is given a kickstart by the events of the story, and several main characters have their own areas of expertise; Egwene frequently spends nights testing the limits of Dreaming, Nynaeve's experiments with Healing lead to better healing methods and the ability to cure and even, Elayne's work leads to her actually copying and creating ...
 * In Rivers of London DC Grant takes this approach to magic, learning exactly why magic causes electrical devices to short out and explode. This was started by the first Magician of London, Sir Isaac Newton, who codified virtually all the spells used.
 * Wizards in the backstory of the Her Majesty's Wizard series used to be like this, until they were all wiped out by sorcerers who just memorized pre-made spells from books written by Satan.
 * Taken to Magitek levels in The Case Of The Toxic Spell Dump, in which the narrator's fiancee is a proofreader for a grimoire publishing house, and sorcerous breakthroughs such as ectopasmic cloning and jinnetic engineering are rapidly modernizing an Alternate Universe Earth.
 * In Katherine Kurtz's Camber the Heretic, A Healer who is treating a Deryni with a head injury inadvertently turns off his patient's powers. Further testing shows that the technique also conceals the existence of those powers from other people (even down to physical reactions to a Deryni-specific drug), and turns up only one other Healer able to perform it. The protagonists devise a baptismal cult to turn off the powers of Deryni and send them into hiding in advance of a wave of persecution.
 * Jax makes this argument comparing the magic of her world and the technology of ours in Terry Goodkind's Law of Nines.
 * Fritz Leiber's Conjure Wife explores this trope, as a college professor discovers that witchcraft is an open secret among women (including his wife) and ends up analyzing magic himself.
 * Prof. A.Donda by Stanislaw Lem. The professor studied Svarnetics (as in Stochastic Verification of Automatized Rules of Negative Enchantment). He got in this due to a typo, but finding out the work is about providing a statistical framework for hexing is not a good enough reason to back off for a man versed in applied mathematics.
 * In Mistborn, allomancy- a magic system triggered by ingesting and "burning" various metals- was thoroughly explored by the Lord Ruler, who only allowed knowledge of ten basic metals to reach the general populace. As the series progresses, Vin uses her knowledge of allomancy's logical setup of powers to discover a handful of new metals with additional abilities. From the same series, it's revealed in the final book that the torture chambers of the Steel Inquisitors were actually laboratories for researching hemalurgy.
 * Lev Grossman's The Magicians and subsequent sequel play into this a lot. Magic is only doable by the most intelligent and obsessed people, as it requires memorizing enormous charts of data (moon position, weather), dozens of language (ancient and current), and the most elaborate hand gestures. Analysis is the main method of learning magic; only rare examples do magic spontaneously.
 * Magic spells in Diane Duane's Young Wizards series are pretty much written or spoken equations for a higher order of physics, including the requirement that they balance.

Myths & Religion

 * Thomas Aquinas essentially did this to Catholicism -- he dismissed The Bible as a source of data, and approached the subject of God from the perspective of an Aristotelian empiricist. This "natural theology" has been popular among Catholic theologians ever since.

Tabletop Games

 * Ars Magica is largely about this trope. One of the main reasons why each player controls a troupe of several character is so that they can still go out and have adventures while their Magus is locked in the lab for months at a time, researching new rites or secrets of Forms and Techniques.
 * Vampire: The Masquerade: Dr. Netchurch is analysing the effects of all sorts of supernatural effects for science. However, while he can explain in detail the interactions between human faith and the forces maintaining the integrity of undead flesh, he dismisses thaumaturgy out of hand as unscientific.
 * In the New World of Darkness there's usually one Splat per gameline who's mission is to analyze their particular brand of magic.
 * The Ordo Dracul in Vampire: The Requiem. Their ethos is, "Okay, we're cursed to avoid sunlight, given an inhuman hunger for blood, have a ravaging beast in the back of the heads, and are capable of superhuman feats. The question is, why? And just what else can we accomplish?"
 * This is a favored ethos of the Free Council in Mage: The Awakening; as postmodernists, revolutionaries and inventors, they take an interest in applying scientific properties to magic and making an exquisite blend.
 * The Null Mysteriis in Hunter: The Vigil are an organization of scientists who want to study the supernatural. They haven't had much success so far due to that pesky Masquerade but their attitude fits this trope perfectly. Their actual competence varies hugely Depending On the Writer; sometimes they're skilled scientists who're actually making progress and other times flat earth atheists who ignore obvious supernatural phenomena.
 * Necromancers in Geist: The Sin Eaters, the sample character actually is a former university academic.
 * In Changeling: The Lost, this is the official hat of the Autumn Court- however, because most "magic" is simple contract law, it's fairly easy.
 * The fan game Genius: The Transgression breaks the mould here: all the splats, especially the Scholastics, follow this ethos. Ironically, mad science consists almost entirely of non-repeatable phenomena making it much harder to study than most of the magic and powers from other gamelines.
 * The Cryptics from Demon: The Fallen seek nothing less than to reverse-engineer Creation. Yes, the World of Darkness was made by God. And these demons try to analyze how She did it.
 * In Dungeons and Dragons, this is what separates Wizards from other spellcasters. To a greater extent, this is separates Archmages and practicers of metamagic from other spellcasters. To a much, much greater extent, this is what separates Artificers from all other practitioners of magic.
 * The Net Wizard's Handbook categorized fantasy settings by "Controllability of magic". The highest state was "Magic is a Science", i.e. no fundamental differences between teaching engineers how to work with electrical forces and teaching wizards how to work with magical forces.
 * Eberron is pretty much based on this.
 * Comes up in several GURPS books dealing with magic, notably in Magic and Thaumatology.
 * The way magic works in Exalted fits in perfectly with this philosophy, and the most powerful users of magic in the First Age (who, incidentally, are called sorcerer-engineers) had a decidedly empirical approach to their craft... to the extent that they harnessed the power of faith, magic, and technology to create the factory-cathedrals, the greatest workshops ever created in any universe. That's right, they actually analyzed the relationship between gods and their worshippers and used it to power Magitek assembly lines.
 * Hermetic mages in Shadowrun take this approach as opposed to the more intuitive "magic as art/religion" approach of shamans.
 * Nephilim refers to magical techniques (e.g. Sorcery, Summoning, Alchemy, Necromancy) as "occult sciences" and states that the human understanding of "magic" is simply a silly superstition.

Video Games

 * Much of Final Fantasy's Magitek functions on this trope:
 * In Final Fantasy VII, the Shinra seemed to be using Aeris and her mother before her to study the magic of the ancients, although the story didn't go into much detail on this point.
 * Shinra also produces materia, so it's probably safe to assume they know a fair amount about regular magic as well.
 * The "magic" used by the characters in Final Fantasy VIII is more of a pseudo-magic created after analyzing the sorceress' magic. Of note: after a semi-sorceress' Mental Time Travel powers are analyzed, scientists are able to replicate them with the "Ellone Junction Machine."
 * By studying Espers and their magical powers, Final Fantasy VI's Cid can grant magic to machines and individuals. This is called Magitek.
 * In Final Fantasy XII, Dr. Cid spends years studying the God-made Nethicite in order to create artificial duplicates. Not only does he succeed, he improves upon his man-made Nethicite (which is just as magical as the other kind) and makes it more efficient.
 * In Final Fantasy XIII, the forces of Cocoon have created Manadrives capable of emulating the magic of the L'cie.
 * The Armagus/Ars Magus of Blaz Blue is this, a type of magic which relies on ambient seithr and scientific principles, is fairly simple to learn, and can be used to create Magitek. It was developed so that more people would be capable of fighting the Black Beast, which was impervious to mundane attacks. "Real" magic remains mysterious and extremely powerful.
 * Similar in Guilty Gear where the science behind the technology that produced the Gears was so fantastic is was called magic. But in the OVA and some dialog in the game it is stated as a form of man-made science and not magic but still different from "old school" science as we know it (but it's the old science that keep Zepp the flying nation in the air).
 * In Tales of Symphonia, there are hints of this going on in Tethe'alla, particularly if you listen to the NPC discussions in Sybak University. The Elemental Research Laboratory is also tasked with studying Summon Spirits. The end result of this process can be seen in the Desian bases and later on the highly-advanced city of Welgaia, where the Magitek looks better suited to Space Opera.
 * Raine Sage also comments in some Z-skits that she feels dissatisfied using magic without fully comprehending how it works on a scientific level and wishes to study it further.
 * In World of Warcraft, magic is often treated as a science, to the point that three mage girls in Stormwind wander about the Mage District of Stormwind, talking about " the Surian theory" and "frequency shifts." Turns out they're apparently making a love potion.
 * Theorycrafting: players will spend hours debating, testing, experimenting, number crunching and quantifying every bit of information about their character stats. There are websites and tools devotes to running millions of simulations to squeeze that bit more damage out of a fight. Mages who do this especially run full force into this trope.
 * Shaping in Geneforge plays this trope to a T. New creations are traditionally made through experimentation, making one new creature after another with one slight modification each time and recording the results. The first game is about you being stranded on an island where you discover an abandoned research facility that had discovered  The series as a whole delivers the message that the process of gaining knowledge gives you the wisdom to use that knowledge, and that simply being given power will lead to abuse.
 * The D'ni of the Myst Verse took this approach to their Writing and associated crafts.
 * King's Quest V cites Niven's riff verbatim at one point, using this to justify a scientific device repowering a magic wand.

Web Comics
"Zeetha the Fairy Godmother: That sounds like a quote. Who said that?
 * Named during the "Cinderella" non-canon arc of Girl Genius. After using her Steampunk tech-knowledge to repair the Good Fairy's magic wand, Agatha makes page quote "Any magic sufficiently analyzed is indistinguishable from SCIENCE!"

Agatha as Cinderella: ME!"


 * It's not prominent, but in Tales of the Questor, this is clearly the Racconan attitude to magic Lux Phyiscs. Word of God says that their willingness to collaborate and share knowledge is why Racconan wizards are so advanced.
 * Juathuur: Although we never see him actually researching, Sevvil spends most of his time mechanically replicating the Juathurr's powers, in combat he can punch well above his weight by combining his rather average electrical powers with a good understanding of the physics behind electricity. Beisaru is probably another example given the page quote, it's certainly not an empty boast: he easily defeats Shadow Magic users.
 * In The Godsof Arr Kelaan Claremont, god of knowledge and a former Scientist in life, spends much of the early comics studying magic. His religion naturally follows suit.
 * Erfworld: Sizemore notes that Parson Gotti takes this approach to learning how Erfworld and its gamelike mechanics work. Notable because those who wield magic in the world are typically content to solve their quandaries about how stuff works with heated philosophy and self-serving hearsay. It's likely that there are very few Erfworlders who really know the rules of their world.
 * It seems as if most Erfworlders are born (or "popped") with an innate understanding of the most basic rules of the world and the skills they need to practice their specialties, and this inherent knowledge tends to discourage further questioning ("Why ask questions when you already know most of the answers that matter?"). But Parson is ignorant of even the most basic aspects of Erfworld - and in asking those questions, he's also asking the sort of questions that lead to discoveries and tactics no one else in the world ever dreamed of.
 * Vaarsuvius of Order of the Stick points out "any sufficiently advanced -- and repeatable -- magic is indistinguishable from technology."
 * The eponymous court in Gunnerkrigg Court dedicates much of its time to the "etheric sciences".
 * Mori of The Dragon Doctors is a "magical scientist," someone whose basic job description is analyzing forms of magic and using appropriate forms of treatment for magical ailments.
 * Tedd of El Goonish Shive is attempting to treat magic just like any other area of the (mad) sciences — physics, chemistry, robotics, etc. So far, we've seen him trying empirical testing of transformation spells, running numbers instead of hoping that things "just work", and so forth. It's heavily, heavily implied that "Lord Tedd" resulted in one timeline when he forgot the value of friendship in lieu of obsessing over magic-turned-science — and thus, power — to the exclusion of all else.

Web Original

 * Deucalion Chronicles is practically built on this trope; almost all technology present in the CU is magic-based.
 * A central point in Threetoe's Dwarf Fortress based short story "Cado's Magical Journey"
 * The story node "How mages discovered the scientific method" on Everything Two uses this as its central premise.
 * Church of Red vs. Blue prefers to believe that his being a ghost is this, as opposed to Wash's must more mundane theory that Church is.
 * The SCP Foundation recovers and studies anomalous objects in the world, many of them being the origin of folktales and urban legends around the world.

Western Animation

 * My Little Pony Friendship Is Magic:
 * In "Boast Busters", Twilight Sparkle is seen experimenting to find out what magic, exactly, she is capable of.
 * In "Feeling Pinkie Keen", she spends the entire episode trying to debunk Pinkie Pie's claim of having a psychic "Pinkie Sense". When Pinkie points out that Twilight herself can do magic, she claims that her talent is a science, instead of something random like Pinkie's. Magic happens to be a natural trait of unicorn ponies like Twilight, and her friend Rarity demonstrates similar abilities.
 * In 'Bridle Gossip', Twilight again describes how rational, scientific magic differs from curses and mumbo-jumbo the others claim are coming from a stranger in the woods.
 * Doctor Doom in Iron Man Armored Adventures is similar to the comics incarnation that he appears to possess both advanced science and magical powers from his armor, much to Tony Stark's bewilderment as this version of him has only encountered technological threats until he met Doom. However, after further examining the armor Tony concludes that Doom is using extremely next-generation tech to manipulate quantum fields or some such Techno Babble, similar to the series Macguffins he and the Mandarin are searching for. Doom even summons an entity (or at least its arm) from another dimension to attack Iron Man and says that primitive people would have called it a demon, meaning that the "magic is advanced science and vice-versa" line in the Thor film may apply to Armored Adventures.

Real Life

 * Many of the earliest scientists in Real Life started out trying to find God/gods/magic.
 * Sir Isaac Newton for one tried to make gold with alchemy and count the exact date of the Judgement Day. It's often said he's the last alchemist rather then the first scientist.
 * Imhotep- The first known doctor (as well as the inventor of columns to hold up buildings and numerous other things) was also a high priest.
 * Much of the modern science we take for granted nowadays grew out of the semi-mystical field of alchemy.
 * Astronomy grew from a sub-field of Astrology.