Verifying a Solution to an ODE: Differential Equations HW Help!

  • Context: MHB 
  • Thread starter Thread starter MarkFL
  • Start date Start date
  • Tags Tags
    Ode
Click For Summary
SUMMARY

The discussion focuses on verifying the solution to the ordinary differential equation (ODE) y'' + y = sec(t) for the function y = (cos t) ln(cos t) + t sin t, within the interval 0 < t < π/2. The verification process involves calculating the first and second derivatives of the given function using the Product Rule, Logarithmic Rule, Chain Rule, and Trigonometric Rules. The final computation confirms that the left-hand side of the equation equals sec(t), thereby validating the proposed solution.

PREREQUISITES
  • Understanding of ordinary differential equations (ODEs)
  • Familiarity with differentiation rules: Product Rule, Logarithmic Rule, Chain Rule
  • Knowledge of trigonometric derivatives
  • Basic calculus concepts
NEXT STEPS
  • Study the application of the Product Rule in more complex functions
  • Explore the use of the Logarithmic Rule in differentiation
  • Learn about solving different types of ordinary differential equations
  • Investigate the implications of trigonometric identities in calculus
USEFUL FOR

Students and educators in mathematics, particularly those studying calculus and differential equations, as well as anyone seeking to improve their understanding of derivative calculations and ODE solutions.

MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
Here is the question:

Differential Equations HW HELP!?

13. y'' + y = sec(t), 0< t < π/2; y = (cos t) ln cos t + t sin t

In each of Problems 7 through 14, verify that each given function is a solution of the differential equation.

I'm currently trying to review derivatives, but trig derivatives are super hard. Help?

I have posted a link there to this topic so the OP can see my work.
 
Physics news on Phys.org
Hello Clara I,

If the given solution is indeed a solution to the ODE, then we should find by adding the second derivative of the solution to itself, gives $\sec(t)$.

In order to differentiate the given solution with respect to $t$, we will need the following rules:

The Product Rule:

$$\frac{d}{du}\left(f(u)g(u) \right)=f(u)\frac{d}{du}(g(u))+\frac{d}{du}(f(u))g(u)$$

The Logarithmic Rule:

$$\frac{d}{du}(\ln(u))=\frac{1}{u}$$

The Chain Rule:

$$\frac{d}{du}\left(f(g(u)) \right)=\frac{df}{dg}\cdot\frac{dg}{du}$$

Trigonometric Rules:

$$\frac{d}{du}\left(\sin(u) \right)=\cos(u)$$

$$\frac{d}{du}\left(\cos(u) \right)=-\sin(u)$$

Using these rules, we may now compute:

$$y=\cos(t)\ln\left(\cos(t) \right)+t\sin(t)$$

$$\frac{dy}{dt}=\cos(t)\cdot\frac{-\sin(t)}{\cos(t)}-\sin(t)\ln\left(\cos(t) \right)+t\cos(t)+\sin(t)=t\cos(t)-\sin(t)\ln\left(\cos(t) \right)$$

$$\frac{d^2y}{dt^2}=-t\sin(t)+\cos(t)+\frac{\sin^2(t)}{\cos(t)}-\cos(t)\ln\left(\cos(t) \right)=-t\sin(t)+\frac{\cos^2(t)+\sin^2(t)}{\cos(t)}-\cos(t)\ln\left(\cos(t) \right)=$$

$$-t\sin(t)+\sec(t)-\cos(t)\ln\left(\cos(t) \right)$$

And so we find:

$$\frac{d^2y}{dt^2}+y=-t\sin(t)+\sec(t)-\cos(t)\ln\left(\cos(t) \right)+\cos(t)\ln\left(\cos(t) \right)+t\sin(t)=\sec(t)$$

Thus, we have shown the given solution does in fact satisfy the given ODE.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 52 ·
2
Replies
52
Views
8K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K