Where do you write your dx'es?

  • Thread starter PhysicsGente
  • Start date
In summary: I think it's pretty clear what the intention is.In summary, the notation ∫dx(...) is not as unambiguous as the notation ∫dxf(x) because dx is the end of the integral.
  • #1
PhysicsGente
89
3
Like ∫(...)dx or ∫dx(...) ?

Just wondering ;).
 
Physics news on Phys.org
  • #2
The first one.
 
  • #3
Same here
 
  • #4
I usually write it after. It makes sense in my head. "Integrate (function) with respect to (variable)".

I think it makes more sense before the function though. As just a part of the "integrate" symbol.
 
  • #5
∫dxf(x) has only one reasonable meaning that is (x+c)f(x). I am however using this unreasonable notation extensively when doing Qm since it is much better to be consistent with the notation you usually find in books.
 
  • #6
Usually this one:
[tex] \int_a^b \frac{1}{x^2} dx,[/tex]
but occasionally I might write it like this:
[tex] \int_a^b \frac{dx}{x^2}, [/tex]
although this is right out
[tex] \int_a^b dx\frac{1}{x^2}, [/tex]
unless I actually mean for the [itex] \frac{1}{x^2} [/itex] not to be integrated.
 
  • #7
collinsmark said:
Usually this one:
[tex] \int_a^b \frac{1}{x^2} dx,[/tex]
but occasionally I might write it like this:
[tex] \int_a^b \frac{dx}{x^2}, [/tex]
although this is right out
[tex] \int_a^b dx\frac{1}{x^2}, [/tex]
unless I actually mean for the [itex] \frac{1}{x^2} [/itex] not to be integrated.

Exactly why I don't like it before - it's ambiguous to me.
 
  • #8
bp_psy said:
∫dxf(x) has only one reasonable meaning that is (x+c)f(x). I am however using this unreasonable notation extensively when doing Qm since it is much better to be consistent with the notation you usually find in books.


I disagree, placing the dx next to the integral sign should mean the same thing. I don't think we have to necessarily view dx as the "end" or closure of the integral.
 
  • #9
[tex] \int_b^a\frac{1}{log(1)} dx[/tex]
 
  • #10
1MileCrash said:
I disagree, placing the dx next to the integral sign should mean the same thing. I don't think we have to necessarily view dx as the "end" or closure of the integral.

Well, the thing is, an integral is an operator. It needs to operate on something.

With lots of other operators, there's different notation involved such as
[tex] \mathcal{O}\left\{ \frac{1}{x^2} \right\} [/tex]
and it's generally understood that the above notation is not necessarily equal to
[tex] \mathcal{O}\{1\}\frac{1}{x^2} [/tex]
or
[tex] \frac{1}{x^2}\mathcal{O}\{1\} [/tex]

Of course integrals are a little special, since there truly is a multiplication involved by the dx. But even so, if it's okay to scramble things up, would it also be appropriate to say that
[tex] \int_a^b \frac{1}{x^2}dx [/tex]
is the same thing as
[tex] \frac{1}{x^2} \int_a^b dx [/tex]
or worse yet,
[tex] dx \frac{1}{x^2} \int_a^b \ ?[/tex]
If the integral sign specifies the left of what must be integrated, what is to specify the right end? That's usually the job of the dx is my point.
 
Last edited:
  • #11
I like to write it as [itex] \int dx [/itex] to emphasize that it can be viewed as an operator that maps a function into a subspace or to the complex plane for a definite integral. Although, you also define scalar products and norms using integrals, so it might not always work to think of it like that.
 
  • #12
1MileCrash said:
I disagree, placing the dx next to the integral sign should mean the same thing. I don't think we have to necessarily view dx as the "end" or closure of the integral.
The way I see it in very non rigorous terms is that you can't chose to not integrate everything that has to do with x in an expression so dx is really "the end of the integral".
∫dI=∫f(x)dx+ g(x) doesn't mean much. Once you decide to integrate over dx you integrate everything you can't leave any of the xes out .Which when I think about it makes me view the ∫dxf(x) more acceptable somehow.
 
Last edited:
  • #13
collinsmark said:
Well, the thing is, an integral is an operator. It needs to operate on something.

With lots of other operators, there's different notation involved such as
[tex] \mathcal{O}\left\{ \frac{1}{x^2} \right\} [/tex]
and it's generally understood that the above notation is not necessarily equal to
[tex] \mathcal{O}\{1\}\frac{1}{x^2} [/tex]
or
[tex] \frac{1}{x^2}\mathcal{O}\{1\} [/tex]

