Solved Exercises on Slope Fields in Differential Equations

Master slope fields: visual representation of differential equations, direction fields, and solution curves through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Basic slope field
Exercise 1
Sketch the slope field for the differential equation:
\(\frac{dy}{dx} = x + y\)
Definition:

Slope field: A collection of short line segments showing the slope of the solution curve at various points in the xy-plane.

Construction method:
  1. Select a grid of points in the xy-plane
  2. Calculate the slope at each point using the differential equation
  3. Draw short line segments with the calculated slopes
  4. Connect the segments to visualize solution curves
Equation
\(\frac{dy}{dx} = x + y\)
Sample Points
(0,0), (1,1), (2,-1)
Step 1: Calculate slopes at sample points

At (0,0): \(\frac{dy}{dx} = 0 + 0 = 0\) (horizontal segment)

At (1,1): \(\frac{dy}{dx} = 1 + 1 = 2\) (steep positive slope)

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

Step 2: Draw short line segments

At each point, draw a small line segment with the calculated slope

Horizontal at (0,0), steep upward at (1,1), moderate upward at (2,-1)

Step 3: Continue across the plane

Repeat for a grid of points to create the complete slope field

The slope field shows how solution curves behave locally
Final answer:

The slope field consists of short line segments with slopes determined by \(\frac{dy}{dx} = x + y\) at each point.

Applied rules:

• Point substitution: Substitute (x,y) values into the differential equation

• Slope calculation: The derivative gives the slope at each point

• Visual representation: Connect segments to approximate solution curves

2 Solution curve identification
Exercise 2
Given the slope field for \(\frac{dy}{dx} = -y\), sketch a solution curve passing through (0, 2).
Definition:

Solution curve: A curve that follows the direction indicated by the slope field and passes through a given initial condition.

Equation
\(\frac{dy}{dx} = -y\)
Initial Condition
y(0) = 2
Solution
y = 2e^{-x}
Step 1: Analyze the slope field

At any point (x,y), the slope is -y

Positive y values give negative slopes, negative y values give positive slopes

Step 2: Start at initial point (0,2)

Slope at (0,2) is -2, so the curve starts decreasing steeply

Step 3: Follow the slope directions

Move along the curve following the slope field arrows

The curve approaches y = 0 as x increases

The solution curve is y = 2e^{-x}, representing exponential decay
Final answer:

The solution curve passing through (0,2) is y = 2e^{-x}, showing exponential decay toward y = 0.

Applied rules:

• Initial conditions: Determine the specific solution from the family of solutions

• Direction following: Curve must align with slope field directions

• Behavior prediction: Use slope field to predict long-term behavior

3 Autonomous equation analysis
Exercise 3
Analyze the slope field for \(\frac{dy}{dx} = y(1-y)\) and identify equilibrium solutions.
Definition:

Autonomous equation: A differential equation where the right side depends only on y, not explicitly on x.

Equation
\(\frac{dy}{dx} = y(1-y)\)
Equilibrium Points
y = 0, y = 1
Stability
0: unstable, 1: stable
Step 1: Find equilibrium solutions

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

This occurs when y = 0 or y = 1

Step 2: Analyze stability

For y < 0: \(\frac{dy}{dx} = y(1-y) < 0\) (negative since y < 0, 1-y > 1)

For 0 < y < 1: \(\frac{dy}{dx} = y(1-y) > 0\) (positive since both factors positive)

For y > 1: \(\frac{dy}{dx} = y(1-y) < 0\) (negative since y > 0, 1-y < 0)

Step 3: Interpret the slope field

Solutions move away from y = 0 (unstable equilibrium)

Solutions move toward y = 1 (stable equilibrium)

Step 4: Analyze solution behavior

Solutions starting near y = 0 diverge away from it

Solutions starting near y = 1 converge to it

Equilibrium points: y = 0 (unstable), y = 1 (stable)
Final answer:

The equilibrium solutions are y = 0 (unstable) and y = 1 (stable). Solutions approach y = 1 when 0 < y(0) < 1.

Applied rules:

• Equilibrium detection: Set \(\frac{dy}{dx} = 0\) to find constant solutions

• Stability analysis: Examine sign of derivative around equilibrium points

• Behavior prediction: Use slope field to determine long-term trends

Rules and methods, laws,...
\(\frac{dy}{dx} = f(x,y)\)
General Form of First-Order DE
Slope Field
Draw segment with slope f(x,y) at (x,y)
Visual representation of differential equation
Equilibrium
f(x,y) = 0
Constant solutions where dy/dx = 0
Solution Curve
Follow slope field directions
Passes through initial condition
Key definitions:

Slope field: A visual representation showing the slope of solution curves at various points in the xy-plane

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

Direction field: Alternative name for slope field, showing direction of solution curves

