\[f_x(x,y)=\cos x\sin x-xy^2\]\[f_y(x,y)=y(1-x^2)\]find \(f(x,y)\)
how to begin?
Start by integrating f_y with respect to y, you should get\[f(x,y)=\frac{1}{2}(y^2-x^2y^2)+h(x)\]
Then you need to find what h(x) is
\[f(x,y)=\int f_y \text dy=\int y(1-x^2)\text dy=\frac{y^2(1-x^2)}{2}+h(x)\]
Then find the x derivative of f(x,y) you just found, set equal to the original f_x, and solve for h(x)
\[f(x,y)=\int f_x \text dx=\int \cos x\sin x-xy^2\text dx=-\frac {\cos^2x}2+g(y)\]
You just found\[f(x,y)=\frac{1}{2}(y^2-x^2y^2)+h(x)\]Find the x derivative of this so that:\[f_x(x,y)=-xy^2+h'(x)\]We also know that\[f_x(x,y)=\cos x \sin x-xy^2\]So,\[-xy^2+h'(x)=\cos x \sin x -xy^2\]
\[\frac {\partial f(x,y)}{\partial x}=-xy^2+h'(y)\]
ops h'(x)
\[h'(x)=\cos x \sin x\]
Yep, then integrate
\[f(x,y)=-xy^2-\frac{\cos ^2x}2\]
You accidentally put that back into\[f_x(x,y)=-xy^2+h'(x)\] You should have put it back into\[f(x,y)=\frac{1}{2}(y^2-x^2y^2)+h(x)\]
oh
ah yes silly me
\[f(x,y)=\frac{y^2(1-x^2)}{2}-\frac{\cos ^2x}2\] better?
So you should have 1 of two answers (both the same)\[f(x,y)=\frac{1}{2}(y^2-x^2y^2)-\frac{1}{2}\cos^2 x\]or\[f(x,y)=\frac{1}{2}(y^2-x^2y^2)+\frac{1}{2}\sin^2 x\]
Yes!, except you forgot the minus sign
im not sure i have forgotten the minus sign, where does the sin^2 term come from?
nvm latex made the minus look like part of the fraction. The sin comes from the u-substitution if you let u=sinx instead I checked the solutions in mathematica, we got it right (attachment) :)
im not sure which substitution you mean
\[\int\limits \cos x \sin x dx\]You can let u=sinx or u=-cosx
i dont understand that bit
\[\int\cos x\sin x\text dx\] Let \(u=\sin x\)\[\text du=\cos x \text dx\]\[=\int u\text du=\frac{u^2}2+c\]\[=\sin^2(x)+c\]
\[=\frac{\sin^2(x)}2+c\], hmm
\[\int\limits \cos x \sin x dx\]Let \[u=\sin x\]\[du=\cos x dx\] \[\int\limits u du\]\[\frac{1}{2}u^2=\frac{1}{2}\sin^2x\] or \[u=\cos x\]\[du=-\sin x\]\[-\int\limits-\sin x \cos x dx\]\[- \int\limits u du=-\frac{1}{2}u^2=-\frac{1}{2}\cos^2 x\]
\[\int\cos x\sin x\text dx\] Let \(u=-\cos x\)\[\text du=\sin x \text dx\]\[=-\int u\text du=-\frac{u^2}2+c\]\[=-\frac{\cos^2(x)}2+c\]
What does the subscript x mean when you write: |dw:1343718692318:dw|
Join our real-time social learning platform and learn together with your friends!