M2 Chapter4
M2 Chapter4
Parametric Differentiation
Note that some text books adopt the notation for differentiation with regards to time as (with the dot)
and referred to as the rate of change in . When we differentiate with respect to displacement , it is shown as
(with the dash) and referred to as the change in with regards to . In previous chapters, the dash
notation was used when differentiating functions containing only one independent variable irrespective of its type but
in this chapter we will indicate time derivatives with a dot and space derivatives with a dash as both types will be
present in the same question and using the dash notation for all can lead to confusion.
A locus is a curve or figure formed by all the points satisfying the cartesian equation. A parametric equation
expresses the cartesian coordinates as separate functions in terms of polar coordinates which
defines the location of each coordinate on the locus in terms of a chosen reference point (in this case the origin).
The parametric equations must satisfy the cartesian equation, that is, if you substitute (2) into the left hand side of
(1), you must find that the left hand side equates to . Complicated cartesian equations can be difficult to
differentiate which makes determining important information such as the location of critical coordinates or equations
of lines tangent to the cartesian equation challenging. In some cases, the associated parametric pair is easier to
differentiate and they can instead be used to determine equivalent expressions for the derivative. This Chapter will
derive alternative formulas for calculating using the parametric equations instead.
pic a)
• The ability to determine the instantaneous rate of change in ( slope of the line tangent to the curve of )
as
• The coordinate where reaches an optimum (critical value) can be determined by solving
• The type (maximum, minimum or horizontal inflection) of critical coordinate can be determined by the sign
of when it is evaluated at the critical coordinate.
Example
Calculating
Recall that represents the gradient/slope of the line tangent to the curve of . From the above, the critical
coordinate is located at which is when . The corresponding coordinates (substitute back into
) are at as expected. The two critical coordinates are therefore .
Calculating
The nature of the critical coordinates are determined by the second derivative test.
We see that will result in a negative which indicates a maximum critical coordinate and a
minimum critical coordinate as here is positive.
• Equation (2) and (3) can be expressed in terms of time as the dynamic (indicating movement) parametric
pair
• It will be shown in the next section how the time derivatives of the parametric pair can be used to
calculate equivalent expressions to those of . These versions are often simpler than attempting to
calculate using the cartesian equation.
We aim to derive equivalent formula for using the parametric pair and instead.
Step 1: Calculate the time derivatives for the given parametric pair and relate the expression to the
cartesian in (4).
Note that from and , and . Substituting this into the above
expression,
as before.
Therefore, the time expression is equivalent to the cartesian (in terms of ) expression
Using the parametric equivalent in determining the critical coordinate, we also evaluate where
Note that and therefore as this will result in division by zero. To determine if these
critical time values agree with the same cartesian critical coordinates calculated for the cartesian equation, we must
substitute back into the parametric pair:
You will find that the remaining (infinitely many) critical values will alternate between . This confirms
that there are only two critical coordinates and that they are located at .
or rather
Examples
i) Given the parametric pair , calculate an expression for . Can you formulate the
cartesian equivalent for the locus plotted by the parametric pair?
In determining the cartesian equivalent, at least one of the expressions in the parametric pair must be suited to
expressing in terms of either or . For this pair is suited where . If we substitute this into
ii) Calculate the slope/gradient of the line tangent to the cartesian curve at if only the parametric equations
are known where
We must calculate at . To calculate an equivalent value for to substitute into the above, use
:
iii) Calculate an expression for from the given parametric pair. Can you determine the cartesian equivalent for
this parametric pair?
(quotient rule)
iv) The x and y coordinates of a particle on a bicycle wheel change according to the parametric set
The curve traced is called a cycloid or 'Helen of Geometry' - the most beautiful curve in the world. Use the
parametric set to determine the location of the critical coordinates. Can you use this parametric pair to determine the
cartesian equivalent?
Using Matlab to draw this dynamic graph over the interval is shown below:
syms t
y(t)=1-cos(t);
x(t)=t-sin(t);
fplot(x,y,[0,4*pi])
This example is suited to expressing the cartesian equivalent as can be expressed in terms of :
This is a very complicated cartesian equation which is the reason the parametric set will be more useful when
determining .
In calculating the critical coordinates for the cycloid using the parametric pair over the time range
syms t
x(t)=t-sin(t); y(t)=1-cos(t);
dy=diff(y)
dy(t) =
dx=diff(x)
dx(t) =
dash=dy/dx % y'
dash(t) =
1. For each of the following graphs, calculate expressions for using the parametric pair and the Cartesian
equation.
1.1 1.2
1.1 Asteroid: This shape is formed by tracing a point on a circle with radius while it is rolling inside a circle with
radius .
parametric pair:
Cartesian equation:
1.2 Cardioid: This shape is formed by tracing a point on a circle (radius ) while it is rolling on the outside of another
circle with radius .
parametric pair:
Cartesian equation:
parametric pair:
Cartesian equation:
3. The path of a projectile propelled at an inclination radians to the horizontal axes with initial speed and from
an initial height h above the horizontal axes subjected to gravity is given by the parametric set
If a baseball is projected with initial values , describe the motion of the ball (critical
coordinates) until it hits the ground again ( ). Do your own calculations and compare your results to the Matlab
solutions below.
syms t
vo=90; h=1; theta=pi/4; g=9.8;
x(t)=vo*cos(theta)*t;
y(t)=-(1/2)*g*t^2+vo*sin(theta)*t+h;
t_ground=eval(poles(1/y)) % t values when y=0
t_ground = 2×1
13.0034
-0.0157
% the above shows that the ball will hit the ground after 13 seconds
% this defines the time range as being from t=0 till t=13
dx=diff(x)
dx(t) =
dy=diff(y)
dy(t) =
dash(t) =
Note that when using Matlab, the eval command is used to simplify an expression. The expression must not contain
unknowns (symbols) such at . It is not compulsory to use this command but every now and then Matlab presents a
solution in terms of a fraction instead of its associated decimal value. In these cases, precede the calculation with
the eval command.
If the expression does contain unknowns (symbols) and you would like to simplify it, use the command vpa. The
first entry into vpa is the expression you would like to simplify and the second entry the amount of significant digits it
should show in the output. In the above 3 significant digits are specified in the simplification of the dash expression:
You will notice that Matlab keeps more digits which is why your hand calculated solutions are slightly different.
DR ERASMUS MEM12A, CMA12A, EMA125C CHAPTER 4 10
4. Determine where the locus described by the parametric pair reaches an
optimum in the time range .
• Calculate
• A critical (optimum) is situated at values for which , that is, for which but
. You should find that a suitable zero in the range corresponds to
which solves as . Only the positive value is in our range. The critical
coordinate corresponding to is .
syms t
y(t)=sin(2*t)*cos(2*t);
x(t)=sin(2*t);
fplot(x,y,[0,pi/2]) % plot continuous (x,y) corresponding to all t in [0,pi/2]
hold on
plot(0.7,0.5,'*') % indicate the the maximum coordinate with a *
hold off
xlabel('x')
ylabel('y')
the values of the constants are . Describe the motion of the ball (critical coordinates)
syms t
vo=30; h=0; theta=pi/3; g=9.8;
x(t)=vo*cos(theta)*t;
y(t)=-(1/2)*g*t^2+vo*sin(theta)*t+h;
t_ground=eval(poles(1/y)) % t values when y=0
t_ground = 5.3022 and 0
% the above shows that the ball will hit the ground after 5.3022 seconds
% this defines the time range as being from t=0 till t=5.3022
dx=diff(x)
dx(t) = 15
dy=diff(y)
dy(t) =
Continuing with the above example, use the first derivative and relate the expression
Start by first calculating the numerator . If further simplification of is possible, it is advised you do
as before.
To confirm that the critical time values respectively represent a maximum and minimum critical
maximum.
a minimum.
or rather
Examples
The numerator of the second derivative is and the denominator is which results in the
expression
Use the parametric set to determine if the critical coordinates determined in the previous subsection's example set
represent maximums or minimums.
syms t
x(t)=t-sin(t);
y(t)=1-cos(t);
dy=diff(y)
dx=diff(x)
dx(t) =
dash=dy/dx % y'
dash(t) =
tval=poles(1/dash,0,4*pi) % y'=0
tval =
dash2(t) =
maxmin =
Note that the poles command requires a fraction as its argument. This command calculates the zeros of the
denominator which is why we insert as the denominator of the fraction 1/y'. Note also that you can specify the
range in which this command must calculate the zeros, in this case, between 0 and pi/4.
Determine the nature of the optimums calculated in Paced Exercise (4A) for the locus described by the parametric
pair
.
• We require to determine if this critical coordinate is a maximum or minimum. The numerator in the
formula for is the time derivative of . First simplify the expression (before you differentiate) by
substituting . This should bring you to the alternative representation
moving along the curve can be represented by the displacement vector (assuming
).
The first derivative of can be related to but the second derivative of can't be related to . The derivatives
of the vector equation are interpreted differently as discussed below.
Step 1: The time derivative of the vector is defined as the velocity vector where
The velocity vector is shown in pic b). It is representable by a line tangent to the displacement curve with
gradient/slope which is . Recall that velocity is defined as the instantaneous gradient
These are the components of the resultant acceleration experienced by the particle while moving around the rim of
the circle. It does not indicate if the critical coordinates are maximums and minimums as was the case for in the
cartesian expression. The acceleration vector in this case points towards the origin as can be seen in pic c) below.
pic b) pic c)
The x and y coordinates of a particle on a bicycle wheel change according to the parametric set (cycloid)
Express the cycloid as a vector and calculate the displacement, velocity and acceleration vectors at
Displacement
Velocity
Acceleration
Calculate expressions for the displacement, velocity and acceleration vectors at time seconds if the
parametric equations are given by:
Displacement
Velocity
Acceleration
syms t
x(t)=t^2 - t^3; y(t)=5*t^2-t^3;
fplot(x,y,[0,4]) % plot continuous (x,y) corresponding to all t in [0,4]
hold on
plot(-4,12,'*') % (x,y) corresponding to t=2
hold off
xlabel('x')
ylabel('y')