Derivatives made easy 3a) Maximum and minimum explained

Hi,
in school we learn how to derive right now. The teacher does not do very good job. The class does not know about limits and they only learned power rule and no other rule for derivation though at the same time they learn about maxima and minima.[0]


When you derive function you can find lot of useful informations about it. Today I will talk about minima and maxima. Those are points where the function turns around creates “hill” or “valley” – maxima or minima.

https://www.mathsisfun.com/calculus/images/function-min-max.gif

Some fictional function.

In the function above (f-blue line) you can see couple of points marked. Two orange points are maxima, blue is minima and green is special to which I will get in another post.

 

As I have already said quite few times, when you derive function you will find out what is the slope (how much up or down) at one point[3]. If it does not go up or down it is zero, those are the maxima and minima you are looking for. Right before maximum you have positive slope, the function goes up towards maximum. Right after maximum you have negative slope. What is between if the function is smooth? Zero. When we derive function, lets say function like this:

f(x)=2x²    We get (according to power rule, if you do not know it ignore it right now):

f'(x)=4x    The apostrophe means that it has been derived.

Now when does this derivation equals zero? In other words? When is the slope zero?

Only when x=0 because f'(0)=4*0 = 0 [2]

The original function has minimum or maximum on the point when x=0 [1]. Tricky is that you do not know if it is minimum or maximum which needs some more work and I will get to it in another post.

Dragallur

[0]I will also talk about power rule, multiplication rule and so on in the future.

[1]To get the coordinates of the maximum or minimum you just plug the solution of the derivative to original function and you will get the y coordinate.

[2]If you work with higher order polynomials like x³ you might easily get more solutions which means more minimas and maximas.

[3]If you plot the derivation you will get the slope anywhere.

PS: sometimes I see minima or minimum and maxima or maximum so I use both as I want.

Jerks are even in physics

Hi,
the title is a pun. There are probably jerks yes, but what I want to talk about is physical unit[1] called jerk, it is named like this because jerk not only means, idiot or stupid, but also to move suddenly, because of surprise.


It will be nice, if we first recall that derivation describes the rate of change of something. For example, speed is the first derivative of position because speed describes the rate of change of position, the higher the speed the more position changes!

{\boldsymbol {v}}=\lim _{{\Delta t}\to 0}{\frac {\Delta {\boldsymbol {x}}}{\Delta t}}={\frac {d{\boldsymbol {x}}}{d{\mathit {t}}}}.

1st derivation of position “compared” to time

In the picture above you can see how speed is defined compared to position (x) and time (t). It is its derivative as I said before. Now of course you can define something, that describes how velocity changes over time. That is called acceleration.

\mathbf {a} ={\frac {d\mathbf {v} }{dt}}={\frac {d^{2}\mathbf {x} }{dt^{2}}}

Again, “d” simply means derivation and when it is “squared” it means that you need to derive it twice. Acceleration describes, how velocity changes over time.

This is all you might need for daily life. Of course though, scientists defined next derivations, the change of acceleration in time is called jerk. The change of jerk is called jounce the change of jounce is crackle, next follows pop and then possibly lock, drop, shot and put. The SI units of all of these time, position related things are similar. With each derivation you add one to exponent of time.

v=m/s¹
a=m/s²
j=m/s³

and so on..

Just to remind you, if you have lets say “pop”, which is 6th derivation, of 10 m/s^6 you will have a tremendous speed extremely fast. From this next equation it should be pretty clear:

{\displaystyle {\vec {r}}={\vec {r}}_{0}+{\vec {v}}_{0}\,t+{\frac {1}{2}}{\vec {a}}_{0}\,t^{2}+{\frac {1}{6}}{\vec {\jmath }}_{0}\,t^{3}+{\frac {1}{24}}{\vec {s}}_{0}\,t^{4}+{\frac {1}{120}}{\vec {c}}_{0}\,t^{5}+{\frac {1}{720}}{\vec {p}}\,t^{6}}

The power of the higher derivations is that the exponent does extreme changes in a moment. r is the position, v speed, a acceleration… p is pop and t is time.

This is probably not used much, if at all, even in engineering.. but hey, fun!

Dragallur

[1]It is not a unit. It is physical quantity or something like that. I do not really know how it is called in english.

Derivatives made easy 2) Non-differentiable functions

