Differential Calculus 201-SN2-RE • CEGEP, Montreal

Revision sheet: complete function analysis (201-SN2-RE)

This sheet does not repeat the list of steps of a function analysis: it is in your notes and nobody loses marks reciting it. It deals with what really costs marks, namely conclusions drawn too quickly from a correct calculation, and the final sketch that is never compared with the table you have just written.

It is written for CEGEP students in the Science program (Sciences de la nature) taking Differential Calculus, 201-SN2-RE (formerly 201-NYA). The corrected exercise set on the same chapter then puts every reflex to the test.

Mark this sheet as read or add it to your favourites: a free account, no password, keeps your read sheets and favourites from one visit to the next, tells you which chapter to tackle next and lets you ask for the method or exercise you are missing. Create your space, an email is enough.

The thread of the chapter

A function analysis is not a list of calculations but an INVESTIGATION: every piece of information you find, the domain, an asymptote, the sign of f′f', the sign of f′′f'', must show up on the final sketch. A sketch that contradicts the table flags the error before the marker does.

This chapter is part of 201-SN2-RE, Differential Calculus

The essentials

The three asymptotes, and the condition for each

  • • VERTICAL at x=ax=a: a one-sided limit is infinite at aa. A zero denominator is a candidate, not a proof.
  • • HORIZONTAL: lim⁡x→±∞f(x)=L\lim_{x\to\pm\infty}f(x)=L, finite. There can be TWO of them, one on each side.
  • • OBLIQUE: only if the degree of the numerator exceeds that of the denominator by EXACTLY one. It is found by division.
  • • Horizontal and oblique exclude each other on the same side: a branch cannot have both.
  • • A curve can CROSS its horizontal or oblique asymptote; it never crosses a vertical one.
-4-3-2-11234567-6-4-2246810x = 1y = x + 1
x2+1x−1\frac{x^{2}+1}{x-1} has a vertical asymptote at x=1x=1 and an oblique asymptote y=x+1y=x+1, obtained by division; there is NO horizontal asymptote, since the degrees rule it out.

Comparing the degrees before computing a single limit saves five minutes and stops you from looking for an oblique asymptote that does not exist.

The eight steps, in the order that avoids going back and forth

  • • 1. Domain. 2. Intercepts. 3. Symmetry: f(−x)=f(x)f(-x)=f(x) or −f(x)-f(x), periodicity.
  • • 4. Limits at the ends of the domain and at infinity, hence the asymptotes.
  • • 5. f′f', critical numbers, SIGN chart of f′f', hence increasing and decreasing behaviour and extrema.
  • • 6. f′′f'', zeros, sign chart of f′′f'', hence concavity and inflection points.
  • • 7. Variation table gathering everything.
  • • 8. Sketch, THEN check the sketch against the table.

Step 3 always pays off: an even or odd function cuts the work in half, and spotting it takes ten seconds.

What each derivative decides, and what it does not

  • • f′>0f'>0: increasing. f′<0f'<0: decreasing. f′=0f'=0: a candidate, nothing more.
  • • f′′>0f''>0: concave up, the curve turns upward. f′′<0f''<0: concave down.
  • • Extremum at cc: f′f' must CHANGE sign at cc.
  • • Inflection point at cc: f′′f'' must CHANGE sign at cc, and cc must be in the domain.
  • • Second derivative test: f′(c)=0f'(c)=0 and f′′(c)>0f''(c)>0 gives a local minimum, f′′(c)<0f''(c)<0 a maximum. If f′′(c)=0f''(c)=0, the test does NOT conclude.
-2.5-2-1.5-1-0.50.511.522.5-3-2-1123maxmininflectionconcave downconcave up
On x3−3xx^{3}-3x: f′f' changes sign at −1-1 (maximum) and at 11 (minimum); f′′=6xf''=6x changes sign at 00, where the curve goes from concave down (orange) to concave up (blue).

The mistakes that cost marks

These are the errors I correct most often in session. Each one costs marks on a paper, even when the reasoning behind it is right.

1. Looking for an oblique asymptote when the degrees rule it out

2 marks, and an invented line on the sketch

What not to write

“f(x)=x3+1x−1f(x)=\frac{x^{3}+1}{x-1}, I do the long division to find the oblique asymptote.”

What to write

“The degree of the numerator exceeds that of the denominator by TWO: there is no oblique asymptote, the curve grows like a parabola (a parabolic branch).”

