Calculus – thenumerist.com http://thenumerist.com your superb math helper Fri, 16 Sep 2022 08:41:10 +0000 en-US hourly 1 https://wordpress.org/?v=4.7.3 http://thenumerist.com/wp-content/uploads/sites/1058/2022/07/cropped-fav-1-32x32.png Calculus – thenumerist.com http://thenumerist.com 32 32 Derivatives and an Introduction to Differential Calculus http://thenumerist.com/derivatives-and-an-introduction-to-differential-calculus.html http://thenumerist.com/derivatives-and-an-introduction-to-differential-calculus.html#respond Tue, 16 Aug 2022 22:33:22 +0000 http://thenumerist.com/?p=335 One of the main concepts studied in the field of differential calculus is based on the notion of change – specifically, how one quantity changes compared to another. Perhaps a more succinct version of this physical definition would be “rate of change.” Alternately, a geometric definition could simply be the slope of a curve at a particular point. The underlying key to this branch of mathematics is the concept of the derivative. In this post, I will introduce various aspects of the derivative!

First, let’s consider the derivative in terms of rate of change. And to do that, let’s talk about velocity. We know that velocity is equal to distance per unit time. However, that is a very general description of it. If you drive from your home to the grocery store on the other side of town, you can do the math by dividing your total distance travelled by the time it took you to get there, but what does this number tell you? It actually tells you the average velocity of your trip. Think about it. You had to stop for red lights, stop signs, pedestrians. Maybe you sped up to pass a slow driver. Don’t forget about the actual acceleration of your car from a standstill, and then the deceleration whenever you needed to stop. All of this factors into the calculation of your average velocity, which is simply how far you go in a measured amount of time.

Now, let’s consider how to calculate the average velocity of your car between your home and the first stop sign, while on your way to the grocery store. You no longer have several stops to deal with. You get in your car, accelerate, then as you approach the stop sign, you decelerate to a stop. Your average velocity is calculated from a much shorter interval, and will have much less variation to it. So, your average velocity will be more representative of your actual velocity at any given time.

To extend this demonstration even further, let’s consider the small portion of your trip that is measured between two street lights 10 meters apart that you pass while you are in full motion. That is, let’s assume that we want to measure the velocity without having to calculate stop signs, etc. Our time interval for the measurement is much smaller, and calculating the velocity by dividing the distance by the time it takes to go from one light to the other is even more representative of your velocity at any point between them.

What I am trying to demonstrate is the concept of instantaneous velocity. If you shrink down your time interval of measurement infinitesimally, the two time points approach each other at a single point, and so the average velocity between the two super close points approaches the instantaneous velocity of the single point.

Graphically, this is essentially the same thing you do when you calculate the slope of a tangent line to a curve. You pick two lines on the curve and calculate the slope of the line between them, and then you use limits to make the points get closer and closer together until they are almost the same, and the slope of the line connecting those two infinitely close points is the tangent. (Check out my previous post about using limits to find tangents if you’d like a refresher of this topic)

Because this type of limit occurs so frequently in maths, science, and engineering, it is given the special name of “derivative,” and you calculate derivatives through the process of “differentiation.” So, one interpretation of the derivative is an expression of the instantaneous rate of change (velocity) at a particular point on the curve – a large derivative corresponds to a high rate of change (a steep curve), and conversely a small derivative corresponds to a low rate of change (a relatively flat curve). As a specific example, if you actually have a graph of position (displacement) of an object vs. time, the derivative of the curve at any time point represents the velocity of that object at that specific time. This may take a little practice to become comfortable with the concept, but suffice it to say at this point that learning how to use derivatives is incredibly important to be able to work out more complex concepts relatively easily.

Let’s look at this now in the more formal terms of mathematical symbols and equations. Consider any curve y = f(x).

Now, let us identify the point P on the curve f(x) for when x = a. That is to say, the point (a, f(a)).

Now, let’s go a step further, and identify a point Q that is h units away from a on the x-axis. If it is h units away from a, we can call it “a + h”. (If this is confusing, think about it with numbers instead. Start at, say, x = 3 (instead of a). Now we want to know what is going on 5 units (instead of h) away from x = 3. In other words, we have 3, and we have 3 + 5.) As such, we can therefore identify a point Q ((a + h), f(a + h)).

Now that we have two arbitrary points, let’s determine the slope of the straight line that would connect the two. We can use the same slope formula that we always use, slope = rise/run, but substitute in our variables that we identified above. So, we have:

Now, imagine that the distance h between the two points is getting smaller and smaller. Or in other words, consider the case of when h approaches 0. By doing this, we calculate the slope of the line connecting two infinitesimally close points – which means that we are actually approaching the slope of the tangent line to the curve at point a. In this case, we would express this slope as a limit in the following way, which actually corresponds to the definition of the derivative of a function f at a number a. The derivative is given the special symbol f’(x), and we say “f prime x”, and we express it like this:

