Yes, there are easier ways, such as just using the formula, but this way (as well as the method involving matrices) kind of gives you some background on how to derive the formulas.
For anyone watching, after he gets the system of equations that he has to solve, you can use cramer's rule to get v1' and v2' and then integrate to get v1 and v2. It's a slightly faster way. Great video though. I love this guys channel.
you are a lifesaver guy!!! I have been hovering multiple videos about this topic, none of the videos had any clear and confidential explanation, rather than yours. they just be there for the purpose of collecting subscriptions.
Is variation of parameters ever easier than linear integration? Here’s the same problem solved directly: y”+y=tan t y”*cos t+y*cos t=sin t y’*cos t+y*sin t=C1-cos t y’*sec t+y*tan t*sec t=C1*sec^2 t-sec t y*sec t=C1*tan t-ln|sec t+tan t|+C2 y=C1*sin t-cos t*ln|sec t+tan t|+C2*cos t
Issue: What is a differential of an irrational argument? Let a= some rational approximation, and A be the irrational number itself (if that makes sense). Then A - a > dA and there is no way a + dA > A
plotting this solution reveals a weirdly lumpy periodic function with the period of 2*pi. The lumpiness is kind of interesting if the coefficients of sine and cosine are relatively small. picture: i.imgur.com/Pnu2Yua.jpg
Hi blackpenredpen , I didn't realize why can I find the harmonic solution by solving a polinom? (sorry if my English is incorrect, I don't good in English)
Given: y" - 2*y' - 3*y = 3*sinh(2*x) - 12*cosh(2*x) For this example, I'd use the Laplace transform, and assign arbitrary initial conditions. This can also work using the method of undetermined coefficients, because sinh(2*x) and cosh(2*x) are both a linear combinations of e^(-2*x) and e^(2*x), so you can assume both of these as your ansatz of the particular solution for undetermined coefs. Let y(0) be u, and let y'(0) be v. Also let Y(s) = £{y(x)} £{y"} = s^2*Y(s) - v - u*s £{-2*y'} = -2*s*Y(s) + 2*u £{-3*y} = -3*Y(s) £{3*sinh(2*x))} = 6/(s^2 - 4) £{12*cosh(2*x))} = 12*s/(s^2 - 4) Thus: (s^2 - 2*s - 3)*Y(s) - v - u*s + 2*u = 6/(s^2 - 4) - 12*s/(s^2 - 4) Shuffle initial conditions to the right: (s^2 - 2*s - 3)*Y(s) = 6/(s^2 - 4) - 12*s/(s^2 - 4) + v + (s - 2)*u Change right side to common denominators: (s^2 - 2*s - 3)*Y(s) = (6 - 12*s + (u*s - 2*u + v)*(s^2 - 4))/(s^2 - 4) Isolate Y(s): Y(s) = (6 - 12*s + (u*s - 2*u + v)*(s^2 - 4))/((s^2 - 4)*(s^2 - 2*s - 3)) Factor denominator and expand/gather numerator: Y(s) = (u*s^3 + (v - 2*u)*s^2 - (12 + 4*u)*s + 8 u - 4 v + 6)/((s - 2)*(s + 2)*(s + 1)*(s - 3)) Partial fractions: Y(s) = A/(s - 3) + B/(s + 1) + C/(s - 2) + D/(s + 2) From experience, we know that the two solutions whose denominators are factors of the characteristic polynomial in front of Y(s), they will be the two solutions whose output depends on initial conditions. As such , C and D are the two coefficients that will be from the particular solution, and won't depend on initial conditions. Heaviside cover-up works great for finding them. So we might as well just leave A and B alone, as unknowns for the general solution. C = (u*2^3 + (v - 2*u)*2^2 - (4*u + 12)*2 + 8*u - 4*v + 6)/((2 +2)*(2 + 1)*(2 - 3)) = 3/2 D = (u*(-2)^3 + (v - 2*u)*(-2)^2 - (4*u + 12)*(-2) + 8*u - 4*v + 6)/((4 + 4)*(4 + 1)*(4 - 3)) = -3/2 Y(s) = A/(s - 3) + B/(s + 1) + 3/2/(s - 2) - 3/2/(s + 2) Take inverse Laplace: y(x) = A*e^(3*x) + B*e^(-x) + 3/2*e^(2*x) - 3/2*e^(-x) And we can consolidate our particular part of the solution as a single sinh: y(x) = A*e^(3*x) + B*e^(-x) + 3*sinh(2*x)
my teacher solved it in more easy way
DONT DISRESPECT THE MAN HES FUCKING AMAZING
KEEP ON DOING YOUR THING BPRP
Yes, there are easier ways, such as just using the formula, but this way (as well as the method involving matrices) kind of gives you some background on how to derive the formulas.
So why are you watching dis....
Go n study to your teacher......dont show off man!
Watch my channel for more easy way..
Hey guys chill alright? It's completely normal that there are faster ways to solve a question, don't get so butthurt.
For anyone watching, after he gets the system of equations that he has to solve, you can use cramer's rule to get v1' and v2' and then integrate to get v1 and v2. It's a slightly faster way. Great video though. I love this guys channel.
you are a lifesaver guy!!! I have been hovering multiple videos about this topic, none of the videos had any clear and confidential explanation, rather than yours. they just be there for the purpose of collecting subscriptions.
For those who want the final solution: y = C1 cos(t) + C2 sin(t) - cos(t) ln|sec(t) + tan(t)|
Spencer Key yay!
Problem: find the Fourier Series.
y"+y=tan(t)
I love all your videos!
blackpenredpen blue pen? there is something wrong with this video... :)
raees khan thanks!!
why dont u just plug in V2' which u just solved
Excellent work as always. By the way it was easier to substitute v2 derivative instead in the first equation, exploiting the zero.
I understand this now with 1000% clarity.
you are the best!!!!
#RespectFromSouthAfrica
Is variation of parameters ever easier than linear integration? Here’s the same problem solved directly:
y”+y=tan t
y”*cos t+y*cos t=sin t
y’*cos t+y*sin t=C1-cos t
y’*sec t+y*tan t*sec t=C1*sec^2 t-sec t
y*sec t=C1*tan t-ln|sec t+tan t|+C2
y=C1*sin t-cos t*ln|sec t+tan t|+C2*cos t
Can you do one using wronskians and integral? Ex: u_1 = int((y_2(t)*g(t))/W(y_1,y_2))
you my friend deserve a medal. You will reach 1 mil subs
It happened, on November 11, 2022.
Excellent video! Thank you so much.
Very helpful. God bless you
THANK YOU!!!! PLEASE KEEP IT COMING I HAVE CALC 3 IN THE FALL AND LINEAR ALGEBRA IN THE SPRING
THANK YOU BlackPenRP
Finally i understand this. Thank you!
太谢谢你了,我考前复习正好看到这个问题不懂,你这个办法也挺好的,用包含矩阵的积分公式似乎对我来说难以记忆,如果真忘了那我只好推导了哈哈老师说我们时间很够。
Just Amazing Brother..!!!
Excellent!
Thank you so much!
Very Helpful
After finding V'2 why can we not plug it into one of the equations to acquire V'1??
you can
Yep, you can get it many ways. Whatever floats your equation bro
so now i will have to go back and review how to integerate trig functions
Cool. We've only learnt how to solve linear second order differential equations by inspection so far.
Good job I love it so much
he makes me laugh when he laughs lol
Thanks! would love to see more examples for variation of parameters!
Issue:
What is a differential of an irrational argument?
Let a= some rational approximation, and A be the irrational number itself (if that makes sense).
Then A - a > dA and there is no way a + dA > A
Is it easier to use wronskian couple with cramers rule?
Thanks so much
Thanks you
plotting this solution reveals a weirdly lumpy periodic function with the period of 2*pi. The lumpiness is kind of interesting if the coefficients of sine and cosine are relatively small. picture: i.imgur.com/Pnu2Yua.jpg
I have to do it via wronskian
Have to? That's the easier way. I always prefer a formula.
This is the safest solution possible. So, why not? haha
Where is C from the particular solution in the final answer?
🙏🙏sir u r amazing
why not use the wroskian approach
طريقة الحل جدا مفهومه شكرا
6:18 - 6:22 was epic
is this still cauchy euler method applied?
i love your videos
thank you
You and your methods are amazing and easily understandable also....
Thank you, my teacher want us to do it this way and not the wronskian method
hello there how to do that when i have more than 3 equations? are there techniques to quicken the solving?
@blackpenredpen
Hi blackpenredpen , I didn't realize why can I find the harmonic solution by solving a polinom? (sorry if my English is incorrect, I don't good in English)
What about y''+y'=tan(x)
I am not getting how he takes y1=cost and y2 = sint. Please explain that
Great vid as always! By the way, would this method also work with higher order derivatives (f.ex. y''', y"" etc)? Thanks!
Yes it does!
We can all be happy that the original question is y"+y=tan(t) and not y"-y=tan(t).
That is correct!
I'm struggling along with y''-y=sinh(2x)
In what video do you explain the y_p equation?
Alright thanks!
hi thnx a lot. And how about this diff. eq. y''+5y'+11=tan(x)?
ive just got the y1 for the yh, how i can solve it???
can you help me how to solve y''+y= sec (theta) tan (theta). im confused when it has (theta)
if sin^2t+cos^2t=1 then v1'+v1=2v1'? isnt it?
My equation is a 3rd order nonhomogeneous. How can I solve it ?
thank's
what's y'' is it the second derivative of y?
yes
#RespectfromIndia
y''+4y=cos(2x)
You can use undetermined coefficient method
Why there is no the coefficient C_3 at cos(t)*ln(abs(sec(t)+tan(t))) in the answer?
Particular solution.you don't need a c3.
lit outro music
just use wronskian instead and easier and workds
Why y1' +y2' = f(t)/a is valid? Is there have any theorems?
you can watch the previous video about the variation of parameters, introduction, and idea, in case you are still alive.
Not sure if title of video is quotation marks or 2 of '
niklas schüller lol
It's 2 of '
Very helpfull. How Can i solve this equation please? y''-2y'-3y=3sinh(2x)-12cosh(2x)
Given:
y" - 2*y' - 3*y = 3*sinh(2*x) - 12*cosh(2*x)
For this example, I'd use the Laplace transform, and assign arbitrary initial conditions. This can also work using the method of undetermined coefficients, because sinh(2*x) and cosh(2*x) are both a linear combinations of e^(-2*x) and e^(2*x), so you can assume both of these as your ansatz of the particular solution for undetermined coefs.
Let y(0) be u, and let y'(0) be v. Also let Y(s) = £{y(x)}
£{y"} = s^2*Y(s) - v - u*s
£{-2*y'} = -2*s*Y(s) + 2*u
£{-3*y} = -3*Y(s)
£{3*sinh(2*x))} = 6/(s^2 - 4)
£{12*cosh(2*x))} = 12*s/(s^2 - 4)
Thus:
(s^2 - 2*s - 3)*Y(s) - v - u*s + 2*u = 6/(s^2 - 4) - 12*s/(s^2 - 4)
Shuffle initial conditions to the right:
(s^2 - 2*s - 3)*Y(s) = 6/(s^2 - 4) - 12*s/(s^2 - 4) + v + (s - 2)*u
Change right side to common denominators:
(s^2 - 2*s - 3)*Y(s) = (6 - 12*s + (u*s - 2*u + v)*(s^2 - 4))/(s^2 - 4)
Isolate Y(s):
Y(s) = (6 - 12*s + (u*s - 2*u + v)*(s^2 - 4))/((s^2 - 4)*(s^2 - 2*s - 3))
Factor denominator and expand/gather numerator:
Y(s) = (u*s^3 + (v - 2*u)*s^2 - (12 + 4*u)*s + 8 u - 4 v + 6)/((s - 2)*(s + 2)*(s + 1)*(s - 3))
Partial fractions:
Y(s) = A/(s - 3) + B/(s + 1) + C/(s - 2) + D/(s + 2)
From experience, we know that the two solutions whose denominators are factors of the characteristic polynomial in front of Y(s), they will be the two solutions whose output depends on initial conditions. As such , C and D are the two coefficients that will be from the particular solution, and won't depend on initial conditions. Heaviside cover-up works great for finding them. So we might as well just leave A and B alone, as unknowns for the general solution.
C = (u*2^3 + (v - 2*u)*2^2 - (4*u + 12)*2 + 8*u - 4*v + 6)/((2 +2)*(2 + 1)*(2 - 3)) = 3/2
D = (u*(-2)^3 + (v - 2*u)*(-2)^2 - (4*u + 12)*(-2) + 8*u - 4*v + 6)/((4 + 4)*(4 + 1)*(4 - 3)) = -3/2
Y(s) = A/(s - 3) + B/(s + 1) + 3/2/(s - 2) - 3/2/(s + 2)
Take inverse Laplace:
y(x) = A*e^(3*x) + B*e^(-x) + 3/2*e^(2*x) - 3/2*e^(-x)
And we can consolidate our particular part of the solution as a single sinh:
y(x) = A*e^(3*x) + B*e^(-x) + 3*sinh(2*x)
what is the sect ???? THANKS
sec(t) = 1/cos(t)
👏🏽👏🏽👏🏽👏🏽👏🏽
한국인처럼 생겼군요 ...... 김태형 아시 잖아요
You forgot to write y2v2 its sinx(-cosx)
Day orange6 ?
He did, it cancelled out. :)
how do you become this much smart
At the end u forgot to ad y2u2
taking this adv ODE in year 3 mechanical engineering, will take adv PDE next year hope u can cover the topics in adv PDE love
My teacher makes use of matrix to make it look easier and faster.
wakanyanya
Cooll
uau
Thank you very much. Much appreciated.
thank you