Complete methodology:
  1. Analyze the differential equation: Identify if it's autonomous, separable, etc.
  2. Find equilibrium points: Solve f(x,y) = 0 for constant solutions
  3. Determine stability: Analyze behavior near equilibrium points
  4. Sketch slope field: Draw segments with calculated slopes at grid points
  5. Identify solution curves: Trace paths that follow the slope directions
Tip 1: In autonomous equations (f(y)), slope field is independent of x, so it's horizontally uniform.
Tip 2: Equilibrium points appear as horizontal lines in the slope field.
Tip 3: Solution curves never cross, as they represent unique solutions to the differential equation.
Tip 4: Steep slopes indicate rapid change in the solution, while gentle slopes indicate slow change.
Common errors: Misinterpreting slope direction, confusing equilibrium points with undefined points, ignoring initial conditions.
Exam preparation: Practice identifying equilibrium points, determining stability, sketching solution curves from slope fields.
Formulas to know by heart:

• Slope at point (x₀,y₀): \(\text{slope} = f(x_0, y_0)\)

• Equilibrium condition: \(\frac{dy}{dx} = 0\)

• Stability criterion: For y' = f(y), if f'(y*) < 0 then y* is stable

• Autonomous equation: \(\frac{dy}{dx} = f(y)\) (no explicit x dependence)

Solution: Exercises 4 to 5
4 Logistic growth model
Exercise 4
Analyze the slope field for the logistic equation: \(\frac{dy}{dx} = ry(1-\frac{y}{K})\) where r = 0.5 and K = 10.
Definition:

Logistic equation: Models population growth with carrying capacity, where growth rate decreases as population approaches maximum sustainable level.

Equation
\(\frac{dy}{dx} = 0.5y(1-\frac{y}{10})\)
Equilibrium Points
y = 0, y = 10
Stability
0: unstable, 10: stable
Step 1: Identify parameters

r = 0.5 (growth rate), K = 10 (carrying capacity)

Equation becomes: \(\frac{dy}{dx} = 0.5y(1-\frac{y}{10}) = 0.5y - 0.05y^2\)

Step 2: Find equilibrium points

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

This gives y = 0 or \(1-\frac{y}{10} = 0\), so y = 10

Step 3: Analyze intervals of increase/decrease

For y < 0: \(\frac{dy}{dx} < 0\) (decreasing)

For 0 < y < 10: \(\frac{dy}{dx} > 0\) (increasing)

For y > 10: \(\frac{dy}{dx} < 0\) (decreasing)

Step 4: Determine stability

y = 0 is unstable: solutions move away from it

y = 10 is stable: solutions approach it as x → ∞

Step 5: Describe solution behavior

Solutions with y(0) > 0 approach the carrying capacity y = 10

Solutions grow fastest when y ≈ K/2 = 5

Population approaches carrying capacity K = 10 regardless of initial value y(0) > 0
Final answer:

The equilibrium points are y = 0 (unstable) and y = 10 (stable). Solutions with positive initial conditions approach y = 10 as x increases, modeling logistic growth toward carrying capacity.

Applied rules:

• Logistic model: Captures limited growth with carrying capacity

• Stability analysis: Positive growth rate for 0 < y < K, negative for y > K

• Biological interpretation: Population grows rapidly initially, slows as it approaches carrying capacity

5 Separable equation visualization
Exercise 5
Consider \(\frac{dy}{dx} = \frac{x}{y}\). Sketch the slope field and identify regions where the equation is undefined.
Definition:

Separable equation: A differential equation where variables can be separated on opposite sides of the equation.

Equation
\(\frac{dy}{dx} = \frac{x}{y}\)
Undefined Region
y = 0
General Solution
y² - x² = C
Step 1: Identify domain restrictions

The equation \(\frac{dy}{dx} = \frac{x}{y}\) is undefined when y = 0

This creates a vertical line of discontinuity at y = 0

Step 2: Calculate slopes in different regions

For y > 0: \(\frac{dy}{dx}\) has same sign as x

For y < 0: \(\frac{dy}{dx}\) has opposite sign as x

At x = 0: \(\frac{dy}{dx} = 0\) (horizontal segments)

Step 3: Analyze symmetry properties

The equation is symmetric with respect to y-axis reflection

Negative y values give opposite slopes to positive y values

Step 4: Identify solution families

By separation of variables: y dy = x dx

Integrating: \(\frac{y^2}{2} = \frac{x^2}{2} + C\)

Which gives: \(y^2 - x^2 = C\), representing hyperbolas

Step 5: Describe the slope field

Slopes approach infinity as y approaches 0

Solution curves are hyperbolas opening horizontally

\(y^2 - x^2 = C\) represents family of hyperbolas as solution curves
Final answer:

