Back to homeMathematics · AP Calculus AB · Change subject
Start for free
AP Calc AB · Mathematics
Derivatives · Graphical Representation of Functions

Curve Sketching: Analyzing a Function

Mateo's AP Calculus teacher hands out an index card with five facts: x-intercepts at $-2$ and $2$, a relative minimum at $(0, -4)$, decreasing on the left of $0$, increasing on the right of $0$, and $f(x)\to+\infty$ at both ends. "Draw $f$," she says. Then she flips the card: "Now I give you only the graph of $f'$. Tell me everything about $f$." Both tasks are the same skill: translating between facts and a picture. This page gives you the full checklist and trains it on rational, exponential, logarithmic and piecewise functions.

The Complete Analysis, Step by Step

You already know each tool separately: domain, asymptotes, the first derivative, the second derivative. A curve-sketching problem asks for all of them together, in a fixed order, and sometimes with parameters or a piecewise definition.

The order is not arbitrary. Each step feeds the next: a vertical asymptote, for example, also cuts the number line into pieces for the sign charts of $f'$ and $f''$.

Trigonometric functions add one more item to step 2: the period.

For example, $y=\cos(4x)$ has period $\dfrac{2\pi}{4}=\dfrac{\pi}{2}$, and it is even because $\cos(-4x)=\cos(4x)$.

Practice★☆☆Not started
Given the rational function $f(x) = \frac{x^2 + 3}{x^2 - 9}$, carry out a preliminary study of its basic elements by determining: 1. The domain of definition of the…

Given the rational function $f(x) = \frac{x^2 + 3}{x^2 - 9}$, carry out a preliminary study of its basic elements by determining:

  1. The domain of definition of the function.

  2. The points of intersection with the coordinate axes.

  3. The existence of symmetries (state whether it is even, odd or has no symmetry).

y=1 x=−3 x=3 X Y f(x) = (x² + 3)/(x² - 9) (0, −1/3) f(−2) f(2)
Solve
Practice★☆☆Not started
Determine the period of the trigonometric function $f(x) = \sin(2x)$. Then, state with reasons whether the function has any kind of symmetry with respect to the origin…

Determine the period of the trigonometric function $f(x) = \sin(2x)$. Then, state with reasons whether the function has any kind of symmetry with respect to the origin or the y-axis.

Solve

Rational Functions: All the Asymptotes at Once

Rational functions have the most pieces to coordinate. Each zero of the denominator that does not cancel gives a vertical asymptote, and the degrees tell you what happens at the ends.

When the numerator has degree exactly one more than the denominator, polynomial division gives the slant asymptote and its position in one move.

Practice★☆☆Not started
Given the function $f(x) = \frac{2x}{x-1}$, determine: 1. The equations of its vertical and horizontal asymptotes. 2. The position of the curve with respect to these…

Given the function $f(x) = \frac{2x}{x-1}$, determine:

  1. The equations of its vertical and horizontal asymptotes.

  2. The position of the curve with respect to these asymptotes by studying the one-sided limits and the limits at infinity.

x y 1 2 f(x)= 2x x-1 x = ? y = ? ? ? ? ? ? ? ? ?
Solve
Practice★☆☆Not started
Given the function $f(x) = \frac{x^2 - 1}{x}$, carry out a study of its infinite branches: 1. Check if it has vertical asymptotes. 2. Check if it has horizontal…

Given the function $f(x) = \frac{x^2 - 1}{x}$, carry out a study of its infinite branches:

  1. Check if it has vertical asymptotes.

  2. Check if it has horizontal asymptotes.

  3. If it does not have a horizontal asymptote, find out if it has an oblique asymptote and find its equation.

x y 0 1 −1 1 −1 f(x) = (x² - 1) / x y = x x = 0
Solve
Practice★★☆Not started
Determine all the asymptotes (vertical, horizontal and oblique) of the function $f(x) = \frac{2x^2 + 1}{x - 3}$. If an oblique asymptote exists, calculate its equation…