Another way of expressing this can be found if we recognize that a + h is really just any x value. So, we can say x = a + h (and by extension, h = x – a), and modify the above derivative definition accordingly:

With this modified equation, it actually becomes a matter of arithmetic to determine the slope at a point. Here is an example of a kind of question that you will see:

“Find the derivative (or, determine the slope of the tangent) of the function f(x) = x2 – 4 at a number a.”

To do this, write the provided equation into the definition, and reduce until you have an answer. Notice below how I combine terms and recognize the identity of a difference of squares.

What this final result tells you is that for our curve, f(x) = x2 – 4, at any number a along it, the slope of the tangent (AKA, the derivative at that point) is equal to the term 2a. Graph it out and try with several values to convince yourself that it’s true! Consider when x = 5. You can determine from the original equation that we have the point (5, 21). At this point on the curve, the slope of the tangent equals 2 x 5 = 10.

Going back to the definition of the derivative that I gave above, you can also apply the concept of point-slope form to it to get a different way of seeing it. Letting y = f(x), you can rearrange the definition as follows, by simple reorganization of the terms:

Here’s a more visual exercise that you may soon encounter.

“If you are provided a graph of a function f(x) – not necessarily the equation – sketch out what the graph of the derivative f’(x) would look like.”

When you actually have the numbers and equation, this becomes much easier… assuming you know how to easily recognize derivatives from the original equations. However, if provided ONLY the picture of the curve, this becomes a bit more abstract, but not really that challenging. It DOES require you to understand the concept of derivatives and rate of change though. Here is why. Take some random curve that you can draw. Any curve will do for this exercise:

The key is rate of change. We have seen that slope is equal to rate of change, so we want to pay particular attention to the slope at several points. And the easiest points to notice are those where the slope is equal to 0. These are all the peaks and valleys of the curve. What I have done next is highlight with red bars all of the zero-slopes:

Now, to proceed with sketching the graph of the derivative f‘(x) vs x, you can start by plotting the points where f’(x) is equal to zero. From there you can then go on to say where the curve of f(x) has a positive, increasing slope, and then sketch that into your f‘(x) graph accordingly. Similarly, decreasing slopes on the f(x) curve will be negative values on the f’(x) curve. For the sake of this exercise, don’t worry so much about how high or low the slopes are. Just focus on whether they are positive or negative at the various parts of the graph. I have gone ahead and plotted out the actual curve of the derivative below in green, alongside the original curve of f(x). You can see that the f‘(x) curve crosses zero wherever the curve for f(x) has peaks or valleys, and the steeper the f(x) curve, the more extreme the f’(x) curve at that same point.

Of course, having a mathematical definition wouldn’t be any fun if there were no conditions or rules associated with it – and the definition of derivatives is no exception. One such rule states that a function is differentiable at a point a if the derivative f’(a) exists. Seems intuitive enough. If a derivative at a point exists, then the base function is differentiable at that point. Probably one of those rules that doesn’t really even need to be said.

I’m not going to graph this one out, but it is for you to think on. Consider the case of f(x) = |x|. Where is it differentiable?

If you consider the derivative of the left hand side, it equals –1. The f‘(x) on the right hand side is 1. This function then is obviously differentiable when x < 0, and when x > 0. But what about when x = 0? In this case, since the right hand limit approaches 1 as x approaches 0 from the right, and the left hand limit approaches –1 as x approaches 0 from the left, one must conclude that f’(0) does not exist because both of the one-sided limits approach different numbers.

An extension of this example actually describes a second rule for limits: if f’(a) exists, then the function f(x) is continuous as a. Recall that continuity of a curve is based on the notion that as you approach a point from both the left and the right, the limit of each side approaches the same value. In the example above, approaching 0 from either side resulted in different limits, and hence the graph is not continuous at 0.

Keep this in mind as you see various graphs of functions. Curves that have a sharp point will not be differentiable at the point, for the reason given above. Similarly, discontinuous curves (i.e. curves with gaps in them) will not have a derivative at the break point either because the one-sided limits do not agree. If f(x) is not continuous as point a, then f’(a) does not exist. A third condition to watch out for is where a graph has a vertical tangent line, in which case the slope is infinite.

Now, I’m going to wrap up this mammoth of a math post with something a bit easier to talk about: notation of derivatives. I have already described a few ways to express these values. I talked about expressing them as limits, and using infinitesimally smaller intervals, and that is a good way to work through them. Symbolically, I said that you can write f’(x) to denote the derivative of the functions f(x). This will likely be the easiest way for you to use it and to recognize it, though here are a few others that mean the same thing:

