Physics Forums Insights
  • Physics
    • Physics Articles
    • Physics Tutorials
    • Physics Guides
    • Physics FAQs
  • Math
    • Math Articles
    • Math Tutorials
    • Math Guides
    • Math FAQs
  • Bio/Chem/Tech
    • Bio/Chem Articles
    • Computer Science Tutorials
    • Technology Guides
  • Education
    • Education Articles
    • Education Guides
  • Interviews
  • Quizzes
  • Forums
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
error handling

Frequently Made Errors in Equation Handling

May 13, 2015/15 Comments/in Physics Tutorials/by Derek Bolton
📖Read Time: 6 minutes
📊Readability: Advanced 📐 (Technical knowledge needed)
🔖Core Topics: springequationmassdimensionwork

Entire List for Frequently Made Errors Series

Mechanics

  • Forces
  • Friction
  • Moments
  • Kinematics
  • Hydrostatics
  • Momentum and Impacts
  • Springs
  • Pseudo and Resultant Forces

Other

  • Errors in Equation Handling
  • Conditionals in Natural Language

Table of Contents

  • 1. Algebra versus Arithmetic
  • 2. Loss of Precision
  • 3. Division by potential zero
  • 4. Unique variable names
  • 5. Dimensions
  • 6. Units
  • 7. Memorised Formulae
  • 8. Checking your algebra
  • More Related Articles

1. Algebra versus Arithmetic

When numerical values are provided as inputs in a question, it is tempting to plug these into the equations straight away.  Resist!  Create variable names for these constants and work wholly symbolically until the final step.  There are many advantages:

  • If you make a mistake, it takes less time to correct.
  • It is easier to check correctness.
  • It is much easier for others to follow your reasoning.
  • Sometimes terms cancel; working symbolically eliminates redundant calculation.
  • It minimizes the propagation of rounding errors.
  • It allows sanity checks to be performed on the answer by substituting extreme numerical values instead of the ones provided.  (E.g., does it make sense that the answer becomes infinite if a certain two values happen to be equal?)
  • Dimensional analysis may be a way to check the algebraic expression (see below)

2. Loss of Precision

As noted above, rounding errors can accumulate.

In a multipart question, the answer to one part might be an input to the next.  In stating the answer to the first part, it may be appropriate to round it so, say, 3 significant figures, but the unrounded value should be used in the continuing calculation.

A particular danger arises in taking the difference between two large numbers of similar magnitude.

Example: “Ignoring the atmosphere, how high above the surface would a satellite orbiting Earth at the equator need to be in order to have a period 10.00 seconds longer than at the surface?”

$$G = 6.673\times 10^{-11}\ \mathrm{m}^3\mathrm{kg}^{-1}\mathrm{s}^{-2}$$

$$M_E = 5.973\times 10^{24}\ \mathrm{kg}$$

$$R_E = 6.378\times 10^6\ \mathrm{m}$$

Since the inputs above are all to four significant digits, we’ll work to that many digits throughout:

$$T_{R_E} = 2\pi\sqrt{\frac{R_E^3}{G M_E}} = 5069\ \mathrm{s}$$

$$T_r = T_{R_E} + 10 = 5079\ \mathrm{s} = 2\pi\sqrt{\frac{r^3}{G M_E}}$$

$$\left(\frac{T_r}{2\pi}\right)^2 = 653400\ \mathrm{s}^2$$

$$r = 6.386\times 10^6\ \mathrm{m}$$

$$h = r – R_E = 8000\ \mathrm{m}$$

Now let’s try it algebraically:

$$r^{3/2} – R_E^{3/2} = \frac{\sqrt{G M_E}}{2\pi}\,\Delta T$$

$$\left(1+\frac{h}{R_E}\right)^{3/2} – 1 = \frac{\Delta T}{2\pi}\sqrt{\frac{G M_E}{R_E^3}}$$

Using a binomial approximation:

$$\frac{3}{2}\,\frac{h}{R_E} = \frac{\Delta T}{2\pi}\sqrt{\frac{G M_E}{R_E^3}}$$

$$h = \frac{\Delta T}{3\pi}\sqrt{\frac{G M_E}{R_E}} = 8388\ \mathrm{m}$$