Determine all the asymptotes (vertical, horizontal and oblique) of the function $f(x) = \frac{2x^2 + 1}{x - 3}$. If an oblique asymptote exists, calculate its equation in the form $y = mx + n$ and study the position of the curve with respect to this asymptote when $x \to \infty$.

Solve

Asymptotes in Real-World Models

Many problems wrap a function in a story (temperature, viewers, medicine in the bloodstream) and ask what the asymptote means in the story. The horizontal asymptote is the long-term value.

Sometimes you also need an extremum on $t\ge 0$ together with the long-term limit.

Practice★☆☆Not started
A team of engineers is monitoring the temperature of an electronic component. The evolution of the temperature $T$ (in degrees Fahrenheit) with respect to time $t$ (in…

A team of engineers is monitoring the temperature of an electronic component. The evolution of the temperature $T$ (in degrees Fahrenheit) with respect to time $t$ (in minutes) is given by the function:

$T(t) = \frac{40t + 100}{t + 2}$ with $t \geq 0$

You are asked to:

  1. Find the initial temperature of the component ($t=0$).

  2. Determine the horizontal asymptote of the function and interpret its meaning in the context of the problem (long-term temperature).

Time t (min) Temperature T (°F) 0 5 10 15 20 10 20 30 40 50 60 T = 40 T(t) T(0) = 50 Long-term limit
Solve
Practice★★☆Not started
A team of engineers monitors the charge level of a new lithium battery using the function $B(t) = \frac{100t}{t^2 + 9} + 10$, where $B$ is the percentage of charge and…

A team of engineers monitors the charge level of a new lithium battery using the function $B(t) = \frac{100t}{t^2 + 9} + 10$, where $B$ is the percentage of charge and $t$ is the time in hours ($t \ge 0$).

  1. a) At what instant does the battery reach its maximum charge level?
  2. b) What value does the battery charge tend to if it is left connected indefinitely? Justify the answer by calculating limits.
Limit: B = 10% B(t) Maximum (3, 26.67) Time t (h) Charge B (%) 5 10 15 20 3 10 20 30 0
Solve

Increasing, Decreasing, and Relative Extrema

The sign of $f'$ tells you where $f$ rises and falls.

With rational functions, put the points outside the domain on the number line too.

Practice★☆☆Not started
Study the monotonicity (increasing and decreasing intervals) and calculate the relative extrema (maxima and minima) of the following polynomial function:…

Study the monotonicity (increasing and decreasing intervals) and calculate the relative extrema (maxima and minima) of the following polynomial function:

$f(x) = x^3 - 3x + 2$

Solve
Practice★★☆Not started
Carry out a complete study of the monotonicity and relative extrema of the rational function $f(x) = \frac{x^2 - 4x + 4}{x - 1}$. Determine precisely the intervals of…

Carry out a complete study of the monotonicity and relative extrema of the rational function $f(x) = \frac{x^2 - 4x + 4}{x - 1}$. Determine precisely the intervals of increase and decrease, as well as the coordinates of its maxima and minima if it has any.

Solve

Concavity and Points of Inflection

The second derivative describes how the graph bends.

Some problems say convex for $\cup$ and concave for $\cap$ (and a few use the words the other way around), so always go by the shape $\cup$ or $\cap$ and by the sign of $f''$.

Two curves: a bowl that is concave up where the tangent slopes increase, and an arch that is concave down where the tangent slopes decrease. concave up (∪) f″ > 0, slopes increase concave down (∩) f″ < 0, slopes decrease
Practice★☆☆Not started
Analyze the curvature of the function $f(x) = x^4 - 6x^2 + 5$. To do this: 1. Find the second derivative $f''(x)$. 2. Determine the intervals of concavity ($\cup$) and…

Analyze the curvature of the function $f(x) = x^4 - 6x^2 + 5$. To do this:

  1. Find the second derivative $f''(x)$.

  2. Determine the intervals of concavity ($\cup$) and convexity ($\cap$).

  3. Find the x-coordinates of the points of inflection.

