Diff Eq. - swapped coefficients help

In summary, the author was attempting to find the steady state solution for an L-R-C circuit, however made an error in factoring and ended up with incorrect roots.
  • #1
Sparky_
227
5

Homework Statement



In an L-R-C circuit, L = 1, R = 2, C = 0.25, E(t) = 50 cos(t)

Find the steady state solution

Homework Equations





The Attempt at a Solution



[tex] L \frac {di(t)}{dt} + R \frac {dq(t)}{dt} + \frac {q}{C} = 50cos(t) [/tex]

[tex] \frac {di(t)}{dt} + 2 \frac {dq(t)}{dt} + 4q = 50cos(t) [/tex]

[tex] q(t) = e^{-t}(c1cos(sqrt(12)t + c2sin(sqrt(12)t) [/tex]

next annihilate 50*cos(t)
[tex] (D^2 +1) (D^2 + 2D + 4) = (D^2 +1)50cos(t) [/tex]

[tex] roots = +/- i[/tex]

[tex] qp(t) = Acos(t) + Bsin(t)[/tex]

[tex] [-Acos(t) - Bsin(t)] - 2Asin(t) + 2Bcos(t) + 4Acos(t) + 4Bsin(t) = 50cos(t) [/tex]

[tex] cos(t)[-A+2B+4A] + sin(t)[-B-2A+4B] = 50cos(t) [/tex]

[tex] 3A+2B = 50 [/tex]

[tex] 3B-2A = 0[/tex]

[tex] A = \frac {150}{13} [/tex]

[tex] B = \frac {100}{13} [/tex]

[tex] qp(t) = \frac {150}{13}cos(t) + \frac {100}{13}sin(t) [/tex]

The book gets
[tex] qp(t) = \frac {100}{13}cos(t) - \frac {150}{13}sin(t) [/tex]

I'm off with swapped coefficients and the sign.

Do I have something crossed?
Where is my error?

Thanks
-Sparky
 
Last edited:
Physics news on Phys.org
  • #2
Sparky_ said:

Homework Statement



In an L-R-C circuit, L = 1, R = 2, C = 0.25, E(t) = 50 cos(t)

Find the steady state solution

Homework Equations





The Attempt at a Solution



[tex] L \frac {di(t)}{dt} + R \frac {dq(t)}{dt} + \frac {q}{C} = 50cos(t) [/tex]

[tex] \frac {di(t)}{dt} + 2 \frac {dq(t)}{dt} + 4q = 50cos(t) [/tex]
Are we to assume that i= dq/dt?

[tex] q(t) = e^{-t}(c1cos(sqrt(12)t + c2sin(sqrt(12)t) [/tex]
How did you get that? If you took i= dq/dt so that di/dt= d2q/dt2, then characteristic equation is r2+ 2r+ 4= (r+2)2= 0 and the general solution (to the associated homogeneous equation) is
[tex]q(tt)= c1e^{-2t}+ c2 te^{-2t}[/tex]

next annihilate 50*cos(t)
[tex] (D^2 +1) (D^2 + 2D + 4) = (D^2 +1)50cos(t) [/tex]

[tex] roots = +/- i[/tex]

[tex] qp(t) = Acos(t) + Bsin(t)[/tex]

[tex] [-Acos(t) - Bsin(t)] - 2Asin(t) + 2Bcos(t) + 4Acos(t) + 4Bsin(t) = 50cos(t) [/tex]

[tex] cos(t)[-A+2B+4A] + sin(t)[-B-2A+4B] = 50cos(t) [/tex]

[tex] 3A+2B = 50 [/tex]

[tex] 3B-2A = 0[/tex]

[tex] A = \frac {150}{13} [/tex]

[tex] B = \frac {100}{13} [/tex]

[tex] qp(t) = \frac {150}{13}cos(t) + \frac {100}{13}sin(t) [/tex]

The book gets
[tex] qp(t) = \frac {100}{13}cos(t) - \frac {150}{13}sin(t) [/tex]

I'm off with swapped coefficients and the sign.

Do I have something crossed?
Where is my error?

Thanks
-Sparky
 
  • #3
You are correct on the first (homogeneous solution) - I had an obvious error in my work. I didn't recognize the obvious solution and made a mistake in factoring.

(However, I don't need that solution to get the steady state) I need the particular qp(t)

the [tex] (D^2 +1) (D^2 + 2D + 4) = (D^2 +1)50cos(t) [/tex]

the second term is the solution to the homogeneous - as you pointed out [tex]q(tt)= c1e^{-2t}+ c2 te^{-2t}[/tex]

The [tex] (D^2 +1) [/tex]

[tex] roots = +/- i[/tex]

with all the equating coefficients is where my error is.

Thoughts?

-Sparky
 

1. What is a differential equation and what does it represent?

A differential equation is a mathematical equation that describes the relationship between a function and its derivatives. It represents how a quantity changes over time or in response to other variables.

2. What are the coefficients in a differential equation and why are they important?

The coefficients in a differential equation are the constants that are multiplied with the derivatives of the function. They represent the rate at which the function changes and are important in solving the equation and understanding the behavior of the system.

3. Why would you need to swap coefficients in a differential equation?

Swapping coefficients in a differential equation means rearranging the terms so that the derivatives are on one side and the function and its coefficients are on the other. This can make it easier to solve the equation or to understand its behavior.

4. Can swapping coefficients change the solution to a differential equation?

No, swapping coefficients does not change the solution to a differential equation. It only changes the way the equation is written and does not affect the underlying relationship between the function and its derivatives.

5. Are there any limitations to swapping coefficients in a differential equation?

Swapping coefficients can only be done in linear differential equations where the derivatives have a constant coefficient. In non-linear equations, rearranging the terms may not be possible and other methods must be used to solve the equation.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
  • Introductory Physics Homework Help
Replies
10
Views
262
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
8K
  • Introductory Physics Homework Help
Replies
2
Views
974
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
Replies
1
Views
1K
Back
Top