Solved Exercises on Sketching Slope Fields in Calculus 2

Master slope fields: visualize differential equations, understand solution curves, and analyze behavior through these 3 detailed exercises.

Solution: Exercises 1 to 3
1 Basic slope field
Exercise 1
Sketch the slope field for the differential equation:
\(\frac{dy}{dx} = 2x\)
Include at least 9 points in the region \([-2, 2] \times [-2, 2]\)
Definition:

Slope field: A graphical representation showing small line segments with slopes equal to the derivative at various points \((x,y)\). Each segment represents the instantaneous rate of change at that point.

Slope field construction method:
  1. Choose a grid of points \((x,y)\) in the specified region
  2. Calculate the slope at each point using the given differential equation
  3. Draw a short line segment at each point with the calculated slope
  4. Connect the segments to visualize the flow of solutions
Differential Equation
\(\frac{dy}{dx} = 2x\)
Sample Points
Grid: \((-2,-2), (-2,0), (-2,2), (0,-2), (0,0), (0,2), (2,-2), (2,0), (2,2)\)
Step 1: Calculate slopes at sample points

At \((-2,-2)\): \(\frac{dy}{dx} = 2(-2) = -4\)

At \((-2,0)\): \(\frac{dy}{dx} = 2(-2) = -4\)

At \((-2,2)\): \(\frac{dy}{dx} = 2(-2) = -4\)

At \((0,-2)\): \(\frac{dy}{dx} = 2(0) = 0\)

At \((0,0)\): \(\frac{dy}{dx} = 2(0) = 0\)

At \((0,2)\): \(\frac{dy}{dx} = 2(0) = 0\)

At \((2,-2)\): \(\frac{dy}{dx} = 2(2) = 4\)

At \((2,0)\): \(\frac{dy}{dx} = 2(2) = 4\)

At \((2,2)\): \(\frac{dy}{dx} = 2(2) = 4\)

Step 2: Observe the pattern

The slope depends only on the x-coordinate, not on y. This means all points with the same x-value have the same slope.

Vertical lines of constant slope: at \(x = -2\), all slopes are \(-4\); at \(x = 0\), all slopes are \(0\); at \(x = 2\), all slopes are \(4\).

Step 3: Draw the slope field

At each point, draw a short line segment with the calculated slope. For example, at \((-2,0)\), draw a steep line segment with slope \(-4\).

Step 4: Analyze the solution curves

By integrating the differential equation: \(\int dy = \int 2x dx\)

This gives us: \(y = x^2 + C\), where C is the constant of integration.

The slope field shows parabolic solution curves opening upward.

Slope field shows vertical strips of constant slope, with solution curves being parabolas of the form \(y = x^2 + C\)
Final answer:

The slope field consists of short line segments whose slopes depend only on the x-coordinate. At any point \((x,y)\), the slope is \(2x\). Solution curves are parabolas of the form \(y = x^2 + C\).

Applied rules:

• Slope calculation: Evaluate the right side of the differential equation at each point

• Independence from y: When the right side doesn't contain y, slopes are constant along horizontal lines

• Integration: Solution curves are found by integrating the differential equation

2 Autonomous equation
Exercise 2
Sketch the slope field for the differential equation:
\(\frac{dy}{dx} = y(1-y)\)
Include at least 12 points in the region \([-2, 2] \times [-1, 2]\)
Definition:

Autonomous differential equation: An equation of the form \(\frac{dy}{dx} = f(y)\), where the right side depends only on y, not explicitly on x. The logistic equation \(\frac{dy}{dx} = y(1-y)\) models population growth with carrying capacity.

Differential Equation
\(\frac{dy}{dx} = y(1-y)\)
Critical Points
Where \(\frac{dy}{dx} = 0\): \(y = 0\) and \(y = 1\)
Step 1: Identify critical points (equilibrium solutions)

Set \(\frac{dy}{dx} = 0\): \(y(1-y) = 0\)

This gives us: \(y = 0\) or \(y = 1\)

These are horizontal lines in the slope field where the slope is zero.

Step 2: Determine regions of positive and negative slopes

For \(y < 0\): \(\frac{dy}{dx} = y(1-y) = (\text{negative})(\text{positive}) = \text{negative}\)

For \(0 < y < 1\): \(\frac{dy}{dx} = y(1-y) = (\text{positive})(\text{positive}) = \text{positive}\)

For \(y > 1\): \(\frac{dy}{dx} = y(1-y) = (\text{positive})(\text{negative}) = \text{negative}\)

Step 3: Calculate slopes at sample points

At \((0, -0.5)\): \(\frac{dy}{dx} = (-0.5)(1-(-0.5)) = (-0.5)(1.5) = -0.75\)

At \((0, 0.5)\): \(\frac{dy}{dx} = (0.5)(1-0.5) = (0.5)(0.5) = 0.25\)

At \((0, 1.5)\): \(\frac{dy}{dx} = (1.5)(1-1.5) = (1.5)(-0.5) = -0.75\)