The slope field is undefined along y = 0. Solution curves are hyperbolas of the form \(y^2 - x^2 = C\). The slope field exhibits symmetry about the x-axis, with slopes approaching infinity near y = 0.

Applied rules:

• Domain considerations: Identify where the differential equation is undefined

• Separation of variables: Technique to solve certain differential equations

• Geometric interpretation: Solution curves follow slope field directions

Key Concepts: Slope Fields, Equilibrium Points, Stability
\(\frac{dy}{dx} = f(x,y)\)
First-Order Differential Equation
Key definitions:

Slope field: A visual representation showing the slope of solution curves at various points in the xy-plane

Direction field: Alternative name for slope field, indicating the direction of solution curves

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

Stable equilibrium: Nearby solutions approach the equilibrium point

Unstable equilibrium: Nearby solutions move away from the equilibrium point

Complete methodology:
  1. Equation Analysis: Identify the form of the differential equation
  2. Grid Creation: Select a grid of points in the xy-plane
  3. Slope Calculation: Compute \(\frac{dy}{dx} = f(x_i, y_j)\) at each grid point
  4. Segment Drawing: Draw short line segments with calculated slopes
  5. Equilibrium Identification: Find points where f(x,y) = 0
  6. Stability Analysis: Determine if equilibria are stable or unstable
  7. Solution Curve Sketching: Draw curves following the slope field directions
Tip 1: In autonomous equations \(\frac{dy}{dx} = f(y)\), the slope field is horizontally uniform (same pattern for all x).
Tip 2: Solution curves never intersect because of the uniqueness theorem for differential equations.
Tip 3: Horizontal segments occur where \(\frac{dy}{dx} = 0\), vertical segments occur where the slope is undefined.
Tip 4: The slope field provides qualitative information about solution behavior even when analytical solutions are difficult to find.
Common applications: Population dynamics, chemical reactions, heat transfer, fluid flow, and other physical systems modeled by differential equations.
Visualization importance: Slope fields provide geometric intuition for differential equations, helping understand solution behavior without solving analytically.
Essential formulas and concepts:

• Slope at (x₀,y₀): \(\text{slope} = f(x_0, y_0)\)

• Equilibrium condition: \(\frac{dy}{dx} = 0\) or \(f(x,y) = 0\)

• Autonomous equation: \(\frac{dy}{dx} = f(y)\) (independent of x)

• Stability criterion: For y' = f(y), equilibrium y* is stable if f'(y*) < 0

• Separable equation: \(\frac{dy}{dx} = g(x)h(y)\), solvable by integration

Questions & Answers

Question: I'm having trouble understanding how to interpret slope fields. When I look at a slope field, how do I determine the long-term behavior of solutions?

Answer: Great question! Interpreting slope fields involves several key observations:

  • Equilibrium points: Look for horizontal segments (slope = 0). These indicate constant solutions where the system may settle.
  • Trend lines: Follow the general direction of the slopes. Do they seem to approach certain values or diverge?
  • Stability: Near equilibrium points, observe if nearby slopes point toward or away from the equilibrium.

For example, if you see slopes pointing toward y = 3 from both above and below, then y = 3 is likely a stable equilibrium. If slopes point away from y = 1, it's unstable.

The slope field essentially shows the "flow" of the system. Imagine water flowing according to the direction of the slopes - where would particles end up?

Question: How do I sketch solution curves accurately through a slope field? What's the best technique to ensure the curve follows the field properly?

Answer: Here's a systematic approach for sketching solution curves:

  1. Start at the initial condition: Mark your starting point precisely
  2. Follow local slopes: Begin drawing in the immediate vicinity of your starting point, matching the slope field direction
  3. Move incrementally: Progress in small steps, constantly adjusting direction to match the slope field
  4. Check consistency: Ensure your curve doesn't cross other solution curves (uniqueness property)
  5. Extend in both directions: Continue the curve forward and backward from the initial point

Think of it as "connecting the dots" of slope directions. The curve should appear smooth and tangent to the slope segments at every point it passes through.

Question: What's the connection between slope fields and real-world applications? How do I translate a physical problem into a slope field?

Answer: Slope fields are incredibly useful for modeling real-world phenomena:

  • Population growth: \(\frac{dP}{dt} = rP(1-P/K)\) models growth with carrying capacity
  • Newton's law of cooling: \(\frac{dT}{dt} = -k(T-T_a)\) shows temperature approaching ambient temperature
  • Chemical reactions: Rate equations describe how concentrations change over time

To translate a physical problem: identify the rate of change (derivative), determine what affects this rate (the right side of the equation), and create the slope field to visualize how the system evolves.

The slope field reveals patterns like steady states (equilibrium), stability, and long-term trends without solving the equation analytically.