Leonhard EulerPhoto: Jakob Emanuel Handmann, public domain, via Wikimedia CommonsAudiobook by Fruggia.com · Dec 2026
Leonhard Euler
The Most Prolific Mathematician in History
- 18 chapters
- 32m
- Mathematics
- Free · no sign-up
Euler's mathematical contributions include foundational work in analysis and number theory, the development of graph theory through the Seven Bridges of Königsberg problem, and advances in physics, astronomy, and engineering. He also introduced much of the modern mathematical notation still used today. His personal life included marriage, children, and a gradual loss of sight that did not stop his prolific output.
This biography explains Euler's work in plain language, showing how he solved complex problems using simple concepts. Anyone interested in how one person changed mathematics forever will find this book worth their time.
Listen
-
Read this chapter
Leonhard Euler entered the world on 15 April 1707 in Basel, Switzerland, to Paul III Euler, who served as a pastor in the Reformed Church, and Marguerite Brucker, a woman whose family included several notable scholars of the classics. He was the eldest of four children, with two younger sisters—Anna Maria and Maria Magdalena—and a younger brother named Johann Heinrich. Not long after Leonhard's birth, his family relocated from Basel to Riehen, where his father took up pastoral duties in the local church, and Leonhard spent most of his youth.
Leonhard Euler began his mathematical education at home, studying under his father, who had learned from Jacob Bernoulli at the University of Basel. By the age of eight, Euler moved to live with his maternal grandmother in Basel and started attending Latin school. During this time, he also received private tutoring from Johannes Burckhardt, a young theologian who was deeply interested in mathematics.
In 1720, at just thirteen years old, Euler began studying at the University of Basel. It was not unusual for students to enter university so young during that time. His first mathematics professor was Johann Bernoulli, who was the younger brother of Jacob Bernoulli—formerly a teacher of Euler’s father. Soon, Euler and Bernoulli grew close. In his autobiography, Euler described Bernoulli like this:
The famous professor Johann Bernoulli took great joy in helping me advance in mathematics, though he declined to give private lessons due to his busy schedule. Instead, he advised me to tackle more challenging mathematical books on my own, working through them diligently. If I ran into trouble, he offered free access to him every Saturday afternoon, where he would look over my collected difficulties. He was generous in resolving them, and often, when one of my objections was cleared up, ten others vanished at once—surely the best way to make solid progress in math.
At a crucial moment in his life, Euler found support from Bernoulli as he worked to convince his father to let him pursue mathematics rather than follow a path into the clergy. With that backing, Euler was able to secure his father’s agreement to let him become a mathematician instead of a pastor.
In 1723, Euler earned a Master of Philosophy, completing a dissertation that compared the ideas of René Descartes and Isaac Newton. After that, he began studying at the theological faculty of the University of Basel.
In 1726, Euler finished a dissertation on sound titled De Sono, hoping it would land him a job at the University of Basel, though without success. The next year, 1727, he joined the Paris Academy’s annual prize competition, which had begun in 1720. That year’s challenge was figuring out the best way to place masts on a ship. Pierre Bouguer, known as “the father of naval architecture,” won, and Euler came in second. Over time, Euler entered this contest fifteen times, claiming twelve first-place wins.
-
Read this chapter
Johann Bernoulli’s sons, Daniel and Nicolaus, joined the Imperial Russian Academy of Sciences in Saint Petersburg in 1725, and they promised to recommend Euler for a position when one came up. In July 1726, Nicolaus died of appendicitis after only a year in Russia. When Daniel took over his brother’s place in the mathematics/physics division, he recommended that Euler fill the physiology post Daniel had left vacant. In November 1726, Euler accepted the offer but waited to travel to Saint Petersburg while he tried and failed to get a physics professorship at the University of Basel.
Leonhard Euler came to Saint Petersburg in May 1727. He moved up from a junior role in the medical department to a position in the mathematics department at the academy. He lived with Daniel Bernoulli, and they worked closely together. Euler learned Russian and adjusted to life in the city. He also took on extra work as a medic in the Russian Navy.
The academy in Saint Petersburg, founded by Peter the Great, aimed to boost Russia’s education and bridge the scientific gap with Western Europe. It drew foreign scholars like Euler, who arrived just before Catherine I, the academy’s benefactress, died. Her successor, Peter II, was only twelve years old when he took power. The conservative Russian nobility, wary of the foreign scientists at the academy, slashed funding for Euler and his colleagues. They also blocked non-aristocratic students from entering the Gymnasium and universities.
After Peter II died in 1730 and Anna of Russia took power, conditions at the academy improved a bit. Euler moved up quickly and became a professor of physics in 1731. That same year, he started writing letters to Johann Daniel Schumacher, the academy’s secretary, a correspondence that lasted until 1757. They exchanged more than three hundred letters, with Euler recommending candidates for openings at the academy, including Tobias Mayer and Johann Peter Eberhard. He also sent scientific instruments and copies of his own work. Later, in the 1750s, Euler continued this kind of exchange with Gerhard Friedrich Müller, who took over many of Schumacher’s duties.
In 1731, Euler left the Russian Navy, turning down a promotion to lieutenant. Two years later, Daniel Bernoulli departed Saint Petersburg for Basel, frustrated by censorship and hostility. Euler took over as head of the mathematics department. He married Katharina Gsell in January 1734. Frederick II had tried to recruit Euler for the new Berlin Academy in 1740, but Euler stayed in St Petersburg initially. After Empress Anna died, Frederick agreed to match Euler’s Russian salary of 1600 ecus, and Euler consented to move. In 1741, he asked to leave for Berlin, claiming poor eyesight needed a milder climate. The Russian academy approved, agreeing to pay him 200 rubles yearly as an active member.
-
Read this chapter
Leonhard Euler left St. Petersburg in June 1741 for Berlin, where he spent the next twenty-five years working at the Prussian Academy, offered by Frederick the Great. There, he wrote several hundred articles, including the Introductio in analysin infinitorum in 1748 and the Institutiones calculi differentialis in 1755. In 1755, he was elected a foreign member of both the Royal Swedish Academy of Sciences and the French Academy of Sciences. His students included Stepan Rumovsky, later known as the first Russian astronomer. Euler turned down a chance to succeed Johann Bernoulli at the University of Basel in 1748. In 1753, he bought a house in Charlottenburg where he lived with his family and widowed mother.
Euler took on the role of tutor for Friederike Charlotte of Brandenburg-Schwedt, Princess of Anhalt-Dessau and Frederick's niece. During the early 1760s, he wrote over 200 letters to her, which were later compiled into a volume. The work explored topics in physics and mathematics, revealing Euler’s views on religion and science. It was translated into several languages and published across Europe and in the United States. The book became more widely read than most of his mathematical writings, demonstrating his rare talent for making complex ideas accessible to general readers.
Euler came to Berlin in 1741, where he became a member of Frederick the Great’s academy. Despite his growing reputation and even having been suggested for the academy’s presidency by d’Alembert, Frederick named himself as president instead. The king had a circle of intellectuals at court, including Voltaire, who looked down on Euler. Frederick thought Euler unsophisticated and uninterested in ideas beyond math. Euler was a simple, religious man who never challenged the social order. He wasn’t a skilled debater and often argued topics he knew little about, making him a target for Voltaire’s sharp wit. Frederick also criticized Euler's engineering work, saying he was disappointed in his practical abilities.
The king once wished for a water jet in his garden, so Euler calculated the force needed to power the wheels that would lift water up to a reservoir. From there, the water was meant to flow through channels and finally spray out at Sanssouci. But the mill built according to Euler’s geometric plans couldn’t bring even a small amount of water close enough to the reservoir. “Vanity of vanities!” he declared. “Vanity of geometry!”
Euler's work in Berlin, during his time with Frederick, may have left much to be desired in terms of personal relations, but from a mathematical standpoint, the results were sound. His calculations appear to be accurate, even though the collaboration between him and Frederick, as well as the team building the fountain, seems to have been troubled. The technical side of Euler’s contributions held up well, despite the interpersonal difficulties.
During his time in Berlin, Euler stayed closely connected to the St. Petersburg academy, publishing 109 papers there while also helping students and sometimes housing Russian visitors in his home. In 1760, during the Seven Years' War, Russian troops attacked and looted his farm in Charlottenburg. General Ivan Petrovich Saltykov later paid for the damage, and Empress Elizabeth of Russia added a payment of 4,000 rubles. Euler chose to leave Berlin in 1766 and return to Russia.
During his time in Berlin from 1741 to 1766, Leonhard Euler was incredibly productive, writing 380 works, 275 of them published. That included 125 memoirs for the Berlin Academy and more than 100 sent to the St. Petersburg Academy, where he remained a member and received an annual stipend. In 1748, his Introductio in Analysin Infinitorum came out in two parts. Beyond his own research, Euler managed the library, the observatory, the botanical garden, and helped with calendars and maps that brought income to the academy. He even contributed to the design of water fountains at Sanssouci, the King’s summer palace.
-
Read this chapter
Catherine the Great had come to power, and things in Russia grew more stable, so in 1766 Euler agreed to return to the St. Petersburg Academy. He got terms that were quite generous—a 3000-ruble salary each year, a pension for his wife, and promises that his sons would be given high positions. At the university, he worked with his student Anders Johan Lexell. During his time in St. Petersburg, a fire in 1771 burned down Euler’s house.
-
Read this chapter
In January 1734, Leonhard Euler wed Katharina Gsell, whose father Georg was a painter at the Academy Gymnasium in Saint Petersburg. The couple lived near the Neva River and had thirteen children together, five of whom lived past childhood—three sons and two daughters. Their first son, Johann Albrecht Euler, was godfathered by Christian Goldbach. Later, Johann Heinrich Euler settled in St. Petersburg in 1735 and worked as a painter at the academy. After Katharina died in 1773, Euler married her half-sister Salome Abigail Gsell. That union lasted until Euler’s own death in 1783.
Leonhard Euler was known not just for his brilliance, but for his kindness and generosity. Early in life, he memorized Virgil’s Aeneid, and by old age, he could recite it from memory, even recalling the first and last sentence on each page of the edition he learned it from. He had an extraordinary memory for numbers, knowing the first hundred prime numbers and being able to calculate each of their powers up to the sixth degree. Despite losing his sight entirely, Euler remained cheerful and good-natured throughout his life.
-
Read this chapter
Leonhard Euler’s eyesight grew worse throughout his career. In 1738, three years after surviving a serious fever, he became nearly blind in his right eye. He blamed the cartography work for the St. Petersburg Academy for his condition, though the exact cause remains uncertain. His vision in that eye continued to decline while he was in Germany, so much so that Frederick the Great began calling him “Cyclops.” Euler himself said of his loss of sight, “Now I will have fewer distractions.” In 1766, a cataract was found in his left eye. Although couching the cataract gave him temporary improvement, complications left him almost totally blind in that eye as well. Despite this, his productivity did not suffer. With help from scribes, Euler continued to produce work at a high rate—averaging one mathematical paper per week in 1775.
-
Read this chapter
Leonhard Euler passed away on 18 September 1783 in St. Petersburg, following a lunch with his family. He collapsed suddenly while talking about the new planet Uranus and its path through space with Anders Johan Lexell. The cause was a brain hemorrhage. Jacob von Staehlin composed a short obituary for the Russian Academy of Sciences, and Nicolas Fuss, a Russian mathematician and one of Euler’s students, wrote a longer tribute which he read at a memorial gathering. In his eulogy for the French Academy, the Marquis de Condorcet wrote:
Leonhard Euler was laid to rest next to his wife Katharina at the Smolensk Lutheran Cemetery on Vasilievsky Island. A century later, in 1837, the Russian Academy of Sciences erected a new monument, replacing his old, overgrown grave plaque. Then, in 1957, to mark the 250th anniversary of his birth, his remains were reburied at the Lazarevskoe Cemetery within the Alexander Nevsky Monastery.
-
Read this chapter
Leonhard Euler made contributions to nearly every area of mathematics and science, from geometry and calculus to algebra and number theory, as well as physics and astronomy. His work was so vast that if all his writings were printed, they would fill between sixty and eighty quarto volumes. From 1725 to 1783, Euler averaged about eight hundred pages of output each year. He also wrote more than four thousand letters and hundreds of manuscripts. It is estimated that Euler authored a quarter of the total work in mathematics, physics, mechanics, astronomy, and navigation during the eighteenth century, with some researchers suggesting he may have contributed as much as a third of all mathematical output in that time.
-
Read this chapter
Leonhard Euler made lasting contributions to mathematical notation through his widely read textbooks. He introduced the idea of a function and first used the notation f(x) to represent applying a function f to an input x. Euler also standardized many of the symbols we use today: he popularized the letter i for the imaginary unit, the symbol Σ for summations, and the letter e for the base of natural logarithms, now called Euler's number. Though Welsh mathematician William Jones had first used the Greek letter π for the ratio of a circle’s circumference to its diameter, Euler helped cement its use in mathematical writing.
-
Read this chapter
Calculus was capturing the imagination of mathematicians in the 18th century, and Euler, influenced by his family friends the Bernoullis, threw himself into its study. The Bernoullis had made much of the early progress in the field, and their impact shaped Euler’s path. Though some of Euler’s methods wouldn’t pass muster today—especially his use of the principle of the generality of algebra—his work pushed the boundaries of what was possible, leading to major breakthroughs.
In the field of analysis, Euler made his mark through his extensive work with power series, a method of expressing mathematical functions as infinite sums. These techniques allowed him to tackle complex problems in calculus and beyond, shaping how we understand the behavior of functions today. His approach was both innovative and influential, setting new standards for mathematical rigor and insight. The use of such series became a cornerstone in his vast body of work, demonstrating his deep grasp of analytical methods and his ability to push the boundaries of what was known at the time.
Euler's work with power series led him to solve a famous math puzzle known as the Basel problem in 1735, though he later gave a more detailed proof in 1741. The question had been posed by Pietro Mengoli back in 1644 and became widely known through the efforts of Jacob Bernoulli, baffling many top mathematicians of the era. Euler determined that the sum of the reciprocals of all natural numbers squared equals:
Euler explored a special number later known as Euler's constant, or the Euler–Mascheroni constant, examining how it connects to the harmonic series, the gamma function, and certain values of the Riemann zeta function.
Euler brought the exponential function and logarithms into analytic proofs, expanding their use in mathematics. He found ways to express logarithmic functions through power series and defined logarithms even for negative and complex numbers. This broadened how logarithms could be applied. He also defined the exponential function for complex numbers and uncovered its connection to trigonometric functions. For any real number φ, measured in radians, Euler’s formula shows how the complex exponential function behaves.
Euler made groundbreaking contributions to analysis, expanding the theory of higher transcendental functions through his introduction of the gamma function. He also developed a new method for solving quartic equations, a problem that had long challenged mathematicians. His work on calculating integrals with complex limits pointed toward what would later become modern complex analysis. Euler even invented the calculus of variations, creating a powerful new field for tackling optimization problems. In this area, he formulated the Euler–Lagrange equation, which reduced such problems to solving differential equations.
Leonhard Euler brought together analysis and number theory, opening up an entirely new area of mathematics called analytic number theory. His work laid the foundation for understanding how prime numbers are spread throughout the integers. He developed tools like hypergeometric series, q-series, and hyperbolic trigonometric functions, along with an analytic approach to continued fractions. Using these methods, he showed that there are infinitely many primes by connecting their distribution to the divergence of the harmonic series. His investigations into prime numbers eventually contributed to what became known as the prime number theorem.
-
Read this chapter
Euler’s work in number theory began with the influence of Christian Goldbach, who was his friend at the St. Petersburg Academy. Much of Euler's early research in this area built on the ideas of Pierre de Fermat. Euler took Fermat’s concepts and ran with them, developing further insights while also proving some of Fermat’s claims wrong. For instance, Euler disproved Fermat’s conjecture that every number of the form 2 to the power of 2 to the power of n plus 1—known as Fermat numbers—was prime.
Euler showed how prime numbers are connected to analysis, proving that if you add up the reciprocals of all the primes, the sum grows without bound. In doing this work, he found a deep link between the Riemann zeta function and prime numbers. This connection is now called the Euler product formula for the Riemann zeta function.
Euler introduced the totient function φ(n), which counts how many integers up to n are coprime to it. With this function, he extended Fermat’s little theorem into what's now called Euler's theorem. He made major progress on perfect numbers, proving that every even perfect number corresponds to a Mersenne prime—a result later known as the Euclid–Euler theorem. He also hypothesized the law of quadratic reciprocity, a cornerstone of number theory that would inspire Gauss’s Disquisitiones Arithmeticae. By 1772, Euler had shown that 2³¹ − 1 = 2,147,483,647 is prime, a record he held until 1867.
-
Read this chapter
In 1735, Euler tackled a puzzle from the city of Königsberg, Prussia, where the Pregel River split into two islands connected to each other and the mainland by seven bridges. The challenge was to find a route that would cross each bridge exactly once without retracing your steps. Euler proved it was impossible, showing there could be no such path, which became known as an Eulerian path. His solution marked the first theorem in graph theory, laying the foundation for a field that would later grow into one of mathematics’ most powerful tools.
Euler found a formula that connects the number of vertices, edges, and faces in a convex polyhedron, written as V minus E plus F equals 2. This constant became known as the Euler characteristic, which ties into the idea of an object’s genus. The work of Cauchy and L'Huilier built on this discovery, laying the foundation for what we now call topology.
-
Read this chapter
Euler made his mark by tackling real-world problems with math, using tools like Bernoulli numbers, Fourier series, and the constants e and π. He merged Leibniz’s calculus with Newton’s Method of Fluxions, crafting methods that brought calculus into physics. Among his contributions were improvements in numerical integration, including what we now call Euler approximations—like Euler’s method and the Euler–Maclaurin formula. These techniques helped solve complex physical problems more efficiently.
Euler helped develop the Euler–Bernoulli beam equation, a key tool in engineering. He used his mathematical methods not just in classical mechanics, but also in celestial studies. His work in astronomy earned him multiple prizes from the Paris Academy. He calculated the orbits of comets and other space objects with great precision. Euler also figured out how comets behave and determined the parallax of the Sun. His computations were essential for creating accurate longitude tables.
Euler contributed significantly to optics, challenging Newton’s corpuscular theory of light that was widely accepted in his time. In the 1740s, he published papers that supported the wave theory of light originally proposed by Christiaan Huygens. These works helped shift scientific thinking toward the wave model, a perspective that would dominate until the emergence of quantum theory later on.
In fluid dynamics, Euler predicted the phenomenon of cavitation as early as 1754, nearly a century before it was first observed in the late 19th century. His work on turbine efficiency led to the development of the Euler number still used today in fluid flow calculations. Then in 1757, he published a crucial set of equations describing inviscid flow, which are now known as the Euler equations.
Euler made significant contributions to structural engineering, particularly with his formula for what's known as Euler's critical load. This formula calculates the maximum buckling load that an ideal strut can bear, depending only on its length and flexural stiffness. It remains a fundamental concept in the field today.
-
Read this chapter
Leonhard Euler introduced a way to visualize logical arguments using closed curves, a method that came to be known as Euler diagrams. This innovation happened in 1768, and it was Euler who first used these diagrams to show syllogistic reasoning. The approach he developed has since become a standard tool for understanding logical relationships, and the diagrams themselves carry his name.
An Euler diagram visually shows how sets relate using simple shapes, usually circles, to represent different groups. Each shape divides space into inside and outside areas, with the inside representing items in that group and the outside showing everything not in that group. The important part is where circles overlap—when two circles overlap, groups share items, with overlapping area showing shared elements. If one circle sits completely inside another, the first group is entirely part of the second. When circles don't touch, groups have nothing in common. This method of showing relationships between groups was developed by Leonhard Euler and remains a useful tool for understanding set theory today.
Euler diagrams, later refined into Venn diagrams, became part of set theory lessons during the 1960s new math movement. Since then, they’ve grown widely used for visualizing how different traits or categories overlap.
-
Read this chapter
In 1760, Euler published a paper titled A General Investigation into the Mortality and Multiplication of the Human Species, where he presented a model showing how a population with steady fertility and mortality could grow geometrically using a difference equation. He also explored connections between different demographic measures, demonstrating how they could help estimate missing data. Around 150 years later, Alfred J. Lotka built on Euler’s work with three papers in 1907, 1911, and 1922, eventually creating what became known as the Stable Population Model. These efforts marked the beginning of formal demographic modeling in the twentieth century.
-
Read this chapter
Leonhard Euler had a unique interest in how math could apply to music, and in 1739 he wrote a work called Tentamen novae theoriae musicae, or Attempt at a New Theory of Music. He hoped to make music theory part of mathematics, but the work didn’t gain much attention. It was seen as too mathematical for musicians and too musical for mathematicians. Even in his musical writings, Euler stayed true to his mathematical nature—like when he used binary logarithms to describe how octaves can be divided into fractional parts. His writings on music were few in number, just a few hundred pages among his vast body of work, but they show a passion he held throughout his life.
Leonhard Euler defined musical genres as divisions of the octave using just the prime numbers three and five, identifying eighteen such systems. Each genre follows the form 2mA, where A is the sum of the exponents of 3 and 5, and 2m represents any number of octaves. The first genre, with A = 1, is simply the octave itself; the second, 2m.3, splits the octave into a fifth and fourth; the third, 2m.5, forms a major third and minor sixth. Genres 12, 13, and 14 correct the ancient diatonic, chromatic, and enharmonic systems, while genre 18, 2m.33.52, matches what Johann Mattheson described as the diatonico-chromatic system, widely used in music. Euler later considered adding the prime number seven into his framework.
Euler created a graph called the Speculum musicum to show how diatonico-chromatic music works, mapping out paths for specific musical intervals. This work connected to his earlier fascination with the Seven Bridges of Königsberg, showing how his interests crossed between math and music. Later, this idea resurfaced in the Tonnetz, a concept from Neo-Riemannian theory, proving Euler’s insights had lasting influence on how we understand musical structure.
Euler applied the idea of exponents to develop a way of measuring how pleasant or agreeable musical intervals and chords sound, based on their prime factors. He focused on just intonation, which uses only the numbers 1, 3, and 5. His method calculated what he called the gradus suavitatis, or degree of suavity, of these musical elements. Though his system was built around these specific primes, later formulas have extended it to include any set of prime numbers. The approach shows how Euler connected mathematical theory with the sensory experience of music.
-
Read this chapter
Euler remained deeply religious throughout his life, and much of what we know about his beliefs comes from his Letters to a German Princess and an earlier work titled Rettung der Göttlichen Offenbahrung gegen die Einwürfe der Freygeister, which translates as Defense of the Divine Revelation against the Objections of the Freethinkers. In this text, Euler argues for the divine inspiration of scripture, showing that he held a devout Christian faith and believed the Bible to be God's word.
Euler clashed with the ideas of Leibniz and Christian Wolff, rejecting their philosophical approaches. He believed that knowledge needed to be grounded in precise, quantitative laws—something Wolff’s system couldn’t deliver. Euler was harsh in his criticism, calling Wolff’s philosophy “heathen and atheistic.”
There is a story about Euler facing off against a French philosopher during his time at the St. Petersburg Academy. The philosopher, Denis Diderot, was visiting Russia at the invitation of Catherine the Great. The Empress was worried that Diderot’s atheistic ideas were gaining traction among her court, so she asked Euler to respond. Diderot was told a mathematician had proven God's existence and agreed to hear the argument. Euler walked into court, approached Diderot, and with absolute certainty declared: "Non sequitur."
Diderot, who was said to find all mathematics utterly incomprehensible, was left speechless when bursts of laughter filled the court. He felt so humiliated that he asked to be allowed to leave Russia, and Catherine agreed to his request. Yet the story itself is likely false, since Diderot had actually done research in mathematics.
-
Read this chapter
Leonhard Euler is widely recognized as one of the greatest mathematicians who ever lived, and likely the most prolific contributor to mathematics and science. Mathematician and physicist John von Neumann called Euler "the greatest virtuoso of the period." François Arago said, "Euler calculated without any apparent effort, just as men breathe and as eagles sustain themselves in air." He is generally ranked right below Carl Friedrich Gauss, Isaac Newton, and Archimedes among the greatest mathematicians of all time, while some rank him as equal with them. Henri Poincaré called Euler the "god of mathematics."
French mathematician André Weil observed that Euler towered over his peers and became the dominant figure in mathematics during much of the eighteenth century. No other mathematician ever held such universal authority across both pure and applied math like Euler did. Swiss mathematician Nicolas Fuss admired Euler’s remarkable memory and vast knowledge, commenting on those qualities directly.
Leonhard Euler was not just a mathematician but a man of vast learning. He had read all the best Roman writers and knew ancient mathematical history intimately. His memory held historical events from every time and people, and he could instantly recall even minor details as examples. He also had deep knowledge of medicine, botany, and chemistry—more than one might expect from someone who hadn’t focused specifically on those fields.
Read
Free to download, keep and share. For general information only — not professional medical, legal or financial advice. Please consult a qualified professional.