y' + y = cos x
Fasit: y = e^-x + 0,5(sin x + cos x)
Bruker standardmetodene fram til jeg får:
y * e^x = [symbol:integral] e^x * cos x
Finner at [symbol:integral] e^x * cos x = e^x * cos x - [symbol:integral] - sin x * e^x og videre at [symbol:integral] - sin x * e^x = - sin x * e^x - [symbol:integral] - cos x * e^x.
Dermed klarer jeg ikke å få 2 [symbol:integral] e^x * cos x på venstre side etter jeg har rota det til med fortegna. Noen som gidder å rydde i rotet mitt? Og btw, ser heller ikke hvordan det blir e^-x + (etellerannet), hvordan kommer pluss-tegnet inn?
Håper noen er behjelpelige!
Diff.likning
Moderators: Aleks855, Gustav, Nebuchadnezzar, Janhaa, DennisChristensen, Emilga
-
- Fibonacci
- Posts: 5648
- Joined: 24/05-2009 14:16
- Location: NTNU
[tex]I \, = \int e^x \, \cdot \, \cos x \, \mathrm{d}x[/tex]
[tex]I \, = e^x \, \cdot \, \cos x \, - \, \int e^x \, \cdot \, (- \sin x ) \, \mathrm{d}x[/tex]
[tex]I \, = e^x \, \cdot \, \cos x \, + \int e^x \, \cdot \, \sin x \, \mathrm{d}x[/tex]
[tex]I \, = e^x \, \cdot \, \cos x \, + \, \left( e^x \, \cdot \sin x \, - \int e^x \, \cdot \cos x \, \mathrm{d}x \, \right)[/tex]
[tex]I \, = e^x \, \cdot \, \cos x \, + e^x \, \cdot \sin x \, - I[/tex]
[tex]2I \, = e^x \, \cdot \, \cos x \, + e^x \, \cdot \sin x [/tex]
[tex]I \, = \, \frac{1}{2}\,\cdot \, e^x \left( \, \cos x \, + \, \sin x \right) \, + \, \mathcal{C} [/tex]
[tex]I \, = e^x \, \cdot \, \cos x \, - \, \int e^x \, \cdot \, (- \sin x ) \, \mathrm{d}x[/tex]
[tex]I \, = e^x \, \cdot \, \cos x \, + \int e^x \, \cdot \, \sin x \, \mathrm{d}x[/tex]
[tex]I \, = e^x \, \cdot \, \cos x \, + \, \left( e^x \, \cdot \sin x \, - \int e^x \, \cdot \cos x \, \mathrm{d}x \, \right)[/tex]
[tex]I \, = e^x \, \cdot \, \cos x \, + e^x \, \cdot \sin x \, - I[/tex]
[tex]2I \, = e^x \, \cdot \, \cos x \, + e^x \, \cdot \sin x [/tex]
[tex]I \, = \, \frac{1}{2}\,\cdot \, e^x \left( \, \cos x \, + \, \sin x \right) \, + \, \mathcal{C} [/tex]
"Å vite hva man ikke vet er og en slags allvitenhet" - Piet Hein
https://s.ntnu.no/Integralkokeboken
Lektor - Matematikk, Fysikk og Informatikk
https://s.ntnu.no/Integralkokeboken
Lektor - Matematikk, Fysikk og Informatikk
-
- Fibonacci
- Posts: 5648
- Joined: 24/05-2009 14:16
- Location: NTNU
Husk og dele på [tex]e^x[/tex] (som er akkuratt det samme på [tex]e^{-x})[/tex] så skal du få det samme
"Å vite hva man ikke vet er og en slags allvitenhet" - Piet Hein
https://s.ntnu.no/Integralkokeboken
Lektor - Matematikk, Fysikk og Informatikk
https://s.ntnu.no/Integralkokeboken
Lektor - Matematikk, Fysikk og Informatikk
-
- Fibonacci
- Posts: 5648
- Joined: 24/05-2009 14:16
- Location: NTNU
Etter integreringen din, så kommer du frem til
[tex]y \, \cdot \, e^x \, = \, \frac{1}{2}\,\cdot \, e^x \left( \, \cos x \, + \, \sin x \right) \, + \, \mathcal{C} [/tex]
ikke sant? Herfra Så ganger vi med [tex]e^{-x}[/tex] på begge sider, og ser at
[tex]e^x \cdot e^{-x} = e^{x - x} = e^0 = 1[/tex]
Slik at
[tex]y \, \cdot \, e^x \, \cdot \, e^{-x} \, = \, \frac{1}{2}\,\cdot \, e^x \cdot e^{-x}\left( \, \cos x \, + \, \sin x \right) \, + \, \mathcal{C} \, \cdot \, e^{-x} [/tex]
[tex]y \, = \, \frac{1}{2}\,\cdot \, \left( \, \cos x \, + \, \sin x \right) \, + \, \mathcal{C} \, \cdot \, e^{-x} [/tex]
[tex]y \, \cdot \, e^x \, = \, \frac{1}{2}\,\cdot \, e^x \left( \, \cos x \, + \, \sin x \right) \, + \, \mathcal{C} [/tex]
ikke sant? Herfra Så ganger vi med [tex]e^{-x}[/tex] på begge sider, og ser at
[tex]e^x \cdot e^{-x} = e^{x - x} = e^0 = 1[/tex]
Slik at
[tex]y \, \cdot \, e^x \, \cdot \, e^{-x} \, = \, \frac{1}{2}\,\cdot \, e^x \cdot e^{-x}\left( \, \cos x \, + \, \sin x \right) \, + \, \mathcal{C} \, \cdot \, e^{-x} [/tex]
[tex]y \, = \, \frac{1}{2}\,\cdot \, \left( \, \cos x \, + \, \sin x \right) \, + \, \mathcal{C} \, \cdot \, e^{-x} [/tex]
"Å vite hva man ikke vet er og en slags allvitenhet" - Piet Hein
https://s.ntnu.no/Integralkokeboken
Lektor - Matematikk, Fysikk og Informatikk
https://s.ntnu.no/Integralkokeboken
Lektor - Matematikk, Fysikk og Informatikk