Solve
Practice★★☆Not started
Consider the polynomial function $f(x) = \frac{1}{4}x^4 - 2x^2 + 3$. Find the intervals of concavity and convexity, as well as the exact coordinates of its points of…

Consider the polynomial function $f(x) = \frac{1}{4}x^4 - 2x^2 + 3$. Find the intervals of concavity and convexity, as well as the exact coordinates of its points of inflection. Use the symbol $\cup$ to denote the intervals where the function is convex (upward curvature) and $\cap$ for the intervals where it is concave (downward curvature).

−3 −2 2 3 −1 1 2 3 4 −2/√3 2/√3 7/9 P.I. P.I. ∪ Convex ∩ Concave ∪ Convex
Solve

Sketching a Graph from Given Information

AP and SAT-style problems often work backward: they list properties and ask for a sketch that has all of them. Many correct answers exist, but every condition must hold.

Sketch of a cubic-like curve with a relative maximum at (0, 3), an inflection point at (1, 1) and a relative minimum at (2, negative 1). max (0, 3) (1, 1) min (2, −1) x y
Practice★☆☆Not started
The following information is known about a function $f(x)$ which is continuous over all $\mathbb{R}$: It intersects the $X$-axis at $x = -2$ and $x = 2$. It has a…

The following information is known about a function $f(x)$ which is continuous over all $\mathbb{R}$:

  • It intersects the $X$-axis at $x = -2$ and $x = 2$.

  • It has a relative minimum at $(0, -4)$.

  • It is decreasing on $(-\infty, 0)$ and increasing on $(0, +\infty)$.

  • $\lim_{x \to \infty} f(x) = +\infty$ and $\lim_{x \to -\infty} f(x) = +\infty$.

Draw a sketch of the graph that satisfies all these conditions.

X Y O +∞ +∞ (−2, 0) (2, 0) (0, −4) f(x)
Solve
Practice★★☆Not started
Draw a sketch of the graph of a continuous function $f(x)$ that simultaneously satisfies the following conditions obtained from its analytical study: Domain:…

Draw a sketch of the graph of a continuous function $f(x)$ that simultaneously satisfies the following conditions obtained from its analytical study:

  • Domain: $\mathbb{R} - \{0\}$

  • Intersections with the axes: $(2, 0)$ and $(-2, 0)$.

  • Vertical asymptote at $x = 0$, with $\lim_{x \to 0^-} f(x) = -\infty$ and $\lim_{x \to 0^+} f(x) = +\infty$.

  • Horizontal asymptote $y = 1$ when $x \to \infty$ and when $x \to -\infty$.

  • $f'(x) < 0$ over its entire domain.

Solve

Reading the Graph of $f'$

Often you are given only the graph of the derivative $f'$ and must describe $f$. The key is to keep two things apart: the sign of $f'$ (above or below the x-axis) and the slope of $f'$ (rising or falling).

Graph of the derivative f prime, an upward parabola with vertex at (0, negative 1) crossing the x-axis at negative 1 and 1. −1 1 f′ x minimum of f′ at x = 0
Practice★★☆Not started
Given the graph of the derivative function $f'(x)$ shown below (a line passing through the points $(-2, 0)$ and $(0, 4)$), state with reasoning: a) The intervals of…

Given the graph of the derivative function $f'(x)$ shown below (a line passing through the points $(-2, 0)$ and $(0, 4)$), state with reasoning:

  1. a) The intervals of increase and decrease of the original function $f(x)$.
  2. b) The abscissa of the relative extrema of $f(x)$ and their type (maximum or minimum).
  3. c) The interval of concavity or convexity of $f(x)$.
- + x y 0 −2 4 (−2, 0) (0, 4) f'(x)
Solve
Practice★★★Not started
The following graph corresponds to the derivative function $f'(x)$ of a continuous function $f(x)$ defined over all $\mathbb{R}$. From the visual information provided:…

