Solving a Second Order Differential Equation with Circuit Components

  • Thread starter Thread starter formulajoe
  • Start date Start date
  • Tags Tags
    Circuits Diff eq
Click For Summary

Homework Help Overview

The discussion revolves around solving a second-order differential equation related to circuit components, specifically in the context of voltage over time, represented as dv(t)/dt + 200v(t) = 10 cos(100t) with the initial condition v(0)=0. Participants explore the nature of the solution, which is expected to include both exponential and sinusoidal components.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the method of finding a particular solution using sinusoidal components and integrating factors. There are questions about determining constants and integrating specific terms. Some participants express confusion about the integration process and the relationship between the variables.

Discussion Status

The conversation is ongoing, with various participants offering different methods and insights. Some have provided detailed steps for integration, while others are still grappling with the concepts and calculations. There is a recognition of the complexity involved in the integration process, and some participants have indicated they are beginning to understand the material better.

Contextual Notes

Participants note discrepancies between their results and those in their textbooks, particularly regarding the expected form of the solution, which includes exponential, sine, and cosine components. There is also mention of the need to set constants based on initial conditions.

formulajoe
Messages
177
Reaction score
0
dv(t)/dt + 200v(t) = 10 cos(100t)
v(0)=0

find v(t)
i know v(t) is going to have an exponential and sinusoid component

i also know that 200*ke^-st=-ske^-st
so, s = -200. i don't know how to find k.
i also can't figure out how the sinusoid part is going to be. the equations from my circuits book don't look anything like what i need.
 
Physics news on Phys.org
Take the particular solution of the nonhomogenous LODE as a combination
[tex]v_{p}(t)=A\sin 100t+B\cos 100t[/tex]

Plug it in the equation and find A and B.Then find the constant of integration (the one which resulted when integrating the homogenous LODE) by asking that
[tex]v(0)=v_{hom}(0)+v_{p}(0)=0[/tex]

Daniel.
 
how do i find the k for the exponential portion?
 
This is a first order differential equation that you can solve by multiplying by an integrating factor.

In an equation of the form :

[tex]v'(t) + f(t)v = g(t)[/tex]

