Math 242 Notes — Section 1.1 & 1.2: DEs, ODEs vs PDEs, Separation of Variables, Direct Integration, and IVPs
Separation of Variables (Key Example)
- Goal: Solve a separable DE by placing all x-terms and dx on one side and all y-terms and dy on the other, then integrate.
- The given DE (from the transcript) is separable: This can be rewritten by separating variables as:
- Integrate both sides:
- Exponentiate to solve for y:
Let (K may be any real constant, including 0 for the zero-solution).
Thus the general solution is
Note: for a specific K, the origin can cause issues with the tangent-intercept argument; the derivation of the tangency property assumes the base point x_0 ≠ 0. - Tangent-line check (geometric property of the family): if the solution is y=Kx^2 and the tangent is taken at (x0, y0) with y0=Kx0^2, then the tangent line has slope
The tangent line is
Its x-intercept occurs when y=0: Hence the tangent line intersects the x-axis at $(x0/2,\,0)$, as stated in the problem.
1.1: WORDS (Definitions, Concepts, and Examples)
- Differential Equation (DE): an equation that involves a function, its independent variables, and its derivatives.
- Examples:
- (a)
- (b)
- (c)
- Solution of a DE: a function that satisfies the differential equation.
- Examples of solutions:
- (a) For , all functions of the formare solutions, since
and - (b) For , all functions of the formwhere C is a constant.
- (c) For , functions such as(with constant a) satisfy the PDE since
so that when a is chosen appropriately (here a acts as a constant parameter; in the particular calculation a is used to illustrate the process).
- The order of a DE: the largest order of derivative that appears in the equation.
- Examples: is second-order; is first-order.
- Ordinary vs Partial Differential Equations:
- ODE: involves a function of a single variable. PDE: involves a function of multiple variables.
- In Math 242 we study ODEs; PDEs are studied in Math 521.
- Example family: Find all r such that $y=e^{rx}$ is a solution of
- Substitute: $y'=re^{rx}$, $y''=r^2e^{rx}$, so
- Since $e^{rx}\neq 0$, solve $r^{2}-2r-3=0=(r-3)(r+1)$, giving
- Therefore the general solution is a linear combination of the two independent solutions:
- Substitute: $y'=re^{rx}$, $y''=r^2e^{rx}$, so
- Example (IVP technique hint): often we use initial conditions to determine constants in the general solution.
- Additional context: The chapter emphasizes understanding what constitutes a solution, how to verify it, and how to interpret DEs conceptually (order, independence, and types of equations).
1.1: Section on Exponential Solutions and Characteristic Equations
- If we try $y=e^{rx}$ in a linear constant-coefficient DE, we obtain a characteristic equation for $r$.
- Example: y''-2y'-3y=0
- Characteristic equation: with roots
- Corresponding exponential solutions:
- General solution:
1.1.1: Example 2.1 (DE from a Tangent Intercept Condition)
- Problem: Find and solve a DE describing a function $y=g(x)$ such that the tangent to the curve at $(x0,y0)$ intersects the x-axis at $(2,0)$ for all points on the curve.
- Geometric setup:
- Slope of tangent at $(x0,y0)$ is $y'(x_0)$.
- Slope of the line through $(x0,y0)$ and $(2,0)$ is
m=rac{y0-0}{x0-2}=rac{y0}{x0-2}. - Since the tangent line has slope $y'(x0)$, we set
- Thus the DE describing the curve is
- Solve by separation:
Integrate:
Exponentiate:
Hence
with an arbitrary constant $K$ (including $K=0$ giving the zero-solution). - Verification (qualitative): Each member $y=K(x-2)$ is a straight line through $(2,0)$. The tangent to the curve at every point coincides with the line itself, so the tangent line at any point passes through $(2,0)$ as required.
1.2: DIRECT INTEGRATION
- Direct integration method for first-order DEs of the form $y' = f(x)$:
- Integrate both sides:
- Example: Solve the IVP $y' = \ln x$, with $y(1)=5$.
- Integrate:
- Apply initial condition: $y(1)=5$ gives
- Solution:
- Integration by Parts (reformulation of the product rule):
- Product rule:
- Integration by Parts formula:
- Example: Use integration by parts to compute
- Take $u=\ln x$, $dv=dx$; then $du=dx/x$, $v=x$:
- Take $u=\ln x$, $dv=dx$; then $du=dx/x$, $v=x$:
- Observations:
- Integration by parts is suited for products of unrelated functions, inverse functions, or tricky trigonometric integrals.
1.2: Example Verifications and IVPs
Example: Verify that $y = x\cos(\ln x)$ satisfies the DE
- Compute derivatives:
- $y = x\cos(\ln x)$.
- $y' = \cos(\ln x) - \sin(\ln x)$ (one can derive this via product rule and chain rule; note that a common transcription in the notes shows a variant but the correct derivative is this).
- $y'' = -\frac{\sin(\ln x) + \cos(\ln x)}{x}$.
- Substitute into the left-hand side:
- Conclusion: $y = x\cos(\ln x)$ is a solution.
Example: Solve the IVP for $y'' + y = 0$ with $y(0)=3$, $y'(0)=4$.
- General solution of $y'' + y = 0$ is
- Apply initial conditions:
- $y(0) = a\sin 0 + b\cos 0 = b = 3$ ⇒ $b=3$.
- $y'(x) = a\cos x - b\sin x$; thus $y'(0) = a\cos 0 - b\sin 0 = a = 4$ ⇒ $a=4$.
- Solution:
- Verification: so
- Initial conditions check: $y(0) = 3$, $y'(0) = 4$.
- General solution of $y'' + y = 0$ is
Note on IVPs: An Initial Value Problem (IVP) is a DE together with initial conditions; a well-posed IVP has a unique solution (this is a central concern in Math 242).
Quick Reference (Formulas)
- Separation of Variables: and then integrate.
- Direct Integration:
- Integration by Parts:
- Tangent-line intercept check (geometry of DEs) and general solution forms depend on the specific problem context.
- Common families:
- Linear constant-coefficient DEs: use characteristic equations.
- Separable DEs: reduce to two single-variable integrals.
- IVPs yield constants determined by initial conditions.