Fiveable

Linear Algebra and Differential Equations Unit 8 Review

QR code for Linear Algebra and Differential Equations practice questions

8.1 Separable and Linear First-Order Equations

8.1 Separable and Linear First-Order Equations

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
Linear Algebra and Differential Equations
Unit & Topic Study Guides

First-order differential equations are the building blocks of more complex systems. They come in two main flavors: separable and linear. Knowing how to spot and solve these equations is key to tackling real-world problems in science and engineering.

Separable equations let you split variables, while linear ones follow a standard form. Both types have specific solving methods: separation of variables and integrating factor, respectively. Mastering these techniques opens doors to understanding more advanced differential equations and their applications.

Classifying Differential Equations

Types of First-Order Differential Equations

  • First-order differential equations involve a function and its first derivative, typically in the form dydx=f(x,y)\frac{dy}{dx} = f(x,y)
  • Separable differential equations take the form dydx=g(x)h(y)\frac{dy}{dx} = g(x)h(y), allowing variables x and y to be separated onto different sides
  • Linear first-order differential equations have the standard form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x), where P(x) and Q(x) are functions of x only
  • Non-linear equations may still be separable if rearranged into the separable form
  • Homogeneous linear first-order equations follow the form dydx+P(x)y=0\frac{dy}{dx} + P(x)y = 0 where Q(x) = 0

Identifying Equation Types

  • Presence of y and dy/dx terms in a product indicates a non-linear equation
  • Recognition of equation forms guides selection of appropriate solution methods
  • Separation of variables method applied for separable equations
  • Integrating factor method used for linear equations
  • Careful examination of equation structure reveals classification (linear, separable, non-linear)
  • Practice with various equation forms enhances recognition skills
  • Some equations may be transformed into separable or linear forms through substitution or manipulation

Solving Separable Equations

Separation of Variables Method

  • Rearrange equation to isolate y and dy on one side, x and dx on the other
  • Separated equation takes the form 1h(y)dy=g(x)dx\frac{1}{h(y)}dy = g(x)dx
  • Integrate both sides: 1h(y)dy=g(x)dx+C\int\frac{1}{h(y)}dy = \int g(x)dx + C
  • Resulting equation typically in implicit form F(y)=G(x)+CF(y) = G(x) + C
  • F(y) and G(x) represent antiderivatives of 1h(y)\frac{1}{h(y)} and g(x) respectively
  • In some cases, solve explicitly for y as a function of x, yielding y=f(x,C)y = f(x,C)
  • C represents the constant of integration

Considerations and Examples

  • Watch for potential division by zero when separating variables (may lead to extraneous or lost solutions)
  • Example: Solve dydx=xy\frac{dy}{dx} = xy
    • Separate variables: 1ydy=xdx\frac{1}{y}dy = xdx
    • Integrate: lny=12x2+C\ln|y| = \frac{1}{2}x^2 + C
    • Solve for y: y=±e12x2+Cy = \pm e^{\frac{1}{2}x^2 + C} or y=Ae12x2y = Ae^{\frac{1}{2}x^2} where A is a new constant
  • Example: Solve dydx=xy2\frac{dy}{dx} = \frac{x}{y^2}
    • Separate variables: y2dy=xdxy^2dy = xdx
    • Integrate: 13y3=12x2+C\frac{1}{3}y^3 = \frac{1}{2}x^2 + C
    • Implicit form is the final solution
Types of First-Order Differential Equations, Direction Fields and Numerical Methods · Calculus

Solving Linear Equations

Integrating Factor Method

  • Transform standard form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x) into an exact differential equation
  • Define integrating factor μ(x)=eP(x)dx\mu(x) = e^{\int P(x)dx}
  • Multiply both sides of original equation by μ(x)
  • Resulting equation: ddx[μ(x)y]=μ(x)Q(x)\frac{d}{dx}[\mu(x)y] = \mu(x)Q(x)
  • Integrate both sides: d[μ(x)y]=μ(x)Q(x)dx\int d[\mu(x)y] = \int \mu(x)Q(x)dx
  • Solve for y to get general solution: y=1μ(x)[μ(x)Q(x)dx+C]y = \frac{1}{\mu(x)}[\int \mu(x)Q(x)dx + C]

Application and Examples

  • Method works for all linear first-order differential equations (homogeneous and non-homogeneous)
  • Example: Solve dydx+2xy=x\frac{dy}{dx} + 2xy = x
    • Identify P(x) = 2x and Q(x) = x
    • Calculate integrating factor: μ(x)=e2xdx=ex2\mu(x) = e^{\int 2xdx} = e^{x^2}
    • Multiply equation by μ(x): ex2dydx+2xex2y=xex2e^{x^2}\frac{dy}{dx} + 2xe^{x^2}y = xe^{x^2}
    • Integrate: ex2y=xex2dx+C=12ex2+Ce^{x^2}y = \int xe^{x^2}dx + C = \frac{1}{2}e^{x^2} + C
    • Solve for y: y=12+Cex2y = \frac{1}{2} + Ce^{-x^2}
  • Example: Solve dydxy=ex\frac{dy}{dx} - y = e^x
    • Integrating factor: μ(x)=ex\mu(x) = e^{-x}
    • General solution: y=ex+Cexy = e^x + Ce^x

General vs Particular Solutions

General Solutions

  • Include arbitrary constant C, representing entire family of solutions
  • For separable equations, typically in form F(y)=G(x)+CF(y) = G(x) + C or y=f(x,C)y = f(x,C)
  • In linear equations, take form y=1μ(x)[μ(x)Q(x)dx+C]y = \frac{1}{\mu(x)}[\int \mu(x)Q(x)dx + C]
  • Represent all possible solutions to the differential equation
  • Graphically depicted as a family of curves in the xy-plane

Particular Solutions and Initial Value Problems

  • Obtained by using initial conditions to determine specific value of constant C
  • Initial value problem (IVP) finds particular solution satisfying given initial condition y(x0)=y0y(x_0) = y_0
  • Process to find particular solution:
    1. Substitute initial condition into general solution
    2. Solve for C
    3. Substitute C value back into general solution
  • Example: For y=12+Cex2y = \frac{1}{2} + Ce^{-x^2} with initial condition y(0) = 1
    1. Substitute: 1=12+C1 = \frac{1}{2} + C
    2. Solve: C=12C = \frac{1}{2}
    3. Particular solution: y=12+12ex2y = \frac{1}{2} + \frac{1}{2}e^{-x^2}
  • Existence and uniqueness theorem states conditions for unique IVP solution
  • Graphical representations (direction fields, solution curves) provide insights into solution behavior
Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly → and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot

2,589 studying →