Each of these terms means the exact same thing. In particular, the D and d/dx are specifically called the differentiation operators, and you can see they have a few variations. Similarly, dy/dx is symbolic of derivatives for historical reasons. Read up on Gottfried Wilhelm Leibniz to learn more about the origins of calculus, where you will see that he introduced this way of representing it. Sometimes, you may see dy/dx referred to as “Leibniz notation.”

And with that final tidbit of mathematical goodness, I am going to end this post. I intend to follow this with another post in the near future that introduces differentiation methods and strategies. Much like the exponent rules, there are also several differentiation rules, and I hope to be able to explain them for you as well. If you have made it to this point of my post, thanks for reading, and please be sure to click the Facebook Like button below or at the top and share with your friends!

]]>
http://thenumerist.com/derivatives-and-an-introduction-to-differential-calculus.html/feed 0
Logarithm Rules http://thenumerist.com/logarithm-rules.html http://thenumerist.com/logarithm-rules.html#respond Tue, 16 Aug 2022 22:32:34 +0000 http://thenumerist.com/?p=325 In my previous post, I introduced the concept of logarithms to you. I explained how logarithms and exponents are connected, and then showed you a quick trick to help you remember how to convert between the two. Now in this post, I’m going to go a little bit deeper and explain a few rules of logarithms to help you actually do math with them. Considering how you now already know that logs and exponents are related, it should come as no surprise that, just like there is a set of exponent rules, there is also a set of logarithmic rules.

As you look at these logarithm rules, keep in mind that by convention, if you write logs without the subscript number to indicate their base, it is assumed that you are dealing in base–10. For simplicity, this is the convention that I am going to use in this post, though these rules certainly apply when dealing with logs of other bases.

With that intro out of the way, let’s get to it.

The first law of logarithms is the product rule. If you are familiar with the product rule of exponents, then this logarithm law should be a piece of cake for you. Where the exponent rule says that when multiplying exponential expressions with the same base, you simply add the exponents, this same thing applies when multiplying logarithms of the same base. Therefore, the rule states that the logarithm of a product is equal to the sum of the logarithms.

This rule is very commonly used, and it is important to recognize that you can use it in either direction. That is, the logarithm of a product converts to a sum of logarithms, and vice versa.

The next logarithmic law is the quotient rule. Again, this law can easily be derived by applying your knowledge of the exponent quotient rule (though I will leave that for you as an exercise). However, it does appear to look different. This rule states that the logarithm of a quotient is equal to the logarithm of the numerator minus the logarithm of the denominator. Sounds like a mouthful, but the expression is probably much simpler to understand.

Again, watch for opportunities to use this relationship in either direction!

The third law of logs is the power rule. This one is surprisingly simple to remember, and again can be found by manipulating exponent and logarithm laws. Quite simply, this law says that when you have a logarithm of an exponential expression, the exponent can be “brought out” of the log and used as a coefficient for the log.

The last of the rules of logarithms that I’m going to discuss here today is called the base change rule. Recall that I stated above that all of my examples that I’ve used so far in this post use the convention of an assumed base–10. If I wanted to change my expression to utilize a different base, this rule helps us to do that. So then, if I have my log in some base of a number, and I want to express this in terms of a different base, I simply take the log in my new base of the original number and divide that by the log in my new base of the original base. Sounds wordy, but again, a picture is worth a thousand words:

Here, my original base is B, and my new base that I want to express things in is X.

That is all I have to say about the rules of logarithms in this short introduction to them. They are fairly straight forward themselves, though can be used in very complex equations. I will try to do a separate post soon outlining some examples of all of these rules, though I do think that the general forms that I’ve noted above are pretty self-explanatory.

If you are interested in learning more about logarithms, there is a much more thorough summary of logarithms at the Learning and Teaching Math blog, which I highly recommend (for this and other math topics!)

]]>
http://thenumerist.com/logarithm-rules.html/feed 0
What is a Derivative in Calculus http://thenumerist.com/what-is-a-derivative-in-calculus.html http://thenumerist.com/what-is-a-derivative-in-calculus.html#respond Tue, 16 Aug 2022 22:32:23 +0000 http://thenumerist.com/?p=327 When you are introduced to the study of calculus in your math class, one of the first concepts you will deal with is derivatives. Derivatives do not sound like your typical math functions that you would be familiar with up this point, but they are a core component of calculus and you will work with them in many ways. In this post, I am going to give you a brief introduction to the concept of the derivative, hopefully answering your question “what is a derivative in calculus,” and then I will follow this up in future posts with more detailed examples of using derivatives.

Consider a curve on a graph – any curve will do. Now, pick a point on the graph, and draw a tangent to the graph at that point. Recall that a tangent to a curve is a line which touches the curve at only a single point. This tangent line is a representation of the derivative of that curve at that particular point on the curve. Naturally, every point on your curve will have its own tangent line. Here is a rough example, where I have generated some curve, and the red lines indicate the tangent lines to the curve at the points where the lines touch the curve:

