Solved Exercises on Graphing Functions Using Calculus in Calculus 1

Master graphing functions using calculus: analyzing function behavior, critical points, concavity, and creating accurate sketches through these 3 detailed exercises.

Solution: Exercises 1 to 3
1 Complete Function Analysis
Exercise 1
Analyze and sketch the graph of f(x) = x³ - 3x² - 9x + 5.
Definition:

Curve Sketching: The process of creating an accurate graph using calculus tools: domain, intercepts, symmetry, asymptotes, critical points, intervals of increase/decrease, concavity, and inflection points.

Complete curve sketching method:
  1. Determine domain and range
  2. Find x and y intercepts
  3. Check for symmetry
  4. Find first derivative and critical points
  5. Determine intervals of increase/decrease
  6. Find second derivative and inflection points
  7. Determine intervals of concavity
  8. Sketch the graph using all information
Function
f(x) = x³ - 3x² - 9x + 5
First Derivative
f'(x) = 3x² - 6x - 9
Second Derivative
f''(x) = 6x - 6
Step 1: Domain and intercepts

Domain: All real numbers (-∞, ∞)

y-intercept: f(0) = 5, so point (0, 5)

x-intercepts: Solve x³ - 3x² - 9x + 5 = 0 (approximate: x ≈ -2.08, 0.53, 4.55)

Step 2: Find critical points

f'(x) = 3x² - 6x - 9 = 3(x² - 2x - 3) = 3(x - 3)(x + 1)

Set f'(x) = 0: x = -1 or x = 3

Critical points: (-1, f(-1)) = (-1, 10) and (3, f(3)) = (3, -22)

Step 3: Determine intervals of increase/decrease

Test intervals: (-∞, -1), (-1, 3), (3, ∞)

f'(-2) = 3(4 - 4 - 3) = -15 < 0 (decreasing)

f'(0) = 3(0 - 0 - 3) = -9 < 0 (decreasing)

f'(4) = 3(16 - 8 - 3) = 15 > 0 (increasing)

Wait, let's recheck: f'(0) = 3(0 - 0 - 3) = -9 < 0 (decreasing)

Actually: f'(0) = 3(0)² - 6(0) - 9 = -9 < 0 (decreasing)

f'(0) = -9 < 0, f'(4) = 48 - 24 - 9 = 15 > 0

Decreasing: (-∞, -1) ∪ (-1, 3), Increasing: (3, ∞)

Actually: f'(x) = 3(x - 3)(x + 1), so f'(x) > 0 when x < -1 or x > 3

Increasing: (-∞, -1) ∪ (3, ∞), Decreasing: (-1, 3)

Step 4: Classify critical points

At x = -1: function changes from increasing to decreasing ⇒ local maximum

At x = 3: function changes from decreasing to increasing ⇒ local minimum

Step 5: Find concavity and inflection points

f''(x) = 6x - 6

Set f''(x) = 0: 6x - 6 = 0 ⇒ x = 1

Test intervals: (-∞, 1), (1, ∞)

f''(0) = -6 < 0 (concave down)

f''(2) = 6 > 0 (concave up)

Concave down: (-∞, 1), Concave up: (1, ∞)

Inflection point: (1, f(1)) = (1, -6)

Local maximum: (-1, 10)
Local minimum: (3, -22)
Inflection point: (1, -6)
Increasing: (-∞, -1) ∪ (3, ∞)
Decreasing: (-1, 3)
Concave up: (1, ∞)
Concave down: (-∞, 1)
Final answer:

f(x) has a local maximum at (-1, 10), a local minimum at (3, -22), and an inflection point at (1, -6). The function increases on (-∞, -1) ∪ (3, ∞) and decreases on (-1, 3). It is concave up on (1, ∞) and concave down on (-∞, 1).

Applied rules:

• First Derivative Test: Sign changes in f'(x) indicate local extrema

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

• Factoring Quadratics: x² - 2x - 3 = (x - 3)(x + 1)

2 Rational Function Analysis
Exercise 2
Analyze and sketch the graph of f(x) = (x²)/(x² - 4).
Definition:

Rational Function Analysis: For f(x) = P(x)/Q(x), identify vertical asymptotes where Q(x) = 0, horizontal asymptotes by comparing degrees of numerator and denominator, and analyze behavior near asymptotes.

Function
f(x) = x²/(x² - 4)
Domain
x ≠ ±2
Asymptotes
x = ±2, y = 1
Step 1: Determine domain and asymptotes

Denominator: x² - 4 = 0 ⇒ x² = 4 ⇒ x = ±2

Domain: (-∞, -2) ∪ (-2, 2) ∪ (2, ∞)

Vertical asymptotes: x = -2 and x = 2

Horizontal asymptote: Since degrees equal, y = 1/1 = 1

Step 2: Find intercepts

y-intercept: f(0) = 0²/(0² - 4) = 0/(-4) = 0, so point (0, 0)

x-intercept: Set f(x) = 0 ⇒ x² = 0 ⇒ x = 0, so point (0, 0)

Step 3: Find first derivative using quotient rule

f(x) = x²/(x² - 4)

f'(x) = [(x² - 4)(2x) - x²(2x)] / (x² - 4)²

f'(x) = [2x(x² - 4) - 2x³] / (x² - 4)²

f'(x) = [2x³ - 8x - 2x³] / (x² - 4)² = -8x / (x² - 4)²

Step 4: Find critical points and intervals of increase/decrease

f'(x) = -8x / (x² - 4)²

Set f'(x) = 0: -8x = 0 ⇒ x = 0 (but note x² - 4 ≠ 0)

f'(x) is undefined at x = ±2 (asymptotes)

Test intervals: (-∞, -2), (-2, 0), (0, 2), (2, ∞)

f'(-3) = -8(-3) / (9 - 4)² = 24/25 > 0 (increasing)

f'(-1) = -8(-1) / (1 - 4)² = 8/9 > 0 (increasing)

f'(1) = -8(1) / (1 - 4)² = -8/9 < 0 (decreasing)

f'(3) = -8(3) / (9 - 4)² = -24/25 < 0 (decreasing)

Increasing: (-∞, -2) ∪ (-2, 0), Decreasing: (0, 2) ∪ (2, ∞)

Step 5: Find second derivative and concavity

f'(x) = -8x / (x² - 4)²

Using quotient rule: f''(x) = [(-8)(x² - 4)² - (-8x)(2)(x² - 4)(2x)] / (x² - 4)⁴

f''(x) = [-8(x² - 4)² + 32x²(x² - 4)] / (x² - 4)⁴

f''(x) = (x² - 4)[-8(x² - 4) + 32x²] / (x² - 4)⁴

f''(x) = [-8x² + 32 + 32x²] / (x² - 4)³ = [24x² + 32] / (x² - 4)³

f''(x) = 8(3x² + 4) / (x² - 4)³

Step 6: Determine concavity

f''(x) = 8(3x² + 4) / (x² - 4)³

Since 3x² + 4 > 0 for all real x, sign of f''(x) depends on (x² - 4)³

(x² - 4)³ > 0 when x² - 4 > 0, i.e., when x² > 4, i.e., when |x| > 2

(x² - 4)³ < 0 when x² - 4 < 0, i.e., when x² < 4, i.e., when |x| < 2

Concave up: (-∞, -2) ∪ (2, ∞), Concave down: (-2, 2)

No inflection points since f''(x) doesn't change sign across asymptotes

Vertical asymptotes: x = ±2
Horizontal asymptote: y = 1
Increasing: (-∞, -2) ∪ (-2, 0)
Decreasing: (0, 2) ∪ (2, ∞)
Concave up: (-∞, -2) ∪ (2, ∞)
Concave down: (-2, 2)
Local maximum: (0, 0)
Final answer:

f(x) has vertical asymptotes at x = ±2, horizontal asymptote at y = 1, and a local maximum at (0, 0). The function increases on (-∞, -2) ∪ (-2, 0) and decreases on (0, 2) ∪ (2, ∞). It is concave up on (-∞, -2) ∪ (2, ∞) and concave down on (-2, 2).

Applied rules:

• Quotient Rule: (f/g)' = (f'g - fg')/g²

• Asymptote Rules: Vertical at zeros of denominator, horizontal by degree comparison