-4-3-2-112345-10-551015202530parabolicbranch
x3+1x−1\frac{x^{3}+1}{x-1} behaves like x2x^{2} at infinity: the curve rises like a parabola, and no line goes along with it. A degree gap of two, so no oblique asymptote.

Why: The condition is a degree gap of exactly one. With two, the division gives a polynomial of degree two, which is not a line. Comparing the degrees BEFORE dividing is the reflex that settles the question in three seconds.

2. Concluding there is a vertical asymptote as soon as the denominator vanishes

2 marks, and a wrong sketch near the point

What not to write

“f(x)=x2−4x−2f(x)=\frac{x^{2}-4}{x-2} has a vertical asymptote at x=2x=2.”

What to write

“The factor cancels: f(x)=x+2f(x)=x+2 for x≠2x\neq 2, so there is a HOLE at (2,4)(2, 4), not an asymptote.”

-112345-11234567hole at (2, 4)
x2−4x−2\frac{x^{2}-4}{x-2} equals x+2x+2 everywhere except at 22: the curve is a line with a hole at (2,4)(2, 4), with no infinite branch. No vertical asymptote.

Why: A zero denominator is a candidate, never a proof. What decides is the LIMIT: infinite, it is an asymptote; finite, it is a hole. Not simplifying before studying the limit makes you invent an infinite branch where the curve is perfectly flat.

3. Taking f′(c)=0f'(c)=0 for an extremum

2 marks in the table, and a sketch that wrongly turns back

What not to write

“f′(0)=0f'(0)=0, so ff has an extremum at 00.”

What to write

“f′f' does not change sign at 00: there is no extremum.”

-2-1.5-1-0.50.511.52-3-2-1123no extremum
x3x^{3} has a horizontal tangent at 00, but keeps rising on both sides: f′=3x2f'=3x^{2} does not change sign, so there is no extremum.

Why: A critical number is a candidate. For f(x)=x3f(x)=x^{3}, f′(x)=3x2f'(x)=3x^{2} is positive on both sides of 00: the curve keeps rising. Only the SIGN chart of f′f' settles it, and you have to write it.

4. Believing that f′′(c)=0f''(c)=0 gives an inflection point

2 marks, and a wrong concavity across the whole table

What not to write

“f(x)=x4f(x)=x^{4} satisfies f′′(0)=0f''(0)=0, so 00 is an inflection point.”

What to write

“f′′(x)=12x2≥0f''(x)=12x^{2}\ge 0 does not change sign: the curve stays concave up and there is no inflection point.”

-3-2-112345-3-2-1123no inflectioninflection
Two second derivatives equal to zero, two opposite conclusions: x4x^{4} stays concave up on both sides of 00 and has no inflection point, while (x−3)3(x-3)^{3} switches from concave down to concave up at 33.

Why: This is the exact mirror of the previous pitfall, one level up. A zero of f′′f'' is a candidate; an inflection point requires a CHANGE of sign. The counterexample x4x^{4} is the one exams ask about, and it is worth remembering as is.

5. Placing an inflection point outside the domain

1 to 2 marks

What not to write

“f′′f'' changes sign at x=1x=1, so the curve has an inflection point at 11.”

What to write

“11 does not belong to the domain of ff: the concavity changes on either side of the asymptote, but there is NO inflection point.”

-4-3-2-11234567-6-4-2246810concave downconcave upx = 1 not in the domain
The concavity changes on either side of x=1x=1, but 11 is not in the domain: no point of the curve is there to be an inflection point.

Why: An inflection point is a POINT of the curve: it needs an xx-coordinate in the domain and a yy-coordinate. A change of concavity across a vertical asymptote is common and never produces an inflection point.

6. Applying the second derivative test when it does not conclude

the whole question on that critical number

What not to write

“f′(c)=0f'(c)=0 and f′′(c)=0f''(c)=0, so there is no extremum.”

What to write

“f′′(c)=0f''(c)=0: the test does not conclude. I go back to the FIRST derivative test, which always settles it.”

-2-1.5-1-0.50.511.52-0.50.511.522.53minimum
x4x^{4} has a genuine minimum at 00, even though f′(0)=f′′(0)=0f'(0)=f''(0)=0: the second derivative test is silent, the first derivative test (−- then ++) settles it.

Why: The second derivative test is a shortcut, not a complete method: it is inconclusive precisely in the borderline cases. x4x^{4} has a minimum at 00 with f′′(0)=0f''(0)=0, and x3x^{3} has nothing at 00 with the same f′′(0)=0f''(0)=0. The sign chart of f′f' tells them apart.

