مجموعة تدريبية — الجزء 6 (الأسئلة D41–D48)
مجموعة مسائل تدريبية متدرجة الصعوبة مع الرسوم التوضيحية والحلول الكاملة خطوة بخطوة.
The given differential equation is \(\frac{d^2y}{dx^2} + 4y = \sec(2x)\). The associated homogeneous equation is \(\frac{d^2y}{dx^2} + 4y = 0\). The characteristic equation is \(r^2 + 4 = 0\), which has roots \(r = \pm 2i\). Thus, the fundamental set of solutions for the homogeneous equation is \(y_1(x) = \cos(2x)\) and \(y_2(x) = \sin(2x)\).
We use the method of variation of parameters to find a particular solution of the form \(y_p(x) = u_1(x)y_1(x) + u_2(x)y_2(x)\).
The Wronskian of \(y_1\) and \(y_2\) is:
\(W(y_1, y_2)(x) = y_1y_2' - y_1'y_2 = \cos(2x)(2\cos(2x)) - (-\sin(2x))(2\sin(2x))\)
\(W(y_1, y_2)(x) = 2\cos^2(2x) + 2\sin^2(2x) = 2(\cos^2(2x) + \sin^2(2x)) = 2\).
The non-homogeneous term is \(g(x) = \sec(2x)\).
The formulas for \(u_1'(x)\) and \(u_2'(x)\) are:
\(u_1'(x) = -\frac{y_2(x)g(x)}{W(x)}\)
\(u_2'(x) = \frac{y_1(x)g(x)}{W(x)}\)
Substituting the given functions:
\(u_2'(x) = \frac{\cos(2x) \cdot \sec(2x)}{2}\)
\(u_2'(x) = \frac{\cos(2x)}{2\cos(2x)}\)
\(u_2'(x) = \frac{1}{2}\).
The value of \(u_2'(x)\) is \(\frac{1}{2}\).
The given differential equation is \(\frac{dy}{dx} = \frac{x^2 \cos(y)}{1 - x^3}\) with the initial condition \(y(0) = \frac{\pi}{2}\).
We are asked to find \(y'(0)\). The differential equation directly gives us the expression for \(\frac{dy}{dx}\), which is \(y'(x)\).
To find \(y'(0)\), we substitute \(x=0\) and \(y=y(0)=\frac{\pi}{2}\) into the differential equation:
\(y'(0) = \frac{(0)^2 \cos(y(0))}{1 - (0)^3}\)
Substitute \(y(0) = \frac{\pi}{2}\):
\(y'(0) = \frac{0 \cdot \cos(\frac{\pi}{2})}{1 - 0}\)
We know that \(\cos(\frac{\pi}{2}) = 0\).
So, \(y'(0) = \frac{0 \cdot 0}{1}\)
\(y'(0) = \frac{0}{1}\)
\(y'(0) = 0\)
The existence and uniqueness theorem for first-order ODEs guarantees that if \(f(x, y) = \frac{x^2 \cos(y)}{1 - x^3}\) and \(\frac{\partial f}{\partial y} = \frac{x^2 (-\sin(y))}{1 - x^3}\) are continuous in a rectangular region containing \((0, \frac{\pi}{2})\), then a unique solution exists. At \(x=0\), both \(f(x, y)\) and \(\frac{\partial f}{\partial y}\) are continuous since the denominator \(1 - x^3\) is non-zero and the numerators are well-defined. Therefore, the condition for a unique solution is met.
Standard form: \(y' + \frac{2}{x^2 - 1}y = \frac{x - 1}{x + 1}\). Integrating factor: \(\mu = \frac{x - 1}{x + 1}\). Multiplying gives \(\left(\frac{x - 1}{x + 1}y\right)' = \left(\frac{x - 1}{x + 1}\right)^2 = 1 - \frac{4}{x + 1} + \frac{4}{(x + 1)^2}\). Integrating gives \(\frac{x - 1}{x + 1}y = x - 4\ln(x + 1) - \frac{4}{x + 1} + C\). Using \(y(2) = 0\) yields \(0 = 2 - 4\ln 3 - 4/3 + C \implies C = 4\ln 3 - 2/3\). At \(x = 3\), \(\frac{1}{2}y(3) = 3 - 4\ln 4 - 1 + 4\ln 3 - 2/3 = 4/3 + 4\ln(3/4)\). Multiplying by 2 gives \(y(3) = \frac{8}{3} + 8\ln\left(\frac{3}{4}\right)\).
Final Answer: \(\frac{8}{3} + 8\ln\left(\frac{3}{4}\right)\)
The given differential equation is a first-order linear ODE of the form \(\frac{dy}{dx} + P(x)y = Q(x)\). Here, \(P(x) = 2\) and \(Q(x) = 4\). The integrating factor is \(I(x) = e^{\int P(x) dx} = e^{\int 2 dx} = e^{2x}\). Multiplying the differential equation by the integrating factor, we get: \(e^{2x} \frac{dy}{dx} + 2e^{2x}y = 4e^{2x}\). The left side is the derivative of \(y \cdot I(x)\): \(\frac{d}{dx}(ye^{2x}) = 4e^{2x}\). Integrating both sides with respect to \(x\): \(ye^{2x} = \int 4e^{2x} dx = 4 \cdot \frac{1}{2}e^{2x} + C = 2e^{2x} + C\). Solving for \(y\): \(y(x) = 2 + Ce^{-2x}\). Using the initial condition \(y(0) = 1\): \(1 = 2 + Ce^{0} \implies 1 = 2 + C \implies C = -1\). Thus, the particular solution is \(y(x) = 2 - e^{-2x}\). Finally, we need to find \(y(1)\): \(y(1) = 2 - e^{-2(1)} = 2 - e^{-2}\).
Final Answer: \(2 - e^{-2}\)
Homogeneous: \(r^2+4r+3=0\) has roots \(r=-1,-3\), so \(y_c=C_1e^{-x}+C_2e^{-3x}\). Split the forcing (the superposition note): for \(-35e^{4x}\), \(4\) isn't a root, trial \(Ae^{4x}\); for \(-9x\), trial \(Bx+C\) (or just \(C\)). Adding the two pieces: \(y_p=-3x-e^{4x}+4\). With \(C_1=-2\), \(C_2=3\) (matching the stated initial conditions), \(y=y_c+y_p\), and \(y(1)\) follows by substitution.
Final Answer: \(-e^{4}-\frac{2}{e}+\frac{3}{e^{3}}+1\)
The Euler method approximates the solution of an ODE \(\frac{dy}{dx} = f(x, y)\) with initial condition \(y(x_0) = y_0\) using the iterative formula \(y_{i+1} = y_i + h f(x_i, y_i)\), where \(h\) is the step size and \(x_i = x_0 + ih\).
Given: \(f(x, y) = x + y\), \(x_0 = 0\), \(y_0 = 1\), and \(h = 0.5\).
We want to approximate \(y(1)\). Since \(1 = 0 + 2 \times 0.5\), we need two steps.
Step 1: Approximate \(y(0.5)\).
\(x_1 = x_0 + h = 0 + 0.5 = 0.5\)
\(y_1 = y_0 + h f(x_0, y_0) = 1 + 0.5 (0 + 1) = 1 + 0.5(1) = 1.5\).
Step 2: Approximate \(y(1)\).
\(x_2 = x_1 + h = 0.5 + 0.5 = 1.0\)
\(y_2 = y_1 + h f(x_1, y_1) = 1.5 + 0.5 (0.5 + 1.5) = 1.5 + 0.5(2.0) = 1.5 + 1.0 = 2.5\).
Therefore, the Euler approximation for \(y(1)\) is 2.50.
The given differential equation is \(\frac{dy}{dx} = \frac{\cos(x)}{y^2}\). This is a separable differential equation. We can rewrite it as \(y^2 dy = \cos(x) dx\).
Integrating both sides, we get:
\(\int y^2 dy = \int \cos(x) dx\)
\(\frac{y^3}{3} = \sin(x) + C\)
We are given the initial condition \(y(0) = 2\). Substituting these values into the integrated equation:
\(\frac{2^3}{3} = \sin(0) + C\)
\(\frac{8}{3} = 0 + C\)
\(C = \frac{8}{3}\)
So, the particular solution is:
\(\frac{y^3}{3} = \sin(x) + \frac{8}{3}\)
We need to find the value of \(y(\frac{\pi}{2})\). Substitute \(x = \frac{\pi}{2}\) into the particular solution:
\(\frac{y(\frac{\pi}{2})^3}{3} = \sin(\frac{\pi}{2}) + \frac{8}{3}\)
\(\frac{y(\frac{\pi}{2})^3}{3} = 1 + \frac{8}{3}\)
\(\frac{y(\frac{\pi}{2})^3}{3} = \frac{3}{3} + \frac{8}{3}\)
\(\frac{y(\frac{\pi}{2})^3}{3} = \frac{11}{3}\)
\(y(\frac{\pi}{2})^3 = 11\)
\(y(\frac{\pi}{2}) = \sqrt[3]{11}\)