At \((1, 0.25)\): \(\frac{dy}{dx} = (0.25)(1-0.25) = (0.25)(0.75) = 0.1875\)

At \((-1, 0.75)\): \(\frac{dy}{dx} = (0.75)(1-0.75) = (0.75)(0.25) = 0.1875\)

Step 4: Analyze the behavior

The equilibrium at \(y = 0\) is unstable: solutions move away from it.

The equilibrium at \(y = 1\) is stable: solutions approach it as \(x\) increases.

Between \(y = 0\) and \(y = 1\), solutions increase toward \(y = 1\).

Slope field shows stable equilibrium at y = 1, unstable at y = 0, with solutions approaching y = 1
Final answer:

The slope field has horizontal lines at \(y = 0\) and \(y = 1\) (critical points). Solutions above \(y = 1\) decrease toward \(y = 1\), solutions between \(y = 0\) and \(y = 1\) increase toward \(y = 1\), and solutions below \(y = 0\) decrease further downward.

Applied rules:

• Critical points: Set \(\frac{dy}{dx} = 0\) to find equilibrium solutions

• Stability analysis: Check the sign of \(\frac{dy}{dx}\) in regions between critical points

• Autonomous equations: Slopes depend only on y-coordinate, so the slope field is invariant under horizontal translation

3 Mixed variables
Exercise 3
Sketch the slope field for the differential equation:
\(\frac{dy}{dx} = x - y\)
Include at least 16 points in the region \([-2, 2] \times [-2, 2]\)
Definition:

Linear differential equation: An equation of the form \(\frac{dy}{dx} = ax + by + c\), where the relationship between x and y is linear. The equation \(\frac{dy}{dx} = x - y\) is a first-order linear differential equation.

Differential Equation
\(\frac{dy}{dx} = x - y\)
Nullcline
Where \(\frac{dy}{dx} = 0\): \(x - y = 0\) or \(y = x\)
Step 1: Find the nullcline (line where slope is zero)

Set \(\frac{dy}{dx} = 0\): \(x - y = 0\), so \(y = x\)

All points on the line \(y = x\) have zero slope.

Step 2: Determine regions of positive and negative slopes

For points above the nullcline (\(y > x\)): \(\frac{dy}{dx} = x - y < 0\) (negative slopes)

For points below the nullcline (\(y < x\)): \(\frac{dy}{dx} = x - y > 0\) (positive slopes)

Step 3: Calculate slopes at sample points

At \((0, 0)\): \(\frac{dy}{dx} = 0 - 0 = 0\)

At \((1, 0)\): \(\frac{dy}{dx} = 1 - 0 = 1\)

At \((0, 1)\): \(\frac{dy}{dx} = 0 - 1 = -1\)

At \((2, 1)\): \(\frac{dy}{dx} = 2 - 1 = 1\)

At \((1, 2)\): \(\frac{dy}{dx} = 1 - 2 = -1\)

At \((-1, -1)\): \(\frac{dy}{dx} = -1 - (-1) = 0\)

At \((-1, 0)\): \(\frac{dy}{dx} = -1 - 0 = -1\)

At \((0, -1)\): \(\frac{dy}{dx} = 0 - (-1) = 1\)

Step 4: Analyze solution behavior

As \(x\) approaches infinity, solutions tend toward the nullcline \(y = x\)

General solution: \(y = x - 1 + Ce^{-x}\) where C is determined by initial conditions

All solutions approach the line \(y = x - 1\) as \(x \to \infty\)

Step 5: Identify special characteristics

The slope field has symmetry properties around the nullcline \(y = x\)

Solutions exhibit exponential convergence to the asymptotic line \(y = x - 1\)

Slope field shows nullcline at y = x, with solutions converging to y = x - 1 as x increases
Final answer:

The slope field has zero slope along the line \(y = x\) (the nullcline). Above this line, slopes are negative; below, they are positive. Solution curves approach the line \(y = x - 1\) as \(x\) increases, demonstrating exponential convergence.

Applied rules:

• Nullcline: Line where \(\frac{dy}{dx} = 0\), representing points of horizontal tangents

• Direction analysis: Compare values of x and y to determine sign of slope

• Asymptotic behavior: Long-term behavior of solutions as x approaches infinity

Rules and methods, laws,...
\(\frac{dy}{dx} = f(x,y)\)
Slope Field Definition
Key definitions:

Slope field: A graphical representation showing small line segments with slopes equal to the derivative at various points \((x,y)\)

Nullcline: A curve along which the slope is zero (where \(\frac{dy}{dx} = 0\))

Equilibrium solution: A constant solution where \(\frac{dy}{dx} = 0\) for all x

Complete methodology:
  1. Identify the differential equation: Recognize the form \(\frac{dy}{dx} = f(x,y)\)
  2. Find critical points: Set \(\frac{dy}{dx} = 0\) to find equilibrium solutions
  3. Calculate slopes: Evaluate \(f(x,y)\) at multiple grid points
  4. Draw segments: Sketch short line segments with calculated slopes
  5. Analyze behavior: Understand solution trends and stability