This is much closer to the correct answer 8385 m.

3. Division by potential zero

When dividing through by an algebraic expression one must recognise explicitly that the operation is only valid if that term is nonzero.

An old chestnut:

Let ##a=b##

$$a^2 = ab$$

$$a^2-b^2 = ab-b^2$$

$$(a-b)(a+b) = (a-b)b$$

X Cancelling the (a-b) factors

$$a+b=b$$

$$2b=b$$

$$2=1$$

Starting again: $$(a-b)(a+b) = (a-b)b$$

✓ Either ##a=b##,  or we can cancel the (a-b) factors:

##a=b## or ##a+b=b##

4. Unique variable names

Using the same symbol for two different quantities in the same question (such as m for each for two different masses) will confuse you and everyone else.  Use subscripts.

5. Dimensions

An equation associated with physical entities must be dimensionally consistent.  Dimensional analysis is a powerful technique for checking algebra.  Typically, standard symbols are substituted for each ‘dimension’, e.g.:

SymbolDimension
MMass
LDistance
TTime
##\Theta##Temperature
QCharge

Example: The frequency of a spring oscillation is ##\sqrt{\frac{k}{m}}##

ExpressionDimensional expression
spring force##M L T^{-2}##
k##M L T^{-2}/L = M T^{-2}##
m##M##
##\frac{k}{m}####T^{-2}##
##\sqrt{\frac{k}{m}}####T^{-1}##

That’s all very well for physics problems, but what about pure math?  Say you have an equation involving abstract variables x, y, … It may be possible to assign dimensions to these variables in a consistent manner.

Example: ##ax^2+bx+c=0##.  If we assign dimension X to x, the equation can be made consistent by assigning ##X^0## (i.e. no dimension) to a, ##X^1## to b, and ##X^2## to c.  You can check for yourself that ##x=\frac{-b+\sqrt{b^2-4ac}}{2a}## is dimensionally consistent under those assignments.

6. Units

