# The equality of x^n/x^m and x^(n-m)

**URL:** <https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372>\
**Category:** Factual Questions\
**Created:** [February 2, 2014, 7:56pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372 "2014-02-02T19:56:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jragon](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jragon](https://boards.straightdope.com/u/Jragon)\
**Post date:** [February 2, 2014, 7:56pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/1 "2014-02-02T19:56:45Z")

</div>

This has bugged me for quite some time. In algebra (and more advanced) classes, it can be… well, not common, but not rare to have an equation such as y=x^2/x. In many cases, we’re encouraged to cancel and get y=x.

This… bothers me, because it seems to me you’re implicitly changing your function’s domain from (-inf,inf) - {0} to (-inf,inf). Now, this didn’t go completely unmentioned way back in pre-calc, we definitely talked about asymptotes and holes in graphs, but it was always in the context of “when graphing x^2/x… but you should generally just cancel the terms, and then there will be no hole!”

I never understood why you’re allowed to transform (x^n)/(x^m) **where m\<=n** (you don’t get this problem when m\>n) to x^(n-m)\*; it seems like implicitly changing the domain of your function should be problematic, or at least considered. Why do we say that these two statements are equivalent when you have to invoke a domain change to do it? Is it just that it usually doesn’t matter? Just bad teaching?

- Qualification: Obviously x^(n-m) = (x^n)/(x^m) where x is in (-inf,inf)-{0} for both expressions, but the we were instructed to do it without fail implicitly changed the domain of x^(n-m) to also include zero. In other words f(0) shouldn’t have worked for either, but we always treated it as if the x^(n-m) expression magically could handle f(0) now.

---

<div class="post-metadata">

**Author:** ![leahcim](https://avatars.discourse-cdn.com/v4/letter/l/b4bc9f/32.png) [@leahcim](https://boards.straightdope.com/u/leahcim)\
**Post date:** [February 2, 2014, 8:30pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/2 "2014-02-02T20:30:00Z")

</div>

What you are talking about is a [removable singularity](http://en.wikipedia.org/wiki/Removable_singularity). And yes, a very careful treatment would take note of them and convert “x^2/x” to “x, when x != 0, undefined otherwise”.

A context when it makes sense of remove the removable singularity is when you are manipulating series expansions of a known analytic function. You might come up with some cancellation of that type, and you are basically saying, “the expression only correctly represents the underlying function for x != 0, but we know that the underlying function is analytic, so we can infer the missing point by continuity and fill the hole”.

---

<div class="post-metadata">

**Author:** ![JWT\_Kottekoe](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@JWT\_Kottekoe](https://boards.straightdope.com/u/JWT_Kottekoe)\
**Post date:** [February 2, 2014, 9:35pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/3 "2014-02-02T21:35:50Z")

</div>

You probably wouldn’t like the way math is taught in physics or engineering courses. These finer points are interesting mathematically, but when the equations apply to a physical system, it is almost always OK to perform the mathematical manipulations that are verboten when there are singularities or other pathology.

To a mathematician, the pathology is often the fun part.

---

<div class="post-metadata">

**Author:** ![Senegoid](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/senegoid/32/6606_2.png) [@Senegoid](https://boards.straightdope.com/u/Senegoid)\
**Post date:** [February 2, 2014, 9:57pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/4 "2014-02-02T21:57:36Z")

</div>

Also, one of the most important and frequent kinds of manipulations you do with functions in higher math & real-life applications, it seems, is integrating them. Single-point discrepancies like that don’t affect the numeric integrals, so it’s typical to just ignore them or hand-wave them away. For true mathematical purists, of course, that’s just outright fraud! 😛

Another example, where some specific points may or may not matter, comes up in a lot of those Calculus theorems you studies – you know the ones, where they make some statement about an interval, carefully specifying whether the interval is closed (i.e., includes its end-points) or open (i.e., omits its end-points). Frequently, the proofs depend on how that’s specified. Sometimes, a stronger statement can be proved depending on whether you include or exclude the end-points. But when the time comes that you actually have to integrate over that interval, it doesn’t make any difference and nobody gives a hoot.

Have you studied Differential Equations yet? There are other kinds of cases too. A lot of differential equations, when you go to solve them, have a singular “trivial solution” like f(x) = 0 _in addition_ to any other real useful solutions, and they are typically of no interest, often ignored, and often not even mentioned.

ETA: And yes, it’s always kinda bugged me too. I’m one of those “mathematical purists” I guess. I always tried to explicitly note “where x != 0” or other similar restrictions wherever that comes up. Just covering my ASCII, I always felt.

---

<div class="post-metadata">

**Author:** ![Senegoid](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/senegoid/32/6606_2.png) [@Senegoid](https://boards.straightdope.com/u/Senegoid)\
**Post date:** [February 2, 2014, 10:08pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/5 "2014-02-02T22:08:15Z")

</div>

This also comes up all the time in analyzing polynomial functions, where, for purposes of the analysis, the constant term is always treated as c[sub]n[/sub]_x_[sup]0[/sup]

A polynomial in x is always defined for ALL x, including 0, but that treatment excludes 0 from the domain. The universal resolution to this problem always seems to be: Just ignore that and plunge ahead!

This also seems to be resolved by defining “analytic functions” (already mentioned above by **leahcim** ), which entails some obscure definition that I and the whole class only kinda-sorta-half-understood, but which seemed to boil down to saying “here is the kind of situation where we can carefully define our way around the situation and thus ignore it”.

ETA: Do I get bonus points for spelling **leahcim** right? 😉

---

<div class="post-metadata">

**Author:** ![The\_Lurker\_Above](https://avatars.discourse-cdn.com/v4/letter/t/dc4da7/32.png) [@The\_Lurker\_Above](https://boards.straightdope.com/u/The_Lurker_Above)\
**Post date:** [February 2, 2014, 10:27pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/6 "2014-02-02T22:27:00Z")

</div>

> [@JWT\_Kottekoe](#):
>
> You probably wouldn’t like the way math is taught in physics or engineering courses. These finer points are interesting mathematically, but when the equations apply to a physical system, it is almost always OK to perform the mathematical manipulations that are verboten when there are singularities or other pathology.
> 
> To a mathematician, the pathology is often the fun part.

Yes, worrying about these kinds of finer points of math were (almost) completely ignored in my engineering classes. Occasionally there’d be a hanwave about how this technique isn’t quite mathematically rigorous, but worked in our situation. And that’s why I found [this SMBC comic](http://www.smbc-comics.com/?id=2675) hilarious.

---

<div class="post-metadata">

**Author:** ![Melbourne](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@Melbourne](https://boards.straightdope.com/u/Melbourne)\
**Post date:** [February 2, 2014, 10:52pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/7 "2014-02-02T22:52:00Z")

</div>

> [@The\_Lurker\_Above](#):
>
> Yes, worrying about these kinds of finer points of math were (almost) completely ignored in my engineering classes.

Not in my Engineering classes. We did get explicit instruction though. As one of my lecturers was fond of saying:

“This problem is too difficult to solve. So what do we do? We do what Engineers always do. We solve a different problem.”

---

<div class="post-metadata">

**Author:** ![leahcim](https://avatars.discourse-cdn.com/v4/letter/l/b4bc9f/32.png) [@leahcim](https://boards.straightdope.com/u/leahcim)\
**Post date:** [February 2, 2014, 10:53pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/8 "2014-02-02T22:53:20Z")

</div>

> [@Senegoid](#):
>
> This also seems to be resolved by defining “analytic functions” (already mentioned above by **leahcim** ), which entails some obscure definition that I and the whole class only kinda-sorta-half-understood, but which seemed to boil down to saying “here is the kind of situation where we can carefully define our way around the situation and thus ignore it”.

Analytic means “has a Taylor Series around every point, and that Taylor series actually converges to the function, at least in a neighbourhood of the point”. It is a theorem that for functions from the complex numbers to the complex numbers, if you know an analytic function on some open set, you can infer its values anywhere else on the complex plane through [Analytic Continuation](http://en.wikipedia.org/wiki/Analytic_continuation).

It is common to have a Taylor series that converges only in a small region, but mean, instead of strictly the function defined by that Taylor series, to function extended from that region through analytic continuation. In that case, papering over removable singularities from the power series is all copacetic.

(BTW, one of my favorite counterexamples of something is the function f(x) = exp(-1/x^2) if x != 0, 0 if x == 0, which differentiable an infinite number of times at zero, but nevertheless is not analytic because the Taylor series so derived is identically zero).

> [@](#):
>
> ETA: Do I get bonus points for spelling **leahcim** right? 😉

Do people typically spell it wrong? If they do, I hadn’t noticed. Mostly people just think my RL name is “Leah”.

---

<div class="post-metadata">

**Author:** ![Senegoid](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/senegoid/32/6606_2.png) [@Senegoid](https://boards.straightdope.com/u/Senegoid)\
**Post date:** [February 3, 2014, 12:23am UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/9 "2014-02-03T00:23:07Z")

</div>

> [@leahcim](#):
>
> Do people typically spell it wrong? If they do, I hadn’t noticed. Mostly people just think my RL name is “Leah”.

Uh, yeah. Just search for **leachim** [_sic_] and you’ll find a great many posts spelling your name thus. Example:

> [@Motion and Kinetic Energy: a question for science experts](https://boards.straightdope.com/t/motion-and-kinetic-energy-a-question-for-science-experts/677553/9):
>
> I deeply resent the idea that I know what I’m talking about!
> 
> As **leachim** says this is Mach’s principle. It has the status of being an idea that a lot physicists really like, but there aren’t really any theories worth talking about that are truly 100% Machian (i.e. all inertial effects are due to interactions between matter). Despite the fact that Einstein obviously held Mach’s principle in high esteem, general relativity is not Machian. Whether an observer feels inertial forces in relativity is related to geodesics which are defined locally. I.e. you don’t need to look at the whole of space to decide which inertial forces someone feels in GR.

I myself only just noticed the correct spelling of your name rather recently. :smack:

(And there are a few here who think my username is **Senegold** [_sic_] 😉 )

---

<div class="post-metadata">

**Author:** ![biqu](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@biqu](https://boards.straightdope.com/u/biqu)\
**Post date:** [February 3, 2014, 2:16am UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/10 "2014-02-03T02:16:25Z")

</div>

[QUOTE=leahcim]

Do people typically spell it wrong? If they do, I hadn’t noticed. Mostly people just think my RL name is “Leah”.  
[/QUOTE]

Are you one of those Dopers who reverse the spelling of a RL name to get their username? Or is it just a coincidence that **leahcim** is “michael” spelled backwards?

---

<div class="post-metadata">

**Author:** ![drewtwo99](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@drewtwo99](https://boards.straightdope.com/u/drewtwo99)\
**Post date:** [February 3, 2014, 2:21am UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/11 "2014-02-03T02:21:50Z")

</div>

stop giving away the man’s secrets!!!

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [February 3, 2014, 4:17pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/12 "2014-02-03T16:17:54Z")

</div>

> [@](#):
>
> (BTW, one of my favorite counterexamples of something is the function f(x) = exp(-1/x^2) if x != 0, 0 if x == 0, which differentiable an infinite number of times at zero, but nevertheless is not analytic because the Taylor series so derived is identically zero).

Dangit, **leahcim** , I was going to post that example! Of note, that discontinuity is removable in the real numbers, since the limit as you approach the origin along the real axis is indeed unambiguously zero. But it’s _not_ a removable discontinuity in the complex numbers, since you can get other limits at the origin by following other paths in the complex plane. It’s yet another demonstration of the “reality” of the complex numbers that this poor behavior in the complex plane (the essential discontinuity) results in a poor behavior in the real numbers (the zero-convergence-radius Taylor series).

Oh, and **The Lurker Above** , I too find that SMBC comic hilarious. What’s _really_ funny, though, is watching the mathematicians go through the insane convolutions to show that the bastard notations physicists use really do work, and just mean completely different things from what the physicists think they mean.

---

<div class="post-metadata">

**Author:** ![The\_Lurker\_Above](https://avatars.discourse-cdn.com/v4/letter/t/dc4da7/32.png) [@The\_Lurker\_Above](https://boards.straightdope.com/u/The_Lurker_Above)\
**Post date:** [February 3, 2014, 5:28pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/13 "2014-02-03T17:28:38Z")

</div>

> [@Chronos](#):
>
> Oh, and **The Lurker Above** , I too find that SMBC comic hilarious. What’s _really_ funny, though, is watching the mathematicians go through the insane convolutions to show that the bastard notations physicists use really do work, and just mean completely different things from what the physicists think they mean.

[Mathematician Trolling] Yeah, you’d think the fact that our bridges (mostly) don’t fall down would be proof enough that the technique works! [/MT]

---

<div class="post-metadata">

**Author:** ![Jragon](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jragon](https://boards.straightdope.com/u/Jragon)\
**Post date:** [February 3, 2014, 5:32pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/14 "2014-02-03T17:32:39Z")

</div>

> [@The\_Lurker\_Above](#):
>
> Yes, worrying about these kinds of finer points of math were (almost) completely ignored in my engineering classes. Occasionally there’d be a hanwave about how this technique isn’t quite mathematically rigorous, but worked in our situation. And that’s why I found [this SMBC comic](http://www.smbc-comics.com/?id=2675) hilarious.

Oh holy shit, that makes the problem I had in [this thread](http://boards.straightdope.com/sdmb/showthread.php?t=643491&highlight=calculus) make so much more sense. I had two math teachers in a row who insisted you couldn’t treat dy and dx in dy/dx as separate variables, and then I went into a physics class where they did so without explaining why you could suddenly do that. There’s actually a legitimate disagreement about it. I’m not crazy and stupid, people were actually just telling me two completely different things!

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [February 3, 2014, 5:50pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/15 "2014-02-03T17:50:19Z")

</div>

So I’ve been looking up the laws of exponents (a[sup]m[/sup]/a[sup]n[/sup] = a[sup]m-n[/sup] et al) in a few Intermediate/College Algebra textbooks I have handy. Most of them include the condition that a is nonzero, or they say something like “where defined” or “assuming denominators are not zero.”

---

<div class="post-metadata">

**Author:** ![Jragon](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jragon](https://boards.straightdope.com/u/Jragon)\
**Post date:** [February 3, 2014, 6:03pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/16 "2014-02-03T18:03:37Z")

</div>

> [@Thudlow\_Boink](#):
>
> So I’ve been looking up the laws of exponents (a[sup]m[/sup]/a[sup]n[/sup] = a[sup]m-n[/sup] et al) in a few Intermediate/College Algebra textbooks I have handy. Most of them include the condition that a is nonzero, or they say something like “where defined” or “assuming denominators are not zero.”

I’m glad many do. I’m also certain my high school pre-calc class talked about “filling holes in the graph” by cancelling out the denominator, though.

---

<div class="post-metadata">

**Author:** ![leahcim](https://avatars.discourse-cdn.com/v4/letter/l/b4bc9f/32.png) [@leahcim](https://boards.straightdope.com/u/leahcim)\
**Post date:** [February 3, 2014, 6:28pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/17 "2014-02-03T18:28:30Z")

</div>

> [@Chronos](#):
>
> Dangit, **leahcim** , I was going to post that example! Of note, that discontinuity is removable in the real numbers, since the limit as you approach the origin along the real axis is indeed unambiguously zero. But it’s _not_ a removable discontinuity in the complex numbers, since you can get other limits at the origin by following other paths in the complex plane. It’s yet another demonstration of the “reality” of the complex numbers that this poor behavior in the complex plane (the essential discontinuity) results in a poor behavior in the real numbers (the zero-convergence-radius Taylor series).

One of my other favourite cases (which I can’t remember the details off-hand) was a particular solution method of an ODE over the reals that resulted in a power series for the solution, which was guaranteed to converge in a region around zero up to the nearest discontinuity in the coefficient functions. Despite the fact that there were no discontinuities on the real axis, the resulting series nevertheless only converged between -1 and 1, because one of the coefficient functions had a pole at i which was blocking the circle of convergence from expanding further.

So basically you had a solution to an ODE solely in the real numbers being affected by something that happens to one of the functions way out in the complex plane.

---

<div class="post-metadata">

**Author:** ![naita](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/naita/32/5862_2.png) [@naita](https://boards.straightdope.com/u/naita)\
**Post date:** [February 3, 2014, 7:03pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/18 "2014-02-03T19:03:48Z")

</div>

> [@Jragon](#):
>
> I never understood why you’re allowed to transform (x^n)/(x^m) **where m\<=n** (you don’t get this problem when m\>n) to x^(n-m)\*; it seems like implicitly changing the domain of your function should be problematic, or at least considered. Why do we say that these two statements are equivalent when you have to invoke a domain change to do it? Is it just that it usually doesn’t matter? Just bad teaching?

Bad teaching. Pre-calc is math. In math the domain matters. There may be **applications** where it doesn’t matter, but to me, as a math teacher, the hole is the best part. If you don’t explicitly state the original domain along with the transformed function, you’ll lose points.

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [February 3, 2014, 7:09pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/19 "2014-02-03T19:09:41Z")

</div>

> [@leahcim](#):
>
> One of my other favourite cases (which I can’t remember the details off-hand) was a particular solution method of an ODE over the reals that resulted in a power series for the solution, which was guaranteed to converge in a region around zero up to the nearest discontinuity in the coefficient functions. Despite the fact that there were no discontinuities on the real axis, the resulting series nevertheless only converged between -1 and 1, because one of the coefficient functions had a pole at i which was blocking the circle of convergence from expanding further.
> 
> So basically you had a solution to an ODE solely in the real numbers being affected by something that happens to one of the functions way out in the complex plane.

I don’t know whether it’s the specific example you’re thinking of, but this applies to the power series for 1/(1+x[sup]2[/sup]).

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [February 3, 2014, 9:41pm UTC](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372/20 "2014-02-03T21:41:30Z")

</div>

> [@JWT\_Kottekoe](#):
>
> You probably wouldn’t like the way math is taught in physics or engineering courses. These finer points are interesting mathematically, but when the equations apply to a physical system, it is almost always OK to perform the mathematical manipulations that are verboten when there are singularities or other pathology.

I will boldly say, even in mathematics, it is very frequently the case that transforming “x^m/x^n” to “x^(m - n)” and allowing interpretation at x = 0 [or removing removable singularities more generally] captures correctly the dynamics of the ambient situation motivating the problem. [If your goal is to solve the equation “x^m y = x^n z” by dividing both sides by “x^n”, you may complain that you reach “y = x^(n - m) z” and fail to acknowledge the solution “x = 0”. But the problem here isn’t that you rewrote “x^n/x^m” into “x^(n - m)”; the problem is that you carried out that division in the first place [or, rather, that you carried out the division without acknowledging the possibility of the denominator being zero].]

One shouldn’t think of “x^m/x^n” is automatically carrying a different domain than “x^(m - n)”. Neither comes with its domain specified [am I talking about integers? Complex numbers? Quaternions? Values modulo 7? Values modulo 8?]. Domain specification is a separate matter (often merely implicit, and very often it is fruitful to eventually realize that the domain in which one’s reasoning makes sense can be generalized further than one originally had in mind).

[Next page](https://boards.straightdope.com/t/the-equality-of-x-n-x-m-and-x-n-m/680372.md?page=2)