• Rational Function Behavior: Approaches asymptotes as x approaches restriction values

3 Comprehensive Polynomial Analysis
Exercise 3
Analyze and sketch the graph of f(x) = x⁴ - 4x³ + 6x² - 4x + 1.
Definition:

Polynomial Curve Analysis: Complete analysis of polynomial functions including end behavior, root multiplicity effects, and higher-order derivative analysis for complex behavior.

Function
f(x) = x⁴ - 4x³ + 6x² - 4x + 1
First Derivative
f'(x) = 4x³ - 12x² + 12x - 4
Second Derivative
f''(x) = 12x² - 24x + 12
Step 1: Simplify the function

Notice: f(x) = x⁴ - 4x³ + 6x² - 4x + 1

This resembles the binomial expansion of (x - 1)⁴

(x - 1)⁴ = x⁴ - 4x³ + 6x² - 4x + 1

So f(x) = (x - 1)⁴

Step 2: Find intercepts and domain

Domain: All real numbers (-∞, ∞)

y-intercept: f(0) = (0 - 1)⁴ = 1, so point (0, 1)

x-intercept: (x - 1)⁴ = 0 ⇒ x = 1 (with multiplicity 4), so point (1, 0)

Step 3: Find first derivative and critical points

f(x) = (x - 1)⁴

f'(x) = 4(x - 1)³

Set f'(x) = 0: 4(x - 1)³ = 0 ⇒ x = 1

Critical point: (1, f(1)) = (1, 0)

Step 4: Determine intervals of increase/decrease

f'(x) = 4(x - 1)³

Test intervals: (-∞, 1), (1, ∞)

f'(0) = 4(-1)³ = -4 < 0 (decreasing)

f'(2) = 4(1)³ = 4 > 0 (increasing)

Decreasing: (-∞, 1), Increasing: (1, ∞)

