Solving Differential Equations with Constant Terms: Particular Integrals

  • Thread starter jamesbob
  • Start date
In summary: That post shoul have read:\mbox{2. Find a particular integral for each of the following equations:}i. \frac{d\theta}{dz} + 2\theta = 8 ii. \frac{dx}{dt} - 2x = 14e^{-5t} iii. \frac{dx}{dt} + x - -3sin2t + 4cos2t
  • #1
jamesbob
63
0
Hey, just want to check iv done these questions right so far...

[tex] \mbox{Find the general solution to} \frac{dy}{dx} = y^2xcos(2x) \mbox{giving explicitly in terms of x.} [/tex]
[tex]\mbox{Find the particular solution satisfying y(0) = -1} [/tex]

My answer:

[tex] \frac{dy}{y^2} = x\cos(2x)dx \Rightarrow \int\frac{dy}{y^2} = \intx\cos(2x)dx [/tex]
[tex]u = x [/tex]
[tex]\frac{du}{dx} = 1 [/tex]
[tex]\frac{dv}{dx} = \cos2x [/tex]
[tex]v = \frac{1}{2}\sin(2x)} [/tex]
[tex]\Rightarrow \frac{xsinx}{2} - \frac{1}{2}\int\sin(2x) = \frac{x\sinx}{2} + \frac{1}{4}\cos(2x) + C[/tex]

So we have

[tex] \frac{-1}{y} = \frac{x\sin(x)}{2} + \frac{1}{4}\cos(2x) + C[/tex]

So

[tex] y = \frac{-4}{\cos(2x)} - \frac{2}{x\sin(2x)} + C [/tex]

[tex]\mbox{at y(0) = -1 \Rightarrow 1 = \frac{-4}{1} - \frac{2}{0} + C \Rightarrow C = 5}[/tex]

So overall,

[tex]y = \frac{-2}{x\sin(2x)} - \frac{4}{\cos(2x)} + 5}. [/tex]
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
jamesbob said:
So we have

[tex] \frac{-1}{y} = \frac{x\sin(x)}{2} + \frac{1}{4}\cos(2x) + C[/tex]

OK.

So

[tex] y = \frac{-4}{\cos(2x)} - \frac{2}{x\sin(2x)} + C [/tex]


Nope. You can't take the reciprocal of a fraction that way. If you could then we would have the following:

[itex]\frac{1}{2}=\frac{1}{3}+\frac{1}{6}[/itex] (True)

So

[itex]2=3+6[/itex] (False)

Instead you must combine the two terms on the right with a common denominator, and then take the reciprocal.
 
  • #3
[tex] \mbox{2. Find a particular integral for each of the following equations:}[/tex]

[tex]/mbox{ i. \frac{d\theta}{dz} + 2\theta = 8} [/tex]
[tex]/mbox{ ii. \frac{dx}{dt} - 2x = 14e^{-5t}} [/tex]
[tex]/mbox{iii. \frac{dx}{dt} + x - -3sin2t + 4cos2t} [/tex]

My answers:

[tex]\mbox{ i. Constant term so choose x = a + bt} [/tex]
[tex] \theta(z) = 1 \Rightarrow \frac{d\theta}{dz} = 0 \Rightarrow 0 + 2a = 8 \rightarrow a = 4 \Rightarrow PI = \Theta(z) = 4. [/tex]

[tex]\mbox{ ii. Choose x = ae^(-t). This gives -5ae^{-5t} - 2ae^{-5t} = 14e^{-5t} \Rightarrow a = -2 \Rightarrow PI: x(t) = -2e^{-5t)}[/tex]

[tex]\mbox{ iii. All i know to do here so far is choose x = acos2t + bsin2t. How do i continue?}[/tex]
 
  • #4
Sorry il sort the coding to this when i have a second
 
  • #5
That post shoul have read:

[tex] \mbox{2. Find a particular integral for each of the following equations:}[/tex]

[tex] i. \frac{d\theta}{dz} + 2\theta = 8 [/tex]
[tex] ii. \frac{dx}{dt} - 2x = 14e^{-5t} [/tex]
[tex]iii. \frac{dx}{dt} + x - -3sin2t + 4cos2t [/tex]

My answers:

[tex] i. Constant term so choose x = a + bt [/tex]
[tex] \theta(z) = 1 \Rightarrow \frac{d\theta}{dz} = 0 \Rightarrow 0 + 2a = 8 \rightarrow a = 4 \Rightarrow PI = \Theta(z) = 4. [/tex]

[tex] ii. Choose x = ae^(-t). This gives -5ae^{-5t} - 2ae^{-5t} = 14e^{-5t} \Rightarrow a = -2 \Rightarrow PI: x(t) = -2e^{-5t)[/tex]

iii. All i know to do here so far is choose x = acos2t + bsin2t. How do i continue?
 

FAQ: Solving Differential Equations with Constant Terms: Particular Integrals

What are the signs that I am doing this experiment correctly?

The signs that you are doing an experiment correctly will vary depending on the specific experiment and the desired outcome. However, some general indicators include following the experimental procedure accurately, obtaining consistent and reliable results, and meeting the objectives of your experiment.

How do I know if my data is accurate?

In order to determine the accuracy of your data, you can compare your results with known values or results from previous experiments. Additionally, it is important to ensure that your equipment is properly calibrated and that you have followed proper measurement techniques.

What should I do if my results do not match my hypothesis?

If your results do not align with your initial hypothesis, it is important to carefully analyze your experimental methods and data to determine any possible sources of error. You may also need to revise your hypothesis or consider alternative explanations for your results.

Are there any common mistakes to avoid when conducting an experiment?

Yes, there are several common mistakes to avoid when conducting an experiment. These include not following the experimental procedure accurately, not properly calibrating equipment, not recording data accurately, and not considering potential sources of error. It is important to carefully plan and execute your experiment to avoid these mistakes.

How do I know when I have enough data for my experiment?

The amount of data needed for an experiment will depend on the specific objectives and methodology of the experiment. Generally, it is important to collect enough data to ensure statistical significance and to allow for a thorough analysis of your results. It is always better to have more data than not enough, so it is important to carefully plan and collect data throughout your experiment.

Back
Top