Group Abstract Group Abstract

Message Boards Message Boards

7
|
1K Views
|
55 Replies
|
27 Total Likes
View groups...
Share
Share this post:
GROUPS:

[WSG77] Daily Study Group: Differential Equations (begins April 13)

Posted 21 days ago
POSTED BY: Luke Titus
55 Replies

In Lesson 17 about series solutions near an ordinary point, the first graph shows a sequence of plots converging to a limit. The last graph shows a similar collection of plots, and points out their convergence in the interval (-1, 1). I was confused at first because I expected a note about divergence.

SUGGESTION: For the last graph, also point out that as the order increases the plots move AWAY from the full solution (dotted line) rather than toward it as they did in the first graph. This illustrates divergence outside the region of convergence.

Thanks, Richard. That's a good suggestion. We can include units in a few of those problems to show how to include units in a calculation.

POSTED BY: Luke Titus

Thank you very much. It does look like it should be Exp[x] rather than Exp[2]. We'll get that fixed.

POSTED BY: Luke Titus
POSTED BY: Christine Owens

Problems 11 through 14 of Problem Set 4 entail physical equations with actual physical units. The use of physical units such as {kilograms, meters, seconds} was mentioned in the class, so I tried using pounds, inches, and seconds, (converting pounds to mass by dividing by gravitational acceleration). Mathematica allowed me to enter pretty-looking equations and initial conditions, but then did not seem to know what to do with them when I tried DSolveValue. Presumably I'm doing something wrong, but the sample problems don't help here.

SUGGESTION: Demonstrate use of physical units in one or two problem set solutions.

Posted 2 days ago
POSTED BY: Updating Name

Hi Rich. Please send your solution to wolfram-u@wolfram.com They will forward your solution along to me and I will get back to you over email.

POSTED BY: Luke Titus
Posted 2 days ago

I believe I figured out my original problem: The solution to Problem 5 refers to the Method of Undetermined Coefficients even when it is applying Variation of Parameters. Please check: Above the equation

u1=-Integrate[y2[x]Sin[x]/Wronskian[{y1[x],y2[x]},x],x]+C[1] 

do you mean to say "Method of Variation of Parameters" instead of "Method of Undetermined Coefficients"?

POSTED BY: Updating Name
Posted 2 days ago
POSTED BY: Rich Albert

Thanks for pointing that out, Richard. We'll get that fixed.

POSTED BY: Luke Titus
POSTED BY: Jamie Peterson

Hello Richard,

I've created a ticket per your inquiry for review.

Christine Owens
Wolfram U Project Manager
Wolfram U

POSTED BY: Christine Owens

Thank you, Richard. It looks like that is doing the right thing.

POSTED BY: Luke Titus

Thank you very much for your comments, Richard. Sorry that I couldn't give a better reply during the session today, but posting these comments here helps us keep track of everything that needs to be improved in the course.

POSTED BY: Luke Titus

Hello Richard,

Thank you for your feedback. I've created a ticket per your report for Luke and our team to review. As soon as I have more information, I'll let you know.

Best,
Christine Owens
Wolfram U Project Manager
Wolfram U

POSTED BY: Christine Owens

In both Lesson 24 (Discontinuous Forcing Functions) and Lesson 25 (Impulse Functions), plots are shown of the complementary solution (forcing function is zero) and the particular solution (forcing function/impulse function applied). It would be interesting to see a plot of the DIFFERENCE between results with/without forcing function.

In Lesson 24, there's not much to see. However, the difference plot of (sln2 - sln3) in Lesson 25 makes it easier to see the effects of the applied impulse functions, particular the first negative hit at t==2Pi. It's harder to see the effect of the positive hit at t==3Pi because it simply adds to the already-positive motion of the curve. SUGGESTION: Create a Manipulate box to allow the student to tinker with the timing and magnitude of the second hit. That should provide a nice feeling for coherent and destructive effects.

Hello Richard,

An update has been made per your feedback. Please delete the related saved file from your cloud storage to see the updated version. https://www.wolframcloud.com/browse#Home/Copied%20Files

Thank you,
Christine Owens
Wolfram U Project Manager
Wolfram U

POSTED BY: Christine Owens

Yes, you are absolutely right. It should be Integrate[ ( 0 + s^2) ^2, {s, 0, t}]. Thank you for pointing this out. We'll get it fixed.

POSTED BY: Luke Titus

I think there's a significant typo in the solution to Problem 11 of Problem Set 2. The problem is to plot the first four iterations of Picard's method for this initial value problem:

y'[t] == (t^2 + y[t]^2 )^2      and      y[0] == 0

The published solution starts out with

y1 = Integrate[0 + s^2, {s, 0, t}]

This omits the outer exponent of the original equation. Shouldn't it be

y1 = Integrate[ ( 0 + s^2) ^2, {s, 0, t}]

That can't be controlled from within DSolveValue, but you can use the TrigToExp function to do that conversion. For example:

In[1]:= TrigToExp[DSolveValue[y''[x] + y[x] == x, y[x], x]]
Out[1]= x + 1/2 E^(-I x) C[1] + 1/2 E^(I x) C[1] + 1/2 I E^(-I x) C[2] - 1/2 I E^(I x) C[2]
POSTED BY: Luke Titus

