User:Egm6321.f09.Team8/HW3

Homework Assignment #3 - due Wednesday, 10/7, 21:00 UTC = Problem #1 =

Given
Find $$(m,n)$$ such that eqn. 1 on ([[media:Egm6321.f09.p13-1.png|p.13-1]]) is exact. A first integral is $$ \Phi(x,y,p)=xp+(2x^{\frac{3}{2}}-1)y+k_1=k_2 $$ where $$k_1,k_2$$ are constants.

Solution
[[Media:HW3, pg1.PNG]] [[Media:HW3, pg2.PNG]] [[Media:HW3pg3.PNG]] [[Media:HW3pg4.PNG]]  Very neat and thorough. --Egm6321.f09.TA 05:05, 15 October 2009 (UTC)

Homework Assignment #3 - due Wednesday, 10/7, 21:00 UTC

= Problem #2 =

Given
Solve eqn. 2 on ([[media:Egm6321.f09.p13-1.png|p.13-1]]) for $$y(x)$$.

Solution
[[Media:HW3_pg5.PNG]] [[Media:HW3_Pg_6.PNG]]

Homework Assignment #3 - due Wednesday, 10/7, 21:00 UTC = Problem #3 =

Given
From ([[media:Egm6321.f09.p13-1.png|p.13-1]]), find the mathematical structure of $$\Phi$$ that yields the above class of ODE.

Solution
[[Media:HW3_Pg_7.PNG]]

Homework Assignment #3 - due Wednesday, 10/7, 21:00 UTC = Problem #4 =

Given
From ([[media:Egm6321.f09.p13-3.png|p.13-3]]), for the case $$n=1$$ (N1_ODE) $$F(x,y,y')=0=\frac{d\Phi}{dx}(x,y)$$. Show that $$f_0-\frac{df_1}{dx}=0 \Leftrightarrow\Phi_{xy}=\Phi_{yx}$$. Hint: Use $$f_1=\Phi_y$$. Specifically: 4.1) Find $$f_0$$ in terms of $$\Phi$$ 4.2) Find $$f_1$$ in terms of $$\Phi$$($$f_1=\Phi_y$$) 4.3) Show that $$ f_0-\frac{df_1}{dx}=0\Leftrightarrow \Phi_{xy}=\Phi_{yx}$$.

Solution
[[Media:HW3_Pg_8.PNG]]

 You are missing some terms. $$f_0=\phi_{xy}+\phi_{yy}y'$$ and $$ f_1=\phi_{y}$$. Then when you differentiating $$ f_1$$ with respect to $$x$$ the extra terms will cancel out. --Egm6321.f09.TA 14:44, 15 October 2009 (UTC)

Homework Assignment #3 - due Wednesday, 10/7, 21:00 UTC

= Problem #5 =

Given
From ([[media:Egm6321.f09.p13-3.png|p.13-3]]), for the case $$n=2$$ (N2_ODE)  show: 5.1) Show $$f_1=\frac{df_2}{dx}+\Phi_y$$ 5.2) Show $$\frac{d}{dx}(\Phi_y)=f_0$$ 5.3) $$ f_0-\frac{df_1}{dx}+\frac{d^2f_2}{dx^2}=0$$ 5.4) Relate eqn. 5 to eqs. 4&5 from p.10-2.

Solution
[[Media:HW3_Pg_9.PNG]] [[Media:HW3_Pg_10.PNG]] [[Media:HW3_Pg_11.PNG]]

Homework Assignment #3 - due Wednesday, 10/7, 21:00 UTC

 The 3 expressions are clear and correct. I only see one of two criteria for second order exact ODEs. --Egm6321.f09.TA 02:20, 16 October 2009 (UTC)

= Problem #6 =

Given
From ([[media:Egm6321.f09.p14-2.png|p.14-2]]), for the Legendre differential equation $$F=(1-x^2)y''-2xy'+n(n+1)y=0$$, 6.1 Verify exactness of this equation using two methods: 6.1a.) ([[media:Egm6321.f09.p10-3.png|p.10-3]]), Equations 4&5. 6.1b.) ([[media:Egm6321.f09.p14-1.png|p.14-1]]), Equation 5. 6.2 If it is not exact, see whether it can be made exact using the integrating factor with $$h(x,y)=x^my^n$$.