Hi,
so I continue with this tutorial. Today I will cover when function is not differentiable. If you want to read the basics check out the last post, it links to limits and continuity which will be important today.


Just to remind ourselves here is the formula that I explained last time:

It uses limit so logically if the point we are trying to derive is not continous, which means that the limit does not exist there we can not derive. This is not the only thing that can happen to us. Sometimes function is completely continous but from negative side it grows exponentially and from positive side it is linear. Check out the nice picture below:

From the whole picture the most important point is the second one. It says: “continous (no gap) but not smooth, not differentiable”. To find this out algebraically you need to know the equations of both left and right part of the function.[1]

If you know them you will insert it into the derivation equation that we used last time as f(x). You have to add h of course as it is the difference between your two points. If both of your solutions equal (right and left side) you know that the function IS differentiable.

Dragallur

PS: ask me if you want to expand any part of the post. I have no problem whatsoever with it and it will make me even happy to write some extra parts.

[1]Yes function can be made up of different parts only on intervals. You can even write something like (odd Xs are equal to 2).

Derivatives made easy 1) Slope on curve

Hi,
today I am going to explain one fundamental equation that is used to calculate derivatives.


Derivative of a function basically says what is the rate of change or the slope of that function. You can have both rate of change of whole function which gives you another function or just at one point which equals to some number. The fundamental thing is to find the slope. Last time I explained this only for a line, not curve. On line the slope is constant but not on curve.

On the gif above you can see a function. There is a black point that is on the same place. Blue point is getting closer and closer with each step. All the time the black line creates secant line to the curve, it cuts it on two points. When it is red it is tangent line which means that it does not cuts it at all. It is the only one step in which it is just touching. To get the rate of change of curve you need to find this tangent line. Lets call the distance between the two points “h”. The tangent line will exist when h approaches zero.

THE equation. Sometimes f'(x) is written on the left.

This thing above is the equation that we will get when we take coordinates of both points.

black point(  x;f(x)   )                    [1]
blue point  (  x+h;f(x+h)  )           [1]

Just to clear things out, the first thing in the brackets is the x coordinate and the second y coordinate. As I said blue point is moved to side by the distance h and as the distance approaches 0 we are getting tangent line of curve. In the last post I showed that you need to only divide the difference of y coordinates by difference of x coordinates. Check it out if you do not know what I mean.

We will do exactly it to get right part of the equation above without the limit. Only h will be left in the denominator because there is the difference in x coordinates which means:

x+h-x=h

Now to get the tangent line we only add the limit and we have got the fundamental equation of derivates. This we can use for any curve or line that we want to derive. The left part is just a notation for derivation.

Dragallur

PS: be sure to check out this page that lets you interactively create secant and tangent lines.

[1]Just in case you do not understand why there is f(), it is basicly the same as y though we are in functions so we use this kind of notation and yes, f(x)=y. We just add h to get the y coordinate of blue point.

 

Limits made easy and slope

Hi,
today I am going to explain to you very basic concept called the slope. This is going to be important for the basic understanding of derivation.


Slope describes how much is line steep and if it is decreasing, horizontal or vertical. There is simple equation for it.

m=\frac{y_2-y_1}{x_2-x_1}.

m is the slope of a line

m = \tan (\theta)\!

This equation equals the first one because trigonometry

So to get the slope of line at given point you simply pick one point on it which has two coordinates: x1 y1. Then you pick another point to the right side and it is going to have coordinates x2 y2.

Here you can see why tan(theta) is equal to m

The subtraction creates this kind of triangle from which you can either calculate the angle or the m value which is the steepness.

Lets make an example (from wikipedia), lets say we haw line that runs through two points: A=(1,2) B=(13,8)

When we have such a information we can calculate the slope because:

x1=1
y1=2
x2=13
y2=8

All parts of equation are set:m = \frac{\Delta y}{\Delta x} = \frac{y_2 - y_1}{x_2 - x_1} = \frac{8 - 2}{13 - 1} = \frac{6}{12} = \frac{1}{2}

To show you in practice that such slope is not very big, watch the gif below.

Slope is used often in everyday life for the steepness of road. Often you will see sign as this one in mountains.

This type means that for 100 meters in horizontal direction you will go up by 10 meters.

Next time I will talk about steepness but this time not only on line where the steepness is always the same but also on curve where it changes every moment though derivatives are capable of solving such problems.

Dragallur

PS: all pictures were from wikipedia page so I will not link them one by one.