r/MathHelp • • Sep 04 '20

Help understanding dx and dy/dx

Why do we write dx after the integral sign and function we're taking the integral of? What does the dx mean? I don't fully understand how dy/dx means derivative either.

17 Upvotes

8 comments sorted by

11

u/hausdorffparty Sep 04 '20

So, the dx comes from the notion of Riemann sums. Remember that an integral can be approximated by a Riemann sum. Sum ( f(x) Delta(x)), the sum of the areas of rectangles with height f(x) and width Delta x.

An integral is what you get when you take the limit as Delta x goes to zero, intuitively making the intervals with width Delta(x) infinitesimally small. Think of "dx" as representing an "infinitesimal change in x, the width of an infinitely skinny rectangle" and the integral sign as "add up all of the infinitetesimally-skinny rectangles' areas."

Similarly, a secant line's slope is (Delta y) / (Delta x). Remember Delta refers to "change in", this is the same as (y2-y1)/(x2-x1). As you take the limit as Delta x goes to zero, so does Delta y, so dy/dx refers to the "ratio of the infinitesimal changes in y to the infinitesimal changes in x" or the "instantaneous slope."

This is, of course, a simplification, but it is how you can intuitively think about the notation.

1

u/xSYOTOSx Sep 13 '20

So why do we treat it like an operator during derivativeres but will move it like a fraction during integration?

2

u/hausdorffparty Sep 13 '20

It's worth pointing out that (d/dx) is the operator, not dx, and not dy/dx. Both dx and dy/dx can "kind of" be manipulated like fractions in many cases, but in a higher math perspective they mean something really different.

The primary reason we write it like fractions, actually, is notational convenience: It turns out that the way derivatives work often are related to the way fractions work, so we actually came up with the notation to reflect that. When written in fractional notation, the chain rule "works out" and so do a number of other properties. Actually, the chain rule works because of fraction multiplication: dz/dx = dz/dy * dy/dx arises from the multiplication (z2-z1)/(y2-y1) * (y2-y1)/(x2-x1) = (z2-z1)/(x2-x1).

Lastly if you have the expression dy/dx = e^x, then the real reason y = int e^x dx + c is because of the fundamental theorem of calculus, which can be proved just using the definition of the derivative and some properties of continuous functions - no handwavy manipulating of dx's! However, when you do work it out that way, it happens to coincide with the operation that looks like "multiplying both sides by dx." Again, this illustrates that we hang on to this notation because it makes it easier to remember the operations we can do.

This is not quite the case in multivariable calculus; some operations don't feel "fraction like" any more.

3

u/piexterminator Sep 04 '20

I find it helpful to interpret int(f(x)dx) from an area POV. The dx provides an x dimension while the f(x) provides a y and their product together creates area. This idea can be extended to double or even triple integrals who produce 3d and 3d space with extra dimensions of information respectively. Not an expert by any means so someone please feel free to correct if that sounds egregiously wrong.

1

u/AutoModerator Sep 04 '20

Reminder:

  • What have you tried so far? (See Rule #2)

  • Please don't delete your post. (See Rule #7)

We, the moderators of /r/MathHelp, appreciate that your question contributes to the MathHelp archived questions that will help others searching for similar answers in the future. Thank you for obeying these instructions.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/ProbablyErratic53 Sep 04 '20

IN addition to the theoretical reasons given previously, there are pragmatic reasons.

For the derivative, writing dy/dx emphasizes variable y depends on variable x.For example in related rates problems, you could have dy/dt because y depends on t for time.

For integrals, similar idea, the dx at the end states x is the "active" variable.

If you integrate ( kx+h)dx, x is the main variable, treat other letters as constants.

(kx+h)dx = k*x^2/2+h*x+C

while (kx+h)dh = kx*h+h^2/2+C

1

u/JoeLamond Sep 04 '20

I've posted about dy/dx here. hausdorffparty has already given a great explanation for integrals.

Unfortunately, the end of the post was cut out. I meant to write that dy/dx = lim as delta x approaches 0 of (delta y / delta x)

1

u/Asshiq Sep 05 '20

Think of it as measuring the small change of a quantity with respect to another quantity. This quantity is smaller than the smallest finite quantity, which is represented as d.

When you write dy/dx, it means, an infinitesimally minute change in y with respect to x. y should be expressible in terms of x and needs to be a function of x, so that it makes sense when you are differentiating y w.r.t x or, measuring the small change of function y with respect to x.

What is integral? its like putting together the blocks of infinitesimally small changes that you did while differentiating y.

Integration ydx means you are now adding up small differentiated units of y to form a bigger unit y.

If you understand graphs, when you add up the area under y (or, f(x)) over dx.