Taking the derivative of a differential equation Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Change of variables and the partial derivativeLaplace's Equation for a Radial Function (cylindrical co-ord)Transform the following Differential EquationMass Continuity Equation for Fluid - Running Into a ProblemConfusion on taking the second partial derivative:Taking derivative of energy of wave equationTotal Derivative of Vector Function of TimeReconcile the chain rule with a derivative formulaVerification of the derivative of the form: $fracpartialpartial v left[ sum_n left(w^top f(v, x_n) - o_n right)^2 right]$Calculating $u_t$, $u_x$, and $u_xx$ for $u(x, t) = -2 dfracpartialpartialxlog(phi(x,t))$Partial derivative of a function within a function, lambda calculus
How much damage would a cupful of neutron star matter do to the Earth?
Why complex landing gears are used instead of simple,reliability and light weight muscle wire or shape memory alloys?
Did any compiler fully use 80-bit floating point?
How can I prevent/balance waiting and turtling as a response to cooldown mechanics
Project Euler #1 in C++
Can you force honesty by using the Speak with Dead and Zone of Truth spells together?
Why not send Voyager 3 and 4 following up the paths taken by Voyager 1 and 2 to re-transmit signals of later as they fly away from Earth?
What is the difference between CTSS and ITS?
Why is it faster to reheat something than it is to cook it?
Can two people see the same photon?
Tips to organize LaTeX presentations for a semester
Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?
Test print coming out spongy
GDP with Intermediate Production
What is the chair depicted in Cesare Maccari's 1889 painting "Cicerone denuncia Catilina"?
Why do early math courses focus on the cross sections of a cone and not on other 3D objects?
AppleTVs create a chatty alternate WiFi network
What does Turing mean by this statement?
My mentor says to set image to Fine instead of RAW — how is this different from JPG?
How does light 'choose' between wave and particle behaviour?
Was Kant an Intuitionist about mathematical objects?
Where is the Next Backup Size entry on iOS 12?
What does it mean that physics no longer uses mechanical models to describe phenomena?
Rationale for describing kurtosis as "peakedness"?
Taking the derivative of a differential equation
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Change of variables and the partial derivativeLaplace's Equation for a Radial Function (cylindrical co-ord)Transform the following Differential EquationMass Continuity Equation for Fluid - Running Into a ProblemConfusion on taking the second partial derivative:Taking derivative of energy of wave equationTotal Derivative of Vector Function of TimeReconcile the chain rule with a derivative formulaVerification of the derivative of the form: $fracpartialpartial v left[ sum_n left(w^top f(v, x_n) - o_n right)^2 right]$Calculating $u_t$, $u_x$, and $u_xx$ for $u(x, t) = -2 dfracpartialpartialxlog(phi(x,t))$Partial derivative of a function within a function, lambda calculus
$begingroup$
My book jumps from
$$fracpartial fpartial x(x, g(x)) + fracpartial fpartial y(x, g(x))g'(x) = 0 $$
to
$$fracpartial^2 fpartial x^2(x, g(x)) + 2 cdot fracpartial fpartial x partial y (x, g(x))g'(x) + fracpartial^2 fpartial y^2(x, g(x))(g'(x))^2 + fracpartial fpartial y(x, g(x))g''(x) = 0.$$
It is left as an exercise to verify that this new equality can be obtained by differentiating both sides of the first equation. I've been trying to do this, but I haven't been able to get to the desired result. I'm sort of new to partial derivatives, and I would really appreciate it if someone can show me the steps that are taken when differentiating the first equation. I'm pretty sure my setup itself is wrong.
I've looked at many examples now, but I still haven't been able to get anywhere, since they are not too similar to what I have
I would really appreciate any help.
Thanks
My try:
$$fracpartialpartial xleft(fracpartial fpartial x(x, g(x)) + fracpartial fpartial y(x, g(x))g'(x)right) $$
$$= underbracefracpartialpartial xleft(fracpartial fpartial x(x,g(x)) right)_textTerm 1 + underbracefracpartialpartial xleft(fracpartial fpartial y(x, g(x))g'(x)right)_textTerm 2$$
Now computing Term 1:
$$fracpartialpartial xleft(fracpartial fpartial x(x,g(x)) right) = fracpartial^2fpartial x^2(x, g(x)) cdot text some chain rule term $$
What would the chain rule term be? I know in single-variable calculus, if you're doing the derivative of $f(g(x))$, then you need to multiply by $g'(x)$. But here, there are two variables.
multivariable-calculus derivatives partial-derivative
$endgroup$
add a comment |
$begingroup$
My book jumps from
$$fracpartial fpartial x(x, g(x)) + fracpartial fpartial y(x, g(x))g'(x) = 0 $$
to
$$fracpartial^2 fpartial x^2(x, g(x)) + 2 cdot fracpartial fpartial x partial y (x, g(x))g'(x) + fracpartial^2 fpartial y^2(x, g(x))(g'(x))^2 + fracpartial fpartial y(x, g(x))g''(x) = 0.$$
It is left as an exercise to verify that this new equality can be obtained by differentiating both sides of the first equation. I've been trying to do this, but I haven't been able to get to the desired result. I'm sort of new to partial derivatives, and I would really appreciate it if someone can show me the steps that are taken when differentiating the first equation. I'm pretty sure my setup itself is wrong.
I've looked at many examples now, but I still haven't been able to get anywhere, since they are not too similar to what I have
I would really appreciate any help.
Thanks
My try:
$$fracpartialpartial xleft(fracpartial fpartial x(x, g(x)) + fracpartial fpartial y(x, g(x))g'(x)right) $$
$$= underbracefracpartialpartial xleft(fracpartial fpartial x(x,g(x)) right)_textTerm 1 + underbracefracpartialpartial xleft(fracpartial fpartial y(x, g(x))g'(x)right)_textTerm 2$$
Now computing Term 1:
$$fracpartialpartial xleft(fracpartial fpartial x(x,g(x)) right) = fracpartial^2fpartial x^2(x, g(x)) cdot text some chain rule term $$
What would the chain rule term be? I know in single-variable calculus, if you're doing the derivative of $f(g(x))$, then you need to multiply by $g'(x)$. But here, there are two variables.
multivariable-calculus derivatives partial-derivative
$endgroup$
4
$begingroup$
See! Giving the attempt now allows people to tell you what you did wrong, rather than giving a correct answer which would still leave questions about your working. It was a good decision to include the working, and I have up voted in this regard.
$endgroup$
– астон вілла олоф мэллбэрг
Apr 12 at 8:13
$begingroup$
My answer here answers your question. The notation is heavy, but it is proper.
$endgroup$
– Git Gud
Apr 12 at 8:15
$begingroup$
I'm still not really getting anywhere. I think it is hard to understand because of the notation. Working backwards, I can guess that the chain rule term for Term 1 is going to be $1$. But I don't know how to do it properly.
$endgroup$
– user663014
Apr 12 at 8:37
$begingroup$
Yes, it's not easy when one's is not used to it. But it gets much easier after you get over the initial learning curve. I tried to give some guidance below.
$endgroup$
– Git Gud
Apr 12 at 9:42
$begingroup$
Sorry, I had a few typos from too much copy and pasting. All good now.
$endgroup$
– Git Gud
Apr 12 at 10:00
add a comment |
$begingroup$
My book jumps from
$$fracpartial fpartial x(x, g(x)) + fracpartial fpartial y(x, g(x))g'(x) = 0 $$
to
$$fracpartial^2 fpartial x^2(x, g(x)) + 2 cdot fracpartial fpartial x partial y (x, g(x))g'(x) + fracpartial^2 fpartial y^2(x, g(x))(g'(x))^2 + fracpartial fpartial y(x, g(x))g''(x) = 0.$$
It is left as an exercise to verify that this new equality can be obtained by differentiating both sides of the first equation. I've been trying to do this, but I haven't been able to get to the desired result. I'm sort of new to partial derivatives, and I would really appreciate it if someone can show me the steps that are taken when differentiating the first equation. I'm pretty sure my setup itself is wrong.
I've looked at many examples now, but I still haven't been able to get anywhere, since they are not too similar to what I have
I would really appreciate any help.
Thanks
My try:
$$fracpartialpartial xleft(fracpartial fpartial x(x, g(x)) + fracpartial fpartial y(x, g(x))g'(x)right) $$
$$= underbracefracpartialpartial xleft(fracpartial fpartial x(x,g(x)) right)_textTerm 1 + underbracefracpartialpartial xleft(fracpartial fpartial y(x, g(x))g'(x)right)_textTerm 2$$
Now computing Term 1:
$$fracpartialpartial xleft(fracpartial fpartial x(x,g(x)) right) = fracpartial^2fpartial x^2(x, g(x)) cdot text some chain rule term $$
What would the chain rule term be? I know in single-variable calculus, if you're doing the derivative of $f(g(x))$, then you need to multiply by $g'(x)$. But here, there are two variables.
multivariable-calculus derivatives partial-derivative
$endgroup$
My book jumps from
$$fracpartial fpartial x(x, g(x)) + fracpartial fpartial y(x, g(x))g'(x) = 0 $$
to
$$fracpartial^2 fpartial x^2(x, g(x)) + 2 cdot fracpartial fpartial x partial y (x, g(x))g'(x) + fracpartial^2 fpartial y^2(x, g(x))(g'(x))^2 + fracpartial fpartial y(x, g(x))g''(x) = 0.$$
It is left as an exercise to verify that this new equality can be obtained by differentiating both sides of the first equation. I've been trying to do this, but I haven't been able to get to the desired result. I'm sort of new to partial derivatives, and I would really appreciate it if someone can show me the steps that are taken when differentiating the first equation. I'm pretty sure my setup itself is wrong.
I've looked at many examples now, but I still haven't been able to get anywhere, since they are not too similar to what I have
I would really appreciate any help.
Thanks
My try:
$$fracpartialpartial xleft(fracpartial fpartial x(x, g(x)) + fracpartial fpartial y(x, g(x))g'(x)right) $$
$$= underbracefracpartialpartial xleft(fracpartial fpartial x(x,g(x)) right)_textTerm 1 + underbracefracpartialpartial xleft(fracpartial fpartial y(x, g(x))g'(x)right)_textTerm 2$$
Now computing Term 1:
$$fracpartialpartial xleft(fracpartial fpartial x(x,g(x)) right) = fracpartial^2fpartial x^2(x, g(x)) cdot text some chain rule term $$
What would the chain rule term be? I know in single-variable calculus, if you're doing the derivative of $f(g(x))$, then you need to multiply by $g'(x)$. But here, there are two variables.
multivariable-calculus derivatives partial-derivative
multivariable-calculus derivatives partial-derivative
edited Apr 12 at 8:19
Git Gud
28.9k1050101
28.9k1050101
asked Apr 12 at 7:50
user663014
4
$begingroup$
See! Giving the attempt now allows people to tell you what you did wrong, rather than giving a correct answer which would still leave questions about your working. It was a good decision to include the working, and I have up voted in this regard.
$endgroup$
– астон вілла олоф мэллбэрг
Apr 12 at 8:13
$begingroup$
My answer here answers your question. The notation is heavy, but it is proper.
$endgroup$
– Git Gud
Apr 12 at 8:15
$begingroup$
I'm still not really getting anywhere. I think it is hard to understand because of the notation. Working backwards, I can guess that the chain rule term for Term 1 is going to be $1$. But I don't know how to do it properly.
$endgroup$
– user663014
Apr 12 at 8:37
$begingroup$
Yes, it's not easy when one's is not used to it. But it gets much easier after you get over the initial learning curve. I tried to give some guidance below.
$endgroup$
– Git Gud
Apr 12 at 9:42
$begingroup$
Sorry, I had a few typos from too much copy and pasting. All good now.
$endgroup$
– Git Gud
Apr 12 at 10:00
add a comment |
4
$begingroup$
See! Giving the attempt now allows people to tell you what you did wrong, rather than giving a correct answer which would still leave questions about your working. It was a good decision to include the working, and I have up voted in this regard.
$endgroup$
– астон вілла олоф мэллбэрг
Apr 12 at 8:13
$begingroup$
My answer here answers your question. The notation is heavy, but it is proper.
$endgroup$
– Git Gud
Apr 12 at 8:15
$begingroup$
I'm still not really getting anywhere. I think it is hard to understand because of the notation. Working backwards, I can guess that the chain rule term for Term 1 is going to be $1$. But I don't know how to do it properly.
$endgroup$
– user663014
Apr 12 at 8:37
$begingroup$
Yes, it's not easy when one's is not used to it. But it gets much easier after you get over the initial learning curve. I tried to give some guidance below.
$endgroup$
– Git Gud
Apr 12 at 9:42
$begingroup$
Sorry, I had a few typos from too much copy and pasting. All good now.
$endgroup$
– Git Gud
Apr 12 at 10:00
4
4
$begingroup$
See! Giving the attempt now allows people to tell you what you did wrong, rather than giving a correct answer which would still leave questions about your working. It was a good decision to include the working, and I have up voted in this regard.
$endgroup$
– астон вілла олоф мэллбэрг
Apr 12 at 8:13
$begingroup$
See! Giving the attempt now allows people to tell you what you did wrong, rather than giving a correct answer which would still leave questions about your working. It was a good decision to include the working, and I have up voted in this regard.
$endgroup$
– астон вілла олоф мэллбэрг
Apr 12 at 8:13
$begingroup$
My answer here answers your question. The notation is heavy, but it is proper.
$endgroup$
– Git Gud
Apr 12 at 8:15
$begingroup$
My answer here answers your question. The notation is heavy, but it is proper.
$endgroup$
– Git Gud
Apr 12 at 8:15
$begingroup$
I'm still not really getting anywhere. I think it is hard to understand because of the notation. Working backwards, I can guess that the chain rule term for Term 1 is going to be $1$. But I don't know how to do it properly.
$endgroup$
– user663014
Apr 12 at 8:37
$begingroup$
I'm still not really getting anywhere. I think it is hard to understand because of the notation. Working backwards, I can guess that the chain rule term for Term 1 is going to be $1$. But I don't know how to do it properly.
$endgroup$
– user663014
Apr 12 at 8:37
$begingroup$
Yes, it's not easy when one's is not used to it. But it gets much easier after you get over the initial learning curve. I tried to give some guidance below.
$endgroup$
– Git Gud
Apr 12 at 9:42
$begingroup$
Yes, it's not easy when one's is not used to it. But it gets much easier after you get over the initial learning curve. I tried to give some guidance below.
$endgroup$
– Git Gud
Apr 12 at 9:42
$begingroup$
Sorry, I had a few typos from too much copy and pasting. All good now.
$endgroup$
– Git Gud
Apr 12 at 10:00
$begingroup$
Sorry, I had a few typos from too much copy and pasting. All good now.
$endgroup$
– Git Gud
Apr 12 at 10:00
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
You're presumably given a function $f$ whose domain is a subset of $mathbb R^2$. Since this isn't specified, I'll take the simpler approach and assume the domain is $mathbb R^2$. This allow us to write $fcolon mathbb R^2 to mathbb R$.
Also presumably, you're given a differential function $gcolon mathbb Rto mathbb R$.
Now let's define $varphi$ as $varphi colon mathbb Rto mathbb R^2, xmapsto (x, g(x))$.
You want to differentiate the function given below (with the appropriate implicit domain)
$$
xmapsto fracpartial fpartial x(x, g(x)) + fracpartial fpartial y(x, g(x))g'(x)
$$
This can be rewritten as
$$
xmapsto left(fracpartial fpartial xcircvarphiright)(x) + left(fracpartial fpartial ycircvarphiright)(x)cdot g'(x)
$$
Since the derivative of a sum is the sum of the derivatives (when they all exist), we can focus on each member of this sum separately.
We want to differentiate $colorbluexmapsto left(dfracpartial fpartial xcircvarphiright)(x)$. Now allow me to change the notation $dfracpartial fpartial x$ to $partial_1f$. They denote the same thing: the derivative with respect to the first coordinate.
In the notation of this answer we have $m=2$, $n=1=p$, $G=partial_1f$, $F=varphi$, (now because the choice of letters in both questions gets confusing, I'll use $varphi_1$ and $varphi_2$ (in place of $f_1$ and $f_2$ used in the linked answer), $varphi_1colon mathbb Rto mathbb R, xmapsto x$ and $varphi_2colon mathbb Rto mathbb R, xmapsto g(x)$. Now set $H=Gcirc F$.
We have that $colorblueH$ is $colorblueleft(partial_1fright)circ varphi$ and this is what we wish to differentiate, in other words we wish to find $H'$. Since $H$ is a scalar function whose domain is $mathbb R$, its components are just a singular $h_1$ in the notation of the linked answer, which yields:
$$
beginalign
overbrace
beginbmatrix
partial _1h_1
endbmatrix_x
^H'(x)
&=
beginbmatrix
partial_1left(partial_1fright) & partial_2left(partial_1fright)
endbmatrix_varphi(x,y)
overbracebeginbmatrix
partial _1varphi_1\
partial_1varphi_2
endbmatrix_x^beginbmatrix
varphi_1'\
varphi_2'
endbmatrix_x\
&=
beginbmatrix
left(partial _1left(partial_1fright)right)(x,g(x)) & left(partial_2left(partial_1fright)right)(x, g(x))
endbmatrix
beginbmatrix
1\
g'(x)
endbmatrix\
&=
beginbmatrix
left(partial _1left(partial_1fright)right)(x,g(x)) + left(partial_2left(partial_1fright)right)(x, g(x))cdot g'(x)
endbmatrix_.
endalign
$$
The last term above can be translated back to
$$
dfracpartial^2fpartial x^2(x,g(x)) + dfracpartial^2fpartial ypartial x(x, g(x))cdot g'(x)
$$
It is similar for $dfracpartial fpartial ycircvarphi$.
$endgroup$
add a comment |
$begingroup$
Hint: The notation can be a bit confusing here. $f$ is a function of two variables. A derivative with respect to the first variable is denoted by $fracpartial fpartial x$, a derivative with respect to the second variable is denoted by $fracpartial fpartial y$. If instead you denote them by $fracpartial fpartial x_1$ and $fracpartial fpartial x_2$ it might be a bit clearer. At the same time you plug in the function $x$ into the first variable and the function $g(x)$ into the second variable. You are differentiating with respect to $x$ and need to apply the chain rule.
Edit: I will write out what happens in the first term with the renaming of variables. We want to compute: $$fracpartialpartial xleft(fracpartial fpartial x_1(x, g(x))right)$$
So we have
$$fracpartialpartial xleft(fracpartial fpartial x_1(x, g(x))right)=fracpartial partial x_1fracpartial fpartial x_1(x, g(x)) cdot fracpartial partial x(x) + fracpartial partial x_2fracpartial fpartial x_1(x, g(x)) cdot fracpartial partial xg(x)$$
Simplify a bit:
$$fracpartialpartial xleft(fracpartial fpartial x_1(x, g(x))right)=fracpartial^2 fpartial^2 x_1(x, g(x)) + fracpartial^2 fpartial x_2partial x_1(x, g(x)) cdot g'(x)$$
The second term is almost the same, you just have an extra factor of $g(x)$ that requires the product rule.
$endgroup$
$begingroup$
Thanks. Let me update my post with my attempt and show you where I am getting stuck
$endgroup$
– user663014
Apr 12 at 8:05
$begingroup$
Please see my update
$endgroup$
– user663014
Apr 12 at 8:11
$begingroup$
What quarague alludes to is one of the reasons why I much prefer the notation $partial_1$, $partial_2$, etc. Less to write, more universally applicable (as it is independent of symbols used in the definitions of the functions, as it should be), and doesn't rest on useless confusing concepts like that of "function of $x$", as if $x$ weren't a bound variable.
$endgroup$
– Git Gud
Apr 12 at 8:22
$begingroup$
So here, $x_2 = y$?
$endgroup$
– user663014
Apr 12 at 13:21
$begingroup$
@gallileo22 Yes: $x_1$ is being used in place of $x$ and $x_2$ is being used in place of $y$.
$endgroup$
– Git Gud
Apr 12 at 13:30
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3184764%2ftaking-the-derivative-of-a-differential-equation%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
You're presumably given a function $f$ whose domain is a subset of $mathbb R^2$. Since this isn't specified, I'll take the simpler approach and assume the domain is $mathbb R^2$. This allow us to write $fcolon mathbb R^2 to mathbb R$.
Also presumably, you're given a differential function $gcolon mathbb Rto mathbb R$.
Now let's define $varphi$ as $varphi colon mathbb Rto mathbb R^2, xmapsto (x, g(x))$.
You want to differentiate the function given below (with the appropriate implicit domain)
$$
xmapsto fracpartial fpartial x(x, g(x)) + fracpartial fpartial y(x, g(x))g'(x)
$$
This can be rewritten as
$$
xmapsto left(fracpartial fpartial xcircvarphiright)(x) + left(fracpartial fpartial ycircvarphiright)(x)cdot g'(x)
$$
Since the derivative of a sum is the sum of the derivatives (when they all exist), we can focus on each member of this sum separately.
We want to differentiate $colorbluexmapsto left(dfracpartial fpartial xcircvarphiright)(x)$. Now allow me to change the notation $dfracpartial fpartial x$ to $partial_1f$. They denote the same thing: the derivative with respect to the first coordinate.
In the notation of this answer we have $m=2$, $n=1=p$, $G=partial_1f$, $F=varphi$, (now because the choice of letters in both questions gets confusing, I'll use $varphi_1$ and $varphi_2$ (in place of $f_1$ and $f_2$ used in the linked answer), $varphi_1colon mathbb Rto mathbb R, xmapsto x$ and $varphi_2colon mathbb Rto mathbb R, xmapsto g(x)$. Now set $H=Gcirc F$.
We have that $colorblueH$ is $colorblueleft(partial_1fright)circ varphi$ and this is what we wish to differentiate, in other words we wish to find $H'$. Since $H$ is a scalar function whose domain is $mathbb R$, its components are just a singular $h_1$ in the notation of the linked answer, which yields:
$$
beginalign
overbrace
beginbmatrix
partial _1h_1
endbmatrix_x
^H'(x)
&=
beginbmatrix
partial_1left(partial_1fright) & partial_2left(partial_1fright)
endbmatrix_varphi(x,y)
overbracebeginbmatrix
partial _1varphi_1\
partial_1varphi_2
endbmatrix_x^beginbmatrix
varphi_1'\
varphi_2'
endbmatrix_x\
&=
beginbmatrix
left(partial _1left(partial_1fright)right)(x,g(x)) & left(partial_2left(partial_1fright)right)(x, g(x))
endbmatrix
beginbmatrix
1\
g'(x)
endbmatrix\
&=
beginbmatrix
left(partial _1left(partial_1fright)right)(x,g(x)) + left(partial_2left(partial_1fright)right)(x, g(x))cdot g'(x)
endbmatrix_.
endalign
$$
The last term above can be translated back to
$$
dfracpartial^2fpartial x^2(x,g(x)) + dfracpartial^2fpartial ypartial x(x, g(x))cdot g'(x)
$$
It is similar for $dfracpartial fpartial ycircvarphi$.
$endgroup$
add a comment |
$begingroup$
You're presumably given a function $f$ whose domain is a subset of $mathbb R^2$. Since this isn't specified, I'll take the simpler approach and assume the domain is $mathbb R^2$. This allow us to write $fcolon mathbb R^2 to mathbb R$.
Also presumably, you're given a differential function $gcolon mathbb Rto mathbb R$.
Now let's define $varphi$ as $varphi colon mathbb Rto mathbb R^2, xmapsto (x, g(x))$.
You want to differentiate the function given below (with the appropriate implicit domain)
$$
xmapsto fracpartial fpartial x(x, g(x)) + fracpartial fpartial y(x, g(x))g'(x)
$$
This can be rewritten as
$$
xmapsto left(fracpartial fpartial xcircvarphiright)(x) + left(fracpartial fpartial ycircvarphiright)(x)cdot g'(x)
$$
Since the derivative of a sum is the sum of the derivatives (when they all exist), we can focus on each member of this sum separately.
We want to differentiate $colorbluexmapsto left(dfracpartial fpartial xcircvarphiright)(x)$. Now allow me to change the notation $dfracpartial fpartial x$ to $partial_1f$. They denote the same thing: the derivative with respect to the first coordinate.
In the notation of this answer we have $m=2$, $n=1=p$, $G=partial_1f$, $F=varphi$, (now because the choice of letters in both questions gets confusing, I'll use $varphi_1$ and $varphi_2$ (in place of $f_1$ and $f_2$ used in the linked answer), $varphi_1colon mathbb Rto mathbb R, xmapsto x$ and $varphi_2colon mathbb Rto mathbb R, xmapsto g(x)$. Now set $H=Gcirc F$.
We have that $colorblueH$ is $colorblueleft(partial_1fright)circ varphi$ and this is what we wish to differentiate, in other words we wish to find $H'$. Since $H$ is a scalar function whose domain is $mathbb R$, its components are just a singular $h_1$ in the notation of the linked answer, which yields:
$$
beginalign
overbrace
beginbmatrix
partial _1h_1
endbmatrix_x
^H'(x)
&=
beginbmatrix
partial_1left(partial_1fright) & partial_2left(partial_1fright)
endbmatrix_varphi(x,y)
overbracebeginbmatrix
partial _1varphi_1\
partial_1varphi_2
endbmatrix_x^beginbmatrix
varphi_1'\
varphi_2'
endbmatrix_x\
&=
beginbmatrix
left(partial _1left(partial_1fright)right)(x,g(x)) & left(partial_2left(partial_1fright)right)(x, g(x))
endbmatrix
beginbmatrix
1\
g'(x)
endbmatrix\
&=
beginbmatrix
left(partial _1left(partial_1fright)right)(x,g(x)) + left(partial_2left(partial_1fright)right)(x, g(x))cdot g'(x)
endbmatrix_.
endalign
$$
The last term above can be translated back to
$$
dfracpartial^2fpartial x^2(x,g(x)) + dfracpartial^2fpartial ypartial x(x, g(x))cdot g'(x)
$$
It is similar for $dfracpartial fpartial ycircvarphi$.
$endgroup$
add a comment |
$begingroup$
You're presumably given a function $f$ whose domain is a subset of $mathbb R^2$. Since this isn't specified, I'll take the simpler approach and assume the domain is $mathbb R^2$. This allow us to write $fcolon mathbb R^2 to mathbb R$.
Also presumably, you're given a differential function $gcolon mathbb Rto mathbb R$.
Now let's define $varphi$ as $varphi colon mathbb Rto mathbb R^2, xmapsto (x, g(x))$.
You want to differentiate the function given below (with the appropriate implicit domain)
$$
xmapsto fracpartial fpartial x(x, g(x)) + fracpartial fpartial y(x, g(x))g'(x)
$$
This can be rewritten as
$$
xmapsto left(fracpartial fpartial xcircvarphiright)(x) + left(fracpartial fpartial ycircvarphiright)(x)cdot g'(x)
$$
Since the derivative of a sum is the sum of the derivatives (when they all exist), we can focus on each member of this sum separately.
We want to differentiate $colorbluexmapsto left(dfracpartial fpartial xcircvarphiright)(x)$. Now allow me to change the notation $dfracpartial fpartial x$ to $partial_1f$. They denote the same thing: the derivative with respect to the first coordinate.
In the notation of this answer we have $m=2$, $n=1=p$, $G=partial_1f$, $F=varphi$, (now because the choice of letters in both questions gets confusing, I'll use $varphi_1$ and $varphi_2$ (in place of $f_1$ and $f_2$ used in the linked answer), $varphi_1colon mathbb Rto mathbb R, xmapsto x$ and $varphi_2colon mathbb Rto mathbb R, xmapsto g(x)$. Now set $H=Gcirc F$.
We have that $colorblueH$ is $colorblueleft(partial_1fright)circ varphi$ and this is what we wish to differentiate, in other words we wish to find $H'$. Since $H$ is a scalar function whose domain is $mathbb R$, its components are just a singular $h_1$ in the notation of the linked answer, which yields:
$$
beginalign
overbrace
beginbmatrix
partial _1h_1
endbmatrix_x
^H'(x)
&=
beginbmatrix
partial_1left(partial_1fright) & partial_2left(partial_1fright)
endbmatrix_varphi(x,y)
overbracebeginbmatrix
partial _1varphi_1\
partial_1varphi_2
endbmatrix_x^beginbmatrix
varphi_1'\
varphi_2'
endbmatrix_x\
&=
beginbmatrix
left(partial _1left(partial_1fright)right)(x,g(x)) & left(partial_2left(partial_1fright)right)(x, g(x))
endbmatrix
beginbmatrix
1\
g'(x)
endbmatrix\
&=
beginbmatrix
left(partial _1left(partial_1fright)right)(x,g(x)) + left(partial_2left(partial_1fright)right)(x, g(x))cdot g'(x)
endbmatrix_.
endalign
$$
The last term above can be translated back to
$$
dfracpartial^2fpartial x^2(x,g(x)) + dfracpartial^2fpartial ypartial x(x, g(x))cdot g'(x)
$$
It is similar for $dfracpartial fpartial ycircvarphi$.
$endgroup$
You're presumably given a function $f$ whose domain is a subset of $mathbb R^2$. Since this isn't specified, I'll take the simpler approach and assume the domain is $mathbb R^2$. This allow us to write $fcolon mathbb R^2 to mathbb R$.
Also presumably, you're given a differential function $gcolon mathbb Rto mathbb R$.
Now let's define $varphi$ as $varphi colon mathbb Rto mathbb R^2, xmapsto (x, g(x))$.
You want to differentiate the function given below (with the appropriate implicit domain)
$$
xmapsto fracpartial fpartial x(x, g(x)) + fracpartial fpartial y(x, g(x))g'(x)
$$
This can be rewritten as
$$
xmapsto left(fracpartial fpartial xcircvarphiright)(x) + left(fracpartial fpartial ycircvarphiright)(x)cdot g'(x)
$$
Since the derivative of a sum is the sum of the derivatives (when they all exist), we can focus on each member of this sum separately.
We want to differentiate $colorbluexmapsto left(dfracpartial fpartial xcircvarphiright)(x)$. Now allow me to change the notation $dfracpartial fpartial x$ to $partial_1f$. They denote the same thing: the derivative with respect to the first coordinate.
In the notation of this answer we have $m=2$, $n=1=p$, $G=partial_1f$, $F=varphi$, (now because the choice of letters in both questions gets confusing, I'll use $varphi_1$ and $varphi_2$ (in place of $f_1$ and $f_2$ used in the linked answer), $varphi_1colon mathbb Rto mathbb R, xmapsto x$ and $varphi_2colon mathbb Rto mathbb R, xmapsto g(x)$. Now set $H=Gcirc F$.
We have that $colorblueH$ is $colorblueleft(partial_1fright)circ varphi$ and this is what we wish to differentiate, in other words we wish to find $H'$. Since $H$ is a scalar function whose domain is $mathbb R$, its components are just a singular $h_1$ in the notation of the linked answer, which yields:
$$
beginalign
overbrace
beginbmatrix
partial _1h_1
endbmatrix_x
^H'(x)
&=
beginbmatrix
partial_1left(partial_1fright) & partial_2left(partial_1fright)
endbmatrix_varphi(x,y)
overbracebeginbmatrix
partial _1varphi_1\
partial_1varphi_2
endbmatrix_x^beginbmatrix
varphi_1'\
varphi_2'
endbmatrix_x\
&=
beginbmatrix
left(partial _1left(partial_1fright)right)(x,g(x)) & left(partial_2left(partial_1fright)right)(x, g(x))
endbmatrix
beginbmatrix
1\
g'(x)
endbmatrix\
&=
beginbmatrix
left(partial _1left(partial_1fright)right)(x,g(x)) + left(partial_2left(partial_1fright)right)(x, g(x))cdot g'(x)
endbmatrix_.
endalign
$$
The last term above can be translated back to
$$
dfracpartial^2fpartial x^2(x,g(x)) + dfracpartial^2fpartial ypartial x(x, g(x))cdot g'(x)
$$
It is similar for $dfracpartial fpartial ycircvarphi$.
edited Apr 12 at 13:28
answered Apr 12 at 9:41
Git GudGit Gud
28.9k1050101
28.9k1050101
add a comment |
add a comment |
$begingroup$
Hint: The notation can be a bit confusing here. $f$ is a function of two variables. A derivative with respect to the first variable is denoted by $fracpartial fpartial x$, a derivative with respect to the second variable is denoted by $fracpartial fpartial y$. If instead you denote them by $fracpartial fpartial x_1$ and $fracpartial fpartial x_2$ it might be a bit clearer. At the same time you plug in the function $x$ into the first variable and the function $g(x)$ into the second variable. You are differentiating with respect to $x$ and need to apply the chain rule.
Edit: I will write out what happens in the first term with the renaming of variables. We want to compute: $$fracpartialpartial xleft(fracpartial fpartial x_1(x, g(x))right)$$
So we have
$$fracpartialpartial xleft(fracpartial fpartial x_1(x, g(x))right)=fracpartial partial x_1fracpartial fpartial x_1(x, g(x)) cdot fracpartial partial x(x) + fracpartial partial x_2fracpartial fpartial x_1(x, g(x)) cdot fracpartial partial xg(x)$$
Simplify a bit:
$$fracpartialpartial xleft(fracpartial fpartial x_1(x, g(x))right)=fracpartial^2 fpartial^2 x_1(x, g(x)) + fracpartial^2 fpartial x_2partial x_1(x, g(x)) cdot g'(x)$$
The second term is almost the same, you just have an extra factor of $g(x)$ that requires the product rule.
$endgroup$
$begingroup$
Thanks. Let me update my post with my attempt and show you where I am getting stuck
$endgroup$
– user663014
Apr 12 at 8:05
$begingroup$
Please see my update
$endgroup$
– user663014
Apr 12 at 8:11
$begingroup$
What quarague alludes to is one of the reasons why I much prefer the notation $partial_1$, $partial_2$, etc. Less to write, more universally applicable (as it is independent of symbols used in the definitions of the functions, as it should be), and doesn't rest on useless confusing concepts like that of "function of $x$", as if $x$ weren't a bound variable.
$endgroup$
– Git Gud
Apr 12 at 8:22
$begingroup$
So here, $x_2 = y$?
$endgroup$
– user663014
Apr 12 at 13:21
$begingroup$
@gallileo22 Yes: $x_1$ is being used in place of $x$ and $x_2$ is being used in place of $y$.
$endgroup$
– Git Gud
Apr 12 at 13:30
add a comment |
$begingroup$
Hint: The notation can be a bit confusing here. $f$ is a function of two variables. A derivative with respect to the first variable is denoted by $fracpartial fpartial x$, a derivative with respect to the second variable is denoted by $fracpartial fpartial y$. If instead you denote them by $fracpartial fpartial x_1$ and $fracpartial fpartial x_2$ it might be a bit clearer. At the same time you plug in the function $x$ into the first variable and the function $g(x)$ into the second variable. You are differentiating with respect to $x$ and need to apply the chain rule.
Edit: I will write out what happens in the first term with the renaming of variables. We want to compute: $$fracpartialpartial xleft(fracpartial fpartial x_1(x, g(x))right)$$
So we have
$$fracpartialpartial xleft(fracpartial fpartial x_1(x, g(x))right)=fracpartial partial x_1fracpartial fpartial x_1(x, g(x)) cdot fracpartial partial x(x) + fracpartial partial x_2fracpartial fpartial x_1(x, g(x)) cdot fracpartial partial xg(x)$$
Simplify a bit:
$$fracpartialpartial xleft(fracpartial fpartial x_1(x, g(x))right)=fracpartial^2 fpartial^2 x_1(x, g(x)) + fracpartial^2 fpartial x_2partial x_1(x, g(x)) cdot g'(x)$$
The second term is almost the same, you just have an extra factor of $g(x)$ that requires the product rule.
$endgroup$
$begingroup$
Thanks. Let me update my post with my attempt and show you where I am getting stuck
$endgroup$
– user663014
Apr 12 at 8:05
$begingroup$
Please see my update
$endgroup$
– user663014
Apr 12 at 8:11
$begingroup$
What quarague alludes to is one of the reasons why I much prefer the notation $partial_1$, $partial_2$, etc. Less to write, more universally applicable (as it is independent of symbols used in the definitions of the functions, as it should be), and doesn't rest on useless confusing concepts like that of "function of $x$", as if $x$ weren't a bound variable.
$endgroup$
– Git Gud
Apr 12 at 8:22
$begingroup$
So here, $x_2 = y$?
$endgroup$
– user663014
Apr 12 at 13:21
$begingroup$
@gallileo22 Yes: $x_1$ is being used in place of $x$ and $x_2$ is being used in place of $y$.
$endgroup$
– Git Gud
Apr 12 at 13:30
add a comment |
$begingroup$
Hint: The notation can be a bit confusing here. $f$ is a function of two variables. A derivative with respect to the first variable is denoted by $fracpartial fpartial x$, a derivative with respect to the second variable is denoted by $fracpartial fpartial y$. If instead you denote them by $fracpartial fpartial x_1$ and $fracpartial fpartial x_2$ it might be a bit clearer. At the same time you plug in the function $x$ into the first variable and the function $g(x)$ into the second variable. You are differentiating with respect to $x$ and need to apply the chain rule.
Edit: I will write out what happens in the first term with the renaming of variables. We want to compute: $$fracpartialpartial xleft(fracpartial fpartial x_1(x, g(x))right)$$
So we have
$$fracpartialpartial xleft(fracpartial fpartial x_1(x, g(x))right)=fracpartial partial x_1fracpartial fpartial x_1(x, g(x)) cdot fracpartial partial x(x) + fracpartial partial x_2fracpartial fpartial x_1(x, g(x)) cdot fracpartial partial xg(x)$$
Simplify a bit:
$$fracpartialpartial xleft(fracpartial fpartial x_1(x, g(x))right)=fracpartial^2 fpartial^2 x_1(x, g(x)) + fracpartial^2 fpartial x_2partial x_1(x, g(x)) cdot g'(x)$$
The second term is almost the same, you just have an extra factor of $g(x)$ that requires the product rule.
$endgroup$
Hint: The notation can be a bit confusing here. $f$ is a function of two variables. A derivative with respect to the first variable is denoted by $fracpartial fpartial x$, a derivative with respect to the second variable is denoted by $fracpartial fpartial y$. If instead you denote them by $fracpartial fpartial x_1$ and $fracpartial fpartial x_2$ it might be a bit clearer. At the same time you plug in the function $x$ into the first variable and the function $g(x)$ into the second variable. You are differentiating with respect to $x$ and need to apply the chain rule.
Edit: I will write out what happens in the first term with the renaming of variables. We want to compute: $$fracpartialpartial xleft(fracpartial fpartial x_1(x, g(x))right)$$
So we have
$$fracpartialpartial xleft(fracpartial fpartial x_1(x, g(x))right)=fracpartial partial x_1fracpartial fpartial x_1(x, g(x)) cdot fracpartial partial x(x) + fracpartial partial x_2fracpartial fpartial x_1(x, g(x)) cdot fracpartial partial xg(x)$$
Simplify a bit:
$$fracpartialpartial xleft(fracpartial fpartial x_1(x, g(x))right)=fracpartial^2 fpartial^2 x_1(x, g(x)) + fracpartial^2 fpartial x_2partial x_1(x, g(x)) cdot g'(x)$$
The second term is almost the same, you just have an extra factor of $g(x)$ that requires the product rule.
edited Apr 12 at 9:00
answered Apr 12 at 7:59
quaraguequarague
747312
747312
$begingroup$
Thanks. Let me update my post with my attempt and show you where I am getting stuck
$endgroup$
– user663014
Apr 12 at 8:05
$begingroup$
Please see my update
$endgroup$
– user663014
Apr 12 at 8:11
$begingroup$
What quarague alludes to is one of the reasons why I much prefer the notation $partial_1$, $partial_2$, etc. Less to write, more universally applicable (as it is independent of symbols used in the definitions of the functions, as it should be), and doesn't rest on useless confusing concepts like that of "function of $x$", as if $x$ weren't a bound variable.
$endgroup$
– Git Gud
Apr 12 at 8:22
$begingroup$
So here, $x_2 = y$?
$endgroup$
– user663014
Apr 12 at 13:21
$begingroup$
@gallileo22 Yes: $x_1$ is being used in place of $x$ and $x_2$ is being used in place of $y$.
$endgroup$
– Git Gud
Apr 12 at 13:30
add a comment |
$begingroup$
Thanks. Let me update my post with my attempt and show you where I am getting stuck
$endgroup$
– user663014
Apr 12 at 8:05
$begingroup$
Please see my update
$endgroup$
– user663014
Apr 12 at 8:11
$begingroup$
What quarague alludes to is one of the reasons why I much prefer the notation $partial_1$, $partial_2$, etc. Less to write, more universally applicable (as it is independent of symbols used in the definitions of the functions, as it should be), and doesn't rest on useless confusing concepts like that of "function of $x$", as if $x$ weren't a bound variable.
$endgroup$
– Git Gud
Apr 12 at 8:22
$begingroup$
So here, $x_2 = y$?
$endgroup$
– user663014
Apr 12 at 13:21
$begingroup$
@gallileo22 Yes: $x_1$ is being used in place of $x$ and $x_2$ is being used in place of $y$.
$endgroup$
– Git Gud
Apr 12 at 13:30
$begingroup$
Thanks. Let me update my post with my attempt and show you where I am getting stuck
$endgroup$
– user663014
Apr 12 at 8:05
$begingroup$
Thanks. Let me update my post with my attempt and show you where I am getting stuck
$endgroup$
– user663014
Apr 12 at 8:05
$begingroup$
Please see my update
$endgroup$
– user663014
Apr 12 at 8:11
$begingroup$
Please see my update
$endgroup$
– user663014
Apr 12 at 8:11
$begingroup$
What quarague alludes to is one of the reasons why I much prefer the notation $partial_1$, $partial_2$, etc. Less to write, more universally applicable (as it is independent of symbols used in the definitions of the functions, as it should be), and doesn't rest on useless confusing concepts like that of "function of $x$", as if $x$ weren't a bound variable.
$endgroup$
– Git Gud
Apr 12 at 8:22
$begingroup$
What quarague alludes to is one of the reasons why I much prefer the notation $partial_1$, $partial_2$, etc. Less to write, more universally applicable (as it is independent of symbols used in the definitions of the functions, as it should be), and doesn't rest on useless confusing concepts like that of "function of $x$", as if $x$ weren't a bound variable.
$endgroup$
– Git Gud
Apr 12 at 8:22
$begingroup$
So here, $x_2 = y$?
$endgroup$
– user663014
Apr 12 at 13:21
$begingroup$
So here, $x_2 = y$?
$endgroup$
– user663014
Apr 12 at 13:21
$begingroup$
@gallileo22 Yes: $x_1$ is being used in place of $x$ and $x_2$ is being used in place of $y$.
$endgroup$
– Git Gud
Apr 12 at 13:30
$begingroup$
@gallileo22 Yes: $x_1$ is being used in place of $x$ and $x_2$ is being used in place of $y$.
$endgroup$
– Git Gud
Apr 12 at 13:30
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3184764%2ftaking-the-derivative-of-a-differential-equation%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
4
$begingroup$
See! Giving the attempt now allows people to tell you what you did wrong, rather than giving a correct answer which would still leave questions about your working. It was a good decision to include the working, and I have up voted in this regard.
$endgroup$
– астон вілла олоф мэллбэрг
Apr 12 at 8:13
$begingroup$
My answer here answers your question. The notation is heavy, but it is proper.
$endgroup$
– Git Gud
Apr 12 at 8:15
$begingroup$
I'm still not really getting anywhere. I think it is hard to understand because of the notation. Working backwards, I can guess that the chain rule term for Term 1 is going to be $1$. But I don't know how to do it properly.
$endgroup$
– user663014
Apr 12 at 8:37
$begingroup$
Yes, it's not easy when one's is not used to it. But it gets much easier after you get over the initial learning curve. I tried to give some guidance below.
$endgroup$
– Git Gud
Apr 12 at 9:42
$begingroup$
Sorry, I had a few typos from too much copy and pasting. All good now.
$endgroup$
– Git Gud
Apr 12 at 10:00