By using the derivative of the equation of your curve, you are able to precisely calculate what the tangent line will look like at any point on your curve. In fact, the derivative of your equation will very likely be another equation, and you can graph this new equation out to see the graph of the derivative, which itself can be interpreted and used in many ways in calculus. You can even find the derivative of the derivative, etc.

Let’s look at a more practical example to hopefully convey the usefulness and significance of calculating derivatives.

If we consider two points A and B, and we know it takes some time to travel from A to B, we can calculate the “average” velocity of this trip by dividing the distance between the two points by the time taken to travel between them. This should be a familiar notion. However, consider this: if we are driving in a car from home to the market, then we do not have the same velocity for the entire trip. We have to start accelerating from being parked, and then decelerate when we come to stop signs, and then accelerate again, and decelerate to a stop when we reach our destination. You can calculate the average velocity of this trip in the way I mentioned above, but the “instantaneous” velocity at any particular point of the trip might be what you are more interested in. How might you go about doing this? Find the derivative! A graph of our trip, where we plot distance travelled against time, might be useful in this case. We can determine the tangents to this curve at any particular points. We know from previous graphing experience that these tangent lines have a slope of rise over run, and distance over time (the y and x axes on this graph) is velocity. So therefore, the tangent line (specifically, its slope) at any particular point on our curve actually represents the instantaneous velocity at that point. So, we can find out exactly how fast we are going at any point of our trip. We just demonstrated this graphically, but by calculating the derivative of our “trip equation” means that we can calculate how fast we were going any any point without actually graphing our equation at all!

This is just an introduction to the concept of derivatives in calculus, but in future posts, I’ll go into more details so that hopefully you can become more familiar with them. The concept might be new and different, but once you begin working with them, you will see that they are not that difficult to work with at all.

]]>
http://thenumerist.com/what-is-a-derivative-in-calculus.html/feed 0
Logarithms Explained – What is a Logarithm? http://thenumerist.com/logarithms-explained-logarithm.html http://thenumerist.com/logarithms-explained-logarithm.html#respond Tue, 16 Aug 2022 11:21:59 +0000 http://thenumerist.com/?p=304 Logarithms sound like very advanced math concepts, but they’re not really that much more difficult than many other mathematical concepts. The word “logarithm,” like the word “algorithm,” gives the impression of being a very complex topic. However, much like how an algorithm is nothing more complicated than a set of rules or processes to follow, a logarithm can also be very easy to work out. The first step to clearing up any confusion, though, is to explain what is a logarithm?

So then, just what is a logarithm?

A logarithm is related to exponents. Actually, it’s kind of like working backwards with exponents. A logarithm (or “log” for short) of a number is the exponent that another value (the base) must be raised to equal that number. Still sounds complicated, right? Looking at it another way, a logarithm tells us how many of one number we multiply together to get another number. That sounds a bit more manageable. Now let’s look at an example so that you can really see how easy this is.

Let’s consider the number 81. How many 3’s do we multiply together to equal 81?

3 x 3 = 9

3 x 3 x 3 = 27

3 x 3 x 3 x 3 = 81

As you can see, and easily work out yourself, you multiply 3 four times to produce 81. Another way to write this is with exponents, like this:

Now, what does any of this have to do with logarithms? In this example, we can say that the log with base 3 of 81 is 4. Or, as we found above, we multiply 3 (our base) 4 times to get 81. It is more common to say this as “the base 3 log of 81 is 4.”

What would a new math concept be without introducing a new expression? Of course there is a simple way of writing this down on paper, rather than longhand with words. Here is what our expression looks like:

Let’s compare our two expressions (the exponential notation and the log notation), and then I will show you a trick to help you work with them. This trick got me through years of logs in school! Notice first that all of the numbers are used in both expressions, though they’re in different places. In this case, the 3 is the base value, which is raised by the exponent 4 to produce the result 81. Similarly, with the logarithm notation, the base value is again 3, and we want to know what number this base is raised to give our results of 81. So, as you can see, the solution to the logarithm actually tells us what the exponent is!

Here is the simple arrangement of these components that help when working with logs. It can basically be boiled down to a simple rearrangement. The 3 moves over and bumps the 4 up to the exponent level, you remove the “log” word, and you’re left with your exponential notation of the expression.

Hopefully this post has helped you to understand what a logarithm is, and how logarithms are related to exponents. As I explained at the start, the concept is not that difficult. Now, much like the exponents they are related to, there are a bunch of rules that you need to follow when doing any kind of mathematical operations involving them. In my next post, I’ll begin to explain some of these logarithm rules.

Thanks for reading my post! Please remember to like me on Facebook if this was helpful for you. Of course, as always, feel free to leave me some feedback in the comment below.

]]>
http://thenumerist.com/logarithms-explained-logarithm.html/feed 0