Of course integrals are a little special, since there truly is a multiplication involved by the dx. But even so, if it's okay to scramble things up, would it also be appropriate to say that
[tex] \int_a^b \frac{1}{x^2}dx [/tex]
is the same thing as
[tex] \frac{1}{x^2} \int_a^b dx [/tex]
or worse yet,
[tex] dx \frac{1}{x^2} \int_a^b \ ?[/tex]
If the integral sign specifies the left of what must be integrated, what is to specify the right end? That's usually the job of the dx is my point.

No one said anything about moving the integration symbol itself, that is completely unrelated to what we are talking about. The integral sign is not a multiplicand; dx is, you said it yourself.

Look at our notation for the limit. There is no "closing" symbol, it's exactly the same thing. dx is not defined to be the end of an integral. To say that putting dx next to the integral sign is not ambiguous is just silly.
 
  • #14
1MileCrash said:
No one said anything about moving the integration symbol itself, that is completely unrelated to what we are talking about. The integral sign is not a multiplicand; dx is, you said it yourself.

Look at our notation for the limit. There is no "closing" symbol, it's exactly the same thing. dx is not defined to be the end of an integral. To say that putting dx next to the integral sign is not ambiguous is just silly.
Okay, fair enough. It just looks wrong though.

But I do concede that there have been certain instances where I have put stuff to the right of the dx myself, at least in interim steps. So, even if it doesn't look right, I'll agree it might happen from time to time. I also like to keep my unit vectors to the right, so sometimes there's a conflict (and keeping the unit vector to the right usually wins out for me).

Something like calculating the electric field of a line charge,

[tex] \int_{\frac{-L}{2}}^{\frac{L}{2}} \frac{1}{4 \pi \varepsilon_0} \frac{\lambda}{(x^2 + z^2)}dx \ \hat{r} [/tex]
Then realizing that
[tex] \hat r = \frac{x}{\sqrt{x^2 + z^2}} \hat x + \frac{z}{{\sqrt{x^2 + z^2}}} \hat z[/tex]
giving me
[tex] \int_{\frac{-L}{2}}^{\frac{L}{2}} \frac{1}{4 \pi \varepsilon_0} \frac{\lambda}{(x^2 + z^2)}dx \frac{z}{{\sqrt{x^2 + z^2}}} \hat z [/tex]
before simplifying to
[tex] \frac{\lambda z}{4 \pi \varepsilon_0 } \int_{\frac{-L}{2}}^{\frac{L}{2}} \frac{dx}{(x^2 + z^2)^{\frac{3}{2}}} \hat z [/tex]

So yeah, I guess it happens. But still, I try to keep the dx to the right if possible. It just looks better to me.
 
  • #15
collinsmark said:
[tex] dx \frac{1}{x^2} \int_a^b \ ?[/tex]

That made my night. Thanks :smile:.

I should have said I use the first one when doing math (not physics related), and the second one for physics.
 
  • #16
It depends on the length of the integrand. For short integrands dx goes at the end, for long integrands it goes at the start.
 
  • #17
I'm going to be pedantic and make the claim that the "d" should be typeset in Roman font; ##\mathrm{d}x## is a differential; ##dx## is the product of scalars ##d## and ##x##.
 
  • #18
jhae2.718 said:
I'm going to be pedantic and make the claim that the "d" should be typeset in Roman font; ##\mathrm{d}x## is a differential; ##dx## is the product of scalars ##d## and ##x##.
You bring up a good point, and I was wondering about that. There was a time where I would un-italicize the d when using it for a differential. But then I stopped, not so much because I was lazy, but rather because many others don't seem to do that. Even Wolfram mathworld uses italicized ds such as here:
http://mathworld.wolfram.com/AbelsIntegral.html
And Wolfram isn't the only place. It seems pretty common.
So now I don't know what to think.

So where does one learn about such conventions anyway?
 
  • #19
I prefer:
[tex]\int_{f(x)}^{dx}|_{a}^{b}[/tex]
:smile:
 
  • #20
collinsmark said:
You bring up a good point, and I was wondering about that. There was a time where I would un-italicize the d when using it for a differential. But then I stopped, not so much because I was lazy, but rather because many others don't seem to do that. Even Wolfram mathworld uses italicized ds such as here:
http://mathworld.wolfram.com/AbelsIntegral.html
And Wolfram isn't the only place. It seems pretty common.
So now I don't know what to think.

So where does one learn about such conventions anyway?

Here would be one place. The actual standard would probably be a better place.

One part of the article does raise a question, though. Is there a math ban in San Serriffe? Or is there a math boycott of San Serriffe? The writer doesn't seem to like San Serriffe.
 