7. Forgetting to check that the sketch agrees with the table

from 2 marks to the whole question, depending on which of the two is wrong

What not to write

“The table says decreasing on (1,2.41)\left(1, 2.41\right), but my sketch goes up there. No big deal.”

What to write

“My sketch contradicts the table: one of the two is wrong, and I look for the error before handing in.”

12345624681012min at 2.41wrong sketch
The table says “decreasing on (1,2.41)(1, 2.41)”: the correct curve (green) goes down to the minimum. A sketch that rises from x=1x=1 (red) contradicts the table, and one of the two is wrong.

Why: The sketch is a free CHECK of the table, and the only one you have without a calculator. A contradiction spotted in time can be fixed; the same contradiction handed in to the marker costs twice, once on the table and once on the graph.

8. Ignoring symmetry and doing the work twice

no marks lost, but ten minutes of exam time

What not to write

“I study f(x)=x2x2+1f(x)=\frac{x^{2}}{x^{2}+1} on all of R\mathbb{R}, point by point.”

What to write

“f(−x)=f(x)f(-x)=f(x): the function is EVEN, so I study it on [0,+∞)\left[0, +\infty\right) and complete it by reflection in the y-axis.”

-5-4-3-2-112345-0.50.511.5studiedby symmetry
x2x2+1\frac{x^{2}}{x^{2}+1} is even: it is studied on [0,+∞)[0, +\infty) (solid line) and the left half is obtained by reflection in the yy-axis (dashed).

Why: An even or odd function cuts the analysis in half, and the long question of the exam is timed. Testing f(−x)f(-x) takes ten seconds and is done at step 3, before any derivative is computed.

Which method to choose

Which asymptote to look for, according to the degrees

For a rational function, compare the degree nn of the numerator with the degree dd of the denominator BEFORE any calculation.

  • If n<dn<d → horizontal asymptote y=0y=0

    Example: x+1x2+3→0\frac{x+1}{x^{2}+3}\to 0

  • If n=dn=d → horizontal asymptote y=anbdy=\frac{a_{n}}{b_{d}}, the ratio of the leading coefficients

    Example: 3x2−15x2+x→35\frac{3x^{2}-1}{5x^{2}+x}\to\frac{3}{5}

  • If n=d+1n=d+1 → OBLIQUE asymptote, obtained by dividing the numerator by the denominator

    Example: x2+1x−1=x+1+2x−1\frac{x^{2}+1}{x-1}=x+1+\frac{2}{x-1}, so y=x+1y=x+1

  • If n>d+1n>d+1 → no asymptote of this kind: a parabolic branch or a branch of higher degree

    Example: x3+1x−1\frac{x^{3}+1}{x-1} behaves like x2+x+1x^{2}+x+1

For a function with a radical or an exponential, comparing degrees does not apply: compute the two limits at infinity separately, because they can differ.

How to conclude about a critical number

You have solved f′(c)=0f'(c)=0. What follows decides what cc really is.

  • If f′f' changes from ++ to −- at cc → local MAXIMUM at cc

    Example: f′(x)=−2xf'(x)=-2x at c=0c=0

  • If f′f' changes from −- to ++ at cc → local MINIMUM at cc

    Example: f′(x)=2xf'(x)=2x at c=0c=0

  • If f′f' keeps the same sign on both sides → no extremum: it is a flat spot, often an inflection point with a horizontal tangent

    Example: f′(x)=3x2f'(x)=3x^{2} at c=0c=0 for f(x)=x3f(x)=x^{3}

  • If you prefer the shortcut and f′′(c)≠0f''(c)\neq 0 → f′′(c)>0f''(c)>0 gives a minimum, f′′(c)<0f''(c)<0 a maximum

    Example: f′′(0)=2>0f''(0)=2>0 for f(x)=x2f(x)=x^{2}

  • If f′′(c)=0f''(c)=0 → the second derivative test is INCONCLUSIVE: go back to the sign chart of f′f'

ABSOLUTE extrema on a closed interval are found among the critical numbers AND the two endpoints. On an open interval, the endpoints are not reached and another argument is needed.

How the answer is expected to be written

A marker ticks steps. Here they are in order, with the concluding sentence expected word for word.

A complete analysis, written up for the marker