Symbolic variables have dimension (even if the dimension is null, such as for the constant ##\pi##), but they do not usually* presume specific units.  G can represent the universal constant of gravitation independently of the units being used.  The numerical value to be substituted for it will supply its own units.

X ##G = \frac{F_G r^2}{m_1 m_2}## ##\mathrm{m}^3\mathrm{kg}^{-1}\mathrm{s}^{-2}##

✓ ##G = \frac{F_G r^2}{m_1 m_2}##

X ##G = 6.673\times 10^{-11} ##

✓ ##G = 6.673\times 10^{-11}\ \mathrm{m}^3\mathrm{kg}^{-1}\mathrm{s}^{-2}##

Conversely, when working numerically, units should, in principle, always be included:

Average speed = 120 km / 3 h = 40 km/h

Done carefully, this allows units to be mixed by treating them as symbolic variables:

How many km will be covered averaging 5 m/s for 3 hours?

Distance = 5 m/s * 3 h = 15 mh/s = 15 km (m/km) (h/s) = 15* 0.001*3600 km = 54 km

*One does sometimes come across questions like “A block has mass m kg…”.  In this case, the variable m is a dimensionless number.  This isn’t actually wrong, but it is poor style and not to be emulated.

7. Memorised Formulae

It’s one thing to memorize a formula, but it’s important to remember how the variables in it are defined and in what circumstances the formula is applicable.

Example: Period of a Pendulum

X##T = 2\pi\sqrt{\frac{l}{g}}##
✓##T = 2\pi\sqrt{\frac{l}{g}}## where :

##l##is the length of the pendulum
##g##is the value of acceleration due to gravity

and provided:

  • the pendulum consists of a point mass suspended from a frictionless pivot by a light rod or string, and
  • oscillations are small

Example: Spring extension

“A mass m hangs at equilibrium from a spring with spring constant k.  The mass is then pulled down a distance x.  What work has been done in pulling the mass down?”

Taking down as positive:

Change in gravitational PE = ##-mgx##

X Change in spring PE = ##\frac{1}{2} k x^2##

In the equation ‘spring energy = ##\frac{1}{2} k x^2##’, x is the extension from the relaxed length.  Before the mass was pulled down, the spring was already extended by ##x_0 = \frac{mg}{k}##.  Therefore

✓ Change in spring PE = ##\frac{1}{2} k(x+x_0)^2 – \frac{1}{2} k x_0^2 = \frac{1}{2} k x^2 + k x x_0 = \frac{1}{2} k x^2 + mgx##.

Total work done = ##\frac{1}{2} k x^2##

Plugging in values just because they are of the right dimension can be observed in worrying places.  The following example is committed by the Australian Federal Minister for the Environment.

The previous Government had levied a carbon tax of $23/tCO2e.  This produced $6bn in revenue while cutting emissions by around 12mtCO2e.  The Minister attacks this as having cost $6bn/12mtCO2e = $500/tCO2e of abatement.  (Actually, he gets it to $1200 by other sleights of hand.)

It is easily seen to be nonsense by noting that if the industries had spent more on cutting emissions then the abatement would have gone up but the tax revenue down.  Pinpointing the fallacy is left as an exercise for the reader.

8. Checking your algebra

As mentioned above, if you work algebraically you may be able to sanity-check your work by

  • Dimensional analysis of equations and expressions
  • Plugging in extreme values for variables.
  • Considering whether it makes physical sense that increasing a certain variable tends to increase or decrease the expression as a whole.

A simple example of the second is checking whether you have correctly selected the sine or cosine function of an angle when resolving into components.

“A mass m slides down a plane at angle ##\theta## to the horizontal.  What is the normal force from the plane?”

Is it ##mg\sin\theta## or ##mg\cos\theta##?  Consider the case ##\theta = 0##.  It is level ground now, so the normal force is mg.  Which expression gives that answer when we plug in ##\theta = 0##?

For tracking down the erroneous step in the manipulation of an equation, a useful technique is a binary chop.  If everything looks good at the first equation but one of the checks fails for the ninth equation in the sequence, check the fifth one; if that’s ok, try the 7th, etc.

But the single commonest cause of algebraic errors, in my experience, is bungled signs.  Did you forget to change a sign when expanding parentheses or when shifting terms across the equals?  My best advice here is just to be extra careful in those steps.

If you find you make a lot of mistakes, don’t try to do too much in one step.  It may be tedious to write the equation out again for each little operation,  but it may save you time in the end.

Derek Bolton

Masters in Mathematics. Interests: climate change & renewable energy; travel; cycling, bushwalking; mathematical puzzles and paradoxes, Azed crosswords, bridge

More Related Articles

  • Corrections to the Australian Physics Olympiad Questions and Solutions
  • How to Solve a Multi-Atwood Machine Assembly
  • Some Conceptual Difficulties in the Roles of Variables and Constants
  • Frames of Reference: Linear Acceleration View
  • Frequently Made Errors in Mechanics: Momentum and Impacts
  • Can Angles be Assigned a Dimension?
Tags: errors
Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on LinkedIn
  • Share on Reddit
  • Share by Mail
https://www.physicsforums.com/insights/wp-content/uploads/2015/05/errorhandling.png 135 240 Derek Bolton https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Derek Bolton2015-05-13 20:51:422026-02-16 16:07:57Frequently Made Errors in Equation Handling
You might also like
mistakes moments Frequently Made Errors in Mechanics: Moments
errors springs Frequently Made Errors in Mechanics: Springs
hydrostatics Frequently Made Errors in Mechanics: Hydrostatics
kinematic errors Frequently Made Errors in Mechanics: Kinematics
heat errors Frequently Made Errors in Heat: Elementary Level
natural language errors Frequently Made Errors in Probability: Conditionals in Natural Language
15 replies
  1. anorlunda says:
    May 19, 2016 at 4:10 pm

    “Great post, haruspex! A large number of homework problems could be solved without help if everyone would follow those points.

    Writing let[FONT=Courier]t[/FONT]ers in a dif[FONT=Verdana]f[/FONT]erent font total[FONT=Arial]l[/FONT]y makes them dif[FONT=Times]f[/FONT]erent.”

    Completely true, but problematic in the digital world where rendering of text might mangle the formatting (such as losing the distinction between D and Δ.) Obviously, science and math written traditions originate in the eras of handwriting. Rendering in the digital age is a problem we created, but have not yet adequately solved.

    Log in to Reply
  2. Orodruin says:
    May 19, 2016 at 4:10 pm

    “Writing let[FONT=Courier]t[/FONT]ers in a dif[FONT=Verdana]f[/FONT]erent font total[FONT=Arial]l[/FONT]y makes them dif[FONT=Times]f[/FONT]erent.”
    This is so true! Obviously ##mathcal L## is different from ##L##. One is a Lagrangian and one is a fixed length.

    Log in to Reply
  3. mfb says:
    May 19, 2016 at 4:10 pm

    Great post, haruspex! A large number of homework problems could be solved without help if everyone would follow those points.

    “I have a textbook that uses h for two different things. h is a quantum number (h, j, and k) and also Plack’s constant.”
    Writing let[font=”Courier”]t[/font]ers in a dif[font=”Verdana”]f[/font]erent font total[font=”Arial”]l[/font]y makes them dif[font=”Times”]f[/font]erent.

    Log in to Reply
  4. Vanadium 50 says:
    May 19, 2016 at 4:10 pm

    I have a textbook that uses h for two different things. h is a quantum number (h, j, and k) and also Plack’s constant.

    Log in to Reply
  5. Orodruin says:
    May 19, 2016 at 4:10 pm

    “If m and R are left as m and R rather than giving them numbers, I don’t see how that makes m and R dimensionless. Did you mean m adn R to be numbers?”

    Since they explicitly say ##m## kg, ##m## has to be a dimensionless. If ##m## has dimension mass, e.g., ##m = 1## kg, then the mass would have dimension mass squared, which is nonsense as replacing ##m## in the statement with 1 kg would imply “has the mass 1 kg kg”.

    Log in to Reply
  6. rude man says:
    May 19, 2016 at 4:10 pm

    This post is of great importance to anyone not already cognizant of its importance.
    Dimensions get even more important when uncommon functions are concerned.
    For example: in Laplace transforms we correctly have δ(t) ↔ 1, but then if we’re dealing in voltages we say a 1 volt-sec. delta function = 1δ(t). But this is wrong. A 1 V-sec. input voltage should be written as kδ(t), k = 1 V-sec.
    Similar observation applies in mechanical dynamics, etc. of course.

    Log in to Reply
  7. rude man says:
    May 19, 2016 at 4:10 pm

    “Regarding 5 and 6, dimensions and units, early physics education may have to take a lot of blame, at least from what I remember from my high-school textbooks. Several problems were formulated using text such as “Let the wheel mass be ##m## kg and its radius ##R## m” (but in Swedish), in this case making ##m## and ##R## dimensionless quantities. Later, students have problems with dimensional analysis as well as units … No wonder.”
    If m and R are left as m and R rather than giving them numbers, I don’t see how that makes m and R dimensionless. Did you mean m adn R to be numbers?

    Log in to Reply
  8. Vanadium 50 says:
    May 19, 2016 at 4:10 pm

    I give partial credit only until the numbers go in, and encourage my colleagues to do the same. If someone writes a+sqrt(b/2) when they mean a+sqrt(b)/2, there is a good chance I can figure this out. If they write 9.54317265 when they mean 4.5112121, I’ll never figure it out.

    And also be annoyed by the likely extraneous precision.

    Log in to Reply
  9. haruspex says:
    May 19, 2016 at 4:10 pm

    “Regarding 5 and 6, dimensions and units, early physics education may have to take a lot of blame, at least from what I remember from my high-school textbooks. Several problems were formulated using text such as “Let the wheel mass be ##m## kg and its radius ##R## m” (but in Swedish), in this case making ##m## and ##R## dimensionless quantities. Later, students have problems with dimensional analysis as well as units … No wonder.”
    Yes, I had the same thought. I’ll add a comment on that, thanks.

    Log in to Reply
  10. Orodruin says:
    May 19, 2016 at 4:10 pm

    Regarding 5 and 6, dimensions and units, early physics education may have to take a lot of blame, at least from what I remember from my high-school textbooks. Several problems were formulated using text such as “Let the wheel mass be ##m## kg and its radius ##R## m” (but in Swedish), in this case making ##m## and ##R## dimensionless quantities. Later, students have problems with dimensional analysis as well as units … No wonder.

    Log in to Reply
  11. vela says:
    May 17, 2015 at 7:32 pm

    One pet peeve of mine related to #4 is when students use two variables, like m and M, to represent the same quantity.

    Log in to Reply
  12. rude man says:
    May 15, 2015 at 5:55 pm

    Yes! That’s why I disregard homework questions like “where is my mistake?” unless numbers are avoided ’til the end.

    Log in to Reply
  13. Philip Wood says:
    May 15, 2015 at 11:39 am

    One does sometimes come across questions like “A block has mass m kg…”. In this case, the variable m is a dimensionless number. This isn’t actually wrong, but it is poor style and not to be emulated. I entirely agree. One problem we’re up against, in the UK at least, is that in mathematics students are taught to represent quantities as pure numbers. So “A block has mass m kg” is just the sort of wording they meet in mathematics classes, textbooks and exams. Students have to use one convention in Maths and another in Physics; I’m surprised they cope as well as they do. I’m so keen on the convention of representing a physical quantity as the product of a number and a unit, that I urge students to put in the number with its unit as soon as they replace an algebraic symbol by a given value, just as haruspex recommends in 6 (above)… Conversely, when working numerically, units should, in principle, always be included: Average speed = 120 km / 3 h = 40 km/h In more complicated cases, simplifying the units to get a unit for the final answer is an excellent exercise in itself, as well as often providing useful check on preceding algebra.

    Log in to Reply
  14. PWiz says:
    May 14, 2015 at 11:16 am

    Simple but very useful tips for avoiding silly errors. Nice one!

    Log in to Reply
  15. Greg Bernhardt says:
    May 14, 2015 at 2:37 am

    Well done haruspex!

    Log in to Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

You must be logged in to post a comment.

Trending Articles

  • Can We See an Atom?
  • What Planck Length Is and It’s Common Misconceptions
  • Animal Speed Scaling: Body-Lengths per Second Across Sizes
  • The Oppenheimer-Snyder Model of Gravitational Collapse: An Overview
  • How to Determine the Change in Entropy
  • The Extended Riemann Hypothesis and Ramanujan’s Sum
  • Learn Interacting Quantum Fields in Mathematical Quantum Field Theory
  • Understanding Superposition Physically and Mathematically
  • Debloating Android Phones: Risks, Myths and Safe Tips
  • How to Solve a Multi-Atwood Machine Assembly

Physics Forums

  • Classical Physics
  • Atomic and Condensed Matter
  • Quantum Physics
  • Special and General Relativity
  • Beyond the Standard Model
  • High Energy, Nuclear, Particle Physics
  • Astronomy and Astrophysics
  • Cosmology
  • Other Physics Topics

Receive Insights Articles to Your Inbox

Enter your email address:

Blog Information

  • Become a Member!
  • Write for Us!
  • Table of Contents
  • Blog Author List

Popular Topics

astronomy (17) black holes (17) classical physics (35) cosmology (16) education (23) electromagnetism (19) general relativity (19) gravity (24) interview (21) mathematics (39) mathematics self-study (21) Physicist (26) programming (18) Quantum Field Theory (31) quantum mechanics (36) quantum physics (24) relativity (40) Special Relativity (16) technology (19) universe (21)
2026 © Physics Forums, ALL RIGHTS RESERVED - Contact Us - Privacy Policy - About PF Insights
  • Link to X
  • Link to Facebook
  • Link to LinkedIn
  • Link to Youtube
Link to: Physics Major Guide: Succeed in Years 3–4 and Research Link to: Physics Major Guide: Succeed in Years 3–4 and Research Physics Major Guide: Succeed in Years 3–4 and Researchphysics majorLink to: Brachistochrone Subway Tunnel: Fastest Tunnel Shape Explained Link to: Brachistochrone Subway Tunnel: Fastest Tunnel Shape Explained subwayBrachistochrone Subway Tunnel: Fastest Tunnel Shape Explained
Scroll to top Scroll to top Scroll to top