Solution
[[Media:HW3_Pg_12.PNG]] [[Media:HW3_Pg_13.PNG]] [[Media:HW3_Pg_14.PNG]] [[Media:HW3_Pg_15.PNG]]

Homework Assignment #3 - due Wednesday, 10/7, 21:00 UTC = Problem #7 =

Given
From ([[media:Egm6321.f09.p14-3.png|p.14-3]]), Show that equations 1 and 2, namely 7.1 $$\forall u,v$$ functions of $$x$$, $$L(u+v)=L(u)+L(v)$$. and 7.2 $$\forall \lambda\in\mathbb{R},L(\lambda u)=\lambda L(u)\forall$$ functions of $$ x$$. are equivalent to equation 3 on p.3-3.

Solution
[[Media:HW3_Pg_16.PNG]] [[Media:HW3_Pg_17.PNG]]

Homework Assignment #3 - due Wednesday, 10/7, 21:00 UTC

 You do not need to pick a specific function to show this result. --Egm6321.f09.TA 04:09, 16 October 2009 (UTC)

= Problem #8 =

Given
From ([[media:Egm6321.f09.p15-2.png|p.15-2]]), plot the shape function $$N_{j+1}^{2}(x)$$.

Solution
[[Media:HW3_Pg_18.PNG]]

Homework Assignment #3 - due Wednesday, 10/7, 21:00 UTC = Problem #9 =

Given
From (| p.16-2), show that $$y_{xxx}=e^{-3t}\left(y_{ttt}-3y_{tt}+2y_t\right)$$ $$y_{xxxx}=e^{-4t}\left(y_{tttt}-6y_{ttt}+11y_{tt}-6y_t\right)$$

Solution
[[Media:HW3_Pg_19.PNG]] [[Media:HW3_Pg_20.PNG]] [[Media:HW3_Pg_21.PNG]]

Homework Assignment #3 - due Wednesday, 10/7, 21:00 UTC = Problem #10 =

Given
From (| p.16-4) Solve equation 1 on p.16-1, $$ x^2y''-2xy'+2y=0 $$ using the method of trial solution $$ y=e^{rx}$$ directly for the boundary conditions $$\left\{ \begin{array}{rl} y(1)=&3\\ y(2)=&4\\ \end{array}\right.$$ Compare the solution with equation 10 on p.16-3. Use matlab to plot the solutions.

Solution
[[Media:HW3_Pg_22.PNG]] [[Media:HW3_Pg_23.PNG]] [[Media:HW3_Pg_23a.PNG]]

Homework Assignment #3 - due Wednesday, 10/7, 21:00 UTC = Problem #11 =

Given
From (| p.17-4) obtain equation 2 from p.17-3 $$

Z(x)=\frac{c}{u_{1}^2}\exp\left(-\int^x a_1(s)ds\right)$$ using the integrator factor method.

Solution
[[Media:HW3_Pg_24.PNG]] [[Media:HW3_Pg_25.PNG]]

Homework Assignment #3 - due Wednesday, 10/7, 21:00 UTC = Problem #12 =

Given
From (| p.18-1), develop reduction of order method using the following algebraic options

$$y(x)=U(x)\pm u_1 (x)$$

$$y(x)=\frac{U(x)}{u_1 (x)}$$

$$y(x)=\frac{u_1 (x)}{U(x)}$$

Solution
[[Media:HW3_Pg_26.PNG]] [[Media:HW3_Pg_27.PNG]]

<p style="text-align:center;">Homework Assignment #3 - due Wednesday, 10/7, 21:00 UTC = Problem #13 =

Given
From (| p.18-1), Find $$u_{1}(x)$$ and $$ u_{2}(x)$$ of equation 1 on p.18-1 using 2 trial solutions:

$$ y=ax^b$$

$$ y=e^{rx}$$

Compare the two solutions using boundary conditions $$y(0)=1$$ and $$ y(1)=2$$ and compare to the solution by reduction of order method 2. Plot the solutions in Matlab.

Solution
[[Media:HW3_Pg_28.PNG]]