When to use it: The long, heavily weighted question of the last 201-SN2-RE exam.

  1. 1 State the domain and the intercepts, in one line each.
  2. 2 Test for parity, and SAY so even when the answer is no: “f(−x)≠±f(x)f(-x)\neq\pm f(x), no symmetry.”
  3. 3 Give the limits at the ends of the domain and at infinity, then state each asymptote with its equation.
  4. 4 Write f′f' SIMPLIFIED and factored, give the critical numbers, then the sign chart.
  5. 5 Write f′′f'' factored, give its zeros, then the sign chart and the inflection points with BOTH coordinates.
  6. 6 Sketch by placing the asymptotes first as dashed lines, then the key points, then the curve.

Concluding sentence

The curve has the vertical asymptote x=1x=1 and the oblique asymptote y=x+1y=x+1; it has a local maximum at (1−2,−0.83)\left(1-\sqrt{2}, -0.83\right) and a local minimum at (1+2,4.83)\left(1+\sqrt{2}, 4.83\right).

The trap: Giving an extremum by its x-coordinate alone. An extremum is a POINT: it needs both coordinates, and the marking scheme counts the y-coordinate separately.

Marking: Typically 1 mark per asymptote, 2 marks for the sign chart of f′f', 2 marks for that of f′′f'', 3 marks for a consistent sketch.

Check before you hand in

Five minutes of checking recover more marks than one more problem started in a hurry.

The typical problem, taken apart

Complete analysis of a function with an oblique asymptote

Analyse f(x)=x2+1x−1f(x)=\dfrac{x^{2}+1}{x-1}: domain, asymptotes, increasing and decreasing behaviour, concavity, then sketch.

Step 1

Domain: x−1≠0x-1\neq 0, so dom⁡ f=R∖{1}\operatorname{dom}\,f=\mathbb{R}\setminus\{1\}. The numerator x2+1x^{2}+1 never vanishes, so the curve does not cross the xx-axis; it crosses the yy-axis at f(0)=−1f(0)=-1.

Why

Two lines that earn two marks and set the frame. Noticing that the numerator never vanishes saves you from looking for roots that do not exist.

Step 2

Parity: f(−x)=x2+1−x−1≠±f(x)f(-x)=\frac{x^{2}+1}{-x-1}\neq\pm f(x), no symmetry. Degrees: 22 in the numerator, 11 in the denominator, a gap of ONE, so an oblique asymptote. Division: x2+1x−1=x+1+2x−1\frac{x^{2}+1}{x-1}=x+1+\frac{2}{x-1}.

Why

Comparing the degrees replaces two limit calculations. The division gives both the asymptote y=x+1y=x+1 and the remainder 2x−1\frac{2}{x-1}, which tells you on which SIDE the curve passes: above for x>1x>1, below for x<1x<1.

Step 3

Limits: lim⁡x→1−f(x)=−∞\lim_{x\to 1^{-}}f(x)=-\infty and lim⁡x→1+f(x)=+∞\lim_{x\to 1^{+}}f(x)=+\infty, because the numerator tends to 2>02>0 and the denominator to 00 while changing sign. Vertical asymptote x=1x=1.

Why

The two one-sided limits are asked for separately because they differ. A single limit written as ±∞\pm\infty is worth half the marks: the sign is read from that of the denominator.

Step 4

f′(x)=2x(x−1)−(x2+1)(x−1)2=x2−2x−1(x−1)2f'(x)=\frac{2x(x-1)-(x^{2}+1)}{(x-1)^{2}}=\frac{x^{2}-2x-1}{(x-1)^{2}}. The denominator is always positive, so the SIGN of f′f' is that of the quadratic, whose roots are 1±21\pm\sqrt{2}, that is −0.414-0.414 and 2.4142.414.

Why

Reducing the sign study to that of the numerator is the move that saves the most time on a rational function: a square in the denominator never changes the sign.

Step 5

Table: f′>0f'>0 on (−∞,1−2)\left(-\infty, 1-\sqrt{2}\right), f′<0f'<0 on (1−2,1)\left(1-\sqrt{2}, 1\right) and on (1,1+2)\left(1, 1+\sqrt{2}\right), f′>0f'>0 after that. Local maximum at (1−2,−0.83)\left(1-\sqrt{2}, -0.83\right), local minimum at (1+2,4.83)\left(1+\sqrt{2}, 4.83\right).

Why

The local maximum is LOWER than the local minimum, which is impossible on a single interval but perfectly normal on either side of a vertical asymptote. Pointing it out proves you have read your own table.

Step 6

f′′(x)=4(x−1)3f''(x)=\frac{4}{(x-1)^{3}}: negative for x<1x<1, positive for x>1x>1. The curve is therefore concave down to the left of the asymptote and concave up to the right. NO inflection point, since 11 does not belong to the domain.