Thank you very much. It does look like the solution for those two exercises have been switched. We'll have to fix that. Thank you for pointing that out. We really appreciate it.

POSTED BY: Luke Titus

Picard's Theorem works best when the initial condition when the dependent variable equals zero when the independent variable equals zero. Exercise 3 shows how to transform a differential equation where y[0] is not equal to zero into an equivalent problem where the initial condition at zero equals zero.

POSTED BY: Luke Titus

In the Basic Example of Lesson 13 (Method of Undetermined Coefficients) , DSolveValue returns a solution in terms of Cos[x] and Sin[x]. QUESTION: Is it possible to specify which basis functions DSolveValue uses? That is, can we ask DSolveValue to return an answer in terms of

Exp[x] and Exp[-x]?

I have notice between the Exercise 11-1 and Exrcise 12-1. They are changed.

enter image description hereenter image description here

POSTED BY: Jaime Jiménez
Posted 12 days ago

Richard, it sounds like you have an issue logging into the BigMarker servers. The link Cassidy sends out every day contains your BigMarker credentials: they're embedded in the long list of characters in that URL. Cassidy should be able to reset and re-send to you. An email to wolfram-u@wolfram.com should get the ball rolling.

As a temporary workaround, I bet you could "register" with another e-mail address and use that to access the session today. Wolfram U would prefer to fix your permanent account (since that's how they track users for certifications they earn), but that can get you running today.

Good luck. This course is hard enough for me with my BigMarker login working smoothly. :)

POSTED BY: Phil Earnhardt

Someone from the WolframU team will reach out to you shortly.

POSTED BY: Luke Titus

Thank you for pointing that out. The Integrate code shouldn't be there. In place of the Integrate code should be

m = 2 x - y;
n = 2 y - x;

We'll get that fixed. Thanks again for pointing that out.

POSTED BY: Luke Titus

I see. You should be getting an email after each lesson with a link to the recording. I'll talk to Cassidy today to see if we can resend those links to you.

POSTED BY: Luke Titus

Basically, you need to convert everything to a string then use <> to combine the strings you want. You can use quotes to convert the C[1] expressions to a string, but you need to use the ToString function to convert the iterator in the Table to a string. For example:

In[94]:= Table["C[1] = " <> ToString[i], {i, -2, 2}]
Out[94]= {"C[1] = -2", "C[1] = -1", "C[1] = 0", "C[1] = 1", "C[1] = 2"}
POSTED BY: Luke Titus
POSTED BY: Luke Titus
Posted 13 days ago

In Section 12 of the course, the symbol Lambda was used for the characteristic equation. Can you explain why that particular symbol was used there? It seems that choice was no accident, but I see no clues to why that was chosen. TY.

POSTED BY: Phil Earnhardt

REQUEST: Can you please post a URL for the daily study group sessions? Everything I try just takes me to the registration page. It has dial-in information that doesn't work (no Dial-In ID Number), and I can't find a link to the session that has surely started by now.

It does seem like the symbol f has some other definition attached to it. If you clear f before evaluating the derivative, it should give the expected result. For example:

Clear[f]
D[Exp[f[x]], x]
POSTED BY: Luke Titus
POSTED BY: Luke Titus

Something seems odd in the "Integrating Factor Method" section of Lesson 5 (Linear 1st-Order Eqns). The input

D[Exp[f[x]],x] 

generates Exp[f[x]] f'[x] on my system, as expected. However, in the lesson notebook it generates output with an exponent that seems to be a detailed list of possibilities. Pasting it into this box gives an unholy mess, but the first set of possibilities seems to be

1 if 0 <= x < 1 and
0 otherwise

and the second set of possibilities looks like

0 if x is not equal to zero or one;
Indeterminate otherwise

My guess is that the function f is carrying a definition over from a previous cell. SUGGESTION: clear the contents of f before calling D[Exp[f[x]],x]

You can get different sized arrows using VectorScaling and VectorSizes. For example:

VectorPlot[{y, -x}, {x, -3, 3}, {y, -3, 3}, VectorScaling -> Automatic, VectorSizes -> {0, 1}]

The advantage of using all vectors with a unit length and specifying the magnitudes with colors is to make the plot less cluttered when vector lengths differ a lot in the plot. When using the default unit lengths for the vectors, you can get a legend that shows the length that corresponds to a particular color using PlotLegends

VectorPlot[{y, -x}, {x, -3, 3}, {y, -3, 3}, PlotLegends -> Automatic]
POSTED BY: Luke Titus

You can get an imaginary r(t) function, for example, by using an initial condition on r[0] that is complex. However, we are mostly focusing on the real-valued functions in this course.

POSTED BY: Luke Titus
POSTED BY: Luke Titus

Sure, but most (maybe all?) introductory diff. eq. courses restrict their attention to real-valued solutions. [This is a practical convention, since the course usually follows first-year, real-valued calculus.]

POSTED BY: Michael Rogers
Posted 15 days ago
POSTED BY: Phil Earnhardt
Posted 16 days ago
POSTED BY: Tingting Zhao

This is just a reminder that the Differential Equations Study Group begins tomorrow (Monday, April 13).

The Study Group will offer an excellent opportunity to get certified in Differential Equations with guidance from our popular instructor, Luke Titus.

I look forward to seeing you all!

POSTED BY: Devendra Kapadia
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard