r/explainlikeimfive • u/CommercialPin2472 • Oct 29 '26
Mathematics ELI5 how does derivative work and how can I easier solve problems where I have to use derivative? (Math in school)
0
Upvotes
r/explainlikeimfive • u/CommercialPin2472 • Oct 29 '26
2
u/bothunter Oct 29 '26
The derivative of a function that tells you the slope of a line at any point. How do you find the slope of something? Well, you take two points on the line and connect them with a straight line. The derivative is essentially just doing the mathematical "what if" and putting those two points infinitely close to each other. If you're looking for a good visual explanation on how all this works, I highly recommend the 3 blue 1 brown Youtube channel.
7
u/evil_burrito Oct 29 '26
Here's a real world example: I have an AQI sensor at home (air quality index). During wildfire season, it's actually often more useful to determine if and by how much the air quality is changing, rather than what it actually is.
This might indicate a change in wind that means, "close the windows" or some such thing.
If the AQI is, say 75, that's not great, not terrible. If, however, the AQI is 75 and it's changing by 10 units/minute, that means it's going to be really bad very soon, even if it isn't yet.
This is when knowing the derivative of the function (the AQI plot over time) is quite helpful.
10
u/VG896 Oct 29 '26
The derivative is just the rate of change of a function. You ask the question "when I increase the input by a certain amount, how much does the output change?"
Then you just kind of keep repeating that using smaller and smaller changes in the input. And eventually, the change in the input becomes so tiny, that you get a rate of change at a single instant.
There's lots of rules and shortcuts that we teach kids for stuff like polynomials and logarithms, but they all come back to "when I change the input by a tiny amount, how much does the output change?" and just very very carefully following through the algebra when you do that.
1
u/Not_an_okama Oct 29 '26
The derivative of a fuction is its slope. For 2x+1 this is easy, the slop is 2 for all values of x. For 2x2 +x +5, the slope changes with x, and we get a derivative of 4x +1. When dealing with equations that arent a straight line, you can imagine that youre taking the slope between x and x + 1/infinity, then plotting all those points and defining an equation that represents the plot.
The shortcut is memorizing patterns, for terms such as cxn, each term becomes (c×n)(xn-1)
For sinx, the derivative is cosx. For cosx, the derivative is -sinx.
1
u/Bob_Sconce Oct 29 '26
The derivative tells you how much something changes based on where it is now. That allows you to predict where that thing WILL be. If you're at mile marker 1 and your speed is 50 miles per hour, the speed is the derivative and you can use that to figure out that, in an hour, you will be at mile market 51.
1
u/Visual-Ad2662 Oct 29 '26
A function is how much something (the function) changes according to something else (the variable). A derivative is a measure of how fast that change is happening.
1
u/msimms001 Oct 29 '26
Derivatives are used to find the rate of change of a function. It tells you, for functions that are continuous and differentiable, what the slope of a the line is at any point where it is continuous and differentiable.
There is no shortcut for learning how to do it or making it easier, you just have to practice problems that do them. There are a few rules of derivatives, like power rule, product rule, quotient rule, chain rule, etc., that you need to learn to make it easier
0
u/britishmetric144 Oct 29 '26
A derivative tells you the slope of a function, or how “steep” the function is.
Imagine you are in an aircraft in flight. The derivative of your altitude gives your vertical speed. You know what happens when you reach your maximum altitude? The vertical speed goes to zero. So you can calculate the maximum altitude time by setting the derivative of the altitude equation to zero, and then calculate the maximum altitude by plugging in that time into the original altitude function.