$g'(x)=x^3$ and tangent line to g(x) is given as $x+y=1$. Find the function $g(x)$.
My attempt: $g'(x)=x^3\rightarrow g(x)=x^4/4+K$
The tangent line will touch $g(x)$ at $y=-x$
Therefore, $x^4/4+K=-x$. However, this will give K as a function of x and not a number. Am I on the right track? Or did I miss something. Any help is much appreciated.
