📚 الرئيسية

مسابقة دكتوراه 2013Université Abdelhamid Ibn Badis - Mostaganem — الموضوع 01

مسابقة تخصص · Analyse Numérique & Optimisation · المدة: 1سا 30د

Épreuve Écrite du Concours d'Accès en 3ème Cycle LMD, Option : Modélisation, simulations et calculs scientifiques appliqués, Épreuve 1 : Méthodes numériques et Équations différentielles, Université Abdel Hamid Ibn Badis Mostaganem, Faculté des Sciences et de la Technologie — Mardi 22 Octobre 2013 (Durée 1h30).

التمرين 1

Exercice 1 — Problème aux valeurs initiales et schéma d'Euler

#ode-bvp#euler-method#matrix-system#numerical-error

On considère le problème de valeurs aux limites suivante (de solution y(t)=3e2tcos(t)+e2tsin(t)y(t) = 3e^{-2t}\cos(t) + e^{-2t}\sin(t)) :

(1){y(x)+4y(x)+5y(x)=0sur [0,1]y(0)=3y(0)=5(1) \begin{cases} y''(x) + 4y'(x) + 5y(x) = 0 & \text{sur } [0,1] \\ y(0) = 3 \\ y'(0) = -5 \end{cases}
  1. Écriture du problème sous forme matricielle : Réécrire l'équation différentielle précédente sous la forme d'une équation différentielle d'ordre 1, et de façon matricielle Y(x)=P×Y(x)Y'(x) = P \times Y(x), Y(0)=Y0Y(0) = Y_0.

  2. Utilisant le schéma suivant Yn+1=Yn+hf(xn,Yn)Y_{n+1} = Y_n + hf(x_n, Y_n), donner une approximation de la solution de (1), pour un pas h=0.2h = 0.2.

  3. Calculer l'erreur commise par ce schéma.

الحل

1.

On pose Y=(yy)Y = \begin{pmatrix} y \\ y' \end{pmatrix}. Alors Y=(0154)YY' = \begin{pmatrix} 0 & 1 \\ -5 & -4 \end{pmatrix} Y, Y(0)=(35)Y(0) = \begin{pmatrix} 3 \\ -5 \end{pmatrix}.

P=(0154),Y0=(35)\boxed{P = \begin{pmatrix} 0 & 1 \\ -5 & -4 \end{pmatrix}, \quad Y_0 = \begin{pmatrix} 3 \\ -5 \end{pmatrix}}

2.

Avec h=0.2h = 0.2 et le schéma d'Euler explicite Yn+1=Yn+hPYn=(I+hP)YnY_{n+1} = Y_n + hPY_n = (I + hP)Y_n : I+hP=(10.210.2)I + hP = \begin{pmatrix} 1 & 0.2 \\ -1 & 0.2 \end{pmatrix}. Y1=(10.210.2)(35)=(24)Y_1 = \begin{pmatrix} 1 & 0.2 \\ -1 & 0.2 \end{pmatrix}\begin{pmatrix} 3 \\ -5 \end{pmatrix} = \begin{pmatrix} 2 \\ -4 \end{pmatrix}. On continue pour Y2,Y3,Y4,Y5Y_2, Y_3, Y_4, Y_5.

3.

L'erreur est la différence entre la solution exacte y(xn)=3e2xncos(xn)+e2xnsin(xn)y(x_n) = 3e^{-2x_n}\cos(x_n) + e^{-2x_n}\sin(x_n) et l'approximation. Le schéma d'Euler est d'ordre 1, donc l'erreur globale est O(h)O(h).

Erreur globale O(h)=O(0.2)\boxed{\text{Erreur globale } O(h) = O(0.2)}

التمرين 3

Exercice 3 — Décomposition LU et résolution de systèmes linéaires

#lu-decomposition#linear-systems#matrix-factorization
  1. Réaliser la décomposition LU de la matrice
A=(11301138225131813)A = \begin{pmatrix} -1 & 1 & -3 & 0 \\ 1 & 1 & 3 & 8 \\ -2 & 2 & -5 & -1 \\ 3 & 1 & 8 & 13 \end{pmatrix}
  1. En déduire la solution du système linéaire Ax=bAx = b avec b=(0215)b = \begin{pmatrix} 0 \\ 2 \\ -1 \\ 5 \end{pmatrix}.

  2. Sans calculer A2A^2, résoudre le système linéaire A2x=bA^2 x = b.

الحل

1.

Par élimination de Gauss :

L=(1000110020103211),U=(1130020800110002)L = \begin{pmatrix} 1 & 0 & 0 & 0 \\ -1 & 1 & 0 & 0 \\ 2 & 0 & 1 & 0 \\ -3 & 2 & -1 & 1 \end{pmatrix}, \quad U = \begin{pmatrix} -1 & 1 & -3 & 0 \\ 0 & 2 & 0 & 8 \\ 0 & 0 & 1 & -1 \\ 0 & 0 & 0 & 2 \end{pmatrix} A=LU\boxed{A = LU}

2.

Résoudre Ly=bLy = b (descente) puis Ux=yUx = y (remontée) pour obtenir xx.

3.

A2x=bA(Ax)=bA^2 x = b \Rightarrow A(Ax) = b. Poser z=Axz = Ax. Résoudre Az=bAz = b pour trouver zz, puis Ax=zAx = z pour trouver xx. On utilise la même décomposition LU deux fois.

Deux reˊsolutions successives avec la meˆme deˊcomposition LU\boxed{\text{Deux résolutions successives avec la même décomposition LU}}