Archive
Stationary Points (Maximum and Minimums) and Differentiation
On a graph a stationary point is any point where the gradient is 0 so where the graph is flat. For example the graph y=x2 has one stationary point at the origin.
Finding the Stationary Points
We know that stationary point occur when the gradient is 0 so when the derivative of the graph is 0, so in order to find the stationary points we but first differentiate the curve.
For example lets consider the graph . We cab differentiate this to find
We must then equate the derivative to 0 and solve the resulting equation. This is because we are trying to find the points where the gradient is zero and these point occur exactly at the solutions of the equation we have formed.
So in our example we form the equation
by equating our expression for ,
, to 0
Solving this equation we find that stationary points occur exactly when
Note that there can be more than solution to this equation, each of which is a valid stationary point.
Finally we should also find the y co-ordinate for the stationary point by putting this value of x into the initial equation. So for this example
So the only stationary point is at
Nature of Stationary Points
The nature of a stationary point simply means what the graph is doing around it and are characterised by the second derivative, (found by differentiating the derivative). There are three types of stationary point:
- Maximum Points: These are stationary points where the graph is sloping down on either side of the stationary point (a sad face type of curve).
Here - Minimum Points: These are stationary where the graph is sloping upwards on either side of the point (a happy face)
Here - Point of Inflection: Here the direction of the slope of the graph is the same either side of the stationary point, it can be in either direction.
At a point of inflectionbut
isn’t enough to ensure that a point really is a point of inflection as it could still be a maximum or minimum point
Checking the nature of a Stationary Point when
In this case the easiest thing to do is look a small distance either side of the point and see whether the y value is greater than or less than that of the stationary point. You can then draw yourself a picture to see what it is. For example if they are both greater than the stationary point you know it is a minimum point, but if one is greater and one is less than it is a point of inflection
Warning: checking points either side does not guarantee the correct result as there may be another stationary point or a break in the graph between where you are checking and the stationary point so you should always check using the derivatives if possible
The Chain Rule
The chain rule allows you to differentiate composite functions (functions of other functions) ie) f(g(x)) such as sin(3x2) or (5x3+2x+3)2. The rule is as follows
or to understand it more simply you differentiate the inner function and multiply it by the derivative of the outer function (leaving what’s inside alone).
Differentiating brackets raised to a power
The chain rule can be a great short cut to differentiating brackets raised to a power as it doesn’t require you to multiply them all out, it also enables you to differentiate brackets raised to an unknown power.
Consider
This is the composite of the functions ax+b and tn. So we differentiate them both to get a and ntn-1 and then apply the formula to get
Notice how we multiplied the derivative of the inner function, a, by the derivative of the outer function ntn-1 but substituted ax+b back in for t.
To generalise we can replace the ax+b with f(x) and by applying the above get
Differentiating Trigonometric functions
We can also use the chain rule when differentiating sin(f(x)) and cos(f(x)) since we know how to differentiate sin(x) and cos(x).
Using the chain rule we get
and
Fundamental Theorem of Calculus
This theorem forms much of the basis of calculus and the uses of differentiation and integration. It basically states that differentiation and integration are opposites so if you differentiate and integral you’ll get the function you started with. This can be stated as follows:
if then
or in the more simple case
if then
It is this idea that allows us to know, for example,
from the knowledge that
\
This makes much of integration easier as it is often much easier to work out the derivative a function than work out the integral of one so we can look for functions which when differentiated give us the function that we want to integrate and then know that the integral is that function plus a constant.
Integrating Fractions – using the natrual logarithm – Example tan(x)
From result found be differentiating the natural logarithm,
for some function f(x),
and the fundamental theorem of calculus we cay say that
where c is the integration constant
Simple Example
The most basic example of this is the integration of 1/x,
More complex example: Integration of tan(x)
A slightly more complicated example of this is the integration of tan(x). To do this we must remember that and notice that
. This means that -tan(x) is of the form
as required. Using this we can get
Trick for using this identity
Sometimes we get integrals that are almost in this form but not exactly, eg) , however to solve these we can often factorise a constant so that it is in the required form. In this example we can take out a 2 so we get
Differentiate Logs with Proof
In order to differentiate logs we must use the chain rule. The simplest type of log to differentiate is a natural log this can be done as shown below.
Differentiate Natural Logs
A natural log is a log to the base e.
d/dx (ln x) = 1/x
However if we want to differentiate ln(f(x)) we must use the chain rule to get
d/dx (ln(f(x)) = f'(x)/f(x)
Proof of Derivative of Natural Logs
Consider
y=ln(x)
then from the definition of a log we get
ey = x –(1)
Differentiate each side with respect to x (you need to use implicit differentiation for the left to get ey dy/dx) to get
ey dy/dx = 1
but from (1) we know that ey = x which we can substitute to get
x dy/dx =1
giving the derivative
dy/dx = 1/x
Differentiation From First Principles (with example)
When you differentiate a function or curve you are finding the gradient of the tangent to the curve. If the curve you are differentiating a curve or function that is in terms of x, eg y=x2, then the differential is also a curve or function in terms of x, eg 2x. This allows you to find the gradient of the curve for any point on the curve with a known x co-ordinate.
Differentiating from first principles involves finding the gradient of a tangent to a curve from the basic definition of gradient,
grad = (y1 – y2) / (x1-x2)
ie) not by following a rule.
When differentiating from first principles we consider chords (lines passing from one point on the curve to another) from the point on the curve with the x coordinate x to points with a slightly larger x coordinate x+d. The gradient of these chords is an approximation of the gradient of the tangent to the curve at the point with x co-ordinate x and the approximation becomes better as d becomes smaller. If we take the limit as d tends to 0 we find the actual gradient of the tangent
Note: the derivative of a curve y = f(x) is written as dy/dx
Example: y=x2
Consider 2 points P and Q on the curve y=x2 a small distance apart where the difference in their x co-ordinate is d. Then
P(x,x2)
Q(x+d,(x+d)2)
Then the gradient of the chord PQ is given by

