So what is a differential equation you might ask? Well, it's an equation that involves derivatives. For example, dy/dx = 2 is a differential equation. To solve an equation like this, we just use integration, and integrate both sides with respect to x, giving us y = 2x + c. (Don't forget the +c!!!)
Solutions to differential equations involving a + c are called general solutions to the equation. If you're given more information, though, like what y is at a certain point, then you can find a particular solution.
My textbook's also reminding me that, technically, when you integrate both sides, you get a +c on both sides. The integral of (dy/dx) is actually y + c and the integral of 2 is 2x + c. You only need to leave in one of the cs, and this c is technically equal to the difference between the two cs.
Now, if you have something like y(dy/dx) = 2x + 3, you still integrate both sides with respect to x... (and yes, I'm sorry that I still don't know what to type in as a good substitute for the integral sign)
(integral sign) y(dy/dx) dx = (integral sign) 2x + 3 dx
(integral sign) y dy = (integral sign) 2x + 3 dx
(y^2)/2 + c = x^2 + 3x + c
(y^2)/2 = x^2 + 3x + c
Now, look closely at the second line. See how the y is with the dy and the x is with the dx? This is what you should aim to do when you rearrange the equation. Although dy/dx isn't really a fraction- it's the limit of a fraction- thinking of it as one might help you to rearrange the equation so that the ys are with the dy and the xs are with the dx.
Wow, that was a relatively short post (for me, anyway). I can't really be bothered doing area under a curve now because you've probably already done it before and I have other stuff to write about like integrating logarithmic functions, 3D vectors, the shapes of molecules, and Shakespeare's Hamlet. I might write about area under a curve once I've revised everything else that I need to (or maybe while I'm procrastinating over revising those things).
Oh, and by the way...
DON'T FORGET THE + C!!!!!!!!!!!!!!!!!!
Tuesday, May 7, 2013
Integrating by Substitution
This (hopefully) shouldn't take too long to explain. Basically, you generally use integrating by substitution when you've got something in brackets raised to a power and something else sitting outside those brackets that isn't a multiple of the derivative of the stuff in the brackets.
When you integrate by substitution, you set the stuff in the brackets equal to u. For example, if you want to find the integral of 20x(2x + 3)^3, you might then make 2x + 3 = u.
You then need to play with this equation to find two things: an equation for x and an equation for u.
Rearranging the equation, x = (u - 3)/2.
Also, du/dx = 2. Therefore, dx/du = (1/2).
I don't know how to type in integral signs on Blogger, and I don't know what the shorthand is either. So bear with me here.
(integral sign) 20x (2x + 3)^3 dx
= (integral sign) 20((u - 3)/2)(u)^3(dx/du) du
= (integral sign) 10 (u - 3) (u)^3(1/2) du
= (integral sign) (5u - 15)(u)^3 du
= (integral sign) 5u^4 - 15u^3 du
= u^5 - (15/4)u^4 + c
= u^4(u - (15/4)) + c
= (1/4)(u^4)(4u - 15) + c
= (1/4)(2x + 3)^4(8x + 12 - 15) + c
= (1/4)((2x + 3)^4)(8x - 3) + c
You have to make sure that you pop in your substitution for x (in this case x = (u - 3)/2) otherwise you'll end up trying to integrate two variables at once, which I'm told isn't allowed. This is also why you need to have a multiple of the derivative "sitting outside the brackets" in order to integrate. You don't really have to use the substitution method when you do have a multiple of the derivative present, but you still can.
(Well, I'm currently looking at another example which is to find the integral of 8 cos (2x) (sin 2x)^5... but I'm not really sure how to find x in terms of u using the substitution u = sin 2x. At least in this question a multiple of the derivative is present...)
When you integrate by substitution, you set the stuff in the brackets equal to u. For example, if you want to find the integral of 20x(2x + 3)^3, you might then make 2x + 3 = u.
You then need to play with this equation to find two things: an equation for x and an equation for u.
Rearranging the equation, x = (u - 3)/2.
Also, du/dx = 2. Therefore, dx/du = (1/2).
I don't know how to type in integral signs on Blogger, and I don't know what the shorthand is either. So bear with me here.
(integral sign) 20x (2x + 3)^3 dx
= (integral sign) 20((u - 3)/2)(u)^3(dx/du) du
= (integral sign) 10 (u - 3) (u)^3(1/2) du
= (integral sign) (5u - 15)(u)^3 du
= (integral sign) 5u^4 - 15u^3 du
= u^5 - (15/4)u^4 + c
= u^4(u - (15/4)) + c
= (1/4)(u^4)(4u - 15) + c
= (1/4)(2x + 3)^4(8x + 12 - 15) + c
= (1/4)((2x + 3)^4)(8x - 3) + c
You have to make sure that you pop in your substitution for x (in this case x = (u - 3)/2) otherwise you'll end up trying to integrate two variables at once, which I'm told isn't allowed. This is also why you need to have a multiple of the derivative "sitting outside the brackets" in order to integrate. You don't really have to use the substitution method when you do have a multiple of the derivative present, but you still can.
(Well, I'm currently looking at another example which is to find the integral of 8 cos (2x) (sin 2x)^5... but I'm not really sure how to find x in terms of u using the substitution u = sin 2x. At least in this question a multiple of the derivative is present...)
Integrating Trig Functions
Okay. I HATE INTEGRATING TRIG FUNCTIONS. Absolutely hate doing it. But I have to for Spec. So I'm going to explain how to do it.
The Basics
Probably one of the main reasons why I hate integrating trig functions is because I keep mixing up the derivatives of the trig functions with their integrals. Plus you might get some that seem tricky to work out and then you realise that the trig function in question is simply a multiple of one of the three derivatives of tan x.
Here are the integrals that you need to know:
Integral of sin x = -cos x
Integral of cos x = sin x
Integral of (1/(cos x)^2), (sec x)^2 or 1 + (tan x)^2 = tan x
All the other rules work as before. If the trig function's raised to a power, raise the power by one and divide by the new power and the derivative of the trig function- but make sure that a multiple of said derivative is also present. So you can't differentiate (sin x)^3 directly because sin x's derivative, -cos x, isn't "sitting outside the brackets." (There are, however, other ways to differentiate this, which I will talk about later.) This is where I always screw up because I always divide by the integral by accident, which means that I get the positive/negative signs all wrong.
Oh, and don't forget the...
+ c
If you don't have the derivative sitting outside the brackets... (for trig functions only)
If you have sin x or cos x raised to an odd power, you can do a dirty trick as follows...
If you have, say, (sin x)^3, you can split that up into (sin x)(sin x)^2. Now, (sin x)^2 is also equal to 1 - (cos x)^2. This gives you (sin x)(1 - (cos x)^2), which then gives you sin x - sin x(cos x)^2 which can be integrated to -cos x + (1/3)(cos x)^3 + c!
(And yes, while I was working that one out I made my old mistakes of dividing by the integral instead of the derivative and forgetting the plus c... hopefully I don't make those mistakes in tests...)
If you have sin x or cos x raised to an even power, well, there's a dirty trick for that too, but it's not as convenient.
Here are two more trig identities to memorise (I hate memorisation, so that's just another reason why I hate integrating these things). (cos x)^2 = ((1 + cos 2x)/2) and (sin x)^2 = ((1 - cos 2x)/2). You can go ahead and prove them if you want to feel confident that they work. These functions can be integrated.
If you have (cos x)^6 or whatever, (cos x)^6 = ((cos x)^2)^3 = ((1 + cos 2x)/2)^3. Then you have to do the fun, fun work of expanding that and integrating it. And so on. Argh. I hate these things. I've pretty much said everything about them that I have to, though. Now for some more posts on integration by substitution, differential equations and maybe a quickie on area under a curve as well...
The Basics
Probably one of the main reasons why I hate integrating trig functions is because I keep mixing up the derivatives of the trig functions with their integrals. Plus you might get some that seem tricky to work out and then you realise that the trig function in question is simply a multiple of one of the three derivatives of tan x.
Here are the integrals that you need to know:
Integral of sin x = -cos x
Integral of cos x = sin x
Integral of (1/(cos x)^2), (sec x)^2 or 1 + (tan x)^2 = tan x
All the other rules work as before. If the trig function's raised to a power, raise the power by one and divide by the new power and the derivative of the trig function- but make sure that a multiple of said derivative is also present. So you can't differentiate (sin x)^3 directly because sin x's derivative, -cos x, isn't "sitting outside the brackets." (There are, however, other ways to differentiate this, which I will talk about later.) This is where I always screw up because I always divide by the integral by accident, which means that I get the positive/negative signs all wrong.
Oh, and don't forget the...
+ c
If you don't have the derivative sitting outside the brackets... (for trig functions only)
If you have sin x or cos x raised to an odd power, you can do a dirty trick as follows...
If you have, say, (sin x)^3, you can split that up into (sin x)(sin x)^2. Now, (sin x)^2 is also equal to 1 - (cos x)^2. This gives you (sin x)(1 - (cos x)^2), which then gives you sin x - sin x(cos x)^2 which can be integrated to -cos x + (1/3)(cos x)^3 + c!
(And yes, while I was working that one out I made my old mistakes of dividing by the integral instead of the derivative and forgetting the plus c... hopefully I don't make those mistakes in tests...)
If you have sin x or cos x raised to an even power, well, there's a dirty trick for that too, but it's not as convenient.
Here are two more trig identities to memorise (I hate memorisation, so that's just another reason why I hate integrating these things). (cos x)^2 = ((1 + cos 2x)/2) and (sin x)^2 = ((1 - cos 2x)/2). You can go ahead and prove them if you want to feel confident that they work. These functions can be integrated.
If you have (cos x)^6 or whatever, (cos x)^6 = ((cos x)^2)^3 = ((1 + cos 2x)/2)^3. Then you have to do the fun, fun work of expanding that and integrating it. And so on. Argh. I hate these things. I've pretty much said everything about them that I have to, though. Now for some more posts on integration by substitution, differential equations and maybe a quickie on area under a curve as well...
Implicit Differentiation and Differentiating Parametric Equations
More differentiation!
I'm going to do parametric equations first, because they're easier.
Differentiating Parametric Equations
Parametric equations are where you have separate equations for x and y in terms of a third variable, like t. For example, you could have x = 2t and y = t^2 + 1. Sometimes you can combine the two functions to make one single function in terms of either x or y. In this example, you could rearrange x = 2t to become t = (x/2), and then substitute that into the y equation to find an equation for y in terms of x. You could then differentiate that way. Sometimes, though, it's rather tiresome and annoying to do all this substitution and whatnot, which is why there's a method for directly differentiating parametric equations. It's a pretty simple method too, which is nice.
First, you find dx/dt (or, if x isn't given in terms of t, just replace the t with whatever variable x is given in terms of). Then you find dy/dt. Now, by the chain rule, dy/dx = (dy/dt)(dt/dx). But wait! you might say. We have dx/dt, but not dt/dx! Well, the handy thing is, dt/dx is simply equal to 1/(dx/dt).
For the above equations, x = 2t and y = t^2 + 1, dx/dt = 2 and dy/dt = 2t. dy/dx = (dy/dt)(dt/dx) = (2t)(1/2). Therefore, dy/dx = t. If you want to find this in terms of x, just use one of your original equations to find what t is. x = 2t can be arranged to t = x/2. Therefore, dy/dx = t = x/2. You can get the same answer using the substitution method that I described above.
Differentiating Implicitly Defined Functions
Most of the time, when you see equations, they're in the form of y in terms of x or x in terms of y. But sometimes, you might get an equation where x and y are on the same side, like in x^2 + y^2 = 16 (which, by the way, is the graph of a circle, centre (0, 0) and radius 4). One way of differentiating such equations is to rearrange them and then differentiate, but sometimes this is hard or even impossible to do. That's where implicit differentiation comes in!
Implicit differentiation, however, is pretty long-winded, so if you're doing a calculator assumed part of a test and you see an implicit differentiation question only worth 1 or 2 marks, use your calculator instead! It's not worth the effort!
Basically, in implicit differentiation, you have to differentiate each term separately with respect to x (or one of the two variables in the equation). Then you have to factor out dy/dx (or dy/dt or whatever the variables are) to get your derivative.
Here's how to differentiate the different terms. Let x = whatever variable you're differentiating with respect to and y = the other variable.
Number on its own: Derivative is 0 (like always)
x, or powers of x: Differentiate as normal
y: Derivative of y is dy/dx. (dy/dx does mean "derivative of y with respect to x"...)
Powers of y: Use the chain rule as well as the above fact. y^2 becomes (2y)(dy/dx)
Mix of x and y: Separate into two groups, one with the x and one with the y. For example, 6xy could become (6x)(y). Then use the product rule. Derivative of 6xy with respect to x would end up being 6y + 6x(dy/dx).
Here's a pretty simple example for implicit differentiation: finding the derivative of x^2 + y^2 = 16.
(d/dx)(x^2) + (d/dx)(y^2) = (d/dx)(16)
2x + 2y(dy/dx) = 0
(dy/dx)(2y) = -2x
(dy/dx) = (-2x)/(2y)
(dy/dx) = -(x/y)
I'm too lazy to find and type up a harder example... but hopefully you get the idea. You have to differentiate each term separately using the rules that I stated above (well, I kind of made them up as I went along so I hope they work all the time), and then rearrange the equation to get an equation for dy/dx in terms of x and y.
If you have any more questions, just ask!
I'm going to do parametric equations first, because they're easier.
Differentiating Parametric Equations
Parametric equations are where you have separate equations for x and y in terms of a third variable, like t. For example, you could have x = 2t and y = t^2 + 1. Sometimes you can combine the two functions to make one single function in terms of either x or y. In this example, you could rearrange x = 2t to become t = (x/2), and then substitute that into the y equation to find an equation for y in terms of x. You could then differentiate that way. Sometimes, though, it's rather tiresome and annoying to do all this substitution and whatnot, which is why there's a method for directly differentiating parametric equations. It's a pretty simple method too, which is nice.
First, you find dx/dt (or, if x isn't given in terms of t, just replace the t with whatever variable x is given in terms of). Then you find dy/dt. Now, by the chain rule, dy/dx = (dy/dt)(dt/dx). But wait! you might say. We have dx/dt, but not dt/dx! Well, the handy thing is, dt/dx is simply equal to 1/(dx/dt).
For the above equations, x = 2t and y = t^2 + 1, dx/dt = 2 and dy/dt = 2t. dy/dx = (dy/dt)(dt/dx) = (2t)(1/2). Therefore, dy/dx = t. If you want to find this in terms of x, just use one of your original equations to find what t is. x = 2t can be arranged to t = x/2. Therefore, dy/dx = t = x/2. You can get the same answer using the substitution method that I described above.
Differentiating Implicitly Defined Functions
Most of the time, when you see equations, they're in the form of y in terms of x or x in terms of y. But sometimes, you might get an equation where x and y are on the same side, like in x^2 + y^2 = 16 (which, by the way, is the graph of a circle, centre (0, 0) and radius 4). One way of differentiating such equations is to rearrange them and then differentiate, but sometimes this is hard or even impossible to do. That's where implicit differentiation comes in!
Implicit differentiation, however, is pretty long-winded, so if you're doing a calculator assumed part of a test and you see an implicit differentiation question only worth 1 or 2 marks, use your calculator instead! It's not worth the effort!
Basically, in implicit differentiation, you have to differentiate each term separately with respect to x (or one of the two variables in the equation). Then you have to factor out dy/dx (or dy/dt or whatever the variables are) to get your derivative.
Here's how to differentiate the different terms. Let x = whatever variable you're differentiating with respect to and y = the other variable.
Number on its own: Derivative is 0 (like always)
x, or powers of x: Differentiate as normal
y: Derivative of y is dy/dx. (dy/dx does mean "derivative of y with respect to x"...)
Powers of y: Use the chain rule as well as the above fact. y^2 becomes (2y)(dy/dx)
Mix of x and y: Separate into two groups, one with the x and one with the y. For example, 6xy could become (6x)(y). Then use the product rule. Derivative of 6xy with respect to x would end up being 6y + 6x(dy/dx).
Here's a pretty simple example for implicit differentiation: finding the derivative of x^2 + y^2 = 16.
(d/dx)(x^2) + (d/dx)(y^2) = (d/dx)(16)
2x + 2y(dy/dx) = 0
(dy/dx)(2y) = -2x
(dy/dx) = (-2x)/(2y)
(dy/dx) = -(x/y)
I'm too lazy to find and type up a harder example... but hopefully you get the idea. You have to differentiate each term separately using the rules that I stated above (well, I kind of made them up as I went along so I hope they work all the time), and then rearrange the equation to get an equation for dy/dx in terms of x and y.
If you have any more questions, just ask!
Monday, May 6, 2013
Differentiating Trig Functions
I'm going to skip ahead in the book a bit and go straight to the differentiation and integration bits, because I don't really have to draw diagrams to explain them (and drawing diagrams on Paint is annoying).
Differentiating Trig Functions- First Principles
First principles- the random long-winded way of differentiation which you only do when you're trying to learn the ideas and concepts behind it, but then drop when you learn quicker, easier methods.
I'm not sure whether or not I've explained first principles before on my blog, so I'll try and briefly explain the concepts behind it here. Differentiation is all about finding the gradient, and gradient can be calculated by rise over run (i.e. difference in y-values divided by difference in x-values). Therefore, one way of finding the gradient at any given point along a curve is to find the gradient between that point and another point very very close to it. You can keep adjusting the distances between the two points until there's only a very infinitesimally small difference between the points, and then you'll get the gradient.
Let's say that you're looking for the gradient at the point where x = x on the curve y = f(x). When x = x, the y-coordinate of the curve is given by f(x), so our first point is (x, f(x)). Our next point is h more units along the x-axis, so its x-coordinate is x+h, and its y-coordinate is f(x+h), giving us the point (x + h, f(x+h)). Now, gradient is rise over run, so the gradient formula is (f(x+h)-f(x))/((x+h)-x), which simplifies down to (f(x+h)-f(x))/h. Now, to get the gradient at point x, you want the distance between the two points (h) to equal zero. But wait! If h = 0, then you're dividing by 0, and you can't do that!
That's why we use a limiting equation, as represented by that "lim h->0" thingy.
(I love Word's "insert equation" feature...)
Now, let's put this into action. Chances are, you know that the derivative of y = x^2 is simply 2x. How do we go about proving this with first principles?
Well, on the top line we first substitute f(x + h) for (x + h)^2 (since the function, f(x), is x^2) and f(x) for x^2. Then we expand and simplify this so we have (2hx + h^2)/h, h approaching zero. Now we factor out h to get (h(2x + h))/h and then cancel out the hs so we get 2x + h. Now we don't have to bother about h approaching zero. Instead, we can allow h to equal zero, since we're no longer dividing by h and therefore making h zero won't make the universe explode. That leaves us with 2x as the derivative of x^2.
We can use a similar approach to find out the derivatives of sin x and cos x, but there's a couple of things that you have to know first.
As x approaches zero, (sin x)/x = 1 and (1-cos x)/x = 0. These can be determined by using tables of values (i.e. working out the values of these two functions by calculating for x = 0.01, x =0.001 etc.) or by looking at the graphs of the functions.
Here's how the derivative of sin x can be calculated using first principles:
The derivative of sin x is cos x, and the derivative of cos x is -sin x. REMEMBER THAT. It's helpful knowledge to have on hand.
tan x has a retarded derivative, or rather derivatives (yes, it has more than one acceptable derivative. One way to differentiate tan x is by using the quotient rule, since tan x = (sin x) / (cos x).
When y = (sin x) / (cos x), dy/dx = (cos x cos x - sin x (-sin x)) / (cos x)^2
= ((cos x)^2 + (sin x) ^2) / (cos x)^2
But (cos x)^2 + (sin x)^2 = 1 (Pythagorean identity, which I realise I haven't mentioned yet on this blog)
So dy/dx = 1 / (cos x)^2.
So one possible derivative of tan x is 1 / (cos x)^2.
Now, apart from sine, cosine and tangent, there are three more trig functions (which you don't really need to know very well for now) which are the reciprocals of the first three functions. They are secant (sec), cosecant (cosec) and cotangent (cot). Secant is 1 / cos x, cosecant is 1 / sin x and cotangent is 1 / tan x.
Since sec = 1 / cos x, (sec x)^2 = 1 / (cos x)^2, which is the derivative of tan x. Therefore, another possible derivative of tan x is (sec x)^2.
Also, there's an alternative way of simplifying my second line of working for the derivative of tan x using the quotient rule. This alternative simplification leads to a third acceptable derivative of tan x.
((cos x)^2 + (sin x) ^2) / (cos x)^2 = ((cos x)^2) / (cos x)^2 + ((sin x)^2) / (cos x)^2))
= 1 + (tan x)^2
Now I'm going to summarise the derivatives for the three main functions, because it's handy having everything in one place.
Derivative of sin x = cos x
Derivative of cos x = -sin x
Derivative of tan x = (1 / (cos x)^2), (sec x)^2 or 1 - (tan x)^2, depending on your mood and the question that you're trying to solve
Rules of Differentiating Trig Functions
Differentiating trig functions is annoying (though nowhere near as annoying as integrating them) because you have to make sure not to get mixed up between the derivatives and stuff (my main problem is getting the positive/negative signs the right way around). At least they go by most of the same rules as pretty much every other function with regards to differentiation: you can still use the good ol' product, chain and quotient rules.
I'll just do a quick example with the chain rule because I believe that that's where it's easiest to get mixed up with regards to what order to do the steps in.
Let's use y = (cos 5x)^3 as an example.
Let cos 5x = u, and 5x = s. Therefore ds / dx = 5. u = cos 5x = cos s, so du/ds = - sin s. Finally y = u^3, so dy/du = 3u^2.
Now, due to the chain rule, dy/dx = (dy/du)(du/ds)(ds/dx).
Therefore, dy/dx = (3u^2)(-sin s)(5).
Substituting to get an answer in terms of x, dy/dx = 3((cos 5x)^2)(- sin 5x)(5) = (-15 sin 5x)(cos 5x)^2.
Wow, explaining that in full was more complicated than I was expecting since cos 5x warranted an extra chain as well (you need to multiply by the derivative of 5x). Just remember that the power takes precedence, then the stuff in the brackets. And take care in working out the derivative of the stuff in the brackets too.
That's all from me on differentiating trig functions for now, but if you want more clarification, feel free to ask!
Differentiating Trig Functions- First Principles
First principles- the random long-winded way of differentiation which you only do when you're trying to learn the ideas and concepts behind it, but then drop when you learn quicker, easier methods.
I'm not sure whether or not I've explained first principles before on my blog, so I'll try and briefly explain the concepts behind it here. Differentiation is all about finding the gradient, and gradient can be calculated by rise over run (i.e. difference in y-values divided by difference in x-values). Therefore, one way of finding the gradient at any given point along a curve is to find the gradient between that point and another point very very close to it. You can keep adjusting the distances between the two points until there's only a very infinitesimally small difference between the points, and then you'll get the gradient.
Let's say that you're looking for the gradient at the point where x = x on the curve y = f(x). When x = x, the y-coordinate of the curve is given by f(x), so our first point is (x, f(x)). Our next point is h more units along the x-axis, so its x-coordinate is x+h, and its y-coordinate is f(x+h), giving us the point (x + h, f(x+h)). Now, gradient is rise over run, so the gradient formula is (f(x+h)-f(x))/((x+h)-x), which simplifies down to (f(x+h)-f(x))/h. Now, to get the gradient at point x, you want the distance between the two points (h) to equal zero. But wait! If h = 0, then you're dividing by 0, and you can't do that!
That's why we use a limiting equation, as represented by that "lim h->0" thingy.
(I love Word's "insert equation" feature...)
Now, let's put this into action. Chances are, you know that the derivative of y = x^2 is simply 2x. How do we go about proving this with first principles?
Well, on the top line we first substitute f(x + h) for (x + h)^2 (since the function, f(x), is x^2) and f(x) for x^2. Then we expand and simplify this so we have (2hx + h^2)/h, h approaching zero. Now we factor out h to get (h(2x + h))/h and then cancel out the hs so we get 2x + h. Now we don't have to bother about h approaching zero. Instead, we can allow h to equal zero, since we're no longer dividing by h and therefore making h zero won't make the universe explode. That leaves us with 2x as the derivative of x^2.
We can use a similar approach to find out the derivatives of sin x and cos x, but there's a couple of things that you have to know first.
As x approaches zero, (sin x)/x = 1 and (1-cos x)/x = 0. These can be determined by using tables of values (i.e. working out the values of these two functions by calculating for x = 0.01, x =0.001 etc.) or by looking at the graphs of the functions.
Here's how the derivative of sin x can be calculated using first principles:
As for the derivative of cos x... I'll leave that one for you to do as practise! (Actually I'm only saying that because I can't be stuffed typing that one up.)
The derivative of sin x is cos x, and the derivative of cos x is -sin x. REMEMBER THAT. It's helpful knowledge to have on hand.
tan x has a retarded derivative, or rather derivatives (yes, it has more than one acceptable derivative. One way to differentiate tan x is by using the quotient rule, since tan x = (sin x) / (cos x).
When y = (sin x) / (cos x), dy/dx = (cos x cos x - sin x (-sin x)) / (cos x)^2
= ((cos x)^2 + (sin x) ^2) / (cos x)^2
But (cos x)^2 + (sin x)^2 = 1 (Pythagorean identity, which I realise I haven't mentioned yet on this blog)
So dy/dx = 1 / (cos x)^2.
So one possible derivative of tan x is 1 / (cos x)^2.
Now, apart from sine, cosine and tangent, there are three more trig functions (which you don't really need to know very well for now) which are the reciprocals of the first three functions. They are secant (sec), cosecant (cosec) and cotangent (cot). Secant is 1 / cos x, cosecant is 1 / sin x and cotangent is 1 / tan x.
Since sec = 1 / cos x, (sec x)^2 = 1 / (cos x)^2, which is the derivative of tan x. Therefore, another possible derivative of tan x is (sec x)^2.
Also, there's an alternative way of simplifying my second line of working for the derivative of tan x using the quotient rule. This alternative simplification leads to a third acceptable derivative of tan x.
((cos x)^2 + (sin x) ^2) / (cos x)^2 = ((cos x)^2) / (cos x)^2 + ((sin x)^2) / (cos x)^2))
= 1 + (tan x)^2
Now I'm going to summarise the derivatives for the three main functions, because it's handy having everything in one place.
Derivative of sin x = cos x
Derivative of cos x = -sin x
Derivative of tan x = (1 / (cos x)^2), (sec x)^2 or 1 - (tan x)^2, depending on your mood and the question that you're trying to solve
Rules of Differentiating Trig Functions
Differentiating trig functions is annoying (though nowhere near as annoying as integrating them) because you have to make sure not to get mixed up between the derivatives and stuff (my main problem is getting the positive/negative signs the right way around). At least they go by most of the same rules as pretty much every other function with regards to differentiation: you can still use the good ol' product, chain and quotient rules.
I'll just do a quick example with the chain rule because I believe that that's where it's easiest to get mixed up with regards to what order to do the steps in.
Let's use y = (cos 5x)^3 as an example.
Let cos 5x = u, and 5x = s. Therefore ds / dx = 5. u = cos 5x = cos s, so du/ds = - sin s. Finally y = u^3, so dy/du = 3u^2.
Now, due to the chain rule, dy/dx = (dy/du)(du/ds)(ds/dx).
Therefore, dy/dx = (3u^2)(-sin s)(5).
Substituting to get an answer in terms of x, dy/dx = 3((cos 5x)^2)(- sin 5x)(5) = (-15 sin 5x)(cos 5x)^2.
Wow, explaining that in full was more complicated than I was expecting since cos 5x warranted an extra chain as well (you need to multiply by the derivative of 5x). Just remember that the power takes precedence, then the stuff in the brackets. And take care in working out the derivative of the stuff in the brackets too.
That's all from me on differentiating trig functions for now, but if you want more clarification, feel free to ask!
Ways to get some stuff done
This is a bit of a stupid post. You know those lazy days when you have to get some stuff done but you can't be bothered doing anything? Well, here's some really stupid ways that you may or may not be motivated to do something (maybe not a lot, but something).
Method #1: I Really Want to Play Video Games but I Have to Get Some Stuff Done
I actually finished off the Chapter 5 and Chapter 6 end-of-chapter questions in my book while using this method. It took a while, but at least I got my gaming fix done at the same time.
You have to pick a game that can be played in short bursts. For example, in something like Pokémon Mystery Dungeon, you could divide it up into floor at a time. Then, pick an assignment or task that can be divided up into short bursts. For example, with my chemistry questions, I just did a question at a time. (However, make sure that the assignment chunks take at least roughly the same amount of time as the gaming chunks so that you are getting stuff done.) Then alternate between the two activities until you've gotten everything done.
Method #2: Last Minute Warrior
Some people do better under pressure. This method is for them. I'm sure you all know how it works without me having to explain.
WARNING: Don't do this if you can't handle stress, or if you actually have something important to do the next day which might require you to have had a good night's rest the night before.
Method #3: The List
Write a list of everything that you have to do. Break some stuff down into smaller chunks. For example, a 2000 word essay could be broken down into "write 500 words," "write next 500 words" and so on. If writing 500 words still looks like a massive hurdle, break it down further into 250 words or something.
Method #4: Go With the Flow
This only really works for nerdy people who sometimes find studying fun. It works better when there isn't anything more interesting to do.
Basically the idea is that you study when you feel like it and you don't study when you don't feel like it. It works if you have a genuine interest in the subjects that you're studying because if you're like me, once you get started you can study for hours (though sometimes the trouble is getting started in the first place). However, you might be better advised not to use this method when it comes to studying for something that you hate and you tend to avoid at all costs (like me and Lit).
Method #5: Race Your Friends
It works for some people. I'm not that competitive though so I don't use this method. But hey, I guess Facebook has its study advantages...
Method #6: Do Non-Computer Stuff First
The reason that I say this is that I know that I tend to procrastinate and play random games like Bush Whacker 2 when I'm on the computer. If I do non-computer stuff first, then I get more stuff done.
Method #7: Create a Non-Admin Account on your Computer
Never done this, but I have considered it. If you create a non-admin account and then put on parental controls so that you can't play games and do all your normal procrastination stuff, then you might get stuff done. Still, make sure to reward yourself afterwards.
Method #1: I Really Want to Play Video Games but I Have to Get Some Stuff Done
I actually finished off the Chapter 5 and Chapter 6 end-of-chapter questions in my book while using this method. It took a while, but at least I got my gaming fix done at the same time.
You have to pick a game that can be played in short bursts. For example, in something like Pokémon Mystery Dungeon, you could divide it up into floor at a time. Then, pick an assignment or task that can be divided up into short bursts. For example, with my chemistry questions, I just did a question at a time. (However, make sure that the assignment chunks take at least roughly the same amount of time as the gaming chunks so that you are getting stuff done.) Then alternate between the two activities until you've gotten everything done.
Method #2: Last Minute Warrior
Some people do better under pressure. This method is for them. I'm sure you all know how it works without me having to explain.
WARNING: Don't do this if you can't handle stress, or if you actually have something important to do the next day which might require you to have had a good night's rest the night before.
Method #3: The List
Write a list of everything that you have to do. Break some stuff down into smaller chunks. For example, a 2000 word essay could be broken down into "write 500 words," "write next 500 words" and so on. If writing 500 words still looks like a massive hurdle, break it down further into 250 words or something.
Method #4: Go With the Flow
This only really works for nerdy people who sometimes find studying fun. It works better when there isn't anything more interesting to do.
Basically the idea is that you study when you feel like it and you don't study when you don't feel like it. It works if you have a genuine interest in the subjects that you're studying because if you're like me, once you get started you can study for hours (though sometimes the trouble is getting started in the first place). However, you might be better advised not to use this method when it comes to studying for something that you hate and you tend to avoid at all costs (like me and Lit).
Method #5: Race Your Friends
It works for some people. I'm not that competitive though so I don't use this method. But hey, I guess Facebook has its study advantages...
Method #6: Do Non-Computer Stuff First
The reason that I say this is that I know that I tend to procrastinate and play random games like Bush Whacker 2 when I'm on the computer. If I do non-computer stuff first, then I get more stuff done.
Method #7: Create a Non-Admin Account on your Computer
Never done this, but I have considered it. If you create a non-admin account and then put on parental controls so that you can't play games and do all your normal procrastination stuff, then you might get stuff done. Still, make sure to reward yourself afterwards.
How to make the most out of Language Perfect
Okay, just a quick diversion here to talk about Language Perfect!
Language Perfect (www.languageperfect.co.nz) is a website where you can revise vocabulary words in whatever second language you're studying. Some schools use this website quite a bit (like mine, for instance). This is just a little guide to get the most out of using this program.
Okay, first of all, do not make Language Perfect your be-all-and-end-all for language studying. Language Perfect is great for studying vocab, but you need a range of study materials to have a well-rounded knowledge of the language you're studying. Here's some stuff that you should try and get your hands on (apart from a dictionary, because that's kind of obvious):
Language Perfect (www.languageperfect.co.nz) is a website where you can revise vocabulary words in whatever second language you're studying. Some schools use this website quite a bit (like mine, for instance). This is just a little guide to get the most out of using this program.
Okay, first of all, do not make Language Perfect your be-all-and-end-all for language studying. Language Perfect is great for studying vocab, but you need a range of study materials to have a well-rounded knowledge of the language you're studying. Here's some stuff that you should try and get your hands on (apart from a dictionary, because that's kind of obvious):
- Books in whatever language you're studying. I suggest getting non-fiction books geared at kids because then the vocab is simple but the topics are still interesting. Another alternative is getting translated versions of books that you've read before in English. I have 小屁孩日记 (Diary of a Wimpy Kid) and some 杰罗尼莫·斯蒂顿 (Geronimo Stilton) books in Chinese. Reading books allows you to see how sentences work in your target language as well as being a source for new words.
- Some textbooks have good example sentences. I find the content of many textbooks to be rather stilted, though. I'm currently working through a pretty decent Chinese textbook called 中文, which I think is targeted at kids learning Chinese in the weekend Chinese schools here (well, I know at least one of the weekend Chinese schools uses this book). Some of the stories are kind of annoying because they have an overly cheery atmosphere, but there are other interesting biographical stories as well on famous people like Newton and Beethoven. The example sentences in the books are also really good.
- Movies in whatever language you're studying so that you can get some listening practise in.
- And, of course, if you can find people that you can communicate with using your target language, that just makes the experience more rewarding!
Now that's out of the way, how do we make the most out of Language Perfect? Well...
First of all, I recommend nailing all your school vocab just to get it out of the way. My teacher uploaded lists for the class, but if you don't have a teacher that does that, add words in yourself, pulling words from your textbook or any other word lists that you may have received in class. (To create a list, click on the "Control Panel" link on the login screen, or click on "Create a List" at the top of the list of available lists for whatever "module" you're doing.) (Wow, a list of lists.)
If there are any entries in any of these lists that are giving you trouble for anything other than you are simply having trouble learning that particular word, for example if the English definition is spelled incorrectly or the Chinese characters cannot be inputted, don't waste time with that word. Instead, click on "edit list" and remove those words. You can also re-add the word with correct spelling or whatever if need be. If you are using a school-created list, Language Perfect will keep the original list with all words in it and then create a copy of the list with your changes, under the "My Lists" tab.
Once you've mastered your school vocab, you can also add lists for the new words that you're encountering in books and movies. I think that doing this is more useful than just going through other random Language Perfect lists that might not be relevant to you. You're not really going to remember a word if you're not seeing it in books and movies and in life.
Recently, Language Perfect has also included support for other subjects such as chemistry and maths. I haven't really experimented with these yet, but they might come in handy. Language Perfect's system would be great for learning those ions, for example. Oh, and those compound names that you're just meant to know, such as sulfuric acid, sulfurous acid and so on.
Subscribe to:
Posts (Atom)