you can multiply both sides by [tex]e^{\int{f(t)}dt[/tex] (this is called an integrating factor)

to get

[tex]\frac{d}{dt} ({v(t)e^{\int{f(t)}dt}) = g(t)e^{\int{f(t)}dt[/tex]

which can then be solved by integrating both sides wrt [tex]t[/tex].

What is [tex]f(t)[/tex] in this case ? What is the corresponding value of [tex]e^{\int{f(t)}dt[/tex] ?
 
Last edited:
formulajoe said:
how do i find the k for the exponential portion?


Separate variables and integrate.
[tex]\frac{dv(t)}{dt}+200v(t)=0[/tex]

Daniel.
 
oh man, I am a complete bonehead. i know how to do these.
first-order linear differential equation, for some reason it didnt click that that was what it was.
 
Look at the bright side...You finally got the "click"... :-p

Daniel.
 
Curious3141 said:
This is a first order differential equation that you can solve by multiplying by an integrating factor.

In an equation of the form :

[tex]v'(t) + f(t)v = g(t)[/tex]

you can multiply both sides by [tex]e^{\int{f(t)}dt[/tex] (this is called an integrating factor)

to get

[tex]\frac{d}{dt} ({v(t)e^{\int{f(t)}dt}) = g(t)e^{\int{f(t)}dt[/tex]

which can then be solved by integrating both sides wrt [tex]t[/tex].

What is [tex]f(t)[/tex] in this case ? What is the corresponding value of [tex]e^{\int{f(t)}dt[/tex] ?

the final form of this equation has an integral, this can't be right.

heres what I am getting

integrating factor = e^-200t

so,e^200t [tex]int{(e^-200t)(10cos(100t))}dt[/tex]
that means integration by parts. as far as i can tell, I am doing everything right.
 
Last edited:
Nope,his version is right,too.It's an alternative.Obviously will lead to the same result like mine.

Daniel.
 
  • #10
Tell me wherever you're lost in the following :

In this case,

[tex]f(t) = 200[/tex]

[tex]e^{\int{f(t)}dt = e^{200t}[/tex]

You now have the differential equation :

[tex]\frac{d}{dt} (v(t)e^{200t}) = 10 \cos(100t)e^{200t}[/tex]

Integration will give you :

[tex]v(t)e^{200t} = \int{10 \cos(100t)e^{200t}}dt + constant[/tex]

The easiest way to evaluate the integral on the RHS is to make the substitution [tex]x = 100t[/tex] then integrate by parts. You'll have to integrate by parts twice to solve this one. Don't forget to solve for the constant by setting [tex]v = 0[/tex] at [tex]t = 0[/tex]

The final expression is :

[tex]v(t) = \frac{1}{50}(\sin(100t) + 2\cos(100t) - 2e^{-200t})[/tex]
 
Last edited:
  • #11
im not getting this stuff to work out like the book does. the answer in the back of the book has a exp part, a sin part, and a cos part. but I am getting left with integrals in my final equations.

and when i try to separate the variables and solve for k, the variables I am separating for are v and t. i end up with t= -ln200v.
 
  • #12
formulajoe said:
im not getting this stuff to work out like the book does. the answer in the back of the book has a exp part, a sin part, and a cos part. but I am getting left with integrals in my final equations.

and when i try to separate the variables and solve for k, the variables I am separating for are v and t. i end up with t= -ln200v.

Is my answer the same as the book answer (it should be, because it satisfies the given d.e.) ?
 
  • #13
okay, i follow all that. i was getting lost at the part where both sides are integrated.
i was setting it up wrong.
thanks
 
  • #14
Good. :smile:
 
  • #15
your answer works with the books.
 
  • #16
Curious3141 said:
Tell me wherever you're lost in the following :

In this case,

[tex]f(t) = 200[/tex]

[tex]e^{\int{f(t)}dt = e^{200t}[/tex]

You now have the differential equation :

[tex]\frac{d}{dt} (v(t)e^{200t}) = 10 \cos(100t)e^{200t}[/tex]

Integration will give you :

[tex]v(t)e^{200t} = \int{10 \cos(100t)e^{200t}}dt + constant[/tex]

The easiest way to evaluate the integral on the RHS is to make the substitution [tex]x = 100t[/tex] then integrate by parts. You'll have to integrate by parts twice to solve this one. Don't forget to solve for the constant by setting [tex]v = 0[/tex] at [tex]t = 0[/tex]

The final expression is :

[tex]v(t) = \frac{1}{50}(\sin(100t) + 2\cos(100t) - 2e^{-200t})[/tex]

okay, I am still having a problem working through this on my own.

i have [tex]v(t) = 10\sin(100t) + 20\cos(100t) + 20\int{cos(100t)e^{200t}}dt[/tex]
how do i get rid of the integral?
 
  • #17
formulajoe said:
okay, I am still having a problem working through this on my own.

i have [tex]v(t) = 10\sin(100t) + 20\cos(100t) + 20\int{cos(100t)e^{200t}}dt[/tex]
how do i get rid of the integral?

I'll go through the integration step by step. It's a little tedious, so I hope you're appreciative. :-p

You want to work out [tex]\int{10 \cos(100t)e^{200t}}dt = 10\int{\cos(100t)e^{200t}}dt[/tex]

Let [tex]I = \int{\cos(100t)e^{200t}}dt[/tex]

Substitute [tex]100t = x[/tex]

[tex]I = \int{\cos(x)e^{2x}}dt = \frac{1}{100}\int{\cos(x)e^{2x}}dx[/tex]

Now let [tex]F = \int{\cos(x)e^{2x}}dx[/tex]

Integration by parts, [tex]\int udw + \int wdu = uw[/tex]

First let [tex]u = e^{2x}, dw = \cos x[/tex]

[tex]\int{e^{2x}\cos{x}}dx + 2\int{\sin x}{e^{2x}}dx = (e^{2x})(\sin x)[/tex] ---eqn (1)

From the LHS of eqn (1), we need to find [tex]G = \int{(\sin x)e^{2x}}dx[/tex]

Integrate again by parts. This time let [tex]u = e^{2x}, dw = \sin x[/tex]

Then [tex]\int{(\sin x)e^{2x}}dx + 2\int{(-\cos x) (e^{2x})}dx = -e^{2x}\cos x[/tex]

Therefore [tex]G = -e^{2x}\cos x + 2\int{(\cos x)(e^{2x})}dx[/tex] ---eqn(2)

Put the expression for [itex]G[/itex] from eqn (2) back into eqn (1) and solve for F, then use that to find I, put it all back in the original equation, and you have your solution.

As I said, tedious. :smile: I just hope I haven't slipped up somewhere in my LaTEX.
 
Last edited:
  • #18
That's why i still recommend my version.

Daniel.
 
  • #19
geez, that seems complicated.
thanks for going into such detail. that explains it for me.
 

Similar threads

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