The following graph corresponds to the derivative function $f'(x)$ of a continuous function $f(x)$ defined over all $\mathbb{R}$. From the visual information provided:

  1. State the intervals of increase and decrease of the original function $f(x)$.

  2. Determine the abscissae of the relative extrema of $f(x)$, classifying them as maxima or minima.

  3. Study the curvature of $f(x)$ and locate its points of inflection.

  4. If it is known that $f(0) = 1$, sketch the graph of the original function $f(x)$, justifying the shape obtained.

−1 1 2 1 2 −1 −2 X Y f'(x) ? ? ? f'>0 ? f'<0 ? f'>0 ?
Solve

Piecewise Functions and Absolute Values

Where two pieces meet you must ask two questions: is the function continuous, and is it differentiable?

Two graphs: a V-shaped graph with a corner where the slopes differ, and a smooth U-shaped graph where the slopes match. corner: slopes differ smooth: slopes match

Absolute values are piecewise functions in disguise: rewrite them first.

Practice★★☆Not started
Given the piecewise function: $f(x) = \begin{cases} x^2 + 2x & \text{if } x \le 0 \\ \frac{ax}{x+1} & \text{if } x > 0 \end{cases}$ a) Calculate the value of $a$ so that…

Given the piecewise function:

$f(x) = \begin{cases} x^2 + 2x & \text{if } x \le 0 \\ \frac{ax}{x+1} & \text{if } x > 0 \end{cases}$

  1. a) Calculate the value of $a$ so that the function is differentiable at $x = 0$.
  2. b) For the value of $a$ obtained, study whether the function has any horizontal asymptote when $x \to +\infty$.
Solve
Practice★★★Not started
Study the continuity and differentiability of the function $f(x) = x \cdot |x - 2|$. From this study: 1. Express the function as a piecewise function. 2. Calculate the…

Study the continuity and differentiability of the function $f(x) = x \cdot |x - 2|$. From this study:

  1. Express the function as a piecewise function.

  2. Calculate the intervals of increase and decrease.

  3. Determine the relative and absolute maxima and minima in the interval $[0, 4]$.

  4. Study the curvature and the points of inflection. Take special care with the point where the function changes its definition.

Solve
Practice★★★Not started
Let the piecewise function be: $f(x) = \begin{cases} \frac{x^2 - kx}{x-1} & \text{if } x < 0 \\ \ln(x^2 + 1) + ax + b & \text{if } x \ge 0 \end{cases}$ 1. Calculate the…

Let the piecewise function be:

$f(x) = \begin{cases} \frac{x^2 - kx}{x-1} & \text{if } x < 0 \\ \ln(x^2 + 1) + ax + b & \text{if } x \ge 0 \end{cases}$

  1. Calculate the values of $a$ and $b$ so that the function is differentiable at $x = 0$, knowing that in the first piece the parameter $k$ takes the value $1$.

  2. For the values found, study whether the function has any oblique asymptote when $x \to -\infty$. If so, find it.

  3. Does the function have any relative extremum in the interval $(0, +\infty)$? Justify your answer.

Solve

Finding Parameters from Conditions

When a function has unknown constants, each condition becomes one equation. Translate carefully.

Practice★★☆Not started
Consider the function $f(x) = \ln(x^2 + k)$, where $k$ is a real parameter. a) Determine the value of $k$ so that the function has a point of inflection at $x = 1$. b)…

Consider the function $f(x) = \ln(x^2 + k)$, where $k$ is a real parameter.

  1. a) Determine the value of $k$ so that the function has a point of inflection at $x = 1$.
  2. b) For this value of $k$, study the domain of the function and check if it has any type of symmetry (even or odd).
Solve
Practice★★★Not started
Consider the function $f(x) = \frac{ax^2 + bx}{x + c}$. Determine the values of the real parameters $a$, $b$ and $c$ knowing that the following conditions are…