Tip 1: For autonomous equations (\(\frac{dy}{dx} = f(y)\)), slopes are constant along horizontal lines.
Tip 2: The nullcline divides regions where the slope changes sign.
Tip 3: Solution curves are tangent to the slope field segments.
Tip 4: Always check for equilibrium solutions and their stability.
Common errors: Confusing the roles of x and y, miscalculating slopes, forgetting to check for equilibrium solutions.
Exam preparation: Practice with different types of differential equations, understand the relationship between slope fields and solution curves.
Formulas to know by heart:

• Slope field: Draw segments with slope = \(f(x,y)\) at point \((x,y)\)

• Nullcline: Solve \(f(x,y) = 0\) for the curve where slope is zero

• Equilibrium: Solutions where \(\frac{dy}{dx} = 0\) everywhere

• Stability: Check sign of \(\frac{dy}{dx}\) near equilibrium points

Slope Fields: Properties, Characteristics, and Applications
\(\frac{dy}{dx} = f(x,y)\)
Differential Equation
Basic Property
Slope = \(f(x,y)\) at \((x,y)\)
Slope at each point
Nullcline
\(f(x,y) = 0\)
Zero slope curve
Solution Curve
Tangent to field
Follows direction
Core Concepts:

Slope field: A collection of short line segments indicating the direction of solution curves at various points in the xy-plane.

Direction field: Alternative name for slope field, emphasizing the directional information.

Integral curve: A smooth curve that passes through the slope field and is tangent to each segment.

Construction Techniques:
  1. Grid creation: Establish a regular grid of points in the desired region
  2. Slope calculation: Evaluate the right side of the differential equation at each grid point
  3. Segment drawing: Draw short line segments with the calculated slope at each point
  4. Pattern recognition: Look for symmetries, nullclines, and equilibrium solutions
  5. Solution sketching: Draw representative solution curves following the direction of the field
Visual Analysis: Use the slope field to predict long-term behavior of solutions without solving analytically.
Qualitative Information: Slope fields provide insights about existence, uniqueness, and stability of solutions.
Error Checking: Verify that solution curves are everywhere tangent to the slope field.
Technology Aid: Use graphing tools to verify hand-drawn slope fields and solution curves.
Applications: Population dynamics, chemical reactions, heat transfer, and mechanical systems.
Limitations: Slope fields don't provide exact solutions, only qualitative behavior.
Accuracy: More grid points yield better approximation of solution behavior.
Essential Properties:

• Existence: If \(f(x,y)\) and \(\frac{\partial f}{\partial y}\) are continuous, then a unique solution exists through each point.

• Uniqueness: Solution curves cannot intersect in the domain where the conditions for existence are met.

• Tangency: Solution curves are everywhere tangent to the slope field segments.

• Continuation: Solution curves continue as long as they remain in the domain of \(f(x,y)\).

Questions & Answers

Question: I'm having trouble understanding how to interpret a slope field. How do I know which way the solution curves go just by looking at the field?

Answer: Great question! Think of the slope field as a compass that guides the direction of solution curves:

  • Each line segment in the slope field shows the instantaneous direction a solution curve would take if it passed through that point
  • Solution curves are smooth curves that are tangent to the slope field at every point they pass through
  • If you imagine placing a small stick at each point with the same slope as the field segment, solution curves follow the direction those sticks point
  • Start at any initial condition and "follow the arrows" - the solution curve moves in the direction indicated by the local slope

For example, in the slope field for \(\frac{dy}{dx} = x - y\), if you start at a point above the line \(y = x\), the segments point downward (negative slope), so the solution curve will initially decrease.

Question: What's the practical significance of slope fields in real-world applications? Why do we need to study them?

Answer: Slope fields have significant practical applications across many fields:

  • Population Dynamics: Modeling population growth with limited resources using equations like the logistic model \(\frac{dP}{dt} = rP(1-P/K)\)
  • Chemical Kinetics: Understanding reaction rates and concentrations over time
  • Epidemiology: Modeling spread of diseases through populations
  • Physics: Heat conduction, fluid flow, and mechanical systems
  • Economics: Market dynamics and economic growth models

Even when analytical solutions are difficult or impossible to find, slope fields allow us to understand the qualitative behavior of systems, predict long-term trends, and identify equilibrium states - all crucial for making informed decisions in engineering, science, and policy.

Question: How do I determine the stability of equilibrium solutions from a slope field?

Answer: Stability analysis from slope fields is visual and intuitive:

  • Stable equilibrium: If solution curves approach the equilibrium point from both sides as the independent variable increases, it's stable. In the slope field, you'll see arrows pointing toward the equilibrium line.
  • Unstable equilibrium: If solution curves move away from the equilibrium point, it's unstable. Arrows in the slope field point away from the equilibrium line.
  • Semi-stable: If curves approach from one side and move away from the other, it's semi-stable.

For example, in the logistic equation \(\frac{dy}{dx} = y(1-y)\):
- \(y = 0\) is unstable: arrows point away from this line
- \(y = 1\) is stable: arrows point toward this line from both above and below