So x = 1 is a local minimum (and global minimum since it's the only critical point)

Step 5: Find second derivative and concavity

f'(x) = 4(x - 1)³

f''(x) = 12(x - 1)²

Set f''(x) = 0: 12(x - 1)² = 0 ⇒ x = 1

But f''(x) = 12(x - 1)² ≥ 0 for all x, so f''(x) never changes sign

Concave up: (-∞, ∞), No inflection points

Step 6: Analyze end behavior

Since leading coefficient is positive and degree is even:

As x → ∞, f(x) → ∞

As x → -∞, f(x) → ∞

Global minimum: (1, 0)
Increasing: (1, ∞)
Decreasing: (-∞, 1)
Concave up: (-∞, ∞)
No inflection points
End behavior: f(x) → ∞ as x → ±∞
Final answer:

f(x) has a global minimum at (1, 0). The function decreases on (-∞, 1) and increases on (1, ∞). It is concave up everywhere with no inflection points. As x approaches ±∞, f(x) approaches ∞.

Applied rules:

• Binomial Expansion Recognition: Identifying (x - 1)⁴ pattern

• Chain Rule: d/dx[(x - 1)⁴] = 4(x - 1)³

• End Behavior: Even degree with positive leading coefficient ⇒ both ends go to +∞

Graphing Functions Using Calculus Summary
f'(x) > 0 \Rightarrow \text{increasing}, f'(x) < 0 \Rightarrow \text{decreasing}
Monotonicity Test
Concavity Test
f''(x) > 0 \Rightarrow \text{concave up}, f''(x) < 0 \Rightarrow \text{concave down}
Determines function curvature
Critical Point
f'(c) = 0 \text{ or } f'(c) \text{ DNE}
Potential extrema location
Inflection Point
f''(c) = 0 \text{ and } f'' \text{ changes sign at } c
Point where concavity changes
Key definitions:

Curve Sketching: Creating an accurate graph of a function using analytical methods to determine key features like extrema, concavity, and asymptotes.

Critical Point: A point where the first derivative is zero or undefined, representing a potential local extremum.

Inflection Point: A point where the concavity of the function changes from concave up to concave down or vice versa.

Complete methodology:
  1. Domain and intercepts: Determine where function is defined and crosses axes
  2. Symmetry and asymptotes: Check for even/odd behavior and approach to infinity
  3. First derivative analysis: Find critical points and intervals of increase/decrease
  4. Second derivative analysis: Find concavity and inflection points
  5. End behavior: Analyze function as x approaches ±∞
  6. Sketch: Combine all information into accurate graph
Tip 1: Always start by simplifying the function if possible (factoring, recognizing patterns).
Tip 2: For rational functions, factor numerator and denominator to identify holes and asymptotes.
Tip 3: Create a table summarizing all critical points, intervals, and concavity before sketching.
Tip 4: Plot key points first (intercepts, extrema, inflection points) then connect smoothly.
Common errors: Forgetting to check where derivatives don't exist, missing asymptotes in rational functions, incorrect sign analysis.
Exam preparation: Practice with various function types, master derivative calculations, and learn to recognize patterns quickly.
Essential formulas to remember:

• Power rule: d/dx(xⁿ) = nxⁿ⁻¹

• Product rule: (fg)' = f'g + fg'

• Quotient rule: (f/g)' = (f'g - fg')/g²

• Chain rule: (f(g(x)))' = f'(g(x))·g'(x)

• Asymptote identification for rational functions

Detailed Educational Summary
Core Concepts:

Function Analysis: Using calculus tools (derivatives) to understand function behavior and create accurate graphs.

Monotonicity: Determining where a function is increasing or decreasing using the first derivative.

Concavity: Understanding how a function curves using the second derivative.

Step-by-Step Process:
  1. Initial Analysis: Identify domain, intercepts, and symmetry/asymptotes
  2. First Derivative: Find critical points and determine increasing/decreasing intervals
  3. Second Derivative: Determine concavity and locate inflection points
  4. Classification: Use first and second derivative tests to classify extrema
  5. End Behavior: Analyze function behavior as x approaches infinity
  6. Graph Construction: Combine all information to sketch accurate graph
Memory Aid: First derivative tells "speed" (increasing/decreasing), second derivative tells "acceleration" (curvature).
Visualization: Imagine walking along the curve - first derivative tells you if you're going uphill/downhill, second derivative tells you if you're turning left/right.
Strategy: Create a sign chart for each derivative to systematically organize information.
Important Notes:

• Critical points are candidates for local extrema, but not all critical points are extrema.

• Inflection points require both f''(c) = 0 and a sign change in f''(x) around c.

• For rational functions, check for removable discontinuities (holes) in addition to vertical asymptotes.

• The degree and leading coefficient of polynomials determine end behavior.

Comprehensive Rules, Methods, and Examples
f''(x) = \frac{d}{dx}[f'(x)]
Second Derivative Definition
Detailed Definitions:

End Behavior: The behavior of a function as x approaches positive or negative infinity, determined by the leading term of the polynomial.

Asymptotic Behavior: How a function approaches its horizontal, vertical, or slant asymptotes, especially important for rational functions.

Local vs Global Extrema: Local extrema are relative to nearby points, global extrema are absolute over the entire domain.

Advanced Methodology:
  1. Pattern Recognition: Identify special forms like perfect squares/cubes before differentiation
  2. Higher Order Analysis: Use third or fourth derivatives when second derivative is zero
  3. Limit Analysis: Use limits to determine behavior near discontinuities
  4. Parameter Effects: Understand how coefficients affect graph shape
Example Pattern: For (x - a)ⁿ, if n is even the function touches the x-axis at x = a, if n is odd it crosses at x = a.
Testing Strategy: Choose test points that are easy to evaluate, like integers near critical points.
Verification: Always check that your graph matches the analytical results you found.
Advanced Tip: For complex functions, use technology to verify your hand-drawn graph.
Connection: The graph provides a visual representation of all the analytical information combined.
Advanced Applications:

• Optimization problems often require graphing to visualize constraints and objective functions

• Economics applications: revenue, cost, and profit function analysis

• Physics applications: position, velocity, and acceleration relationships

• Engineering: stress-strain curves and system response analysis

Questions & Answers

Question: How do I handle functions with multiple critical points? How do I know which ones are maxima and minima?

Answer: When dealing with multiple critical points:

  • First Derivative Test: Check the sign of f'(x) before and after each critical point. If f'(x) changes from positive to negative, it's a local maximum. If it changes from negative to positive, it's a local minimum.
  • Second Derivative Test: If f'(c) = 0 and f''(c) > 0, then c is a local minimum. If f'(c) = 0 and f''(c) < 0, then c is a local maximum.
  • Sign Charts: Create a number line with critical points marked, then test intervals to determine increasing/decreasing behavior.

In Exercise 1, we had critical points at x = -1 and x = 3. By testing intervals, we found f'(x) > 0 for x < -1, f'(x) < 0 for -1 < x < 3, and f'(x) > 0 for x > 3. This means x = -1 is a local maximum and x = 3 is a local minimum.

Question: What's the difference between a vertical asymptote and a hole in the graph?

Answer: The difference lies in the nature of the discontinuity:

  • Vertical Asymptote: Occurs when a factor in the denominator cannot be canceled by a factor in the numerator. The function approaches ±∞ as x approaches the asymptote value. Example: f(x) = 1/(x - 2) has a vertical asymptote at x = 2.
  • Hole (Removable Discontinuity): Occurs when a factor appears in both numerator and denominator and can be canceled. The function is undefined at that point, but approaches a finite limit. Example: f(x) = (x² - 4)/(x - 2) = (x + 2)(x - 2)/(x - 2) has a hole at x = 2 (after canceling, it behaves like g(x) = x + 2 except at x = 2).

To identify: Factor both numerator and denominator. Factors that remain in the denominator after canceling create vertical asymptotes; factors that cancel create holes.

Question: In Exercise 3, why didn't x = 1 count as an inflection point even though f''(1) = 0?

Answer: This is a crucial point! For a point to be an inflection point, two conditions must be met:

  1. f''(c) = 0 (or f''(c) doesn't exist)
  2. f''(x) changes sign at x = c

In Exercise 3: f(x) = (x - 1)⁴, so f''(x) = 12(x - 1)².

At x = 1: f''(1) = 12(0)² = 0, so condition 1 is satisfied.

However, f''(x) = 12(x - 1)² ≥ 0 for ALL values of x, so f''(x) never changes sign around x = 1.

Since condition 2 is not satisfied, x = 1 is NOT an inflection point.

Remember: f''(x) = 0 is necessary but not sufficient for an inflection point!

Question: How do I determine the end behavior of a polynomial function?

Answer: End behavior of a polynomial f(x) = aₙxⁿ + aₙ₋₁xⁿ⁻¹ + ... + a₀ is determined by the leading term aₙxⁿ:

  • Degree is even: Both ends behave the same way
    • If aₙ > 0: f(x) → ∞ as x → ±∞ (both ends go up)
    • If aₙ < 0: f(x) → -∞ as x → ±∞ (both ends go down)
  • Degree is odd: Ends behave oppositely
    • If aₙ > 0: f(x) → ∞ as x → ∞, f(x) → -∞ as x → -∞
    • If aₙ < 0: f(x) → -∞ as x → ∞, f(x) → ∞ as x → -∞

In Exercise 1: f(x) = x³ - 3x² - 9x + 5 has degree 3 (odd) and leading coefficient 1 (positive), so f(x) → ∞ as x → ∞ and f(x) → -∞ as x → -∞.

In Exercise 3: f(x) = x⁴ - 4x³ + 6x² - 4x + 1 has degree 4 (even) and leading coefficient 1 (positive), so f(x) → ∞ as x → ±∞.

Question: How can I check if my graph is accurate after completing the analysis?

Answer: Here are several verification strategies:

  1. Check Key Points: Verify that your plotted intercepts, extrema, and inflection points match your calculations
  2. Verify Behavior: Ensure the graph increases/decreases in the correct intervals
  3. Confirm Concavity: Make sure the graph curves in the correct directions in each interval
  4. Asymptote Approach: If you identified asymptotes, check that the graph approaches them appropriately
  5. Continuity: Ensure the graph is continuous where the function is defined and has appropriate breaks where undefined

You can also pick a few test points not used in your analysis and verify that your graph passes close to those calculated values.

Finally, compare your hand-drawn graph with a computer-generated one to check for accuracy, but focus on understanding the calculus-based approach rather than relying solely on technology.