Consider the function $f(x) = \frac{ax^2 + bx}{x + c}$. Determine the values of the real parameters $a$, $b$ and $c$ knowing that the following conditions are simultaneously met:

  1. The line $x = 2$ is a vertical asymptote of the graph of the function.

  2. The function has a relative extremum at the point with abscissa $x = 4$.

  3. The tangent line to the graph at the point of intersection with the $OY$-axis is parallel to the line $y = -2x + 5$.

Once the parameters have been found, study the existence of an oblique asymptote and determine the relative position of the curve with respect to it.

Solve

Exponential, Logarithmic, and Rational Functions: Full Studies

For exponentials and logarithms you need a few limit facts.

For rational functions with several asymptotes, first rewrite $f$ as a constant plus a simpler fraction. This makes the asymptote, the position of the curve, and the derivatives easier.

Practice★★★Not started
Given the function $f(x) = (x^2 - 1) \cdot e^{-x}$, carry out an exhaustive study for its graphical representation by analyzing: 1. Domain and points of intersection…

Given the function $f(x) = (x^2 - 1) \cdot e^{-x}$, carry out an exhaustive study for its graphical representation by analyzing:

  1. Domain and points of intersection with the coordinate axes.

  2. Behavior at infinity (limits and asymptotes).

  3. Intervals of monotonicity and relative extrema (abscissae and ordinates).

  4. Points of inflection and convexity.

  5. Use all the previous information to draw the graph of the function, especially highlighting the horizontal asymptotic behavior.

Solve
Practice★★★Not started
Consider the function $f(x) = \frac{x^2 - 4}{x^2 - 1}$. 1. Analyze its symmetries and domain. 2. Determine all its asymptotes and the position of the graph with respect…

Consider the function $f(x) = \frac{x^2 - 4}{x^2 - 1}$.

  1. Analyze its symmetries and domain.

  2. Determine all its asymptotes and the position of the graph with respect to them.

  3. Find the points on the graph where the tangent line is horizontal.

  4. Prove that the function is concave over its entire domain except in the interval $(-1, 1)$, where it is convex.

  5. Sketch the graph of the function integrating all the previous elements.

Solve

Extrema on an Interval and Optimization

On a closed interval $[a,b]$ a continuous function always has an absolute maximum and minimum (Extreme Value Theorem). The Candidates Test finds them.

A rectangle in the first quadrant with one corner at the origin and the opposite corner on the curve y equals 12 minus x squared. y = 12 − x² height 12 − x² width x (x, 12 − x²)
Practice★★★Not started
A team of engineers is designing the profile of a jump ramp for a skateboarding competition. The lateral profile follows the curve of the function…

A team of engineers is designing the profile of a jump ramp for a skateboarding competition. The lateral profile follows the curve of the function $f(x) = \ln(x^2 - 2x + 2)$ in the interval $[0, 3]$.

  1. Find the point on the ramp that is at the lowest height with respect to the ground.

  2. Determine the points on the ramp where the gradient is a maximum and a minimum. What physical interpretation do these points have in the context of skateboarding?

  3. Study whether the function has any point of inflection in this interval and explain how the skater's sensation changes when passing through it.

Solve
Practice★★★Not started
A rectangle of maximum area is to be inscribed in the region of the first quadrant bounded by the $OX$-axis, the $OY$-axis and the graph of the function…

A rectangle of maximum area is to be inscribed in the region of the first quadrant bounded by the $OX$-axis, the $OY$-axis and the graph of the function $f(x) = 4e^{-0.5x}$.

  1. Express the area of the rectangle as a function of the abscissa $x$ of one of its vertices located on the $OX$-axis.

  2. Calculate the dimensions of this rectangle so that its area is a maximum.

  3. Draw a sketch of the situation using the following visual scheme.

X Y O f(x) = 4e⁻⁰·⁵ˣ Maximum area P(x, f(x)) x f(x)
Solve

Summary

Back to Mateo's index card: each fact maps to a feature of the graph (intercepts, an extremum, sign of $f'$, end behavior), and a sketch is correct only when every fact checks out. The same translation, read in the other direction, is how you get information about $f$ from the graph of $f'$.

See all the exercises in this section