-4-3-2-11234567-6-4-2246810

Why

This is the pitfall of step 6: the concavity really does change, but not at a point of the curve. Writing explicitly “no inflection point since 1∉dom⁡ f1\notin\operatorname{dom}\,f” earns the mark that most papers lose.

The conclusion, written out

ff is defined on R∖{1}\mathbb{R}\setminus\{1\}, has the vertical asymptote x=1x=1 and the oblique asymptote y=x+1y=x+1, has a local maximum at (1−2,−0.83)\left(1-\sqrt{2}, -0.83\right) and a local minimum at (1+2,4.83)\left(1+\sqrt{2}, 4.83\right), is concave down on (−∞,1)\left(-\infty, 1\right) and concave up on (1,+∞)\left(1, +\infty\right), with no inflection point at all.

The classic mistake on this problem: Announcing an inflection point at x=1x=1 because f′′f'' changes sign there. An inflection point belongs to the curve: it needs an xx-coordinate IN the domain, and 11 is not in it.

Learn by heart

  • • Vertical asymptote: the LIMIT decides, not the zero denominator. A finite limit means a hole.
  • • Degrees: n<dn<d gives y=0y=0; n=dn=d gives the ratio of the leading coefficients; n=d+1n=d+1 gives an oblique asymptote; beyond that, none.
  • • Two horizontal asymptotes are possible, one on each side, especially with a radical.
  • • Extremum: f′f' must CHANGE sign. Inflection point: f′′f'' must CHANGE sign, AND the point must be in the domain.
  • • The second derivative test is inconclusive when f′′(c)=0f''(c)=0: go back to the sign chart of f′f'.
  • • An extremum is a POINT: x-coordinate AND y-coordinate.
  • • For a rational function, the sign of f′f' is that of its NUMERATOR, since the square in the denominator is positive.
  • • Mandatory last step: check the sketch against the table.

Frequently asked questions

How do you know whether a function has an oblique asymptote?

For a rational function, the degree of the numerator must exceed that of the denominator by exactly one. You then carry out the long division, and the polynomial part is the equation of the line. If the degree gap is two or more, there is no oblique asymptote but a branch that grows like a parabola.

Does a denominator equal to zero always give a vertical asymptote?

No. The limit decides. If the factor cancels with the numerator, the limit is finite and the curve simply has a hole, not an infinite branch. You must therefore factor and simplify before studying the limits, or you will invent an asymptote that does not exist.

Why does a zero derivative not always give an extremum?

Because an extremum requires the function to switch between increasing and decreasing, so the derivative must change sign. The cube of x has a zero derivative at zero, but that derivative stays positive on both sides: the curve keeps rising and forms an inflection point with a horizontal tangent, not an extremum.

When does the second derivative test not work?

When the second derivative is zero at the critical number. The test becomes inconclusive exactly in the borderline cases, since the fourth power has a minimum and the cube has nothing, with the same zero second derivative. You must then go back to the sign chart of the first derivative, which always settles it.

Can there be an inflection point on a vertical asymptote?

No. An inflection point is a point of the curve, so its x-coordinate must belong to the domain. The concavity often changes on either side of a vertical asymptote, but no point of the curve lies there, so there is no inflection point. This is a very common loss of marks at the end of an analysis.

Practise it

Corrected exercises: Function analysis and curve sketching, 201-SN2-RE

A method is proved on a paper, not on a sheet. The set for the same chapter takes each of these traps into a problem, with the solution written out step by step.

  • 17 corrected exercises
  • 170 points
  • 225 minutes
Do the exercises
Something missing from this sheet? A method, a trap, an exercise to practise it, a mistake you spotted: tell me, I read every request.

Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space. Rather not create an account? Write to me directly.

What is it about?
I read every request myself, nobody else sees it. No need to write your name or your school.
When your request is dealt with, you hear about it by email and in your space.

By sending, you agree that I read your request to answer it. It is kept with your account, erased with it, and never published: privacy policy.

Previous sheet L'Hôpital's rule and indeterminate forms Next sheet Applied optimization

© Ahmed Squalli Houssaini. Revision sheet published at www.letuteurscientifique.ca/en/fiches/cegep-calc1-curve-sketching. Free for personal and classroom use; republishing it elsewhere requires written permission (legal notice).

See also

Looking for a 201-SN2-RE tutor in Montreal?

Get in touch for a first session. We go back over the moves that cost marks on the differential calculus exam, then we test them on exercises at the level of real CEGEP tests.

Site by Studio Squalli