To find the derivative we must now take the limit of this as d tends to 0.
So we find

By David Woodford
Integration by Parts
Integration by parts is a method that allows us to integrate the product of two function such as
∫2xe3xdx
where 2x is one function and e3x is another
To do this we use the formula
∫(u d/dx) dx = uv – ∫(v du/dx) dx
where u and v are both functions of x, 2x and e3x in the above example.
Proof of Integration by Parts Formula
This can be shown by considering the product rule for differentiation as shown below
the product rule states that
d(uv)/dx = u dv/dx + v du/dx
If we now integrate both side we get
uv = ∫( u dv/dx) dx + ∫(v du/dx) dx
since integration is the opposite of differentiation
now we can simply rearrange this to get
∫(u d/dx) dx = uv – ∫(v du/dx) dx
Simple Example (without limits)
To demonstrate this formula we shall integrate the example above
∫2xe3xdx
To do this we first need to pick which function (2x or e3x) to allocate to u and which to dv/dx. Picking the correct function is crucial to integration by parts since the method works by allowing us the differentiate the part of the function which is difficult to integrate. In order for this to work it is useful to use a function that will become simpler in some way. For example differentiating e3x gives 3e3x so making the product no easier to integrate, however integrating 2x gives 2 which does make it easier to integrate since we can take the 2 outside as a factor.
So we will let u=2x and dv/dx=e3x
we then differentiate 2x to get 2
and integrate e3x to e3x/3
(it can often be useful to put these in a table with columns u,v and the function on the first row and derivative on the second row)
These can then be put into the formula to find the integral
∫2xe3xdx = 2xe3x/3 – ∫e3x2/3 dx
∫2xe3xdx = 2xe3x/3 – 2e3x/9 + c
Example with Limits
usually, however integration is required to be carried out between limits. To perform integration by parts between limits is quite simple. You takes the value of uv as usual between limits and then set the limits of ∫v du/dx dx to the limits of the original integral. To demonstrate this we will integrate the above example between 0 and 1
so
∫10 2x e3x dx = [2xe3x/3]10 – ∫10 e3x2/3 dx
=2e3 – 0 – 2e3/9 + 2/9 = (16e3 + 2) / 9
Implicit Differentiation
Implicit differentiation involves differentiating an equation that hasn’t been arranged such that all of one variable, eg y, is on one side and all of the other variable, eg x, is on the other side. For example differentiating the equation with respect to x (ie find dy/dx):
3x2 +2y3 + 6 = 3x2y
TO do this you need to remember that the derivative of y with respect to x is dy/dx, hence when you differentiate a function such as
y=3x
you get
dy/dx = 3
Where the right has gone to the derivative of 3x and the left has gone to the derivative of y, dy/dx.
If you want to differentiate more complex terms involving x you can use the chain rule, since y can be written as a function of x.
so if f(x) = g(y) then
f'(x) = dy/dx g'(y)
(or a simple way of doing it is treat any y’s like x’s and stick a dy/dx on the end).
So for example y2 differentiated becomes 2ydy/dx
All the other rules like the product rule and quotient rule still apply.
So to finish lets consider our original equation
3x2 +2y3 + 6 = 3x2y
This becomes
6x + 6y2dy/dx = 6xy +3x2dy/dx
Which we can re-arrange to get
dy/dx = (6xy-6x)/(6y2-3x2)=(2xy-2x)/(2y2-1x2)
By David Woodford
First Order Differential Equations
First order differential equations are equations which include a first derivative ie) dy/dx if the equation is in terms of x and y.
Solving these equations involves finding a expression for one of the variables in terms of the other without including a derivative.
To do this usually a general solution is found, one which includes a constant from integration, and then using a given set of conditions (usually initial conditions) the particular solution can be found.
This is done by “splitting the variables” and then integrating the resulting equation. To do this you treat the derivative like a fraction and then multiply through by the bottom of that one derivative is on one side (eg dx) and the derivative is on the other side (eg dy), you then want all the x’s to be multiplied by the dx and all the y’s to multiplied by the dy such that there are no terms not being multiplied by either. You can then integrate both sides, the one by dx and the other by dy – remembering to add a constant to one side.
Then simply re arranging will give the general solution. If you need the particular solution substitute the given values into the equation to find out the value of the constant and then substitute this value for the constant into the general solution.
If all of that was a bit hard to follow here is s a worked example.
Example
Find the general solution to
dy/dx = 3x + 4
and the particular solution in the case y = 4 when x = 0 .
So we can rearrange to get
dy = (3x+4)dx
And then by integrating both sides we get
∫dy = ∫3x+4 dx
y = (3x+4)2/6 + c
Which is the general solution.
We can use boundary conditions, ie) y = 4 when x = 0 to find a particular solution
4 = (0+4)2/6 +c
c = 4-16/6 = 8/6 = 4/3
so the particular solution is
y = (3x+4)2/6 +4/3
Email Subscription
Comments