Last edited:
  • #21
jhae2.718 said:
I'm going to be pedantic and make the claim that the "d" should be typeset in Roman font; ##\mathrm{d}x## is a differential; ##dx## is the product of scalars ##d## and ##x##.
I'm not a fan. It's jarring to the eyes (my eyes, in any case). It just looks ugly. Extremely ugly.

And it is *so* very non-508 compliant. (i.e., Section 508 of the US code, www.section508.gov. That link doesn't work right now, thanks to the government shutdown. For now, here's a wikipedia article: http://en.wikipedia.org/wiki/Section_508_Amendment_to_the_Rehabilitation_Act_of_1973.)With regard to the original question, to me writing ##\int\! dx\; f(x)## is much more esthetically pleasing to me than is ##\int f(x)\,dx##. My rationale: Integration (anti-differentiation) is an operator, so make integration look like an operator. The operator is of course ##\int\! dx##.

However, because too many are confused by that notation, I do tend to use the archaic ##\int f(x)\,dx## form.
 
  • #23
Astronuc said:
It seems the convention of placing the differential after the integrand has been around a long time.
A long, long time. That's why I called it "archaic".
 
  • #24
ChiralWaltz said:
[tex] \int_b^a\frac{1}{log(1)} dx[/tex]

Rabble-rouser!

arildno said:
I prefer:
[tex]\int_{f(x)}^{dx}|_{a}^{b}[/tex]
:smile:

You too!
 
  • #25
I can live with either. But what should be done about conventions like $$\int_S f(x) \cdot d\mathbf{A}$$ for $$\int f(x) \cdot \mathbf{n}\, dS$$?

$$\int_S d\mathbf{A} \cdot f(x) $$ would look horrible IMO. IMO that looks like it should mean
$$\left(\int_S d\mathbf{A}\right) \cdot f(x) $$ which is nonsense.
 
  • #26
I prefer ##\int dx\underset{dx}{\overset{dx}{f(x)}}dx##.
 
  • #27
WannabeNewton said:
I prefer ##\int dx\underset{dx}{\overset{dx}{f(x)}}dx##.
I only use that one on Halloween.
 
  • #28
Good thing it's almost that time of the month!
 
  • #29
WannabeNewton said:
I prefer ##\int dx\underset{dx}{\overset{dx}{f(x)}}dx##.

1b2Memg.png
 
  • #30
I always put the dx right after the integral sign. It's an operator that acts to the right. I also group any factors of 2pi under the dk in Fourier Transforms.
 
  • #31
I also like:[tex]
\int\left(\int\limits_{\stackrel{\int}{a^b}}^{\stackrel{\int f(x)^{\frac{\int}{\iiint^\frac{\rm d}{\oint}}}}{{\rm d}x}}\otimes{\rm d}x \int_b^a\right)x{\rm d}
[/tex]
 

1. Where do you typically write your diagnoses?

As a scientist, I typically write my diagnoses in a laboratory or research setting. This allows me to have access to necessary equipment and materials, as well as collaborate with other scientists.

2. Do you have a specific writing process for your diagnoses?

Yes, I have a specific writing process for my diagnoses. I start by gathering all relevant data and research on the topic, then I analyze and interpret the data to come up with a diagnosis. Finally, I write up the diagnosis, making sure to include all necessary information and evidence to support my findings.

3. How do you ensure accuracy in your diagnoses?

Accuracy is crucial in scientific diagnoses, so I take several steps to ensure it. I make sure to use reliable and validated research methods, consult with other experts in the field, and double-check my findings before finalizing my diagnosis.

4. What tools or software do you use to write your diagnoses?

I use a variety of tools and software to write my diagnoses, depending on the specific project. Some common tools I use include word processing software, statistical analysis programs, and data visualization tools. I also use reference management software to keep track of my sources and citations.

5. How do you communicate your diagnoses to others?

As a scientist, it is important to effectively communicate my diagnoses to others in the scientific community. I typically present my findings at conferences, publish them in scientific journals, and collaborate with other scientists to share and discuss my diagnoses. I also make sure to use clear and concise language to make my diagnoses easily understandable to a wider audience.

Similar threads

  • General Discussion
3
Replies
83
Views
6K
  • General Discussion
Replies
12
Views
372
  • Calculus and Beyond Homework Help
Replies
19
Views
764
Replies
6
Views
329
Replies
13
Views
496
Replies
7
Views
818
Replies
14
Views
466
Replies
14
Views
987
  • Differential Equations
Replies
1
Views
1K
  • General Discussion
Replies
10
Views
679
Back
Top