%% IP thread: http://tvtropes.org/pmwiki/posts.php?discussion=1453004897064735700
%% No action taken.
[[quoteright:332:[[Webcomic/GirlGenius http://static.tvtropes.org/pmwiki/pub/images/gaslamp-fantasy_gg_2560.jpg]]]]
[[caption-width-right:332:''[[http://www.girlgeniusonline.com/comic.php?date=20081205 "ME!"]]'']]

->''"Any sufficiently advanced magic is indistinguishable from technology."''
-->-- A riff on ClarkesThirdLaw, often mistakenly attributed to '''Creator/LarryNiven'''.

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 [[TheVerse verse]] where MagicAIsMagicA, this is an inherently JustifiedTrope just as long as it makes sense for the culture: Empirical evidence and experimentation are the cornerstone of UsefulNotes/TheScientificMethod, 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". However, in a verse where WildMagic reigns, magic is very unlikely to appreciate efforts at such domestication, with results usually ranging from mischievous to lethal.

One of the many sides arguing over UnEqualRites. Contrast with MagicVersusScience where this attitude belongs only to the scientists, and ArbitrarySkepticism, where fans of "science" will loudly [[ScienceCannotComprehendPhlebotinum deny magic exists rather than accept empirical evidence]]. Not quite related to MagiTek or PostModernMagik but may show up alongside either or cause them. Compare to DoingInTheWizard, DoingInTheScientist, and {{Sufficiently Advanced Alien}}s.

A subtrope of FantasticScience. Compare and contrast TheSparkOfGenius. Can be a direct result of RationalFic. For the sake of general cohesion, anything that more or less works thanks to magic but isn't actually [[MagicByAnyOtherName called "magic"]] by anyone in the work falls under this trope. Compare MagicFromTechnology and PostModernMagik.


[[folder:Anime & Manga]]
* ''Franchise/LyricalNanoha'' 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 ''Webcomic/GirlGenius'' is sufficiently analyzed magic in the Victorian Era, then Nanoha is its equivalent in the space age. There's plenty of {{Magitek}} left over from {{Precursor|s}} civilizations lying around that [[LostTechnology isn't understood in the current era]]. It fits the trope since those civilizations simply had a better grasp of how the magic works. In space opera in general, precursor civilizations or alternate tech trees both can leave mind boggling advances in one aspect of technology while other aspects are actually lower or even unexplored. The artifacts of Ancient Belka and the like are the Magitek equivalent.
* Most of the alchemists in ''LightNovel/{{Baccano}}'' were content to discover the secret of alchemy. [[MadScientist 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?"[[note]]Regeneration is variable depending on both the severity of the injury and how many times it's been received before. The more times you've had your head blown off, the faster it reconstructs itself.[[/note]] to "can I combine human and dolphin DNA to create a viable homunculus?"[[note]]:Yes.[[/note]]
* In ''Anime/CodeGeass'', this is how Lelouch takes to his Geass power after a couple of awkward situations that made him realize it has limitations- namely, that it won't work on the same person more than once, and that it requires direct eye contact. Before making serious use of it again, he conducts several tests on random students and teachers to see what other limitations it has. [[SuperEmpowering C.C.]] is impressed.
* Though most people in ''Manga/{{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. Orochimaru in particular searches for the Naruto equivalent of the Theory of Everything, and believes current knowledge of chakra is barely scratching the surface. The story eventually reveals that he's correct as chakra [[spoiler:is actually the stolen power of a god]].
** In ''Manga/{{Boruto}}'', the Hidden Leaf Village gains an R&D department, complete with researchers in white lab coats and hallways lined with glass with experiments being performed inside. Presumably, other major ninja villages have similar departments.
* Much of the early part of ''Manga/DeathNote'' 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 [[{{Shinigami}} 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.
** In fact, the author of the work goes to great lengths to sufficiently analyse his magical object; there are a huge set of rules for the workings of the Death Note covering almost every possible eventuality.
** It plays very well to Light's character, because someone as focused and meticulous as Light would make sure he knew every possibility and restriction of the Death Note. After all, what if there was a step in a master plan that failed at a crucial time because, say, the Death Note can't make someone do the impossible?
* ''Franchise/{{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 ''LightNovel/KaraNoKyoukai'' that originally, wizards believed that even explaining how their magic works to someone who doesn't know makes it less effective. In ''VideoGame/MeltyBlood'', 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 ''Manga/FullmetalAlchemist'', alchemy is considered 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). In the manga there's a debate over the difference from alkahestry, with the two drawing on different power sources.
** In Amestris it's commonly said that alchemy began in the kitchen. Which is fitting, since preparation of food is about the most common chemistry people actively do and historical alchemy is the predecessor to chemistry.
** The manga posits the idea that "god" is not separate from the world but rather is the entirety of the world considered a living organism, observing the universe and itself for billions of years.
* ''Manga/MahouSenseiNegima'' 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 [[spoiler:and ways of stopping Magical Worlds from collapsing]], 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.
* The sequel series to Negima, ''Manga/UQHolder'', takes things a step further; magical scholarship and mundane scholarship have been unified, to the extent of {{Magitek}} becoming so ubiquitous that there are smartphone apps to cast spells for those without the aptitude, complete with no-inherent-magic {{Muggles}} writing new and improved versions of said spellcasting apps via proper understanding of how the programming works for that sort of thing.
* ''Manga/GhostHunt'' 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 fact, one of the premier psychics of that universe is on record stating that the only way that they can get respected by the scientific community as equals is if they research and document what they do with the same degree of rigor as people in accepted sciences.
* In ''Manga/{{Bleach}}'', the afterlife has an entire research division devoted to studying spiritual powers and coming up with technological applications for them.
* Magnostadt in ''Manga/MagiLabyrinthOfMagic'' has its Magic Academy conduct all kinds of research on magic
* Sebastian in ''Anime/DokiDokiPrecure'' shown to be able to reverse engineer the Cure Communes device to create his own electronic one, thus giving him powers equal to a Precure. [[SuperpowersForADay He loses them]] [[NoPlansNoPrototypeNoBackup after one battle.]]
* In ''Manga/KotouraSan'', the narrative for the setting intentionally {{Avert|ed Trope}}s this trope to be PlayedForDrama, but for PsychicPowers and not magic per se. Because these powers are so scarce in the setting, its science is literally unaware and unassuming that espers actually exist. This is why Haruka's {{Telepathy}} never could get an official diagnosis despite her mother's [[MedicateTheMedium gradually aggressive means]] in trying to get it during the DownerBeginning. By contrast, Yuriko [[SoapBoxSadie proudly]] {{Invoke|d Trope}}s this trope as one of her founding principles for the ESP Society and Research Club.
* In ''Manga/AttackOnTitan'' although the actual origins of the Titans and the exact process of transforming into one are still unknown, it is revealed that [[spoiler:the technologically advanced Kingdom Of Marley has an entire research institute dedicated to study the Titans and their powers, they can produce industrial level quantities of the serum used to transform Eldians into mindless Titans, even knowing to adjust the dosage to produce a specific class of Titan, they also make use of blood tests to determine if someone has Eldian ancestry and thus susceptible of turning into a Titan; Then there's the "Warrior" military program which is implied to follow [[YouHaveOutlivedYourUsefulness strict rules and protocols]] to pass the Titan powers among their members without risking them to fall outside of Marleyan control]].

[[folder:Comic Books]]
* In ''ComicBook/TheAutumnlandsToothAndClaw'' the animal characters treat magic as a science. It is studied and taught. There are even symposiums on current trends in magic.
* Doctor Doom is a pro at this trope. Unlike his contemporary and rival, [[ComicBook/FantasticFour 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 Franchise/MarvelUniverse 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 [[PowerCopying copy other wizards' spells]] far more quickly than it would normally take to master them. Though there are limits to this. Copying the movement may not be enough without an understanding behind the magic or sufficient level of skill to handle the spell as Doom found out with a later attempt. In one story the infar-red vision provided by his mask allowed him to see some advance warning of when magic was about to be cast, the other wizards and sorcerers present seemed to be unaware that their moves were being telegraphed as such.
* ''Franchise/GreenLantern'': Hal Jordan in the early [[UsefulNotes/TheSilverAgeOfComicBooks Silver Age run]] of his book did quite a bit of this to discover the exact limits and potential drawbacks of his GreenLanternRing. And the tests themselves often kicked off the events of a story.

[[folder:Fan Works]]
* In ''[[FanFic/TheTabulaAvatarUniverse Debt Of Blood]]'' the [[TabletopGame/DungeonsAndDragons Illefarn song portals]] are sophisticated enough that they can tap into the [[Franchise/StargateVerse Stargate]] network and probably work on the same principles.
* In ''Fanfic/DungeonKeeperAmi'' 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.
* ''Fanfic/HarryPotterAndTheMethodsOfRationality'' is all about this. Unlike other works which employ this trope, the protagonist runs into trouble when it turns out that, unlike physics, magic doesn't run on ''numbers'' and has its own equivalent to the Laws of Thermodynamics that's based entirely on what's [[spoiler:fair]].
* The ''VideoGame/HeroesOfTheStorm'' fanfic ''FanFic/HeroesOfTheDesk'' gives us the [[FunWithAcronyms Strategic Prevention, Extraction, and Ablation Regiment]] who is a strong believer in this combined with ClarksThirdLaw. If AWizardDidIt, they will only admit such after ''exhaustive'' analysis of their [[Series/AgentsOfSHIELD 0-10-4s]].
* In the [[MassiveMultiplayerCrossover mega-crossover]] ''Fanfic/EventHorizonStormOfMagic'', "thaumic radiation" (the [[MegaCorp Company's]] term for magic), is a new phenomenon discovered in the Epsilon Eridani system (containing the planets on which [[Literature/ASongOfIceAndFire Westeros]], [[Literature/TheLordOfTheRings Middle Earth]], and [[TabletopGame/{{Warhammer}} the Warhammer world]] are located [[spoiler:,alongside the [[WesternAnimation/TheLegendOfKorra Avatar world]] as well]]). Units of magic have been standardized, a magic detector (the Thaumometer) has been invented, and they're experimenting with new {{Magitek}}. These experiments culminate in [[spoiler:using electrically powered runes to generate a "thaumic field" of magic, bending and focusing the field through the One Ring, and shooting the concentrated beam of magical energy at Dany's dragon eggs with the intent of hatching them. It was a 100% success, [[FromACertainPointOfView sort of]]]].
* ''Fanfic/BringerOfDeath'' has this approach to the use of ki, culminating in [[https://www.fanfiction.net/s/8162862/68/Bringer-of-Death a special chapter in which Gohan explains exactly how mastering ki allows you to fire energy beams and fly]].
* In ''Fanfic/MagicaeEstPotestas'', a crossover between Literature/ArtemisFowl and VideoGame/{{Undertale}}, this is how the monsters are able to make their {{Magitek}}. Also, the fairies have started recreating color magic as well, or "reverse spellcasting" as No. 1 calls it.

[[folder:Films -- Animation]]
* ''WesternAnimation/MyLittlePonyEquestriaGirlsFriendshipGames'':
** Sunset Shimmer used to be a unicorn mage before being turned into a human, and "The Science of Magic" short shows her to have used those skills to become a competent scientist (though she fails to sufficiently analyze the magic, eventually concluding after many explosions that its properties makes no sense in the human world).
** Human Twilight Sparkle is able to create a device that siphons off magic without realizing that it's actually magic.

[[folder:Films -- Live-Action]]
* The entire Franchise/MarvelCinematicUniverse seems to be headed in this direction.
** ''Film/CaptainAmericaTheFirstAvenger'' introduces us to the [[MacGuffin Tesseract Cube]], the "Jewel of Odin's treasure room". Though most people who encounter it think of it as divine or mystical, the Comicbook/RedSkull merely thinks of it as highly advanced science which only his genius can fully unlock. When some other Nazi officers derisively refer to his inventions as magic, he even quotes a kind of proto-version of Clarke's Third Law (albeit a much more condescending version than Clarke would have used): "Great power has always baffled primitive men."
** This is a plot point in ''Film/{{Thor}}''. Jane Foster, rather than being a paramedic as in [[Comicbook/TheMightyThor 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", which can be 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 would simply consider it a teleporter or stargate.
** In ''Film/{{The Avengers|2012}}'' [[spoiler:said Destroyer is reverse-engineered into energy weapons and a Bifrost-like portal is built using real physics principles.]]
** In ''Film/ThorTheDarkWorld'', a brief scene has Jane being scanned by a device called a "Soul Forge" and proceeding to stun the Asgardian healer present with a brief explanation about how it works and the scientific principles behind it. She then snarks at overly-grandiose names that Asgardians bestow upon their technology, whereas humans would call the device a "Quantum Field Generator", [[ExactlyWhatItSaysOnTheTin since that's what it does]].
* The ''Franchise/StarWars'' prequels did this with control over the Force. While the original trilogy implies that power in the magical Force is an abstract talent, the prequels reveal that control of the Force is determined by the presence of cellular organelles called Midichlorians. Thus, a Jedi's strength in the Force is a result of measurable, physical properties of his body. However, the Force itself still remains a mystical energy field rather than something that could be readily explained by science.

* In ''Literature/HarryPotter'', there are research departments in the Ministry of Magic; 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; and Lord Voldemort delved further into the depths of dark magic than any wizard who came before him. Dumbledore's development of the uses of dragons' blood might also fall under this trope. The Potterverse in general has an interesting perspective on this trope. Whilst magic is never described as being anything explicable by ordinary means, it is a force that seems to obey numerous immutable rules (although most of these, such as 'magic cannot revive the dead' appear to be moral rather than empirical.) Heck, the fact that so many magical disciplines can be taught in a school at all is proof that they have been studied and recorded diligently over the centuries, and nearly all of what witches and wizards learn is simply how to duplicate the spells and potions that their forbears discovered.
* Derk's forte in ''Literature/DarkLordOfDerkholm''. 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 ZigZaggingTrope in ''Literature/{{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 ("[[RunningGag maysherestinpeace]]") was a "research witch" who lived in Mad Stoat, Lancre. She investigated such things as exactly what species are eligible for the "EyeOfNewt". 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 ''Discworld/LordsAndLadies'' the advantage of this approach in other areas of witching is noted:
-->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''?\\
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 three bits of wood and four cubic centimetres of mouse blood. A later book introduced an even more refined version that just needed two bits of wood and an egg. [[RunningGag "It has to be a fresh egg, though"]]. It's even suggested that most magic can be pared down like this in a pinch, but is deliberately wrapped up in hard work, ceremony and mumbo-jumbo to keep people from trying it, for the same reason that we don't want hobbyists building nuclear bombs in their basements.
** Of course, none of this is helped by the fact that a lot of it works the way it does [[ClapYourHandsIfYouBelieve because they believe it works that way]].
* The ''Literature/HeraldsOfValdemar'' 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. Oddly enough, they mix this trope with AchievementsInIgnorance-- the theoreticians get started because, after hundreds of years where their nation had no mages, one of the things they don't know is that there are supposedly things they ''can never'' know. There's thus an understandable 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.
* ''Literature/EnchantedForestChronicles''' 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 ''Literature/LordDarcy'' stories is based on sufficiently analyzed magic.
* Many of the wizards in ''Literature/DoctrineOfLabyrinths'', notably Felix.
* In Rick Cook's ''Literature/WizBiz'' fantasy series, the trope standard SummonEverymanHero 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 Creator/GordonRDickson's novel ''Literature/TheDragonKnight'', although in the opposite direction. Here this is initially presented as a mnemonic approach to looking up and casting spells from an initially provided (and extremely comprehensive) reference book: rather than building up from simple effects, complex and polished spells are ''broken down'' into what's needed. And the series also develops this in the opposite direction from ''Literature/WizBiz'': rather than introducing successively more complex applications of programming, the main character's development in magic lies in slowly ''abandoning'' most of this, replacing symbolic formalue with colloquial description, that with visualization, and ultimately that for a wordless and intuitive form of "make whatever is most appropriate for this moment so" kind of thinking. While he never gives up formulating and testing hypotheses, what is being tested, how and what the results mean become progressively less clear over the series' course.
* In ''Literature/RetributionFalls'' demonologists are basically scientists who build {{Magitek}} (more magic than tech) powered by demons, they're not particularly evil either.
* In Creator/CharlesStross' ''Literature/TheLaundrySeries'', 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 ''[[Literature/SagaOfRecluce 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.
* This is a major plot thread in ''A Star Shall Fall'', the third Literature/OnyxCourt 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 ''Literature/TheDresdenFiles'', 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 TechnologyPorn, 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, [[spoiler: thunderstorms, a kiss from Lara]], 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, outstripping many wizards who have been researchign the topic for centuries in mere months. In a world where magic makes any technology go kablooie, he figures out a way to connect a spirit of intellect to the internet.
** In ''Summer Knight'', a Fairie Queen cites the Law of Conservation of Energy as proof of why the Summer knight's mantle of power couldn't be destroyed.
** {{Lampshade|Hanging}}d 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.
** In ''Cold Days'', the magic used by [[spoiler:Merlin to create the prison on Demonreach]] is so advanced that it seems like magic to a ''wizard''.
* By the same author, the [[OurSpiritsAreDifferent fury]]-based magic of ''Literature/CodexAlera'' is so much a part of society that it has been meticulously analysed over the course of centuries, and as such the capabilities of different types are known very precisely. However, it becomes increasingly clear as [[GuileHero Ta]][[MuggleBornOfMages vi's]] adventures continue that Alera's mindset has become extremely stagnant and complacent, and as such it has overlooked many possibilities for expanding its use of furycraft. For example, Tavi's greatest CrowningMomentOfAwesome in ''Cursor's Fury'' comes when he realises that [[spoiler: the well-established use of aircrafting to bend light in a similar way to a telescope can be used on a much larger scale to focus sunlight into a death-ray]].
* Creator/DavidWeber's ''Literature/TheWarGods'' 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 ''Literature/TheWheelOfTime'''s Aes Sedai can be fairly hidebound and set in what [[MagicByAnyOtherName 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 [[spoiler:severing]] and even [[spoiler:sai'din taint-madness]], Elayne's work leads to her actually copying and ''creating'' [[spoiler:[[{{Magitek}} new ter'angreal]]]]...
* ''Literature/RiversOfLondon'':
** This was started by [[BeethovenWasAnAlienSpy the first Magician of London, Sir Isaac Newton]], who codified virtually all the spells used. In RealLife of course, Newton did try to codify magic and alchemy, but ultimately concluded they didn't exist (as far as we know).
** DC Grant takes this approach to magic, learning exactly why magic causes electrical devices to short out and explode. He even works out how to use them to disable cars as a sort of magical [[http://en.wikipedia.org/wiki/Spike_strip stinger]]. Peter continues to believe that magic must be subservient to the laws of quantum physics somehow, much to the dismay of his superior, [[ObsoleteMentor DCI Nightingale]].
** In The fifth book, ''Foxglove Summer'', it is revealed that part of Nightingale's dismay comes from it being that line of thinking taken up by ThoseWackyNazis and the {{Ghostapo}} during [=WW2=], which led all sorts of atrocities and the virtual extinguishment of magic in the world at Ettersberg.
* 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 ''Literature/TheCaseOfTheToxicSpellDump'', 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 AlternateUniverse Earth.
* In Katherine Kurtz's ''[[Literature/{{Deryni}} 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 Creator/TerryGoodkind's ''[[Literature/SwordOfTruth Law of Nines]]''.
* Creator/FritzLeiber'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 Creator/StanislawLem. 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 ''Literature/{{Mistborn}}'', allomancy- a magic system triggered by ingesting and "burning" various metals- was thoroughly explored by [[GodEmperor the Lord Ruler]], who only allowed knowledge of ten basic metals to reach the general populace. As the series progresses, [[ActionGirl 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 [[BloodMagic hemalurgy]].
* Lev Grossman's ''Literature/TheMagicians'' 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 Creator/DianeDuane's ''Literature/YoungWizards'' series are written or spoken equations for a higher order of physics, including [[EquivalentExchange the requirement that they balance]].
* Creator/RogerZelazny:
** In ''Jack of Shadows'', we very literally see that Sufficiently Analyzing Magic can give you {{Story Breaker Power}}s.
** ''Literature/TheChroniclesOfAmber'', considering how the Pattern is treated, also draws on this trope (although only a few family members seem to be in on how the magic works).
* In ''Literature/SmokeAndShadows'', [[spoiler: Arra]] comes from an AlternateUniverse where humans have developed magic to a greater extent than technology, but still combine it with the physical sciences and employ it in a scientific manner. [[spoiler: Arra]] had little difficulty integrating [[{{Magitek}} magic with technology]] after she came to Tony's Earth. In particular she uses computers to assist with divination and performing the necessary mathematical calculations to create interdimensional gates. This is in stark contrast to magical practitioners from Tony's Earth, who tend towards a more traditional superstition-driven approach to magic.
* There's an Asimov short story about a physicist who one day wakes up levitating above the bed. He spends the entire story trying to get funding and a research team to study the phenomenon, but despite being able to easily and repeatedly demonstrate his ability to levitate, everyone still refuses to believe him. (Turning the story into an instance of "Everyone but me is a FlatEarthAtheist")
* Uncle Andrew of ''Literature/TheChroniclesOfNarnia'' takes this approach to magic, doing experiments with guinea pigs to figure out how to reach AnotherDimension. His experiments are finally successful in reaching the alternate worlds, but a really powerful sorceress like Jadis has nothing but disdain for people who use his approach. In [[Literature/TheSilverChair an earlier book in the series]] Eustace, too, is against such a concept, when he decides that even repeating a bunch of magical formulas is going about it more analytically than what would be proper, and he should just ask [[CrystalDragonJesus Aslan]] to take him to Narnia.
* Max Barry's ''Lexicon'' is about the application of neuroscience to improve what was once bardic magic resulting in MoreThanMindControl
* In ''Literature/NewArcana'', the Order of Neomages has research facilities and an entire research council. Since the world also has relatively developed science, it makes sense that people would apply scientific method to magic.
* In ''Literature/CircleOfMagic'', magic, especially academic magic, works like this. You can earn credentials, go to university. In one book there's a microbiology lab with sterile protocols where they investigate a MysticalPlague, another where [[TheSmartGuy Niklaren]] spends most of his time at a conference on the various [[{{Seers}} seeing magics]] of the world, and in yet another one mage describes the scientific principle of reproducibility. The reason it's not brought up as much is that the main characters have ambient magic, which is largely unexplored.
* Creator/LyndonHardy's "Master of the Five Magics" series starts out with five kinds of magic whose rules have been studied and formalised to such a degree that each kind of magic uses different terms to indicate its ultimate law(s) - the Principles of thaumaturgy, the Doctrine of alchemy, the Maxim of magic, the Rule of sorcery, and the Laws of wizardry. The antagonist in the second book is attempting to conquer the world by mastering the meta-laws that govern which rules are dominant at any given time, then disconnecting them and bringing in new ways to perform these various arts that his troops have figured out but the established orders are unable to use - essentially trying to win by having analysed magic more than the other guys. The third book takes this to the ''next'' level of meta, exploring the feedback effects of specific types of analysis on metamagic - and by extension, local physics - and introduces an antagonist who has meta-meta-analyzed magic sufficiently to have learned how to effectively LogicBomb parts of the multiverse out of coherence.
* ''Literature/JourneyToChaos'': Dengel Tymh is a name known all over the world. This is because the world runs on {{magitek}} and he is the one who who codified magic as a practical science instead of a mystical art. His ''Introduction to Magecraft'' has been a best seller for over a thousand years.
* ''The Literature/SecondApocalypse'' plays with it, using the Dunyain, a race of absurdly intelligent {{Straw Vulcan}}s, as a vehicle.
** Subversion: [[spoiler:Moenghus]] attempts to exploit this but ends up subverting it when he blinds himself as a necessary first step in learning the Psukhe, the magic of the Cishaurim, only to discover that the Psukhe relies almost entirely on intuition, emotion and passion--things the [[AwesomenessByAnalysis hyper-analytical]] Dunyain are practically incapable of, which means not only is he still powerless, he's also blind. Of course, since he ''is'' [[ImpossibleGenius Dunyain]], even losing his eyesight really just [[BroughtDownToBadass Brought Him Down To Badass]].
** Played straight: Kellhus learns the Gnosis, a school of magic more dependant on language and possibly mathematics, and promptly becomes [[TheOmnipotent even more godlike]] than he already was. Granted, the Gnosis is already regarded as being very powerful InUniverse, but Kellhus takes it UpToEleven.
* In ''Literature/TheMortalInstruments'', the Spiral Labyrinth is a hidden library and research facility where warlocks with a scholarly bent study and experiment with both existing spells as well as developing new ones. They also accept commissions (such as from the Clave) to develop specific magic as needed. The Silent Brothers do similar work in the City of Bones, but are more narrowly-focused since they must work within the bounds of the runic knowledge granted to the Nephilim by the Angel Raziel.
* While the magic of the titular ''Literature/{{Spellsinger}}'' is unpredictable, as befits a style enacted through art, the more powerful wizardry wielded by Clothahump and Zancresta is like a sort of improvisational physics. Clothahump, specifically, makes (accurate) use of scientific terminology in his incantations.
* In ''Literature/TheIronTeeth'' web serial the mage guild's treat magic like a science. They use chemistry and the scientific method to create spell crystals and other devices.
* In the ''Literature/DanteValentine'' series there is an entire category of Psions, called Magi, who devote their lives to using the scientific method to study the paranormal, which is among other things why Necromances such as Danny can act as accredited professionals whose evidence is admissible in court. However, it's noted that there are still things [[ScienceCannotComprehendPhlebotinum science cannot explain]]: for example, the conversion of normal humans to Nichtvren ([[OurVampiresAreDifferent vampires]]) is noted to include BioAugmentation by retroviral infection, but there's also an "etheric transfer" that cannot be rationalized with current science.
* The Literature/LandOfOz series uses magic this way, especially in the later Baum novels. One character in ''Literature/ThePatchworkGirlOfOz'' goes so far as to describe Oz as a place "where magic is a science."
* In ''Literature/TheMachineriesOfEmpire'', the RealityWarping properties of the calendar are so well-understood, the scientists are capable of creating theoretical models and predicting what kind of exotics would result from what calendars, and the entire calendric science is simply a branch of mathematics.
* In ''Literature/TheYoungAncients'' magic consists of creating fields where the laws of physics behave differently,in highly predictable ways as ordered by the field's creator. A solid knowledge of physics and chemistry can only aid a Builder. Later descriptions make this sound even more like computer programming, the Builder enters a trance wherein they can control their own brain's electricity so precisely so as to program reality on a quantum level.

[[folder:Live-Action TV]]
* In ''Series/TheWildWildWest'', Dr. Miguelito Loveless discovered a way to enter an alternative dimension, the world inside a painting.
* In ''Series/TheLibrarians2014'', the episode "The Rule of Three" deals with [[spoiler:Morgan La Fey]] distributing a spell in the form of a cell phone brain game app in order to get the kids competing in a major science fair to [[BeCarefulWhatYouWishFor subconsciously wish for their opponents to fail]] in order to skim energy off the [[LaserGuidedKarma karmic backlash]] caused by the RuleOfThree, which would cause all the harm they unwittingly unleashed to return to them threefold. Jenkins even references how the app is an inversion of ClarkesThirdLaw.

[[folder:Myths & Religion]]
* Thomas Aquinas essentially did this to Catholicism -- he dismissed Literature/TheBible 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, and his version of the [[http://en.wikipedia.org/wiki/Cosmological_argument cosmological argument]] is considered by many people (both believers and atheists) to be the strongest argument for the existence of some sort of Creator.

[[folder:Tabletop Games]]
* ''TabletopGame/ArsMagica'' is largely about this trope. One of the main reasons why each player controls a troupe of several characters 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.
* In ''TabletopGame/DungeonsAndDragons'', 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.
** ''[[https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B4E22DL0XscIMDM0MmUyOTktZDc2MS00NzU3LWE3MDYtMTUwYTY5NDgwYTUx&hl=en 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.
** TabletopGame/{{Eberron}} is pretty much based on this. Magic has literally been commercialized and {{Magitek}} is widespread. Traveling on a magic-powered passenger train or sending a message to someone via a magical equivalent of a telegraph is seen as perfectly normal by most people.
* [[MagicAIsMagicA The way magic works in]] ''TabletopGame/{{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.
* Comes up in several ''TabletopGame/{{GURPS}}'' books dealing with magic, notably in ''Magic and Thaumatology''.
* ''TabletopGame/{{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.
* In the ''TabletopGame/NewWorldOfDarkness'' there's usually one {{splat}} per gameline whose mission is to analyze their particular brand of magic. Due to balance issues, this never really gives them much of an advantage.
** The Ordo Dracul in ''TabletopGame/VampireTheRequiem''. Their ethos is, "Okay, we're cursed to avoid sunlight, given an inhuman hunger for blood, have a ravaging beast in the back of our 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 ''TabletopGame/MageTheAwakening''; as postmodernists, revolutionaries and inventors, they take an interest in applying scientific properties to magic and [[{{Magitek}} making an exquisite blend]].
*** This is the general approach of the prime sphere, finding the regular patterns in the energies that allow magic to be treated like mundane energy or materials.
*** Rote spells are also described as the end result of this process, where a single effect is refined to the point where use of the spell relies on a mundane ability and sphere knowledge instead of mystical intuition.
** In ''TabletopGame/ChangelingTheLost'', this is the official [[PlanetOfHats hat]] of the Autumn Court- however, because most "magic" is simple contract law, it's fairly easy.
** In ''TabletopGame/PrometheanTheCreated'', the titular {{golem}}s naturally turn their attention to understanding how their own particular magical nature works in order to understand what they need to do in order to BecomeARealBoy. In fact, of the ten Refinements[[note]]philosophical pursuits dedicated to understanding one's soul in order to achieve humanity[[/note]], no fewer than ''seven'' effectively fall under this trope. Five of these are particular flavors of the inherent magical nature of Prometheans, with Plumbum (the Refinement of Lead) being most focused on "what is a Promethean?", one (Argentum, Refinement of Silver) applies this philosophy to studying the other creatures of the World of Darkness, and then there's Centimanus. The Refinement of Flux tries to understand the darker side of Pyros, such that the most common stereotype for Centimanus besides "monster who has given up on humanity" is "scholar trying to better define what humans are ''not''".
** The Null Mysteriis in ''TabletopGame/HunterTheVigil'' 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 DependingOnTheWriter; sometimes they're skilled scientists who're actually making progress and other times [[FlatEarthAtheist flat earth atheists]] who ignore obvious supernatural phenomena.
** Necromancers in ''TabletopGame/GeistTheSinEaters'', the sample character actually is a former university academic.
** ''TabletopGame/DemonTheDescent'' is ''made'' of this - the demons of the title are supernatural quantum intelligences who've been kicked out of the service of an entity known as [[DeusEstMachina the God-Machine]] that operates the world through occult Infrastructure and strange machinations. But what really makes it this trope is those machinations get results - what looks like strange, formless ritual to outsiders is actually a means-tested way of generating supernatural resources, as perceived through the eyes of a fractured god-like intelligence.
** The fan game ''TabletopGame/GeniusTheTransgression'' 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.
* Hermetic mages in ''TabletopGame/{{Shadowrun}}'' take this approach as opposed to the more intuitive "magic as art/religion" approach of shamans.
* ''TabletopGame/VampireTheMasquerade'': 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.
* The Cryptics from ''TabletopGame/DemonTheFallen'' seek nothing less than to ''reverse-engineer Creation''. Yes, the World of Darkness was made by {{God}}. And these demons try to analyze how [[LittleMissAlmighty She]] did it.
* This is the color Blue's take on magic in ''MagicTheGathering'' when it isn't dishing out elemental attacks of wind or water. Being the color of logic, reason, and raw brainpower, Blue is full of scholars and wizards attempting to understand the very underpinnings of magic itself. This is represented mechanically with Blue excelling at card draw (research/learning), returning cards on the battlefield to the players' hands (by tampering with the magical connection between summoner and summoning), the almost exclusive ability to counter spells as they're being played (by short-circuiting the magic of the casting itself), and the most interaction of all the colors with artifact cards that ''doesn't'' involve smashing them to pieces or blowing them up (the second most being Red, which is ironic because it is also tied with Green in destroying artifacts).

[[folder:Video Games]]
* The [[SpellMyNameWithAnS Armagus/Ars Magus]] of ''VideoGame/BlazBlue'' is this, a type of magic which relies on ambient [[{{Mana}} 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 [[EldritchAbomination Black Beast]], which was impervious to mundane attacks. "Real" magic remains mysterious and extremely powerful. Similar to ''VideoGame/GuiltyGear'' 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 the {{Castlevania}} series:
** Charlotte, one of the two player characters in VideoGame/CastlevaniaPortraitOfRuin, is a powerful sorceress that owes her skill to constant study. She describes magic, either Dracula's, her own, or otherwise, with the kind of detail and technical lingo you'd expect from a scientist explaining her craft (early in the game, she explains the villain is controlling the castle's magic with "multilayer quantum-space barriers", based on the "Theory of Curse Amplification"). However, she doesn't elaborate too much on the terms she uses, so her explanations sometimes come across as a bit [[MagiBabble vague and hollow]]. This is somewhat justified because most of the time, she's explaining this to [[BookDumb Jonathan]], a warrior by trade who's not nearly as well versed in magic as she is. However, this trope is also zig-zagged, as there's magic in the story ([[OurGhostsAreDifferent specially]] [[SpiritAdvisor Wind]]'s) that even she can't justify or comprehend, because, well, [[AWizardDidIt it's magic, after all]], but also because she's still young and, despite being a prodigy, is still lacking experience.
** The eponymous [[CastlevaniaOrderOfEcclesia Order of Ecclesia]] is the last of several groups of dedicated scholars founded in the 19th century to find new ways of defeating Dracula in the absence of the Belmont family line through diligent study. They finally succeeded in creating such a way, [[DangerousForbiddenTechnique Dominus]], right before one of the members, named Albus, goes rogue and steals it, kicking off the plot. [[spoiler: The "analyzed" part kicks into full gear when its revealed that [[EvilIsNotAToy all that research with Dracula's magic drove Barlowe, the Order's founder, mad]], resulting in him designing Dominus to consume the user and free Dracula instead of destroying him for good. As it turns out, Albus found out ''part'' of his lie and stole Dominus so he could do his own research. His search leads him to track down the descendants of the Belmont family and draw samples of their blood in an attempt to reconfigure Dominus. He is even found in a laboratory at one point.]]
* The ''VideoGame/EndlessSpace'' and ''VideoGame/EndlessLegend'' games have Dust, nano-machines that can, among other things, grant sentience to other machines, give god-like powers to living beings and bend the laws of reality itself.
* Much of ''Franchise/FinalFantasy'''s MagiTek functions on this trope:
** By studying [[SummonMagic Espers]] and their magical powers, ''VideoGame/FinalFantasyVI'''s Cid can grant magic to machines and individuals. This is [[TropeNamers called]] MagiTek.
** In ''VideoGame/FinalFantasyVII'', the Shinra Company 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 [[PowersAsPrograms 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 ''VideoGame/FinalFantasyVIII'' is more of a pseudo-magic created after analyzing the sorceress' magic. Of note: after a semi-sorceress' MentalTimeTravel powers are analyzed, scientists are able to replicate them with the "Ellone Junction Machine."
** In ''VideoGame/FinalFantasyXII'', Dr. Cid spends years studying the God-made [[GreenRocks 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 ''VideoGame/FinalFantasyXIII'', the forces of Cocoon have created Manadrives capable of emulating the magic of the l'Cie.
* Shaping in ''VideoGame/{{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 [[spoiler: DNA, and subsequently magical genetic engineering.]] The series as a whole [[AnAesop 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.
* ''[[VideoGame/KingsQuestVAbsenceMakesTheHeartGoYonder King's Quest V]]'' cites Niven's riff verbatim at one point, using this to justify [[{{Magitek}} a scientific device repowering a magic wand]].
* The [=D'ni=] of the ''VideoGame/{{Myst}}'' Verse took this approach to their Writing and associated crafts.
* In ''VideoGame/TalesOfSymphonia'', 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|Magic}} [[PhysicalGod 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 SpaceOpera.
** 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 ''VideoGame/WorldOfWarcraft'', 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 LovePotion.
** 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.
** In ''Literature/TidesOfWar'', Kalecgos uses an arcane ball with a distinct recurring pattern to show Jaina Proudmoore what magic is made of. The realization stuns her.
-->'''Jaina''': Its...''math''!
* The entire premise of the ''VideoGame/OpenSorcery'' world is that tech-mages called open sorcerers are busily analyzing magic and have discovered ways to use code to harness it.
-->'''High Sysadmin Ada Lovelace''': The spiritual world is like a black box program whose API is completely undocumented.
* This is basically how the Asura from ''VideoGame/GuildWars2'' operate; they look at magic as just another field of science, and [[{{Magitek}} apply it accordingly]]. They have concepts such as Golemancy (robots/MiniMecha that basically use magic for the battery/OS), the Greater Magical Field Theory (conservation of mass/energy as applied to magic), and so forth.
* Apparently this is how magic works in ''VideoGame/{{Touhou}}'', according to AllThereInTheManual.'' [[UniverseCompendium Perfect Memento in Strict Sense's]]'' article of [[CuteWitch Marisa]] details her research on magic. It involves gathering magic mushrooms, doing various stuff on them, and recording whether they result in magical reactions or not. Those mushrooms also act as fuels to Marisa's magic attacks. Additionally, according to [[WitchSpecies Patchouli]], there is no fundamental difference between magic and science.
* ''Franchise/TheElderScrolls''
** The [[OurDwarvesAreDifferent Dwemer]] excelled in this, reaching the point of becoming the fantasy equivalent of SufficientlyAdvancedAliens. The [[LostTechnology tools and technologies]] they left behind are still used by the more clever denizens of Tamriel to accomplish feats that conventional technologies and magics cannot match. Some examples include creating the tools necessary to tap into the divine powers of the heart of a dead god, machinery capable of safely reading an [[TomeOfEldritchLore Elder Scroll]] without the nasty side effects, a [[RealityWarper reality-warping]] HumongousMecha in working order, and a fully-functional WeatherControlMachine.
** The [[TheOrder Psijic Order]] is a powerful MagicalSociety and the oldest monastic order in Tamriel. Through thousands of years of intensive study in the nature of magic, they have become able to utilize it in ways (and on a scale) that the rest of Tamriel is unable to match. Their many magical feats include making their home island disappear without a trace (twice), [[WeatherManipulation summoning a storm to swallow the Maomer fleet whole]], using various forms of teleportation and AstralProjection, {{telepathy}}, and there are even reports that they possess a limited form of [[OmniscientCouncilOfVagueness clairvoyance and sight into future events]]. No group (save for perhaps the extinct Dwemer) can match these abilities.
** There are a number of other academic institutions dedicated to the study of magic, such as the Arcane University in the Imperial City, or the College of Winterhold in Skyrim, both of which cross over with being {{Wizarding School}}s. Each is dedicated to the study and application of the nature of magic in a rather scientific fashion, including classifying magic into various "schools".
* In ''VideoGame/PillarsOfEternity'', this is more or less the point of the relatively new and highly controversial field of animancy. Highly controversial because magic runs on the manipulation of soul energy; while many animancers are happy to restrict themselves to ethical studies, there have been enough cases of extreme experiments involving souls GoneHorriblyWrong, or [[GoneHorriblyRight Horribly Right]], to instill widespread suspicion of the fledgling science. [[spoiler:Plus, the Leaden Key and several of the gods actively seeks to suppress the study of animancy, to protect certain secrets that they believe, [[GreyAndGreyMorality rightly or wrongly]], [[TheseAreThingsManWasNotMeantToKnow are best kept unknown]].]]
* There is a fair bit of this in ''VideoGame/ArcanumOfSteamworksAndMagickObscura''. MagicVersusScience is a major theme of the setting, to the point that "magick" and "technology" are opposite ends of a single aptitude scale on your character sheet. It's a fundamental truth that the two cannot coexist in any great power, and the rational proponents of the new technology are hard at work on researching ''why''.
-->Begin the experiment with your Inclined Plane at its most acute angle, nearly flat upon the table. Take Block A, and place it on Inclined Plane C: note that the Block does not slide. [...] Introduce a Magickal Artifacte into the system. Slowly bring it into the vicinity of Inclined Plane C. Notice that Block A begins to slide haltingly downward!
--->--''Principia Technologica'', being the collected lectures of Sir Harris Guffingford, A Helpful Illustration of the Principles of Science, Chapter the Fourth: On the Eternal Conflict Between Natural and Supernatural Forces
* ''VideoGame/ShadowWarrior2'': The Zilla Corporation has analyzed TheCorruption and turned it into a viable energy source / intelligence booster, greatly advancing scientific progress while integrating implant circuitry with chi-bending to develop artificial combat magic. Unfortunately for Zilla, the corruption is also analyzing ''them''.

[[folder:Visual Novels]]
* The Franchise/{{Nasuverse}} is known for its [[ViewersAreGeniuses incredibly complex]] rules of magecraft. Let's start with the fact that magecraft is very different from Magic, though easily confused with it. Magecraft is more or less a science. A science with a number of metaphysical flaws and a dependence on {{mana}} to work, but a pseudo-science none the less. That said, Magic [[note]]often called "True Magic" to reinforce the difference between it and magecraft[[/note]] is a rare and incredible power that defies the laws of science and magecraft, and is ultimately closer to [[RealityWarper reality-warping]] than anything else.

[[folder:Web Comics]]
* Mori of ''Webcomic/TheDragonDoctors'' 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 ''Webcomic/ElGoonishShive'' 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. Complicating matters is that magic itself in this universe is a semi-sentient entity, meaning that studying it is more akin to xeno-psychology than physics. [[spoiler:Further complicating matters is that magic only wants to be used and understood by a minority of people: if knowledge of magic became widespread, it would rewrite all of its own rules on how it works to make sure only a select few could use it.]]
* ''WebComic/{{Erfworld}}'': Sizemore notes that Parson Gotti takes this approach to learning how Erfworld and its [[RPGMechanicsVerse 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.
*** This is what makes him TheDreaded or an EldritchAbomination in the eyes of his enemies. For example he managed to change the type of a hex by linking a Croakamander and a Dirtamancer (Necromancer and Geomancer) to revive a dormant volcano. Something only the Titans could do.
* [[TropeNamers Named]] during the "Cinderella" non-canon arc of ''Webcomic/GirlGenius''. After using her SteamPunk tech-knowledge to repair the Good Fairy's magic wand, Agatha shouts "'Any sufficiently analyzed magic is indistinguishable from science!'"
-->'''Zeetha the Fairy Godmother:''' What's with the ''quotation marks''? Who said ''that''?\\
'''[[LargeHam Agatha as Cinderella]]:''' [[QuotingMyself ME!]]
** In a later side story featuring one of her ancestors who has come under attack from a electrical weapon:
-->'''Ghengis Ht'rok-din:''' "GRAH! Vat kind uf sufficiently advanced technology iz dis!?!"
* In ''Webcomic/TheGodsOfArrKelaan'' Claremont, god of knowledge and a former Scientist in life, spends much of the early comics studying magic. His religion naturally follows suit.
* The eponymous court in ''Webcomic/GunnerkriggCourt'' dedicates much of its time to the "etheric sciences".
* ''Webcomic/{{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 [[WeakButSkilled 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 [[TheGift Shadow Magic]] users.
* One SFW page of the often NSFW ''Webcomic/{{Oglaf}}'', [[http://oglaf.com/double-blind/ Double Blind]]. A man is traveling from oracle to oracle, asking them what picture is contained within a sealed envelope, so he can record and rate the answers for future travelers.
* ''Webcomic/DarkLegacyComics'': Mad scientist Narya [[http://www.darklegacycomics.com/321 tries to analyze]] how magic works scientifically, To which he is told isn't the point of magic is that it has no basis in science.
* Vaarsuvius of ''Webcomic/TheOrderOfTheStick'' points out "any sufficiently advanced -- and ''repeatable'' -- magic is indistinguishable from technology."
* It's not prominent, but in ''Webcomic/TalesOfTheQuestor'', this is clearly the Racconan attitude to [[strike:magic]] Lux Phyiscs. WordOfGod says that their willingness to collaborate and share knowledge is why Racconan wizards are so advanced.
* Erik's attitude towards magic in ''{{Webcomic/Roommates}}'' is: "Magic is not incomprehensible. There are patterns; catalysts and reactions." He might have a point because, despite not having any actual magical abilities, he even succeeds in playing [[CourtMage magical advisor]] in one of the arcs.
* In ''Webcomic/TheStoryOfAnima'', the titular force has been analyzed to an extent. [[http://tapastic.com/episode/64773 It's know that everyone can emit it, and its ability to interact with certain minerals known as Catalysts, as well as the fact that some, known as Animus, can harness their Anima directly]]. However, ''what'' Anima is is the subject of many theories, with SoulPower being popular enough to be the reason for the name. And as for the Animus, [[http://tapastic.com/episode/56424 all that's really known is that some develop the ability after suffering severe trauma]].
* In ''Webcomic/{{Unsounded}}'', pymary is essentially a programming language executed on the machinery of the universe, with precise instructions for re-allocating Aspects of reality, constant research and scholarly publication on new and improved spell commands, and pre-assembled spells that any dabbler can borrow with minimal training. "Magic" in the setting refers exclusively to the fantastic and inexplicable, whereas pymary is a hard science.

[[folder:Web Original]]
* ''Literature/DeucalionChronicles'' is practically built on this trope; almost all technology present in the CU is magic-based.
* A central point in Threetoe's ''VideoGame/DwarfFortress'' based short story "[[http://www.bay12games.com/dwarves/story/tt_journey.html Cado's Magical Journey]]"
* The story node "[[http://everything2.com/title/How+mages+discovered+the+scientific+method How mages discovered the scientific method]]" on ''Website/{{Everything 2}}'' uses this as its central premise.
* Church of ''Machinima/RedVsBlue'' prefers to believe that his being a ghost is this, as opposed to Wash's must more mundane theory that Church is [[spoiler: the Alpha AI]].
* The Wiki/SCPFoundation recovers and studies anomalous objects in the world, many of them being the origin of folktales and urban legends around the world, and some of which have been directly responsible for some of our more recent innovations.
* ''Literature/TalesOfMU'' has a variation of this. While some magic "just works", such as divine healing, much of the mechanics of magic are explained, in excruciating detail. In fact, studying magic this way is the main character's [[DiscussedTrope college major]]. For example: enchantment works somewhat differently for each caster, but the methods of figuring out those variations is highly formalized. Though if you poke too hard at how the universe works, it will poke back.
* ''Literature/SagaOfSoul'''s protagonist is a MagicalGirl who, once she obtains her powers, immediately sets out to analyze and experiment with them. She even uses her magic to explore ''other'' scientific branches, such as creating unbihexium for physicists to study.

[[folder:Western Animation]]
* In ''WesternAnimation/MyLittlePonyFriendshipIsMagic'', magic, though requiring innate ability, can be learnt from books, and this is certainly how [[TheSmartGuy Twilight Sparkle]] approaches it. She's insistent that there are rational rules to how magic works, although we aren't actually told that many of them.
** In "Feeling Pinkie Keen", Twilight spends the entire episode trying to debunk Pinkie Pie's claim of having a psychic [[SpiderSense "Pinkie Sense"]]. When Pinkie points out that [[ArbitrarySkepticism Twilight herself can do magic]], she claims that her talent is a science, instead of something [[WildMagic random]] like Pinkie's. Twilight ''tries'' to analyse how Pinkie Sense works, too, but it proves unanalysable ([[StrawVulcan at least by her narrow-minded methods]]).
** 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 ''WesternAnimation/IronManArmoredAdventures'' is similar to the comics incarnation; he appears to possess both advanced science and magical powers from his armor. Tony Stark is bewildered as this version of him has only previously encountered technological threats. However, after further examining the armor Tony concludes that Doom is using extremely next-generation tech [[RealityWarper to manipulate quantum fields]] or some such TechnoBabble, 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.''
* While nobody has been shown seriously studying and testing things in ''WesternAnimation/AvatarTheLastAirbender'', the arts of bending the elements have been shown to work like this and several characters have been shown figuring out how to take bending principles to their logical conclusion: Iroh learned how to redirect lightning by applying waterbending's energy-flow principles to a firebender's ability to manipulate electricity. Toph recognized that while earthbending can't apply to metal, metal still carries earthen impurities that allow it to be bent. And Katara realized that her own sweat could be waterbent, shortly before meeting someone who figured out how, in rare circumstances, that could also apply to bodily fluids that are still inside the body. This also carries into ''WesternAnimation/TheLegendOfKorra'', where Amon [[spoiler:can rob a person of their bending ability by combining bloodbending (the aforementioned waterbending of bodily fluids) with known techniques to block bending by hitting pressure points to disrupt a person's energy flow.]]
* ''WesternAnimation/AdventureTime'': Princess Bubblegum vehemently denies the existence of magic, and attributes all its properties to specifically applied scientific principles. This gets her in hot water with the ''very'' large wizard community.
* In ''WesternAnimation/RickAndMorty,'' Rick devises a method in which he can scan cursed items from a spooky antiques store, figure out what each curse is, and starts a business removing them for people.
-->'''Rick:''' Hey Morty, quick question: does evil exist, and if so, can one detect and measure it? Trick question, Morty, the answer is yes, you just have to be a genius.

[[folder:Real Life]]
* Many of the earliest scientists in RealLife started out trying to find God/gods/magic.
** Sir UsefulNotes/IsaacNewton, co-inventor of calculus, describer of universal gravitation and the three laws of motion, among other accomplishments, 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 than 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. Geology in the early 19th century started off as a branch of Natural Theology. The first paleontologists in Oxford came from the ranks of Anglican clergy.
* Here's an extended example: A certain crystal has the properties of Oil of Vitriol. Another crystal has properties of Saccharum Saturni. You need, for an alchemical process, a crystal with the properties of both Brimstone and Lead, which are components in both crystals. You make use of a specially-prepared solvent to separate the crystals into their component properties, and then because of the strong affinities of Lead and Brimstone, compared to between Oil of Vitriol and Saccharum Saturni, a new crystal, Anglesite, forms that cannot be separated by this solvent, so you pour off useless byproduct, and use the Anglesite crystal in your experiments.\\\
Explanation: [[spoiler:The first crystal is hydrogen sulphate (or sulfuric acid); the second one is Lead Acetate. The solvent is distilled water. When the two substances dissolve in the distilled water, they react to form hydrogen acetate (acetic acid) and lead sulfate. The lead sulfate precipitates out of the solution, while the acetic acid stays dissolved and gets poured off with the water.]]
* The iconic outfit of the PlagueDoctor was an attempt to mate the mysticism of the day with budding medical science, the specifics of which can be read on the linked page.