MA 266: Lesson 2

Original Notes

Page 1

MA 266: Lesson 2

Integrals as General and Particular Solutions (1.2)

Warmup Problem

Verify that \( y(t) = -\cos t + 6 \) is the solution to

\[ \text{IVP} \quad \underbrace{y' = \sin t}_{\text{ODE}}, \quad \underbrace{y(0) = 5}_{\text{initial condition}} \]

1. Does it satisfy ODE?

\[ \frac{dy}{dt} = \frac{d}{dt}(-\cos t + 6) = \sin t \]

2. Does it satisfy the initial condition?

\[ y(0) = -\cos(0) + 6 = 5 \]


Page 2

How do you solve the IVP \( y' = \sin t, \quad y(0) = 5 \)?

Rewrite the differential equation:

\[ \frac{dy}{dt} = \sin t \]

Integrate both sides (or find the antiderivative) to obtain the general solution:

\[ y(t) = \int \sin t \, dt = -\cos t + C \]

The equation \( y(t) = -\cos t + C \) represents the general solution (a 1-parameter family of solutions).

Substitute the initial condition \( y(0) = 5 \) to solve for the constant \( C \) and find the particular solution:

\[ 5 = y(0) = -\cos(0) + C \implies C = 6 \]

Thus, the unique solution to the IVP is:

\[ y(t) = -\cos t + 6 \]


Page 3

Generalization: Solving a Simple ODE \( \frac{dy}{dt} = f(t) \)

To solve the equation, integrate both sides with respect to \( t \) (or find the antiderivative of \( f(t) \)):

\[ y(t) = \int f(t) \, dt + c \]

\( \leadsto \) General solution (or 1-parameter family of solutions).

Initial Value Problem

Suppose you are given an initial condition \( y(0) = y_0 \):

Find the constant \( c \) by plugging \( y(0) = y_0 \) into the general solution.


Page 4

Solve the IVP \( y' = 3x + \cos x, \quad y(0) = 5 \)

Integrate

\[ y(x) = \int (3x + \cos x) \, dx + C \] \[ y(x) = \frac{3x^2}{2} + \sin x + C \quad \Bigg\} \text{ General Solution} \] \[ 5 = y(0) = 3 \cdot \frac{0^2}{2} + \sin(0) + C \implies C = 5 \] \[ y(x) = \frac{3x^2}{2} + \sin x + 5 \implies \text{Solution to IVP} \]


Page 5

Second order ODE: \( y'' = 3x \)

Integrate twice to find the general solution

\[ y' = \int 3x \, dx + c = \frac{3x^2}{2} + c \] \[ y = \int \left( \frac{3x^2}{2} + c \right) dx + d \] \[ y = \frac{x^3}{2} + cx + d \]

General solution, or 2-parameter family of solutions


Page 6

Example:

\[ y'' = 3x + \cos x \]

integrate

\[ y' = \int 3x + \cos x \, dx + c = \frac{3x^2}{2} + \sin x + c \]

integrate

\[ y = \int \frac{3x^2}{2} + \sin x + c \, dx + d \] \[ = \frac{x^3}{2} - \cos x + cx + d \]

To find particular solution, we need two conditions

typically this is \( y(0), \, y'(0) \)

\[ y'' = f(t), \quad y(0) = y_0, \quad y'(0) = y_1 \]


Page 7

Solve: \( y'' = 3x, \quad y(0) = 4, \quad y'(0) = -3 \)

General solution: \( y(x) = \frac{x^3}{2} + cx + d \)

\[ y(0) = 4 \leadsto 4 = y(0) = \frac{0^3}{2} + c(0) + d \Rightarrow d = 4 \]

\[ y'(0) = -3 \leadsto y'(x) = 3\frac{x^2}{2} + c \]

\[ -3 = y'(0) = 0 + c \Rightarrow c = -3 \]

Solution is

\[ y = \frac{x^3}{2} - 3x + 4 \]


Page 8

Application: Velocity acceleration model

A one-dimensional horizontal line representing a position axis with a single marked point near the center labeled underneath as 'starting position x(0)'
Visual Description: A one-dimensional horizontal line representing a position axis with a single marked point near the center labeled underneath as 'starting position x(0)'

\( x(t) = \) position

\( v(t) = \) velocity \( \rightsquigarrow v(t) = x'(t) \)

\( a(t) = \) acceleration \( \rightsquigarrow a(t) = v'(t) = x''(t) \)

Newtons Second Law:

\[ F(t) = m \cdot a(t) \] \[ a(t) = \frac{F(t)}{m} \] \[ x''(t) = a(t) = \frac{F(t)}{m} \]


Page 9

eg: Constant Acceleration w \(a(t) = a\)

Suppose \(x(0) = x_0\), \(v(0) = v_0\) are initial position and velocity

\[ v'(t) = a(t) = a \]

integrate

\[ v(t) = at + c \quad \left. \begin{array}{l} v(0) = v_0 \end{array} \right\} \Rightarrow c = v_0 \] \[ v(t) = at + v_0 \] \[ x'(t) = v(t) = at + v_0 \]

integrate

\[ x(t) = \int at + v_0 \, dt + d = \frac{1}{2} a t^2 + v_0 t + d \]

plug in \(x(0) = x_0\)

\[ x(t) = \frac{1}{2} a t^2 + v_0 t + x_0 \]


Page 10

Kinematics graph plotting position, velocity, and acceleration versus time on a Cartesian coordinate plane: A horizontal line in blue depicts constant acceleration labeled a(t) = a_0. A straight line with positive slope in green depicts velocity labeled v(t) = at + v_0 with a y-intercept marked at v_0. A parabola opening upward in purple depicts position labeled x(t) = \frac{1}{2}at^2 + v_0 t + x_0 with a y-intercept marked at x_0, where the vertex (minimum) of the parabola aligns with the horizontal intercept of the velocity line.
Visual Description: Kinematics graph plotting position, velocity, and acceleration versus time on a Cartesian coordinate plane: A horizontal line in blue depicts constant acceleration labeled a(t) = a_0. A straight line with positive slope in green depicts velocity labeled v(t) = at + v_0 with a y-intercept marked at v_0. A parabola opening upward in purple depicts position labeled x(t) = \frac{1}{2}at^2 + v_0 t + x_0 with a y-intercept marked at x_0, where the vertex (minimum) of the parabola aligns with the horizontal intercept of the velocity line.

Page 11

eg: Velocity \(v(t)\) is given according to below graph, plot position \(x(t)\) and acceleration \(a(t)\) (assume \(x(0)=0\))

Velocity versus time graph v(t) with velocity on the vertical axis and time t on the horizontal axis. From t = 0 to t = 5, velocity is constant at v = 5 with an annotation slope = 0, bounding a shaded rectangular region with Area = 25. From t = 5 to t = 10, velocity decreases linearly from 5 to 0 with an annotation slope = -1, bounding a shaded triangular region with Area = 12.5.
Visual Description: Velocity versus time graph v(t) with velocity on the vertical axis and time t on the horizontal axis. From t = 0 to t = 5, velocity is constant at v = 5 with an annotation slope = 0, bounding a shaded rectangular region with Area = 25. From t = 5 to t = 10, velocity decreases linearly from 5 to 0 with an annotation slope = -1, bounding a shaded triangular region with Area = 12.5.
Acceleration versus time graph a(t) with horizontal axis t. From t = 0 to t = 5, acceleration is constant at a = 0 (line along the horizontal axis). From t = 5 to t = 10, acceleration drops to a constant value of a = -1.
Visual Description: Acceleration versus time graph a(t) with horizontal axis t. From t = 0 to t = 5, acceleration is constant at a = 0 (line along the horizontal axis). From t = 5 to t = 10, acceleration drops to a constant value of a = -1.

\[\int 5 \, dt = 5t\]

Position versus time graph x(t) plotted with x on the vertical axis and time t on the horizontal axis. Starting at (0, 0), the graph rises as a straight line with constant slope to position x = 25 at t = 5, followed by a concave-down parabolic curve from t = 5 to t = 10 reaching position x = 37.5.
Visual Description: Position versus time graph x(t) plotted with x on the vertical axis and time t on the horizontal axis. Starting at (0, 0), the graph rises as a straight line with constant slope to position x = 25 at t = 5, followed by a concave-down parabolic curve from t = 5 to t = 10 reaching position x = 37.5.

Page 12

A ball is dropped from the top of a 400ft building

  1. How long does it take to reach the ground
  2. What is the velocity when it hits the ground
Diagram of a vertical 400ft tall building on a horizontal ground line. At the top of the building, a ball is dropped straight downward, indicated by a vertical dashed path ending in a downward arrow pointing to the ground.
Visual Description: Diagram of a vertical 400ft tall building on a horizontal ground line. At the top of the building, a ball is dropped straight downward, indicated by a vertical dashed path ending in a downward arrow pointing to the ground.

\[ a(t) = \text{acceleration due to gravity} = -9.8\,\text{m/s}^2 = -32\,\text{ft/s}^2 \]

\[ x(0) = 400\,\text{ft} \]

What is the time when

\[ x(t) = 0 \]

Once you know the Answer for ① find \( v(t) \)

initial velocity is \( v(0) = 0 \)


Page 13

IVP:

\[ x'' = -32, \quad x(0) = 400, \quad x'(0) = v(0) = 0 \]

Integrate:

\[ x'(t) = -32t + c \quad \text{w/} \quad 0 = x'(0) = -32(0) + c \implies c = 0 \] \[ x'(t) = -32t \]

Integrate:

\[ x(t) = -16t^2 + d \quad \text{w/} \quad 400 = -16(0)^2 + d \implies d = 400 \] \[ x(t) = -16t^2 + 400 \]

1. Value of \( t \) when \( x(t) = 0 \)

\[ \implies -16t^2 + 400 = 0 \] \[ t^2 = \frac{400}{16} = 25 \] \[ t = 5\text{ sec.} \]

2. \( v(5) \)?

\[ v(t) = x'(t) = -32t \] \[ v(5) = -160\text{ ft/sec.} \]