Solved Exercises on Graphing Functions Using Derivatives

Master graphing functions using derivatives: analyzing critical points, extrema, concavity, and inflection points to create accurate function graphs.

Graphing Fundamentals & Exercises 1-3
\(f'(x) \text{ and } f''(x) \Rightarrow \text{ Increasing/Decreasing, Concavity, Extrema}\)
Derivative Analysis Principle
Definition:

Graphing Using Derivatives: A systematic approach to sketching function graphs by analyzing the first and second derivatives to determine critical points, intervals of increase/decrease, concavity, and inflection points.

Graphing Steps Using Derivatives:
  1. Domain: Determine the domain of the function
  2. First derivative: Find \(f'(x)\) and critical points
  3. Intervals of increase/decrease: Analyze sign of \(f'(x)\)
  4. Extrema: Classify critical points using first or second derivative test
  5. Second derivative: Find \(f''(x)\) and possible inflection points
  6. Concavity: Analyze sign of \(f''(x)\)
  7. Inflection points: Identify where concavity changes
  8. Sketch: Combine all information to create the graph
Tip 1: Always factor derivatives completely to identify all critical points.
Tip 2: Create tables to organize your analysis of increasing/decreasing and concavity.
1 Polynomial Graphing
Exercise 1
Sketch the graph of \(f(x) = x^3 - 3x^2 - 9x + 5\) using derivatives.
Problem Setup:

Function: \(f(x) = x^3 - 3x^2 - 9x + 5\)

Domain: All real numbers \((-\infty, \infty)\)

Graphing Analysis Process:

Use first and second derivatives to determine function behavior and sketch the graph.

Function
\(f(x) = x^3 - 3x^2 - 9x + 5\)
First Derivative
\(f'(x) = 3x^2 - 6x - 9\)
Second Derivative
\(f''(x) = 6x - 6\)
Step 1: Find the first derivative

\(f'(x) = 3x^2 - 6x - 9\)

Step 2: Find critical points

\(3x^2 - 6x - 9 = 0\)

\(3(x^2 - 2x - 3) = 0\)

\(3(x - 3)(x + 1) = 0\)

So \(x = -1\) and \(x = 3\)

Step 3: Analyze increasing/decreasing intervals

Test intervals: \((-\infty, -1)\), \((-1, 3)\), \((3, \infty)\)

\(f'(-2) = 3(4) - 6(-2) - 9 = 15 > 0\) → Increasing

\(f'(0) = 3(0) - 6(0) - 9 = -9 < 0\) → Decreasing

\(f'(4) = 3(16) - 6(4) - 9 = 15 > 0\) → Increasing

Step 4: Find the second derivative

\(f''(x) = 6x - 6\)

Step 5: Analyze concavity

\(f''(x) = 6x - 6 = 0\) when \(x = 1\)

For \(x < 1\): \(f''(x) < 0\) → Concave down

For \(x > 1\): \(f''(x) > 0\) → Concave up

Step 6: Identify extrema and inflection points

At \(x = -1\): Increasing to decreasing → Local maximum

At \(x = 3\): Decreasing to increasing → Local minimum

At \(x = 1\): Concavity changes → Inflection point

Step 7: Calculate function values

\(f(-1) = (-1)^3 - 3(-1)^2 - 9(-1) + 5 = -1 - 3 + 9 + 5 = 10\)

\(f(3) = (3)^3 - 3(3)^2 - 9(3) + 5 = 27 - 27 - 27 + 5 = -22\)

\(f(1) = (1)^3 - 3(1)^2 - 9(1) + 5 = 1 - 3 - 9 + 5 = -6\)

Local Max: (-1, 10), Local Min: (3, -22), IP: (1, -6)
Graph Features:

Increasing on \((-\infty, -1) \cup (3, \infty)\), decreasing on \((-1, 3)\)

Concave down on \((-\infty, 1)\), concave up on \((1, \infty)\)

Local maximum at \((-1, 10)\), local minimum at \((3, -22)\), inflection point at \((1, -6)\)

The graph increases, then decreases, then increases again.

Applied Rules:

• Power Rule: \(\frac{d}{dx}[x^n] = nx^{n-1}\)

• First Derivative Test: Sign change determines extrema

• Second Derivative Test: Sign determines concavity

2 Rational Function Graphing
Exercise 2
Sketch the graph of \(f(x) = \frac{x^2}{x - 1}\) using derivatives.
Problem Setup:

Function: \(f(x) = \frac{x^2}{x - 1}\)

Domain: \(x \neq 1\) (vertical asymptote at \(x = 1\))

Function
\(f(x) = \frac{x^2}{x - 1}\)
First Derivative
\(f'(x) = \frac{x^2 - 2x}{(x-1)^2}\)
Second Derivative
\(f''(x) = \frac{2}{(x-1)^3}\)
Step 1: Find the first derivative using quotient rule

\(f'(x) = \frac{(x-1)(2x) - x^2(1)}{(x-1)^2} = \frac{2x^2 - 2x - x^2}{(x-1)^2} = \frac{x^2 - 2x}{(x-1)^2} = \frac{x(x-2)}{(x-1)^2}\)

Step 2: Find critical points

\(\frac{x(x-2)}{(x-1)^2} = 0\)

So \(x = 0\) or \(x = 2\) (both in domain)

Step 3: Analyze increasing/decreasing intervals

Test intervals: \((-\infty, 0)\), \((0, 1)\), \((1, 2)\), \((2, \infty)\)

\(f'(-1) = \frac{(-1)(-3)}{(-2)^2} = \frac{3}{4} > 0\) → Increasing

\(f'(0.5) = \frac{(0.5)(-1.5)}{(-0.5)^2} = \frac{-0.75}{0.25} = -3 < 0\) → Decreasing

\(f'(1.5) = \frac{(1.5)(-0.5)}{(0.5)^2} = \frac{-0.75}{0.25} = -3 < 0\) → Decreasing

\(f'(3) = \frac{(3)(1)}{(2)^2} = \frac{3}{4} > 0\) → Increasing

Step 4: Find the second derivative

\(f''(x) = \frac{2}{(x-1)^3}\)

Step 5: Analyze concavity

\(f''(x)\) is never zero but undefined at \(x = 1\)

For \(x < 1\): \(f''(x) < 0\) → Concave down

For \(x > 1\): \(f''(x) > 0\) → Concave up

Step 6: Identify extrema and inflection points

At \(x = 0\): Increasing to decreasing → Local maximum

At \(x = 2\): Decreasing to increasing → Local minimum

At \(x = 1\): Concavity changes → Vertical asymptote with concavity change

Step 7: Calculate function values

\(f(0) = \frac{0}{-1} = 0\)

\(f(2) = \frac{4}{1} = 4\)

Local Max: (0, 0), Local Min: (2, 4), VA: x = 1
Graph Features:

Increasing on \((-\infty, 0) \cup (2, \infty)\), decreasing on \((0, 1) \cup (1, 2)\)

Concave down on \((-\infty, 1)\), concave up on \((1, \infty)\)

Local maximum at \((0, 0)\), local minimum at \((2, 4)\), vertical asymptote at \(x = 1\)

The function approaches the asymptote from both directions with different concavities.

Applied Rules:

• Quotient Rule: \(\frac{d}{dx}[\frac{u}{v}] = \frac{vu' - uv'}{v^2}\)

• Domain Consideration: Account for undefined points

• Asymptote Analysis: Identify vertical asymptotes

3 Trigonometric Graphing
Exercise 3
Sketch the graph of \(f(x) = \sin(x) + \cos(x)\) on \([0, 2\pi]\) using derivatives.
Problem Setup:

Function: \(f(x) = \sin(x) + \cos(x)\)

Domain: \([0, 2\pi]\)

Function
\(f(x) = \sin(x) + \cos(x)\)
First Derivative
\(f'(x) = \cos(x) - \sin(x)\)
Second Derivative
\(f''(x) = -\sin(x) - \cos(x)\)
Step 1: Find the first derivative

\(f'(x) = \cos(x) - \sin(x)\)

Step 2: Find critical points

\(\cos(x) - \sin(x) = 0\)

\(\cos(x) = \sin(x)\)

\(\tan(x) = 1\)

On \([0, 2\pi]\): \(x = \frac{\pi}{4}, \frac{5\pi}{4}\)

Step 3: Analyze increasing/decreasing intervals

Test intervals: \([0, \frac{\pi}{4})\), \((\frac{\pi}{4}, \frac{5\pi}{4})\), \((\frac{5\pi}{4}, 2\pi]\)

\(f'(0) = \cos(0) - \sin(0) = 1 > 0\) → Increasing

\(f'(\pi) = \cos(\pi) - \sin(\pi) = -1 < 0\) → Decreasing

\(f'(2\pi) = \cos(2\pi) - \sin(2\pi) = 1 > 0\) → Increasing

Step 4: Find the second derivative

\(f''(x) = -\sin(x) - \cos(x)\)

Step 5: Analyze concavity

\(f''(x) = -\sin(x) - \cos(x) = 0\)

\(\sin(x) = -\cos(x)\)

\(\tan(x) = -1\)

On \([0, 2\pi]\): \(x = \frac{3\pi}{4}, \frac{7\pi}{4}\)

Step 6: Identify extrema and inflection points

At \(x = \frac{\pi}{4}\): Increasing to decreasing → Local maximum

At \(x = \frac{5\pi}{4}\): Decreasing to increasing → Local minimum

At \(x = \frac{3\pi}{4}, \frac{7\pi}{4}\): Concavity changes → Inflection points

Step 7: Calculate function values

\(f(\frac{\pi}{4}) = \sin(\frac{\pi}{4}) + \cos(\frac{\pi}{4}) = \frac{\sqrt{2}}{2} + \frac{\sqrt{2}}{2} = \sqrt{2}\)

\(f(\frac{5\pi}{4}) = \sin(\frac{5\pi}{4}) + \cos(\frac{5\pi}{4}) = -\frac{\sqrt{2}}{2} - \frac{\sqrt{2}}{2} = -\sqrt{2}\)

\(f(\frac{3\pi}{4}) = \sin(\frac{3\pi}{4}) + \cos(\frac{3\pi}{4}) = \frac{\sqrt{2}}{2} - \frac{\sqrt{2}}{2} = 0\)

\(f(\frac{7\pi}{4}) = \sin(\frac{7\pi}{4}) + \cos(\frac{7\pi}{4}) = -\frac{\sqrt{2}}{2} + \frac{\sqrt{2}}{2} = 0\)

Local Max: (π/4, √2), Local Min: (5π/4, -√2), IPs: (3π/4, 0), (7π/4, 0)
Graph Features:

Increasing on \([0, \frac{\pi}{4}) \cup (\frac{5\pi}{4}, 2\pi]\), decreasing on \((\frac{\pi}{4}, \frac{5\pi}{4})\)

Concave down on \((\frac{3\pi}{4}, \frac{7\pi}{4})\), concave up elsewhere

Local maximum at \((\frac{\pi}{4}, \sqrt{2})\), local minimum at \((\frac{5\pi}{4}, -\sqrt{2})\)

Periodic behavior with predictable critical point patterns.

Applied Rules:

• Trig Derivatives: \(\frac{d}{dx}[\sin(x)] = \cos(x)\), \(\frac{d}{dx}[\cos(x)] = -\sin(x)\)

• Trig Equations: \(\cos(x) = \sin(x) \Rightarrow \tan(x) = 1\)

• Periodic Analysis: Consider domain restrictions for periodic functions

Graphing Functions Using Derivatives: Theory & Properties
\(f'(x) \text{ and } f''(x) \Rightarrow \text{ Increasing/Decreasing, Concavity, Extrema}\)
Derivative Analysis Principle
Key Definitions:

First Derivative: Determines intervals of increase/decrease and locates critical points

Second Derivative: Determines concavity and locates inflection points

Critical Point: Where \(f'(x) = 0\) or \(f'(x)\) DNE

Graphing Analysis Methods:

First Derivative Analysis: Sign changes determine local extrema

Second Derivative Analysis: Sign determines concavity and inflection points

Increasing
\(f'(x) > 0\)
Function rising
Decreasing
\(f'(x) < 0\)
Function falling
Concave Up
\(f''(x) > 0\)
Function curving upward
Concave Down
\(f''(x) < 0\)
Function curving downward
Advantages: Provides complete function behavior overview, helps identify key features, enables accurate sketching.
Limitations: Requires computing derivatives, may be complex for some functions, needs careful analysis.
Tip 1: Always check the domain before analyzing derivatives.
Tip 2: Create a table to organize your analysis of intervals.
Tip 3: Look for symmetry in the function to simplify analysis.
Tip 4: Consider horizontal asymptotes for end behavior.

Conditions for Analysis:

• Continuity: Function must be continuous in the interval of interest

• Differentiability: Function must be differentiable for derivative analysis

• Domain: Consider restrictions that affect the function's behavior

• Asymptotes: Identify vertical, horizontal, or oblique asymptotes

Advanced Graphing Analysis: Exercises 4-5
4 Higher Degree Polynomial
Exercise 4
Sketch the graph of \(f(x) = x^4 - 4x^3 + 4x^2\) using derivatives.
Problem Setup:

Function: \(f(x) = x^4 - 4x^3 + 4x^2\)

Domain: All real numbers \((-\infty, \infty)\)

Function
\(f(x) = x^4 - 4x^3 + 4x^2\)
First Derivative
\(f'(x) = 4x^3 - 12x^2 + 8x\)
Second Derivative
\(f''(x) = 12x^2 - 24x\)
Step 1: Find the first derivative

\(f'(x) = 4x^3 - 12x^2 + 8x = 4x(x^2 - 3x + 2) = 4x(x-1)(x-2)\)

Step 2: Find critical points

\(4x(x-1)(x-2) = 0\)

So \(x = 0\), \(x = 1\), or \(x = 2\)

Step 3: Analyze increasing/decreasing intervals

Test intervals: \((-\infty, 0)\), \((0, 1)\), \((1, 2)\), \((2, \infty)\)

\(f'(-1) = 4(-1)(-2)(-3) = -24 < 0\) → Decreasing

\(f'(0.5) = 4(0.5)(-0.5)(-1.5) = 1.5 > 0\) → Increasing

\(f'(1.5) = 4(1.5)(0.5)(-0.5) = -1.5 < 0\) → Decreasing

\(f'(3) = 4(3)(2)(1) = 24 > 0\) → Increasing

Step 4: Find the second derivative

\(f''(x) = 12x^2 - 24x = 12x(x-2)\)

Step 5: Analyze concavity

\(f''(x) = 12x(x-2) = 0\) when \(x = 0\) or \(x = 2\)

For \(x < 0\): \(f''(x) > 0\) → Concave up

For \(0 < x < 2\): \(f''(x) < 0\) → Concave down

For \(x > 2\): \(f''(x) > 0\) → Concave up

Step 6: Identify extrema and inflection points

At \(x = 0\): Decreasing to increasing → Local minimum

At \(x = 1\): Increasing to decreasing → Local maximum

At \(x = 2\): Decreasing to increasing → Local minimum

At \(x = 0, 2\): Concavity changes → Inflection points

Step 7: Calculate function values

\(f(0) = 0\), \(f(1) = 1 - 4 + 4 = 1\), \(f(2) = 16 - 32 + 16 = 0\)

Local Min: (0, 0) and (2, 0), Local Max: (1, 1), IPs: (0, 0), (2, 0)
Graph Features:

Decreasing on \((-\infty, 0) \cup (1, 2)\), increasing on \((0, 1) \cup (2, \infty)\)

Concave up on \((-\infty, 0) \cup (2, \infty)\), concave down on \((0, 2)\)

Local minima at \((0, 0)\) and \((2, 0)\), local maximum at \((1, 1)\)

Higher-degree polynomials can have multiple extrema and inflection points.

Applied Rules:

• Polynomial Differentiation: Apply power rule to each term

• Factoring: Factor completely to identify all critical points

• Sign Analysis: Test each interval between critical points

5 Combined Function Analysis
Exercise 5
Sketch the graph of \(f(x) = xe^{-x}\) using derivatives.
Problem Setup:

Function: \(f(x) = xe^{-x}\)

Domain: All real numbers \((-\infty, \infty)\)

Function
\(f(x) = xe^{-x}\)
First Derivative
\(f'(x) = e^{-x} - xe^{-x}\)
Second Derivative
\(f''(x) = -2e^{-x} + xe^{-x}\)
Step 1: Find the first derivative using product rule

\(f'(x) = (1)e^{-x} + x(-e^{-x}) = e^{-x} - xe^{-x} = e^{-x}(1 - x)\)

Step 2: Find critical points

\(e^{-x}(1 - x) = 0\)

Since \(e^{-x} > 0\) always, we have \(1 - x = 0\)

So \(x = 1\)

Step 3: Analyze increasing/decreasing intervals

Test intervals: \((-\infty, 1)\), \((1, \infty)\)

For \(x < 1\): \(1 - x > 0\), so \(f'(x) > 0\) → Increasing

For \(x > 1\): \(1 - x < 0\), so \(f'(x) < 0\) → Decreasing

Step 4: Find the second derivative

\(f''(x) = \frac{d}{dx}[e^{-x}(1 - x)] = -e^{-x}(1 - x) + e^{-x}(-1) = -e^{-x}(1 - x) - e^{-x} = e^{-x}(x - 2)\)

Step 5: Analyze concavity

\(f''(x) = e^{-x}(x - 2) = 0\) when \(x = 2\)

For \(x < 2\): \(x - 2 < 0\), so \(f''(x) < 0\) → Concave down

For \(x > 2\): \(x - 2 > 0\), so \(f''(x) > 0\) → Concave up

Step 6: Identify extrema and inflection points

At \(x = 1\): Increasing to decreasing → Local maximum

At \(x = 2\): Concavity changes → Inflection point

Step 7: Calculate function values and end behavior

\(f(1) = 1 \cdot e^{-1} = \frac{1}{e} \approx 0.368\)

\(f(2) = 2 \cdot e^{-2} = \frac{2}{e^2} \approx 0.271\)

As \(x \to \infty\): \(f(x) \to 0\), As \(x \to -\infty\): \(f(x) \to -\infty\)

Local Max: (1, 1/e), IP: (2, 2/e²), End behavior: → 0 as x→∞
Analysis:

Increasing on \((-\infty, 1)\), decreasing on \((1, \infty)\)

Concave down on \((-\infty, 2)\), concave up on \((2, \infty)\)

Local maximum at \((1, \frac{1}{e})\), inflection point at \((2, \frac{2}{e^2})\)

The exponential decay ensures the function approaches zero as x approaches infinity.

Advanced Analysis:

• Product Rule: \(\frac{d}{dx}[uv] = u'v + uv'\)

• Exponential Properties: \(e^{-x} > 0\) always

• End Behavior: Analyze limits as \(x \to \pm\infty\)

Graphing Functions Using Derivatives: Comprehensive Guide
\(f'(x) \text{ and } f''(x) \Rightarrow \text{ Increasing/Decreasing, Concavity, Extrema}\)
Derivative Analysis Principle
Key definitions:

Graphing Using Derivatives: A systematic approach to sketching function graphs by analyzing the first and second derivatives to determine critical points, intervals of increase/decrease, concavity, and inflection points.

First Derivative Test: Uses the sign of the first derivative to determine increasing/decreasing behavior and classify extrema.

Second Derivative Test: Uses the sign of the second derivative to determine concavity and locate inflection points.

Complete methodology:
  1. Domain Analysis: Determine the domain and identify any discontinuities
  2. First Derivative: Find \(f'(x)\) and critical points where \(f'(x) = 0\) or DNE
  3. Increasing/Decreasing: Analyze sign of \(f'(x)\) in intervals between critical points
  4. Extrema: Classify critical points as local maxima/minima using first or second derivative test
  5. Second Derivative: Find \(f''(x)\) and possible inflection points
  6. Concavity: Analyze sign of \(f''(x)\) to determine concavity in intervals
  7. Inflection Points: Identify where concavity changes
  8. Additional Features: Find intercepts, asymptotes, and end behavior
  9. Sketch: Combine all information to create an accurate graph
Tip 1: Always factor derivatives completely to identify all critical points and inflection points.
Tip 2: Create organized tables to track the signs of \(f'(x)\) and \(f''(x)\) in different intervals.
Tip 3: Consider symmetry properties that might simplify your analysis.
Tip 4: Calculate specific function values at critical points to get precise coordinates.

Common errors: Missing critical points, incorrect derivative calculations, forgetting domain restrictions, misinterpreting signs.
Exam preparation: Practice with various function types, memorize derivative rules, understand the relationship between derivatives and function behavior.
Important principles:

• First Derivative: \(f'(x) > 0\) → increasing, \(f'(x) < 0\) → decreasing

• Second Derivative: \(f''(x) > 0\) → concave up, \(f''(x) < 0\) → concave down

• Local Extrema: Occur at critical points where first derivative changes sign

• Inflection Points: Occur where second derivative changes sign

Visualization: Derivative Information Mapping
Exercise 6: Function Behavior Analysis
Compare different function behaviors:
  • Increasing with positive concavity
  • Decreasing with negative concavity
  • Increasing with negative concavity
  • Decreasing with positive concavity

Visual analysis: Derivatives reveal function behavior patterns.

  • Positive first derivative means increasing function
  • Positive second derivative means concave up
  • Combined information gives complete function behavior

Questions & Answers

Question: How do I handle functions that have both critical points and undefined points?

Answer: When a function has both critical points and undefined points, treat them differently:

Critical Points: Where \(f'(x) = 0\) or \(f'(x)\) DNE but \(f(x)\) is defined

Undefined Points: Where \(f(x)\) is undefined (like vertical asymptotes)

Process:

  • List all critical points and undefined points in order
  • These points divide the domain into intervals
  • Test the sign of \(f'(x)\) and \(f''(x)\) in each interval
  • Undefined points act as boundaries for intervals but don't have function values
  • Behavior can change across undefined points

For example, with \(f(x) = \frac{x^2}{x-1}\), \(x = 1\) is undefined (vertical asymptote) and \(x = 0, 2\) are critical points. All three divide the domain into intervals for analysis.

Question: What if the second derivative test is inconclusive at a critical point?

Answer: When \(f'(c) = 0\) and \(f''(c) = 0\), the second derivative test is inconclusive. Use alternatives:

First option: Use the first derivative test to check for sign changes in \(f'(x)\) around the critical point.

Second option: Use higher-order derivatives. If the first non-zero derivative at \(c\) is of odd order, it's not an extremum. If even order and positive, it's a minimum; if even order and negative, it's a maximum.

Third option: Examine the function's behavior graphically or numerically near the critical point.

For example, \(f(x) = x^4\) has \(f'(0) = 0\) and \(f''(0) = 0\), but using the first derivative test shows it's a local minimum since \(f'(x)\) changes from negative to positive at \(x = 0\).

Question: How do I identify inflection points that aren't visible on the graph?

Answer: Some inflection points are subtle and not immediately obvious visually:

Mathematical Identification:

  • Solve \(f''(x) = 0\) or find where \(f''(x)\) DNE
  • Verify that concavity actually changes at these points
  • Check that the function is continuous at the point

Characteristics of Subtle Inflection Points:

  • May occur where the function is nearly linear
  • Changes in curvature might be gradual
  • Function values might not change significantly

Always rely on the mathematical definition: concavity must change from up to down or down to up. A point where \(f''(x) = 0\) but no sign change occurs is not an inflection point.

Question: Do I need to include end behavior when graphing functions?

Answer: Yes, end behavior is crucial for complete graphing:

Why Include End Behavior:

  • Shows how the function behaves as \(x \to \pm\infty\)
  • Provides context for the overall shape of the graph
  • Helps determine horizontal asymptotes
  • Ensures the graph is complete and accurate

How to Determine:

  • For polynomials: depends on leading term
  • For rational functions: compare degrees of numerator and denominator
  • For exponential functions: consider the base and exponent
  • For trigonometric functions: consider periodicity

End behavior gives the complete picture of how the function behaves across its entire domain.

Question: How can I use derivatives to identify symmetry in functions?

Answer: Derivatives can help identify function symmetry:

Even Functions: \(f(-x) = f(x)\)

  • First derivative: \(f'(-x) = -f'(x)\) (odd function)
  • Graph is symmetric about the y-axis

Odd Functions: \(f(-x) = -f(x)\)

  • First derivative: \(f'(-x) = f'(x)\) (even function)
  • Graph is symmetric about the origin

Testing Symmetry:

  • Check if \(f(-x) = f(x)\) for even symmetry
  • Check if \(f(-x) = -f(x)\) for odd symmetry
  • Examine the derivatives to confirm the pattern

Symmetry can significantly simplify graphing since you only need to analyze half the domain.