URL http://www.mast.queensu.ca/~helena/math006/quiz.html

Math 006 - Quizzes


The mid-term exam will be closely based on the weekly quizzes.

I am going to put up a list of weekly sample quizzes, and worked solutions on this page. You can also look here before the day of the quiz, to check you've got the right way to do the question.


First Quiz

Algebra Review

The first quiz was basic algebra, as in the first few pages of the text book.



Second Quiz

Calculation of derivative as a limit

For a brief example, see page for week 3.


Third Quiz

Finding equation for tangent at a point

Question:

Find the equation for the tangent to y=x3-x at x=2

Answer:

Sketch of what the question is about:

In the digaram, the axes are in black, the curve is in red, and the tangent is in blue.

The tangent is a straight line, so it's equation is something like:

y= mx + b
where m is the slope and b is the y intercept.

The derivative of the function at x=2 is the slope (this is the definition of derivative).

To find the slope, we could use the method of finding derivative by tables, or we can use formulars. Since the formulars are quicker, we'll do it like that.

We use "derivative of difference is difference of derivatives"

This means d/dx(x3-x) = d/dx(x3)-d/dx(x)

Next use "power rule", ie d/dx(xn=nxn-1, which means that d/dx(x3) = 3x2.

Also use the fact that the derivative of x is 1, (since it's a line, with slope 1),

putting these together, we get

d/dx(x3-x) = 3x2-1

So when x=2, the slope is 3*22 -1=3*4 -1 = 11

So the equation of the tangent is

y=11x + b

To find b, we substitue the values (x,y)=(2,23-2) = (2,6)

So

6 = 11*2 + b = 22 + b

so b = 16. So the equation for the tangent to the graph of y=x3-x at x=2 is

y = 11x - 16


Fourth Quiz

Find a value of x where the tangent to y=x2+3x+1 has slope 5

Answer

The derivative of y=x2+3x+1 is 2x + 3.

Where is the slope of the tangent 5? This will happen when the derivative is 5, ie, when 2x + 3 = 5. The solution is x=1.

Note, for this question, the above is the final answer. But sometimes in a quiz or on an exam, eg, the midterm, or on assignments, you are asked to sketch a graph to go with the answer, eg, sketch a graph of the tangent in this case. If you are asked to sketch a graph, please include the following:

Also, it it generally best to use a sharp pencil, (or if you use a pen, make sure you are careful not to make mistakes, and use a fine enough point that the diagram is clear) and a ruler for straight lines. Using something like quad ruled paper (graph paper) is also useful for getting a more acurate graph.

Also it is a good idea to include a table of some values of (x,f(x)) you plot, to show how you plotted it, or some other justification for what you are drawing.

Example:


Fifth Quiz

Question

(i)Find the critical values of the function 6x5 -10x3
(ii)What are the absolute maximum and minimum values of this function on the interval [0,2]?

Answer

(i) The critical values are places where the derivative of the function is either 0 or undefined. This function's derivative is always defined, it is given by

6*5 x4 - 10*3x2 =30 x4 - 30x2

Where is this equal to zero? We need to solve

30 x4 - 30x2=0

Which we do by factorixing:

30 x4 - 30x2= = 30 x2(x2-1)= 30 x2(x - 1)(x + 1)= 0

So the solutions are x = 0 or x = -1 or x = 1. This means the critical values of the function are -1,0,1.

(ii) To find the absolute maximum and minimum values, we need to find the values of the functions at the critical points and at the end points of the interval, and see where is it greatest and least, ie, complete the following table:

xf(x)
critical values -1 ?
0 ?
1 ?
end points 0 ?
2 ?
But actually, since -1 is not in the interval [0,2], and we only need to calculte the value of f(0) once, we just need to fill in the following table:

xf(x)
0 0
1 -4
2 112

So the absolute maximum value of this function on the interval [0,2] is 112, which is attained at x=2, and the absolute minimum value is -4, which is attained at x=1.


Sixth Quiz

(a) What is the horizontal asymptote of the function (2x+1)/(x+1) ?

(b) What is the vertical asymptote of the function (2x+1)/(x+1) ?

(c) State whether this function is concave up or down on the interval [2,infinity].

Answer

(a): The horizontal asymptote tells us what happens as x gets infinite (not all functions have a horizontal asymptote).

Well, what happens for (2x + 1)/(x + 1) as x gets very big?

Try some examples:

If x = 50, (2*50 + 1)/(50 + 1) = 1.9804
If x = 500, (2*500 + 1)/(500 + 1) = 1.9980
If x = 5000, (2*5000 + 1)/(5000 + 1) = 1.9998

Well, you can see these numbers are getting closer to 2, so:

y = 2 is the horizontal asymptote

We have to check about what happens when x gets large and negative too, but the same thing happens, eg:

If x = - 5000, (2*(- 5000) + 1)/(-5000 + 1) = 2.0002
and the limit is also 2, so we get the same asymptote.

Note, in limit notation, the above is written as

(b): The vertical asymptote tells us where the function might equal infinity. The only way (2x + 1)/(x + 1) can be infinite is if (x + 1) is zero. This means x = -1; so

x = -1 is the vertical asymptote

(Aside: strictly speaking, this means the function's not really defined if (x + 1)=0 ; that's why we go into all that stuff about limits, to describe what we mean by infinity; that is, infinity means "very very big, and the closer (x + 1) is to zero, the bigger ("just about anything" divided by (x + 1) is.)

Numerically, we have for example:

If x = -1.01 (which is less than -1), (2*(-1.01) + 1)/(-1.01 + 1)= -302.00
If x = -1.0001 (also less than -1), (2*(-1.01) + 1)/(-1.01 + 1)= -300002.00
If x = -0.99 (which is greater than -1), (2*(-1.01) + 1)/(-1.01 + 1)= 298.00
If x = -0.9999 (also greater than -1), (2*(-1.01) + 1)/(-1.01 + 1)= 29998.00

Note, in limit notation, the this is written as

This tells us that as x gets close to -1, but a bit bigger than 1, f(x) gets close to , and as x gets close to -1, but a bit less than 1,

Now, the answers to the question are given in the boxes above, but suppose you wanted to put this information on a graph - how would it look?

The lines just look like this:

You have to fill in the function in one of the following ways, roughly. Which might be the right way?

Note that as x gets big, the values of f(x) are always a bit less than 2, and for x big and negative, the values are bigger than 2. Also we saw what the limits were as x tends to -1 from above and below -1; so that means we can say that the shape of the function is something like this:

(c). We want to know about where the graph is concave up or down. (click here to see the definition of concave up and down if you forgot). Well, if our diagram is correct, then it shows that the function is concave down.

But we've not really got any justification that our function does not look like this:

(This example wiggles up and down, and alternates between concave and convex for a while before deciding to become concave down in the long run.)

The most sure way to check whether the function is concave up or down is to find the second derivative, as follows:

2x + 1
f(x) = --------
x + 1
********************************************************
(x+1)(2) - (2x + 1) 1
f'(x) = -------------- = ---------- = (x+1)-2
(x + 1)2 (x + 1)2
*********************************************************
-2
f''(x) = -2(x + 1)-3 = ---------
(x + 1)3

If x > -1, then (x+1) is positive, so so is (x+1)3, so so is 1/(x+1)3; but the second derivative has a -2; so this means that for x > -1, f''(x) is negative, so this means the function is concave down on the interval (-1, infinity), and so also on the interval [2,infinity).

The function is concave down on [2,infinity)


Seventh Quiz

Question: Find the intercepts, asymptotes, local max and min, of the function (x2 - 5)/(x -3), and use this to sketch the graph on the interval [-6,6].

This question asks you to calculate three things to help sketch the function, and then you use this information to sketch it.

Note, we have covered more aspects in curve sketching than just these three, but in an exam, or on a test, in this course, you will only be asked to calculate at most three things in drawing the graph. Actually, these three things in this case are enough to get a pretty good idea of what the graph looks like.

There are several things to calculate for this question. The things to make sure you state clearly are the things in the boxes below. There are several parts of this question:

(A). Intercepts:

y intercept: This is when x = 0:

So

f(0) = (02 - 5)/(0 - 3) = 5/3

The y intercept is at (0, 5/3)

x intercept: This is when y = 0: So, when does

(x2 - 5)/(x -3) = 0

To get this, you need

x2 - 5 = 0
x2 = 5
x = +51/2 or x = -51/2

The x intercepts are at (51/2,0) (-51/2,0)

Here's a picture on a graph to show where the intercepts are:

(B). Asymptotes:

Horizontal Asymptote: This is a horzontal line that the funtion should get close to for big values of x:

So to find where this line is, we have to see what f(x) looks like for large values of x.

f(x) = (x2 - 5)/(x - 3) = approximately = x2/x

This is because in comparison to 5 and 3, x is very big, so 5 and 3 make hardly any difference to the size of f(x) for large x, so the function is close to x. So this means there is no horizonal asymptote; as x gets bigger and bigger, the function gets bigger and bigger - or bigger and bigger but negative for negative x.

There is no horizontal asymptote

What we get is that the funtion gets closer to this red line for very large x. (This is covered in the section on slant asymptotes in the text book, which we will not cover in the course, so you don't have to find the equation of this line):

Vertical asymptotes: This means a vertical line that the function may get close to somewhere:

To find this, we have to know if the function is infinite anywhere, so can

f(x) = (x2 - 5)/(x - 3) = infinity ?

This can only happen if the bottom of the fraction is zero, ie, if x = 3. So this is the vertical asymptote

The vertical asymptote is the line x = 3

(C). Max and Min:

To find the maximum and minimum on the interval [-6,6], we need to find where f '(x) = 0. The derivative is found using the quotient rule:

f '(x) = ((x-3)*(2x) - (1)*(x2 - 5)) /(x - 3)2 = (2x2 - 6x - x2 + 5) /(x - 3)2

for this to be zero, we need the top of the fraction to be zero, ie

x2 - 6x + 5 = 0

If we factor this, we get

x2 - 6x + 5 = (x - 5)(x-1) = 0

So the critical values are at x = 5 and x = 1.

We can calculate a table for the values of f(x) at the critical values, and at the end points of the interval [-6,6]:

xf(x)
critical values 1 2
5 10
end points 6 10.33333
-6 -3.44444

Which of the critical values is maximum, and which is minimum? You can make certain these are local max and min by finding the second derivative, or by finding f(x) for x close to 5 and 1; so from the data we already have, we can be pretty sure that f(5) is a local minimum, and f(1) is a local maximum. To be sure, find f''(x) (actually, there are three ways to check whether it's a local max or min - as done in class - examine f(x) near x=1 and 5, examine f ' (x) near 1 and 5, or find f ''(1) and f ''(5)):

We already have

f '(x) = (x2 - 6x + 5) /(x - 3)2

So

f ''(x) = ((x - 3)(2x - 6) - (1)(x2 - 6x + 5)) /(x - 3)4

We have

f ''(1) = (((1 - 3)(2 - 6) - (1)(12 - 6*1 + 5)) /(1 - 3)4 = -1

and

f ''(5) = (((5 - 3)(2 - 6) - (1)(52 - 6*5 + 5)) /(5 - 3)4 = 1

So, since f ''(1) is negative, it must be a local maximum, and since f ''(5) is positive, it must be a local minimum.

The local maximum on the interval [6,-6] is 2, at x = 1, and the local minimum is 10 at x = 5.

(Note, that here I've given the Local max and min, not absolute max and min, which was what was done in quiz 5 above)

We can add all of this information to the graph:

Sketch of the graph

Finally, to complete the question, all we need to do is draw a line which goes through the points we've found above, it must get close to the vertical asymptote at x = 3, and it has a local maximum at x = 1, and a local minimum at x = 5.

The line we draw should look like this:


Eighth Quiz

Question: Find the derivative of the function

f(x) = sin(x2 + x + 1)

Use this to find the equation for the tangent to f(x) at x = 0

Answer: Remember, there are two steps for finding the equation of the tangent of f(x) at a point with x = A

Proceedure for finding the equation of a tangent
(1) Finding m : Find the derivative f '(A), which will be the slope, m
(2) Finding b : Substitute the value (x,y) = (A,f(A)) into the equation y = my + b, to find the y intercept, b

Finding m

This is exactly the same proceedure we've seen before.

So, find the derivative of f(x) = sin(x2 + x + 1)

We're going to use the chain rule, since this is a function of a function; compare it with (x2 + x + 1)3; there is an outside part, the sin(?) or the ?3, and the inside part, y = (x2 + x + 1).

The derivative of of sin(y) is cos(y)

The derivative of (x2 + x + 1) is (2x + 1)

Put these together, to get the derivative of the whole thing:

f '(x) = f '(y) * y'(x) = (cos((x2 + x + 1))*(2x + 1)

So at x=0, the slope of the tangent is

f '(0)=(cos((02 + 0 + 1))(2.0 + 1) = cos(1) = 0.54

Note, to find cos(1), make sure you set your calculator to radians mode. Always assume work with angles is in radians mode when you're doing calculus with trionometry

Finding b

When x = 0, f(0) = sin(1) = 0.84 So substituting in y = mx + b, we have

0.84 = 0.54 * 0 + b

So b = 0.84, and

The equation of the tangent at x = 0 is
y= 0.54 x + 0.84


Quiz 9

Question Find the critical values of the function

f(x) = e(x2 - 1) - 4x2

Answer

The derivative of this function is:

f'(x)=(2x - 0)e(x2-1) - 8x

=2x(e(x2-1) - 4)

When is this zero? Either x =0, or

(e(x2-1) - 4)=0
in the second case,

e(x2-1) = 4

This can be solved using logrithms:

ln(e(x2-1)) = ln(4)

(x2-1) = ln(4)

x2 = ln(4)+1

So

x = (ln(4)+1)1/2 = +/- 1.5448

So the critical values are x=0 and x=1.5448 and x=-1.5448.


Quiz 10

Question: The population of a certain city grows at 10% per year. The population in 1990 was 200 000. What will the popultion be in the year 2000? (Assume the rate of growth remains constant.)

Answer: For this question, we assume we have exponential growth, that is, we assume that the function giving the population of the city is of the form

f(t) = Cekt
Here C and k are some constants you have to find from the data given in the question. t is the time, and in the question it is measured in years.

We have two unknowns, C and k, and two pieces of information, which will allow us to find C and k:

At t=0, the population is 200 000,
At t=1, the population is 200 000 + 10% of 200 000 = 200000 + (10/100)*200000 = 200 000 + 20 000 = 220 000

This means:

f(0) = 200 000
f(1) = 220 000

We substitute both these peices of information into the equation for f(t):

f(0) = Cek*0 = 200 000
f(1) = Cek*1 = 220 000

We know that e0 = 1 (for any number a, a0=1). So

f(0) = C = 200 000
So now we know C, and we use that in the second equation to find k:

f(1) = 200000ek = 220000

The way to solve an equation of the above form is to take logs of both sides - use the natural log, ln = loge, which is the inverse to the exponential function ex; ie, ln(ey) = y, and eln(y) = y.

So we have:

ln(200000ek) = ln(220000)
Now use the rule ln(ab) = ln(a) + ln(b). (log turn multiplication into addition - that's why people used to use logrithm tables before they had calculators, since turning things into logs makes calulations much simpler.) So:
ln(200000) + ln(ek) = ln(220000)
ln(200000) + k = ln(220000)

So we have

k = ln(220000) - ln(200000)

Then you can use your calculator to find k:

k = ln(220000) - ln(200000) = .09531

So the equation for the population is

f(t) = 200000e.09531t

The question asks "what is the population at time t=10 ?" (10 years after the start time of measuring). We have:

f(10) = 200000e.09531*10 = 518748
So the final answer is

In the year 2000, the population will be approximately 518748

Note, we've finished the question now, but we could do some more algebra - and the following is worth while knowing:

We had

k = ln(220000) - ln(200000)

There is a rule for logarithms which says that ln(a) - ln(b) = ln(a/b), so we have:

k = ln(220000/200000) = ln(1.1)

Now we have

f(t) = 200000eln(1.1)t

Remember that ln and e are inverse, so eln(1.1) = 1.1, so we have

f(t) = 200000 (1.1)t

And we can use this to find f(10), and it will give the same answer as before. You might ask "where does 1.1 come from?" It is "1 + 10%". If the population had been growing at 17% per year, we would have "1 + 17%" appearing. 17% = 17/100, so 1+17% = 1.17, and the equation would be

P(1.17)t

where P is the starting population, eg, if we started at 500 people, growing at 17% per year, we get

500(1.17)t

You should notice that this is the same kind of formula as that for compound interest given in class.

And if you remember the formular you can skip the algebra - but if you don't like memorizing formulae, if you understand the algebra you can reconstruct the formular.



• Welcome Home • Origami •

Queen's Mathematics and Statistics
Queen's University